@kdcloudjs/kingdee-base-components 0.0.6 → 0.0.7

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.
Files changed (141) hide show
  1. package/dist/cjs/baseInput-DUgqe5Hk.js +1 -0
  2. package/dist/cjs/calendar.kdds-uGLTvjLs.js +1 -0
  3. package/dist/cjs/{calendarMonth-DuBmYkui.js → calendarMonth-C1N1hMTf.js} +1 -1
  4. package/dist/cjs/kd/baseInput.js +1 -1
  5. package/dist/cjs/kd/button.js +1 -1
  6. package/dist/cjs/kd/buttonMenu.js +1 -1
  7. package/dist/cjs/kd/calendar.js +1 -1
  8. package/dist/cjs/kd/calendarDay.js +1 -1
  9. package/dist/cjs/kd/calendarMonth.js +1 -1
  10. package/dist/cjs/kd/calendarTime.js +1 -1
  11. package/dist/cjs/kd/calendarYear.js +1 -1
  12. package/dist/cjs/kd/datatable.js +1 -1
  13. package/dist/cjs/kd/datepicker.js +1 -1
  14. package/dist/cjs/kd/form.js +1 -1
  15. package/dist/cjs/kd/icon.js +1 -1
  16. package/dist/cjs/kd/input.js +1 -1
  17. package/dist/cjs/kd/inputNumber.js +1 -1
  18. package/dist/cjs/kd/playground.js +1 -1
  19. package/dist/cjs/kd/primitiveDatatableIeditPanel.js +1 -1
  20. package/dist/cjs/kd/primitiveDatatableIeditTypeFactory.js +1 -1
  21. package/dist/cjs/kd/recordPicker.js +1 -1
  22. package/dist/cjs/kd/recordPickerModal.js +1 -1
  23. package/dist/cjs/kd/select.js +1 -1
  24. package/dist/cjs/kd/treeItem.js +1 -1
  25. package/dist/esm/baseInput-DGC32o4n.js +1 -0
  26. package/dist/esm/calendar.kdds-uFlR2mRB.js +1 -0
  27. package/dist/esm/{calendarMonth-D9AFuDlp.js → calendarMonth-DO-UkAk1.js} +1 -1
  28. package/dist/esm/{formattedRichTextRenderer-B7edgq4B.js → formattedRichTextRenderer-Czg_HaPr.js} +1 -1
  29. package/dist/esm/{interacting-iGRv7bnR.js → interacting-CMhJrynl.js} +1 -1
  30. package/dist/esm/kd/ariaObserver.js +1 -1
  31. package/dist/esm/kd/baseFormattedText.js +1 -1
  32. package/dist/esm/kd/baseInput.js +1 -1
  33. package/dist/esm/kd/button.js +1 -1
  34. package/dist/esm/kd/buttonMenu.js +1 -1
  35. package/dist/esm/kd/calendar.js +1 -1
  36. package/dist/esm/kd/calendarDay.js +1 -1
  37. package/dist/esm/kd/calendarMonth.js +1 -1
  38. package/dist/esm/kd/calendarTime.js +1 -1
  39. package/dist/esm/kd/calendarYear.js +1 -1
  40. package/dist/esm/kd/card.js +1 -1
  41. package/dist/esm/kd/checkboxGroup.js +1 -1
  42. package/dist/esm/kd/datatable.js +1 -1
  43. package/dist/esm/kd/datepicker.js +1 -1
  44. package/dist/esm/kd/features.js +1 -1
  45. package/dist/esm/kd/focusTrap.js +1 -1
  46. package/dist/esm/kd/focusUtils.js +1 -1
  47. package/dist/esm/kd/form.js +1 -1
  48. package/dist/esm/kd/formattedAddress.js +1 -1
  49. package/dist/esm/kd/formattedDateTime.js +1 -1
  50. package/dist/esm/kd/formattedEmail.js +1 -1
  51. package/dist/esm/kd/formattedLocation.js +1 -1
  52. package/dist/esm/kd/formattedLookup.js +1 -1
  53. package/dist/esm/kd/formattedName.js +1 -1
  54. package/dist/esm/kd/formattedNumber.js +1 -1
  55. package/dist/esm/kd/formattedPhone.js +1 -1
  56. package/dist/esm/kd/formattedRichText.js +1 -1
  57. package/dist/esm/kd/formattedRichTextRenderer.js +1 -1
  58. package/dist/esm/kd/formattedText.js +1 -1
  59. package/dist/esm/kd/formattedTime.js +1 -1
  60. package/dist/esm/kd/formattedUrl.js +1 -1
  61. package/dist/esm/kd/icon.js +1 -1
  62. package/dist/esm/kd/input.js +1 -1
  63. package/dist/esm/kd/inputNumber.js +1 -1
  64. package/dist/esm/kd/inputUtils.js +1 -1
  65. package/dist/esm/kd/internationalizationLibrary.js +1 -1
  66. package/dist/esm/kd/layout.js +1 -1
  67. package/dist/esm/kd/layoutItem.js +1 -1
  68. package/dist/esm/kd/menuItem.js +1 -1
  69. package/dist/esm/kd/modal.js +1 -1
  70. package/dist/esm/kd/modalBase.js +1 -1
  71. package/dist/esm/kd/modalBody.js +1 -1
  72. package/dist/esm/kd/modalFooter.js +1 -1
  73. package/dist/esm/kd/modalHeader.js +1 -1
  74. package/dist/esm/kd/modalUtils.js +1 -1
  75. package/dist/esm/kd/numberUtils.js +1 -1
  76. package/dist/esm/kd/overlay.js +1 -1
  77. package/dist/esm/kd/overlayContainer.js +1 -1
  78. package/dist/esm/kd/playground.js +1 -1
  79. package/dist/esm/kd/positionLibrary.js +1 -1
  80. package/dist/esm/kd/primitiveBubble.js +1 -1
  81. package/dist/esm/kd/primitiveButton.js +1 -1
  82. package/dist/esm/kd/primitiveCellActions.js +1 -1
  83. package/dist/esm/kd/primitiveCellButton.js +1 -1
  84. package/dist/esm/kd/primitiveCellCheckbox.js +1 -1
  85. package/dist/esm/kd/primitiveCellExpand.js +1 -1
  86. package/dist/esm/kd/primitiveCellFactory.js +1 -1
  87. package/dist/esm/kd/primitiveColorpickerButton.js +1 -1
  88. package/dist/esm/kd/primitiveColumnSorter.js +1 -1
  89. package/dist/esm/kd/primitiveCoordinateItem.js +1 -1
  90. package/dist/esm/kd/primitiveCustomCell.js +1 -1
  91. package/dist/esm/kd/primitiveCustomRow.js +1 -1
  92. package/dist/esm/kd/primitiveDatatableCell.js +1 -1
  93. package/dist/esm/kd/primitiveDatatableIeditInputWrapper.js +1 -1
  94. package/dist/esm/kd/primitiveDatatableIeditPanel.js +1 -1
  95. package/dist/esm/kd/primitiveDatatableIeditTypeFactory.js +1 -1
  96. package/dist/esm/kd/primitiveDatatableLoadingIndicator.js +1 -1
  97. package/dist/esm/kd/primitiveDatatableNoData.js +1 -1
  98. package/dist/esm/kd/primitiveDatatableStatusBar.js +1 -1
  99. package/dist/esm/kd/primitiveDatatableTooltip.js +1 -1
  100. package/dist/esm/kd/primitiveDatatableTooltipBubble.js +1 -1
  101. package/dist/esm/kd/primitiveFileDroppableZone.js +1 -1
  102. package/dist/esm/kd/primitiveHeaderActions.js +1 -1
  103. package/dist/esm/kd/primitiveHeaderFactory.js +1 -1
  104. package/dist/esm/kd/primitiveIcon.js +1 -1
  105. package/dist/esm/kd/primitiveIframe.js +1 -1
  106. package/dist/esm/kd/primitiveInputCheckbox.js +1 -1
  107. package/dist/esm/kd/primitiveInputCheckboxButton.js +1 -1
  108. package/dist/esm/kd/primitiveInputColor.js +1 -1
  109. package/dist/esm/kd/primitiveInputFile.js +1 -1
  110. package/dist/esm/kd/primitiveInputRadio.js +1 -1
  111. package/dist/esm/kd/primitiveInputSimple.js +1 -1
  112. package/dist/esm/kd/primitiveInputToggle.js +1 -1
  113. package/dist/esm/kd/primitiveResizeHandler.js +1 -1
  114. package/dist/esm/kd/primitiveTreegridCellToggle.js +1 -1
  115. package/dist/esm/kd/privateModal.js +1 -1
  116. package/dist/esm/kd/radioGroup.js +1 -1
  117. package/dist/esm/kd/recordPicker.js +1 -1
  118. package/dist/esm/kd/recordPickerModal.js +1 -1
  119. package/dist/esm/kd/select.js +1 -1
  120. package/dist/esm/kd/shadowBaseClassPrivate.js +1 -1
  121. package/dist/esm/kd/spin.js +1 -1
  122. package/dist/esm/kd/switch.js +1 -1
  123. package/dist/esm/kd/tab.js +1 -1
  124. package/dist/esm/kd/tabBar.js +1 -1
  125. package/dist/esm/kd/tabset.js +1 -1
  126. package/dist/esm/kd/tag.js +1 -1
  127. package/dist/esm/kd/toast.js +1 -1
  128. package/dist/esm/kd/toastContainer.js +1 -1
  129. package/dist/esm/kd/tooltipLibrary.js +1 -1
  130. package/dist/esm/kd/tree.js +1 -1
  131. package/dist/esm/kd/treeItem.js +1 -1
  132. package/dist/esm/kd/utilsPrivate.js +1 -1
  133. package/dist/esm/{normalize-qdEPAG8z.js → normalize-BET3UPLZ.js} +1 -1
  134. package/dist/esm/{primitiveDatatableCell-BRBOc7hR.js → primitiveDatatableCell-Dnc4fXBk.js} +1 -1
  135. package/dist/esm/{utilsPrivate-ekbvijnB.js → utilsPrivate-CI3EeA5x.js} +1 -1
  136. package/dist/index.css +1 -1
  137. package/package.json +2 -2
  138. package/dist/cjs/baseInput-f9sJ7m49.js +0 -1
  139. package/dist/cjs/calendar.kdds-DBIZRNEC.js +0 -1
  140. package/dist/esm/baseInput-Bgv7mEy2.js +0 -1
  141. package/dist/esm/calendar.kdds-DkhZH3qI.js +0 -1
@@ -1 +1 @@
1
- "use strict";var e=require("@kdcloudjs/kwc"),t=require("./input.js"),a=require("./modalHeader.js"),d=require("../empty_html-hFq4zm9t.js"),s=require("../kddsCommon-CICoPypw.js"),o=require("../kddsUtilsVisibility-udynsnvN.js"),r=require("../kddsUtilsMargin-Dx8EVq7G.js"),n=require("../kddsUtilsHyphenation-dfwOmIHd.js"),i=require("../kddsUtilsGrid-Di6bwMd2.js"),l=require("../kddsUtilsLineClamp-aHZjbaci.js"),c=require("../kddsUtilsTruncation-BZ8KpmAj.js"),u=require("../input-checkbox.kdds-CD4aNarZ.js"),b=require("./primitiveDatatableIeditPanel.js"),h=require("./primitiveHeaderFactory.js"),k=require("./primitiveCellExpand.js"),p=require("./primitiveCellCheckbox.js"),m=require("../primitiveDatatableCell-phgzbp5l.js"),g=require("./primitiveCustomCell.js"),v=require("./primitiveTreegridCellToggle.js"),f=require("./icon.js"),y=require("./primitiveCellFactory.js"),_=require("./primitiveCustomRow.js"),x=require("./primitiveDatatableNoData.js"),w=require("./primitiveDatatableStatusBar.js"),C=require("./primitiveDatatableLoadingIndicator.js"),A=require("../label-DdXuOVTE.js"),T=require("./features.js"),R=require("./formattedLookup.js"),z=require("../idGenerator-DjOtNo-h.js"),L=require("../utilsPrivate-DL4VBetH.js"),I=require("./routingService.js"),S=require("./resizeObserver.js");require("../observable-BXDJFaLN.js"),require("../i18n-CP31jeWH.js");var $=require("../ssr-RXknEJpO.js");require("../classSet-B5xuJbNb.js");var E=require("../labelUtils-C2UzbgdZ.js"),M=require("../intlFormat-Bs-dlvDH.js"),V=require("../NumberFormat-BOQwROTf.js");require("./configProvider.js");var D=require("../takeUntil-H3M4Zr2X.js"),F=require("./positionLibrary.js"),K=require("./shadowBaseClassPrivate.js"),W=require("./modalBody.js"),N=require("./button.js"),B=require("./modalFooter.js"),H=require("../interacting-BGdY-r03.js"),O=require("../index-ChQWdmu9.esm-DUTi--6E.js"),j=require("./modal.js");require("../baseInput-f9sJ7m49.js"),require("../normalize-DZjR9N6d.js"),require("../index.esm-skOXaaoq.js"),require("../utils-HAAanx64.js"),require("../client-Co_j5m_k.js"),require("./iso8601Utils.js"),require("../colorValid-BBnkvgd_.js"),require("./modalUtils.js"),require("../focus-DdgBlQbB.js"),require("./tooltipLibrary.js"),require("./primitiveBubble.js"),require("./ariaObserver.js"),require("./overlayManager.js"),require("./overlayUtils.js"),require("../kddsUtilsPadding-CDPIu4gA.js"),require("./primitiveDatatableIeditTypeFactory.js"),require("./primitiveDatatableIeditInputWrapper.js"),require("./primitiveHeaderActions.js"),require("./menuItem.js"),require("./menuDivider.js"),require("./buttonMenu.js"),require("./primitiveResizeHandler.js"),require("../input-radio-group.kdds-CMXswYN0.js"),require("./primitiveCellActions.js"),require("./primitiveCellButton.js"),require("./formattedNumber.js"),require("./i18nCldrOptions.js"),require("./i18nService.js"),require("./formattedDateTime.js"),require("./formattedEmail.js"),require("./formattedLocation.js"),require("./formattedPhone.js"),require("./baseFormattedText.js"),require("./formattedUrl.js"),require("../kddsUtilsPosition-BI0KMR6S.js"),require("./primitiveDatatableTooltip.js"),require("./primitiveDatatableTooltipBubble.js"),require("./buttonIcon.js"),require("./spin.js"),require("./utilsInternal.js"),require("./privateModal.js"),require("./overlay.js"),require("./overlayContainer.js"),require("./modalBase.js"),require("./focusTrap.js");var P=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return(t?":host .kdds-modal-header__right":s+" .kdds-modal-header__right")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal-header__close":s+" .kdds-modal-header__close")+d+" {cursor: pointer;color: var(--kdds-c-modal-icon-color, #666);}"+(t?":host .kdds-modal-header__close:hover":s+" .kdds-modal-header__close:hover")+d+" {color: var(--kdds-c-modal-icon-color-hover, #87A9FF);}"+(t?":host .kdds-modal-header__close:active":s+" .kdds-modal-header__close:active")+d+" {color: var(--kdds-c-modal-icon-color-focus, #3761CA);}"+(t?":host .kdds-modal-header__close-slot":s+" .kdds-modal-header__close-slot")+d+" {margin-inline-start: 24px;}"+(t?":host .kdds-modal__footer-container":s+" .kdds-modal__footer-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__footer-container":s+" .kdds-modal__footer-container")+d+">kd-button"+d+" {margin-inline-end: 8px;}"+(t?":host .kdds-modal-container":s+" .kdds-modal-container")+d+" {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);max-width: calc(100vw - 64px);max-height: calc(100vh - 64px);}"+(t?":host .kdds-modal-container__fullscreen":s+" .kdds-modal-container__fullscreen")+d+" {width: 100vw;height: 100vh;max-width: 100vw;max-height: 100vh;top: 0;left: 0;right: 0;bottom: 0;transform: none;}"+(t?":host .kdds-modal-container__fullscreen"+d+' [part="modal-resize-border"]'+d+",\r:host .kdds-modal-container__fullscreen"+d+' [part="modal-resize-corner"]'+d+",\r:host .kdds-modal-container__mob"+d+' [part="modal-resize-border"]'+d+",\r:host .kdds-modal-container__mob":s+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-border"]'+d+","+s+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-corner"]'+d+","+s+" .kdds-modal-container__mob"+d+' [part="modal-resize-border"]'+d+","+s+" .kdds-modal-container__mob")+d+' [part="modal-resize-corner"]'+d+" {display: none;}"+(t?":host .kdds-modal-container__mob":s+" .kdds-modal-container__mob")+d+" {max-width: 100vw;max-height: 100vh;}"+(t?":host .kdds-modal-footer__resize":s+" .kdds-modal-footer__resize")+d+" {position: absolute;bottom: 0;right: 0;cursor: se-resize;height: 16px;}"+(t?":host .kdds-modal__border-top"+d+",\r:host .kdds-modal__border-bottom":s+" .kdds-modal__border-top"+d+","+s+" .kdds-modal__border-bottom")+d+" {position: absolute;left: 0;right: 0;height: 4px;background: transparent;cursor: n-resize;z-index: 1;}"+(t?":host .kdds-modal__border-top":s+" .kdds-modal__border-top")+d+" {top: -2px;}"+(t?":host .kdds-modal__border-bottom":s+" .kdds-modal__border-bottom")+d+" {bottom: -2px;}"+(t?":host .kdds-modal__border-left"+d+",\r:host .kdds-modal__border-right":s+" .kdds-modal__border-left"+d+","+s+" .kdds-modal__border-right")+d+" {position: absolute;top: 0;bottom: 0;width: 4px;background: transparent;cursor: w-resize;}"+(t?":host .kdds-modal__border-left":s+" .kdds-modal__border-left")+d+" {left: -2px;}"+(t?":host .kdds-modal__border-right":s+" .kdds-modal__border-right")+d+" {right: -2px;}"+(t?":host .kdds-modal__body-container":s+" .kdds-modal__body-container")+d+" {padding: 0;}"+(t?":host .kdds-modal-header__search-container":s+" .kdds-modal-header__search-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__content":s+" .kdds-modal__content")+d+" {padding: 0;}"+(t?':host([data-rtl="true"]) .kdds-modal__content':s+'[data-rtl="true"] .kdds-modal__content')+d+" {direction: rtl;}"}];var q=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return(t?":host {":s+" {")+"display: inline-flex;}"+(t?":host [part~='boundary']":s+" [part~='boundary']")+d+" {padding-block-start: var(\r\n --kds-c-icon-spacing-blockstart,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-block-end: var(\r\n --kds-c-icon-spacing-blockend,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-start: var(\r\n --kds-c-icon-spacing-inlinestart,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-end: var(\r\n --kds-c-icon-spacing-inlineend,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );border-radius: var(--kds-c-icon-radius-border, var(--kds-s-icon-radius-border));border-width: var(--kds-c-icon-sizing-border, var(--kds-s-icon-sizing-border));border-style: solid;border-color: var(--kds-c-icon-color-border, var(--kds-s-icon-color-border, transparent));background-color: var(--kds-c-icon-color-background, var(--kds-s-icon-color-background));}"+(t?":host [part~='icon']":s+" [part~='icon']")+d+" {display: flex;height: var(--kds-c-icon-sizing-height, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));width: var(--kds-c-icon-sizing-width, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));color: var(--kds-c-icon-color-foreground, var(--kds-s-icon-color-foreground));}"+(t?":host svg":s+" svg")+d+" {width: 100%;height: 100%;}"+(t?":host {":s+" {")+"vertical-align: middle;}"+(t?":host([size='xxx-small']),:host \r.kdds-icon_xxx-small":s+"[size='xxx-small'],"+s+" \r.kdds-icon_xxx-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}"+(t?":host([size='xx-small']),:host \r.kdds-icon_xx-small":s+"[size='xx-small'],"+s+" \r.kdds-icon_xx-small")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));}"+(t?":host([size='x-small']),:host \r.kdds-icon_x-small":s+"[size='x-small'],"+s+" \r.kdds-icon_x-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-5);}"+(t?":host([size='small']),:host \r.kdds-icon_small":s+"[size='small'],"+s+" \r.kdds-icon_small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}"+(t?":host([size='large']),:host \r.kdds-icon_large":s+"[size='large'],"+s+" \r.kdds-icon_large")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-10);}"+(t?":host([variant='warning']) {":s+"[variant='warning'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-warning-1);}"+(t?":host([variant='success']) {":s+"[variant='success'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-success-1);}"+(t?":host([variant='error']) {":s+"[variant='error'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-error-1);}"+(t?":host([variant='light']) {":s+"[variant='light'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-neutral-base-70);}"+(t?":host [part='boundary']":s+" [part='boundary']")+d+" {--kds-c-icon-radius-border: var(--kdds-c-icon-radius-border, var(--kdds-g-radius-border-2));--kds-c-icon-sizing-border: var(--kdds-c-icon-sizing-border, 0);--kds-c-icon-color-border: var(--kdds-c-icon-color-border);--kds-c-icon-spacing-block-start: var(--kdds-c-icon-spacing-blockstart, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-block-end: var(--kdds-c-icon-spacing-blockend, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-inline-start: var(\r\n --kdds-c-icon-spacing-inlinestart,\r\n var(--kdds-c-icon-spacing-inline)\r\n );--kds-c-icon-spacing-inline-end: var(--kdds-c-icon-spacing-inlineend, var(--kdds-c-icon-spacing-inline));display: inline-flex;}"+(t?":host .kdds-input__icon":s+" .kdds-input__icon")+d+" [part='boundary']"+d+" {border-style: none;}"+(t?":host [part='icon']":s+" [part='icon']")+d+" {--kds-c-icon-color-foreground: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-on-accent-1));--kds-c-icon-sizing-height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );--kds-c-icon-sizing-width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );}"+(t?":host([icon-name*='action']),:host \r.kdds-icon_container_circle":s+"[icon-name*='action'],"+s+" \r.kdds-icon_container_circle")+d+" {--kdds-c-icon-spacing-block: var(--kdds-g-sizing-3);--kdds-c-icon-spacing-inline: var(--kdds-g-sizing-3);--kdds-c-icon-radius-border: calc(var(--kdds-g-radius-border-circle) / 2);--kdds-c-icon-sizing-border: var(--kdds-g-sizing-3);}"+(t?":host .kdds-icon":s+" .kdds-icon")+d+" {display: inline-flex;height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );fill: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-neutral-base-100));}"+(t?":host .kdds-icon-text-default":s+" .kdds-icon-text-default")+d+" {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-icon-color-foreground-default,\r\n var(--kds-c-icon-color-foreground-default, var(--kdds-g-color-on-surface-1))\r\n );}"+(t?":host .kdds-icon-text-default.kdds-is-disabled":s+" .kdds-icon-text-default.kdds-is-disabled")+d+" {fill: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-assistive-text":s+" .kdds-assistive-text")+d+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"+(t?":host .kdds-icon_disabled":s+" .kdds-icon_disabled")+d+" {background-color: currentcolor;}"+(t?":host .kdds-input__icon":s+" .kdds-input__icon")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));position: absolute;top: 50%;margin-block-start: -0.4375rem;line-height: var(--kdds-g-font-lineheight-1);border: 0;z-index: 2;}"+(t?":host([data-input-pill-search-primicon]) .kdds-icon":s+"[data-input-pill-search-primicon] .kdds-icon")+d+" {--kds-c-icon-sizing-height: 1.25rem;--kds-c-icon-sizing-width: 1.25rem;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']":s+"[data-input-pill-close-primicon] [part='icon']")+d+" {--kds-c-icon-color-foreground: none;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']:hover":s+"[data-input-pill-close-primicon] [part='icon']:hover")+d+" {--kds-c-icon-color-foreground: var(--kdds-g-color-accent-4);}"+(t?":host .kdds-icon_container":s+" .kdds-icon_container")+d+" {border-radius: var(--kdds-c-icon-radius-border, var(--kdds-s-icon-radius-border));background-color: var(\r\n --kdds-c-icon-color-background,\r\n var(--kdds-s-icon-color-background, var(--kds-c-icon-color-background))\r\n );}"}];var U=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return["*",d,",\r*",d,"::before,\r*",d,"::after {box-sizing: border-box;}",t?":host [part~='button']":s+" [part~='button']",d," {display: inline-flex;gap: var(--kds-c-button-spacing-gap, var(--kds-s-button-spacing-gap));background: var(--kds-c-button-color-background, var(--kds-s-button-color-background));color: var(--kds-c-button-text-color, var(--kds-s-button-color));font-weight: var(--kds-c-button-font-weight, var(--kds-s-button-font-weight));font-size: var(--kds-c-button-font-size, var(--kds-s-button-font-size, inherit));line-height: var(--kds-c-button-font-lineheight);height: var(--kds-c-button-sizing-height);width: var(--kds-c-button-sizing-width);padding-inline-start: var(\r\n --kds-c-button-spacing-inlinestart,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-inline-end: var(\r\n --kds-c-button-spacing-inlineend,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-start: var(\r\n --kds-c-button-spacing-blockstart,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-end: var(\r\n --kds-c-button-spacing-blockend,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );border-width: var(--kds-c-button-sizing-border, var(--kds-s-button-sizing-border, 1px));border-style: solid;border-color: var(--kds-c-button-color-border, var(--kds-s-button-color-border, currentColor));border-start-start-radius: var(\r\n --kds-c-button-radius-border-startstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-start-end-radius: var(\r\n --kds-c-button-radius-border-startend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startend, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-start-radius: var(\r\n --kds-c-button-radius-border-endstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-end-radius: var(\r\n --kds-c-button-radius-border-endend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endend, var(--kds-s-button-radius-border))\r\n )\r\n );box-shadow: var(--kds-c-button-shadow, var(--kds-s-button-shadow));text-decoration: var(--kds-c-button-font-decoration);white-space: normal;user-select: none;align-items: center;justify-content: center;appearance: none;}",t?":host [part~='button']:hover":s+" [part~='button']:hover",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-hover, var(--kds-s-button-color-hover, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-hover,\r\n var(--kds-s-button-color-background-hover, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-hover,\r\n var(--kds-s-button-color-border-hover, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-hover, var(--kds-s-button-shadow-hover, revert));cursor: pointer;}",t?":host [part~='button']:focus":s+" [part~='button']:focus",d," {--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-focus,\r\n var(--kds-s-button-color-background-focus, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-focus,\r\n var(--kds-s-button-color-border-focus, revert)\r\n );--kds-c-button-text-color: var(--kds-c-button-text-color-focus, var(--kds-s-button-color-focus, revert));--kds-c-button-shadow: var(--kds-c-button-shadow-focus, var(--kds-s-button-shadow-focus, revert));outline: 0;}",t?":host [part~='button']:active":s+" [part~='button']:active",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-active, var(--kds-s-button-color-active, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-active,\r\n var(--kds-s-button-color-background-active, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-active,\r\n var(--kds-s-button-color-border-active, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-active, var(--kds-s-button-shadow-active, revert));}",t?":host [part~='button']:disabled":s+" [part~='button']:disabled",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-disabled);--kds-c-button-color-background: var(--kds-c-button-color-background-disabled);--kds-c-button-color-border: var(--kds-c-button-color-border-disabled);--kds-c-button-shadow: var(--kds-c-button-shadow-disabled);pointer-events: none;}",t?":host [part~='button']:disabled":s+" [part~='button']:disabled",d," *",d," {pointer-events: none;}",t?":host [part='button'][aria-pressed='true']":s+" [part='button'][aria-pressed='true']",d," {--kds-c-button-color-background: var(--kds-c-button-color-background-pressed, revert);--kds-c-button-color-border: var(--kds-c-button-color-border-pressed, revert);--kds-c-button-text-color: var(--kds-c-button-text-color-pressed, revert);--kds-c-button-shadow: var(--kds-c-button-shadow-pressed, revert);}",t?":host [part~='button']":s+" [part~='button']",d," {gap: var(--kdds-g-spacing-2);--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: currentcolor;--kds-c-button-font-lineheight: var(\r\n --kdds-c-button-neutral-font-lineheight,\r\n var(--kdds-s-button-font-lineheight, 1.875rem)\r\n );--kds-c-button-spacing-inline: var(\r\n --kdds-c-button-neutral-spacing-inline,\r\n var(--kdds-s-button-spacing-inline, var(--kdds-g-spacing-4)) ;\r\n );--kds-c-button-spacing-block: var(--kdds-c-button-neutral-spacing-block);--kds-c-button-radius-border-startstart: var(\r\n --kdds-c-button-radius-border-startstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endstart: var(\r\n --kdds-c-button-radius-border-endstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-startend: var(\r\n --kdds-c-button-radius-border-startend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endend: var(\r\n --kdds-c-button-radius-border-endend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-color-background: var(\r\n --kdds-c-button-neutral-color-background,\r\n var(--kdds-g-color-surface-container-1)\r\n );--kds-c-button-color-background-hover: var(\r\n --kdds-c-button-neutral-color-background-hover,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-focus: var(\r\n --kdds-c-button-neutral-color-background-focus,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-active: var(\r\n --kdds-c-button-neutral-color-background-active,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-border: var(--kdds-c-button-neutral-color-border, var(--kdds-g-color-border-2));--kds-c-button-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border-hover,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border-focus,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-active: var(\r\n --kdds-c-button-neutral-color-border-active,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-neutral-text-color, var(--kdds-g-color-accent-2));--kds-c-button-text-color-hover: var(\r\n --kdds-c-button-neutral-text-color-hover,\r\n var(--kdds-s-button-color-hover, var(--kdds-g-color-accent-3))\r\n );--kds-c-button-text-color-focus: var(\r\n --kdds-c-button-neutral-text-color-focus,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-text-color-active: var(\r\n --kdds-c-button-neutral-text-color-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow: var(--kdds-c-button-neutral-shadow);--kds-c-button-shadow-focus: var(--kdds-c-button-neutral-shadow-focus);}",t?":host [part~='button']:disabled":s+" [part~='button']:disabled",d," {--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color-disabled: var(--kdds-g-color-on-disabled-1);--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);pointer-events: auto;cursor: default;}",t?":host([variant='brand']) [part~='button']":s+"[variant='brand'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(\r\n --kdds-c-button-brand-color-background,\r\n var(--kdds-g-color-accent-container-1)\r\n );--kdds-c-button-neutral-color-background-hover: var(\r\n --kdds-c-button-brand-color-background-hover,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-focus: var(\r\n --kdds-c-button-brand-color-background-focus,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-active: var(\r\n --kdds-c-button-brand-color-background-active,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-border: var(\r\n --kdds-c-button-brand-color-border,\r\n var(--kdds-g-color-border-accent-1)\r\n );--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-brand-color-border-hover,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-brand-color-border-focus,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-brand-color-border-active,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-brand-text-color, var(--kdds-g-color-on-accent-1));}",t?":host([variant='brand-outline']) [part~='button']":s+"[variant='brand-outline'] [part~='button']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);}",t?":host([variant='inverse']) [part~='button']":s+"[variant='inverse'] [part~='button']",d," {--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-accent-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-accent-2);}",t?":host([variant='inverse']) [part~='button']:disabled":s+"[variant='inverse'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: var(--kdds-g-color-border-disabled-2);--kds-c-button-text-color: var(--kdds-g-color-disabled-2);}",t?":host([variant='destructive']) [part~='button']":s+"[variant='destructive'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-error-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-error-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-error-2);--kds-c-button-text-color: var(--kdds-g-color-on-error-1);}",t?":host([variant='success']) [part~='button']":s+"[variant='success'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-success-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-success-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-on-success-1);}",t?":host([variant='destructive-text']) [part~='button']":s+"[variant='destructive-text'] [part~='button']",d," {--kdds-c-button-neutral-text-color: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-error-1);--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );}",t?":host([variant='brand']) [part~='button']:disabled"+d+",:host([variant='success']) [part~='button']:disabled"+d+",:host([variant='destructive']) [part~='button']:disabled":s+"[variant='brand'] [part~='button']:disabled"+d+","+s+"[variant='success'] [part~='button']:disabled"+d+","+s+"[variant='destructive'] [part~='button']:disabled",d," {--kds-c-button-color-background: var(--kdds-g-color-disabled-container-2);--kds-c-button-color-border: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color: var(--kdds-g-color-on-disabled-2);}",t?":host([variant='base']) [part~='button']"+d+",:host([variant='text']) [part~='button']":s+"[variant='base'] [part~='button']"+d+","+s+"[variant='text'] [part~='button']",d," {--kds-c-button-spacing-inline: 0;--kdds-c-button-neutral-text-color: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;}",t?":host([variant='base']) [part~='button']:disabled"+d+",:host([variant='text']) [part~='button']:disabled":s+"[variant='base'] [part~='button']:disabled"+d+","+s+"[variant='text'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: transparent;}",t?":host([stretch]) [part~='button']":s+"[stretch] [part~='button']",d," {--kds-c-button-sizing-width: 100%;justify-content: center;}",t?":host([variant='brand']) [part~='button']"+d+",:host([variant='brand-outline']) [part~='button']"+d+",:host([variant='inverse']) [part~='button']"+d+",:host([variant='success']) [part~='button']"+d+",:host([variant='destructive']) [part~='button']"+d+",:host([variant='destructive-text']) [part~='button']":s+"[variant='brand'] [part~='button']"+d+","+s+"[variant='brand-outline'] [part~='button']"+d+","+s+"[variant='inverse'] [part~='button']"+d+","+s+"[variant='success'] [part~='button']"+d+","+s+"[variant='destructive'] [part~='button']"+d+","+s+"[variant='destructive-text'] [part~='button']",d," {justify-content: center;}",t?":host [part~='start']":s+" [part~='start']",d," {display: inline-flex;padding-inline-end: 0;}",t?":host [part~='end']":s+" [part~='end']",d," {display: inline-flex;padding-inline-start: 0;}",t?":host .kdds-assistive-text":s+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host .kdds-button_reset":s+" .kdds-button_reset",d," {font-size: inherit;color: inherit;line-height: inherit;padding: 0;background: transparent;border: 0;text-align: inherit;}",t?":host [part~='button-icon']":s+" [part~='button-icon']",d," {display: inline-flex;--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: var(--kdds-c-buttonicon-color-foreground, var(--kdds-g-color-on-surface-1));--kds-c-button-spacing-inline: 0;--kds-c-button-sizing-height: var(--kdds-g-sizing-9);--kds-c-button-sizing-width: var(--kdds-g-sizing-9);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-2);--kds-c-button-color-background-disabled: var(--kdds-g-color-surface-container-1);--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);}",t?":host [part~='button-icon']:hover":s+" [part~='button-icon']:hover",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-hover,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:focus":s+" [part~='button-icon']:focus",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-focus,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:active":s+" [part~='button-icon']:active",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow-active: none;}",t?":host [part~='button-icon']:disabled":s+" [part~='button-icon']:disabled",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-disabled-1);--kds-c-button-color-background-disabled: transparent;}",t?":host([variant='bare']) [part~='button-icon']":s+"[variant='bare'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='container']) [part~='button-icon']":s+"[variant='container'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='brand']) [part~='button-icon']":s+"[variant='brand'] [part~='button-icon']",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-on-accent-1);}",t?":host([variant='bare-inverse']) [part~='button-icon']":s+"[variant='bare-inverse'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: color-mix(\r\n in oklab,\r\n var(--kdds-g-color-on-surface-inverse-1),\r\n transparent 25%\r\n );--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='border-inverse']) [part~='button-icon']":s+"[variant='border-inverse'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-2);}",t?":host([variant='border-filled']) [part~='button-icon']":s+"[variant='border-filled'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-1);}",t?":host([variant='border-filled']) [part~='button-icon']:disabled":s+"[variant='border-filled'] [part~='button-icon']:disabled",d," {--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);}",t?":host([size='xx-small']) [part~='button-icon']":s+"[size='xx-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-5);--kds-c-button-sizing-width: var(--kdds-g-sizing-5);--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='x-small']) [part~='button-icon']":s+"[size='x-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-6);--kds-c-button-sizing-width: var(--kdds-g-sizing-6);--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='small']) [part~='button-icon']":s+"[size='small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-7);--kds-c-button-sizing-width: var(--kdds-g-sizing-7);}",t?":host([size='large']) [part~='button-icon']":s+"[size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-10);--kds-c-button-sizing-width: var(--kdds-g-sizing-10);--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}",t?":host([size='x-small'][variant='bare']) [part~='button-icon']":s+"[variant='bare'][size='x-small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='small'][variant='bare']) [part~='button-icon']":s+"[variant='bare'][size='small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='large'][variant='bare']) [part~='button-icon']"+d+",:host([size='large'][variant='bare-inverse']) [part~='button-icon']":s+"[variant='bare'][size='large'] [part~='button-icon']"+d+","+s+"[variant='bare-inverse'][size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;}",t?":host [part='end']":s+" [part='end']",d," {padding-inline-start: 0;}",t?":host .kdds-assistive-text":s+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host([size='large']) [part~='button-icon']"+d+",:host([size='medium']) [part~='button-icon']":s+"[size='large'] [part~='button-icon']"+d+","+s+"[size='medium'] [part~='button-icon']",d," {height: var(--kdds-c-buttonicon-sizing-height, var(--kdds-g-sizing-9));}"].join("")}];var Y=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return(t?":host .kdds-row-number":s+" .kdds-row-number")+d+"::after {content: counter(row-number);}"+(t?":host .kdds-text-body_small":s+" .kdds-text-body_small")+d+" {font-size: var(--kdds-g-font-scale-neg-1);}"+(t?":host .kdds-button_icon-small":s+" .kdds-button_icon-small")+d+" {width: var(--kdds-g-sizing-4);height: var(--kdds-g-sizing-4);}"+(t?":host .kdds-cell-edit__button":s+" .kdds-cell-edit__button")+d+" {width: var(--kdds-g-sizing-6);height: var(--kdds-g-sizing-6);flex-shrink: 0;}"+(t?":host .kdds-cell-edit__button:focus":s+" .kdds-cell-edit__button:focus")+d+" .kdds-button__icon_edit"+d+" {opacity: 1;}"+(t?":host .kdds-cell-edit__button:disabled":s+" .kdds-cell-edit__button:disabled")+d+" {color: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-button__icon_hint":s+" .kdds-button__icon_hint")+d+" {fill: var(--kdds-s-button-color, var(--kdds-g-color-on-surface-1));}"+(t?":host .kdds-button__icon_lock":s+" .kdds-button__icon_lock")+d+" {opacity: 1;}"+(t?":host .kdds-button__icon_edit":s+" .kdds-button__icon_edit")+d+" {opacity: 1;fill: var(--kdds-g-color-accent-2);}"+(t?":host .kdds-button__icon_edit:hover"+d+",:host \r.kdds-button__icon_edit:focus":s+" .kdds-button__icon_edit:hover"+d+","+s+" \r.kdds-button__icon_edit:focus")+d+" {fill: var(--kdds-g-color-on-surface-3);}"+(t?":host [part='button button-icon']":s+" [part='button button-icon']")+d+" {border: none;opacity: 0;}"+(t?":host(:hover) [part='button button-icon']":s+":hover [part='button button-icon']")+d+" {opacity: 1;}"}];var Q=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return[":focus-visible",d," {outline: 0;}",t?":host [part='datagrid-wrapper']":s+" [part='datagrid-wrapper']",d," {display: flex;flex-direction: column;position: relative;}",t?":host [part='datagrid']":s+" [part='datagrid']",d," {display: flex;flex-direction: column;flex: 1 1 auto;height: 100%;background-color: var(--_kdds-c-datagrid-color-background);}",t?":host [part='datagrid-header']":s+" [part='datagrid-header']",d," {color: var(--_kdds-c-datagrid-header-text-color, #514f4d);background-color: var(--_kdds-c-datagrid-header-color-background, var(--_kdds-c-datagrid-color-background, #fafaf9));border-block-start: var(--kdds-g-sizing-border-1) solid var(--_kdds-c-datagrid-header-color-border, #babfc7);width: 100%;--_kdds-c-datagrid-row-color-border: var(--_kdds-c-datagrid-header-color-border, #babfc7);}",t?":host [fixed-header='true']":s+" [fixed-header='true']",d," [part='datagrid-header']",d," {position: sticky;top: 0;min-height: 2rem;z-index: 1;}",t?":host [part='cell']:hover":s+" [part='cell']:hover",d," {--_kdds-c-datagrid-cell-color-background: var(--_kdds-c-datagrid-cell-color-background-hover);}",t?":host [part='cell'][aria-selected='true']":s+" [part='cell'][aria-selected='true']",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [part='cell']:focus-within":s+" [part='cell']:focus-within",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']":s+" [role='columnheader']",d," {font-weight: var(--kdds-g-font-weight-7);}",t?":host [role='columnheader'][aria-sort]:hover":s+" [role='columnheader'][aria-sort]:hover",d," {background-color: var(--_kdds-c-datagrid-headercell-color-background-hover, white);}",t?":host [role='columnheader'][aria-selected='true']":s+" [role='columnheader'][aria-selected='true']",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']:focus-within":s+" [role='columnheader']:focus-within",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));box-shadow: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3)) -3px 0 0 0 inset;}",t?":host [data-row-key-value='HEADER']":s+" [data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [data-row-key-value='HEADER']":s+" [data-row-key-value='HEADER']",d," > *:focus",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [part='value']":s+" [part='value']",d," {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 100%;}[data-sort]",d," {border: none;background: transparent;display: inline-flex;min-width: 0;flex: 1 1 0%;}[data-sort]",d,"::after {content: '';position: absolute;inset: 0;}[data-sort]",d," [part='value']",d," {width: auto;}",t?"[data-resize-handle]:hover"+d+",\r:host [type='range']:focus":"[data-resize-handle]:hover"+d+","+s+" [type='range']:focus",d," ~ [data-resize-handle]",d," {opacity: 1;}[data-resize-handle]",d," {width: var(--kdds-g-sizing-3);position: absolute;top: calc(var(--kdds-g-sizing-border-1) * -1);right: calc(var(--kdds-g-sizing-border-1) * -1);bottom: calc(var(--kdds-g-sizing-border-1) * -1);cursor: col-resize;opacity: 0;}[data-resize-handle]",d,"::before {content: '';width: var(--kdds-g-sizing-border-1);height: 100vh;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: calc(var(--kdds-g-sizing-border-1) * -1);}[data-resize-handle]",d,"::after {content: '';width: 4px;height: 100%;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: 0;}",t?":host [part='datagrid-body']":s+" [part='datagrid-body']",d," [role~='row']:hover",d," {background-color: var(--_kdds-c-datagrid-row-color-background-hover, #f3f2f2);}",t?":host [aria-readonly='true']":s+" [aria-readonly='true']",d," {--_kdds-c-datagrid-cell-color-background-hover: inherit;}",t?":host [aria-readonly='false']":s+" [aria-readonly='false']",d," {--_kdds-c-datagrid-cell-color-background-hover: #fff;}",t?":host .kdds-scrollable_y":s+" .kdds-scrollable_y",d," {-webkit-overflow-scrolling: touch;max-height: 100%;overflow: hidden;overflow-y: auto;}",t?":host .kdds-scrollable_x":s+" .kdds-scrollable_x",d," {-webkit-overflow-scrolling: touch;max-width: 100%;overflow: hidden;overflow-x: auto;}",t?":host .kdds-line-height_reset":s+" .kdds-line-height_reset",d," {line-height: var(--kdds-g-font-lineheight-1);}",t?":host {":s+" {","height: 100%;width: 100%;display: inline;}",t?":host .kdds-table_header-fixed_container":s+" .kdds-table_header-fixed_container",d," {position: relative;background-color: var(--kdds-c-datatable-background);overflow-y: hidden;overflow-x: auto;padding-top: var(--kdds-c-datatable-header-line-height);}",t?":host .kdds-rangeselection_active":s+" .kdds-rangeselection_active",d," {user-select: none;}",t?":host .kdds-table_header-fixed_container":s+" .kdds-table_header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table":s+" .kdds-table",d," {background-color: var(--kdds-c-datatable-background);font-size: inherit;}",t?":host .kdds-table"+d+" th"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th"+d+","+s+" .kdds-table",d," td",d," {padding: var(--kdds-c-datatable-cell-padding);white-space: nowrap;position: relative;color: var(--kdds-c-datatable-cell-color);}",t?":host .kdds-table":s+" .kdds-table",d," th",d," {font-weight: var(--kdds-g-font-weight-4);}",t?":host .kdds-table":s+" .kdds-table",d," th:focus",d," {outline: 0;}",t?":host .kdds-table":s+" .kdds-table",d," thead",d," th",d," {background-color: var(--kdds-g-color-neutral-base-95);color: var(--kdds-g-color-neutral-base-30);font-weight: var(--kdds-g-font-weight-4);line-height: normal;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-hover);}",t?":host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {box-shadow: var(--kdds-g-shadow-outset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-brand-base-50));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+","+s+" .kdds-table",d," tbody",d," tr.kdds-is-selected",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-active);}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr.kdds-is-selected:hover",d," > th",d," {background-color: hsl(212.29999999999995, 100%, 95.5%);}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a",d," {color: var(--kdds-g-link-color-focus, var(--kdds-g-color-brand-base-20));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a[aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);cursor: default;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-shrink",d," {width: 1%;}",t?":host .kdds-table"+d+" .kdds-cell-buffer_left"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-buffer_left"+d+","+s+" .kdds-table",d," .kdds-cell-buffer--left",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table"+d+" .kdds-cell-buffer_right"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-buffer_right"+d+","+s+" .kdds-table",d," .kdds-cell-buffer--right",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table":s+" .kdds-table",d," tbody",d," tr",d," {counter-increment: row-number;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-row-number",d,"::after {content: counter(row-number);}",t?":host .kdds-table"+d+" th:focus"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th:focus"+d+","+s+" .kdds-table",d," [role='gridcell']:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+",\r:host .kdds-table:not(.kdds-rangeselection_active)":s+" .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+","+s+" .kdds-table:not(.kdds-rangeselection_active)",d," [role='rowheader'].kdds-has-focus",d," {border-color: var(--kdds-c-datatable-cell-border-focus);}",t?":host .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+","+s+" .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+","+s+" .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+","+s+" .kdds-table",d," [role='gridcell'].kdds-has-focus.kdds-cell_action-mode",d," {border-block-end: var(--kdds-g-sizing-border-3) solid var(--kdds-g-color-brand-base-50, var(--kdds-g-color-brand-base-30));}",t?":host .kdds-table"+d+" th:active"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th:active"+d+","+s+" .kdds-table",d," [role='gridcell']:active",d," {box-shadow: none;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-radio",d," [type='radio']",d," + .kdds-radio__label",d," .kdds-radio_faux",d," {margin-inline-end: 0;}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table--cell-buffer":s+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+s+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+s+" .kdds-table--cell-buffer",d," tr",d," > td:first-child",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table--cell-buffer":s+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+s+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+","+s+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+s+" .kdds-table--cell-buffer",d," tr",d," > td:last-child",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table_bordered"+d+",\r:host .kdds-table--bordered":s+" .kdds-table_bordered"+d+","+s+" .kdds-table--bordered",d," {border-collapse: separate;}",t?":host .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+",\r:host .kdds-table--bordered":s+" .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+","+s+" .kdds-table--bordered",d," thead",d," > tr",d," + tr",d," > th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);}",t?":host .kdds-table_bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table_bordered"+d+" tbody"+d+" th"+d+",\r:host .kdds-table--bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table--bordered":s+" .kdds-table_bordered"+d+" tbody"+d+" td"+d+","+s+" .kdds-table_bordered"+d+" tbody"+d+" th"+d+","+s+" .kdds-table--bordered"+d+" tbody"+d+" td"+d+","+s+" .kdds-table--bordered",d," tbody",d," th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid transparent;}",t?":host .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+","+s+" .kdds-table",d," > tbody",d," > tr",d," > th",d," {height: var(--kdds-c-datatable-cell-line-height);background-color: var(--kdds-c-datatable-cell-background);}",t?":host .kdds-table_col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" td"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table--col-bordered":s+" .kdds-table_col-bordered"+d+" td"+d+" + td"+d+","+s+" .kdds-table_col-bordered"+d+" th"+d+" + th"+d+","+s+" .kdds-table_col-bordered"+d+" th"+d+" + td"+d+","+s+" .kdds-table_col-bordered"+d+" td"+d+" + th"+d+","+s+" .kdds-table--col-bordered"+d+" td"+d+" + td"+d+","+s+" .kdds-table--col-bordered"+d+" th"+d+" + th"+d+","+s+" .kdds-table--col-bordered"+d+" th"+d+" + td"+d+","+s+" .kdds-table--col-bordered",d," td",d," + th",d," {border-inline-start: var(--kdds-g-sizing-border-1) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+",\r:host .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table--striped":s+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+s+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+","+s+" .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+s+" .kdds-table--striped",d," tbody",d," tr:nth-of-type(even)",d," > th",d," {background-color: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-table_fixed-layout"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+","+s+" .kdds-table--fixed-layout",d," {table-layout: fixed;width: 100%;white-space: nowrap;}",t?":host .kdds-table_fixed-layout"+d+" thead"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" thead"+d+","+s+" .kdds-table--fixed-layout",d," thead",d," {background-color: var(--kdds-g-color-neutral-base-100);}",t?":host .kdds-table_fixed-layout"+d+" tbody"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" tbody"+d+","+s+" .kdds-table--fixed-layout",d," tbody",d," {transform: translateZ(0);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink",d," {width: var(--kdds-g-sizing-10);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:nth-child(n)",d," {padding-inline-start: 0;padding-inline-end: 0;}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:first-child",d," {text-align: right;padding-inline-end: var(--kdds-g-spacing-2);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:last-child",d," {text-align: left;padding-inline-start: var(--kdds-g-spacing-2);}",t?[":host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap"].join(""):[s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap"].join(""),d," tbody",d," tr",d," > *:nth-child(15)",d," .kdds-truncate",d," {overflow-wrap: break-word;word-wrap: break-word;hyphens: none;white-space: normal;}",t?":host [class*='kdds-table_column-']":s+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d," {overflow: hidden;position: relative;max-height: calc(var(--kdds-g-sizing-10) + var(--kdds-g-sizing-2));}",t?":host [class*='kdds-table_column-']":s+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d,"::after {content: '';position: absolute;top: calc(var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2));bottom: 0;right: 0;width: 50%;background: linear-gradient(to right, transparent 0%, var(--kdds-g-color-neutral-base-100) 69%);}",t?":host [class*='kdds-table_column-']":s+" [class*='kdds-table_column-']",d," tr:hover",d," td",d," .kdds-truncate",d,"::after {background: linear-gradient(to right, rgba(250, 250, 249, 0%) 0%, #fafaf9 69%);}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+",\r:host .kdds-table--resizable-cols":s+" .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+","+s+" .kdds-table--resizable-cols",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+",\r:host .kdds-table--resizable-cols":s+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+","+s+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," {width: var(--kdds-g-sizing-4);right: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,\r:host .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table--resizable-cols":s+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+s+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,"+s+" .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+s+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," .kdds-resizable__divider",d,"::after {right: 0;}",t?":host .kdds-table_resizable-cols":s+" .kdds-table_resizable-cols",d," thead",d," th:hover",d," {--kdds-s-datatable-column-resizer-display: block;}",t?":host .kdds-table_joined"+d+" table"+d+",\r:host .kdds-table.kdds-has-top-magnet":s+" .kdds-table_joined"+d+" table"+d+","+s+" .kdds-table.kdds-has-top-magnet",d," table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}",t?":host .kdds-table_joined-wrapper":s+" .kdds-table_joined-wrapper",d," {padding: var(--kdds-g-spacing-4) var(--kdds-g-spacing-4) 0 var(--kdds-g-spacing-4);border-radius: var(--kdds-g-radius-border-2);background-clip: padding-box;}",t?":host .kdds-table_joined-wrapper":s+" .kdds-table_joined-wrapper",d," .kdds-table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+","+s+" .kdds-max-medium-table--stacked",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" thead"+d+","+s+" .kdds-max-medium-table--stacked",d," thead",d," {position: absolute !important;margin: calc(var(var(--kdds-g-sizing-border-1) * 1px)) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" tr"+d+","+s+" .kdds-max-medium-table--stacked",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th"+d+","+s+" .kdds-max-medium-table_stacked"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked",d," td",d," {display: block;padding: var(--kdds-g-sizing-4);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table--stacked",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+","+s+" .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table--stacked",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-sizing-4);}",t?":host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)":s+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+s+" .kdds-max-medium-table--stacked",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+","+s+" .kdds-max-medium-table--stacked",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table--stacked"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked",d," th",d,"::before {padding-block-end: var(--kdds-g-spacing-1);}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," thead",d," {position: absolute !important;margin: calc(var(--kdds-g-sizing-border-1) * -1) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {display: block;padding: var(--kdds-g-spacing-3);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+","+s+" .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-spacing-3);}",t?":host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)":s+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {text-align: right;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {float: left;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-truncate",d," {max-width: 100%;}}",t?":host .kdds-table_edit_container:focus"+d+",\r:host .kdds-table--edit_container:focus":s+" .kdds-table_edit_container:focus"+d+","+s+" .kdds-table--edit_container:focus",d," {outline: none;}",t?":host .kdds-table_edit_container:focus"+d+"::before,\r:host .kdds-table--edit_container:focus":s+" .kdds-table_edit_container:focus"+d+"::before,"+s+" .kdds-table--edit_container:focus",d,"::before {content: ' ';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;background-color: var(--kdds-g-color-neutral-base-95);box-shadow: 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-border-brand-2, var(--kdds-g-color-palette-blue-60)) inset;}",t?":host .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+",\r:host .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container:focus":s+" .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+s+" .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+","+s+" .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+s+" .kdds-table--edit_container:focus",d," .kdds-table--edit_container-message",d," {display: block;position: absolute;top: 50%;left: 50%;width: var(--kdds-g-sizing-15);margin-block-start: calc((var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2)) * -1);margin-inline-start: calc(var(--kdds-g-sizing-13) * -1);background-color: var(--kdds-g-color-neutral-base-100);text-align: center;z-index: 1;}",t?":host .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container-message":s+" .kdds-table_edit_container-message"+d+","+s+" .kdds-table--edit_container-message",d," {display: none;}",t?":host .kdds-table_edit"+d+" thead"+d+" th"+d+",\r:host .kdds-table--edit":s+" .kdds-table_edit"+d+" thead"+d+" th"+d+","+s+" .kdds-table--edit",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_edit"+d+" .kdds-cell-error"+d+",\r:host .kdds-table--edit":s+" .kdds-table_edit"+d+" .kdds-cell-error"+d+","+s+" .kdds-table--edit",d," .kdds-cell-error",d," {padding-inline-start: 0;}",t?":host .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+",\r:host .kdds-table--edit:not(.kdds-no-cell-focus)":s+" .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+","+s+" .kdds-table--edit:not(.kdds-no-cell-focus)",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-background: var(--kdds-c-datatable-cell-edit-background-hover);--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border-hover);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-is-edited",d," {background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-error",d," {}",t?":host .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+",\r:host .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table--edit":s+" .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+","+s+" .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+","+s+" .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+","+s+" .kdds-table--edit",d," .kdds-button__icon--edit:focus",d," {fill: var(--kdds-g-color-brand-base-50, var(--kdds-g-color-palette-blue-60));}",t?":host .kdds-has-focus":s+" .kdds-has-focus",d," .kdds-th__action",d," {}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit",d," {outline: 0;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+","+s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+","+s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+","+s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," .kdds-button__icon--lock",d," {opacity: 1;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus:hover",d," {}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," a:focus",d," {text-decoration: underline;outline: none;}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+","+s+" .kdds-table",d," .kdds-cell-edit.kdds-is-edited:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+","+s+" .kdds-table",d," .kdds-cell-edit.kdds-has-error:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_header-fixed_container"+d+"::before,\r:host .kdds-table--header-fixed_container":s+" .kdds-table_header-fixed_container"+d+"::before,"+s+" .kdds-table--header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table_header-fixed"+d+",\r:host .kdds-table--header-fixed":s+" .kdds-table_header-fixed"+d+","+s+" .kdds-table--header-fixed",d," {border-block-start: 0;}",t?":host .kdds-table_header-fixed"+d+" thead"+d+" th"+d+",\r:host .kdds-table--header-fixed":s+" .kdds-table_header-fixed"+d+" thead"+d+" th"+d+","+s+" .kdds-table--header-fixed",d," thead",d," th",d," {padding: 0;border-block-start: 0;position: static;}",t?":host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+",\r:host .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table--header-fixed":s+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+s+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+","+s+" .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+s+" .kdds-table--header-fixed",d," tbody",d," tr:first-child",d," th",d," {}",t?":host .kdds-table_header-hidden":s+" .kdds-table_header-hidden",d," {border-block-start: 0;}",t?":host .kdds-tree":s+" .kdds-tree",d," .kdds-tree__item",d," .kdds-is-disabled",d," {visibility: hidden;}",t?":host .kdds-tree":s+" .kdds-tree",d," .kdds-is-selected",d," {background: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-tree":s+" .kdds-tree",d," .kdds-is-focused",d," {text-decoration: underline;}",t?":host .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":s+" .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+s+" .kdds-tree",d," :host [aria-expanded='false']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":s+" .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+s+" .kdds-tree",d," :host [aria-expanded='true']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," a",d," {color: var(--kdds-g-color-neutral-base-10);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," a:hover",d," {text-decoration: none;}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," a:focus",d," {outline: 0;text-decoration: underline;}",t?":host .kdds-tree-container"+d+",\r:host .kdds-tree_container":s+" .kdds-tree-container"+d+","+s+" .kdds-tree_container",d," {min-width: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));max-width: var(--kdds-c-tree-sizing-max-width, var(--kds-c-tree-sizing-max-width, calc(var(--kdds-g-sizing-15) + var(--kdds-g-sizing-12))));}",t?":host .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+",\r:host .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree_container":s+" .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+","+s+" .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+","+s+" .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+","+s+" .kdds-tree_container",d," > .kdds-text-heading--label",d," {margin-block-end: var(--kdds-g-spacing-2);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," {display: flex;padding: 0 calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-9)) var(--kdds-g-sizing-5);}",t?":host .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree__item:hover":s+" .kdds-tree__item.kdds-is-hovered"+d+","+s+" .kdds-tree__item:hover",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem']:focus",d," {outline: 0;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem']:focus",d," > .kdds-tree__item",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;text-decoration: none;box-shadow: var(--kdds-g-shadow-inset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem'][aria-selected='true']:focus",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset,\r\n 0 0 0 var(--kdds-g-sizing-border-2) var(--kdds-g-color-neutral-base-100),\r\n 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-brand-base-40, var(--kdds-g-color-border-accent-2));}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {background: rgba(21, 137, 238, 10%);box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset;}",t?":host [dir='rtl']":s+" [dir='rtl']",d," .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) calc(var(--kdds-g-sizing-border-4) * -1) 0 0 inset;}",t?":host .kdds-tree":s+" .kdds-tree",d," [aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);}",t?":host .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree":s+" .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+","+s+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item:hover",d," {background-color: transparent;cursor: default;}",t?":host .kdds-tree":s+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item-meta",d," {color: inherit;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem']",d," > [role='group']",d," {display: none;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem'][aria-expanded='true']",d," > [role='group']",d," {display: block;}",t?":host [aria-expanded='false']":s+" [aria-expanded='false']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host [aria-expanded='true']":s+" [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host [dir='rtl']":s+" [dir='rtl']",d," [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transform: rotate(-90deg);}",t?":host [aria-level='1']":s+" [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-4);}",t?":host [aria-level='2']":s+" [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-6);}",t?":host [aria-level='3']":s+" [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-3);}",t?":host [aria-level='4']":s+" [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-10);}",t?":host [aria-level='5']":s+" [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-12);}",t?":host [aria-level='6']":s+" [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-4));}",t?":host [aria-level='7']":s+" [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-6));}",t?":host [aria-level='8']":s+" [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-8));}",t?":host [aria-level='9']":s+" [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-10));}",t?":host [aria-level='10']":s+" [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 2);}",t?":host [aria-level='11']":s+" [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-4));}",t?":host [aria-level='12']":s+" [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-6));}",t?":host [aria-level='13']":s+" [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-8));}",t?":host [aria-level='14']":s+" [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-10));}",t?":host [aria-level='15']":s+" [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 3);}",t?":host [aria-level='16']":s+" [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-4));}",t?":host [aria-level='17']":s+" [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-6));}",t?":host [aria-level='18']":s+" [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-8));}",t?":host [aria-level='19']":s+" [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-10));}",t?":host [aria-level='20']":s+" [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 4);}",t?":host .kdds-tree__item-label":s+" .kdds-tree__item-label",d," {display: block;}",t?":host .kdds-tree__item-meta":s+" .kdds-tree__item-meta",d," {display: block;color: var(--kdds-g-color-neutral-base-30);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," .kdds-button",d," {align-self: flex-start;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," .kdds-pill",d," {margin-inline-start: var(--kdds-g-spacing-3);}",t?":host .kdds-tree__group-header":s+" .kdds-tree__group-header",d," {font-size: var(--kdds-g-font-scale-1);font-weight: var(--kdds-g-font-weight-7);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," .kdds-tree__item",d," {line-height: var(--kdds-g-font-lineheight-4);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+","+s+" .kdds-table--tree",d," .kdds-tree__item",d," a",d," {color: var(--kdds-g-link-color, var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+","+s+" .kdds-table--tree",d," .kdds-tree__item",d," a:hover",d," {text-decoration: underline;}",t?":host .kdds-table_tree"+d+" .kdds-button"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-button"+d+","+s+" .kdds-table--tree",d," .kdds-button",d," {align-self: center;}",t?":host .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+","+s+" .kdds-table--tree",d," .kdds-button:not(.kdds-th__action-button)",d," {margin-block-start: 0;}",t?":host .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-7);}",t?":host .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-9);}",t?":host .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-11);}",t?":host .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 4) + var(--kdds-g-spacing-2));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+","+s+" .kdds-table",d," tbody",d," tr.kdds-table-expand-container:hover",d," > td",d," {background-color: var(--kdds-c-datatable-expand-row-background);}",t?":host .kdds-table":s+" .kdds-table",d," tbody",d," tr[data-row-key-value='EXPAND']",d," > td",d," {padding: 0;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-selected",d," {background-color: var(--kdds-c-datatable-range-selection-background) !important;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-top",d," {border-block-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-bottom",d," {border-block-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-left",d," {border-inline-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-right",d," {border-inline-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table":s+" .kdds-table",d," tbody",d," tr",d," > td.kdds-datatable-nodata-cell",d," {padding: var(--kdds-c-datatable-default-text-margin-vertical) 0;border-inline-start: none;border-inline-end: none;}"].join("")}];var G=[[s.stylesheet0,o.stylesheet3,r.stylesheet1,n.stylesheet3,i.stylesheet2,l.stylesheet5,c.stylesheet4,u.stylesheet7,q,U,Y,Q],function(e,t,a){var d=e?"["+e+"]":"";return[".table-header",d," {height: 0;}[part='cell']",d," {position: relative;padding-inline: var(--kdds-g-sizing-3, 0.5rem);padding-block: var(--kdds-g-sizing-2, 0.25rem);white-space: nowrap;align-items: center;}[role='gridcell']:focus",d,",\r[role='rowheader']:focus",d," {box-shadow: var(\r\n --kdds-g-shadow-6,\r\n var(\r\n --kwc-shadowButtonFocus,\r\n 0 0 3px var(--kdds-g-color-brand-base-50, #0176d3)\r\n )\r\n );outline: none;}[role='columnheader']",d," {outline: none;color: var(--kdds-g-color-info-1, #514f4d);font-weight: var(--kdds-g-font-weight-7, 700);line-height: normal;}[data-row-key-value]",d," {border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='gridcell']:not(.kdds-has-focus)",d,",\r[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='rowheader']:not(.kdds-has-focus)",d," {box-shadow:\r\n inset 0 var(--kdds-g-sizing-border-1, 1px)\r\n var(--kdds-g-color-border-1, #c9c9c9),\r\n inset 0 calc(var(--kdds-g-sizing-border-1, 1px) * -1)\r\n var(--kdds-g-color-border-1, #c9c9c9);}.kdds-table_header-fixed",d," [data-row-key-value]:first-child",d," {border-top: 0;}[role='row']",d," {counter-increment: row-number;display: flex;}[role='row']:hover",d,",\r[data-row-key-value='HEADER']",d," > *",d," {background-color: var(--kdds-g-color-palette-neutral-95, #f3f2f2);}[role='row'].kdds-is-selected",d," {background-color: var(--kdds-g-color-palette-neutral-90, #ecebea);}.kdds-cell-edit:hover",d," {background-color: var(--kdds-g-color-surface-container-1);}[part='cell'].kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",a?"":'[dir="rtl"]'," div[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > span[data-inline-type='formatted-number']",a?":dir(rtl)":"",d,",",a?"":'[dir="rtl"]'," \rdiv[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > a[data-inline-type='formatted-phone']",a?":dir(rtl)":"",d," {direction: ltr;unicode-bidi: embed;}[part='spinner']",d," {padding: var(--kdds-g-sizing-2, 0.25rem) var(--kdds-g-sizing-3, 0.5rem);border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-header]",d," {display: block;}[data-row-key-value='HEADER']",d," {display: table-row;}[data-row-key-value='HEADER']",d," > *",d," {display: table-cell;position: relative;border-bottom: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-neutral-base-70, var(--kwc-colorGray5, #dddbda));padding: 0;vertical-align: middle;}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *.kdds-has-focus",d," {box-shadow:\r\n #014486 0 0 0 1px inset,\r\n #014486 -0.25rem 0 0 inset;}[part='datagrid-header']",d," {position: absolute;top: 0;}"].join("")}];const X=e.parseFragment`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Z=e.parseFragment`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,J=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,ee=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,te=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ae=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,de=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,se=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,oe=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,re=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,ne=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ie=e.parseFragment`<span${3}>${"t1"}</span>`,le=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ce=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ue=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,be=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,he=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ke=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,pe=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,me=e.parseFragment`<span${3}>${"t1"}</span>`,ge=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,ve=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:target"}${"a0:tabindex"}${"a0:title"}${3}>${"t1"}</a>`,fe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ye=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,_e=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,xe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,we=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ce=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Ae=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Te=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Re=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ze=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Le=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ie=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Se=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,$e=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,Ee=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Me=e.parseFragment`<span${3}>${"t1"}</span>`,Ve=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,De=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Fe=e.parseFragment`<a data-inline-type="formatted-phone" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ke=e.parseFragment`<a data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,We=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ne=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Be=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,He=e.parseFragment`<span${3}>${"t1"}</span>`,Oe=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,je=e.parseFragment`<a data-inline-type="formatted-url" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:title"}${"a0:target"}${"a0:tabindex"}${3}>${"t1"}</a>`,Pe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,qe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Ue=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Ye=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Qe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ge=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Xe={name:"customdatatypes"},Ze=[],Je={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},et={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],attrs:{part:"datagrid-wrapper"},ref:"outerContainer",key:5},tt={"data-iedit-panel":"true"},at={"kdds-scrollable_y":!0},dt={attrs:{part:"datagrid-header","data-rowgroup-header":"",role:"rowgroup"},key:10},st={"kdds-line-height_reset":!0,"table-header":!0},ot={role:"row","aria-rowindex":"1","data-row-key-value":"HEADER"},rt={"column-header":!0,cell:!0},nt={part:"datagrid-body","data-rowgroup-body":"",role:"rowgroup"},it={"kdds-checkbox":!0},lt={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},ct={"data-navigation":"enable"},ut={"kdds-m-right_x-small":!0},bt={key:74},ht={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},kt={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},pt={key:143},mt={"kdds-table-expand-container":!0},gt={key:168},vt={"kdds-datatable-nodata-cell":!0};function ft(e,t,a,d){const{b:s,s:o,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:A,ti:T,k:R,i:z,t:L,fr:I,fid:S}=e,{_m0:$,_m1:E,_m2:M,_m3:V,_m4:D,_m5:F,_m6:K,_m7:W,_m8:N,_m9:B,_m10:H,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",C,{props:{loading:t.loading},key:0},[o("customdatatypes",{attrs:Xe,key:1,on:$||(d._m0={slotchange:s(t.handleCustomTypesChange)})},Ze,a),l(X,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",Je),c("div",et,[u("kd-primitive-datatable-iedit-panel",b,{attrs:tt,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:E||(d._m1={ieditfinished:s(t.handleInlineEditFinish),masscheckboxchange:s(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:s(t.handleHorizontalScroll)})},[c("div",{classMap:at,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:V||(d._m3={scroll:s(t.handleVerticalScroll)})},[c("div",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{part:"datagrid",role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":A(t.ariaLabelledBy),"aria-describedby":A(t.ariaDescribedBy),"aria-rowcount":t.ariaRowCount,"aria-colcount":t.ariaColCount,"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:s(t.handleTableKeydown),click:s(t.handleTableCellClick),focusin:s(t.handleTableFocusIn),focusout:s(t.handleTableFocusOut)})},[t.hasValidKeyField?c("div",dt,[c("div",{classMap:st,attrs:ot,ref:"headerRow",key:11,on:F||(d._m5={privateresizestart:s(t.handleResizeStart),privateresizeend:s(t.handleResizeEnd)})},z(t.state.columns,function(e,a){return c("div",{classMap:rt,style:e.style,attrs:{part:"cell",role:e.role,tabindex:T(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:R(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:14})])}))]):null,t.hasValidKeyField?c("div",{style:t.computedTbodyStyle,attrs:nt,ref:"tableBody",key:15},z(t.renderedRows,function(e){return c("div",{className:r(e.classnames),style:e.style,attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,"aria-rowindex":e.ariaRowIndex,tabindex:T(e.tabIndex),"data-row-number":e.rowNumber},key:R(16,e.key),on:K||(d._m6={keydown:s(t.handleKeydownOnDataRow),privatelookupitempicked:s(t.handlePrivateLookupItemPicked)})},z(e.cells,function(a){return[a.isRowExpand?c("div",{className:r(a.class),attrs:{role:"gridcell",tabindex:T(a.tabIndex),"data-col-key-value":a.colKeyValue},key:R(17,a.colKeyValue)},[u("kd-primitive-cell-expand",k,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:a.hasFocus,rowIndex:t.rowIndex,colKeyValue:a.colKeyValue},key:18})]):null,a.isCheckbox?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:R(19,a.colKeyValue)},[a.isInlined?c("span",{classMap:it,attrs:lt,key:20,on:W||(d._m7={click:s(t.handleInlinedCheckboxContainerClick),mousedown:s(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:a.checkboxName,id:A(a.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:T(a.internalTabIndex)},props:{checked:e.isSelected},key:21,on:N||(d._m8={click:s(t.handleInlinedCheckboxClick)})}),l(Z,23,[i(0,{attrs:{id:A(a.checkboxLabelId),for:A(a.checkboxId)}},null),i(3,null,n(a.checkboxSelectItemAssistiveText))])]):null,a.isInlined?null:u("kd-primitive-cell-checkbox",p,{attrs:{"data-label":a.dataLabel},props:{dtContextId:t._datatableId,hasFocus:a.hasFocus,rowKeyValue:e.key,colKeyValue:a.colKeyValue,rowIndex:e.rowIndex,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,a.isSortingMenu?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue},key:R(25,a.colKeyValue)},[u("kd-primitive-datatable-cell",m.__kwc_component_class_internal,{props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue},key:26})]):null,a.isDataTypeScope?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"rowheader","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,"aria-describedby":A(a.describedBy),tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:R(27,a.colKeyValue),on:B||(d._m9={mousedown:s(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:28},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:29})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:30},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:ct,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:31}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:32},[a.hasLeftIcon?u("kd-icon",f,{classMap:ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:33}):null,a.hasLeftIcon?L(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?I(34,[l(J,36)],0):I(34,[l(ee,38)],0):null,a.isBoolean?l(te,40,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(ae,42,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:43}):null,a.isDateLocal?l(de,45,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(se,47,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:S(a.emailLink),tabindex:T(a.internalTabIndex)},key:48},[a.emailIconHidden?null:a.isRTL?I(49,[l(oe,51)],0):I(49,[l(re,53)],0),a.emailIconHidden?null:l(ne,55,[i(1,null,n(a.emailIconAssistiveText))]),L(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(ie,57,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:L(n(a.locationValue)):null,a.isNumber?l(le,59,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(ce,61,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(ue,63,[i(0,{attrs:{href:S(a.phoneLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(be,65,[i(0,{on:{click:s(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(he,67,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(ke,69):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(pe,71,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(me,73,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:L(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",bt,z(a.textParts,function(e){return[e.isLink?l(ge,R(76,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?L(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(ve,78,[i(0,{on:{click:s(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),target:a.urlTarget,tabindex:T(a.internalTabIndex),title:a.urlTooltip}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",f,{classMap:ht,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:79}):null,a.hasRightIcon?L(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:kt,attrs:{part:"button button-icon","aria-labelledby":A(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:T(a.internalTabIndex)},key:80,on:H||(d._m10={click:s(t.handleInlinedEditButtonClick)})},[a.isRTL?I(81,[l(fe,83)],0):I(81,[l(ye,85)],0),l(_e,87,[i(0,{attrs:{id:A(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?I(88,[l(xe,90)],0):I(88,[l(we,92)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",y,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,alignment:a.alignment,hasError:a.hasError,hasFocus:a.hasFocus,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:93}),a.isInlined?null:a.describedBy?l(Ce,95,[i(0,{attrs:{id:A(a.describedBy)}},null)]):null]):null,a.isDataType?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"gridcell","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:R(96,a.colKeyValue),on:O||(d._m11={mousedown:s(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:97},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:98})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:99},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:ct,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:100}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:101},[a.hasLeftIcon?u("kd-icon",f,{classMap:ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:102}):null,a.hasLeftIcon?L(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?I(103,[l(Ae,105)],0):I(103,[l(Te,107)],0):null,a.isBoolean?l(Re,109,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(ze,111,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:112}):null,a.isDateLocal?l(Le,114,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(Ie,116,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-navigation":"enable","data-action-triggers":"enter",href:S(a.emailLink),tabindex:T(a.internalTabIndex)},key:117},[a.emailIconHidden?null:a.isRTL?I(118,[l(Se,120)],0):I(118,[l($e,122)],0),a.emailIconHidden?null:l(Ee,124,[i(1,null,n(a.emailIconAssistiveText))]),L(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(Me,126,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:L(n(a.locationValue)):null,a.isNumber?l(Ve,128,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(De,130,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(Fe,132,[i(0,{attrs:{href:S(a.phoneLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(Ke,134,[i(0,{on:{click:s(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(We,136,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(Ne,138):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(Be,140,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(He,142,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:L(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",pt,z(a.textParts,function(e){return[e.isLink?l(Oe,R(145,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?L(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(je,147,[i(0,{on:{click:s(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),title:a.urlTooltip,target:a.urlTarget,tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",f,{classMap:ht,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:148}):null,a.hasRightIcon?L(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:kt,attrs:{part:"button button-icon","aria-labelledby":A(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:T(a.internalTabIndex)},key:149,on:j||(d._m12={click:s(t.handleInlinedEditButtonClick)})},[a.isRTL?I(150,[l(Pe,152)],0):I(150,[l(qe,154)],0),l(Ue,156,[i(0,{attrs:{id:A(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?I(157,[l(Ye,159)],0):I(157,[l(Qe,161)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",y,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,ariaDescribedBy:A(a.describedBy),alignment:a.alignment,hasFocus:a.hasFocus,hasError:a.hasError,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:162}),a.isInlined?null:a.describedBy?l(Ge,164,[i(0,{attrs:{id:A(a.describedBy)}},null)]):null]):null]}))})):null,t.hasValidKeyField&&t.row.isRowExpanded?c("div",{classMap:mt,attrs:{"data-row-key-value":"EXPAND","data-expand-row-key-value":t.row.key},key:165},[c("div",{attrs:{colspan:t.state.columns.length},key:166},[u("kd-primitive-custom-row",_,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:t.row,expandRowExtraParams:t.expandable.expandRowExtraParams},key:167})])]):null,t.tableNoData?c("div",gt,[c("div",{classMap:vt,attrs:{colspan:t.state.columns.length},key:169},[u("kd-primitive-datatable-no-data",x,{props:{width:t.state.tableWrapperWidth},key:170})])]):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",w,{props:{error:t.tableError},key:171,on:P||(d._m13={privatesave:s(t.handleInlineEditSave),privatecancel:s(t.handleInlineEditCancel)})}):null])])]}var yt=e.registerTemplate(ft);ft.slots=["customdatatypes"],ft.hasRefs=!0,ft.stylesheets=[],ft.stylesheetToken="kwc-1r94rvjrpp4",ft.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\div-undefined_div",G&&ft.stylesheets.push.apply(ft.stylesheets,G),e.freezeTemplate(ft);var _t=[[s.stylesheet0,o.stylesheet3,r.stylesheet1,n.stylesheet3,i.stylesheet2,l.stylesheet5,c.stylesheet4,u.stylesheet7,q,U,Y,Q],function(e,t,a){var d=e?"["+e+"]":"";return".kdds-table_header-fixed_container"+d+"::before {width: 0;}.kdds-table_header-fixed_container"+d+" > .kdds-scrollable_y"+d+"::before {width: 100%;content: '';display: block;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" {contain: strict;content-visibility: auto;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" {contain-intrinsic-height: auto 29px;}"+(a?"":'[dir="rtl"]')+" .kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > span[data-inline-type='formatted-number']"+(a?":dir(rtl)":"")+d+","+(a?"":'[dir="rtl"]')+" \r.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > a[data-inline-type='formatted-phone']"+(a?":dir(rtl)":"")+d+" {direction: ltr;unicode-bidi: embed;}"}];const xt=e.parseFragment`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,wt=e.parseFragment`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,Ct=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,At=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Tt=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Rt=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,zt=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Lt=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,It=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,St=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,$t=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Et=e.parseFragment`<span${3}>${"t1"}</span>`,Mt=e.parseFragment`<span${3}>${"t1"}</span>`,Vt=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Dt=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ft=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Kt=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Wt=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Nt=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,Bt=e.parseFragment`<span${3}>${"t1"}</span>`,Ht=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Ot=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,jt=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Pt=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,qt=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Ut=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Yt=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Qt=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Gt=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Xt=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Zt=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Jt=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ea=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ta=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,aa=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,da=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,sa=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,oa=e.parseFragment`<span${3}>${"t1"}</span>`,ra=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,na=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ia=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,la=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ca=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ua=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,ba=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,ha=e.parseFragment`<span${3}>${"t1"}</span>`,ka=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,pa=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,ma=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ga=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,va=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,fa=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,ya=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,_a=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,xa={name:"customdatatypes"},wa=[],Ca={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},Aa={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],ref:"outerContainer",key:5},Ta={"data-iedit-panel":"true"},Ra={"kdds-scrollable_y":!0},za={attrs:{"data-rowgroup-header":""},key:10},La={"kdds-line-height_reset":!0},Ia={role:"row","data-row-key-value":"HEADER"},Sa={"data-rowgroup-body":""},$a={"kdds-checkbox":!0},Ea={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},Ma={"data-navigation":"enable"},Va={"kdds-m-right_x-small":!0},Da={key:72},Fa={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},Ka={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},Wa=[["height","100%",!1]],Na={key:141},Ba={"kdds-table-expand-container":!0},Ha={key:166},Oa={"kdds-datatable-nodata-cell":!0};function ja(e,t,a,d){const{b:s,s:o,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:m,ti:A,k:T,i:R,t:z,fr:L,fid:I,f:S}=e,{_m0:$,_m1:E,_m2:M,_m3:V,_m4:D,_m5:F,_m6:K,_m7:W,_m8:N,_m9:B,_m10:H,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",C,{props:{loading:t.loading},key:0},[o("customdatatypes",{attrs:xa,key:1,on:$||(d._m0={slotchange:s(t.handleCustomTypesChange)})},wa,a),l(xt,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",Ca),c("div",Aa,[u("kd-primitive-datatable-iedit-panel",b,{attrs:Ta,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:E||(d._m1={ieditfinished:s(t.handleInlineEditFinish),masscheckboxchange:s(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:s(t.handleHorizontalScroll)})},[c("div",{classMap:Ra,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:V||(d._m3={scroll:s(t.handleVerticalScroll)})},[c("table",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":m(t.ariaLabelledBy),"aria-describedby":m(t.ariaDescribedBy),"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:s(t.handleTableKeydown),click:s(t.handleTableCellClick),focusin:s(t.handleTableFocusIn),focusout:s(t.handleTableFocusOut)})},[t.hasValidKeyField?c("thead",za,[c("tr",{classMap:La,attrs:Ia,ref:"headerRow",key:11,on:F||(d._m5={privateresizestart:s(t.handleResizeStart),privateresizeend:s(t.handleResizeEnd)})},R(t.state.columns,function(e,a){return c("th",{style:e.style,attrs:{role:e.role,scope:e.scope,tabindex:A(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:T(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:14})])}))]):null,t.hasValidKeyField?c("tbody",{style:t.computedTbodyStyle,attrs:Sa,ref:"tableBody",key:15},S([R(t.renderedRows,function(e,a){return[c("tr",{className:r(e.classnames),attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,tabindex:A(e.tabIndex),"data-row-number":e.rowNumber},key:T(16,e.key),on:K||(d._m6={keydown:s(t.handleKeydownOnDataRow),privatelookupitempicked:s(t.handlePrivateLookupItemPicked)})},R(e.cells,function(o){return[o.isRowExpand?c("td",{className:r(o.class),attrs:{role:"gridcell",tabindex:A(o.tabIndex),"data-col-key-value":o.colKeyValue},key:T(17,o.colKeyValue)},[u("kd-primitive-cell-expand",k,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:o.hasFocus,rowIndex:a,colKeyValue:o.colKeyValue},key:18})]):null,o.isCheckbox?c("td",{className:r(o.class),attrs:{role:"gridcell",tabindex:A(o.tabIndex),"data-label":o.dataLabel,"data-col-key-value":o.colKeyValue,"data-cell-value":o.value},key:T(19,o.colKeyValue)},[o.isInlined?c("span",{classMap:$a,attrs:Ea,key:20,on:W||(d._m7={click:s(t.handleInlinedCheckboxContainerClick),mousedown:s(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:o.checkboxName,id:m(o.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:A(o.internalTabIndex)},props:{checked:e.isSelected},key:21,on:N||(d._m8={click:s(t.handleInlinedCheckboxClick)})}),l(wt,23,[i(0,{attrs:{id:m(o.checkboxLabelId),for:m(o.checkboxId)}},null),i(3,null,n(o.checkboxSelectItemAssistiveText))])]):null,o.isInlined?null:u("kd-primitive-cell-checkbox",p,{attrs:{"data-label":o.dataLabel},props:{dtContextId:t._datatableId,hasFocus:o.hasFocus,rowKeyValue:e.key,colKeyValue:o.colKeyValue,rowIndex:a,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,o.isDataTypeScope?c("th",{className:r(o.class),style:o.style,attrs:{"data-rangecell":"true",role:"rowheader","aria-selected":o.ariaSelected,"aria-readonly":o.ariaReadOnly,scope:"row",tabindex:A(o.tabIndex),"data-label":o.dataLabel,"data-col-key-value":o.colKeyValue,"data-cell-value":o.value,"aria-describedby":m(o.describedBy)},key:T(25,o.colKeyValue),on:B||(d._m9={mousedown:s(t.handleTableCellMouseDown)})},[o.isInlined&&o.isCustomBareLayout?c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:26},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:27})]):null,o.isInlined?o.isCustomBareLayout?null:c("span",{className:r(o.computedWrapperClass),attrs:{"data-cell-type":o.columnType},key:28},[o.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:Ma,props:{rowKeyValue:e.key,colKeyValue:o.colKeyValue,displayValue:o.displayValue,urlLabel:o.urlLabel,value:o.value,hasChildren:o.typeAttribute21,isExpanded:o.typeAttribute22},key:29}):null,c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:30},[o.hasLeftIcon?u("kd-icon",f,{classMap:Va,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:31}):null,o.hasLeftIcon?z(n(o.iconLabel)):null,o.isBoolean&&o.isChecked?o.isRTL?L(32,[l(Ct,34)],0):L(32,[l(At,36)],0):null,o.isBoolean?l(Tt,38,[i(1,null,n(o.booleanCellAssistiveText))]):null,o.isCurrency?l(Rt,40,[i(1,null,n(o.currencyValue))]):null,o.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:41}):null,o.isDateLocal?l(zt,43,[i(1,null,n(o.dateLocalValue))]):null,o.isDateTime?l(Lt,45,[i(1,null,n(o.dateTimeValue))]):null,o.isEmail&&o.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:I(o.emailLink),tabindex:A(o.internalTabIndex)},key:46},[o.emailIconHidden?null:o.isRTL?L(47,[l(It,49)],0):L(47,[l(St,51)],0),o.emailIconHidden?null:l($t,53,[i(1,null,n(o.emailIconAssistiveText))]),z(n(o.emailLabel))]):null,o.isLocation&&o.hasLeftIcon?l(Et,55,[i(1,null,n(o.locationValue))]):null,o.isLocation?o.hasLeftIcon?null:z(n(o.locationValue)):null,o.isNumber?l(Mt,57,[i(1,null,n(o.numberValue))]):null,o.isPercent?l(Vt,59,[i(1,null,n(o.percentValue))]):null,o.isPhone&&o.showPhoneLink?l(Dt,61,[i(0,{attrs:{href:I(o.phoneLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.phoneLabel))]):null,o.isLookup&&o.lookupIsNavigable?l(Ft,63,[i(0,{on:{click:s(o.handleLookupAnchorClick)},attrs:{href:I(o.lookupLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.lookupValue))]):null,o.isLookup?o.lookupIsNavigable?null:l(Kt,65,[i(1,null,n(o.lookupValue))]):null,o.isRowNumber?l(Wt,67):null,o.isText?o.shouldFormatText?null:o.ignoreRTL?l(Nt,69,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL?null:o.hasLeftIcon?l(Bt,71,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL||o.hasLeftIcon?null:z(n(o.textValue)):null,o.isText&&o.shouldFormatText?c("span",Da,R(o.textParts,function(e){return[e.isLink?l(Ht,T(74,e.key),[i(0,{attrs:{href:I(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?z(n(e.value)):null]})):null,o.isURL&&o.showUrlLink?l(Ot,76,[i(0,{on:{click:s(o.handleUrlAnchorClick)},attrs:{href:I(o.urlLink),tabindex:A(o.internalTabIndex),target:o.urlTarget,title:o.urlTooltip}},null),i(1,null,n(o.urlLabel))]):null,o.hasRightIcon?u("kd-icon",f,{classMap:Fa,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:77}):null,o.hasRightIcon?z(n(o.iconLabel)):null]),o.isEditable?c("button",{classMap:Ka,attrs:{part:"button button-icon","aria-labelledby":m(o.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:A(o.internalTabIndex)},key:78,on:H||(d._m10={click:s(t.handleInlinedEditButtonClick)})},[o.isRTL?L(79,[l(jt,81)],0):L(79,[l(Pt,83)],0),l(qt,85,[i(0,{attrs:{id:m(o.editLabelId)}},null),i(1,null,n(o.editIconAssistiveText))])]):null,o.shouldDisplayReadOnlyIcon?o.isRTL?L(86,[l(Ut,88)],0):L(86,[l(Yt,90)],0):null]):null,o.isInlined?null:u("kd-primitive-cell-factory",y,{styleDecls:Wa,attrs:{"data-label":o.dataLabel},props:{types:t._privateTypes,ariaSelected:o.ariaSelected,alignment:o.alignment,hasError:o.hasError,hasFocus:o.hasFocus,columnLabel:o.dataLabel,columnType:o.columnType,columnSubType:o.columnSubType,wrapText:o.wrapText,wrapTextMaxLines:o.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:o.colKeyValue,value:o.value,displayValue:o.displayValue,iconName:o.iconName,iconLabel:o.iconLabel,iconPosition:o.iconPosition,iconAlternativeText:o.iconAlternativeText,isCustomType:o.isCustom,isCustomBareLayout:o.isCustomBareLayout,editable:o.editable,displayReadOnlyIcon:o.displayReadOnlyIcon,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10,typeAttribute21:o.typeAttribute21,typeAttribute22:o.typeAttribute22},key:91}),o.describedBy?l(Qt,93,[i(0,{attrs:{id:m(o.describedBy)}},null)]):null]):null,o.isDataType?c("td",{className:r(o.class),style:o.style,attrs:{"data-rangecell":"true",role:"gridcell","aria-selected":o.ariaSelected,"aria-readonly":o.ariaReadOnly,tabindex:A(o.tabIndex),"data-label":o.dataLabel,"data-col-key-value":o.colKeyValue,"data-cell-value":o.value,"aria-describedby":m(o.describedBy)},key:T(94,o.colKeyValue),on:O||(d._m11={mousedown:s(t.handleTableCellMouseDown)})},[o.isInlined&&o.isCustomBareLayout?c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:95},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:96})]):null,o.isInlined?o.isCustomBareLayout?null:c("span",{className:r(o.computedWrapperClass),attrs:{"data-cell-type":o.columnType},key:97},[o.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:Ma,props:{rowKeyValue:e.key,colKeyValue:o.colKeyValue,displayValue:o.displayValue,urlLabel:o.urlLabel,value:o.value,hasChildren:o.typeAttribute21,isExpanded:o.typeAttribute22},key:98}):null,c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:99},[o.hasLeftIcon?u("kd-icon",f,{classMap:Va,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:100}):null,o.hasLeftIcon?z(n(o.iconLabel)):null,o.isBoolean&&o.isChecked?o.isRTL?L(101,[l(Gt,103)],0):L(101,[l(Xt,105)],0):null,o.isBoolean?l(Zt,107,[i(1,null,n(o.booleanCellAssistiveText))]):null,o.isCurrency?l(Jt,109,[i(1,null,n(o.currencyValue))]):null,o.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:110}):null,o.isDateLocal?l(ea,112,[i(1,null,n(o.dateLocalValue))]):null,o.isDateTime?l(ta,114,[i(1,null,n(o.dateTimeValue))]):null,o.isEmail&&o.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:I(o.emailLink),tabindex:A(o.internalTabIndex)},key:115},[o.emailIconHidden?null:o.isRTL?L(116,[l(aa,118)],0):L(116,[l(da,120)],0),o.emailIconHidden?null:l(sa,122,[i(1,null,n(o.emailIconAssistiveText))]),z(n(o.emailLabel))]):null,o.isLocation&&o.hasLeftIcon?l(oa,124,[i(1,null,n(o.locationValue))]):null,o.isLocation?o.hasLeftIcon?null:z(n(o.locationValue)):null,o.isNumber?l(ra,126,[i(1,null,n(o.numberValue))]):null,o.isPercent?l(na,128,[i(1,null,n(o.percentValue))]):null,o.isPhone&&o.showPhoneLink?l(ia,130,[i(0,{attrs:{href:I(o.phoneLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.phoneLabel))]):null,o.isLookup&&o.lookupIsNavigable?l(la,132,[i(0,{on:{click:s(o.handleLookupAnchorClick)},attrs:{href:I(o.lookupLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.lookupValue))]):null,o.isLookup?o.lookupIsNavigable?null:l(ca,134,[i(1,null,n(o.lookupValue))]):null,o.isRowNumber&&o.rowHasError?z("</kd-primitive-datatable-tooltip>"):null,o.isRowNumber?l(ua,136):null,o.isText?o.shouldFormatText?null:o.ignoreRTL?l(ba,138,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL?null:o.hasLeftIcon?l(ha,140,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL||o.hasLeftIcon?null:z(n(o.textValue)):null,o.isText&&o.shouldFormatText?c("span",Na,R(o.textParts,function(e){return[e.isLink?l(ka,T(143,e.key),[i(0,{attrs:{href:I(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?z(n(e.value)):null]})):null,o.isURL&&o.showUrlLink?l(pa,145,[i(0,{on:{click:s(o.handleUrlAnchorClick)},attrs:{href:I(o.urlLink),tabindex:A(o.internalTabIndex),target:o.urlTarget,title:o.urlTooltip}},null),i(1,null,n(o.urlLabel))]):null,o.hasRightIcon?u("kd-icon",f,{classMap:Fa,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:146}):null,o.hasRightIcon?z(n(o.iconLabel)):null]),o.isEditable?c("button",{classMap:Ka,attrs:{part:"button button-icon","aria-labelledby":m(o.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:A(o.internalTabIndex)},key:147,on:j||(d._m12={click:s(t.handleInlinedEditButtonClick)})},[o.isRTL?L(148,[l(ma,150)],0):L(148,[l(ga,152)],0),l(va,154,[i(0,{attrs:{id:m(o.editLabelId)}},null),i(1,null,n(o.editIconAssistiveText))])]):null,o.shouldDisplayReadOnlyIcon?o.isRTL?L(155,[l(fa,157)],0):L(155,[l(ya,159)],0):null]):null,o.isInlined?null:u("kd-primitive-cell-factory",y,{attrs:{"data-label":o.dataLabel},props:{types:t._privateTypes,ariaSelected:o.ariaSelected,alignment:o.alignment,hasError:o.hasError,hasFocus:o.hasFocus,columnLabel:o.dataLabel,columnType:o.columnType,columnSubType:o.columnSubType,wrapText:o.wrapText,wrapTextMaxLines:o.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:o.colKeyValue,value:o.value,displayValue:o.displayValue,iconName:o.iconName,iconLabel:o.iconLabel,iconPosition:o.iconPosition,iconAlternativeText:o.iconAlternativeText,isCustomType:o.isCustom,isCustomBareLayout:o.isCustomBareLayout,editable:o.editable,displayReadOnlyIcon:o.displayReadOnlyIcon,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10,typeAttribute21:o.typeAttribute21,typeAttribute22:o.typeAttribute22},key:160}),o.describedBy?l(_a,162,[i(0,{attrs:{id:m(o.describedBy)}},null)]):null]):null]})),e.isRowExpanded?c("tr",{classMap:Ba,attrs:{"data-expand-row-key-value":e.key,"data-row-key-value":"EXPAND"},key:T(163,e.key)},[c("td",{attrs:{colspan:t.state.columns.length},key:164},[u("kd-primitive-custom-row",_,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:e,expandRowExtraParams:t.expandable.expandRowExtraParams},key:165})])]):null]}),t.tableNoData?c("tr",Ha,[c("td",{classMap:Oa,attrs:{colspan:t.state.columns.length},key:167},[u("kd-primitive-datatable-no-data",x,{props:{width:t.state.tableWrapperWidth},key:168})])]):null])):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",w,{props:{error:t.tableError},key:169,on:P||(d._m13={privatesave:s(t.handleInlineEditSave),privatecancel:s(t.handleInlineEditCancel)})}):null])])]}var Pa=e.registerTemplate(ja);ja.slots=["customdatatypes"],ja.hasRefs=!0,ja.stylesheets=[],ja.stylesheetToken="kwc-3n129pmeldi",ja.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\table-undefined_table",_t&&ja.stylesheets.push.apply(ja.stylesheets,_t),e.freezeTemplate(ja);const qa={add(e){return"string"==typeof e?this[e]=!0:Object.assign(this,e),this},invert(){const e=Object.keys(this);for(let t=0,{length:a}=e;t<a;t+=1){const a=e[t];this[a]=!this[a]}return this},toString(){return L.classSetToString(this)}},Ua=/^\d+$/,Ya=/^[0-9]*[1-9][0-9]*$/,Qa=/\binline\b/,Ga=/\brole-based\b/;function Xa(e){return"string"==typeof e?e.replace(/"/g,'\\"'):e}const Za=function(e){return"object"==typeof e&&null!==e};function Ja(e,t,a){return e<=t?t:e>=a?a:e}function ed(e){return`[data-row-key-value="${Xa(e)}"]`}function td(e){if(!e)return null;const{firstElementChild:t}=e;return t}function ad(e,t){return t&&t.scrollerX||e.querySelector(".kdds-scrollable_x")}function dd(e,t){return t&&t.scrollerY||e.querySelector(".kdds-scrollable_y")}function sd(e){return Ua.test(e)}function od(e,t,a,d){let s;if("positive"===a){if(function(e){return Ya.test(e)}(t))return Number.parseInt(t,10);s=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer > 0.`}else if("non-negative"===a){if(sd(t))return Number.parseInt(t,10);s=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer >= 0.`}else s="Invalid number type during normalization of number attribute";return d}function rd(e){return e.scrollHeight-e.parentNode.scrollTop-e.parentNode.clientHeight}function nd(e){return Array.isArray(e)?e:[]}const id={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0};function ld(e,t,a,d){!function(e,t,a,d){const s=e[a],{columnWidths:o}=t,r=o[a],{minWidth:n,maxWidth:i}=s,l=Ja(d,n,i);if(r!==l){const d=l-r;if(o[a]=l,t.tableWidth+=d,s.columnWidth=l,s.style=l?`width: ${l}px;`:"",L.isRTL())for(let t=a+1;t<e.length;t+=1)e[t].offset+=d;s.isResized=!0}}(e,t,a,t.columnWidths[a]+d)}function cd(e,t){const{maxColumnWidth:a,minColumnWidth:d}=t;for(let t=0;t<e.length;t+=1){const s=e[t];s.internal||(s.maxWidth=a,s.minWidth=d);const{initialWidth:o}=s;if(o){const{minWidth:e,maxWidth:t}=s;s.initialWidth=Ja(o,e,t)}}}function ud(e,t){const a=[],{columnWidths:d}=t;for(let t=0;t<e.length;t+=1)!0!==e[t].internal&&a.push(d[t]);return a}function bd(e,t){const a=dd(e,t);return a&&!!(a.offsetParent||a.offsetHeight||a.offsetWidth)}function hd(e){return e.loadMoreOffset}function kd(e){const{state:t}=this;if(t.isLoading)return;const a=e.target.firstChild;if(!a)return;rd(a)<hd(t)&&this.dispatchEvent(new CustomEvent("loadmore"))}function pd(){const{state:e,template:t,validRefs:a}=this;if(e.isLoading||!e.enableInfiniteLoading||e.enableViewportRendering&&this._renderManager&&!this._renderManager.hasWrapperHeight()||!e.rows.length)return;const d=$.isCSR?dd(t,a):null;var s;d&&((s=d).offsetParent&&s.offsetHeight>1&&s.offsetWidth>1)&&!function(e){return e.scrollHeight>e.clientHeight+2}(d)&&this.dispatchEvent(new CustomEvent("loadmore"))}const md="HEADER";function gd(e,t,a){return e.indexes[`${t}-${a}`]}function vd(e,t){const a=e.indexes[t];return a?a.rowIndex:void 0}function fd(e,t){return e.indexes[t]}function yd(e,t){const a=e.indexes[t];return a?e.data[a.rowIndex]:void 0}function _d(e,t,a){return void 0!==e.indexes[`${t}-${a}`]}const xd="rowNumber",wd={rowLevelErrorAssistiveText:A.KingdeeDatatable.rowLevelErrorAssistiveText};const Cd="SELECTABLE_CHECKBOX",Ad="SELECTABLE_BUTTON_MENU",Td="checkbox",Rd="radio";function zd(e,t){if(!e.selectedRowsKeys[t]){const{maxRowSelection:t}=e;return Sd(e)&&Ld(e)===t}return!1}function Ld(e){let t=0;const{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:s}=d;e<s;e+=1)a[d[e]]&&(t+=1);return t}function Id(e){const t=[],{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:s}=d;e<s;e+=1){const s=d[e];a[s]&&t.push(s)}return t}function Sd(e){return 1!==e.maxRowSelection||e.singleRowSelectionMode===Td}const $d={rowActionsDefaultAriaLabel:A.KingdeeDatatable.rowActionsDefaultAriaLabel,rowNumber:A.KingdeeDatatable.rowNumber},Ed={type:xd,ariaLabel:$d.rowNumber,fixedWidth:40,internal:!0,resizable:!1,sortable:!1,tabIndex:-1,label:"#"},Md={type:Cd,fixedWidth:32,internal:!0,tabIndex:-1},Vd={type:m.DATATABLE_INTERNAL_EXPAND_TYPE,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1},Dd={type:Ad,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1};function Fd({state:e,rawColumns:t,types:a,expandable:d}){e.hadTreeDataTypePreviously=void 0!==e.treeColumn,e.treeColumn=void 0;const{columns:s,indexes:o}=e,r=!!d;for(let e=0,{length:t}=s;e<t;e+=1){o[`${md}-${s[e].colKeyValue}`]=void 0}const{length:n}=t;if(0===n)return e.columns=[],void(e.headerIndexes={});let i=-1,l=n,{showRowNumberColumn:c}=e;const{showActionsMenu:u}=e,b=!e.hideCheckboxColumn;if(!c)for(let a=0;a<n;a+=1)if(t[a].editable){c=!0,e.showRowNumberColumn=!0;break}c&&(l+=1),b&&(l+=1),r&&(l+=1),t.forEach((e,t)=>{"action"===e.type&&(i=t)});const h=i===t.length-1;u&&!h&&(l+=1);const k=Array(l),p={};e.columns=k,e.headerIndexes=p;let g=0;r&&(k[g]=Object.assign({},Vd),g+=1),b&&(k[g]=Object.assign({},Md),g+=1),c&&(k[g]=Object.assign({},Ed),g+=1),u&&!h&&(k[l-1]=Object.assign({},Dd));for(let e=0;e<n;e+=1)k[e+g]=t[e];const{defaultSortDirection:v,sortedBy:f,sortedDirection:y}=e,_=Array.isArray(f),x=new Set;for(let t=0;t<l;t+=1){const d=k[t],{columnKey:s}=d;s&&x.has(s),x.add(s);const{type:o}=d,r=s||d.fieldName,n={ariaLabel:"",cellAttributes:{},resizable:!0,type:"text",typeAttributes:{},subType:"",role:"columnheader",scope:"col",hideDefaultActions:!0};n.initialWidth||(["number","percent","currency"].includes(o)?n.initialWidth=160:n.initialWidth=200),"action"===o?(n.ariaLabel=$d.rowActionsDefaultAriaLabel,n.fixedWidth=50,n.resizable=!1):"tree"===o?n.subType="text":o!==Cd&&o!==m.DATATABLE_INTERNAL_EXPAND_TYPE||(n.role="gridcell",n.scope=null),Object.assign(n,d),k[t]=n;let{type:i}=n;if(n.ariaLabel=n.label||n.ariaLabel||null,n.editableCustomType=a.isStandardCellLayoutForCustomType(i),!n.internal){if(a.isValidType(i)||(i="text",n.type=i),a.isEditableType(i)){const{editable:e}=n;e&&e.fieldName||(n.editable=L.normalizeBoolean(e)),n.editTemplate=a.getCustomTypeEditTemplate(i)}else n.editable=!1,n.editTemplate=void 0;const{sortable:e}=n;e&&(_?f.includes(r):f===r)?(n.sorted=!0,n.sortAriaLabel=_?"desc"===y[f.indexOf(r)]?"descending":"ascending":"desc"===y?"descending":"ascending",n.sortedDirection=_?y[f.indexOf(r)]:y):(n.sorted=!1,n.sortAriaLabel=e?"other":null,n.sortedDirection=v)}const c=n.colKeyValue||`${r||t}-${i}-${t}`;if(n.colKeyValue=c,n.isLastCol=t===l-1,n.isScopeCol=t===g,n.name=r,n.tabIndex=-1,p[c]=t,"tree"===n.type){void 0===e.treeColumn&&(e.treeColumn=n);const{typeAttributes:t}=n,d={};a.isValidTypeForTree(t.subType)||(d.subType="text"),t.subTypeAttributes||(d.subTypeAttributes={}),n.typeAttributes=Object.assign({},t,d)}const{actions:u}=n;n.actions={menuAlignment:n.isLastCol||"action"===k[t+1].type||k[t+1].fixedWidth<100?"auto-right":"auto-left",customerActions:Array.isArray(u)?u:[],internalActions:[]}}}function Kd(e){const{typeAttributes:t}=e;return Za(t)?t:{}}function Wd(e){const{subTypeAttributes:t}=e.typeAttributes;return Za(t)?t:{}}function Nd(e){const{cellAttributes:t}=e;return Za(t)?t:{}}function Bd(e,t){const{columns:a}=e,d=gd(e,md,t),s=d&&d.colIndex;if(void 0===s||-1===s||a[s].internal)return-1;let o=0;for(let e=0;e<s;e+=1)a[e].internal&&(o+=1);return s-o}function Hd(e,t){return e.headerIndexes[t]}function Od(){return{columns:[],hadTreeDataTypePreviously:!1,hideCheckboxColumn:!1,showActionsMenu:!1,treeColumn:void 0,data:[],hasCalledUpdateRowsAndCells:!1,keyField:void 0,rows:[],checkboxCells:[],lookupCells:[],shownUrlCells:[],selectedRowsKeys:{},lastSelectedRowKey:void 0,maxRowSelection:void 0,singleRowSelectionMode:void 0,hideTableHeader:!1,wrapTableHeader:"none",headerIndexes:{},indexes:{},keyboardMode:"NAVIGATION",rowMode:!1,activeCell:void 0,tabindex:0,cellToFocusNext:null,cellClicked:!1,normalized:!1,wrapTextMaxLines:void 0,sortedBy:void 0,sortedDirection:void 0,defaultSortDirection:"asc",showRowNumberColumn:!1,rowNumberOffset:0,enableInfiniteLoading:!1,loadMoreOffset:20,isLoading:!1,renderModeInline:!1,renderModeRoleBased:!1,enableViewportRendering:void 0,virtualize:"",bufferSize:5,rowHeight:30.5,renderedRowCount:0,firstVisibleIndex:0,heightCache:{},offsets:[0],offsetRanges:[],firstRowOffset:0,tableHeight:0,shouldResetHeights:!1,tableWrapperWidth:0,inlineEdit:{rowKeyValue:void 0,colKeyValue:void 0,columnDef:{},dirtyValues:{},editedValue:void 0,isPanelVisible:!1,massEditEnabled:!1,massEditSelectedRows:void 0,resolvedAttributeTypes:{},cellRect:{}},errors:{rows:{},table:{}},hasReceivedFocus:!1,hasRenderedFirstTime:!1,expandedRowKeys:new Set,rangeSelection:[]}}const{keyboardMode:jd}=Od(),Pd={edit:A.KingdeeDatatable.edit,editHasError:A.KingdeeDatatable.editHasError,emailLabel:A.KingdeeDatatable.emailLabel,false:A.KingdeeDatatable.false,selectItem:A.KingdeeDatatable.selectItem,true:A.KingdeeDatatable.true},qd=()=>{},Ud={isInlined:!0,actionableElementsCount:0,computedCellDivClass:"",computedCellDivStyle:"",computedWrapperClass:"",currentInputIndex:0,editIconAssistiveText:"",hasFocus:!1,hasLeftIcon:!1,hasRightIcon:!1,internalTabIndex:-1,isRTL:!1,mode:jd,shouldDisplayReadOnlyIcon:!1};function Yd(e,t,a,d){const{columnSubType:s,columnType:o,isCheckbox:r,isCustom:n}=t;if("boolean"===o||"boolean"===s)Object.assign(t,Ud,{isBoolean:!0,isChecked:!1,booleanCellAssistiveText:""});else if(r&&a){const{rowNumber:a}=t;Object.assign(t,Ud,{checkboxId:`${d}-check-id-${a}`,checkboxLabelId:`check-button-label-${a}`,checkboxName:`${d}-options-${a}`,checkboxSelectItemAssistiveText:`${Pd.selectItem} ${a}`}),e.checkboxCells.push(t)}else r?Object.assign(t,{isInlined:!1}):n?Object.assign(t,Ud,{keyboardMode:""}):"currency"===o||"currency"===s?Object.assign(t,Ud,{isCurrency:!0,currencyValue:""}):"date-local"===o||"date-local"===s?Object.assign(t,Ud,{isDateLocal:!0,dateLocalValue:""}):"date"===o||"date"===s?Object.assign(t,Ud,{isDateTime:!0,dateTimeValue:""}):"email"===o||"email"===s?Object.assign(t,Ud,{isEmail:!0,emailIconAssistiveText:"",emailIconHidden:!1,emailLabel:"",showEmailLink:!1}):"location"===o||"location"===s?Object.assign(t,Ud,{isLocation:!0,locationValue:""}):"reference"===o||"reference"===s?(Object.assign(t,Ud,{isLookup:!0,_handleLookupAnchorClick:qd,handleLookupAnchorClick:e=>{t._handleLookupAnchorClick(e)},lookupIsNavigable:!1,lookupLink:"",lookupValue:t.typeAttribute0}),e.lookupCells.push(t)):"number"===o||"number"===s?Object.assign(t,Ud,{isNumber:!0,numberValue:""}):"percent"===o||"percent"===s?Object.assign(t,Ud,{isPercent:!0,percentValue:""}):"phone"===o||"phone"===s?Object.assign(t,Ud,{isPhone:!0,phoneLabel:"",phoneLink:"",showPhoneLink:!1}):"rowNumber"===o||"rowNumber"===s?Object.assign(t,Ud,{isRowNumber:!0,rowHasError:!1}):"text"===o||"text"===s?Object.assign(t,Ud,{isText:!0,ignoreRTL:!1,shouldFormatText:!1,textParts:void 0,textValue:void 0}):"url"!==o&&"url"!==s||Object.assign(t,Ud,{isURL:!0,_handleUrlAnchorClick:void 0,handlUrlAnchorClick:void 0,showUrlLink:!1,urlLabel:"",urlLink:"",urlTarget:"",urlTooltip:""})}const Qd=[["text",["linkify"]],["boolean",[]],["number",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["currency",["currencyCode","currencyDisplayAs","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["percent",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["email",[]],["date",["day","era","hour","hour12","minute","month","second","timeZone","timeZoneName","weekday","year"]],["date-local",["day","month","year"]],["phone",[]],["url",["label","target","tooltip"]],["location",[]],["reference",["displayValue"]],["rowNumber",["error"]],["action",["menuAlignment","rowActions"]],["button",["variant","label","iconName","iconPosition","disabled","name","class","title"]],["button-icon",["variant","alternativeText","iconName","iconClass","disabled","name","class","title"]],["tree",["hasChildren","isExpanded","level","setSize","posInSet","subType"]]],Gd=Array(Qd.length);for(let e=0,{length:t}=Qd;e<t;e+=1){const{0:t,1:a}=Qd[e];Gd[e]=[t,{typeAttributes:a,type:"standard"}]}const Xd=new Map(Qd),Zd=new Map(Gd),Jd=new Set(["text","url","date","number","currency","percent","button","button-icon","reference"]),es=new Set(["text","percent","phone","email","url","currency","number","boolean","date-local","date"]);function ts(e){return L.assert(function(e){return Xd.has(e)}(e)),Xd.get(e)||[]}const as=e.registerComponent(class{constructor(e){if(this.privateCustomTypes=new Map,"object"==typeof e&&null!==e){const{privateCustomTypes:t}=this,a=Object.keys(e);for(let d=0,{length:s}=a;d<s;d+=1){const s=a[d],{template:o,editTemplate:r,typeAttributes:n=[],standardCellLayout:i=!1}=e[s];t.set(s,{template:o,editTemplate:r,typeAttributes:n,standardCellLayout:!0===i,type:"custom"})}}}getAttributesNames(e){if(L.assert(this.isValidType(e)),!this.isCustomType(e))return Xd.get(e)||[];return this.privateCustomTypes.get(e).typeAttributes||[]}getType(e){const{privateCustomTypes:t}=this;return t.get===Map.prototype.get&&t.get(e)||Zd.get(e)}getCustomTypeEditTemplate(e){const t=this.privateCustomTypes.get(e);return t?t.editTemplate:void 0}isValidType(e){return this.privateCustomTypes.has(e)||Xd.has(e)}isEditableType(e){if(es.has(e))return!0;const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isCustomType(e){return this.privateCustomTypes.has(e)}isStandardCellLayoutForCustomType(e){const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isValidTypeForTree(e){return T.features.ENABLE_TREE_GRID_CUSTOM_TYPES?Jd.has(e)||this.isStandardCellLayoutForCustomType(e):Jd.has(e)}},{tmpl:d._tmpl,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63});let ds={},ss=[];const os=e=>{if(1!==e.length)return!1;const{startRow:t,endRow:a,columns:d}=e[0];return t===a&&1===d.length},rs=(e,t)=>{const a=e>t;return{startRowIndex:a?t:e,endRowIndex:a?e:t}},ns=e=>{let t,a;if(e){const d=function(e){let t=e;for(;t&&t!==document.documentElement;){if("true"===t.dataset.rangecell)return t;t=t.parentElement||t.offsetParent}return null}(e),s=d&&d.parentElement;t=s?.dataset?.rowKeyValue,a=d?.dataset?.colKeyValue}return[t,a]},is=({state:e,startDragCell:t,draggingCell:a,isFinished:d,rangeSelectedChange:s,types:o})=>{if(!t||!a)return;const{columns:r}=e,{rowIndex:n,colIndex:i}=t,{rowIndex:l,colIndex:c}=a,u=((e,t,a)=>e<t?a.slice(e,t+1):a.slice(t,e+1))(i,c,r),b={startRow:n,endRow:l,columns:u};b.id=(e=>{const{startRow:t,endRow:a,columns:d}=e,{startRowIndex:s,endRowIndex:o}=rs(t,a);return`${s}_${o}_${d[0].fieldName}_${d[d.length-1].fieldName}`})(b);let h=ss.length?[...ss]:[];if(os([b])){const e=b.id;h=h.filter(t=>t.id!==e)}h.push(b),e.rangeSelection=h,vs(e,o),d&&(ss=h),s?.(h,d)},ls=({event:e,dt:t,rangeSelectedChange:a})=>{const{toElement:d,ctrlKey:s,shiftKey:o}=e,{state:r,_privateTypes:n}=t,[i,l]=ns(d),c=gd(r,i,l);if(!c)return;if(s&&(e.preventDefault(),e.stopPropagation()),((e,t)=>{if(e||t||(ss=[]),t){const e=ss.length?[...ss]:[];e.pop(),ss=e}})(s,o),o)return void is({state:r,startDragCell:ds,draggingCell:c,isFinished:!0,rangeSelectedChange:a,types:n});ds=c;let u=c;const b=D.fromEvent(window,"mousemove"),h=D.fromEvent(window,"mouseup");b.pipe(D.map(e=>{const{toElement:t}=e,[a,d]=ns(t);return u=gd(r,a,d),{startDragCell:c,draggingCell:u}}),D.takeUntil(h)).subscribe({next:e=>{is({state:r,startDragCell:e.startDragCell,draggingCell:e.draggingCell,isFinished:!1,rangeSelectedChange:a,types:n})},complete(){is({state:r,startDragCell:c,draggingCell:u,isFinished:!0,rangeSelectedChange:a,types:n})}})},cs=(e,t,a)=>{const{startRow:d,endRow:s,columns:o}=e;if(!(-1!==o.findIndex(e=>e.fieldName===a.fieldName)))return!1;const{startRowIndex:r,endRowIndex:n}=rs(d,s);return t>=r&&t<=n},us=(e,{rowIndex:t,col:a})=>{const{matchCellRangeTop:d,matchCellRangeLeft:s,matchCellRangeBottom:o,matchCellRangeRight:r}=((e,{rowIndex:t,col:a})=>e.reduce((e,d)=>{if(!cs(d,t,a))return e;const{startRow:s,endRow:o,columns:r}=d,{startRowIndex:n,endRowIndex:i}=rs(s,o),l=r[0],c=r[r.length-1],u=t===n,b=a.fieldName===l.fieldName,h=t===i,k=a.fieldName===c.fieldName;return e.matchCellRangeTop=e.matchCellRangeTop||u,e.matchCellRangeLeft=e.matchCellRangeLeft||b,e.matchCellRangeBottom=e.matchCellRangeBottom||h,e.matchCellRangeRight=e.matchCellRangeRight||k,e},{matchCellRangeTop:!1,matchCellRangeLeft:!1,matchCellRangeBottom:!1,matchCellRangeRight:!1}))(e,{rowIndex:t,col:a}),n=os(e);let i="";const l={[m.DATATABLE_CELL_RANGE_CLASS.selected]:!n,[m.DATATABLE_CELL_RANGE_CLASS.top]:!n&&d,[m.DATATABLE_CELL_RANGE_CLASS.left]:!n&&s,[m.DATATABLE_CELL_RANGE_CLASS.bottom]:!n&&o,[m.DATATABLE_CELL_RANGE_CLASS.right]:!n&&r};for(const e in l)l[e]&&(i+=`${e} `);return i},bs="kdds-cell-edit",hs="kdds-has-error",ks="kdds-is-edited",ps="cell",ms="kdds-tree__item";function gs(e,t){if(Za(e)){const{fieldName:a}=e;if(a)return t[a]}return e}function vs(e,t,a){const{columns:d,data:s,keyField:o,maxRowSelection:r,renderModeInline:n,rowHeight:i,virtualize:l,expandedRowKeys:c}=e,{privateCustomTypes:u}=t,b=L.isRTL(),{length:h}=d,k=Sd(e),p=k?Ld(e):1,g=k?Td:Rd;let v,f;const y={};for(let e=0;e<h;e+=1){const a=d[e],{colKeyValue:s,type:o}=a,r=`${md}-${s}`,n={cellKeyValue:r,colIndex:e,colKeyValue:s,focused:!1,key:s,rowIndex:-1,rowKeyValue:md};y[r]=n,!v&&a.isScopeCol&&t.isValidType(o)&&(v=a),"tree"===o&&void 0===f&&(f=Kd(a))}const _=[],x=[];e.checkboxCells=[],e.indexes=y,e.lookupCells=[],e.shownUrlCells=_,e.rows=x,s.forEach((s,w)=>{const C=s[o],A=L.isUndefinedOrNull(C)?`row-${w}`:C;e.indexes[A]={rowIndex:w};const R=!!e.selectedRowsKeys[A],z=!!R&&"true",I=w+1,S=v?s[v.fieldName]:void 0,$=Array(h),E={ariaRowIndex:w+2,ariaSelected:e.hideCheckboxColumn?null:z,cells:$,classnames:"kdds-hint-parent"+(R?" kdds-is-selected":""),inputType:g,isSelected:R,isDisabled:!R&&k&&p===r,key:A,rowIndex:w,rowNumber:I,style:l?`position:absolute;top:${w*i}px;`:"",tabIndex:-1,level:void 0,posInSet:void 0,setSize:void 0,isExpanded:void 0,hasChildren:void 0,isRowExpanded:c.has(A)};if(f){const e=!!gs(f.hasChildren,s);E.hasChildren=e,E.isExpanded=e?`${!!gs(f.isExpanded,s)}`:void 0,E.level=gs(f.level,s)||1,E.posInSet=gs(f.posInSet,s)||1,E.setSize=gs(f.setSize,s)||1}y[A]=E,x.push(E);for(let o=0;o<h;o+=1){const r=d[o],{colKeyValue:i,isScopeCol:l,label:c,type:h,typeAttributes:p}=r,g=`${A}-${i}`,v=p?p.subType:void 0,f="tree"===h;let x;x=T.features.ENABLE_TREE_GRID_CUSTOM_TYPES?u&&u.get(f?v:h):u&&u.get(h);const C=!!x&&x.standardCellLayout,R=!!r.displayReadOnlyIcon,z=!!gs(r.editable,s),L=z&&t.isEditableType(h),M=t.isValidType(h),V=h===Cd,D=h===Ad,F=void 0!==x,K=F&&!C,W=F&&C,N=M&&!l,B=M&&l,H=h===m.DATATABLE_INTERNAL_EXPAND_TYPE,O={ariaReadOnly:!z,cellKeyValue:g,class:"",colIndex:o,colKeyValue:i,columnSubType:v,columnType:h,dataLabel:c,displayReadOnlyIcon:R,displayValue:s.displayValue||"",describedBy:null,editable:z,hasError:void 0,hasTreeData:f,isCheckbox:V,isCustom:F,isCustomBareLayout:K,isCustomStandardLayout:W,isDataType:N,isDataTypeScope:B,isEditable:L,isRTL:b,isSortingMenu:D,rowIndex:w,rowKeyValue:A,rowNumber:I,scopeColValue:S,style:"",tabIndex:-1,value:void 0,wrapText:void 0,wrapTextMaxLines:0,isRowExpand:H};if(y[g]=O,$[o]=O,!r.internal){let e,a;if(v)e=T.features.ENABLE_TREE_GRID_CUSTOM_TYPES?t.getAttributesNames(v):ts(v),a=Wd(r);else{const d=t.getType(h);e=d&&d.typeAttributes,a=Kd(r)}const d=e?e.length:0;for(let t=0;t<d;t+=1){const d=a[e[t]];O[`typeAttribute${t}`]=gs(d,s)}const o=Nd(r),n=Object.keys(o);for(let e=0;e<n.length;e+=1){const t=n[e],a=o[t];O[t]=gs(a,s)}f&&(O.typeAttribute21=E.hasChildren,O.typeAttribute22="true"===E.isExpanded)}e.indexes[E.key][i]=[w,o],$[o]=O,n&&Yd(e,O,k,a),ys(e,w,o,s),O.showUrlLink&&_.push(O)}}),e.hasCalledUpdateRowsAndCells=!0}function fs(e,t){if(!e.hasCalledUpdateRowsAndCells)return void vs(e,t);const{data:a,rows:d}=e;for(let t=0;t<d.length;t+=1){const s=a[t];for(let a=0;a<d[t].cells.length;a+=1)ys(e,t,a,s)}}function ys(e,t,a,d){const{renderModeRoleBased:s,rangeSelection:o}=e,{rows:r}=e.errors,n=e.rows[t],{key:i}=n,l=e.inlineEdit.dirtyValues[i],c=r&&r[i],u=c&&c.cells,b=e.columns[a],h=n.cells[a],{colKeyValue:k,columnKey:p,fieldName:m,wrapText:g}=b;let v=c&&c.fieldNames||[],f=null;Array.isArray(v)||(v=Object.keys(v),f=c.fieldNames[m]);const y=l&&l[k],_=p?!(!u||!u[p]):!(!v||!v.includes(m)),x=void 0===y?d[m]:y,w=g?e.wrapTextMaxLines:void 0;h.hasError=_,h.wrapText=g,h.wrapTextMaxLines=w,h.value=x,h.customErrorValidationMessage=f,b.internal&&"rowNumber"===b.type&&(h.typeAttribute0=function(e,t){const{cells:a,fieldNames:d,messages:s,title:o}=e||{};let r=0;return a?r=Object.keys(a).length:Array.isArray(d)?r=d.length:"object"==typeof d&&(r=Object.keys(d).length),{title:o,messages:s,alternativeText:E.formatLabel(wd.rowLevelErrorAssistiveText,t||"",r)}}(c,h.scopeColValue));let C=gs(Nd(b).class,d)||"";h.hasTreeData&&!C&&(C+=(C.length?" ":"")+ms),(h.displayReadOnlyIcon||h.editable)&&(C+=(C.length?" ":"")+bs),_&&(C+=(C.length?" ":"")+hs),void 0!==y&&(C+=(C.length?" ":"")+ks,h.describedBy="unsaved-cell-notification"),s&&(C+=(C.length?" ":"")+ps),o.length>0&&o.some(e=>cs(e,t,b))&&(C+=us(o,{col:b,rowIndex:t})),h.class=C,h.style=_s(h,b,s,h.style),h.isInlined&&(function(e){if(e.isEditable?(e.editIconAssistiveText=`${Pd.edit} ${e.dataLabel}${e.hasError?` ${Pd.editHasError}`:""}`,e.editLabelId=`edit-${e.cellKeyValue}`):e.shouldDisplayReadOnlyIcon=e.displayReadOnlyIcon,e.iconName){const{iconPosition:t}=e;"right"===t?e.hasRightIcon=!0:t&&"left"!==t||(e.hasLeftIcon=!0)}if(e.isRowNumber){const{typeAttribute0:t}=e,a=!!(t&&t.title&&t.messages);e.rowHasError=a}}(h),function(e,t){let a="",d="";const{alignment:s,columnType:o,hasTreeData:r,wrapText:n}=e;if(n){t+=(t.length?" ":"")+"kdds-cell-wrap",a+="kdds-hyphenate";const{wrapTextMaxLines:s}=e;s?(a+=" kdds-line-clamp",d=`--kwc-lineClamp: ${s}`):d="overflow-wrap: anywhere;"}else a+="kdds-truncate";!e.isRTL||"url"!==o&&"email"!==o&&"phone"!==o||(a+=" ltr-content-in-rtl");let i="kdds-grid";"right"===s||"currency"===o||"number"===o||"percent"===o?i+=" kdds-grid_align-end":r||s&&"left"!==s&&("center"===s||"right"===s)||(i+=" kdds-grid_align-spread"),r&&(i+=" kdds-no-space"),e.class=t,e.computedCellDivClass=a,e.computedCellDivStyle=d,e.computedWrapperClass=i}(h,C),function(e,t){if(e.isBoolean)e.isChecked=!!t,e.booleanCellAssistiveText=t?Pd.true:Pd.false;else if(e.isCurrency)e.currencyValue=L.toFormattedNumber({value:t,formatStyle:"currency",currencyCode:e.typeAttribute0,currencyDisplayAs:e.typeAttribute1,minimumIntegerDigits:e.typeAttribute2,minimumFractionDigits:e.typeAttribute3,maximumFractionDigits:e.typeAttribute4,minimumSignificantDigits:e.typeAttribute5,maximumSignificantDigits:e.typeAttribute6},V.numberFormat);else if(e.isDateLocal)e.dateLocalValue=L.toFormattedDate({value:t,day:e.typeAttribute0||"numeric",month:e.typeAttribute1||"short",year:e.typeAttribute2||"numeric",timeZone:"UTC"},M.dateTimeFormat);else if(e.isDateTime)e.dateTimeValue=L.toFormattedDate({value:M.toDate(t),dateStyle:"medium",day:e.typeAttribute0,era:e.typeAttribute1,hour:e.typeAttribute2,hour12:e.typeAttribute3,minute:e.typeAttribute4,month:e.typeAttribute5,second:e.typeAttribute6,timeZone:e.typeAttribute7,timeZoneName:e.typeAttribute8,weekday:e.typeAttribute9,year:e.typeAttribute10},M.dateTimeFormat);else if(e.isEmail){let a="";const d=t?t.trim():"",s=!!d;s&&(a=Pd.emailLabel),e.emailIconAssistiveText=a,e.emailLabel=d,e.showEmailLink=s}else if(e.isLocation)e.locationValue=L.toFormattedLocation(t);else if(e.isNumber)e.numberValue=L.toFormattedNumber({value:t,minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},V.numberFormat);else if(e.isPercent)e.percentValue=L.toFormattedNumber({value:t,formatStyle:"percent",minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},V.numberFormat);else if(e.isPhone){let a="",d="";const s=L.isValidPhone(t);s&&(a=L.toNorthAmericanPhoneNumber(t),d=`tel:${t}`),e.phoneLabel=a,e.phoneLink=d,e.showPhoneLink=s}else if(e.isText){const{typeAttribute0:a}=e,d=!!a&&"string"==typeof t&&""!==t;e.ignoreRTL=e.isRTL&&L.isTextIgnoreRTL(t),e.shouldFormatText=d,e.textParts=d?L.parseToFormattedLinkifiedParts(t,!0):[],e.textValue="object"==typeof t?"":t}else if(e.isURL){let a,d,s="",o="",r="",n="";const i=null!=t&&""!==t;if(i){const{typeAttribute0:i,typeAttribute2:l}=e;a=qd,d=t=>{e._handleUrlAnchorClick(t)},o=L.formatUrl(t),s=null!=i&&""!==i?i:o,r=e.typeAttribute1||"_self",n=""===l?"":l||t}e._handleUrlAnchorClick=a,e.handleUrlAnchorClick=d,e.showUrlLink=i,e.urlLabel=s,e.urlLink=o,e.urlTarget=r,e.urlTooltip=n}}(h,x))}function _s(e,t,a,d=""){let s=d;if(s&&!s.endsWith(";")&&(s+=";"),!s&&e.isCustomBareLayout&&(s="padding: 0;"),a){const{columnWidth:e}=t;e>0&&(s+=`width:${e}px;`)}return s}function xs(e){const{columns:t}=e;e.rows.forEach(e=>{e.cells.forEach((a,d)=>{const s=t[d],o=gs(Nd(s).style,e)||"";a.style=_s(a,s,!0,o)})})}function ws(e){e.renderModeRoleBased&&e.rows&&e.rows.forEach(e=>{e.cells.forEach(e=>{const t="string"==typeof(a=e.class)?{__proto__:qa,[a]:!0}:Object.assign({__proto__:qa},a);var a;t.add("cell"),e.class=t.toString()})})}const Cs={tableHeight:{observerProp:"_heightObserver",callback:pd,targetRefs:["scrollerY","tableElement"]},width:{observerProp:"_widthObserver",callback:function(){const{_columnWidthManager:e,state:t,widthsData:a,template:d,validRefs:s}=this;e.adjustColumnsSizeAfterResize(this,t.columns,a),this._recalculateHeaderHeight=!0,t.renderModeRoleBased&&xs(t);const o=ad(d,s);t.tableWrapperWidth=o?.offsetWidth,t.shouldResetHeights=!0},targetRefs:["widthObserver","scrollerX"]}};class As{constructor(e,t){this._connected=!1;const{callback:a,targetRefs:d}=Cs[t],s=a.bind(e);if(this._resizeObserver=new S.KingdeeResizeObserver(()=>{const{refs:t,template:a}=e;this._connected&&bd(a,t)&&s()}),e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];this._resizeObserver.observe(a)}this._connected=!0}observe(e){this._resizeObserver?this._resizeObserver.observe(e):this._resizeSensor&&this._resizeSensor.reattach(e),this._connected=!0}disconnect(){this._resizeObserver?this._resizeObserver.disconnect():this._resizeSensor&&(this._resizeSensor.detach(),this._resizeSensor=void 0),this._connected=!1}isConnected(){return this._connected}}function Ts(e,t){const{observerProp:a,targetRefs:d}=Cs[t],s=e[a];if(s){if(!s.isConnected()&&e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];s.observe(a)}}else e[a]=new As(e,t)}function Rs(e){const t=Object.keys(Cs),{length:a}=t;for(let d=0;d<a;d+=1){const{observerProp:a}=Cs[t[d]];e[a]&&e[a].disconnect()}}function zs(e,t){const a={totalFixedWidth:0,totalFixedColumns:0,totalResizedWidth:0,totalResizedColumns:0,totalFlexibleColumns:0,minColumnWidth:e.minColumnWidth,maxColumnWidth:e.maxColumnWidth,wrapTextMaxLines:e.wrapTextMaxLines};for(let e=0;e<t.length;e+=1){const d=t[e],{fixedWidth:s,initialWidth:o}=d;s&&isFinite(s)?(a.totalFixedWidth+=s,a.totalFixedColumns+=1):d.isResized?(a.totalResizedWidth+=d.columnWidth,a.totalResizedColumns+=1):o&&isFinite(o)?(a.totalResizedWidth+=o,a.totalResizedColumns+=1):a.totalFlexibleColumns+=1}return a}function Ls(e){const{fixedWidth:t,initialWidth:a}=e;if(t&&isFinite(t))return t;const d=isFinite(a)?a:null;return e.isResized&&e.columnWidth||d}function Is(e){let t=0;for(let a=0,{length:d}=e;a<d;a+=1)t+=e[a];return t}function Ss(e,t,a){return Math.max(e-t,a)}function $s(e,t,a){return Math.min(e+t,a)}class Es{constructor(e,t,a=3){this.columnWidthRatios=[],this.columnWidthData={},this.columnWidthsDistribution={},this.columnWidthData={minColumnWidth:e,maxColumnWidth:t,wrapTextMaxLines:a},this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}set minColumnWidth(e){this.columnWidthData.minColumnWidth=e}set maxColumnWidth(e){this.columnWidthData.maxColumnWidth=e}set wrapTextMaxLines(e){this.columnWidthData.wrapTextMaxLines=e||3}getAdjustedColumnWidths(e,t,a){const d=zs(this.columnWidthData,t),s=function(e,t){const a=t.totalFlexibleColumns*t.minColumnWidth+t.totalFixedWidth+t.totalResizedWidth;return 0===t.totalFlexibleColumns?a:Math.max(a,e)}(e.getAvailableWidthFromDom(),d);if(this.resetColumnWidthsDistribution(),(a||0===this.columnWidthRatios.length)&&this.calculateColumnWidthRatios(e,t,d),a&&this.columnWidthRatios.length!==t.length)return{columnWidths:[]};const o=this.distributeWidthFromRatios(s,t,d),r=Is(o);return s>r?this.redistributeExtraWidth(s,o,t):s<r&&this.redistributeDeficitWidth(s,o,t),{columnWidths:o}}getRatios(e,t){const{length:a}=e,d=Array(a);for(let s=0;s<a;s+=1)d[s]=100*e[s]/t;return d}calculateColumnWidthRatios(e,t,a){const{wrapTextMaxLines:d}=a,s=e.getDataCellWidths();for(let e=0,{length:a}=s;e<a;e+=1){const a=t[e];if(a)if(a.wrapText){const t=s[e];s[e]=t/d}else{const{fixedWidth:t}=a;t&&isFinite(t)&&(s[e]=t)}}this.setColumnWidthRatios(e,s,a)}setColumnWidthRatios(e,t,a){this.columnWidthRatios=[];const d=e.getTableElementWidth();if(d>0){const{totalFixedWidth:s,totalResizedWidth:o}=a;if(0===t.length){const t=e.getHeaderCellWidths();if(t.length>0){const e=t.reduce((e,t)=>e+=t,0)-s-o;this.columnWidthRatios=this.getRatios(t,e)}}else{const e=t.reduce((e,t)=>e+=t,0),a=Math.min(d,e)-s-o;this.columnWidthRatios=this.getRatios(t,a)}}}resetColumnWidthsDistribution(){this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}distributeWidthFromRatios(e,t,a){const d=[];for(let s=0;s<t.length;s+=1){const o=Ls(t[s])||this.getColumnWidthFromRatio(e,a,s);d[s]=o}return d}getColumnWidthFromRatio(e,t,a){const{totalFixedWidth:d,totalResizedWidth:s,minColumnWidth:o,maxColumnWidth:r}=t,n=this.columnWidthRatios[a],i=e-d-s,l=Math.floor(i*n/100)+20,{colsWithMinWidth:c,colsWithMaxWidth:u}=this.columnWidthsDistribution;l<o+Math.ceil(.5*o)&&c.push(a);return l>r-Math.ceil(.5*r)&&u.push(a),Ja(l,o,r)}redistributeExtraWidth(e,t,a){const{colsWithMinWidth:d}=this.columnWidthsDistribution,{length:s}=d,o=zs(this.columnWidthData,a),{maxColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=o;let l=Is(t),c=0,u=0,b=0;if(s>0){c=e-l,b=s,u=Math.floor(c/b);for(let e=0;e<s;e+=1){const a=d[e],s=t[a],o=$s(s,u,r);l+=o-s,t[a]=o}}if(c=e-l,c>0){const e=n+i,{length:d}=a;b=d-e,u=Math.floor(c/b);for(let e=0;e<d;e+=1){const d=a[e],s=t[e];if(!Ls(d)){const a=$s(s,u,r);l+=a-s,t[e]=a}}}}redistributeDeficitWidth(e,t,a){const{colsWithMaxWidth:d}=this.columnWidthsDistribution,{length:s}=d,o=zs(this.columnWidthData,a),{minColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=o;let l=Is(t),c=e-l,u=0,b=0;if(s>0){u=s,b=Math.floor(Math.abs(c)/u);for(let e=0,{length:a}=d;e<a;e+=1){const a=d[e],s=t[a],o=Ss(s,b,r);l-=s-o,t[a]=o}}c=e-l;const h=n+i;if(c<0){const{colsWithMinWidth:e}=this.columnWidthsDistribution;u=a.length-(h+e.length),b=Math.floor(Math.abs(c)/u);for(let d=0;d<a.length;d+=1){const s=a[d],o=t[d];if(!e.includes(d)&&!Ls(s)){const e=Ss(o,b,r);l-=o-e,t[d]=e}}}}}class Ms{constructor(e,t){this.widthsData={},this.widthsData={minColumnWidth:e,maxColumnWidth:t}}set minColumnWidth(e){this.widthsData.minColumnWidth=e}set maxColumnWidth(e){this.widthsData.maxColumnWidth=e}getAdjustedColumnWidths(e,t){const a=zs(this.widthsData,t),d=function(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:s,minColumnWidth:o}=t,r=s*o+a+d;return 0===t.totalFlexibleColumns?r:Math.max(r,e)}(e.getAvailableWidthFromDom(),a),s=this.getFlexibleColumnWidth(a,d),o=[];for(let e=0;e<t.length;e+=1){const a=Ls(t[e])||s;o[e]=a}return{columnWidths:o}}getFlexibleColumnWidth(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:s,minColumnWidth:o,maxColumnWidth:r}=e,n=t-a-d,i=Math.floor(n/s),l=Math.max(i,o);return Math.min(r,l)}}const Vs="auto",Ds="fixed";function Fs(e,t,a){const{columnWidths:d}=a,{length:s}=e;if(d.length!==s)return;let o=0;const r=L.isRTL();for(let a=0;a<s;a+=1){const s=e[a],n=d[a];t.columnWidths[a]=n,s.columnWidth=n,s.style=n?`width: ${n}px;`:"",r&&(s.offset=o),o+=n}t.tableWidth=o}class Ks{constructor(e){this.columnWidthMode=Ds,this.isResizingUpdateQueued=!1,this.isAutoResizingUpdateQueued=!1;const t=e.minColumnWidth||id.minColumnWidth,a=e.maxColumnWidth||id.maxColumnWidth,d=new Ms(t,a),s=new Es(t,a);this.widthStrategies={[Ds]:d,[Vs]:s}}get columnWidthStrategy(){return this.widthStrategies[this.columnWidthMode]}set minColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:s}=a;d<s;d+=1){t[a[d]].minColumnWidth=e}}set maxColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:s}=a;d<s;d+=1){t[a[d]].maxColumnWidth=e}}set wrapTextMaxLines(e){this.widthStrategies[Vs].wrapTextMaxLines=e}shouldFireResizeEvent(e,t){return this.columnWidthMode===Ds&&e.columnWidths.length!==t.length}adjustColumnsSize(e,t,a,d){const{columnWidthStrategy:s,isAutoResizingUpdateQueued:o,isResizingUpdateQueued:r}=this;if(r){let r;r=this.shouldResizeWithUpdate(e,t,d)?s.getAdjustedColumnWidths(this.getDatatableInterface(e,t),a,o):{columnWidths:d.columnWidths},Fs(a,d,r)}this.isAutoResizingUpdateQueued=!1,this.isResizingUpdateQueued=!1}adjustColumnsSizeAfterResize(e,t,a){Fs(t,a,this.columnWidthStrategy.getAdjustedColumnWidths(this.getDatatableInterface(e.template,e.refs),t))}handleDataChange(e){this.columnWidthMode===Vs&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleColumnsChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleWidthModeChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleRowNumberOffsetChange(e,t){const a=function(e){if(e.showRowNumberColumn){const{columns:t}=e;for(let e=0,{length:a}=t;e<a;e+=1)if(t[e].type===xd)return e}return-1}(e);if(-1!==a){const{columns:d}=e,s=d[a],o=function(e){const t=String(e.rows.length+e.rowNumberOffset).length;return Math.max(10*t+12,40)}(e);s.initialWidth!==o&&(s.initialWidth=Math.max(o,s.minWidth),t.columnWidths.length>0&&(this.isResizingUpdateQueued=!0))}}handleCheckboxColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleActionsColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleRowNumberColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(a))}setAutoResizingUpdate(e){this.columnWidthMode===Vs&&(this.isAutoResizingUpdateQueued=!0);for(let t=0;t<e.length;t+=1){const a=e[t];Ls(a)||(a.columnWidth=null,a.style="")}}hasDataChanged(e,t){const{length:a}=e,{length:d}=t;return d>0&&(0===a||a!==d)}shouldResizeWithUpdate(e,t,a){return!(a.columnWidths.length>0)||bd(e,t)}getDatatableInterface(e,t){return{getAvailableWidthFromDom:()=>ad(e,t).offsetWidth,getDataCellWidths(){const e=t.tableBody.firstChild;if(e){const t=e.children,{length:a}=t,d=Array(a);for(let e=0;e<a;e+=1)d[e]=t[e].offsetWidth;return d}return[]},getHeaderCellWidths(){const e=t.headerRow.children,a=[];for(let t=0;t<e.length;t+=1){const d=e[t].firstChild.getDomWidth();d&&a.push(d)}return a},getTableElementWidth:()=>(t?.tableElement||e.querySelector(".kdds-table")).offsetWidth}}}function Ws(t){t.stopPropagation();const{action:a,rowKeyValue:d}=t.detail,s=yd(this.state,d);this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:e.unwrap(a),row:e.unwrap(s)}}))}function Ns(t){t.stopPropagation();const{actionsProviderFunction:a,doneCallback:d,rowKeyValue:s,saveContainerPosition:o}=t.detail,r=yd(this.state,s);o(this.getViewableRect()),a(e.unwrap(r),d)}function Bs(t){t.stopPropagation();const{state:a}=this,{colKeyValue:d,rowKeyValue:s}=t.detail,o=yd(a,s),r=Bd(a,d),n=this._rawColumns[r];this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:e.unwrap(n.typeAttributes),row:e.unwrap(o)}}))}const Hs="selectAllRows",Os="deselectAllRows",js="rowSelect",Ps="rowDeselect";function qs(e){e.stopPropagation(),function(e){const{maxRowSelection:t,rows:a}=e,d={};for(let e=0,{length:s}=a;e<s;e+=1){const s=a[e];void 0===t||e<t?(d[s.key]=!0,co(s,!0)):(s.isDisabled=!0,co(s,!1))}e.selectedRowsKeys=d}(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:Hs})}function Us(e){e.stopPropagation(),Xs(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:Os})}function Ys(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d}=e,{start:s,end:o}=no(e,t,a),r=e.maxRowSelection||d.length;let n,i=s;for(;i<=o&&!n;)Zs(e,d[i].key),n=Ld(e)>=r,i+=1}(t,d&&so(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:js,value:a})}function Qs(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d,selectedRowsKeys:s}=e,{start:o,end:r}=no(e,t,a);for(let t=o;t<=r;t+=1){const a=d[t];co(a,!1),s[a.key]=!1,Ld(e)===e.maxRowSelection-1&&eo(e)}}(t,d&&so(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:Ps,value:a})}function Gs(){ro(this.state)}function Xs(e){const{rows:t}=e;for(let e=0,{length:a}=t;e<a;e+=1){const a=t[e];a.isDisabled=!1,co(a,!1)}e.selectedRowsKeys={}}function Zs(e,t){const a=fd(e,t),d=Ld(e),s=e.maxRowSelection||e.rows.length;co(a,!0);let{selectedRowsKeys:o}=e;const{singleRowSelectionMode:r}=e;if(s>1||1===s&&r===Td)o[a.key]||(o[a.key]=!0,d+1===s&&Js(e));else{if(1===d){co(fd(e,Object.keys(o)[0]),!1),o={},e.selectedRowsKeys=o}o[a.key]=!0}}function Js(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!0)}}function eo(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!1)}}function to(e,t){if(Array.isArray(t)){const{maxRowSelection:a}=e,d=Ld(e);let s=function(e,t){const a=[],{rows:d}=e;if(d.length){const{indexes:d}=e;for(let e=0,{length:s}=t;e<s;e+=1){const s=t[e];d[s]&&a.push(s)}}return a}(e,t);s.length>a&&(s=s.slice(0,a));const o=function(e){const t={};for(let a=0,{length:d}=e;a<d;a+=1)t[e[a]]=!0;return t}(s),r=function(e,t){const a=[],{selectedRowsKeys:d}=e;for(let e=0,{length:s}=t;e<s;e+=1){const s=t[e];d[s]||a.push(s)}return a}(e,s),n=function(e,t){const a=[],{selectedRowsKeys:d}=e,s=Object.keys(d);for(let e=0,{length:o}=s;e<o;e+=1){const o=s[e];d[o]&&!t[o]&&a.push(o)}return a}(e,o);!function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)co(fd(e,t[a]),!0)}(e,r),function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)co(fd(e,t[a]),!1)}(e,n),e.selectedRowsKeys=o;const{length:i}=s;i===a&&Sd(e)?Js(e):i<a&&d===a&&eo(e)}else Xs(e)}function ao(e,t){const a={};for(let d=0,{length:s}=e;d<s;d+=1){a[e[d][t]]=!0}return a}function so(e){const{lastSelectedRowKey:t}=e;return void 0!==t&&void 0!==fd(e,t)?t:void 0}function oo(e,t){const a=Sd(e),d=a?Td:Rd,{rows:s}=e;let o,r=!1;e.renderModeInline&&!e.hideCheckboxColumn&&(r=!0,o=e.showRowNumberColumn?1:0);for(let n=0,{length:i}=s;n<i;n+=1){const i=s[n];i.inputType=d,i.isDisabled=zd(e,i.key),r&&Yd(e,i.cells[o],a,t)}}function ro(e){const t=e.columns||{};for(let a=0;a<t.length;a+=1){const d=t[a];if(d.type===Cd){const{maxRowSelection:s,rows:{length:o}}=e,r=s&&s<o?s:o,n=Ld(e),i=Object.assign({},d);return i.bulkSelection=n?n===r?"all":"some":"none",i.isBulkSelectionDisabled=0===s||0===o,void(t[a]=i)}}}function no(e,t,a){const d=t===md?0:vd(e,t),s=vd(e,a);return{start:Math.min(d,s),end:Math.max(d,s)}}function io(e,t,a){const d=gd(e,t,a);d&&(d.ariaSelected="true")}function lo(e,t,a){const d=gd(e,t,a);d&&(d.ariaSelected=!1)}function co(e,t){e.ariaSelected=t,e.classnames="kdds-hint-parent"+(t?" kdds-is-selected":""),e.isSelected=t}const uo=new Set(["action","boolean","button","button-icon","date-local","rowNumber"]),bo={clipText:A.KingdeeDatatable.clipText,wrapText:A.KingdeeDatatable.wrapText};function ho(e){if(function(e){uo.has(e.type)?e.wrapText=!1:e.wrapText=L.normalizeBoolean(e.wrapText)}(e),e.hideDefaultActions||uo.has(e.type))return[];const t=e.wrapText||!1,{clipText:a,wrapText:d}=bo;return[{label:d,title:d,checked:t,name:"wrapText"},{label:a,title:a,checked:!t,name:"clipText"}]}function ko(e,t,a){const{name:d}=t,s="wrapText"===d;if(s||"clipText"===d){const{state:t}=e,d=Hd(t,a),o=t.columns[d];o.wrapText!==s&&(t.shouldResetHeights=!0,o.wrapText=s,function(e,t){const a=Hd(e,t);if(-1===a)return;const{columns:d}=e,s=d[a],{internalActions:o}=s.actions;for(let e=0;e<o.length;e+=1){const t=o[e],{name:a}=t;"wrapText"===a?t.checked=s.wrapText:"clipText"===a&&(t.checked=!s.wrapText)}(function(e,t){const{data:a,rows:d}=e;for(let s=0;s<d.length;s+=1)ys(e,s,t,a[s])})(e,a),s.actions=Object.assign({},s.actions)}(t,a))}e._recalculateHeaderHeight=!0}function po(t){t.stopPropagation();const{action:a,actionType:d,colKeyValue:s}=t.detail;"customer"!==d&&ko(this,a,s),function(t,a,d){const s=Bd(t.state,d),o=t.columns[s];t.dispatchEvent(new CustomEvent("headeraction",{detail:{action:e.unwrap(a),columnDefinition:e.unwrap(o)}}))}(this,a,s)}function mo(e){e.stopPropagation(),e.preventDefault();const t=2.125*e.detail.actionsCount+1.0625*e.detail.dividersCount+1;this._actionsMinHeightStyle=`min-height: ${t}rem`,e.detail.saveContainerPosition(this.getViewableRect())}function go(){this._actionsMinHeightStyle=""}function vo(e,t,a){e.dispatchEvent(new CustomEvent("privatetogglecell",{bubbles:!0,composed:!0,cancelable:!0,detail:{name:t,nextState:!a}}))}function fo(e){const{firstVisibleIndex:t}=e,a=Math.max(t-e.bufferSize,0),d=[0],s=e.offsets[a];if(d[a]=s,e.heightCache={},e.offsets=d,e.offsetRanges=[{start:0,end:0}],a>0&&e.offsetRanges.push({start:a,end:a}),e.virtualize&&e.rows.length){const t=e.rows.length-a,d=e.rowHeight*t;e.tableHeight=s+d}}function yo(e,t,a,d){const s={start:a[0].rowIndex,end:a[a.length-1].rowIndex+1};let o,r=0;const n=function(e,t){let a=0,d=e.length-1;for(;a<=d;){const s=Math.floor((a+d)/2),o=e[s].start<=t,r=e[s+1]&&e[s+1].start<=t;if(o&&!r)return s;o?a=s+1:d=s-1}return-1}(t.offsetRanges,s.start),i=e.querySelectorAll('[data-rowgroup-body] [role="row"]');for(let e=0;e<a.length;e++){const d=a[e];if(!t.heightCache[d.key]&&0!==t.heightCache[d.key]){const a=i[e];if(a){let{height:e}=a.getBoundingClientRect();d.rowIndex&&d.rowIndex===s.start&&e++,t.heightCache[d.key]=e,wo(t,d,n,e),r+=e-t.rowHeight,o=d.rowIndex+2}}}t.tableHeight+=r,function(e,t,a,d,s){const{offsets:o,offsetRanges:r}=e,n=r[t],i=r[t+1],l=n&&Co(n,a),c=i&&Co(a,i);if(c&&s)for(let e=d;e<=i.end;e++)o[e]=o[e]+s;l&&c?(i.start=n.start,i.end=Math.max(a.end,i.end),e.offsetRanges.splice(t,1)):l?n.end=Math.max(n.end,a.end):c?(i.start=a.start,i.end=Math.max(a.end,i.end),t+=1):(e.offsetRanges.splice(t+1,0,a),t+=1);if(t>=0)for(let e=t+1;e<r.length;e++){const{start:t,end:a}=r[e];for(let e=t;e<=a;e++)o[e]=o[e]+s}}(t,n,s,o,r),function(e,t,a,d){const s=d?.scrollerY||e.querySelector(".kdds-scrollable_y");s.scrollTop=t.offsets[t.firstVisibleIndex]+t.firstRowOffset;const o=!!a[0].rowIndex;a.forEach((e,a)=>{let d=t.offsets[e.rowIndex];o&&!a&&(d+=1),e.style=`position:absolute;top:${d}px;`})}(e,t,a,d)}function _o(e,t){const{offsetRanges:a,offsets:d,rowHeight:s}=e;let o=0,r=a.length-1;for(;o<=r;){const n=Math.floor((o+r)/2),i=a[n],l=a[n+1],c=d[i.start],u=d[i.end],b=c<=t,h=b&&t<=u,k=!l||t<d[l.start],p=b&&k;if(h)return xo(e,i,t);if(p){const a=t-u,d=Math.floor(a/s);return e.firstRowOffset=a%s,i.end+d}t<c?r=n-1:o=n+1}return-1}function xo(e,t,a){let{start:d,end:s}=t;const{offsets:o}=e;for(;d<=s;){const t=Math.floor((d+s)/2),r=o[t]<=a,n=o[t+1]&&o[t+1]<=a;if(r&&!n)return e.firstRowOffset=a-o[t],t;r?d=t+1:s=t-1}return-1}function wo(e,t,a,d){const s=e.offsetRanges[a];let o=e.offsets[t.rowIndex];if(!o&&(o=0,s)){o=e.offsets[s.end]+(t.rowIndex-s.end)*e.rowHeight,e.offsets[t.rowIndex]=o}e.offsets[t.rowIndex+1]=o+d}function Co(e,t){return e.start<=t.start&&t.start<=e.end||e.start<=t.end&&t.end<=e.end}const Ao="NAVIGATION",To="ACTION",Ro=L.isRTL()?{RIGHT:-1,LEFT:1,USE_CURRENT:0,RESET:2,TAB_FORWARD:-1,TAB_BACKWARD:1}:{RIGHT:1,LEFT:-1,USE_CURRENT:0,RESET:2,TAB_FORWARD:1,TAB_BACKWARD:-1};function zo(e){e.stopPropagation(),function(e,t){const{refs:a,state:d,template:s}=e;switch(t.detail.keyCode){case 37:Io(d,s,a,t);break;case 39:So(d,s,a,t);break;case 38:$o(d,s,a,t);break;case 40:Eo(d,s,a,t);break;case 13:case 32:Mo(d,s,a,t);break;case 27:Vo(d,s,a,t);break;case 9:Do(d,s,a,t)}}(this,e)}function Lo(e){L.isCellElement(e.target)&&function(e,t){const{refs:a,state:d,template:s}=e,{activeCell:{colKeyValue:o,rowKeyValue:r}}=d,{keyCode:n,shiftKey:i}=t,l={detail:{colKeyValue:o,rowKeyValue:r,keyCode:n,shiftKey:i},preventDefault:()=>{},stopPropagation:()=>{}};switch(t.keyCode){case 37:t.preventDefault(),Io(d,s,a,l);break;case 39:t.preventDefault(),So(d,s,a,l);break;case 38:t.preventDefault(),$o(d,s,a,l);break;case 40:t.preventDefault(),Eo(d,s,a,l);break;case 13:case 32:t.preventDefault(),Mo(d,s,a,l);break;case 27:l.detail.keyEvent=t,Vo(d,s,a,l);break;case 9:Do(d,s,a,l)}}(this,e)}function Io(e,t,a,d){const{rowKeyValue:s,colKeyValue:o}=d.detail,{colIndex:r}=gd(e,s,o);if(0===r&&function(e){return e.keyboardMode===Ao&&e.treeColumn}(e))nr(e,t),function(e){e.treeColumn&&e.keyboardMode===Ao&&(e.rowMode=!0)}(e),cr(e,t,a);else{const d=function(e,t){return L.isRTL()?xr(e.columns.length,t):wr(t)}(e,r);if(void 0===d)return;nr(e,t),e.activeCell=gd(e,s,e.columns[d].colKeyValue),rr(e,t,a,Ro.LEFT)}}function So(e,t,a,d){const{rowKeyValue:s,colKeyValue:o}=d.detail,{colIndex:r}=gd(e,s,o),n=function(e,t){return L.isRTL()?wr(t):xr(e.columns.length,t)}(e,r);void 0!==n&&(nr(e,t),e.activeCell=gd(e,s,e.columns[n].colKeyValue),rr(e,t,a,Ro.RIGHT))}function $o(e,t,a,d){const{rowKeyValue:s,colKeyValue:o,keyEvent:r}=d.detail,{rowIndex:n}=gd(e,s,o),i=function(e,t){return-1===t?void 0:t-1}(0,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),nr(e,t),e.activeCell=gd(e,-1===i?md:e.rows[i].key,o),rr(e,t,a,Ro.USE_CURRENT))}function Eo(e,t,a,d){const{rowKeyValue:s,colKeyValue:o,keyEvent:r}=d.detail,{rowIndex:n}=gd(e,s,o),i=function(e,t){const a=e.rows.length;return t+1<a?t+1:void 0}(e,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),nr(e,t),e.activeCell=gd(e,-1===i?md:e.rows[i].key,o),rr(e,t,a,Ro.USE_CURRENT))}function Mo(e,t,a,d){if(e.keyboardMode===Ao){e.keyboardMode=To;const{keyCode:a,keyEvent:s}=d.detail,{rowIndex:o,colIndex:r}=e.activeCell;s&&s.preventDefault();const n={action:void 0};32===a?n.action="space":13===a&&(n.action="enter"),Po(e,t,n),vr(e,o,r,-1)}}function Vo(e,t,a,d){e.keyboardMode===To&&(d.detail.keyEvent.stopPropagation(),e.keyboardMode=Ao,Po(e,t),rr(e,t,a,Ro.RESET))}function Do(e,t,a,d){d.preventDefault(),d.stopPropagation();const{detail:s}=d,o=s.shiftKey?"BACKWARD":"FORWARD";const r=function(e,t){const{rowIndex:a,colIndex:d}=e.activeCell,{nextRowIndex:s,nextColIndex:o}=Wo(e,t);if(-1===a&&0===d&&-1!==s&&0!==o||-1!==a&&-1===s&&0===o)return!0;return!1}(e,o);if(e.keyboardMode===To)if(!1===r){const{keyEvent:d}=s;d&&d.preventDefault(),"BACKWARD"===o?Ko(e,t,a):Fo(e,t,a)}else e.keyboardMode=Ao,Po(e,t),e.isExitingActionMode=!0;else e.isExitingActionMode=!0}function Fo(e,t,a){const{nextColIndex:d,nextRowIndex:s}=Wo(e,"FORWARD");nr(e,t),e.activeCell=gd(e,-1===s?md:e.rows[s].key,e.columns[d].colKeyValue),rr(e,t,a,Ro.TAB_FORWARD,{action:"tab"})}function Ko(e,t,a){const{nextColIndex:d,nextRowIndex:s}=Wo(e,"BACKWARD");nr(e,t),e.activeCell=gd(e,-1===s?md:e.rows[s].key,e.columns[d].colKeyValue),rr(e,t,a,Ro.TAB_BACKWARD,{action:"tab"})}function Wo(e,t="FORWARD"){const{rowIndex:a,colIndex:d}=e.activeCell;return"BACKWARD"===t?function(e,t,a){const d=e.columns.length;if(a>0)return{nextRowIndex:t,nextColIndex:a-1};return{nextRowIndex:Cr(e,t),nextColIndex:d-1}}(e,a,d):function(e,t,a){const d=e.columns.length;if(d>a+1)return{nextRowIndex:t,nextColIndex:a+1};return{nextRowIndex:Ar(e,t),nextColIndex:0}}(e,a,d)}function No(e,t){const{refs:a,state:d,template:s}=e,{localName:o}=t.target;if(o&&-1!==o.indexOf("tr")&&Tr(d))switch(t.detail.keyCode){case 37:!function(e,t,a,d,s){const{rowKeyValue:o,rowHasChildren:r,rowExpanded:n,rowLevel:i}=s.detail;if(r&&n)vo(e,o,n);else if(i>1){const{treeColumn:e}=t;if(e){const{colKeyValue:s}=e,{rowIndex:r}=gd(t,o,s),n=function(e,t,a){const d=a-1,{rows:s}=e;for(let e=d;e>=0;e--)if(s[e].level===t-1)return e;return-1}(t,i,r);-1!==n&&(ur(t,a),t.activeCell=gd(t,t.rows[n].key,s),cr(t,a,d))}}}(e,d,s,a,t);break;case 39:!function(e,t,a,d,s){const{rowKeyValue:o,rowHasChildren:r,rowExpanded:n}=s.detail;r&&!n?vo(e,o,n):(ur(t,a),Rr(t),rr(t,a,d,Ro.USE_CURRENT))}(e,d,s,a,t);break;case 38:!function(e,t,a,d){const{rowKeyValue:s,keyEvent:o}=d.detail,{treeColumn:r}=e;if(o.stopPropagation(),o.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:o}=gd(e,s,d),n=Cr(e,o);-1!==n&&(ur(e,t),e.activeCell=gd(e,e.rows[n].key,d),cr(e,t,a))}}(d,s,a,t);break;case 40:!function(e,t,a,d){const{rowKeyValue:s,keyEvent:o}=d.detail,{treeColumn:r}=e;if(o.stopPropagation(),o.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:o}=gd(e,s,d),n=Ar(e,o);-1!==n&&(ur(e,t),e.activeCell=gd(e,e.rows[n].key,d),cr(e,t,a))}}(d,s,a,t)}}function Bo(e){e.activeCell=function(e){const{columns:t}=e,{length:a}=t;if(a){let d=0,s=!1;for(let e=0;e<a;e+=1)if(d=e,!0!==t[e].internal){s=!0;break}s||(d=0);const{rows:o}=e;return gd(e,o.length>0?o[0].key:md,t[d].colKeyValue)}}(e)}function Ho(e,t){const{activeCell:a}=t;return a?function(e,t,a){const d=e.querySelector(`${ed(t)} ${function(e){return`[data-col-key-value="${Xa(e)}"]`}(a)}`);return d||void 0}(e,a.rowKeyValue,a.colKeyValue):void 0}function Oo(e,t,a){const{activeCell:d}=e;if(d){const{rowKeyValue:e,colKeyValue:s}=d;return e.toString()===t.toString()&&s===a}return!1}function jo(e){const{activeCell:t}=e;if(e.hasReceivedFocus)t&&qo(e)||(t&&e.cellToFocusNext?function(e){const{rowIndex:t,colIndex:a}=e.cellToFocusNext,{columns:d,rows:s}=e,{length:o}=s;let r=t;r>o-1&&(r=o-1);const{length:n}=d;let i=a;i>n-1&&(i=n-1);const l=function(e,t,a){const{columns:d,rows:s}=e;if(s.length>t&&d.length&&d.length>a){const o=-1===t?md:s[t].key,{colKeyValue:r}=d[a];return e.indexes[`${o}-${r}`]}}(e,r,i);l?e.activeCell=l:Bo(e);e.keyboardMode=Ao}(e):Bo(e));else{if(t&&qo(e)){const{rowIndex:a,colIndex:d}=t;vr(e,a,d,-1)}Bo(e)}}function Po(e,t,a){const d=Uo(Ho(t,e));if(d){const{keyboardMode:t}=e;"function"==typeof d.setMode?d.setMode(t,a):or(e.activeCell,d,t,a)}}function qo(e){const{activeCell:t,indexes:a}=e;if(t){const d=a[t.cellKeyValue];return d&&(e.activeCell=d),void 0!==d}return!1}function Uo(e){return e?e.firstElementChild:void 0}function Yo(e){return e.closest('[role="gridcell"],[role="columnheader"],[role="rowheader"]')||void 0}function Qo(e){return e.currentInputIndex>0}function Go(e){const{actionableElementsCount:t}=e;return t>1&&e.currentInputIndex<t-1}function Xo(e,t,a){const{rowKeyValue:d,colKeyValue:s}=e,{keyCode:o,shiftKey:r}=a;t.dispatchEvent(new CustomEvent("privatecellkeydown",{bubbles:!0,composed:!0,cancelable:!0,detail:{rowKeyValue:d,colKeyValue:s,keyCode:o,shiftKey:r,keyEvent:a}}))}function Zo(e){const{state:t}=this,a=t.renderModeInline?Yo(e.target):void 0;if(a){const e=Uo(a);!function(e,t){const{rowKeyValue:a,colKeyValue:d}=e;t.dispatchEvent(new CustomEvent("privatecellfocusedbyclick",{bubbles:!0,composed:!0,detail:{rowKeyValue:a,colKeyValue:d}}))}(gd(t,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue),e)}}function Jo(e){const{state:t}=this,a=t.renderModeInline?Yo(e.target):void 0;if(a){const e=Uo(a),t=gd(this.state,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue);t.keyboardMode===To&&sr(t,e,t.currentInputIndex)}}function er(e){const{state:t}=this,{target:a}=e,d=t.renderModeInline&&"KD-PRIMITIVE-CELL-FACTORY"!==a.tagName&&!a.getAttribute("role")?Yo(e.target):void 0;if(void 0===d)return;const s=Uo(d),o=gd(t,d.parentElement.dataset.rowKeyValue,d.dataset.colKeyValue),{keyboardMode:r}=o,{keyCode:n,shiftKey:i}=e;if(r===To){let t=n!==L.keyCodes.shift;n===L.keyCodes.left?function(e){return L.isRTL()?Go(e):Qo(e)}(o)&&(e.preventDefault(),L.isRTL()?ar(o,s):dr(o,s),t=!1):n===L.keyCodes.right?function(e){return L.isRTL()?Qo(e):Go(e)}(o)&&(e.preventDefault(),L.isRTL()?dr(o,s):ar(o,s),t=!1):n===L.keyCodes.tab&&(i?Qo(o)&&(e.preventDefault(),dr(o,s),t=!1):Go(o)&&(e.preventDefault(),ar(o,s),t=!1)),t&&Xo(o,s,e)}else r===Ao&&(n!==L.keyCodes.left&&n!==L.keyCodes.right&&n!==L.keyCodes.up&&n!==L.keyCodes.down&&n!==L.keyCodes.enter||Xo(o,s,e))}function tr(e){const t=Array.from(e.querySelectorAll('[data-navigation="enable"]')),a=e.querySelector("kd-primitive-custom-cell");if(a){a.getActionableElements().forEach(e=>t.push(e))}return t}function ar(e,t){sr(e,t,e.currentInputIndex+1)}function dr(e,t){sr(e,t,e.currentInputIndex-1)}function sr(e,t,a){const d=tr(t),{length:s}=d;e.actionableElementsCount=s,s&&(a>0&&a<s?(d[a].focus(),e.currentInputIndex=a):(d[0].focus(),e.currentInputIndex=0))}function or(e,t,a,d){const s=d||{action:"none"};if(e.keyboardMode=a,a===To){e.internalTabIndex=0,setTimeout(()=>{sr(e,t,e.currentInputIndex)},0);const a=tr(t),{length:d}=a;if("tab"===s.action)for(let e=0;e<d;e+=1){const t=a[e];if(t.getAttribute("data-action-edit")){t.click();break}}else if(1===d){const e=a[0];-1!==(e.getAttribute("data-action-triggers")||"").indexOf(s.action)&&e.click()}}else e.internalTabIndex=-1}function rr(e,t,a,d,s,o=!0){const{keyboardMode:r}=e,{rowIndex:n,colIndex:i}=e.activeCell;let l,c=Ho(t,e);e.activeCell.hasFocus=!(s&&Ir(e)),vr(e,n,i),o&&!c&&Ir(e)?(!function(e,t,a,d){const{firstVisibleIndex:s,bufferSize:o,renderedRowCount:r,rowHeight:n}=e;let i=d*n;if(s>d){const e=r-2*o;i=Math.max(i-e*n,0)}const l=dd(t,a);l.scrollTop=i,_o(e,i)}(e,t,a,n),l=function(e,t){return new Promise(a=>{const d=Date.now(),s=setInterval(()=>{(Ho(e,t)||d-Date.now()>1e3)&&(clearInterval(s),a())},0)})}(t,e)):l=Promise.resolve();const u=c&&c.parentElement.dataset.rowKeyValue;return l.then(()=>new Promise(a=>{setTimeout(()=>{if(c&&_d(e,u,c.dataset.colKeyValue)||(c=Ho(t,e)),c){const t=Uo(c),{activeCell:a}=e;t&&(d&&("function"==typeof t.resetCurrentInputIndex?t.resetCurrentInputIndex(d,r):function(e,t,a,d){if(-1===a){const{length:a}=tr(t);e.currentInputIndex=a?a-1:0}else 1!==a&&2!==a||(e.currentInputIndex=0);d===To&&e.keyboardMode===To&&sr(e,t,e.currentInputIndex)}(a,c,d,r)),"function"==typeof t.addFocusStyles&&t.addFocusStyles()),c.classList.add(m.FOCUS_CLASS),c.focus({preventScroll:!o}),t&&("function"==typeof t.setMode?t.setMode(r,s):or(a,t,r,s))}a()},0)}))}function nr(e,t){const{activeCell:a}=e;if(a){const{rowIndex:d,colIndex:s}=a;e.activeCell.hasFocus=!1;let o=Ho(t,e);const r=o&&o.parentElement.dataset.rowKeyValue;setTimeout(()=>{if(o&&_d(e,r,o.dataset.colKeyValue)||(o=Ho(t,e)),o){const{activeElement:t}=document,a=Uo(o);a&&("function"==typeof a.removeFocusStyles?(t===a&&a.blur(),a.removeFocusStyles(!0)):(e.activeCell.internalTabIndex=-1,o.contains(t)&&o.blur())),o.classList.remove(m.FOCUS_CLASS)}},0),vr(e,d,s,-1)}}function ir(e,t){const{activeCell:a}=e;if(a&&!e.cellToFocusNext&&br(e,t)){const{length:t}=e.rows,d=t-1,{length:s}=e.columns;let{rowIndex:o,colIndex:r}=a;r=0,o===d&&(o=d,r=s?s-1:0),e.cellToFocusNext={rowIndex:o,colIndex:r}}}function lr(e){e.activeCell&&e.cellToFocusNext&&qo(e)&&(e.cellToFocusNext=null)}function cr(e,t,a){const{rowIndex:d}=e.activeCell,s=Lr(t,e);fr(e,d),setTimeout(()=>{s.focus({preventScroll:!0}),function(e,t,a,d){const s=dd(t,a),o=s.parentElement.getBoundingClientRect(),r=d.getBoundingClientRect();r.top<o.top+80?s.scrollTop-=20:r.bottom>o.bottom-80&&(s.scrollTop+=20);_o(e,s.scrollTop)}(e,t,a,s)},0)}function ur(e,t){const{activeCell:a}=e;a&&(setTimeout(()=>{const a=Lr(t,e);document.activeElement===a&&a.blur()},0),fr(e,a.rowIndex,-1))}function br(e,t){return e.cellClicked||hr(t)}function hr(e){const t=L.getShadowActiveElements();for(let a=0,{length:d}=t;a<d;a+=1)if(e.contains(t[a]))return!0;return!1}function kr(e){const{state:t}=this;if(t.hasReceivedFocus=!0,t.isExitingActionMode=!1,hr(e.currentTarget)&&L.isCellElement(e.target)){if(t.activeCell&&!t.rowMode){t.activeCell.hasFocus=!0;const e=Ho(this.template,t);if(e){const a=Uo(e);a&&("function"==typeof a.addFocusStyles&&a.addFocusStyles(),e.tabIndex=0),e.classList.add(m.FOCUS_CLASS),this._suppressScroll?this._suppressScroll=!1:pr(t,this.template,this.refs,e)}}!function(e){e.cellClicked=!1}(t)}}function pr(e,t,a,d){if(e.activeCell?.colIndex===e.columns?.length-1){const e=ad(t,a);e.scrollLeft=e.scrollWidth}else{const e=a?.outerContainer||t.querySelector("div.dt-outer-container"),s=d.getBoundingClientRect(),o=e.getBoundingClientRect();(s.left<o.left||s.right>o.right)&&d.scrollIntoView({block:"nearest",inline:"nearest"})}}function mr(e){const{state:t}=this,{currentTarget:a,relatedTarget:d}=e,s=d&&a.contains(d);if((!d||d&&!s||d&&s&&t.isExitingActionMode)&&t.activeCell&&!t.rowMode){const e=Ho(this.template,t);if(e){const t=Uo(e);t&&"function"==typeof t.removeFocusStyles&&t.removeFocusStyles(),e.classList.remove(m.FOCUS_CLASS)}}}function gr(e){e.cellClicked=!0}function vr(e,t,a,d=0){zr(t)?e.columns[a].tabIndex=d:e.rows[t].cells[a].tabIndex=d}function fr(e,t,a=0){zr(t)||(e.rows[t].tabIndex=a)}function yr(e,t=0){e.activeCell&&!qo(e)&&jo(e),Sr(e,t)}function _r(e,t=0){e.activeCell&&!qo(e)&&jo(e),function(e,t=0){const{activeCell:a}=e;a&&Tr(e)&&fr(e,a.rowIndex,t)}(e,t)}function xr(e,t){return e>t+1?t+1:void 0}function wr(e){return e>0?e-1:void 0}function Cr(e,t){const{length:a}=e.rows;return-1===t?a-1:t-1}function Ar(e,t){const{length:a}=e.rows;return t+1<a?t+1:-1}function Tr(e){return e.keyboardMode===Ao&&!0===e.rowMode}function Rr(e){e.rowMode=!1}function zr(e){return-1===e}function Lr(e,t){let a;const{activeCell:d}=t;return d&&(a=e.querySelector(ed(d.rowKeyValue))),a||void 0}function Ir(e){const{activeCell:t}=e;return!!t&&_d(e,t.rowKeyValue,t.colKeyValue)}function Sr(e,t=0){const{activeCell:a}=e;a&&!Tr(e)&&vr(e,a.rowIndex,a.colIndex,t)}const $r='[data-iedit-panel="true"]';function Er(e){Wr(this,Yo(e.target))}function Mr(e){Hr(this);const{reason:t,rowKeyValue:a,colKeyValue:d}=e.detail;Kr(this,t,a,d),this._draftValues=this.draftValues}function Vr(e){const{state:t}=this;if(e.detail.checked)!function(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let s=0,{length:o}=d;s<o;s+=1){const o=d[s];a[o]&&io(e,o,t)}}(t);else{const{inlineEdit:e}=t;qr(this.state),io(t,e.rowKeyValue,e.colKeyValue)}}function Dr(e){const{state:t}=this,{inlineEdit:a}=t,{isPanelVisible:d}=a;if(!d)return;let s=0;const{target:o}=e;if(o.classList.contains("kdds-scrollable_y")){const e=o.scrollTop;null==this._lastScrollY?this._lastScrollY=e:o.scrollHeight>o.offsetHeight&&(s=Math.abs(this._lastScrollY-e))}else{const e=o.scrollLeft;null==this._lastScrollX?this._lastScrollX=e:o.scrollWidth>o.offsetWidth&&(s=Math.abs(this._lastScrollX-e))}if(s>5){const{rowKeyValue:e,colKeyValue:t}=a;this._lastScrollX=null,this._lastScrollY=null,Hr(this),Kr(this,"lost-focus",e,t)}else r=this,requestAnimationFrame(()=>{const{_positionRelationship:e}=r;e&&e.reposition()});var r}function Fr(e){const{inlineEdit:t}=e.state;t.isPanelVisible&&Kr(e,"lost-focus",t.rowKeyValue,t.colKeyValue)}function Kr(e,t,a,d){const{state:s,template:o,refs:r}=e,{inlineEdit:n}=s;if(_d(s,a,d)&&"edit-canceled"!==t&&!("lost-focus"===t&&n.massEditEnabled)){const t=o.querySelector($r),r=t.validity.valid,n=gd(s,a,d).value,{isMassEditChecked:i,value:l}=t;if(r&&(l!==n||i)){const t={[a]:{[d]:l}};if(i){const e=Id(s);for(let a=0;a<e.length;a+=1){t[e[a]]={[d]:l}}}!function(e,t){const{dirtyValues:a}=e.inlineEdit,d=Object.keys(t);for(let e=0;e<d.length;e+=1){const s=d[e];Object.prototype.hasOwnProperty.call(a,s)||(a[s]={}),Object.assign(a[s],t[s])}}(s,t),function(e,t){e.dispatchEvent(new CustomEvent("cellchange",{detail:{draftValues:jr(e.state,t)}}))}(e,t),vs(s,e._privateTypes)}}"lost-focus"!==t&&("tab-pressed-next"===t?Fo(s,o,r):"tab-pressed-prev"===t?Ko(s,o,r):rr(s,o,r,Ro.USE_CURRENT)),qr(s),lo(s,a,d),n.isPanelVisible=!1}function Wr(e,t){!function(e,t){requestAnimationFrame(()=>{Hr(e),e._positionRelationship=F.startPositioning(e,{target:t,element:()=>e.template.querySelector($r).getPositionedElement(),autoFlip:!0,align:{horizontal:F.Direction.Left,vertical:F.Direction.Top},targetAlign:{horizontal:F.Direction.Left,vertical:F.Direction.Top}})})}(e,t);const{state:a,template:d,_privateTypes:s}=e,{inlineEdit:o}=a;o.isPanelVisible&&Kr(e,"lost-focus",o.rowKeyValue,o.colKeyValue);const{rowKeyValue:r}=t.parentElement.dataset,{colKeyValue:n}=t.dataset,i=gd(a,r,n),{colIndex:l}=i,c=a.columns[l];o.isPanelVisible=!0,o.rowKeyValue=r,o.colKeyValue=n,o.columnDef=c,o.editedValue=i.value,o.customErrorValidationMessage=i.customErrorValidationMessage,o.massEditSelectedRows=Ld(a),o.massEditEnabled=o.massEditSelectedRows>1&&function(e,t){return!!e.selectedRowsKeys[t]}(a,r),o.cellRect=t.getBoundingClientRect();const{typeAttributes:u}=c||{};u&&(o.resolvedTypeAttributes=function(e,t,a,d,s){const o=e.columns[a],r=s&&d.getType(o.type),n=r&&r.typeAttributes;if(n){const a={},{length:d}=n,o=d?yd(e,t):void 0;if(o)for(let e=0;e<d;e+=1){const t=n[e],d=s[t];d&&(a[t]=Pr(o,d))}return a}return s}(a,r,l,s,u)),io(a,r,n),setTimeout(()=>{const t=d.querySelector("kd-primitive-datatable-iedit-panel");t.isEditableValid?t.focus():Kr(e,"edit-canceled",o.rowKeyValue,o.colKeyValue)},0)}function Nr(e){const{state:t}=e;if(t.data&&t.data.length>0)if(function(e){const{activeCell:t}=e;return!!t&&t.editable}(t))Br(e);else{const a=function(e){const{state:t}=e,{columns:a}=t,d=[];for(let e=0,{length:t}=a;e<t;e+=1){const t=a[e];t.editable&&d.push(t)}const{length:s}=d;if(s>0){const{rows:e}=t;for(let a=0;a<e.length;a+=1){const o=e[a],{key:r}=o;for(let e=0;e<s;e+=1){const{colKeyValue:a}=d[e],s=gd(t,r,a);if(s&&s.editable)return s}}}return}(e);a&&(t.activeCell=a,Br(e))}}async function Br(e){const{state:t,template:a,refs:d}=e;await rr(t,a,d,Ro.USE_CURRENT);Wr(e,Ho(a,t))}function Hr(e){const{_positionRelationship:t}=e;t&&(F.stopPositioning(t),e._positionRelationship=void 0)}function Or(e,t){const{columns:a,keyField:d}=e,s=Array.isArray(t)?t:[],o={};for(let e=0;e<s.length;e+=1){const t=s[e],r=Object.keys(t),n={};for(let e=0,{length:d}=r;e<d;e+=1){const d=r[e];for(let e=0;e<a.length;e+=1){const s=a[e];if(s.columnKey===d||!s.columnKey&&s.fieldName===d){n[s.colKeyValue]=t[d];break}}}delete n[d],o[t[d]]=n}e.inlineEdit.dirtyValues=o}function jr(e,t){const{columns:a,keyField:d}=e,s=[],o=Object.keys(t);for(let r=0,{length:n}=o;r<n;r+=1){const n=o[r],i=t[n],l=Object.keys(i),{length:c}=l;if(c){const t={};for(let d=0;d<c;d+=1){const s=l[d],o=Hd(e,s);if(-1!==o){const{name:e}=a[o];t[e]=i[s]}}t[d]=n,s.push(t)}}return s}function Pr(e,t){let a={};if(!Za(t))return void 0===t?a:t;if(Array.isArray(t))return t.map(t=>Pr(e,t));const d=Object.keys(t);for(let s=0,{length:o}=d;s<o;s+=1){const o=d[s],r=t[o];if(void 0!==r)if("fieldName"===o)a=e[r];else if(Za(r)){const{fieldName:t}=r;a[o]=t?e[t]:Pr(e,r)}else a[o]=r}return a}function qr(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let s=0,{length:o}=d;s<o;s+=1){const o=d[s];a[o]&&lo(e,o,t)}}function Ur(e,t){e.renderModeRoleBased?e.virtualize=L.normalizeString(t,{fallbackValue:"",validValues:["vertical"]}):e.virtualize=""}class Yr{constructor(){this.threshold=305,this.wrapperHeight=0,this.previousCache={renderedRowCount:0,totalRowCount:0,firstRowKey:""}}configure(e,t,a){const{rowHeight:d,bufferSize:s}=a;Ur(e,a.virtualize),function(e,t){e.enableViewportRendering=L.normalizeBoolean(t)}(e,a.viewportRendering),(e.virtualize||e.enableViewportRendering)&&this.initializeResizeObserver(e,t);const o=void 0!==s?s:5;e.bufferSize=od("bufferSize",o,"non-negative",5),"number"==typeof d&&(e.rowHeight=d,this.threshold=10*d)}updateViewportRendering(e,t,a){this.hasDataChanged(e.rows)||a?this.updateRenderedRows(e,this.getRowCountWithBuffer(e)):this.previousCache.totalRowCount<e.rows.length&&this.isWithinThreshold(t)?this.updateRenderedRows(e,this.previousCache.renderedRowCount+this.getRowCountWithBuffer(e)):this.updateRenderedRows(e,this.previousCache.renderedRowCount)}handleScroll(e,t){const{rows:a,renderedRowCount:d}=e;this.isWithinThreshold(t.target.firstChild)&&d<a.length&&this.updateRenderedRows(e,d+this.getRowCountWithBuffer(e))}getRenderedRange(e){const{firstVisibleIndex:t,bufferSize:a,renderedRowCount:d,rows:s,rowHeight:o,heightCache:r}=e,n=Math.max(t-a,0);let i=t-a+d;if(r[s[t]&&s[t].key]){let e=t,d=0,n=s[e]&&r[s[e].key];for(;n&&d<this.wrapperHeight;)d+=n,e+=1,n=s[e]&&r[s[e].key];if(d>=this.wrapperHeight)i=e+a;else{i=e+Math.ceil((this.wrapperHeight-d)/o)+a}}return d===s.length&&i<=s.length-a&&(i=d),{firstIndex:n,lastIndex:i}}updateRenderedRows(e,t){const{rows:a}=e,d=a.length,s=t?Math.min(t,d):d;e.enableViewportRendering?e.renderedRowCount<s&&(e.renderedRowCount=s,this.previousCache.renderedRowCount=s):(e.renderedRowCount=s,this.previousCache.renderedRowCount=s),this.previousCache.totalRowCount=d,a.length>0&&(this.previousCache.firstRowKey=a[0].key)}updateWrapperHeight(e){this.wrapperHeight=e()}initializeResizeObserver(e,t){this._heightResizeObserver||(this._heightResizeObserver=new S.KingdeeResizeObserver(()=>{if(this._resizeObserverConnected){this.updateWrapperHeight(t);const a=this.getRowCountWithBuffer(e);fo(e),(a>e.renderedRowCount||e.virtualize)&&this.updateRenderedRows(e,a)}}))}connectResizeObserver(e){const{_heightResizeObserver:t}=this;t&&(t.observe(e),this._resizeObserverConnected=!0)}disconnectResizeObserver(){const{_heightResizeObserver:e}=this;e&&(this._resizeObserverConnected=!1,e.disconnect())}getRowCountInViewport(e){return Math.ceil(this.wrapperHeight/e.rowHeight)}getRowCountWithBuffer(e){const t=e.virtualize?2:1;return this.getRowCountInViewport(e)+e.bufferSize*t}isWithinThreshold(e){return rd(e)<=this.threshold}hasDataChanged(e){return e.length>0&&this.previousCache.firstRowKey!==e[0].key}hasWrapperHeight(){return!!this.wrapperHeight}}function Qr(e){const{columns:t,defaultSortDirection:a,sortedBy:d,sortedDirection:s}=e,o=Array.isArray(d);for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];if(r.sortable&&o&&d.includes(r.name)&&s){const e=d.indexOf(r.name),t=s[e];r.sorted=e+1,r.sortAriaLabel="desc"===t?"descending":"ascending",r.sortedDirection=t}else r.sortable&&!o&&d===r.name?(r.sorted=!0,r.sortAriaLabel="desc"===s?"descending":"ascending",r.sortedDirection=s):(r.sorted=!1,r.sortAriaLabel=r.sortable?"other":null,r.sortedDirection=a)}}const{PrivateLookupItemPickedEvent:Gr}=R.EVENTS,Xr={ariaLiveNavigationMode:A.KingdeeDatatable.ariaLiveNavigationMode,ariaLiveActionMode:A.KingdeeDatatable.ariaLiveActionMode},{setContext:Zr,assertContext:Jr}=L.privateContext;class en extends K{get columnWidthsMode(){return this.widthsData.columnWidthsMode}set columnWidthsMode(e){const{widthsData:t}=this,a=L.normalizeString(e,{fallbackValue:"fixed",validValues:["fixed","auto"]});this._columnWidthManager.columnWidthMode=a,t.columnWidthsMode!==a&&this._columnWidthManager.handleWidthModeChange(this.state.columns),t.columnWidthsMode=a}get expandable(){return this._expandable}set expandable(e){this._expandable=e,((e,t)=>{const{defaultExpandedRowKeys:a=[],defaultExpandAllRows:d}=t,{data:s,keyField:o}=e,r=new Set(a);d&&r.size!==s.length&&s.forEach(e=>{r.add(e[o])}),e.expandedRowKeys=r})(this.state,e),this.updateColumns(this._rawColumns)}get rangeSelection(){return this._rangeSelection}set rangeSelection(e){this._rangeSelection=e}get columns(){return this._rawColumns}set columns(e){const t=Array.isArray(e)?e:[];this._rawColumns=t,this.updateColumns(t),this._columnWidthManager.handleColumnsChange(this.state.columns)}get data(){return this.state.data}set data(e){const{_customerSelectedRows:t,state:a}=this,{data:d,columns:s}=a,o=nd(e),r=function(e,t){const a=nd(e),d=nd(t);try{return!(!a.length||!d.length)&&JSON.stringify(a[0])===JSON.stringify(d[0])}catch(e){return!1}}(d,o);a.data=o,!r&&o.length&&s?.length&&this._columnWidthManager.handleDataChange(s),"string"==typeof a.keyField&&this.isConnected&&this.updateRows(),r?function(e,t,a){const d=a.length-t.length;e.tableHeight+=d*e.rowHeight}(a,d,o):(a.heightCache={},a.offsets=[0],a.offsetRanges=[{start:0,end:0}],a.firstVisibleIndex=0,a.tableHeight=a.rowHeight*o.length),t&&this.setSelectedRows(t)}get defaultSortDirection(){return this.state.defaultSortDirection}set defaultSortDirection(e){const{state:t}=this;!function(e,t){"asc"!==t&&"desc"!==t||(e.defaultSortDirection=t)}(t,e),Qr(t)}get draftValues(){return jr(e=this.state,e.inlineEdit.dirtyValues);var e}set draftValues(e){const{state:t}=this;this._draftValues=e,Or(t,e),this.isConnected&&"string"==typeof t.keyField&&this.updateRowsAndCells(),Sr(t)}get enableInfiniteLoading(){return this.state.enableInfiniteLoading}set enableInfiniteLoading(e){const{state:t}=this;!function(e,t){e.enableInfiniteLoading=L.normalizeBoolean(t)}(t,e),this.isConnected&&pd.call(this)}get errors(){return this.state.errors}set errors(e){const{state:t}=this;!function(e,t){e.errors=Object.assign({rows:{},table:{}},t)}(t,e),this.isConnected&&fs(t)}get hideCheckboxColumn(){return this.state.hideCheckboxColumn}set hideCheckboxColumn(e){const{_rawColumns:t,state:a}=this,d=L.normalizeBoolean(e);this._columnWidthManager.handleCheckboxColumnChange(a.hideCheckboxColumn,d,a.columns),a.hideCheckboxColumn=d,this.isConnected?this.updateColumns(t):t&&(a.hadTreeDataTypePreviously=!1,a.treeColumn=void 0,Fd({state:a,rawColumns:t,types:this._privateTypes,expandable:this._expandable}))}get showActionsMenu(){return this.state.showActionsMenu}set showActionsMenu(e){const{state:t}=this,a=L.normalizeBoolean(e);this._columnWidthManager.handleActionsColumnChange(t.showActionsMenu,a,t.columns),t.showActionsMenu=a,this.updateColumns(this._rawColumns)}get hideTableHeader(){return this.state.hideTableHeader}set hideTableHeader(e){this.state.hideTableHeader=L.normalizeBoolean(e)}get wrapTableHeader(){return this.state.wrapTableHeader}set wrapTableHeader(e){const t=this.state.wrapTableHeader,a=L.normalizeString(e,{fallbackValue:"none",validValues:["all","by-column","none"]});this.state.wrapTableHeader=a,a!==t&&(this._recalculateHeaderHeight=!0)}get loading(){return this.state.loading}set loading(e){!function(e,t){e.loading=L.normalizeBoolean(t)}(this.state,e)}get keyField(){return this.state.keyField}set keyField(e){const{state:t}=this;!function(e,t){e.keyField="string"==typeof t?t:void 0}(t,e),Or(t,this._draftValues),this.isConnected&&this.updateRows()}get loadMoreOffset(){return hd(this.state)}set loadMoreOffset(e){!function(e,t){sd(t),e.loadMoreOffset=sd(t)?parseInt(t,10):20}(this.state,e)}get maxColumnWidth(){return this.widthsData.maxColumnWidth}set maxColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.maxColumnWidth=od("maxColumnWidth",a,"non-negative",id.maxColumnWidth),cd(e,t)}(this.state.columns,t,e),this._columnWidthManager.maxColumnWidth=t.maxColumnWidth}get maxRowSelection(){return this.state.maxRowSelection}set maxRowSelection(e){const{state:t,_customerSelectedRows:a}=this,d=Ld(t);!function(e,t,a){const d=Id(e);if(Xs(e),sd(t)){const s=e.maxRowSelection,o=Number(t);e.maxRowSelection=o;const r=Math.min(d.length,o);for(let t=0;t<r;t+=1)Zs(e,d[t]);(function(e,t){return 0===e||0===t||1===e&&(t>1||void 0===t)||1===t&&(e>1||void 0===e)})(s,o)&&(oo(e,a),ro(e))}else e.maxRowSelection=void 0}(t,e,this._datatableId),d>0?this.fireSelectedRowsChange(this.getSelectedRows()):!this.isConnected&&t.data.length&&a&&(this._maxRowSelectionShouldFireEvent=!0)}get singleRowSelectionMode(){return this.state.singleRowSelectionMode}set singleRowSelectionMode(e){const{state:t}=this;t.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),function(e,t,a){L.normalizeString(t,{fallbackValue:Rd,validValues:[Td,Rd]})!==e.singleRowSelectionMode&&(e.singleRowSelectionMode=t,oo(e,a),ro(e))}(t,e,this._datatableId)}get minColumnWidth(){return this.widthsData.minColumnWidth}set minColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.minColumnWidth=od("minColumnWidth",a,"non-negative",id.minColumnWidth),cd(e,t)}(this.state.columns,t,e),this._columnWidthManager.minColumnWidth=t.minColumnWidth}get renderConfig(){return this._renderConfig}set renderConfig(e){Za(e)&&(this._renderManager.configure(this.state,this.getWrapperHeight,e),this._renderManager.updateViewportRendering(this.state,this.gridContainer,!0),this._renderConfig=e)}get renderMode(){return this._renderMode}set renderMode(e){const{_renderConfig:t,state:a}=this,d=L.normalizeString(e,{fallbackValue:"default",validValues:["default","inline","role-based","role-based-inline"]}),s=function(e){return Qa.test(e)}(d),o=function(e){return Ga.test(e)}(d);this._renderMode=d,a.hasRenderedFirstTime=!1,a.hasRenderedTable=!1,a.renderModeInline=s,a.renderModeRoleBased=o,this.isConnected&&this.updateRowsAndCells(),t&&Ur(a,t.virtualize),ws(a)}get resizeColumnDisabled(){return this.widthsData.resizeColumnDisabled}set resizeColumnDisabled(e){!function(e,t){e.resizeColumnDisabled=L.normalizeBoolean(t)}(this.widthsData,e)}get resizeStep(){return this.widthsData.resizeStep}set resizeStep(e){!function(e,t){e.resizeStep=od("resizeStep",t,"non-negative",id.resizeStep)}(this.widthsData,e)}get rowNumberOffset(){return this.state.rowNumberOffset}set rowNumberOffset(e){const{state:t}=this;!function(e,t){e.rowNumberOffset=od("rowNumberOffset",t,"non-negative",0)}(t,e),this._columnWidthManager.handleRowNumberOffsetChange(t,this.widthsData)}get selectedRows(){return Id(this.state)}set selectedRows(e){this._customerSelectedRows=e,this.setSelectedRows(e)}get showRowNumberColumn(){return this.state.showRowNumberColumn}set showRowNumberColumn(e){const{state:t,_rawColumns:a}=this,{length:d}=a;if(t.showRowNumberColumn)for(let e=0;e<d;e+=1)if(a[e].editable)return;this._columnWidthManager.handleRowNumberColumnChange(t.rowNumberOffset,e,t.columns),t.showRowNumberColumn=L.normalizeBoolean(e),this.isConnected?this.updateColumns(a):a&&(t.hadTreeDataTypePreviously=!1,t.treeColumn=void 0,Fd({state:t,rawColumns:a,types:this._privateTypes,expandable:this._expandable}))}get sortedBy(){return this.state.sortedBy}set sortedBy(e){const{state:t}=this;!function(e,t){"string"==typeof t||Array.isArray(t)?e.sortedBy=t:e.sortedBy=void 0}(t,e),Qr(t)}get sortedDirection(){return this.state.sortedDirection}set sortedDirection(e){const{state:t}=this;!function(e,t){"string"!=typeof t||"asc"!==t&&"desc"!==t?Array.isArray(t)&&(t.forEach(e=>{}),e.sortedDirection=t):e.sortedDirection=t}(t,e),Qr(t)}get suppressBottomBar(){return this._suppressBottomBar}set suppressBottomBar(e){this._suppressBottomBar=L.normalizeBoolean(e)}get wrapTextMaxLines(){return this.state.wrapTextMaxLines}set wrapTextMaxLines(e){const{state:t}=this;!function(e,t){e.wrapTextMaxLines=od("wrapTextMaxLines",t,"positive",void 0),e.shouldResetHeights=!0}(t,e),this._columnWidthManager.wrapTextMaxLines=t.wrapTextMaxLines,this.isConnected&&fs(t)}focus(){const{state:e}=this;jo(e),rr(e,this.template,this.refs)}getSelectedRows(){const{state:t}=this;let a;t.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),a=$.isCSR?e.unwrap(t.data):t.data;const{rows:d}=t,s=[];for(let e=0,{length:t}=d;e<t;e+=1){d[e].isSelected&&s.push(a[e])}return s}openInlineEdit(){this.state.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),Nr(this)}scrollToTop(){const e=dd(this.template,this.validRefs);e&&(e.scrollTop=0)}get gridContainer(){return $.isCSR?td(dd(this.template,this.validRefs)):null}get computedTableContainerClass(){return L.classSetToString({"kdds-table_header-fixed_container":!this.state.hideTableHeader,"kdds-scrollable_x":!this._isResizing})}get computedTableClass(){const{state:e}=this,{rangeSelection:t}=e,a=e.hideTableHeader?"hidden":"fixed";return L.classSetToString({"kdds-table":!0,"kdds-no-row-hover":0===this.renderedRows.length,[`kdds-table_header-${a}`]:!0,"kdds-table_bordered":!0,"kdds-table_edit":!0,"kdds-table_resizable-cols":!this.widthsData.resizeColumnDisabled,"kdds-tree kdds-table_tree":!!e.treeColumn,"kdds-rangeselection_active":t.length&&!(1===t.length&&os(t))})}get computedTableRole(){return this.state.treeColumn?"treegrid":"grid"}get computedTableStyle(){let e=`table-layout: ${this._columnWidthManager.isAutoResizingUpdateQueued?"auto":"fixed"};`;const{tableWidth:t}=this.widthsData;return t&&(e+=`width: ${t}px;`),e}get computedTbodyStyle(){const{state:e}=this,{rowNumberOffset:t}=e;let a="";if(e.showRowNumberColumn&&t>=0){const{firstVisibleIndex:d,bufferSize:s}=e;a+=`counter-reset: row-number ${Math.max(d-s,0)+t};`}if(e.virtualize){const{tableHeight:t}=e;a+=`position:relative;height:${t}px`}return a}get computedScrollerYStyle(){const e=this._actionsMinHeightStyle?`${this._actionsMinHeightStyle};`:"";if(this._columnWidthManager.isAutoResizingUpdateQueued)return`${e}overflow-x: auto;`;const{tableWidth:t}=this.widthsData;return this.tableNoData?`${e}overflow: unset;`:t?`${e}width: ${t}px;`:`${e}`}get computedScrollerXStyle(){let e="height: 100%;";return this.showStatusBar&&(e+="padding-bottom: 3rem;"),this._columnWidthManager.isAutoResizingUpdateQueued&&(e+="overflow-x: auto;"),"none"!==this.state.wrapTableHeader&&(e+=`padding-top: max(2rem, ${this._headerHeight}px);`),e}get computedCheckboxColumnHeaderId(){return`${this._datatableId}-check-column-header`}get computedAriaLiveClassForNavMode(){const e=this.state.keyboardMode===Ao;return L.classSetToString({"kdds-hide":!e,"kdds-assistive-text":e})}get computedAriaLiveClassForActionMode(){const e=this.state.keyboardMode===To;return L.classSetToString({"kdds-hide":!e,"kdds-assistive-text":e})}get ariaRowCount(){const{state:e}=this;return e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),e.rows.length+1}get hasValidKeyField(){return"string"==typeof this.state.keyField}get hasResizebleColumns(){return!this.widthsData.resizeColumnDisabled}get validRefs(){return this._hasRendered?this.refs:null}get renderedRows(){const{state:e}=this;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells();const{virtualize:t,rows:a,renderedRowCount:d}=e;if(t){const{firstIndex:t,lastIndex:d}=this._renderManager.getRenderedRange(e);return this._shouldResetFocus=!0,a.slice(t,d)}return e.enableViewportRendering?a.slice(0,d):a}get showSelectAllCheckbox(){return Sd(this.state)}get showStatusBar(){return!this._suppressBottomBar&&(e=this.state,L.hasOwnProperties(e.inlineEdit.dirtyValues));var e}get tableError(){return this.state.errors.table}get i18n(){return Xr}get tableNoData(){return 0===this.renderedRows.length}constructor(){super(),this.state=Od(),this.widthsData={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0},this._actionsMinHeightStyle="",this._columnWidthManager=void 0,this._customerSelectedRows=null,this._datatableId=z.generateUniqueId("lgt-datatable"),this._draftValues=[],this._headerHeight=0,this._isResizing=!1,this._positionRelationship=void 0,this._privateTypes={},this._rawColumns=[],this._renderConfig=void 0,this._renderManager=void 0,this._renderMode="default",this._renderedTemplate=Pa,this._shouldResetFocus=!1,this._suppressBottomBar=!1,this._widthObserver=void 0,this._hasSetInitialCustomTypes=!1,this._shouldResetCustomTypes=!1,this._recalculateHeaderHeight=!1,this._maxRowSelectionShouldFireEvent=!1,this._expandable=null,this._rangeSelection=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaDescribedBy=null,this.handleCellButtonClick=Bs,this.handlePrivateDatatableEditCell=Er,this.handleHeaderActionMenuClosed=go,this.handleHeaderActionMenuOpening=mo,this.handleHeaderActionTriggered=po,this.handleKeydownOnCell=zo,this.handleLoadDynamicActions=Ns,this.handlePrimitiveDatatableCellClick=Zo,this.handlePrimitiveDatatableCellFocus=Jo,this.handlePrimitiveDatatableCellKeydown=er,this.handleRowSelectionChange=Gs,this.handleRowActionTriggered=Ws,this.handleTableKeydown=Lo,this.handleTableFocusIn=kr,this.handleMassCheckboxChange=Vr,this.handleRowExpand=e=>{e.stopPropagation(),e.preventDefault();const{onExpand:t}=this._expandable,{detail:a={}}=e,{rowKeyValue:d,nextState:s}=a;t&&t(e),!s&&this.state.expandedRowKeys.has(d)?this.state.expandedRowKeys.delete(d):this.state.expandedRowKeys.add(d),this.updateRowsAndCells()},this._columnWidthManager=new Ks(this.widthsData),this._privateTypes=new as(this.constructor.customTypes),this._hasSetInitialCustomTypes=!!this._privateTypes.privateCustomTypes.size,this._renderManager=new Yr,$.isCSR&&(this.getWrapperHeight=()=>{const e=ad(this.template,this.refs),t=this.state.hideTableHeader?0:parseFloat(getComputedStyle(e).paddingTop)||32;return e.offsetHeight-t}),Zr(this)}connectedCallback(){super.connectedCallback();const{_customerSelectedRows:e,state:t,template:a}=this;if(this.addEventListener("rowselection",e=>{this.handleRowSelectionChange(e)}),$.isCSR&&(a.addEventListener("selectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("selectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("resizecol",e=>{this.handleResizeColumn(e)}),a.addEventListener("privateupdatecolsort",e=>{this.handleUpdateColumnSort(e)}),a.addEventListener("privatecellkeydown",e=>{this.handleKeydownOnCell(e)}),a.addEventListener("privatecellfocusedbyclick",e=>{this.handleCellFocusByClick(e)}),a.addEventListener("privatecellfalseblurred",e=>{this.handleFalseCellBlur(e)}),a.addEventListener("click",e=>{this.handlePrimitiveDatatableCellClick(e)}),a.addEventListener("focus",e=>{this.handlePrimitiveDatatableCellFocus(e)}),a.addEventListener("keydown",e=>{this.handlePrimitiveDatatableCellKeydown(e)}),a.addEventListener("privatecellactiontriggered",e=>{this.handleRowActionTriggered(e)}),a.addEventListener("privatecellactionmenuopening",e=>{this.handleLoadDynamicActions(e)}),a.addEventListener("privatecellbuttonclicked",e=>{this.handleCellButtonClick(e)}),a.addEventListener("privatecellheaderactionmenuopening",e=>{this.handleHeaderActionMenuOpening(e)}),a.addEventListener("privatecellheaderactionmenuclosed",e=>{this.handleHeaderActionMenuClosed(e)}),a.addEventListener("privatecellheaderactiontriggered",e=>{this.handleHeaderActionTriggered(e)}),a.addEventListener("privateopensortingmodal",e=>{this.handleOpenSortingModal(e)}),a.addEventListener("privateeditcell",e=>{this.handlePrivateDatatableEditCell(e)}),a.addEventListener("privaterowexpand",e=>{this.handleRowExpand(e)})),this.updateColumnsAndRows(),(t.enableViewportRendering||t.virtualize)&&(t.renderedRowCount=1),e){this.setSelectedRows(e);Ld(this.state)>0&&this._maxRowSelectionShouldFireEvent&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._maxRowSelectionShouldFireEvent=!1)}}render(){const e=this._columnWidthManager.isAutoResizingUpdateQueued;this._hasRendered||(this._hasRendered=!0);const t=this.state.renderModeRoleBased&&!e?yt:Pa;return t!==this._renderedTemplate&&(this._shouldResetCustomTypes=!this._privateTypes.privateCustomTypes.size,Rs(this),this._renderManager.disconnectResizeObserver(),this._renderedTemplate=t),t}renderedCallback(){const{_columnWidthManager:e,gridContainer:t,refs:a,state:d,template:s,widthsData:o}=this;if(!this._hasSetInitialCustomTypes&&(this.setCustomTypes(),this._hasSetInitialCustomTypes=!0,this._privateTypes.privateCustomTypes.size&&"auto"===o.columnWidthsMode))return;L.synchronizeAttrs(t,{"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledBy,"aria-describedby":this.ariaDescribedBy});const{renderModeInline:r}=d;if(e.isResizingUpdateQueued){const{columns:t}=d,r=e.shouldFireResizeEvent(o,t);e.adjustColumnsSize(s,a,t,o),d.shouldResetHeights=!0,d.renderModeRoleBased&&xs(d),r&&this.fireOnResize(!1),this._recalculateHeaderHeight=!0,this.updateTableAndScrollerStyleOnRender()}if(function(e){const t=Object.keys(Cs),{length:a}=t;for(let d=0;d<a;d+=1)Ts(e,t[d])}(this),this._customerSelectedRows=null,d.cellToFocusNext=void 0,this._shouldResetFocus){this._shouldResetFocus=!1;const{activeCell:e}=d;if(e&&e.hasFocus&&!d.inlineEdit.isPanelVisible){const e=Ho(s,d),t=Uo(e);!r&&e&&t&&!t.classList.contains(m.FOCUS_CLASS)&&rr(d,s,a,null,null,!1)}}const{hasRenderedFirstTime:n,hasRenderedTable:i}=d,l=!!d.virtualize,{length:c}=d.rows;d.hasRenderedFirstTime=!0,d.hasRenderedTable=!0;let u=!1;if(l||d.enableViewportRendering){const{_renderManager:e}=this;if(c&&l&&this.updateVirtualizedRowHeights(),!n){const t=a?.outerContainer||s.querySelector("div.dt-outer-container");e.connectResizeObserver(t)}e.hasWrapperHeight()||(u=!0)}requestAnimationFrame(()=>{if(u){const{_renderManager:e}=this;e.updateWrapperHeight(this.getWrapperHeight),d.renderedRowCount&&e.updateViewportRendering(d,t,!0)}this.updateHeaderHeight(),c&&r&&!i&&(this.updateCheckboxCellsAriaAttrs(),I.hasLinkProvider(s)&&(this.updateLookupCellsLinkInfo(),this.updateUrlCellsLinkInfo()))})}updateHeaderHeight(){if("none"!==this.state.wrapTableHeader&&this._recalculateHeaderHeight){const e=this.refs.headerRow?.children||[];let t=0;for(let a=0;a<e.length;a+=1){const d=e[a].firstChild.getDomHeight();d>t&&(t=d)}this._headerHeight=t+16,this._recalculateHeaderHeight=!1}else this._recalculateHeaderHeight&&(this._headerHeight=0,this._recalculateHeaderHeight=!1)}updateTableAndScrollerStyleOnRender(){const e=dd(this.template,this.refs),t=td(e);t&&(t.style=this.computedTableStyle),e&&(e.style=this.computedScrollerYStyle)}disconnectedCallback(){Rs(this),this._renderManager.disconnectResizeObserver()}handleTableCellMouseDown(e){const{rangeSelectedChange:t,suppressMultiRangeSelection:a}=this.rangeSelection||{};!a&&t&&ls({event:e,dt:this,rangeSelectedChange:t})}handleCustomTypesChange(){this._shouldResetCustomTypes?this.setCustomTypes():this._shouldResetCustomTypes=!0}handleKeydownOnDataRow(e){const{state:t}=this;if(t.keyboardMode===Ao&&t.rowMode){e.stopPropagation();const{currentTarget:t}=e;No(this,{target:t,detail:{keyCode:e.keyCode,keyEvent:e,rowExpanded:"true"===t.getAttribute("aria-expanded"),rowHasChildren:!!t.getAttribute("aria-expanded"),rowKeyValue:t.getAttribute("data-row-key-value"),rowLevel:t.getAttribute("aria-level")}})}}handleHorizontalScroll(e){Jr(this),Dr.call(this,e)}handleVerticalScroll(e){Jr(this);const{state:t}=this;t.enableInfiniteLoading&&kd.call(this,e),Dr.call(this,e),t.virtualize?t.firstVisibleIndex=_o(this.state,e.target.scrollTop):t.enableViewportRendering&&this._renderManager.handleScroll(t,e)}handleTableCellClick(e){const{target:t}=e;if(L.isCellElement(t)){const e=t,{template:a,state:d}=this;d.hasReceivedFocus=!0;const{rowKeyValue:s}=e.parentElement.dataset,{colKeyValue:o}=e.dataset;if(d.rowMode||!Oo(d,s,o)){const{activeCell:e}=d;e&&d.rowMode&&(Rr(d),fr(d,e.rowIndex,-1)),this.setActiveCell(s,o)}br(d,a)||gr(d),pr(d,a,this.refs,e)}}handleUpdateColumnSort(e){e.stopPropagation();const{fieldName:t,columnKey:a,sortDirection:d}=e.detail;this.fireSortedColumnChange(t,a,d)}handleOpenSortingModal(e){e.stopPropagation()}handleResizeColumn(e){e.stopPropagation();const{state:t}=this,{colIndex:a,widthDelta:d}=e.detail;0!==d&&(ld(t.columns,this.widthsData,a,d),t.renderModeRoleBased&&xs(t),this.fireOnResize(!0),this.fixHeaderForSafari(),this._recalculateHeaderHeight=!0)}handleResizeStart(e){e.stopPropagation(),this._isResizing=!0}handleResizeEnd(e){e.stopPropagation(),this._isResizing=!1,this.state.shouldResetHeights=!0}handleSelectionCellClick(e){this.handleCellFocusByClick(e);const{type:t}=e;"selectrow"===t?Ys.call(this,e):"deselectrow"===t?Qs.call(this,e):"selectallrows"===t?qs.call(this,e):"deselectallrows"===t&&Us.call(this,e)}handleCellFocusByClick(e){e.stopPropagation();const{state:t}=this;t.hasReceivedFocus=!0;const{rowKeyValue:a,colKeyValue:d,needsRefocusOnCellElement:s}=e.detail;if(!Oo(t,a,d)){const{activeCell:e}=t;e&&t.rowMode&&(Rr(t),fr(t,e.rowIndex,-1)),this.setActiveCell(a,d),function(e,t,a){if(a){const a=Ho(t,e);a&&a.focus(),setTimeout(()=>{gr(e)},0)}else br(e,t)||gr(e)}(t,this.template,s)}const o=Yo(e.target);pr(t,this.template,this.refs,o)}handleFalseCellBlur(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,colKeyValue:d}=e.detail;Oo(t,a,d)||this.setActiveCell(a,d),rr(t,this.template,this.refs)}handleTableFocusOut(e){mr.call(this,e);const{activeCell:t}=this.state;t&&(t.hasFocus=this._shouldResetFocus)}handleInlineEditFinish(e){Jr(this),Mr.call(this,e)}handleInlineEditSave(e){e.stopPropagation(),e.preventDefault(),Fr(this);const{draftValues:t}=this;this.dispatchEvent(new CustomEvent("save",{detail:{draftValues:t}}))}handleInlineEditCancel(e){e.stopPropagation(),e.preventDefault(),Fr(this);const t=new CustomEvent("cancel",{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented||function(e){const{state:t,_privateTypes:a}=e;!function(e){e.errors={rows:{},table:{}}}(t),t.inlineEdit.dirtyValues={},e._draftValues=[],vs(t,a)}(this),Sr(this.state)}handlePrivateLookupItemPicked(e){e.stopPropagation(),e.preventDefault();const{recordId:t}=e.detail,{rowIndex:a,rowKeyValue:d}=this.computeRowLookupItemPickedInformation(e.currentTarget);this.dispatchEvent(new CustomEvent(R.EVENTS.PrivateLookupItemPickedEvent.NAME,{composed:!0,cancelable:!0,bubbles:!0,detail:{recordId:t,rowIndex:a,rowKeyValue:d}}))}handleInlinedCheckboxClick(e){const{state:t}=this;e.stopPropagation();const{currentTarget:a}=e,{parentElement:d}=a,{parentElement:s}=d,{colKeyValue:o}=s.dataset,{rowKeyValue:r}=s.parentElement.dataset,n=fd(t,r);this.fireInlinedCheckboxSelection(a,n.isSelected,{rowKeyValue:r,colKeyValue:o,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerClick(e){const{state:t}=this,{currentTarget:a}=e,{parentElement:d}=a,{rowKeyValue:s}=d.parentElement.dataset,o=fd(t,s);if(o.isDisabled)return;e.preventDefault();const{colKeyValue:r}=d.dataset,{firstElementChild:n}=a;this.fireInlinedCheckboxSelection(n,o.isSelected,{rowKeyValue:s,colKeyValue:r,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerMouseDown(e){this.state.renderModeInline&&e.shiftKey&&e.preventDefault()}handleInlinedEditButtonClick(e){const{state:t}=this,a=t.renderModeInline?Yo(e.target):void 0;if(a){t.hasReceivedFocus=!0;Uo(a).dispatchEvent(new CustomEvent("privateeditcell",{bubbles:!0,composed:!0,detail:{rowKeyValue:a.parentElement.dataset.rowKeyValue,colKeyValue:a.dataset.colKeyValue}}))}}fireInlinedCheckboxSelection(e,t,a){const d=t?"deselectrow":"selectrow";e.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0,detail:a}))}fireSelectedRowsChange(e,t={}){$.isCSR&&this.dispatchEvent(new CustomEvent("rowselection",{detail:{selectedRows:e,config:t}}))}fireSortedColumnChange(e,t,a){const d=new CustomEvent("sort",{detail:{fieldNames:[e],sortDirections:[a],isMultiColumnSort:!1,fieldName:e,columnKey:t,sortDirection:a}});this.dispatchEvent(d)}fireOnResize(e){this.dispatchEvent(new CustomEvent("resize",{detail:{columnWidths:ud(this.state.columns,this.widthsData),isUserTriggered:!!e}}))}updateRows(){this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes()}updateRowsBeforeIndexes(){$.isCSR&&ir(this.state,this.template)}updateRowsAfterIndexes(){const{state:e,widthsData:t}=this;(e.enableViewportRendering||e.virtualize)&&this._renderManager.updateViewportRendering(e,this.gridContainer,!!e.virtualize),this._columnWidthManager.handleRowNumberOffsetChange(e,t),lr(e),function(e,t){let a=!1;const{keyField:d,selectedRowsKeys:s,maxRowSelection:o}=e,{length:r}=t;if(Object.keys(s).length!==r)a=!0,e.selectedRowsKeys=ao(t,d);else for(let o=0;o<r;o+=1)if(!s[t[o][d]]){a=!0,e.selectedRowsKeys=ao(t,d);break}if(a){const t=o||e.rows.length;Sd(e)&&(r<t?eo(e):Js(e))}return ro(e),{ifChanged(e){a&&"function"==typeof e&&e(t)}}}(e,this.getSelectedRows()).ifChanged(()=>{this._rowSelectionEventPending||(this._rowSelectionEventPending=!0,Promise.resolve().then(()=>{this._rowSelectionEventPending&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._rowSelectionEventPending=!1)}))}),jo(e),e.keyboardMode===Ao&&(yr(e),_r(e)),$.isCSR&&e.activeCell&&e.cellToFocusNext&&rr(e,this.template,this.refs)}updateColumns(e){Fd({state:this.state,rawColumns:e,types:this._privateTypes,expandable:this._expandable}),this.isConnected&&(this.updateColumnsBeforeIndexes(),this.updateRowsAndCells(),this.updateColumnsAfterIndexes())}updateColumnsBeforeIndexes(){const{state:e}=this;$.isCSR&&ir(e,this.template),function(e){e.treeColumn?!1!==e.rowMode||e.hadTreeDataTypePreviously||(e.rowMode=!0):e.rowMode=!1}(e),Or(e,this._draftValues),function(e){const{columns:t}=e,{length:a}=t;for(let e=0;e<a;e+=1){const a=t[e];a.actions.internalActions=ho(a)}}(e)}updateColumnsAfterIndexes(){const{state:e,widthsData:t}=this;ro(e),this._columnWidthManager.handleRowNumberOffsetChange(e,t),cd(e.columns,t),lr(e),e.data.length>0&&e.columns.length!==t.columnWidths.length&&jo(e),e.keyboardMode===Ao&&(yr(e),_r(e)),$.isCSR&&e.activeCell&&e.cellToFocusNext&&rr(e,this.template,this.refs)}updateColumnsAndRows(){this.updateColumnsBeforeIndexes(this._rawColumns),this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes(),this.updateColumnsAfterIndexes()}updateRowsAndCells(){const{state:e}=this;e.hasRenderedTable=!1,vs(e,this._privateTypes,this._datatableId)}updateVirtualizedRowHeights(){const{state:e}=this,t=e.virtualize&&this.renderedRows.length;e.shouldResetHeights?(fo(e),e.shouldResetHeights=!1):t&&yo(this.template,e,this.renderedRows,this.refs)}setSelectedRows(e){to(this.state,e),this.handleRowSelectionChange()}setActiveCell(e,t){const{state:a,template:d}=this,s=gd(a,e,t);nr(a,d),a.activeCell=s,function(e,t){e.activeCell.hasFocus=!0;const a=Ho(t,e);a&&a.classList.add(m.FOCUS_CLASS)}(a,d),vr(a,s.rowIndex,s.colIndex,0)}setCustomTypes(){const e=this.template.querySelector('slot[name="customdatatypes"]');if(e){const t=e.assignedNodes();if(t.length){let e=t[0];if(T.features.ENABLE_TREE_GRID_CUSTOM_TYPES&&"SLOT"===e?.tagName){const t=e.assignedNodes();e=t.length?t[0]:{}}"function"==typeof e.getDataTypes&&(this._privateTypes=new as(e.getDataTypes()),this.updateColumns(this._rawColumns),this._columnWidthManager.handleColumnsChange(this.state.columns,this.validRefs))}else this._shouldResetCustomTypes=!0}}getViewableRect(){const{refs:e,template:t}=this,a=dd(t,e).getBoundingClientRect(),d=ad(t,e).getBoundingClientRect();return{left:d.left,right:d.right,top:a.top,bottom:a.bottom}}fixHeaderForSafari(){if(L.isSafari){const e=this.template.querySelector("thead");e&&(e.style.display="none",requestAnimationFrame(()=>{e.style.display=""}))}}computeRowLookupItemPickedInformation(e){const{dataset:t}=e,a=Number.parseInt(t.rowNumber,10)-1,{rowKeyValue:d}=t;return{rowIndex:a,rowKeyValue:d}}updateCheckboxCellsAriaAttrs(){const{computedCheckboxColumnHeaderId:e,state:t,template:a}=this,{checkboxCells:d}=t,{length:s}=d,o=s?a.querySelectorAll('[data-inline-type="primitive-cell-checkbox"]'):[];let r;for(let t=0,{length:a}=o;t<a;t+=1){const a=d[t],s=o[t],{firstElementChild:n}=s;if(void 0===r){const{lastElementChild:e}=s,{id:t}=e;r=t.slice(t.lastIndexOf("-"))}n.setAttribute("aria-labelledby",`${a.checkboxLabelId}${r} ${e}`)}}updateLookupCellsLinkInfo(){Jr(this);const{state:e,template:t}=this,{lookupCells:a}=e,{length:d}=a,s=d?t.querySelectorAll('[data-inline-type="formatted-lookup"]'):[];for(let e=0,{length:t}=s;e<t;e+=1){const t=a[e],d=s[e],{value:o}=t;t._handleLookupAnchorClick=()=>{d.dispatchEvent(new Gr({recordId:o}))},"enable"===d.getAttribute("data-navigation")&&d.removeAttribute("data-navigation"),o&&I.getLinkInfo(d,{stateType:"standard__recordPage",attributes:{recordId:o,actionName:"view"}}).then(e=>{const{dispatcher:a,url:s}=e,r=!(!a||!s);t.lookupIsNavigable=r,t.lookupLink=s,t._handleLookupAnchorClick=e=>{d.dispatchEvent(new Gr({recordId:o})),a.call(d,e)},r?d.setAttribute("data-navigation","enable"):d.removeAttribute("data-navigation")})}}updateUrlCellsLinkInfo(){const{state:e,template:t}=this,{shownUrlCells:a}=e,{length:d}=a,s=d?t.querySelectorAll('[data-inline-type="formatted-url"]'):[];for(let e=0,{length:t}=s;e<t;e+=1){const t=a[e],d=s[e];I.updateRawLinkInfo(d,{url:t.urlLink,target:t.urlTarget}).then(e=>{const{dispatcher:a,url:s}=e;t._handleUrlAnchorClick=e=>{a.call(d,e)},t.urlLink=s})}}}e.registerDecorators(en,{publicProps:{ariaLabel:{config:0},ariaLabelledBy:{config:0},columnWidthsMode:{config:3},expandable:{config:3},rangeSelection:{config:3},columns:{config:3},data:{config:3},defaultSortDirection:{config:3},draftValues:{config:3},enableInfiniteLoading:{config:3},errors:{config:3},hideCheckboxColumn:{config:3},showActionsMenu:{config:3},hideTableHeader:{config:3},wrapTableHeader:{config:3},loading:{config:3},keyField:{config:3},loadMoreOffset:{config:3},maxColumnWidth:{config:3},maxRowSelection:{config:3},singleRowSelectionMode:{config:3},minColumnWidth:{config:3},renderConfig:{config:3},renderMode:{config:3},resizeColumnDisabled:{config:3},resizeStep:{config:3},rowNumberOffset:{config:3},selectedRows:{config:3},showRowNumberColumn:{config:3},sortedBy:{config:3},sortedDirection:{config:3},suppressBottomBar:{config:3},wrapTextMaxLines:{config:3}},publicMethods:["focus","getSelectedRows","openInlineEdit","scrollToTop"],track:{state:1,widthsData:1},fields:["_actionsMinHeightStyle","_columnWidthManager","_customerSelectedRows","_datatableId","_draftValues","_headerHeight","_isResizing","_positionRelationship","_privateTypes","_rawColumns","_renderConfig","_renderManager","_renderMode","_renderedTemplate","_shouldResetFocus","_suppressBottomBar","_widthObserver","_hasSetInitialCustomTypes","_shouldResetCustomTypes","_recalculateHeaderHeight","_maxRowSelectionShouldFireEvent","_expandable","_rangeSelection","ariaDescribedBy","handleCellButtonClick","handlePrivateDatatableEditCell","handleHeaderActionMenuClosed","handleHeaderActionMenuOpening","handleHeaderActionTriggered","handleKeydownOnCell","handleLoadDynamicActions","handlePrimitiveDatatableCellClick","handlePrimitiveDatatableCellFocus","handlePrimitiveDatatableCellKeydown","handleRowSelectionChange","handleRowActionTriggered","handleTableKeydown","handleTableFocusIn","handleMassCheckboxChange","handleRowExpand"]});const tn=e.registerComponent(en,{tmpl:d._tmpl,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63}),an=e.parseFragment`<div class="kdds-modal__border-top${0}" part="modal-resize-border"${2}></div>`,dn=e.parseFragment`<div${"c0"}${2}><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"${3}><path fill-rule="evenodd" clip-rule="evenodd" d="M3.80645 3.10485L3.85355 3.14645L8 7.2925L12.1464 3.14645C12.3417 2.95118 12.6583 2.95118 12.8536 3.14645C13.0338 3.32669 13.0477 3.6103 12.8951 3.80645L12.8536 3.85355L8.7075 8L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6733 13.0338 12.3897 13.0477 12.1936 12.8951L12.1464 12.8536L8 8.7075L3.85355 12.8536C3.65829 13.0488 3.34171 13.0488 3.14645 12.8536C2.9662 12.6733 2.95234 12.3897 3.10485 12.1936L3.14645 12.1464L7.2925 8L3.14645 3.85355C2.95118 3.65829 2.95118 3.34171 3.14645 3.14645C3.31167 2.98122 3.56375 2.95581 3.7557 3.07019L3.80645 3.10485Z" fill="currentColor"${3}/></svg></div>`,sn=e.parseFragment`<div class="kdds-modal-footer__resize${0}" part="modal-resize-corner"${2}><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"${3}><path fill-rule="evenodd" clip-rule="evenodd" d="M14 7V8L8 14H7L14 7ZM14 11V12L12 14H11L14 11Z" fill="#666666"${3}/></svg></div>`,on=e.parseFragment`<div class="kdds-modal__border-bottom${0}" part="modal-resize-border"${2}></div>`,rn=e.parseFragment`<div class="kdds-modal__border-right${0}" part="modal-resize-border"${2}></div>`,nn=e.parseFragment`<div class="kdds-modal__border-left${0}" part="modal-resize-border"${2}></div>`,ln={classMap:{"kdds-modal-header__right":!0},key:4},cn={"kdds-modal-header__search-container":!0},un={variant:"underlined",placeholder:"请输入搜索内容",prefixIcon:"kdfont-f"},bn={ref:"bodyRef",key:9},hn={classMap:{"kdds-modal__body-container":!0},key:10},kn={ref:"footerRef",key:12},pn={classMap:{"kdds-modal__footer-container":!0},key:13};function mn(e,d,s,o){const{ncls:r,b:n,sp:i,st:l,c:c,h:u}=e,{_m0:b,_m1:h,_m2:k,_m3:p,_m4:m,_m5:g,_m6:v,_m7:f,_m8:y,_m9:_,_m10:x,_m11:w,_m12:C,_m13:A,_m14:T,_m15:R,_m16:z}=o;return[u("div",{className:r(d.computedContainerClass),key:0},[l(an,2,[i(0,{on:h||(o._m1={mousedown:n(d.handleTopBorderMouseDown)})},null)]),c("kd-modal-header",a,{ref:"headerRef",props:{label:d.label},key:3,on:k||(o._m2={dblclick:n(d.handleDoubleClick)})},[u("div",ln,[u("div",{classMap:cn,key:5,on:p||(o._m3={mousedown:n(d.handleMousedown)})},[c("kd-input",t,{props:un,key:6,on:m||(o._m4={change:n(d.handleInputChange)})})]),l(dn,8,[i(0,{on:v||(o._m6={click:n(d.handleCloseClick)}),className:r(d.computedCloseButtonClass)},null)])])]),c("kd-modal-body",W,bn,[u("div",hn,[c("kd-data-table",tn,{ref:"tableRef",props:{keyField:"id",data:d.data,columns:d.columns,maxRowSelection:"1",columnWidthsMode:"auto",showRowNumberColumn:"true",loading:d.loading},key:11})])]),c("kd-modal-footer",B,kn,[u("div",pn,[c("kd-button",N,{props:{label:d.cancelBtnLabel,size:"small",variant:"secondary"},key:14,on:f||(o._m7={click:n(d.handleCancelClick)})}),c("kd-button",N,{props:{label:d.confirmBtnLabel,size:"small"},key:15,on:y||(o._m8={click:n(d.handleConfirmClick)})})]),d.showResizeCorner?l(sn,17,[i(0,{on:x||(o._m10={mousedown:n(d.handleResizeMouseDown)})},null)]):null]),l(on,19,[i(0,{on:C||(o._m12={mousedown:n(d.handleBottomBorderMouseDown)})},null)]),l(rn,21,[i(0,{on:T||(o._m14={mousedown:n(d.handleRightBorderMouseDown)})},null)]),l(nn,23,[i(0,{on:z||(o._m16={mousedown:n(d.handleLeftBorderMouseDown)})},null)])])]}var gn=e.registerTemplate(mn);mn.hasRefs=!0,mn.stylesheets=[],mn.stylesheetToken="kwc-1nf7ui7q41o",mn.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-undefined_recordPickerModal",P&&mn.stylesheets.push.apply(mn.stylesheets,P),e.freezeTemplate(mn);const{promiseApi:vn}=O.T;class fn extends j{constructor(...e){super(...e),this.label="",this.lookupConfig={},this._data=[],this._columns=[],this._loading=!1,this._search=""}get data(){return this._data}get columns(){return this._columns}get loading(){return this._loading}get search(){return this._search}set search(e){this._search=e}loadData(){if(0===Object.keys(this.lookupConfig).length)return;this._loading=!0;const e={search:void 0!==this._search?this._search:"",page:1,size:50};this._promise&&this._promise.cancel&&this._promise.cancel(),this._promise=vn.doGet({endpointConfig:this.lookupConfig,params:new URLSearchParams(e).toString()}),this._promise.then(e=>{if(this._loading=!1,e&&e.data){const{columns:t,data:a}=e.data;this._columns=(t||[]).map(e=>({label:e.caption,fieldName:e.id})),this._data=(a||[]).map(e=>{const a={};for(let d=0;d<e.length;d++)a[t[d].id]=e[d];return a})}}).catch(e=>{"CANCELED"!==e.status&&(this._loading=!1)})}handleConfirmClick(){let e=this.refs.tableRef.getSelectedRows();if(!e||!e.length)return void this.close();e=e[0];const t={value:[]};Object.keys(e).forEach(a=>{"id"===a&&(t.id=e[a]),t.value.push({id:a,value:e[a]})}),this.close({type:"confirm",value:{result:t,selected:e}})}get handleInputChange(){return H.debounce(this.handleChangeInternal.bind(this),300)}handleChangeInternal(e){void 0!==e.detail.value&&""!==e.detail.value&&(this._search=e.detail.value,this.loadData())}handleMousedown(e){e.stopPropagation()}handleDoubleClick(e){e.stopPropagation()}connectedCallback(){this.loadData()}}e.registerDecorators(fn,{publicProps:{label:{config:0},lookupConfig:{config:0},data:{config:1},columns:{config:1},loading:{config:1},search:{config:3}},fields:["_data","_columns","_loading","_search"]});const yn=e.registerComponent(fn,{tmpl:gn,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-",apiVersion:63});module.exports=yn;
1
+ "use strict";var e=require("@kdcloudjs/kwc"),t=require("./input.js"),a=require("./modalHeader.js"),d=require("../empty_html-hFq4zm9t.js"),s=require("../kddsCommon-CICoPypw.js"),o=require("../kddsUtilsVisibility-udynsnvN.js"),r=require("../kddsUtilsMargin-Dx8EVq7G.js"),n=require("../kddsUtilsHyphenation-dfwOmIHd.js"),i=require("../kddsUtilsGrid-Di6bwMd2.js"),l=require("../kddsUtilsLineClamp-aHZjbaci.js"),c=require("../kddsUtilsTruncation-BZ8KpmAj.js"),u=require("../input-checkbox.kdds-CD4aNarZ.js"),b=require("./primitiveDatatableIeditPanel.js"),h=require("./primitiveHeaderFactory.js"),k=require("./primitiveCellExpand.js"),p=require("./primitiveCellCheckbox.js"),m=require("../primitiveDatatableCell-phgzbp5l.js"),g=require("./primitiveCustomCell.js"),v=require("./primitiveTreegridCellToggle.js"),f=require("./icon.js"),y=require("./primitiveCellFactory.js"),_=require("./primitiveCustomRow.js"),x=require("./primitiveDatatableNoData.js"),w=require("./primitiveDatatableStatusBar.js"),C=require("./primitiveDatatableLoadingIndicator.js"),A=require("../label-DdXuOVTE.js"),T=require("./features.js"),R=require("./formattedLookup.js"),z=require("../idGenerator-DjOtNo-h.js"),L=require("../utilsPrivate-DL4VBetH.js"),I=require("./routingService.js"),S=require("./resizeObserver.js");require("../observable-BXDJFaLN.js"),require("../i18n-CP31jeWH.js");var $=require("../ssr-RXknEJpO.js");require("../classSet-B5xuJbNb.js");var E=require("../labelUtils-C2UzbgdZ.js"),M=require("../intlFormat-Bs-dlvDH.js"),V=require("../NumberFormat-BOQwROTf.js");require("./configProvider.js");var D=require("../takeUntil-H3M4Zr2X.js"),F=require("./positionLibrary.js"),K=require("./shadowBaseClassPrivate.js"),W=require("./modalBody.js"),N=require("./button.js"),B=require("./modalFooter.js"),H=require("../interacting-BGdY-r03.js"),O=require("../index-ChQWdmu9.esm-DUTi--6E.js"),j=require("./modal.js");require("../baseInput-DUgqe5Hk.js"),require("../normalize-DZjR9N6d.js"),require("../index.esm-skOXaaoq.js"),require("../utils-HAAanx64.js"),require("../client-Co_j5m_k.js"),require("./iso8601Utils.js"),require("../colorValid-BBnkvgd_.js"),require("./modalUtils.js"),require("../focus-DdgBlQbB.js"),require("./tooltipLibrary.js"),require("./primitiveBubble.js"),require("./ariaObserver.js"),require("./overlayManager.js"),require("./overlayUtils.js"),require("../kddsUtilsPadding-CDPIu4gA.js"),require("./primitiveDatatableIeditTypeFactory.js"),require("./primitiveDatatableIeditInputWrapper.js"),require("./primitiveHeaderActions.js"),require("./menuItem.js"),require("./menuDivider.js"),require("./buttonMenu.js"),require("./primitiveResizeHandler.js"),require("../input-radio-group.kdds-CMXswYN0.js"),require("./primitiveCellActions.js"),require("./primitiveCellButton.js"),require("./formattedNumber.js"),require("./i18nCldrOptions.js"),require("./i18nService.js"),require("./formattedDateTime.js"),require("./formattedEmail.js"),require("./formattedLocation.js"),require("./formattedPhone.js"),require("./baseFormattedText.js"),require("./formattedUrl.js"),require("../kddsUtilsPosition-BI0KMR6S.js"),require("./primitiveDatatableTooltip.js"),require("./primitiveDatatableTooltipBubble.js"),require("./buttonIcon.js"),require("./spin.js"),require("./utilsInternal.js"),require("./privateModal.js"),require("./overlay.js"),require("./overlayContainer.js"),require("./modalBase.js"),require("./focusTrap.js");var P=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return(t?":host .kdds-modal-header__right":s+" .kdds-modal-header__right")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal-header__close":s+" .kdds-modal-header__close")+d+" {cursor: pointer;color: var(--kdds-c-modal-icon-color, #666);}"+(t?":host .kdds-modal-header__close:hover":s+" .kdds-modal-header__close:hover")+d+" {color: var(--kdds-c-modal-icon-color-hover, #87A9FF);}"+(t?":host .kdds-modal-header__close:active":s+" .kdds-modal-header__close:active")+d+" {color: var(--kdds-c-modal-icon-color-focus, #3761CA);}"+(t?":host .kdds-modal-header__close-slot":s+" .kdds-modal-header__close-slot")+d+" {margin-inline-start: 24px;}"+(t?":host .kdds-modal__footer-container":s+" .kdds-modal__footer-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__footer-container":s+" .kdds-modal__footer-container")+d+">kd-button"+d+" {margin-inline-end: 8px;}"+(t?":host .kdds-modal-container":s+" .kdds-modal-container")+d+" {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);max-width: calc(100vw - 64px);max-height: calc(100vh - 64px);}"+(t?":host .kdds-modal-container__fullscreen":s+" .kdds-modal-container__fullscreen")+d+" {width: 100vw;height: 100vh;max-width: 100vw;max-height: 100vh;top: 0;left: 0;right: 0;bottom: 0;transform: none;}"+(t?":host .kdds-modal-container__fullscreen"+d+' [part="modal-resize-border"]'+d+",\r:host .kdds-modal-container__fullscreen"+d+' [part="modal-resize-corner"]'+d+",\r:host .kdds-modal-container__mob"+d+' [part="modal-resize-border"]'+d+",\r:host .kdds-modal-container__mob":s+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-border"]'+d+","+s+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-corner"]'+d+","+s+" .kdds-modal-container__mob"+d+' [part="modal-resize-border"]'+d+","+s+" .kdds-modal-container__mob")+d+' [part="modal-resize-corner"]'+d+" {display: none;}"+(t?":host .kdds-modal-container__mob":s+" .kdds-modal-container__mob")+d+" {max-width: 100vw;max-height: 100vh;}"+(t?":host .kdds-modal-footer__resize":s+" .kdds-modal-footer__resize")+d+" {position: absolute;bottom: 0;right: 0;cursor: se-resize;height: 16px;}"+(t?":host .kdds-modal__border-top"+d+",\r:host .kdds-modal__border-bottom":s+" .kdds-modal__border-top"+d+","+s+" .kdds-modal__border-bottom")+d+" {position: absolute;left: 0;right: 0;height: 4px;background: transparent;cursor: n-resize;z-index: 1;}"+(t?":host .kdds-modal__border-top":s+" .kdds-modal__border-top")+d+" {top: -2px;}"+(t?":host .kdds-modal__border-bottom":s+" .kdds-modal__border-bottom")+d+" {bottom: -2px;}"+(t?":host .kdds-modal__border-left"+d+",\r:host .kdds-modal__border-right":s+" .kdds-modal__border-left"+d+","+s+" .kdds-modal__border-right")+d+" {position: absolute;top: 0;bottom: 0;width: 4px;background: transparent;cursor: w-resize;}"+(t?":host .kdds-modal__border-left":s+" .kdds-modal__border-left")+d+" {left: -2px;}"+(t?":host .kdds-modal__border-right":s+" .kdds-modal__border-right")+d+" {right: -2px;}"+(t?":host .kdds-modal__body-container":s+" .kdds-modal__body-container")+d+" {padding: 0;}"+(t?":host .kdds-modal-header__search-container":s+" .kdds-modal-header__search-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__content":s+" .kdds-modal__content")+d+" {padding: 0;}"+(t?':host([data-rtl="true"]) .kdds-modal__content':s+'[data-rtl="true"] .kdds-modal__content')+d+" {direction: rtl;}"}];var q=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return(t?":host {":s+" {")+"display: inline-flex;}"+(t?":host [part~='boundary']":s+" [part~='boundary']")+d+" {padding-block-start: var(\r\n --kds-c-icon-spacing-blockstart,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-block-end: var(\r\n --kds-c-icon-spacing-blockend,\r\n var(--kds-c-icon-spacing-block, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-start: var(\r\n --kds-c-icon-spacing-inlinestart,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );padding-inline-end: var(\r\n --kds-c-icon-spacing-inlineend,\r\n var(--kds-c-icon-spacing-inline, var(--kds-c-icon-spacing, var(--kds-s-icon-spacing)))\r\n );border-radius: var(--kds-c-icon-radius-border, var(--kds-s-icon-radius-border));border-width: var(--kds-c-icon-sizing-border, var(--kds-s-icon-sizing-border));border-style: solid;border-color: var(--kds-c-icon-color-border, var(--kds-s-icon-color-border, transparent));background-color: var(--kds-c-icon-color-background, var(--kds-s-icon-color-background));}"+(t?":host [part~='icon']":s+" [part~='icon']")+d+" {display: flex;height: var(--kds-c-icon-sizing-height, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));width: var(--kds-c-icon-sizing-width, var(--kds-c-icon-sizing, var(--kds-s-icon-sizing)));color: var(--kds-c-icon-color-foreground, var(--kds-s-icon-color-foreground));}"+(t?":host svg":s+" svg")+d+" {width: 100%;height: 100%;}"+(t?":host {":s+" {")+"vertical-align: middle;}"+(t?":host([size='xxx-small']),:host \r.kdds-icon_xxx-small":s+"[size='xxx-small'],"+s+" \r.kdds-icon_xxx-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}"+(t?":host([size='xx-small']),:host \r.kdds-icon_xx-small":s+"[size='xx-small'],"+s+" \r.kdds-icon_xx-small")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));}"+(t?":host([size='x-small']),:host \r.kdds-icon_x-small":s+"[size='x-small'],"+s+" \r.kdds-icon_x-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-5);}"+(t?":host([size='small']),:host \r.kdds-icon_small":s+"[size='small'],"+s+" \r.kdds-icon_small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}"+(t?":host([size='large']),:host \r.kdds-icon_large":s+"[size='large'],"+s+" \r.kdds-icon_large")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-10);}"+(t?":host([variant='warning']) {":s+"[variant='warning'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-warning-1);}"+(t?":host([variant='success']) {":s+"[variant='success'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-success-1);}"+(t?":host([variant='error']) {":s+"[variant='error'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-error-1);}"+(t?":host([variant='light']) {":s+"[variant='light'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-neutral-base-70);}"+(t?":host [part='boundary']":s+" [part='boundary']")+d+" {--kds-c-icon-radius-border: var(--kdds-c-icon-radius-border, var(--kdds-g-radius-border-2));--kds-c-icon-sizing-border: var(--kdds-c-icon-sizing-border, 0);--kds-c-icon-color-border: var(--kdds-c-icon-color-border);--kds-c-icon-spacing-block-start: var(--kdds-c-icon-spacing-blockstart, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-block-end: var(--kdds-c-icon-spacing-blockend, var(--kdds-c-icon-spacing-block));--kds-c-icon-spacing-inline-start: var(\r\n --kdds-c-icon-spacing-inlinestart,\r\n var(--kdds-c-icon-spacing-inline)\r\n );--kds-c-icon-spacing-inline-end: var(--kdds-c-icon-spacing-inlineend, var(--kdds-c-icon-spacing-inline));display: inline-flex;}"+(t?":host .kdds-input__icon":s+" .kdds-input__icon")+d+" [part='boundary']"+d+" {border-style: none;}"+(t?":host [part='icon']":s+" [part='icon']")+d+" {--kds-c-icon-color-foreground: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-on-accent-1));--kds-c-icon-sizing-height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );--kds-c-icon-sizing-width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-g-sizing-9))\r\n );}"+(t?":host([icon-name*='action']),:host \r.kdds-icon_container_circle":s+"[icon-name*='action'],"+s+" \r.kdds-icon_container_circle")+d+" {--kdds-c-icon-spacing-block: var(--kdds-g-sizing-3);--kdds-c-icon-spacing-inline: var(--kdds-g-sizing-3);--kdds-c-icon-radius-border: calc(var(--kdds-g-radius-border-circle) / 2);--kdds-c-icon-sizing-border: var(--kdds-g-sizing-3);}"+(t?":host .kdds-icon":s+" .kdds-icon")+d+" {display: inline-flex;height: var(\r\n --kdds-c-icon-sizing-height,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );width: var(\r\n --kdds-c-icon-sizing-width,\r\n var(--kdds-c-icon-sizing, var(--kdds-s-icon-sizing, var(--kdds-g-sizing-9)))\r\n );fill: var(--kdds-c-icon-color-foreground, var(--kdds-g-color-neutral-base-100));}"+(t?":host .kdds-icon-text-default":s+" .kdds-icon-text-default")+d+" {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-icon-color-foreground-default,\r\n var(--kds-c-icon-color-foreground-default, var(--kdds-g-color-on-surface-1))\r\n );}"+(t?":host .kdds-icon-text-default.kdds-is-disabled":s+" .kdds-icon-text-default.kdds-is-disabled")+d+" {fill: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-assistive-text":s+" .kdds-assistive-text")+d+" {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}"+(t?":host .kdds-icon_disabled":s+" .kdds-icon_disabled")+d+" {background-color: currentcolor;}"+(t?":host .kdds-input__icon":s+" .kdds-input__icon")+d+" {--kdds-c-icon-sizing: calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-4));position: absolute;top: 50%;margin-block-start: -0.4375rem;line-height: var(--kdds-g-font-lineheight-1);border: 0;z-index: 2;}"+(t?":host([data-input-pill-search-primicon]) .kdds-icon":s+"[data-input-pill-search-primicon] .kdds-icon")+d+" {--kds-c-icon-sizing-height: 1.25rem;--kds-c-icon-sizing-width: 1.25rem;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']":s+"[data-input-pill-close-primicon] [part='icon']")+d+" {--kds-c-icon-color-foreground: none;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']:hover":s+"[data-input-pill-close-primicon] [part='icon']:hover")+d+" {--kds-c-icon-color-foreground: var(--kdds-g-color-accent-4);}"+(t?":host .kdds-icon_container":s+" .kdds-icon_container")+d+" {border-radius: var(--kdds-c-icon-radius-border, var(--kdds-s-icon-radius-border));background-color: var(\r\n --kdds-c-icon-color-background,\r\n var(--kdds-s-icon-color-background, var(--kds-c-icon-color-background))\r\n );}"}];var U=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return["*",d,",\r*",d,"::before,\r*",d,"::after {box-sizing: border-box;}",t?":host [part~='button']":s+" [part~='button']",d," {display: inline-flex;gap: var(--kds-c-button-spacing-gap, var(--kds-s-button-spacing-gap));background: var(--kds-c-button-color-background, var(--kds-s-button-color-background));color: var(--kds-c-button-text-color, var(--kds-s-button-color));font-weight: var(--kds-c-button-font-weight, var(--kds-s-button-font-weight));font-size: var(--kds-c-button-font-size, var(--kds-s-button-font-size, inherit));line-height: var(--kds-c-button-font-lineheight);height: var(--kds-c-button-sizing-height);width: var(--kds-c-button-sizing-width);padding-inline-start: var(\r\n --kds-c-button-spacing-inlinestart,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-inline-end: var(\r\n --kds-c-button-spacing-inlineend,\r\n var(\r\n --kds-c-button-spacing-inline,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-inline, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-start: var(\r\n --kds-c-button-spacing-blockstart,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );padding-block-end: var(\r\n --kds-c-button-spacing-blockend,\r\n var(\r\n --kds-c-button-spacing-block,\r\n var(--kds-c-button-spacing, var(--kds-s-button-spacing-block, var(--kds-s-button-spacing)))\r\n )\r\n );border-width: var(--kds-c-button-sizing-border, var(--kds-s-button-sizing-border, 1px));border-style: solid;border-color: var(--kds-c-button-color-border, var(--kds-s-button-color-border, currentColor));border-start-start-radius: var(\r\n --kds-c-button-radius-border-startstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-start-end-radius: var(\r\n --kds-c-button-radius-border-startend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-startend, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-start-radius: var(\r\n --kds-c-button-radius-border-endstart,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endstart, var(--kds-s-button-radius-border))\r\n )\r\n );border-end-end-radius: var(\r\n --kds-c-button-radius-border-endend,\r\n var(\r\n --kds-c-button-radius-border,\r\n var(--kds-s-button-radius-border-endend, var(--kds-s-button-radius-border))\r\n )\r\n );box-shadow: var(--kds-c-button-shadow, var(--kds-s-button-shadow));text-decoration: var(--kds-c-button-font-decoration);white-space: normal;user-select: none;align-items: center;justify-content: center;appearance: none;}",t?":host [part~='button']:hover":s+" [part~='button']:hover",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-hover, var(--kds-s-button-color-hover, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-hover,\r\n var(--kds-s-button-color-background-hover, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-hover,\r\n var(--kds-s-button-color-border-hover, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-hover, var(--kds-s-button-shadow-hover, revert));cursor: pointer;}",t?":host [part~='button']:focus":s+" [part~='button']:focus",d," {--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-focus,\r\n var(--kds-s-button-color-background-focus, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-focus,\r\n var(--kds-s-button-color-border-focus, revert)\r\n );--kds-c-button-text-color: var(--kds-c-button-text-color-focus, var(--kds-s-button-color-focus, revert));--kds-c-button-shadow: var(--kds-c-button-shadow-focus, var(--kds-s-button-shadow-focus, revert));outline: 0;}",t?":host [part~='button']:active":s+" [part~='button']:active",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-active, var(--kds-s-button-color-active, revert));--kds-c-button-color-background: var(\r\n --kds-c-button-color-background-active,\r\n var(--kds-s-button-color-background-active, revert)\r\n );--kds-c-button-color-border: var(\r\n --kds-c-button-color-border-active,\r\n var(--kds-s-button-color-border-active, revert)\r\n );--kds-c-button-shadow: var(--kds-c-button-shadow-active, var(--kds-s-button-shadow-active, revert));}",t?":host [part~='button']:disabled":s+" [part~='button']:disabled",d," {--kds-c-button-text-color: var(--kds-c-button-text-color-disabled);--kds-c-button-color-background: var(--kds-c-button-color-background-disabled);--kds-c-button-color-border: var(--kds-c-button-color-border-disabled);--kds-c-button-shadow: var(--kds-c-button-shadow-disabled);pointer-events: none;}",t?":host [part~='button']:disabled":s+" [part~='button']:disabled",d," *",d," {pointer-events: none;}",t?":host [part='button'][aria-pressed='true']":s+" [part='button'][aria-pressed='true']",d," {--kds-c-button-color-background: var(--kds-c-button-color-background-pressed, revert);--kds-c-button-color-border: var(--kds-c-button-color-border-pressed, revert);--kds-c-button-text-color: var(--kds-c-button-text-color-pressed, revert);--kds-c-button-shadow: var(--kds-c-button-shadow-pressed, revert);}",t?":host [part~='button']":s+" [part~='button']",d," {gap: var(--kdds-g-spacing-2);--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: currentcolor;--kds-c-button-font-lineheight: var(\r\n --kdds-c-button-neutral-font-lineheight,\r\n var(--kdds-s-button-font-lineheight, 1.875rem)\r\n );--kds-c-button-spacing-inline: var(\r\n --kdds-c-button-neutral-spacing-inline,\r\n var(--kdds-s-button-spacing-inline, var(--kdds-g-spacing-4)) ;\r\n );--kds-c-button-spacing-block: var(--kdds-c-button-neutral-spacing-block);--kds-c-button-radius-border-startstart: var(\r\n --kdds-c-button-radius-border-startstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endstart: var(\r\n --kdds-c-button-radius-border-endstart,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endstart, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-startend: var(\r\n --kdds-c-button-radius-border-startend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-startend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-radius-border-endend: var(\r\n --kdds-c-button-radius-border-endend,\r\n var(\r\n --kdds-c-button-radius-border,\r\n var(--kdds-s-button-radius-border-endend, var(--kdds-s-button-radius-border))\r\n )\r\n );--kds-c-button-color-background: var(\r\n --kdds-c-button-neutral-color-background,\r\n var(--kdds-g-color-surface-container-1)\r\n );--kds-c-button-color-background-hover: var(\r\n --kdds-c-button-neutral-color-background-hover,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-focus: var(\r\n --kdds-c-button-neutral-color-background-focus,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-background-active: var(\r\n --kdds-c-button-neutral-color-background-active,\r\n var(--kdds-g-color-surface-container-2)\r\n );--kds-c-button-color-border: var(--kdds-c-button-neutral-color-border, var(--kdds-g-color-border-2));--kds-c-button-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border-hover,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border-focus,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-color-border-active: var(\r\n --kdds-c-button-neutral-color-border-active,\r\n var(--kdds-g-color-border-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-neutral-text-color, var(--kdds-g-color-accent-2));--kds-c-button-text-color-hover: var(\r\n --kdds-c-button-neutral-text-color-hover,\r\n var(--kdds-s-button-color-hover, var(--kdds-g-color-accent-3))\r\n );--kds-c-button-text-color-focus: var(\r\n --kdds-c-button-neutral-text-color-focus,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-text-color-active: var(\r\n --kdds-c-button-neutral-text-color-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow: var(--kdds-c-button-neutral-shadow);--kds-c-button-shadow-focus: var(--kdds-c-button-neutral-shadow-focus);}",t?":host [part~='button']:disabled":s+" [part~='button']:disabled",d," {--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color-disabled: var(--kdds-g-color-on-disabled-1);--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);pointer-events: auto;cursor: default;}",t?":host([variant='brand']) [part~='button']":s+"[variant='brand'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(\r\n --kdds-c-button-brand-color-background,\r\n var(--kdds-g-color-accent-container-1)\r\n );--kdds-c-button-neutral-color-background-hover: var(\r\n --kdds-c-button-brand-color-background-hover,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-focus: var(\r\n --kdds-c-button-brand-color-background-focus,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-background-active: var(\r\n --kdds-c-button-brand-color-background-active,\r\n var(--kdds-g-color-accent-container-2)\r\n );--kdds-c-button-neutral-color-border: var(\r\n --kdds-c-button-brand-color-border,\r\n var(--kdds-g-color-border-accent-1)\r\n );--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-brand-color-border-hover,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-brand-color-border-focus,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-brand-color-border-active,\r\n var(--kdds-g-color-border-accent-2)\r\n );--kds-c-button-text-color: var(--kdds-c-button-brand-text-color, var(--kdds-g-color-on-accent-1));}",t?":host([variant='brand-outline']) [part~='button']":s+"[variant='brand-outline'] [part~='button']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);}",t?":host([variant='inverse']) [part~='button']":s+"[variant='inverse'] [part~='button']",d," {--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-accent-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-accent-2);}",t?":host([variant='inverse']) [part~='button']:disabled":s+"[variant='inverse'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: var(--kdds-g-color-border-disabled-2);--kds-c-button-text-color: var(--kdds-g-color-disabled-2);}",t?":host([variant='destructive']) [part~='button']":s+"[variant='destructive'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-error-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-error-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-error-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-error-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-error-2);--kds-c-button-text-color: var(--kdds-g-color-on-error-1);}",t?":host([variant='success']) [part~='button']":s+"[variant='success'] [part~='button']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-success-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-success-container-2);--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-success-1);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-success-2);--kdds-c-button-neutral-text-color: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-on-success-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-on-success-1);}",t?":host([variant='destructive-text']) [part~='button']":s+"[variant='destructive-text'] [part~='button']",d," {--kdds-c-button-neutral-text-color: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-hover: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-focus: var(--kdds-g-color-error-1);--kdds-c-button-neutral-text-color-active: var(--kdds-g-color-error-1);--kdds-c-button-neutral-color-border-hover: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-focus: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );--kdds-c-button-neutral-color-border-active: var(\r\n --kdds-c-button-neutral-color-border,\r\n var(--kdds-g-color-border-1)\r\n );}",t?":host([variant='brand']) [part~='button']:disabled"+d+",:host([variant='success']) [part~='button']:disabled"+d+",:host([variant='destructive']) [part~='button']:disabled":s+"[variant='brand'] [part~='button']:disabled"+d+","+s+"[variant='success'] [part~='button']:disabled"+d+","+s+"[variant='destructive'] [part~='button']:disabled",d," {--kds-c-button-color-background: var(--kdds-g-color-disabled-container-2);--kds-c-button-color-border: var(--kdds-g-color-border-disabled-1);--kds-c-button-text-color: var(--kdds-g-color-on-disabled-2);}",t?":host([variant='base']) [part~='button']"+d+",:host([variant='text']) [part~='button']":s+"[variant='base'] [part~='button']"+d+","+s+"[variant='text'] [part~='button']",d," {--kds-c-button-spacing-inline: 0;--kdds-c-button-neutral-text-color: var(--kdds-g-color-accent-2);--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-2);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;}",t?":host([variant='base']) [part~='button']:disabled"+d+",:host([variant='text']) [part~='button']:disabled":s+"[variant='base'] [part~='button']:disabled"+d+","+s+"[variant='text'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: transparent;}",t?":host([stretch]) [part~='button']":s+"[stretch] [part~='button']",d," {--kds-c-button-sizing-width: 100%;justify-content: center;}",t?":host([variant='brand']) [part~='button']"+d+",:host([variant='brand-outline']) [part~='button']"+d+",:host([variant='inverse']) [part~='button']"+d+",:host([variant='success']) [part~='button']"+d+",:host([variant='destructive']) [part~='button']"+d+",:host([variant='destructive-text']) [part~='button']":s+"[variant='brand'] [part~='button']"+d+","+s+"[variant='brand-outline'] [part~='button']"+d+","+s+"[variant='inverse'] [part~='button']"+d+","+s+"[variant='success'] [part~='button']"+d+","+s+"[variant='destructive'] [part~='button']"+d+","+s+"[variant='destructive-text'] [part~='button']",d," {justify-content: center;}",t?":host [part~='start']":s+" [part~='start']",d," {display: inline-flex;padding-inline-end: 0;}",t?":host [part~='end']":s+" [part~='end']",d," {display: inline-flex;padding-inline-start: 0;}",t?":host .kdds-assistive-text":s+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host .kdds-button_reset":s+" .kdds-button_reset",d," {font-size: inherit;color: inherit;line-height: inherit;padding: 0;background: transparent;border: 0;text-align: inherit;}",t?":host [part~='button-icon']":s+" [part~='button-icon']",d," {display: inline-flex;--kdds-c-icon-sizing-border: 0;--kdds-c-icon-sizing: 0.875rem;--kdds-c-icon-color-foreground: var(--kdds-c-buttonicon-color-foreground, var(--kdds-g-color-on-surface-1));--kds-c-button-spacing-inline: 0;--kds-c-button-sizing-height: var(--kdds-g-sizing-9);--kds-c-button-sizing-width: var(--kdds-g-sizing-9);--kdds-c-button-neutral-color-background: transparent;--kdds-c-button-neutral-color-background-hover: transparent;--kdds-c-button-neutral-color-background-focus: transparent;--kdds-c-button-neutral-color-background-active: transparent;--kdds-c-button-neutral-color-border: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-border-2);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-2);--kds-c-button-color-background-disabled: var(--kdds-g-color-surface-container-1);--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-1);}",t?":host [part~='button-icon']:hover":s+" [part~='button-icon']:hover",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-hover,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:focus":s+" [part~='button-icon']:focus",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-focus,\r\n var(--kdds-g-color-accent-3)\r\n );}",t?":host [part~='button-icon']:active":s+" [part~='button-icon']:active",d," {--kdds-c-icon-color-foreground: var(\r\n --kdds-c-buttonicon-color-foreground-active,\r\n var(--kdds-g-color-accent-3)\r\n );--kds-c-button-shadow-active: none;}",t?":host [part~='button-icon']:disabled":s+" [part~='button-icon']:disabled",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-disabled-1);--kds-c-button-color-background-disabled: transparent;}",t?":host([variant='bare']) [part~='button-icon']":s+"[variant='bare'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='container']) [part~='button-icon']":s+"[variant='container'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: transparent;--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-border-accent-3);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='brand']) [part~='button-icon']":s+"[variant='brand'] [part~='button-icon']",d," {--kdds-c-icon-color-foreground: var(--kdds-g-color-on-accent-1);}",t?":host([variant='bare-inverse']) [part~='button-icon']":s+"[variant='bare-inverse'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;--kdds-c-button-neutral-color-border: transparent;--kdds-c-button-neutral-color-border-hover: transparent;--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: color-mix(\r\n in oklab,\r\n var(--kdds-g-color-on-surface-inverse-1),\r\n transparent 25%\r\n );--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: transparent;}",t?":host([variant='border-inverse']) [part~='button-icon']":s+"[variant='border-inverse'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-border: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-hover: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-focus: var(--kdds-g-color-neutral-base-100);--kdds-c-button-neutral-color-border-active: var(--kdds-g-color-neutral-base-100);--kds-c-button-shadow-focus: 0 0 3px var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground: var(--kdds-g-color-neutral-base-100);--kdds-c-buttonicon-color-foreground-hover: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-focus: var(--kdds-g-color-neutral-base-95);--kdds-c-buttonicon-color-foreground-active: var(--kdds-g-color-neutral-base-90);--kds-c-button-color-background-disabled: transparent;--kds-c-button-color-border-disabled: var(--kdds-g-color-border-disabled-2);}",t?":host([variant='border-filled']) [part~='button-icon']":s+"[variant='border-filled'] [part~='button-icon']",d," {--kdds-c-button-neutral-color-background: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-hover: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-focus: var(--kdds-g-color-surface-container-1);--kdds-c-button-neutral-color-background-active: var(--kdds-g-color-surface-container-1);}",t?":host([variant='border-filled']) [part~='button-icon']:disabled":s+"[variant='border-filled'] [part~='button-icon']:disabled",d," {--kds-c-button-color-background-disabled: var(--kdds-g-color-disabled-container-1);}",t?":host([size='xx-small']) [part~='button-icon']":s+"[size='xx-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-5);--kds-c-button-sizing-width: var(--kdds-g-sizing-5);--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='x-small']) [part~='button-icon']":s+"[size='x-small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-6);--kds-c-button-sizing-width: var(--kdds-g-sizing-6);--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='small']) [part~='button-icon']":s+"[size='small'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-7);--kds-c-button-sizing-width: var(--kdds-g-sizing-7);}",t?":host([size='large']) [part~='button-icon']":s+"[size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: var(--kdds-g-sizing-10);--kds-c-button-sizing-width: var(--kdds-g-sizing-10);--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}",t?":host([size='x-small'][variant='bare']) [part~='button-icon']":s+"[variant='bare'][size='x-small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-3);}",t?":host([size='small'][variant='bare']) [part~='button-icon']":s+"[variant='bare'][size='small'] [part~='button-icon']",d," {--kdds-c-buttonicon-spacing-block: 0;--kdds-c-buttonicon-spacing-inline: 0;--kdds-c-icon-sizing: var(--kdds-g-sizing-4);}",t?":host([size='large'][variant='bare']) [part~='button-icon']"+d+",:host([size='large'][variant='bare-inverse']) [part~='button-icon']":s+"[variant='bare'][size='large'] [part~='button-icon']"+d+","+s+"[variant='bare-inverse'][size='large'] [part~='button-icon']",d," {--kds-c-button-sizing-height: auto;--kds-c-button-sizing-width: auto;}",t?":host [part='end']":s+" [part='end']",d," {padding-inline-start: 0;}",t?":host .kdds-assistive-text":s+" .kdds-assistive-text",d," {position: absolute !important;margin: -1px !important;border: 0 !important;padding: 0 !important;width: 1px !important;height: 1px !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;text-transform: none !important;white-space: nowrap !important;}",t?":host([size='large']) [part~='button-icon']"+d+",:host([size='medium']) [part~='button-icon']":s+"[size='large'] [part~='button-icon']"+d+","+s+"[size='medium'] [part~='button-icon']",d," {height: var(--kdds-c-buttonicon-sizing-height, var(--kdds-g-sizing-9));}"].join("")}];var Y=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return(t?":host .kdds-row-number":s+" .kdds-row-number")+d+"::after {content: counter(row-number);}"+(t?":host .kdds-text-body_small":s+" .kdds-text-body_small")+d+" {font-size: var(--kdds-g-font-scale-neg-1);}"+(t?":host .kdds-button_icon-small":s+" .kdds-button_icon-small")+d+" {width: var(--kdds-g-sizing-4);height: var(--kdds-g-sizing-4);}"+(t?":host .kdds-cell-edit__button":s+" .kdds-cell-edit__button")+d+" {width: var(--kdds-g-sizing-6);height: var(--kdds-g-sizing-6);flex-shrink: 0;}"+(t?":host .kdds-cell-edit__button:focus":s+" .kdds-cell-edit__button:focus")+d+" .kdds-button__icon_edit"+d+" {opacity: 1;}"+(t?":host .kdds-cell-edit__button:disabled":s+" .kdds-cell-edit__button:disabled")+d+" {color: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-button__icon_hint":s+" .kdds-button__icon_hint")+d+" {fill: var(--kdds-s-button-color, var(--kdds-g-color-on-surface-1));}"+(t?":host .kdds-button__icon_lock":s+" .kdds-button__icon_lock")+d+" {opacity: 1;}"+(t?":host .kdds-button__icon_edit":s+" .kdds-button__icon_edit")+d+" {opacity: 1;fill: var(--kdds-g-color-accent-2);}"+(t?":host .kdds-button__icon_edit:hover"+d+",:host \r.kdds-button__icon_edit:focus":s+" .kdds-button__icon_edit:hover"+d+","+s+" \r.kdds-button__icon_edit:focus")+d+" {fill: var(--kdds-g-color-on-surface-3);}"+(t?":host [part='button button-icon']":s+" [part='button button-icon']")+d+" {border: none;opacity: 0;}"+(t?":host(:hover) [part='button button-icon']":s+":hover [part='button button-icon']")+d+" {opacity: 1;}"}];var Q=[function(e,t,a){var d=e?"["+e+"]":"",s=e?"["+e+"-host]":"";return[":focus-visible",d," {outline: 0;}",t?":host [part='datagrid-wrapper']":s+" [part='datagrid-wrapper']",d," {display: flex;flex-direction: column;position: relative;}",t?":host [part='datagrid']":s+" [part='datagrid']",d," {display: flex;flex-direction: column;flex: 1 1 auto;height: 100%;background-color: var(--_kdds-c-datagrid-color-background);}",t?":host [part='datagrid-header']":s+" [part='datagrid-header']",d," {color: var(--_kdds-c-datagrid-header-text-color, #514f4d);background-color: var(--_kdds-c-datagrid-header-color-background, var(--_kdds-c-datagrid-color-background, #fafaf9));border-block-start: var(--kdds-g-sizing-border-1) solid var(--_kdds-c-datagrid-header-color-border, #babfc7);width: 100%;--_kdds-c-datagrid-row-color-border: var(--_kdds-c-datagrid-header-color-border, #babfc7);}",t?":host [fixed-header='true']":s+" [fixed-header='true']",d," [part='datagrid-header']",d," {position: sticky;top: 0;min-height: 2rem;z-index: 1;}",t?":host [part='cell']:hover":s+" [part='cell']:hover",d," {--_kdds-c-datagrid-cell-color-background: var(--_kdds-c-datagrid-cell-color-background-hover);}",t?":host [part='cell'][aria-selected='true']":s+" [part='cell'][aria-selected='true']",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [part='cell']:focus-within":s+" [part='cell']:focus-within",d," {--_kdds-c-datagrid-cell-color-border: var(--_kdds-c-datagrid-cell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']":s+" [role='columnheader']",d," {font-weight: var(--kdds-g-font-weight-7);}",t?":host [role='columnheader'][aria-sort]:hover":s+" [role='columnheader'][aria-sort]:hover",d," {background-color: var(--_kdds-c-datagrid-headercell-color-background-hover, white);}",t?":host [role='columnheader'][aria-selected='true']":s+" [role='columnheader'][aria-selected='true']",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));}",t?":host [role='columnheader']:focus-within":s+" [role='columnheader']:focus-within",d," {border-inline-end-color: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3));box-shadow: var(--_kdds-c-datagrid-headercell-color-border-focus, var(--kdds-g-color-brand-base-contrast-3)) -3px 0 0 0 inset;}",t?":host [data-row-key-value='HEADER']":s+" [data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [data-row-key-value='HEADER']":s+" [data-row-key-value='HEADER']",d," > *:focus",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [part='value']":s+" [part='value']",d," {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 100%;}[data-sort]",d," {border: none;background: transparent;display: inline-flex;min-width: 0;flex: 1 1 0%;}[data-sort]",d,"::after {content: '';position: absolute;inset: 0;}[data-sort]",d," [part='value']",d," {width: auto;}",t?"[data-resize-handle]:hover"+d+",\r:host [type='range']:focus":"[data-resize-handle]:hover"+d+","+s+" [type='range']:focus",d," ~ [data-resize-handle]",d," {opacity: 1;}[data-resize-handle]",d," {width: var(--kdds-g-sizing-3);position: absolute;top: calc(var(--kdds-g-sizing-border-1) * -1);right: calc(var(--kdds-g-sizing-border-1) * -1);bottom: calc(var(--kdds-g-sizing-border-1) * -1);cursor: col-resize;opacity: 0;}[data-resize-handle]",d,"::before {content: '';width: var(--kdds-g-sizing-border-1);height: 100vh;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: calc(var(--kdds-g-sizing-border-1) * -1);}[data-resize-handle]",d,"::after {content: '';width: 4px;height: 100%;background-color: var(--_kdds-c-datagrid-resize-color-background, var(--kdds-g-color-brand-base-contrast-2));position: absolute;top: 0;right: 0;}",t?":host [part='datagrid-body']":s+" [part='datagrid-body']",d," [role~='row']:hover",d," {background-color: var(--_kdds-c-datagrid-row-color-background-hover, #f3f2f2);}",t?":host [aria-readonly='true']":s+" [aria-readonly='true']",d," {--_kdds-c-datagrid-cell-color-background-hover: inherit;}",t?":host [aria-readonly='false']":s+" [aria-readonly='false']",d," {--_kdds-c-datagrid-cell-color-background-hover: #fff;}",t?":host .kdds-scrollable_y":s+" .kdds-scrollable_y",d," {-webkit-overflow-scrolling: touch;max-height: 100%;overflow: hidden;overflow-y: auto;}",t?":host .kdds-scrollable_x":s+" .kdds-scrollable_x",d," {-webkit-overflow-scrolling: touch;max-width: 100%;overflow: hidden;overflow-x: auto;}",t?":host .kdds-line-height_reset":s+" .kdds-line-height_reset",d," {line-height: var(--kdds-g-font-lineheight-1);}",t?":host {":s+" {","height: 100%;width: 100%;display: inline;}",t?":host .kdds-table_header-fixed_container":s+" .kdds-table_header-fixed_container",d," {position: relative;background-color: var(--kdds-c-datatable-background);overflow-y: hidden;overflow-x: auto;padding-top: var(--kdds-c-datatable-header-line-height);}",t?":host .kdds-rangeselection_active":s+" .kdds-rangeselection_active",d," {user-select: none;}",t?":host .kdds-table_header-fixed_container":s+" .kdds-table_header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table":s+" .kdds-table",d," {background-color: var(--kdds-c-datatable-background);font-size: inherit;}",t?":host .kdds-table"+d+" th"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th"+d+","+s+" .kdds-table",d," td",d," {padding: var(--kdds-c-datatable-cell-padding);white-space: nowrap;position: relative;color: var(--kdds-c-datatable-cell-color);}",t?":host .kdds-table":s+" .kdds-table",d," th",d," {font-weight: var(--kdds-g-font-weight-4);}",t?":host .kdds-table":s+" .kdds-table",d," th:focus",d," {outline: 0;}",t?":host .kdds-table":s+" .kdds-table",d," thead",d," th",d," {background-color: var(--kdds-g-color-neutral-base-95);color: var(--kdds-g-color-neutral-base-30);font-weight: var(--kdds-g-font-weight-4);line-height: normal;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-hover);}",t?":host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr:focus",d," {box-shadow: var(--kdds-g-shadow-outset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-brand-base-50));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+","+s+" .kdds-table",d," tbody",d," tr.kdds-is-selected",d," > th",d," {background-color: var(--kdds-c-datatable-row-background-active);}",t?":host .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tbody",d," tr.kdds-is-selected:hover",d," > th",d," {background-color: hsl(212.29999999999995, 100%, 95.5%);}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a",d," {color: var(--kdds-g-link-color-focus, var(--kdds-g-color-brand-base-20));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+",\r:host .kdds-table:not(.kdds-no-row-hover)":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+","+s+" .kdds-table:not(.kdds-no-row-hover)",d," tr.kdds-is-selected:hover",d," a[aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);cursor: default;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-shrink",d," {width: 1%;}",t?":host .kdds-table"+d+" .kdds-cell-buffer_left"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-buffer_left"+d+","+s+" .kdds-table",d," .kdds-cell-buffer--left",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table"+d+" .kdds-cell-buffer_right"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-buffer_right"+d+","+s+" .kdds-table",d," .kdds-cell-buffer--right",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table":s+" .kdds-table",d," tbody",d," tr",d," {counter-increment: row-number;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-row-number",d,"::after {content: counter(row-number);}",t?":host .kdds-table"+d+" th:focus"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th:focus"+d+","+s+" .kdds-table",d," [role='gridcell']:focus",d," {outline: 0;}",t?":host .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+",\r:host .kdds-table:not(.kdds-rangeselection_active)":s+" .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+","+s+" .kdds-table:not(.kdds-rangeselection_active)",d," [role='rowheader'].kdds-has-focus",d," {border-color: var(--kdds-c-datatable-cell-border-focus);}",t?":host .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+",\r:host .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+","+s+" .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+","+s+" .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+","+s+" .kdds-table",d," [role='gridcell'].kdds-has-focus.kdds-cell_action-mode",d," {border-block-end: var(--kdds-g-sizing-border-3) solid var(--kdds-g-color-brand-base-50, var(--kdds-g-color-brand-base-30));}",t?":host .kdds-table"+d+" th:active"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" th:active"+d+","+s+" .kdds-table",d," [role='gridcell']:active",d," {box-shadow: none;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-radio",d," [type='radio']",d," + .kdds-radio__label",d," .kdds-radio_faux",d," {margin-inline-end: 0;}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+",\r:host .kdds-table--cell-buffer":s+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+s+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+s+" .kdds-table--cell-buffer",d," tr",d," > td:first-child",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+",\r:host .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+",\r:host .kdds-table--cell-buffer":s+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+s+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+","+s+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+s+" .kdds-table--cell-buffer",d," tr",d," > td:last-child",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table_bordered"+d+",\r:host .kdds-table--bordered":s+" .kdds-table_bordered"+d+","+s+" .kdds-table--bordered",d," {border-collapse: separate;}",t?":host .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+",\r:host .kdds-table--bordered":s+" .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+","+s+" .kdds-table--bordered",d," thead",d," > tr",d," + tr",d," > th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);}",t?":host .kdds-table_bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table_bordered"+d+" tbody"+d+" th"+d+",\r:host .kdds-table--bordered"+d+" tbody"+d+" td"+d+",\r:host .kdds-table--bordered":s+" .kdds-table_bordered"+d+" tbody"+d+" td"+d+","+s+" .kdds-table_bordered"+d+" tbody"+d+" th"+d+","+s+" .kdds-table--bordered"+d+" tbody"+d+" td"+d+","+s+" .kdds-table--bordered",d," tbody",d," th",d," {border-block-start: var(--kdds-c-datatable-cell-border-width) solid var(--kdds-c-datatable-cell-border);border-inline: var(--kdds-c-datatable-cell-border-width) solid transparent;border-block-end: var(--kdds-c-datatable-cell-border-width) solid transparent;}",t?":host .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+","+s+" .kdds-table",d," > tbody",d," > tr",d," > th",d," {height: var(--kdds-c-datatable-cell-line-height);background-color: var(--kdds-c-datatable-cell-background);}",t?":host .kdds-table_col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table_col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table_col-bordered"+d+" td"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" td"+d+" + td"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + th"+d+",\r:host .kdds-table--col-bordered"+d+" th"+d+" + td"+d+",\r:host .kdds-table--col-bordered":s+" .kdds-table_col-bordered"+d+" td"+d+" + td"+d+","+s+" .kdds-table_col-bordered"+d+" th"+d+" + th"+d+","+s+" .kdds-table_col-bordered"+d+" th"+d+" + td"+d+","+s+" .kdds-table_col-bordered"+d+" td"+d+" + th"+d+","+s+" .kdds-table--col-bordered"+d+" td"+d+" + td"+d+","+s+" .kdds-table--col-bordered"+d+" th"+d+" + th"+d+","+s+" .kdds-table--col-bordered"+d+" th"+d+" + td"+d+","+s+" .kdds-table--col-bordered",d," td",d," + th",d," {border-inline-start: var(--kdds-g-sizing-border-1) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+",\r:host .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+",\r:host .kdds-table--striped":s+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+s+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+","+s+" .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+s+" .kdds-table--striped",d," tbody",d," tr:nth-of-type(even)",d," > th",d," {background-color: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-table_fixed-layout"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+","+s+" .kdds-table--fixed-layout",d," {table-layout: fixed;width: 100%;white-space: nowrap;}",t?":host .kdds-table_fixed-layout"+d+" thead"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" thead"+d+","+s+" .kdds-table--fixed-layout",d," thead",d," {background-color: var(--kdds-g-color-neutral-base-100);}",t?":host .kdds-table_fixed-layout"+d+" tbody"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" tbody"+d+","+s+" .kdds-table--fixed-layout",d," tbody",d," {transform: translateZ(0);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink",d," {width: var(--kdds-g-sizing-10);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:nth-child(n)",d," {padding-inline-start: 0;padding-inline-end: 0;}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:first-child",d," {text-align: right;padding-inline-end: var(--kdds-g-spacing-2);}",t?":host .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+",\r:host .kdds-table--fixed-layout":s+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+","+s+" .kdds-table--fixed-layout",d," .kdds-cell-shrink:last-child",d," {text-align: left;padding-inline-start: var(--kdds-g-spacing-2);}",t?[":host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",\r:host .kdds-table_column-1-wrap"].join(""):[s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",",s," .kdds-table_column-1-wrap"].join(""),d," tbody",d," tr",d," > *:nth-child(15)",d," .kdds-truncate",d," {overflow-wrap: break-word;word-wrap: break-word;hyphens: none;white-space: normal;}",t?":host [class*='kdds-table_column-']":s+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d," {overflow: hidden;position: relative;max-height: calc(var(--kdds-g-sizing-10) + var(--kdds-g-sizing-2));}",t?":host [class*='kdds-table_column-']":s+" [class*='kdds-table_column-']",d," tr",d," td",d," .kdds-truncate",d,"::after {content: '';position: absolute;top: calc(var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2));bottom: 0;right: 0;width: 50%;background: linear-gradient(to right, transparent 0%, var(--kdds-g-color-neutral-base-100) 69%);}",t?":host [class*='kdds-table_column-']":s+" [class*='kdds-table_column-']",d," tr:hover",d," td",d," .kdds-truncate",d,"::after {background: linear-gradient(to right, rgba(250, 250, 249, 0%) 0%, #fafaf9 69%);}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+",\r:host .kdds-table--resizable-cols":s+" .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+","+s+" .kdds-table--resizable-cols",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+",\r:host .kdds-table--resizable-cols":s+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+","+s+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," {width: var(--kdds-g-sizing-4);right: 0;}",t?":host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,\r:host .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,\r:host .kdds-table--resizable-cols":s+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+s+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,"+s+" .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+s+" .kdds-table--resizable-cols",d," thead",d," th:last-of-type",d," .kdds-resizable__handle",d," .kdds-resizable__divider",d,"::after {right: 0;}",t?":host .kdds-table_resizable-cols":s+" .kdds-table_resizable-cols",d," thead",d," th:hover",d," {--kdds-s-datatable-column-resizer-display: block;}",t?":host .kdds-table_joined"+d+" table"+d+",\r:host .kdds-table.kdds-has-top-magnet":s+" .kdds-table_joined"+d+" table"+d+","+s+" .kdds-table.kdds-has-top-magnet",d," table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}",t?":host .kdds-table_joined-wrapper":s+" .kdds-table_joined-wrapper",d," {padding: var(--kdds-g-spacing-4) var(--kdds-g-spacing-4) 0 var(--kdds-g-spacing-4);border-radius: var(--kdds-g-radius-border-2);background-clip: padding-box;}",t?":host .kdds-table_joined-wrapper":s+" .kdds-table_joined-wrapper",d," .kdds-table",d," {border-radius: 0 0 var(--kdds-g-radius-border-2) var(--kdds-g-radius-border-2);box-shadow: 0 var(--kdds-g-sizing-border-2) var(--kdds-g-sizing-border-2) 0 rgba(0, 0, 0, 10%);}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+","+s+" .kdds-max-medium-table--stacked",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" thead"+d+","+s+" .kdds-max-medium-table--stacked",d," thead",d," {position: absolute !important;margin: calc(var(var(--kdds-g-sizing-border-1) * 1px)) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" tr"+d+","+s+" .kdds-max-medium-table--stacked",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th"+d+","+s+" .kdds-max-medium-table_stacked"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked",d," td",d," {display: block;padding: var(--kdds-g-sizing-4);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table--stacked",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+","+s+" .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table--stacked",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-sizing-4);}",t?":host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)":s+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+s+" .kdds-max-medium-table--stacked",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+","+s+" .kdds-max-medium-table--stacked",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table_stacked"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked":s+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table--stacked"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked",d," th",d,"::before {padding-block-end: var(--kdds-g-spacing-1);}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," {border: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," thead",d," {position: absolute !important;margin: calc(var(--kdds-g-sizing-border-1) * -1) !important;border: 0 !important;padding: 0 !important;width: var(--kdds-g-sizing-border-1) !important;height: var(--kdds-g-sizing-border-1) !important;overflow: hidden !important;clip: rect(0 0 0 0) !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," th",d," {border-block-start: 0;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," {display: block;border-block-start: var(--kdds-g-sizing-border-2) solid var(--kdds-g-color-border-base-1, var(--kdds-g-color-palette-neutral-90));}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {display: block;padding: var(--kdds-g-spacing-3);max-width: 100%;width: 100%;clear: both;white-space: normal;overflow: hidden;text-align: left;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," td.kdds-truncate",d," {max-width: 100%;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,"+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {font-size: var(--kdds-g-font-scale-neg-1);line-height: var(--kdds-g-font-lineheight-2);color: var(--kdds-g-color-neutral-base-30);text-transform: uppercase;letter-spacing: 0.0625rem;display: block;padding-block-end: var(--kdds-g-spacing-1);content: attr(data-label);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+","+s+" .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," tr",d," > td:last-child",d," {padding: var(--kdds-g-spacing-3);}",t?":host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)":s+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+s+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)",d," tbody",d," tr:hover",d," th",d," {background-color: inherit !important;box-shadow: none !important;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-is-interactive",d," .kdds-button",d," {visibility: visible;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-cell-shrink",d," {width: auto;}}@media (width < 48em) {",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d," {text-align: right;}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+s+" .kdds-max-medium-table--stacked-horizontal",d," td",d,"::before {float: left;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+",\r :host .kdds-max-medium-table--stacked-horizontal":s+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+","+s+" .kdds-max-medium-table--stacked-horizontal",d," .kdds-truncate",d," {max-width: 100%;}}",t?":host .kdds-table_edit_container:focus"+d+",\r:host .kdds-table--edit_container:focus":s+" .kdds-table_edit_container:focus"+d+","+s+" .kdds-table--edit_container:focus",d," {outline: none;}",t?":host .kdds-table_edit_container:focus"+d+"::before,\r:host .kdds-table--edit_container:focus":s+" .kdds-table_edit_container:focus"+d+"::before,"+s+" .kdds-table--edit_container:focus",d,"::before {content: ' ';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;background-color: var(--kdds-g-color-neutral-base-95);box-shadow: 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-border-brand-2, var(--kdds-g-color-palette-blue-60)) inset;}",t?":host .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+",\r:host .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container:focus":s+" .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+s+" .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+","+s+" .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+s+" .kdds-table--edit_container:focus",d," .kdds-table--edit_container-message",d," {display: block;position: absolute;top: 50%;left: 50%;width: var(--kdds-g-sizing-15);margin-block-start: calc((var(--kdds-g-sizing-9) + var(--kdds-g-sizing-2)) * -1);margin-inline-start: calc(var(--kdds-g-sizing-13) * -1);background-color: var(--kdds-g-color-neutral-base-100);text-align: center;z-index: 1;}",t?":host .kdds-table_edit_container-message"+d+",\r:host .kdds-table--edit_container-message":s+" .kdds-table_edit_container-message"+d+","+s+" .kdds-table--edit_container-message",d," {display: none;}",t?":host .kdds-table_edit"+d+" thead"+d+" th"+d+",\r:host .kdds-table--edit":s+" .kdds-table_edit"+d+" thead"+d+" th"+d+","+s+" .kdds-table--edit",d," thead",d," th",d," {padding: 0;}",t?":host .kdds-table_edit"+d+" .kdds-cell-error"+d+",\r:host .kdds-table--edit":s+" .kdds-table_edit"+d+" .kdds-cell-error"+d+","+s+" .kdds-table--edit",d," .kdds-cell-error",d," {padding-inline-start: 0;}",t?":host .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+",\r:host .kdds-table--edit:not(.kdds-no-cell-focus)":s+" .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+","+s+" .kdds-table--edit:not(.kdds-no-cell-focus)",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-background: var(--kdds-c-datatable-cell-edit-background-hover);--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit",d," {--kdds-s-datatable-cell-edit-border-hover: var(--kdds-c-datatable-cell-edit-border-hover);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-is-edited",d," {background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table--edit.kdds-table":s+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+","+s+" .kdds-table--edit.kdds-table",d," tbody",d," tr:hover",d," > .kdds-cell-edit.kdds-has-error",d," {}",t?":host .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+",\r:host .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+",\r:host .kdds-table--edit":s+" .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+","+s+" .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+","+s+" .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+","+s+" .kdds-table--edit",d," .kdds-button__icon--edit:focus",d," {fill: var(--kdds-g-color-brand-base-50, var(--kdds-g-color-palette-blue-60));}",t?":host .kdds-has-focus":s+" .kdds-has-focus",d," .kdds-th__action",d," {}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit",d," {outline: 0;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," {}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+",\r:host .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+","+s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+","+s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+","+s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," .kdds-button__icon--lock",d," {opacity: 1;}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus:hover",d," {}",t?":host .kdds-table":s+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," a:focus",d," {text-decoration: underline;outline: none;}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+","+s+" .kdds-table",d," .kdds-cell-edit.kdds-is-edited:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+","+s+" .kdds-table",d," .kdds-cell-edit.kdds-has-error:hover",d," {font-weight: var(--kdds-g-font-weight-7);background-color: var(--kdds-g-color-palette-yellow-90, #faffbd);}",t?":host .kdds-table_header-fixed_container"+d+"::before,\r:host .kdds-table--header-fixed_container":s+" .kdds-table_header-fixed_container"+d+"::before,"+s+" .kdds-table--header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table_header-fixed"+d+",\r:host .kdds-table--header-fixed":s+" .kdds-table_header-fixed"+d+","+s+" .kdds-table--header-fixed",d," {border-block-start: 0;}",t?":host .kdds-table_header-fixed"+d+" thead"+d+" th"+d+",\r:host .kdds-table--header-fixed":s+" .kdds-table_header-fixed"+d+" thead"+d+" th"+d+","+s+" .kdds-table--header-fixed",d," thead",d," th",d," {padding: 0;border-block-start: 0;position: static;}",t?":host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+",\r:host .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+",\r:host .kdds-table--header-fixed":s+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+s+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+","+s+" .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+s+" .kdds-table--header-fixed",d," tbody",d," tr:first-child",d," th",d," {}",t?":host .kdds-table_header-hidden":s+" .kdds-table_header-hidden",d," {border-block-start: 0;}",t?":host .kdds-tree":s+" .kdds-tree",d," .kdds-tree__item",d," .kdds-is-disabled",d," {visibility: hidden;}",t?":host .kdds-tree":s+" .kdds-tree",d," .kdds-is-selected",d," {background: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-tree":s+" .kdds-tree",d," .kdds-is-focused",d," {text-decoration: underline;}",t?":host .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":s+" .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+s+" .kdds-tree",d," :host [aria-expanded='false']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+",\r:host .kdds-tree":s+" .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+s+" .kdds-tree",d," :host [aria-expanded='true']",d," > .kdds-tree__item",d," > .kdds-button[aria-controls]",d," > span",d," > .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," a",d," {color: var(--kdds-g-color-neutral-base-10);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," a:hover",d," {text-decoration: none;}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," a:focus",d," {outline: 0;text-decoration: underline;}",t?":host .kdds-tree-container"+d+",\r:host .kdds-tree_container":s+" .kdds-tree-container"+d+","+s+" .kdds-tree_container",d," {min-width: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));max-width: var(--kdds-c-tree-sizing-max-width, var(--kds-c-tree-sizing-max-width, calc(var(--kdds-g-sizing-15) + var(--kdds-g-sizing-12))));}",t?":host .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+",\r:host .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+",\r:host .kdds-tree_container":s+" .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+","+s+" .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+","+s+" .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+","+s+" .kdds-tree_container",d," > .kdds-text-heading--label",d," {margin-block-end: var(--kdds-g-spacing-2);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," {display: flex;padding: 0 calc(var(--kdds-g-sizing-1) + var(--kdds-g-sizing-9)) var(--kdds-g-sizing-5);}",t?":host .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree__item:hover":s+" .kdds-tree__item.kdds-is-hovered"+d+","+s+" .kdds-tree__item:hover",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem']:focus",d," {outline: 0;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem']:focus",d," > .kdds-tree__item",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;text-decoration: none;box-shadow: var(--kdds-g-shadow-inset-focus-1, 0 0 var(--kdds-g-sizing-border-3) var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem'][aria-selected='true']:focus",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset,\r\n 0 0 0 var(--kdds-g-sizing-border-2) var(--kdds-g-color-neutral-base-100),\r\n 0 0 0 var(--kdds-g-sizing-border-4) var(--kdds-g-color-brand-base-40, var(--kdds-g-color-border-accent-2));}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {background: rgba(21, 137, 238, 10%);box-shadow: var(--kdds-g-color-palette-blue-60) var(--kdds-g-sizing-border-4) 0 0 inset;}",t?":host [dir='rtl']":s+" [dir='rtl']",d," .kdds-tree",d," [role='treeitem'][aria-selected='true']",d," > .kdds-tree__item",d," {box-shadow: var(--kdds-g-color-palette-blue-60) calc(var(--kdds-g-sizing-border-4) * -1) 0 0 inset;}",t?":host .kdds-tree":s+" .kdds-tree",d," [aria-disabled='true']",d," {color: var(--kdds-g-color-neutral-base-80);}",t?":host .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+",\r:host .kdds-tree":s+" .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+","+s+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item:hover",d," {background-color: transparent;cursor: default;}",t?":host .kdds-tree":s+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item-meta",d," {color: inherit;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem']",d," > [role='group']",d," {display: none;}",t?":host .kdds-tree":s+" .kdds-tree",d," [role='treeitem'][aria-expanded='true']",d," > [role='group']",d," {display: block;}",t?":host [aria-expanded='false']":s+" [aria-expanded='false']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(0deg);}",t?":host [aria-expanded='true']":s+" [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transition: 0.2s transform ease-in-out;transform: rotate(90deg);}",t?":host [dir='rtl']":s+" [dir='rtl']",d," [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transform: rotate(-90deg);}",t?":host [aria-level='1']":s+" [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-4);}",t?":host [aria-level='2']":s+" [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-6);}",t?":host [aria-level='3']":s+" [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-3);}",t?":host [aria-level='4']":s+" [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-10);}",t?":host [aria-level='5']":s+" [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-12);}",t?":host [aria-level='6']":s+" [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-4));}",t?":host [aria-level='7']":s+" [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-6));}",t?":host [aria-level='8']":s+" [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-8));}",t?":host [aria-level='9']":s+" [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-10));}",t?":host [aria-level='10']":s+" [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 2);}",t?":host [aria-level='11']":s+" [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-4));}",t?":host [aria-level='12']":s+" [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-6));}",t?":host [aria-level='13']":s+" [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-8));}",t?":host [aria-level='14']":s+" [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-10));}",t?":host [aria-level='15']":s+" [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 3);}",t?":host [aria-level='16']":s+" [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-4));}",t?":host [aria-level='17']":s+" [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-6));}",t?":host [aria-level='18']":s+" [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-8));}",t?":host [aria-level='19']":s+" [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-10));}",t?":host [aria-level='20']":s+" [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 4);}",t?":host .kdds-tree__item-label":s+" .kdds-tree__item-label",d," {display: block;}",t?":host .kdds-tree__item-meta":s+" .kdds-tree__item-meta",d," {display: block;color: var(--kdds-g-color-neutral-base-30);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," .kdds-button",d," {align-self: flex-start;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-tree__item":s+" .kdds-tree__item",d," .kdds-pill",d," {margin-inline-start: var(--kdds-g-spacing-3);}",t?":host .kdds-tree__group-header":s+" .kdds-tree__group-header",d," {font-size: var(--kdds-g-font-scale-1);font-weight: var(--kdds-g-font-weight-7);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," .kdds-tree__item",d," {line-height: var(--kdds-g-font-lineheight-4);}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+","+s+" .kdds-table--tree",d," .kdds-tree__item",d," a",d," {color: var(--kdds-g-link-color, var(--kdds-g-color-palette-blue-50));}",t?":host .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+","+s+" .kdds-table--tree",d," .kdds-tree__item",d," a:hover",d," {text-decoration: underline;}",t?":host .kdds-table_tree"+d+" .kdds-button"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-button"+d+","+s+" .kdds-table--tree",d," .kdds-button",d," {align-self: center;}",t?":host .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+","+s+" .kdds-table--tree",d," .kdds-button:not(.kdds-th__action-button)",d," {margin-block-start: 0;}",t?":host .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-5);}",t?":host .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-7);}",t?":host .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-9);}",t?":host .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-11);}",t?":host .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='6']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='7']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='8']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-10) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='9']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='11']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='12']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='13']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='14']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 2) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-2));}",t?":host .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='16']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-5));}",t?":host .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='17']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-7));}",t?":host .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='18']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-9));}",t?":host .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='19']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 3) + var(--kdds-g-spacing-11));}",t?":host .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+",\r:host .kdds-table--tree":s+" .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+","+s+" .kdds-table--tree",d," [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc((var(--kdds-g-spacing-12) * 4) + var(--kdds-g-spacing-2));}",t?":host .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+","+s+" .kdds-table",d," tbody",d," tr.kdds-table-expand-container:hover",d," > td",d," {background-color: var(--kdds-c-datatable-expand-row-background);}",t?":host .kdds-table":s+" .kdds-table",d," tbody",d," tr[data-row-key-value='EXPAND']",d," > td",d," {padding: 0;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-selected",d," {background-color: var(--kdds-c-datatable-range-selection-background) !important;}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-top",d," {border-block-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-bottom",d," {border-block-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-left",d," {border-inline-start-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+",\r:host .kdds-table":s+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+","+s+" .kdds-table",d," tbody",d," tr",d," > th.kdds-datatable-cell-range-right",d," {border-inline-end-color: var(--kdds-c-datatable-range-selection-border);}",t?":host .kdds-table":s+" .kdds-table",d," tbody",d," tr",d," > td.kdds-datatable-nodata-cell",d," {padding: var(--kdds-c-datatable-default-text-margin-vertical) 0;border-inline-start: none;border-inline-end: none;}"].join("")}];var G=[[s.stylesheet0,o.stylesheet3,r.stylesheet1,n.stylesheet3,i.stylesheet2,l.stylesheet5,c.stylesheet4,u.stylesheet7,q,U,Y,Q],function(e,t,a){var d=e?"["+e+"]":"";return[".table-header",d," {height: 0;}[part='cell']",d," {position: relative;padding-inline: var(--kdds-g-sizing-3, 0.5rem);padding-block: var(--kdds-g-sizing-2, 0.25rem);white-space: nowrap;align-items: center;}[role='gridcell']:focus",d,",\r[role='rowheader']:focus",d," {box-shadow: var(\r\n --kdds-g-shadow-6,\r\n var(\r\n --kwc-shadowButtonFocus,\r\n 0 0 3px var(--kdds-g-color-brand-base-50, #0176d3)\r\n )\r\n );outline: none;}[role='columnheader']",d," {outline: none;color: var(--kdds-g-color-info-1, #514f4d);font-weight: var(--kdds-g-font-weight-7, 700);line-height: normal;}[data-row-key-value]",d," {border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='gridcell']:not(.kdds-has-focus)",d,",\r[data-rowgroup-body]",d,"\r [data-row-key-value]:hover",d,"\r [role='rowheader']:not(.kdds-has-focus)",d," {box-shadow:\r\n inset 0 var(--kdds-g-sizing-border-1, 1px)\r\n var(--kdds-g-color-border-1, #c9c9c9),\r\n inset 0 calc(var(--kdds-g-sizing-border-1, 1px) * -1)\r\n var(--kdds-g-color-border-1, #c9c9c9);}.kdds-table_header-fixed",d," [data-row-key-value]:first-child",d," {border-top: 0;}[role='row']",d," {counter-increment: row-number;display: flex;}[role='row']:hover",d,",\r[data-row-key-value='HEADER']",d," > *",d," {background-color: var(--kdds-g-color-palette-neutral-95, #f3f2f2);}[role='row'].kdds-is-selected",d," {background-color: var(--kdds-g-color-palette-neutral-90, #ecebea);}.kdds-cell-edit:hover",d," {background-color: var(--kdds-g-color-surface-container-1);}[part='cell'].kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",a?"":'[dir="rtl"]'," div[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > span[data-inline-type='formatted-number']",a?":dir(rtl)":"",d,",",a?"":'[dir="rtl"]'," \rdiv[role='grid'][data-render-mode-inline='true']",d,"\r > div[role='rowgroup'][data-rowgroup-body]",d,"\r > div[role='row']",d,"\r > div[role='gridcell']",d,"\r > span",d,"\r > div",d,"\r > a[data-inline-type='formatted-phone']",a?":dir(rtl)":"",d," {direction: ltr;unicode-bidi: embed;}[part='spinner']",d," {padding: var(--kdds-g-sizing-2, 0.25rem) var(--kdds-g-sizing-3, 0.5rem);border-top: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-border-1, #c9c9c9);}[data-rowgroup-header]",d," {display: block;}[data-row-key-value='HEADER']",d," {display: table-row;}[data-row-key-value='HEADER']",d," > *",d," {display: table-cell;position: relative;border-bottom: var(--kdds-g-sizing-border-1, 1px) solid\r\n var(--kdds-g-color-neutral-base-70, var(--kwc-colorGray5, #dddbda));padding: 0;vertical-align: middle;}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *:hover",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}[data-row-key-value='HEADER']",d," > *:focus",d,",\r[data-row-key-value='HEADER']",d," > *.kdds-has-focus",d," {box-shadow:\r\n #014486 0 0 0 1px inset,\r\n #014486 -0.25rem 0 0 inset;}[part='datagrid-header']",d," {position: absolute;top: 0;}"].join("")}];const X=e.parseFragment`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Z=e.parseFragment`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,J=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,ee=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,te=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ae=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,de=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,se=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,oe=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,re=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,ne=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ie=e.parseFragment`<span${3}>${"t1"}</span>`,le=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ce=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ue=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,be=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,he=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ke=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,pe=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,me=e.parseFragment`<span${3}>${"t1"}</span>`,ge=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,ve=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:target"}${"a0:tabindex"}${"a0:title"}${3}>${"t1"}</a>`,fe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ye=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,_e=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,xe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,we=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ce=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Ae=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Te=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Re=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ze=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Le=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ie=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Se=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,$e=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,Ee=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Me=e.parseFragment`<span${3}>${"t1"}</span>`,Ve=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,De=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Fe=e.parseFragment`<a data-inline-type="formatted-phone" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ke=e.parseFragment`<a data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,We=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ne=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Be=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,He=e.parseFragment`<span${3}>${"t1"}</span>`,Oe=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,je=e.parseFragment`<a data-inline-type="formatted-url" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:title"}${"a0:target"}${"a0:tabindex"}${3}>${"t1"}</a>`,Pe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,qe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Ue=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Ye=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Qe=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Ge=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Xe={name:"customdatatypes"},Ze=[],Je={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},et={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],attrs:{part:"datagrid-wrapper"},ref:"outerContainer",key:5},tt={"data-iedit-panel":"true"},at={"kdds-scrollable_y":!0},dt={attrs:{part:"datagrid-header","data-rowgroup-header":"",role:"rowgroup"},key:10},st={"kdds-line-height_reset":!0,"table-header":!0},ot={role:"row","aria-rowindex":"1","data-row-key-value":"HEADER"},rt={"column-header":!0,cell:!0},nt={part:"datagrid-body","data-rowgroup-body":"",role:"rowgroup"},it={"kdds-checkbox":!0},lt={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},ct={"data-navigation":"enable"},ut={"kdds-m-right_x-small":!0},bt={key:74},ht={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},kt={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},pt={key:143},mt={"kdds-table-expand-container":!0},gt={key:168},vt={"kdds-datatable-nodata-cell":!0};function ft(e,t,a,d){const{b:s,s:o,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:A,ti:T,k:R,i:z,t:L,fr:I,fid:S}=e,{_m0:$,_m1:E,_m2:M,_m3:V,_m4:D,_m5:F,_m6:K,_m7:W,_m8:N,_m9:B,_m10:H,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",C,{props:{loading:t.loading},key:0},[o("customdatatypes",{attrs:Xe,key:1,on:$||(d._m0={slotchange:s(t.handleCustomTypesChange)})},Ze,a),l(X,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",Je),c("div",et,[u("kd-primitive-datatable-iedit-panel",b,{attrs:tt,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:E||(d._m1={ieditfinished:s(t.handleInlineEditFinish),masscheckboxchange:s(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:s(t.handleHorizontalScroll)})},[c("div",{classMap:at,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:V||(d._m3={scroll:s(t.handleVerticalScroll)})},[c("div",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{part:"datagrid",role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":A(t.ariaLabelledBy),"aria-describedby":A(t.ariaDescribedBy),"aria-rowcount":t.ariaRowCount,"aria-colcount":t.ariaColCount,"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:s(t.handleTableKeydown),click:s(t.handleTableCellClick),focusin:s(t.handleTableFocusIn),focusout:s(t.handleTableFocusOut)})},[t.hasValidKeyField?c("div",dt,[c("div",{classMap:st,attrs:ot,ref:"headerRow",key:11,on:F||(d._m5={privateresizestart:s(t.handleResizeStart),privateresizeend:s(t.handleResizeEnd)})},z(t.state.columns,function(e,a){return c("div",{classMap:rt,style:e.style,attrs:{part:"cell",role:e.role,tabindex:T(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:R(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,dtContextId:t._datatableId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines,showActionsMenu:t.showActionsMenu},key:14})])}))]):null,t.hasValidKeyField?c("div",{style:t.computedTbodyStyle,attrs:nt,ref:"tableBody",key:15},z(t.renderedRows,function(e){return c("div",{className:r(e.classnames),style:e.style,attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,"aria-rowindex":e.ariaRowIndex,tabindex:T(e.tabIndex),"data-row-number":e.rowNumber},key:R(16,e.key),on:K||(d._m6={keydown:s(t.handleKeydownOnDataRow),privatelookupitempicked:s(t.handlePrivateLookupItemPicked)})},z(e.cells,function(a){return[a.isRowExpand?c("div",{className:r(a.class),attrs:{role:"gridcell",tabindex:T(a.tabIndex),"data-col-key-value":a.colKeyValue},key:R(17,a.colKeyValue)},[u("kd-primitive-cell-expand",k,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:a.hasFocus,rowIndex:t.rowIndex,colKeyValue:a.colKeyValue},key:18})]):null,a.isCheckbox?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:R(19,a.colKeyValue)},[a.isInlined?c("span",{classMap:it,attrs:lt,key:20,on:W||(d._m7={click:s(t.handleInlinedCheckboxContainerClick),mousedown:s(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:a.checkboxName,id:A(a.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:T(a.internalTabIndex)},props:{checked:e.isSelected},key:21,on:N||(d._m8={click:s(t.handleInlinedCheckboxClick)})}),l(Z,23,[i(0,{attrs:{id:A(a.checkboxLabelId),for:A(a.checkboxId)}},null),i(3,null,n(a.checkboxSelectItemAssistiveText))])]):null,a.isInlined?null:u("kd-primitive-cell-checkbox",p,{attrs:{"data-label":a.dataLabel},props:{dtContextId:t._datatableId,hasFocus:a.hasFocus,rowKeyValue:e.key,colKeyValue:a.colKeyValue,rowIndex:e.rowIndex,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,a.isSortingMenu?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell",role:"gridcell",tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue},key:R(25,a.colKeyValue)},[u("kd-primitive-datatable-cell",m.__kwc_component_class_internal,{props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue},key:26})]):null,a.isDataTypeScope?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"rowheader","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,"aria-describedby":A(a.describedBy),tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:R(27,a.colKeyValue),on:B||(d._m9={mousedown:s(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:28},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:29})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:30},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:ct,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:31}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:32},[a.hasLeftIcon?u("kd-icon",f,{classMap:ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:33}):null,a.hasLeftIcon?L(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?I(34,[l(J,36)],0):I(34,[l(ee,38)],0):null,a.isBoolean?l(te,40,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(ae,42,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:43}):null,a.isDateLocal?l(de,45,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(se,47,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:S(a.emailLink),tabindex:T(a.internalTabIndex)},key:48},[a.emailIconHidden?null:a.isRTL?I(49,[l(oe,51)],0):I(49,[l(re,53)],0),a.emailIconHidden?null:l(ne,55,[i(1,null,n(a.emailIconAssistiveText))]),L(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(ie,57,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:L(n(a.locationValue)):null,a.isNumber?l(le,59,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(ce,61,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(ue,63,[i(0,{attrs:{href:S(a.phoneLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(be,65,[i(0,{on:{click:s(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(he,67,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(ke,69):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(pe,71,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(me,73,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:L(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",bt,z(a.textParts,function(e){return[e.isLink?l(ge,R(76,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?L(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(ve,78,[i(0,{on:{click:s(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),target:a.urlTarget,tabindex:T(a.internalTabIndex),title:a.urlTooltip}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",f,{classMap:ht,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:79}):null,a.hasRightIcon?L(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:kt,attrs:{part:"button button-icon","aria-labelledby":A(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:T(a.internalTabIndex)},key:80,on:H||(d._m10={click:s(t.handleInlinedEditButtonClick)})},[a.isRTL?I(81,[l(fe,83)],0):I(81,[l(ye,85)],0),l(_e,87,[i(0,{attrs:{id:A(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?I(88,[l(xe,90)],0):I(88,[l(we,92)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",y,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,alignment:a.alignment,hasError:a.hasError,hasFocus:a.hasFocus,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:93}),a.isInlined?null:a.describedBy?l(Ce,95,[i(0,{attrs:{id:A(a.describedBy)}},null)]):null]):null,a.isDataType?c("div",{className:r(a.class),style:a.style,attrs:{part:"cell","data-rangecell":"true",role:"gridcell","aria-selected":a.ariaSelected,"aria-readonly":a.ariaReadOnly,tabindex:T(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:R(96,a.colKeyValue),on:O||(d._m11={mousedown:s(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:97},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:98})]):null,a.isInlined?a.isCustomBareLayout?null:c("span",{className:r(a.computedWrapperClass),attrs:{"data-cell-type":a.columnType},key:99},[a.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:ct,props:{rowKeyValue:e.key,colKeyValue:a.colKeyValue,displayValue:a.displayValue,urlLabel:a.urlLabel,value:a.value,hasChildren:a.typeAttribute21,isExpanded:a.typeAttribute22},key:100}):null,c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,attrs:{"data-editable":a.isEditable},key:101},[a.hasLeftIcon?u("kd-icon",f,{classMap:ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:102}):null,a.hasLeftIcon?L(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?I(103,[l(Ae,105)],0):I(103,[l(Te,107)],0):null,a.isBoolean?l(Re,109,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(ze,111,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:a.colKeyValue,alignment:a.alignment,columnType:a.columnType,columnSubType:a.columnSubType,editable:a.editable,internalTabIndex:a.internalTabIndex,keyboardMode:a.keyboardMode,value:a.value,wrapText:a.wrapText,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10},key:112}):null,a.isDateLocal?l(Le,114,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(Ie,116,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-navigation":"enable","data-action-triggers":"enter",href:S(a.emailLink),tabindex:T(a.internalTabIndex)},key:117},[a.emailIconHidden?null:a.isRTL?I(118,[l(Se,120)],0):I(118,[l($e,122)],0),a.emailIconHidden?null:l(Ee,124,[i(1,null,n(a.emailIconAssistiveText))]),L(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(Me,126,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:L(n(a.locationValue)):null,a.isNumber?l(Ve,128,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(De,130,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(Fe,132,[i(0,{attrs:{href:S(a.phoneLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(Ke,134,[i(0,{on:{click:s(a.handleLookupAnchorClick)},attrs:{href:S(a.lookupLink),tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(We,136,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(Ne,138):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(Be,140,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(He,142,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:L(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",pt,z(a.textParts,function(e){return[e.isLink?l(Oe,R(145,e.key),[i(0,{attrs:{href:S(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?L(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(je,147,[i(0,{on:{click:s(a.handleUrlAnchorClick)},attrs:{href:S(a.urlLink),title:a.urlTooltip,target:a.urlTarget,tabindex:T(a.internalTabIndex)}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",f,{classMap:ht,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:148}):null,a.hasRightIcon?L(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:kt,attrs:{part:"button button-icon","aria-labelledby":A(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:T(a.internalTabIndex)},key:149,on:j||(d._m12={click:s(t.handleInlinedEditButtonClick)})},[a.isRTL?I(150,[l(Pe,152)],0):I(150,[l(qe,154)],0),l(Ue,156,[i(0,{attrs:{id:A(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?I(157,[l(Ye,159)],0):I(157,[l(Qe,161)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",y,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,ariaDescribedBy:A(a.describedBy),alignment:a.alignment,hasFocus:a.hasFocus,hasError:a.hasError,columnLabel:a.dataLabel,columnType:a.columnType,columnSubType:a.columnSubType,wrapText:a.wrapText,wrapTextMaxLines:a.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:a.colKeyValue,value:a.value,iconName:a.iconName,iconLabel:a.iconLabel,iconPosition:a.iconPosition,iconAlternativeText:a.iconAlternativeText,isCustomType:a.isCustom,isCustomBareLayout:a.isCustomBareLayout,editable:a.editable,displayReadOnlyIcon:a.displayReadOnlyIcon,typeAttribute0:a.typeAttribute0,typeAttribute1:a.typeAttribute1,typeAttribute2:a.typeAttribute2,typeAttribute3:a.typeAttribute3,typeAttribute4:a.typeAttribute4,typeAttribute5:a.typeAttribute5,typeAttribute6:a.typeAttribute6,typeAttribute7:a.typeAttribute7,typeAttribute8:a.typeAttribute8,typeAttribute9:a.typeAttribute9,typeAttribute10:a.typeAttribute10,typeAttribute21:a.typeAttribute21,typeAttribute22:a.typeAttribute22},key:162}),a.isInlined?null:a.describedBy?l(Ge,164,[i(0,{attrs:{id:A(a.describedBy)}},null)]):null]):null]}))})):null,t.hasValidKeyField&&t.row.isRowExpanded?c("div",{classMap:mt,attrs:{"data-row-key-value":"EXPAND","data-expand-row-key-value":t.row.key},key:165},[c("div",{attrs:{colspan:t.state.columns.length},key:166},[u("kd-primitive-custom-row",_,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:t.row,expandRowExtraParams:t.expandable.expandRowExtraParams},key:167})])]):null,t.tableNoData?c("div",gt,[c("div",{classMap:vt,attrs:{colspan:t.state.columns.length},key:169},[u("kd-primitive-datatable-no-data",x,{props:{width:t.state.tableWrapperWidth},key:170})])]):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",w,{props:{error:t.tableError},key:171,on:P||(d._m13={privatesave:s(t.handleInlineEditSave),privatecancel:s(t.handleInlineEditCancel)})}):null])])]}var yt=e.registerTemplate(ft);ft.slots=["customdatatypes"],ft.hasRefs=!0,ft.stylesheets=[],ft.stylesheetToken="kwc-1r94rvjrpp4",ft.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\div-undefined_div",G&&ft.stylesheets.push.apply(ft.stylesheets,G),e.freezeTemplate(ft);var _t=[[s.stylesheet0,o.stylesheet3,r.stylesheet1,n.stylesheet3,i.stylesheet2,l.stylesheet5,c.stylesheet4,u.stylesheet7,q,U,Y,Q],function(e,t,a){var d=e?"["+e+"]":"";return".kdds-table_header-fixed_container"+d+"::before {width: 0;}.kdds-table_header-fixed_container"+d+" > .kdds-scrollable_y"+d+"::before {width: 100%;content: '';display: block;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" {contain: strict;content-visibility: auto;}.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" {contain-intrinsic-height: auto 29px;}"+(a?"":'[dir="rtl"]')+" .kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > span[data-inline-type='formatted-number']"+(a?":dir(rtl)":"")+d+","+(a?"":'[dir="rtl"]')+" \r.kdds-table[role='grid'][data-render-mode-inline='true']"+d+" > tbody"+d+" > tr"+d+" > td"+d+" > span"+d+" > div"+d+" > a[data-inline-type='formatted-phone']"+(a?":dir(rtl)":"")+d+" {direction: ltr;unicode-bidi: embed;}"}];const xt=e.parseFragment`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,wt=e.parseFragment`<label${"a0:id"} part="label-container" class="kdds-checkbox__label${0}"${"a0:for"}${2}><span part="indicator" class="kdds-checkbox_faux${0}"${2}></span><span class="kdds-form-element__label kdds-assistive-text${0}"${2}>${"t3"}</span></label>`,Ct=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,At=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Tt=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Rt=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,zt=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Lt=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,It=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,St=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,$t=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Et=e.parseFragment`<span${3}>${"t1"}</span>`,Mt=e.parseFragment`<span${3}>${"t1"}</span>`,Vt=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Dt=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Ft=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Kt=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Wt=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Nt=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,Bt=e.parseFragment`<span${3}>${"t1"}</span>`,Ht=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Ot=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,jt=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,Pt=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,qt=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Ut=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Yt=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,Qt=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,Gt=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Xt=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small${0}" focusable="false" data-key="check" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M191 425L26 259c-6-6-6-16 0-22l22-22c6-6 16-6 22 0l124 125a10 10 0 0015 0L452 95c6-6 16-6 22 0l22 22c6 6 6 16 0 22L213 425c-6 7-16 7-22 0z"${3}/></g></svg>`,Zt=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Jt=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ea=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ta=e.parseFragment`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,aa=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,da=e.parseFragment`<svg class="kdds-icon kdds-icon-text-default kdds-icon_x-small kdds-m-right_x-small${0}" focusable="false" data-key="email" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M249 301c6 6 15 6 21 0L496 91c4-8 3-21-13-21L36 71c-12 0-22 11-13 21zm251-128c0-10-12-16-20-9L303 327c-12 11-27 17-43 17s-31-6-43-16L41 164c-8-7-20-2-20 9-1-3-1 227-1 227a40 40 0 0040 40h400a40 40 0 0040-40z"${3}/></g></svg>`,sa=e.parseFragment`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,oa=e.parseFragment`<span${3}>${"t1"}</span>`,ra=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,na=e.parseFragment`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ia=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,la=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ca=e.parseFragment`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ua=e.parseFragment`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,ba=e.parseFragment`<span dir="ltr"${3}>${"t1"}</span>`,ha=e.parseFragment`<span${3}>${"t1"}</span>`,ka=e.parseFragment`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,pa=e.parseFragment`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,ma=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,ga=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="edit" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M95 334l89 89c4 4 10 4 14 0l222-223c4-4 4-10 0-14l-88-88a10 10 0 00-14 0L95 321c-4 4-4 10 0 13zM361 57a10 10 0 000 14l88 88c4 4 10 4 14 0l25-25a38 38 0 000-55l-47-47a40 40 0 00-57 0zM21 482c-2 10 7 19 17 17l109-26c4-1 7-3 9-5l2-2c2-2 3-9-1-13l-90-90c-4-4-11-3-13-1l-2 2a20 20 0 00-5 9z"${3}/></g></svg>`,va=e.parseFragment`<span hidden${"a0:id"}${3}>${"t1"}</span>`,fa=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,ya=e.parseFragment`<svg class="kdds-button__icon kdds-button__icon_hint kdds-button__icon_lock kdds-button__icon_edit kdds-icon kdds-icon-text-default kdds-icon_xx-small${0}" focusable="false" data-key="lock" aria-hidden="true" viewBox="0 0 520 520" part="button-icon icon"${2}><g${3}><path d="M110 190h40c6 0 10-3 10-9v-1A100 100 0 01267 80c53 4 93 50 93 104v-3c0 6 4 9 10 9h40c6 0 10-3 10-9v-1A160 160 0 00252 20c-85 4-150 76-152 161 1 5 5 9 10 9zm-10-9v4zm360 89a40 40 0 00-40-40H100a40 40 0 00-40 40v190a40 40 0 0040 40h320a40 40 0 0040-40zM306 427c2 6-3 13-10 13h-73c-7 0-11-6-10-13l18-60a48 48 0 01-21-48 50 50 0 0139-38c32-6 60 17 60 47 0 16-8 31-21 39z"${3}/></g></svg>`,_a=e.parseFragment`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,xa={name:"customdatatypes"},wa=[],Ca={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},Aa={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],ref:"outerContainer",key:5},Ta={"data-iedit-panel":"true"},Ra={"kdds-scrollable_y":!0},za={attrs:{"data-rowgroup-header":""},key:10},La={"kdds-line-height_reset":!0},Ia={role:"row","data-row-key-value":"HEADER"},Sa={"data-rowgroup-body":""},$a={"kdds-checkbox":!0},Ea={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},Ma={"data-navigation":"enable"},Va={"kdds-m-right_x-small":!0},Da={key:72},Fa={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},Ka={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},Wa=[["height","100%",!1]],Na={key:141},Ba={"kdds-table-expand-container":!0},Ha={key:166},Oa={"kdds-datatable-nodata-cell":!0};function ja(e,t,a,d){const{b:s,s:o,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:m,ti:A,k:T,i:R,t:z,fr:L,fid:I,f:S}=e,{_m0:$,_m1:E,_m2:M,_m3:V,_m4:D,_m5:F,_m6:K,_m7:W,_m8:N,_m9:B,_m10:H,_m11:O,_m12:j,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",C,{props:{loading:t.loading},key:0},[o("customdatatypes",{attrs:xa,key:1,on:$||(d._m0={slotchange:s(t.handleCustomTypesChange)})},wa,a),l(xt,3,[i(1,{className:r(t.computedAriaLiveClassForNavMode)},null),i(2,null,n(t.i18n.ariaLiveNavigationMode)),i(3,{className:r(t.computedAriaLiveClassForActionMode)},null),i(4,null,n(t.i18n.ariaLiveActionMode))]),c("div",Ca),c("div",Aa,[u("kd-primitive-datatable-iedit-panel",b,{attrs:Ta,props:{customErrorValidationMessage:t.state.inlineEdit.customErrorValidationMessage,visible:t.state.inlineEdit.isPanelVisible,rowKeyValue:t.state.inlineEdit.rowKeyValue,colKeyValue:t.state.inlineEdit.colKeyValue,editedValue:t.state.inlineEdit.editedValue,columnDef:t.state.inlineEdit.columnDef,cellRect:t.state.inlineEdit.cellRect,isMassEditEnabled:t.state.inlineEdit.massEditEnabled,numberOfSelectedRows:t.state.inlineEdit.massEditSelectedRows,resolvedTypeAttributes:t.state.inlineEdit.resolvedTypeAttributes},key:6,on:E||(d._m1={ieditfinished:s(t.handleInlineEditFinish),masscheckboxchange:s(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:M||(d._m2={scroll:s(t.handleHorizontalScroll)})},[c("div",{classMap:Ra,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:V||(d._m3={scroll:s(t.handleVerticalScroll)})},[c("table",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":m(t.ariaLabelledBy),"aria-describedby":m(t.ariaDescribedBy),"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:s(t.handleTableKeydown),click:s(t.handleTableCellClick),focusin:s(t.handleTableFocusIn),focusout:s(t.handleTableFocusOut)})},[t.hasValidKeyField?c("thead",za,[c("tr",{classMap:La,attrs:Ia,ref:"headerRow",key:11,on:F||(d._m5={privateresizestart:s(t.handleResizeStart),privateresizeend:s(t.handleResizeEnd)})},R(t.state.columns,function(e,a){return c("th",{style:e.style,attrs:{role:e.role,scope:e.scope,tabindex:A(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:T(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,showCheckbox:t.showSelectAllCheckbox,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:13}):null,e.fixedWidth?null:u("kd-primitive-header-factory",h,{style:e.style,props:{def:e,dtContextId:t._datatableId,headerHeight:t._headerHeight,headerId:t.computedCheckboxColumnHeaderId,rowKeyValue:"HEADER",colKeyValue:e.colKeyValue,colIndex:a,hasFocus:e.hasFocus,actions:e.actions,imgSrc:e.imgSrc,sortable:e.sortable,sorted:e.sorted,sortedDirection:e.sortedDirection,resizable:t.hasResizebleColumns,resizestep:t.widthsData.resizeStep,hideHeader:t.hideTableHeader,wrapTableHeader:t.wrapTableHeader,wrapTextMaxLines:t.state.wrapTextMaxLines},key:14})])}))]):null,t.hasValidKeyField?c("tbody",{style:t.computedTbodyStyle,attrs:Sa,ref:"tableBody",key:15},S([R(t.renderedRows,function(e,a){return[c("tr",{className:r(e.classnames),attrs:{role:"row","data-row-key-value":e.key,"aria-selected":e.ariaSelected,"aria-level":e.level,"aria-expanded":e.isExpanded,"aria-setsize":e.setSize,"aria-posinset":e.posInSet,tabindex:A(e.tabIndex),"data-row-number":e.rowNumber},key:T(16,e.key),on:K||(d._m6={keydown:s(t.handleKeydownOnDataRow),privatelookupitempicked:s(t.handlePrivateLookupItemPicked)})},R(e.cells,function(o){return[o.isRowExpand?c("td",{className:r(o.class),attrs:{role:"gridcell",tabindex:A(o.tabIndex),"data-col-key-value":o.colKeyValue},key:T(17,o.colKeyValue)},[u("kd-primitive-cell-expand",k,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:o.hasFocus,rowIndex:a,colKeyValue:o.colKeyValue},key:18})]):null,o.isCheckbox?c("td",{className:r(o.class),attrs:{role:"gridcell",tabindex:A(o.tabIndex),"data-label":o.dataLabel,"data-col-key-value":o.colKeyValue,"data-cell-value":o.value},key:T(19,o.colKeyValue)},[o.isInlined?c("span",{classMap:$a,attrs:Ea,key:20,on:W||(d._m7={click:s(t.handleInlinedCheckboxContainerClick),mousedown:s(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:o.checkboxName,id:m(o.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:A(o.internalTabIndex)},props:{checked:e.isSelected},key:21,on:N||(d._m8={click:s(t.handleInlinedCheckboxClick)})}),l(wt,23,[i(0,{attrs:{id:m(o.checkboxLabelId),for:m(o.checkboxId)}},null),i(3,null,n(o.checkboxSelectItemAssistiveText))])]):null,o.isInlined?null:u("kd-primitive-cell-checkbox",p,{attrs:{"data-label":o.dataLabel},props:{dtContextId:t._datatableId,hasFocus:o.hasFocus,rowKeyValue:e.key,colKeyValue:o.colKeyValue,rowIndex:a,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,o.isDataTypeScope?c("th",{className:r(o.class),style:o.style,attrs:{"data-rangecell":"true",role:"rowheader","aria-selected":o.ariaSelected,"aria-readonly":o.ariaReadOnly,scope:"row",tabindex:A(o.tabIndex),"data-label":o.dataLabel,"data-col-key-value":o.colKeyValue,"data-cell-value":o.value,"aria-describedby":m(o.describedBy)},key:T(25,o.colKeyValue),on:B||(d._m9={mousedown:s(t.handleTableCellMouseDown)})},[o.isInlined&&o.isCustomBareLayout?c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:26},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:27})]):null,o.isInlined?o.isCustomBareLayout?null:c("span",{className:r(o.computedWrapperClass),attrs:{"data-cell-type":o.columnType},key:28},[o.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:Ma,props:{rowKeyValue:e.key,colKeyValue:o.colKeyValue,displayValue:o.displayValue,urlLabel:o.urlLabel,value:o.value,hasChildren:o.typeAttribute21,isExpanded:o.typeAttribute22},key:29}):null,c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:30},[o.hasLeftIcon?u("kd-icon",f,{classMap:Va,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:31}):null,o.hasLeftIcon?z(n(o.iconLabel)):null,o.isBoolean&&o.isChecked?o.isRTL?L(32,[l(Ct,34)],0):L(32,[l(At,36)],0):null,o.isBoolean?l(Tt,38,[i(1,null,n(o.booleanCellAssistiveText))]):null,o.isCurrency?l(Rt,40,[i(1,null,n(o.currencyValue))]):null,o.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:41}):null,o.isDateLocal?l(zt,43,[i(1,null,n(o.dateLocalValue))]):null,o.isDateTime?l(Lt,45,[i(1,null,n(o.dateTimeValue))]):null,o.isEmail&&o.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:I(o.emailLink),tabindex:A(o.internalTabIndex)},key:46},[o.emailIconHidden?null:o.isRTL?L(47,[l(It,49)],0):L(47,[l(St,51)],0),o.emailIconHidden?null:l($t,53,[i(1,null,n(o.emailIconAssistiveText))]),z(n(o.emailLabel))]):null,o.isLocation&&o.hasLeftIcon?l(Et,55,[i(1,null,n(o.locationValue))]):null,o.isLocation?o.hasLeftIcon?null:z(n(o.locationValue)):null,o.isNumber?l(Mt,57,[i(1,null,n(o.numberValue))]):null,o.isPercent?l(Vt,59,[i(1,null,n(o.percentValue))]):null,o.isPhone&&o.showPhoneLink?l(Dt,61,[i(0,{attrs:{href:I(o.phoneLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.phoneLabel))]):null,o.isLookup&&o.lookupIsNavigable?l(Ft,63,[i(0,{on:{click:s(o.handleLookupAnchorClick)},attrs:{href:I(o.lookupLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.lookupValue))]):null,o.isLookup?o.lookupIsNavigable?null:l(Kt,65,[i(1,null,n(o.lookupValue))]):null,o.isRowNumber?l(Wt,67):null,o.isText?o.shouldFormatText?null:o.ignoreRTL?l(Nt,69,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL?null:o.hasLeftIcon?l(Bt,71,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL||o.hasLeftIcon?null:z(n(o.textValue)):null,o.isText&&o.shouldFormatText?c("span",Da,R(o.textParts,function(e){return[e.isLink?l(Ht,T(74,e.key),[i(0,{attrs:{href:I(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?z(n(e.value)):null]})):null,o.isURL&&o.showUrlLink?l(Ot,76,[i(0,{on:{click:s(o.handleUrlAnchorClick)},attrs:{href:I(o.urlLink),tabindex:A(o.internalTabIndex),target:o.urlTarget,title:o.urlTooltip}},null),i(1,null,n(o.urlLabel))]):null,o.hasRightIcon?u("kd-icon",f,{classMap:Fa,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:77}):null,o.hasRightIcon?z(n(o.iconLabel)):null]),o.isEditable?c("button",{classMap:Ka,attrs:{part:"button button-icon","aria-labelledby":m(o.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:A(o.internalTabIndex)},key:78,on:H||(d._m10={click:s(t.handleInlinedEditButtonClick)})},[o.isRTL?L(79,[l(jt,81)],0):L(79,[l(Pt,83)],0),l(qt,85,[i(0,{attrs:{id:m(o.editLabelId)}},null),i(1,null,n(o.editIconAssistiveText))])]):null,o.shouldDisplayReadOnlyIcon?o.isRTL?L(86,[l(Ut,88)],0):L(86,[l(Yt,90)],0):null]):null,o.isInlined?null:u("kd-primitive-cell-factory",y,{styleDecls:Wa,attrs:{"data-label":o.dataLabel},props:{types:t._privateTypes,ariaSelected:o.ariaSelected,alignment:o.alignment,hasError:o.hasError,hasFocus:o.hasFocus,columnLabel:o.dataLabel,columnType:o.columnType,columnSubType:o.columnSubType,wrapText:o.wrapText,wrapTextMaxLines:o.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:o.colKeyValue,value:o.value,displayValue:o.displayValue,iconName:o.iconName,iconLabel:o.iconLabel,iconPosition:o.iconPosition,iconAlternativeText:o.iconAlternativeText,isCustomType:o.isCustom,isCustomBareLayout:o.isCustomBareLayout,editable:o.editable,displayReadOnlyIcon:o.displayReadOnlyIcon,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10,typeAttribute21:o.typeAttribute21,typeAttribute22:o.typeAttribute22},key:91}),o.describedBy?l(Qt,93,[i(0,{attrs:{id:m(o.describedBy)}},null)]):null]):null,o.isDataType?c("td",{className:r(o.class),style:o.style,attrs:{"data-rangecell":"true",role:"gridcell","aria-selected":o.ariaSelected,"aria-readonly":o.ariaReadOnly,tabindex:A(o.tabIndex),"data-label":o.dataLabel,"data-col-key-value":o.colKeyValue,"data-cell-value":o.value,"aria-describedby":m(o.describedBy)},key:T(94,o.colKeyValue),on:O||(d._m11={mousedown:s(t.handleTableCellMouseDown)})},[o.isInlined&&o.isCustomBareLayout?c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:95},[u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:96})]):null,o.isInlined?o.isCustomBareLayout?null:c("span",{className:r(o.computedWrapperClass),attrs:{"data-cell-type":o.columnType},key:97},[o.hasTreeData?u("kd-primitive-treegrid-cell-toggle",v,{attrs:Ma,props:{rowKeyValue:e.key,colKeyValue:o.colKeyValue,displayValue:o.displayValue,urlLabel:o.urlLabel,value:o.value,hasChildren:o.typeAttribute21,isExpanded:o.typeAttribute22},key:98}):null,c("div",{className:r(o.computedCellDivClass),style:o.computedCellDivStyle,key:99},[o.hasLeftIcon?u("kd-icon",f,{classMap:Va,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:100}):null,o.hasLeftIcon?z(n(o.iconLabel)):null,o.isBoolean&&o.isChecked?o.isRTL?L(101,[l(Gt,103)],0):L(101,[l(Xt,105)],0):null,o.isBoolean?l(Zt,107,[i(1,null,n(o.booleanCellAssistiveText))]):null,o.isCurrency?l(Jt,109,[i(1,null,n(o.currencyValue))]):null,o.isCustomStandardLayout?u("kd-primitive-custom-cell",g,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:o.colKeyValue,alignment:o.alignment,columnType:o.columnType,columnSubType:o.columnSubType,editable:o.editable,internalTabIndex:o.internalTabIndex,keyboardMode:o.keyboardMode,value:o.value,wrapText:o.wrapText,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10},key:110}):null,o.isDateLocal?l(ea,112,[i(1,null,n(o.dateLocalValue))]):null,o.isDateTime?l(ta,114,[i(1,null,n(o.dateTimeValue))]):null,o.isEmail&&o.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:I(o.emailLink),tabindex:A(o.internalTabIndex)},key:115},[o.emailIconHidden?null:o.isRTL?L(116,[l(aa,118)],0):L(116,[l(da,120)],0),o.emailIconHidden?null:l(sa,122,[i(1,null,n(o.emailIconAssistiveText))]),z(n(o.emailLabel))]):null,o.isLocation&&o.hasLeftIcon?l(oa,124,[i(1,null,n(o.locationValue))]):null,o.isLocation?o.hasLeftIcon?null:z(n(o.locationValue)):null,o.isNumber?l(ra,126,[i(1,null,n(o.numberValue))]):null,o.isPercent?l(na,128,[i(1,null,n(o.percentValue))]):null,o.isPhone&&o.showPhoneLink?l(ia,130,[i(0,{attrs:{href:I(o.phoneLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.phoneLabel))]):null,o.isLookup&&o.lookupIsNavigable?l(la,132,[i(0,{on:{click:s(o.handleLookupAnchorClick)},attrs:{href:I(o.lookupLink),tabindex:A(o.internalTabIndex)}},null),i(1,null,n(o.lookupValue))]):null,o.isLookup?o.lookupIsNavigable?null:l(ca,134,[i(1,null,n(o.lookupValue))]):null,o.isRowNumber&&o.rowHasError?z("</kd-primitive-datatable-tooltip>"):null,o.isRowNumber?l(ua,136):null,o.isText?o.shouldFormatText?null:o.ignoreRTL?l(ba,138,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL?null:o.hasLeftIcon?l(ha,140,[i(1,null,n(o.textValue))]):null:null,o.isText?o.shouldFormatText||o.ignoreRTL||o.hasLeftIcon?null:z(n(o.textValue)):null,o.isText&&o.shouldFormatText?c("span",Na,R(o.textParts,function(e){return[e.isLink?l(ka,T(143,e.key),[i(0,{attrs:{href:I(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?z(n(e.value)):null]})):null,o.isURL&&o.showUrlLink?l(pa,145,[i(0,{on:{click:s(o.handleUrlAnchorClick)},attrs:{href:I(o.urlLink),tabindex:A(o.internalTabIndex),target:o.urlTarget,title:o.urlTooltip}},null),i(1,null,n(o.urlLabel))]):null,o.hasRightIcon?u("kd-icon",f,{classMap:Fa,props:{iconName:o.iconName,size:"x-small",alternativeText:o.iconAlternativeText},key:146}):null,o.hasRightIcon?z(n(o.iconLabel)):null]),o.isEditable?c("button",{classMap:Ka,attrs:{part:"button button-icon","aria-labelledby":m(o.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:A(o.internalTabIndex)},key:147,on:j||(d._m12={click:s(t.handleInlinedEditButtonClick)})},[o.isRTL?L(148,[l(ma,150)],0):L(148,[l(ga,152)],0),l(va,154,[i(0,{attrs:{id:m(o.editLabelId)}},null),i(1,null,n(o.editIconAssistiveText))])]):null,o.shouldDisplayReadOnlyIcon?o.isRTL?L(155,[l(fa,157)],0):L(155,[l(ya,159)],0):null]):null,o.isInlined?null:u("kd-primitive-cell-factory",y,{attrs:{"data-label":o.dataLabel},props:{types:t._privateTypes,ariaSelected:o.ariaSelected,alignment:o.alignment,hasError:o.hasError,hasFocus:o.hasFocus,columnLabel:o.dataLabel,columnType:o.columnType,columnSubType:o.columnSubType,wrapText:o.wrapText,wrapTextMaxLines:o.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:o.colKeyValue,value:o.value,displayValue:o.displayValue,iconName:o.iconName,iconLabel:o.iconLabel,iconPosition:o.iconPosition,iconAlternativeText:o.iconAlternativeText,isCustomType:o.isCustom,isCustomBareLayout:o.isCustomBareLayout,editable:o.editable,displayReadOnlyIcon:o.displayReadOnlyIcon,typeAttribute0:o.typeAttribute0,typeAttribute1:o.typeAttribute1,typeAttribute2:o.typeAttribute2,typeAttribute3:o.typeAttribute3,typeAttribute4:o.typeAttribute4,typeAttribute5:o.typeAttribute5,typeAttribute6:o.typeAttribute6,typeAttribute7:o.typeAttribute7,typeAttribute8:o.typeAttribute8,typeAttribute9:o.typeAttribute9,typeAttribute10:o.typeAttribute10,typeAttribute21:o.typeAttribute21,typeAttribute22:o.typeAttribute22},key:160}),o.describedBy?l(_a,162,[i(0,{attrs:{id:m(o.describedBy)}},null)]):null]):null]})),e.isRowExpanded?c("tr",{classMap:Ba,attrs:{"data-expand-row-key-value":e.key,"data-row-key-value":"EXPAND"},key:T(163,e.key)},[c("td",{attrs:{colspan:t.state.columns.length},key:164},[u("kd-primitive-custom-row",_,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:e,expandRowExtraParams:t.expandable.expandRowExtraParams},key:165})])]):null]}),t.tableNoData?c("tr",Ha,[c("td",{classMap:Oa,attrs:{colspan:t.state.columns.length},key:167},[u("kd-primitive-datatable-no-data",x,{props:{width:t.state.tableWrapperWidth},key:168})])]):null])):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",w,{props:{error:t.tableError},key:169,on:P||(d._m13={privatesave:s(t.handleInlineEditSave),privatecancel:s(t.handleInlineEditCancel)})}):null])])]}var Pa=e.registerTemplate(ja);ja.slots=["customdatatypes"],ja.hasRefs=!0,ja.stylesheets=[],ja.stylesheetToken="kwc-3n129pmeldi",ja.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\table-undefined_table",_t&&ja.stylesheets.push.apply(ja.stylesheets,_t),e.freezeTemplate(ja);const qa={add(e){return"string"==typeof e?this[e]=!0:Object.assign(this,e),this},invert(){const e=Object.keys(this);for(let t=0,{length:a}=e;t<a;t+=1){const a=e[t];this[a]=!this[a]}return this},toString(){return L.classSetToString(this)}},Ua=/^\d+$/,Ya=/^[0-9]*[1-9][0-9]*$/,Qa=/\binline\b/,Ga=/\brole-based\b/;function Xa(e){return"string"==typeof e?e.replace(/"/g,'\\"'):e}const Za=function(e){return"object"==typeof e&&null!==e};function Ja(e,t,a){return e<=t?t:e>=a?a:e}function ed(e){return`[data-row-key-value="${Xa(e)}"]`}function td(e){if(!e)return null;const{firstElementChild:t}=e;return t}function ad(e,t){return t&&t.scrollerX||e.querySelector(".kdds-scrollable_x")}function dd(e,t){return t&&t.scrollerY||e.querySelector(".kdds-scrollable_y")}function sd(e){return Ua.test(e)}function od(e,t,a,d){let s;if("positive"===a){if(function(e){return Ya.test(e)}(t))return Number.parseInt(t,10);s=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer > 0.`}else if("non-negative"===a){if(sd(t))return Number.parseInt(t,10);s=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer >= 0.`}else s="Invalid number type during normalization of number attribute";return d}function rd(e){return e.scrollHeight-e.parentNode.scrollTop-e.parentNode.clientHeight}function nd(e){return Array.isArray(e)?e:[]}const id={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0};function ld(e,t,a,d){!function(e,t,a,d){const s=e[a],{columnWidths:o}=t,r=o[a],{minWidth:n,maxWidth:i}=s,l=Ja(d,n,i);if(r!==l){const d=l-r;if(o[a]=l,t.tableWidth+=d,s.columnWidth=l,s.style=l?`width: ${l}px;`:"",L.isRTL())for(let t=a+1;t<e.length;t+=1)e[t].offset+=d;s.isResized=!0}}(e,t,a,t.columnWidths[a]+d)}function cd(e,t){const{maxColumnWidth:a,minColumnWidth:d}=t;for(let t=0;t<e.length;t+=1){const s=e[t];s.internal||(s.maxWidth=a,s.minWidth=d);const{initialWidth:o}=s;if(o){const{minWidth:e,maxWidth:t}=s;s.initialWidth=Ja(o,e,t)}}}function ud(e,t){const a=[],{columnWidths:d}=t;for(let t=0;t<e.length;t+=1)!0!==e[t].internal&&a.push(d[t]);return a}function bd(e,t){const a=dd(e,t);return a&&!!(a.offsetParent||a.offsetHeight||a.offsetWidth)}function hd(e){return e.loadMoreOffset}function kd(e){const{state:t}=this;if(t.isLoading)return;const a=e.target.firstChild;if(!a)return;rd(a)<hd(t)&&this.dispatchEvent(new CustomEvent("loadmore"))}function pd(){const{state:e,template:t,validRefs:a}=this;if(e.isLoading||!e.enableInfiniteLoading||e.enableViewportRendering&&this._renderManager&&!this._renderManager.hasWrapperHeight()||!e.rows.length)return;const d=$.isCSR?dd(t,a):null;var s;d&&((s=d).offsetParent&&s.offsetHeight>1&&s.offsetWidth>1)&&!function(e){return e.scrollHeight>e.clientHeight+2}(d)&&this.dispatchEvent(new CustomEvent("loadmore"))}const md="HEADER";function gd(e,t,a){return e.indexes[`${t}-${a}`]}function vd(e,t){const a=e.indexes[t];return a?a.rowIndex:void 0}function fd(e,t){return e.indexes[t]}function yd(e,t){const a=e.indexes[t];return a?e.data[a.rowIndex]:void 0}function _d(e,t,a){return void 0!==e.indexes[`${t}-${a}`]}const xd="rowNumber",wd={rowLevelErrorAssistiveText:A.KingdeeDatatable.rowLevelErrorAssistiveText};const Cd="SELECTABLE_CHECKBOX",Ad="SELECTABLE_BUTTON_MENU",Td="checkbox",Rd="radio";function zd(e,t){if(!e.selectedRowsKeys[t]){const{maxRowSelection:t}=e;return Sd(e)&&Ld(e)===t}return!1}function Ld(e){let t=0;const{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:s}=d;e<s;e+=1)a[d[e]]&&(t+=1);return t}function Id(e){const t=[],{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:s}=d;e<s;e+=1){const s=d[e];a[s]&&t.push(s)}return t}function Sd(e){return 1!==e.maxRowSelection||e.singleRowSelectionMode===Td}const $d={rowActionsDefaultAriaLabel:A.KingdeeDatatable.rowActionsDefaultAriaLabel,rowNumber:A.KingdeeDatatable.rowNumber},Ed={type:xd,ariaLabel:$d.rowNumber,fixedWidth:40,internal:!0,resizable:!1,sortable:!1,tabIndex:-1,label:"#"},Md={type:Cd,fixedWidth:32,internal:!0,tabIndex:-1},Vd={type:m.DATATABLE_INTERNAL_EXPAND_TYPE,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1},Dd={type:Ad,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1};function Fd({state:e,rawColumns:t,types:a,expandable:d}){e.hadTreeDataTypePreviously=void 0!==e.treeColumn,e.treeColumn=void 0;const{columns:s,indexes:o}=e,r=!!d;for(let e=0,{length:t}=s;e<t;e+=1){o[`${md}-${s[e].colKeyValue}`]=void 0}const{length:n}=t;if(0===n)return e.columns=[],void(e.headerIndexes={});let i=-1,l=n,{showRowNumberColumn:c}=e;const{showActionsMenu:u}=e,b=!e.hideCheckboxColumn;if(!c)for(let a=0;a<n;a+=1)if(t[a].editable){c=!0,e.showRowNumberColumn=!0;break}c&&(l+=1),b&&(l+=1),r&&(l+=1),t.forEach((e,t)=>{"action"===e.type&&(i=t)});const h=i===t.length-1;u&&!h&&(l+=1);const k=Array(l),p={};e.columns=k,e.headerIndexes=p;let g=0;r&&(k[g]=Object.assign({},Vd),g+=1),b&&(k[g]=Object.assign({},Md),g+=1),c&&(k[g]=Object.assign({},Ed),g+=1),u&&!h&&(k[l-1]=Object.assign({},Dd));for(let e=0;e<n;e+=1)k[e+g]=t[e];const{defaultSortDirection:v,sortedBy:f,sortedDirection:y}=e,_=Array.isArray(f),x=new Set;for(let t=0;t<l;t+=1){const d=k[t],{columnKey:s}=d;s&&x.has(s),x.add(s);const{type:o}=d,r=s||d.fieldName,n={ariaLabel:"",cellAttributes:{},resizable:!0,type:"text",typeAttributes:{},subType:"",role:"columnheader",scope:"col",hideDefaultActions:!0};n.initialWidth||(["number","percent","currency"].includes(o)?n.initialWidth=160:n.initialWidth=200),"action"===o?(n.ariaLabel=$d.rowActionsDefaultAriaLabel,n.fixedWidth=50,n.resizable=!1):"tree"===o?n.subType="text":o!==Cd&&o!==m.DATATABLE_INTERNAL_EXPAND_TYPE||(n.role="gridcell",n.scope=null),Object.assign(n,d),k[t]=n;let{type:i}=n;if(n.ariaLabel=n.label||n.ariaLabel||null,n.editableCustomType=a.isStandardCellLayoutForCustomType(i),!n.internal){if(a.isValidType(i)||(i="text",n.type=i),a.isEditableType(i)){const{editable:e}=n;e&&e.fieldName||(n.editable=L.normalizeBoolean(e)),n.editTemplate=a.getCustomTypeEditTemplate(i)}else n.editable=!1,n.editTemplate=void 0;const{sortable:e}=n;e&&(_?f.includes(r):f===r)?(n.sorted=!0,n.sortAriaLabel=_?"desc"===y[f.indexOf(r)]?"descending":"ascending":"desc"===y?"descending":"ascending",n.sortedDirection=_?y[f.indexOf(r)]:y):(n.sorted=!1,n.sortAriaLabel=e?"other":null,n.sortedDirection=v)}const c=n.colKeyValue||`${r||t}-${i}-${t}`;if(n.colKeyValue=c,n.isLastCol=t===l-1,n.isScopeCol=t===g,n.name=r,n.tabIndex=-1,p[c]=t,"tree"===n.type){void 0===e.treeColumn&&(e.treeColumn=n);const{typeAttributes:t}=n,d={};a.isValidTypeForTree(t.subType)||(d.subType="text"),t.subTypeAttributes||(d.subTypeAttributes={}),n.typeAttributes=Object.assign({},t,d)}const{actions:u}=n;n.actions={menuAlignment:n.isLastCol||"action"===k[t+1].type||k[t+1].fixedWidth<100?"auto-right":"auto-left",customerActions:Array.isArray(u)?u:[],internalActions:[]}}}function Kd(e){const{typeAttributes:t}=e;return Za(t)?t:{}}function Wd(e){const{subTypeAttributes:t}=e.typeAttributes;return Za(t)?t:{}}function Nd(e){const{cellAttributes:t}=e;return Za(t)?t:{}}function Bd(e,t){const{columns:a}=e,d=gd(e,md,t),s=d&&d.colIndex;if(void 0===s||-1===s||a[s].internal)return-1;let o=0;for(let e=0;e<s;e+=1)a[e].internal&&(o+=1);return s-o}function Hd(e,t){return e.headerIndexes[t]}function Od(){return{columns:[],hadTreeDataTypePreviously:!1,hideCheckboxColumn:!1,showActionsMenu:!1,treeColumn:void 0,data:[],hasCalledUpdateRowsAndCells:!1,keyField:void 0,rows:[],checkboxCells:[],lookupCells:[],shownUrlCells:[],selectedRowsKeys:{},lastSelectedRowKey:void 0,maxRowSelection:void 0,singleRowSelectionMode:void 0,hideTableHeader:!1,wrapTableHeader:"none",headerIndexes:{},indexes:{},keyboardMode:"NAVIGATION",rowMode:!1,activeCell:void 0,tabindex:0,cellToFocusNext:null,cellClicked:!1,normalized:!1,wrapTextMaxLines:void 0,sortedBy:void 0,sortedDirection:void 0,defaultSortDirection:"asc",showRowNumberColumn:!1,rowNumberOffset:0,enableInfiniteLoading:!1,loadMoreOffset:20,isLoading:!1,renderModeInline:!1,renderModeRoleBased:!1,enableViewportRendering:void 0,virtualize:"",bufferSize:5,rowHeight:30.5,renderedRowCount:0,firstVisibleIndex:0,heightCache:{},offsets:[0],offsetRanges:[],firstRowOffset:0,tableHeight:0,shouldResetHeights:!1,tableWrapperWidth:0,inlineEdit:{rowKeyValue:void 0,colKeyValue:void 0,columnDef:{},dirtyValues:{},editedValue:void 0,isPanelVisible:!1,massEditEnabled:!1,massEditSelectedRows:void 0,resolvedAttributeTypes:{},cellRect:{}},errors:{rows:{},table:{}},hasReceivedFocus:!1,hasRenderedFirstTime:!1,expandedRowKeys:new Set,rangeSelection:[]}}const{keyboardMode:jd}=Od(),Pd={edit:A.KingdeeDatatable.edit,editHasError:A.KingdeeDatatable.editHasError,emailLabel:A.KingdeeDatatable.emailLabel,false:A.KingdeeDatatable.false,selectItem:A.KingdeeDatatable.selectItem,true:A.KingdeeDatatable.true},qd=()=>{},Ud={isInlined:!0,actionableElementsCount:0,computedCellDivClass:"",computedCellDivStyle:"",computedWrapperClass:"",currentInputIndex:0,editIconAssistiveText:"",hasFocus:!1,hasLeftIcon:!1,hasRightIcon:!1,internalTabIndex:-1,isRTL:!1,mode:jd,shouldDisplayReadOnlyIcon:!1};function Yd(e,t,a,d){const{columnSubType:s,columnType:o,isCheckbox:r,isCustom:n}=t;if("boolean"===o||"boolean"===s)Object.assign(t,Ud,{isBoolean:!0,isChecked:!1,booleanCellAssistiveText:""});else if(r&&a){const{rowNumber:a}=t;Object.assign(t,Ud,{checkboxId:`${d}-check-id-${a}`,checkboxLabelId:`check-button-label-${a}`,checkboxName:`${d}-options-${a}`,checkboxSelectItemAssistiveText:`${Pd.selectItem} ${a}`}),e.checkboxCells.push(t)}else r?Object.assign(t,{isInlined:!1}):n?Object.assign(t,Ud,{keyboardMode:""}):"currency"===o||"currency"===s?Object.assign(t,Ud,{isCurrency:!0,currencyValue:""}):"date-local"===o||"date-local"===s?Object.assign(t,Ud,{isDateLocal:!0,dateLocalValue:""}):"date"===o||"date"===s?Object.assign(t,Ud,{isDateTime:!0,dateTimeValue:""}):"email"===o||"email"===s?Object.assign(t,Ud,{isEmail:!0,emailIconAssistiveText:"",emailIconHidden:!1,emailLabel:"",showEmailLink:!1}):"location"===o||"location"===s?Object.assign(t,Ud,{isLocation:!0,locationValue:""}):"reference"===o||"reference"===s?(Object.assign(t,Ud,{isLookup:!0,_handleLookupAnchorClick:qd,handleLookupAnchorClick:e=>{t._handleLookupAnchorClick(e)},lookupIsNavigable:!1,lookupLink:"",lookupValue:t.typeAttribute0}),e.lookupCells.push(t)):"number"===o||"number"===s?Object.assign(t,Ud,{isNumber:!0,numberValue:""}):"percent"===o||"percent"===s?Object.assign(t,Ud,{isPercent:!0,percentValue:""}):"phone"===o||"phone"===s?Object.assign(t,Ud,{isPhone:!0,phoneLabel:"",phoneLink:"",showPhoneLink:!1}):"rowNumber"===o||"rowNumber"===s?Object.assign(t,Ud,{isRowNumber:!0,rowHasError:!1}):"text"===o||"text"===s?Object.assign(t,Ud,{isText:!0,ignoreRTL:!1,shouldFormatText:!1,textParts:void 0,textValue:void 0}):"url"!==o&&"url"!==s||Object.assign(t,Ud,{isURL:!0,_handleUrlAnchorClick:void 0,handlUrlAnchorClick:void 0,showUrlLink:!1,urlLabel:"",urlLink:"",urlTarget:"",urlTooltip:""})}const Qd=[["text",["linkify"]],["boolean",[]],["number",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["currency",["currencyCode","currencyDisplayAs","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["percent",["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]],["email",[]],["date",["day","era","hour","hour12","minute","month","second","timeZone","timeZoneName","weekday","year"]],["date-local",["day","month","year"]],["phone",[]],["url",["label","target","tooltip"]],["location",[]],["reference",["displayValue"]],["rowNumber",["error"]],["action",["menuAlignment","rowActions"]],["button",["variant","label","iconName","iconPosition","disabled","name","class","title"]],["button-icon",["variant","alternativeText","iconName","iconClass","disabled","name","class","title"]],["tree",["hasChildren","isExpanded","level","setSize","posInSet","subType"]]],Gd=Array(Qd.length);for(let e=0,{length:t}=Qd;e<t;e+=1){const{0:t,1:a}=Qd[e];Gd[e]=[t,{typeAttributes:a,type:"standard"}]}const Xd=new Map(Qd),Zd=new Map(Gd),Jd=new Set(["text","url","date","number","currency","percent","button","button-icon","reference"]),es=new Set(["text","percent","phone","email","url","currency","number","boolean","date-local","date"]);function ts(e){return L.assert(function(e){return Xd.has(e)}(e)),Xd.get(e)||[]}const as=e.registerComponent(class{constructor(e){if(this.privateCustomTypes=new Map,"object"==typeof e&&null!==e){const{privateCustomTypes:t}=this,a=Object.keys(e);for(let d=0,{length:s}=a;d<s;d+=1){const s=a[d],{template:o,editTemplate:r,typeAttributes:n=[],standardCellLayout:i=!1}=e[s];t.set(s,{template:o,editTemplate:r,typeAttributes:n,standardCellLayout:!0===i,type:"custom"})}}}getAttributesNames(e){if(L.assert(this.isValidType(e)),!this.isCustomType(e))return Xd.get(e)||[];return this.privateCustomTypes.get(e).typeAttributes||[]}getType(e){const{privateCustomTypes:t}=this;return t.get===Map.prototype.get&&t.get(e)||Zd.get(e)}getCustomTypeEditTemplate(e){const t=this.privateCustomTypes.get(e);return t?t.editTemplate:void 0}isValidType(e){return this.privateCustomTypes.has(e)||Xd.has(e)}isEditableType(e){if(es.has(e))return!0;const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isCustomType(e){return this.privateCustomTypes.has(e)}isStandardCellLayoutForCustomType(e){const t=this.privateCustomTypes.get(e);return!!t&&t.standardCellLayout}isValidTypeForTree(e){return T.features.ENABLE_TREE_GRID_CUSTOM_TYPES?Jd.has(e)||this.isStandardCellLayoutForCustomType(e):Jd.has(e)}},{tmpl:d._tmpl,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63});let ds={},ss=[];const os=e=>{if(1!==e.length)return!1;const{startRow:t,endRow:a,columns:d}=e[0];return t===a&&1===d.length},rs=(e,t)=>{const a=e>t;return{startRowIndex:a?t:e,endRowIndex:a?e:t}},ns=e=>{let t,a;if(e){const d=function(e){let t=e;for(;t&&t!==document.documentElement;){if("true"===t.dataset.rangecell)return t;t=t.parentElement||t.offsetParent}return null}(e),s=d&&d.parentElement;t=s?.dataset?.rowKeyValue,a=d?.dataset?.colKeyValue}return[t,a]},is=({state:e,startDragCell:t,draggingCell:a,isFinished:d,rangeSelectedChange:s,types:o})=>{if(!t||!a)return;const{columns:r}=e,{rowIndex:n,colIndex:i}=t,{rowIndex:l,colIndex:c}=a,u=((e,t,a)=>e<t?a.slice(e,t+1):a.slice(t,e+1))(i,c,r),b={startRow:n,endRow:l,columns:u};b.id=(e=>{const{startRow:t,endRow:a,columns:d}=e,{startRowIndex:s,endRowIndex:o}=rs(t,a);return`${s}_${o}_${d[0].fieldName}_${d[d.length-1].fieldName}`})(b);let h=ss.length?[...ss]:[];if(os([b])){const e=b.id;h=h.filter(t=>t.id!==e)}h.push(b),e.rangeSelection=h,vs(e,o),d&&(ss=h),s?.(h,d)},ls=({event:e,dt:t,rangeSelectedChange:a})=>{const{toElement:d,ctrlKey:s,shiftKey:o}=e,{state:r,_privateTypes:n}=t,[i,l]=ns(d),c=gd(r,i,l);if(!c)return;if(s&&(e.preventDefault(),e.stopPropagation()),((e,t)=>{if(e||t||(ss=[]),t){const e=ss.length?[...ss]:[];e.pop(),ss=e}})(s,o),o)return void is({state:r,startDragCell:ds,draggingCell:c,isFinished:!0,rangeSelectedChange:a,types:n});ds=c;let u=c;const b=D.fromEvent(window,"mousemove"),h=D.fromEvent(window,"mouseup");b.pipe(D.map(e=>{const{toElement:t}=e,[a,d]=ns(t);return u=gd(r,a,d),{startDragCell:c,draggingCell:u}}),D.takeUntil(h)).subscribe({next:e=>{is({state:r,startDragCell:e.startDragCell,draggingCell:e.draggingCell,isFinished:!1,rangeSelectedChange:a,types:n})},complete(){is({state:r,startDragCell:c,draggingCell:u,isFinished:!0,rangeSelectedChange:a,types:n})}})},cs=(e,t,a)=>{const{startRow:d,endRow:s,columns:o}=e;if(!(-1!==o.findIndex(e=>e.fieldName===a.fieldName)))return!1;const{startRowIndex:r,endRowIndex:n}=rs(d,s);return t>=r&&t<=n},us=(e,{rowIndex:t,col:a})=>{const{matchCellRangeTop:d,matchCellRangeLeft:s,matchCellRangeBottom:o,matchCellRangeRight:r}=((e,{rowIndex:t,col:a})=>e.reduce((e,d)=>{if(!cs(d,t,a))return e;const{startRow:s,endRow:o,columns:r}=d,{startRowIndex:n,endRowIndex:i}=rs(s,o),l=r[0],c=r[r.length-1],u=t===n,b=a.fieldName===l.fieldName,h=t===i,k=a.fieldName===c.fieldName;return e.matchCellRangeTop=e.matchCellRangeTop||u,e.matchCellRangeLeft=e.matchCellRangeLeft||b,e.matchCellRangeBottom=e.matchCellRangeBottom||h,e.matchCellRangeRight=e.matchCellRangeRight||k,e},{matchCellRangeTop:!1,matchCellRangeLeft:!1,matchCellRangeBottom:!1,matchCellRangeRight:!1}))(e,{rowIndex:t,col:a}),n=os(e);let i="";const l={[m.DATATABLE_CELL_RANGE_CLASS.selected]:!n,[m.DATATABLE_CELL_RANGE_CLASS.top]:!n&&d,[m.DATATABLE_CELL_RANGE_CLASS.left]:!n&&s,[m.DATATABLE_CELL_RANGE_CLASS.bottom]:!n&&o,[m.DATATABLE_CELL_RANGE_CLASS.right]:!n&&r};for(const e in l)l[e]&&(i+=`${e} `);return i},bs="kdds-cell-edit",hs="kdds-has-error",ks="kdds-is-edited",ps="cell",ms="kdds-tree__item";function gs(e,t){if(Za(e)){const{fieldName:a}=e;if(a)return t[a]}return e}function vs(e,t,a){const{columns:d,data:s,keyField:o,maxRowSelection:r,renderModeInline:n,rowHeight:i,virtualize:l,expandedRowKeys:c}=e,{privateCustomTypes:u}=t,b=L.isRTL(),{length:h}=d,k=Sd(e),p=k?Ld(e):1,g=k?Td:Rd;let v,f;const y={};for(let e=0;e<h;e+=1){const a=d[e],{colKeyValue:s,type:o}=a,r=`${md}-${s}`,n={cellKeyValue:r,colIndex:e,colKeyValue:s,focused:!1,key:s,rowIndex:-1,rowKeyValue:md};y[r]=n,!v&&a.isScopeCol&&t.isValidType(o)&&(v=a),"tree"===o&&void 0===f&&(f=Kd(a))}const _=[],x=[];e.checkboxCells=[],e.indexes=y,e.lookupCells=[],e.shownUrlCells=_,e.rows=x,s.forEach((s,w)=>{const C=s[o],A=L.isUndefinedOrNull(C)?`row-${w}`:C;e.indexes[A]={rowIndex:w};const R=!!e.selectedRowsKeys[A],z=!!R&&"true",I=w+1,S=v?s[v.fieldName]:void 0,$=Array(h),E={ariaRowIndex:w+2,ariaSelected:e.hideCheckboxColumn?null:z,cells:$,classnames:"kdds-hint-parent"+(R?" kdds-is-selected":""),inputType:g,isSelected:R,isDisabled:!R&&k&&p===r,key:A,rowIndex:w,rowNumber:I,style:l?`position:absolute;top:${w*i}px;`:"",tabIndex:-1,level:void 0,posInSet:void 0,setSize:void 0,isExpanded:void 0,hasChildren:void 0,isRowExpanded:c.has(A)};if(f){const e=!!gs(f.hasChildren,s);E.hasChildren=e,E.isExpanded=e?`${!!gs(f.isExpanded,s)}`:void 0,E.level=gs(f.level,s)||1,E.posInSet=gs(f.posInSet,s)||1,E.setSize=gs(f.setSize,s)||1}y[A]=E,x.push(E);for(let o=0;o<h;o+=1){const r=d[o],{colKeyValue:i,isScopeCol:l,label:c,type:h,typeAttributes:p}=r,g=`${A}-${i}`,v=p?p.subType:void 0,f="tree"===h;let x;x=T.features.ENABLE_TREE_GRID_CUSTOM_TYPES?u&&u.get(f?v:h):u&&u.get(h);const C=!!x&&x.standardCellLayout,R=!!r.displayReadOnlyIcon,z=!!gs(r.editable,s),L=z&&t.isEditableType(h),M=t.isValidType(h),V=h===Cd,D=h===Ad,F=void 0!==x,K=F&&!C,W=F&&C,N=M&&!l,B=M&&l,H=h===m.DATATABLE_INTERNAL_EXPAND_TYPE,O={ariaReadOnly:!z,cellKeyValue:g,class:"",colIndex:o,colKeyValue:i,columnSubType:v,columnType:h,dataLabel:c,displayReadOnlyIcon:R,displayValue:s.displayValue||"",describedBy:null,editable:z,hasError:void 0,hasTreeData:f,isCheckbox:V,isCustom:F,isCustomBareLayout:K,isCustomStandardLayout:W,isDataType:N,isDataTypeScope:B,isEditable:L,isRTL:b,isSortingMenu:D,rowIndex:w,rowKeyValue:A,rowNumber:I,scopeColValue:S,style:"",tabIndex:-1,value:void 0,wrapText:void 0,wrapTextMaxLines:0,isRowExpand:H};if(y[g]=O,$[o]=O,!r.internal){let e,a;if(v)e=T.features.ENABLE_TREE_GRID_CUSTOM_TYPES?t.getAttributesNames(v):ts(v),a=Wd(r);else{const d=t.getType(h);e=d&&d.typeAttributes,a=Kd(r)}const d=e?e.length:0;for(let t=0;t<d;t+=1){const d=a[e[t]];O[`typeAttribute${t}`]=gs(d,s)}const o=Nd(r),n=Object.keys(o);for(let e=0;e<n.length;e+=1){const t=n[e],a=o[t];O[t]=gs(a,s)}f&&(O.typeAttribute21=E.hasChildren,O.typeAttribute22="true"===E.isExpanded)}e.indexes[E.key][i]=[w,o],$[o]=O,n&&Yd(e,O,k,a),ys(e,w,o,s),O.showUrlLink&&_.push(O)}}),e.hasCalledUpdateRowsAndCells=!0}function fs(e,t){if(!e.hasCalledUpdateRowsAndCells)return void vs(e,t);const{data:a,rows:d}=e;for(let t=0;t<d.length;t+=1){const s=a[t];for(let a=0;a<d[t].cells.length;a+=1)ys(e,t,a,s)}}function ys(e,t,a,d){const{renderModeRoleBased:s,rangeSelection:o}=e,{rows:r}=e.errors,n=e.rows[t],{key:i}=n,l=e.inlineEdit.dirtyValues[i],c=r&&r[i],u=c&&c.cells,b=e.columns[a],h=n.cells[a],{colKeyValue:k,columnKey:p,fieldName:m,wrapText:g}=b;let v=c&&c.fieldNames||[],f=null;Array.isArray(v)||(v=Object.keys(v),f=c.fieldNames[m]);const y=l&&l[k],_=p?!(!u||!u[p]):!(!v||!v.includes(m)),x=void 0===y?d[m]:y,w=g?e.wrapTextMaxLines:void 0;h.hasError=_,h.wrapText=g,h.wrapTextMaxLines=w,h.value=x,h.customErrorValidationMessage=f,b.internal&&"rowNumber"===b.type&&(h.typeAttribute0=function(e,t){const{cells:a,fieldNames:d,messages:s,title:o}=e||{};let r=0;return a?r=Object.keys(a).length:Array.isArray(d)?r=d.length:"object"==typeof d&&(r=Object.keys(d).length),{title:o,messages:s,alternativeText:E.formatLabel(wd.rowLevelErrorAssistiveText,t||"",r)}}(c,h.scopeColValue));let C=gs(Nd(b).class,d)||"";h.hasTreeData&&!C&&(C+=(C.length?" ":"")+ms),(h.displayReadOnlyIcon||h.editable)&&(C+=(C.length?" ":"")+bs),_&&(C+=(C.length?" ":"")+hs),void 0!==y&&(C+=(C.length?" ":"")+ks,h.describedBy="unsaved-cell-notification"),s&&(C+=(C.length?" ":"")+ps),o.length>0&&o.some(e=>cs(e,t,b))&&(C+=us(o,{col:b,rowIndex:t})),h.class=C,h.style=_s(h,b,s,h.style),h.isInlined&&(function(e){if(e.isEditable?(e.editIconAssistiveText=`${Pd.edit} ${e.dataLabel}${e.hasError?` ${Pd.editHasError}`:""}`,e.editLabelId=`edit-${e.cellKeyValue}`):e.shouldDisplayReadOnlyIcon=e.displayReadOnlyIcon,e.iconName){const{iconPosition:t}=e;"right"===t?e.hasRightIcon=!0:t&&"left"!==t||(e.hasLeftIcon=!0)}if(e.isRowNumber){const{typeAttribute0:t}=e,a=!!(t&&t.title&&t.messages);e.rowHasError=a}}(h),function(e,t){let a="",d="";const{alignment:s,columnType:o,hasTreeData:r,wrapText:n}=e;if(n){t+=(t.length?" ":"")+"kdds-cell-wrap",a+="kdds-hyphenate";const{wrapTextMaxLines:s}=e;s?(a+=" kdds-line-clamp",d=`--kwc-lineClamp: ${s}`):d="overflow-wrap: anywhere;"}else a+="kdds-truncate";!e.isRTL||"url"!==o&&"email"!==o&&"phone"!==o||(a+=" ltr-content-in-rtl");let i="kdds-grid";"right"===s||"currency"===o||"number"===o||"percent"===o?i+=" kdds-grid_align-end":r||s&&"left"!==s&&("center"===s||"right"===s)||(i+=" kdds-grid_align-spread"),r&&(i+=" kdds-no-space"),e.class=t,e.computedCellDivClass=a,e.computedCellDivStyle=d,e.computedWrapperClass=i}(h,C),function(e,t){if(e.isBoolean)e.isChecked=!!t,e.booleanCellAssistiveText=t?Pd.true:Pd.false;else if(e.isCurrency)e.currencyValue=L.toFormattedNumber({value:t,formatStyle:"currency",currencyCode:e.typeAttribute0,currencyDisplayAs:e.typeAttribute1,minimumIntegerDigits:e.typeAttribute2,minimumFractionDigits:e.typeAttribute3,maximumFractionDigits:e.typeAttribute4,minimumSignificantDigits:e.typeAttribute5,maximumSignificantDigits:e.typeAttribute6},V.numberFormat);else if(e.isDateLocal)e.dateLocalValue=L.toFormattedDate({value:t,day:e.typeAttribute0||"numeric",month:e.typeAttribute1||"short",year:e.typeAttribute2||"numeric",timeZone:"UTC"},M.dateTimeFormat);else if(e.isDateTime)e.dateTimeValue=L.toFormattedDate({value:M.toDate(t),dateStyle:"medium",day:e.typeAttribute0,era:e.typeAttribute1,hour:e.typeAttribute2,hour12:e.typeAttribute3,minute:e.typeAttribute4,month:e.typeAttribute5,second:e.typeAttribute6,timeZone:e.typeAttribute7,timeZoneName:e.typeAttribute8,weekday:e.typeAttribute9,year:e.typeAttribute10},M.dateTimeFormat);else if(e.isEmail){let a="";const d=t?t.trim():"",s=!!d;s&&(a=Pd.emailLabel),e.emailIconAssistiveText=a,e.emailLabel=d,e.showEmailLink=s}else if(e.isLocation)e.locationValue=L.toFormattedLocation(t);else if(e.isNumber)e.numberValue=L.toFormattedNumber({value:t,minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},V.numberFormat);else if(e.isPercent)e.percentValue=L.toFormattedNumber({value:t,formatStyle:"percent",minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},V.numberFormat);else if(e.isPhone){let a="",d="";const s=L.isValidPhone(t);s&&(a=L.toNorthAmericanPhoneNumber(t),d=`tel:${t}`),e.phoneLabel=a,e.phoneLink=d,e.showPhoneLink=s}else if(e.isText){const{typeAttribute0:a}=e,d=!!a&&"string"==typeof t&&""!==t;e.ignoreRTL=e.isRTL&&L.isTextIgnoreRTL(t),e.shouldFormatText=d,e.textParts=d?L.parseToFormattedLinkifiedParts(t,!0):[],e.textValue="object"==typeof t?"":t}else if(e.isURL){let a,d,s="",o="",r="",n="";const i=null!=t&&""!==t;if(i){const{typeAttribute0:i,typeAttribute2:l}=e;a=qd,d=t=>{e._handleUrlAnchorClick(t)},o=L.formatUrl(t),s=null!=i&&""!==i?i:o,r=e.typeAttribute1||"_self",n=""===l?"":l||t}e._handleUrlAnchorClick=a,e.handleUrlAnchorClick=d,e.showUrlLink=i,e.urlLabel=s,e.urlLink=o,e.urlTarget=r,e.urlTooltip=n}}(h,x))}function _s(e,t,a,d=""){let s=d;if(s&&!s.endsWith(";")&&(s+=";"),!s&&e.isCustomBareLayout&&(s="padding: 0;"),a){const{columnWidth:e}=t;e>0&&(s+=`width:${e}px;`)}return s}function xs(e){const{columns:t}=e;e.rows.forEach(e=>{e.cells.forEach((a,d)=>{const s=t[d],o=gs(Nd(s).style,e)||"";a.style=_s(a,s,!0,o)})})}function ws(e){e.renderModeRoleBased&&e.rows&&e.rows.forEach(e=>{e.cells.forEach(e=>{const t="string"==typeof(a=e.class)?{__proto__:qa,[a]:!0}:Object.assign({__proto__:qa},a);var a;t.add("cell"),e.class=t.toString()})})}const Cs={tableHeight:{observerProp:"_heightObserver",callback:pd,targetRefs:["scrollerY","tableElement"]},width:{observerProp:"_widthObserver",callback:function(){const{_columnWidthManager:e,state:t,widthsData:a,template:d,validRefs:s}=this;e.adjustColumnsSizeAfterResize(this,t.columns,a),this._recalculateHeaderHeight=!0,t.renderModeRoleBased&&xs(t);const o=ad(d,s);t.tableWrapperWidth=o?.offsetWidth,t.shouldResetHeights=!0},targetRefs:["widthObserver","scrollerX"]}};class As{constructor(e,t){this._connected=!1;const{callback:a,targetRefs:d}=Cs[t],s=a.bind(e);if(this._resizeObserver=new S.KingdeeResizeObserver(()=>{const{refs:t,template:a}=e;this._connected&&bd(a,t)&&s()}),e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];this._resizeObserver.observe(a)}this._connected=!0}observe(e){this._resizeObserver?this._resizeObserver.observe(e):this._resizeSensor&&this._resizeSensor.reattach(e),this._connected=!0}disconnect(){this._resizeObserver?this._resizeObserver.disconnect():this._resizeSensor&&(this._resizeSensor.detach(),this._resizeSensor=void 0),this._connected=!1}isConnected(){return this._connected}}function Ts(e,t){const{observerProp:a,targetRefs:d}=Cs[t],s=e[a];if(s){if(!s.isConnected()&&e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];s.observe(a)}}else e[a]=new As(e,t)}function Rs(e){const t=Object.keys(Cs),{length:a}=t;for(let d=0;d<a;d+=1){const{observerProp:a}=Cs[t[d]];e[a]&&e[a].disconnect()}}function zs(e,t){const a={totalFixedWidth:0,totalFixedColumns:0,totalResizedWidth:0,totalResizedColumns:0,totalFlexibleColumns:0,minColumnWidth:e.minColumnWidth,maxColumnWidth:e.maxColumnWidth,wrapTextMaxLines:e.wrapTextMaxLines};for(let e=0;e<t.length;e+=1){const d=t[e],{fixedWidth:s,initialWidth:o}=d;s&&isFinite(s)?(a.totalFixedWidth+=s,a.totalFixedColumns+=1):d.isResized?(a.totalResizedWidth+=d.columnWidth,a.totalResizedColumns+=1):o&&isFinite(o)?(a.totalResizedWidth+=o,a.totalResizedColumns+=1):a.totalFlexibleColumns+=1}return a}function Ls(e){const{fixedWidth:t,initialWidth:a}=e;if(t&&isFinite(t))return t;const d=isFinite(a)?a:null;return e.isResized&&e.columnWidth||d}function Is(e){let t=0;for(let a=0,{length:d}=e;a<d;a+=1)t+=e[a];return t}function Ss(e,t,a){return Math.max(e-t,a)}function $s(e,t,a){return Math.min(e+t,a)}class Es{constructor(e,t,a=3){this.columnWidthRatios=[],this.columnWidthData={},this.columnWidthsDistribution={},this.columnWidthData={minColumnWidth:e,maxColumnWidth:t,wrapTextMaxLines:a},this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}set minColumnWidth(e){this.columnWidthData.minColumnWidth=e}set maxColumnWidth(e){this.columnWidthData.maxColumnWidth=e}set wrapTextMaxLines(e){this.columnWidthData.wrapTextMaxLines=e||3}getAdjustedColumnWidths(e,t,a){const d=zs(this.columnWidthData,t),s=function(e,t){const a=t.totalFlexibleColumns*t.minColumnWidth+t.totalFixedWidth+t.totalResizedWidth;return 0===t.totalFlexibleColumns?a:Math.max(a,e)}(e.getAvailableWidthFromDom(),d);if(this.resetColumnWidthsDistribution(),(a||0===this.columnWidthRatios.length)&&this.calculateColumnWidthRatios(e,t,d),a&&this.columnWidthRatios.length!==t.length)return{columnWidths:[]};const o=this.distributeWidthFromRatios(s,t,d),r=Is(o);return s>r?this.redistributeExtraWidth(s,o,t):s<r&&this.redistributeDeficitWidth(s,o,t),{columnWidths:o}}getRatios(e,t){const{length:a}=e,d=Array(a);for(let s=0;s<a;s+=1)d[s]=100*e[s]/t;return d}calculateColumnWidthRatios(e,t,a){const{wrapTextMaxLines:d}=a,s=e.getDataCellWidths();for(let e=0,{length:a}=s;e<a;e+=1){const a=t[e];if(a)if(a.wrapText){const t=s[e];s[e]=t/d}else{const{fixedWidth:t}=a;t&&isFinite(t)&&(s[e]=t)}}this.setColumnWidthRatios(e,s,a)}setColumnWidthRatios(e,t,a){this.columnWidthRatios=[];const d=e.getTableElementWidth();if(d>0){const{totalFixedWidth:s,totalResizedWidth:o}=a;if(0===t.length){const t=e.getHeaderCellWidths();if(t.length>0){const e=t.reduce((e,t)=>e+=t,0)-s-o;this.columnWidthRatios=this.getRatios(t,e)}}else{const e=t.reduce((e,t)=>e+=t,0),a=Math.min(d,e)-s-o;this.columnWidthRatios=this.getRatios(t,a)}}}resetColumnWidthsDistribution(){this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}distributeWidthFromRatios(e,t,a){const d=[];for(let s=0;s<t.length;s+=1){const o=Ls(t[s])||this.getColumnWidthFromRatio(e,a,s);d[s]=o}return d}getColumnWidthFromRatio(e,t,a){const{totalFixedWidth:d,totalResizedWidth:s,minColumnWidth:o,maxColumnWidth:r}=t,n=this.columnWidthRatios[a],i=e-d-s,l=Math.floor(i*n/100)+20,{colsWithMinWidth:c,colsWithMaxWidth:u}=this.columnWidthsDistribution;l<o+Math.ceil(.5*o)&&c.push(a);return l>r-Math.ceil(.5*r)&&u.push(a),Ja(l,o,r)}redistributeExtraWidth(e,t,a){const{colsWithMinWidth:d}=this.columnWidthsDistribution,{length:s}=d,o=zs(this.columnWidthData,a),{maxColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=o;let l=Is(t),c=0,u=0,b=0;if(s>0){c=e-l,b=s,u=Math.floor(c/b);for(let e=0;e<s;e+=1){const a=d[e],s=t[a],o=$s(s,u,r);l+=o-s,t[a]=o}}if(c=e-l,c>0){const e=n+i,{length:d}=a;b=d-e,u=Math.floor(c/b);for(let e=0;e<d;e+=1){const d=a[e],s=t[e];if(!Ls(d)){const a=$s(s,u,r);l+=a-s,t[e]=a}}}}redistributeDeficitWidth(e,t,a){const{colsWithMaxWidth:d}=this.columnWidthsDistribution,{length:s}=d,o=zs(this.columnWidthData,a),{minColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=o;let l=Is(t),c=e-l,u=0,b=0;if(s>0){u=s,b=Math.floor(Math.abs(c)/u);for(let e=0,{length:a}=d;e<a;e+=1){const a=d[e],s=t[a],o=Ss(s,b,r);l-=s-o,t[a]=o}}c=e-l;const h=n+i;if(c<0){const{colsWithMinWidth:e}=this.columnWidthsDistribution;u=a.length-(h+e.length),b=Math.floor(Math.abs(c)/u);for(let d=0;d<a.length;d+=1){const s=a[d],o=t[d];if(!e.includes(d)&&!Ls(s)){const e=Ss(o,b,r);l-=o-e,t[d]=e}}}}}class Ms{constructor(e,t){this.widthsData={},this.widthsData={minColumnWidth:e,maxColumnWidth:t}}set minColumnWidth(e){this.widthsData.minColumnWidth=e}set maxColumnWidth(e){this.widthsData.maxColumnWidth=e}getAdjustedColumnWidths(e,t){const a=zs(this.widthsData,t),d=function(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:s,minColumnWidth:o}=t,r=s*o+a+d;return 0===t.totalFlexibleColumns?r:Math.max(r,e)}(e.getAvailableWidthFromDom(),a),s=this.getFlexibleColumnWidth(a,d),o=[];for(let e=0;e<t.length;e+=1){const a=Ls(t[e])||s;o[e]=a}return{columnWidths:o}}getFlexibleColumnWidth(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:s,minColumnWidth:o,maxColumnWidth:r}=e,n=t-a-d,i=Math.floor(n/s),l=Math.max(i,o);return Math.min(r,l)}}const Vs="auto",Ds="fixed";function Fs(e,t,a){const{columnWidths:d}=a,{length:s}=e;if(d.length!==s)return;let o=0;const r=L.isRTL();for(let a=0;a<s;a+=1){const s=e[a],n=d[a];t.columnWidths[a]=n,s.columnWidth=n,s.style=n?`width: ${n}px;`:"",r&&(s.offset=o),o+=n}t.tableWidth=o}class Ks{constructor(e){this.columnWidthMode=Ds,this.isResizingUpdateQueued=!1,this.isAutoResizingUpdateQueued=!1;const t=e.minColumnWidth||id.minColumnWidth,a=e.maxColumnWidth||id.maxColumnWidth,d=new Ms(t,a),s=new Es(t,a);this.widthStrategies={[Ds]:d,[Vs]:s}}get columnWidthStrategy(){return this.widthStrategies[this.columnWidthMode]}set minColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:s}=a;d<s;d+=1){t[a[d]].minColumnWidth=e}}set maxColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:s}=a;d<s;d+=1){t[a[d]].maxColumnWidth=e}}set wrapTextMaxLines(e){this.widthStrategies[Vs].wrapTextMaxLines=e}shouldFireResizeEvent(e,t){return this.columnWidthMode===Ds&&e.columnWidths.length!==t.length}adjustColumnsSize(e,t,a,d){const{columnWidthStrategy:s,isAutoResizingUpdateQueued:o,isResizingUpdateQueued:r}=this;if(r){let r;r=this.shouldResizeWithUpdate(e,t,d)?s.getAdjustedColumnWidths(this.getDatatableInterface(e,t),a,o):{columnWidths:d.columnWidths},Fs(a,d,r)}this.isAutoResizingUpdateQueued=!1,this.isResizingUpdateQueued=!1}adjustColumnsSizeAfterResize(e,t,a){Fs(t,a,this.columnWidthStrategy.getAdjustedColumnWidths(this.getDatatableInterface(e.template,e.refs),t))}handleDataChange(e){this.columnWidthMode===Vs&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleColumnsChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleWidthModeChange(e){e.length>0&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(e))}handleRowNumberOffsetChange(e,t){const a=function(e){if(e.showRowNumberColumn){const{columns:t}=e;for(let e=0,{length:a}=t;e<a;e+=1)if(t[e].type===xd)return e}return-1}(e);if(-1!==a){const{columns:d}=e,s=d[a],o=function(e){const t=String(e.rows.length+e.rowNumberOffset).length;return Math.max(10*t+12,40)}(e);s.initialWidth!==o&&(s.initialWidth=Math.max(o,s.minWidth),t.columnWidths.length>0&&(this.isResizingUpdateQueued=!0))}}handleCheckboxColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleActionsColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0)}handleRowNumberColumnChange(e,t,a){a.length>0&&e!==t&&(this.isResizingUpdateQueued=!0,this.setAutoResizingUpdate(a))}setAutoResizingUpdate(e){this.columnWidthMode===Vs&&(this.isAutoResizingUpdateQueued=!0);for(let t=0;t<e.length;t+=1){const a=e[t];Ls(a)||(a.columnWidth=null,a.style="")}}hasDataChanged(e,t){const{length:a}=e,{length:d}=t;return d>0&&(0===a||a!==d)}shouldResizeWithUpdate(e,t,a){return!(a.columnWidths.length>0)||bd(e,t)}getDatatableInterface(e,t){return{getAvailableWidthFromDom:()=>ad(e,t).offsetWidth,getDataCellWidths(){const e=t.tableBody.firstChild;if(e){const t=e.children,{length:a}=t,d=Array(a);for(let e=0;e<a;e+=1)d[e]=t[e].offsetWidth;return d}return[]},getHeaderCellWidths(){const e=t.headerRow.children,a=[];for(let t=0;t<e.length;t+=1){const d=e[t].firstChild.getDomWidth();d&&a.push(d)}return a},getTableElementWidth:()=>(t?.tableElement||e.querySelector(".kdds-table")).offsetWidth}}}function Ws(t){t.stopPropagation();const{action:a,rowKeyValue:d}=t.detail,s=yd(this.state,d);this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:e.unwrap(a),row:e.unwrap(s)}}))}function Ns(t){t.stopPropagation();const{actionsProviderFunction:a,doneCallback:d,rowKeyValue:s,saveContainerPosition:o}=t.detail,r=yd(this.state,s);o(this.getViewableRect()),a(e.unwrap(r),d)}function Bs(t){t.stopPropagation();const{state:a}=this,{colKeyValue:d,rowKeyValue:s}=t.detail,o=yd(a,s),r=Bd(a,d),n=this._rawColumns[r];this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:e.unwrap(n.typeAttributes),row:e.unwrap(o)}}))}const Hs="selectAllRows",Os="deselectAllRows",js="rowSelect",Ps="rowDeselect";function qs(e){e.stopPropagation(),function(e){const{maxRowSelection:t,rows:a}=e,d={};for(let e=0,{length:s}=a;e<s;e+=1){const s=a[e];void 0===t||e<t?(d[s.key]=!0,co(s,!0)):(s.isDisabled=!0,co(s,!1))}e.selectedRowsKeys=d}(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:Hs})}function Us(e){e.stopPropagation(),Xs(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:Os})}function Ys(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d}=e,{start:s,end:o}=no(e,t,a),r=e.maxRowSelection||d.length;let n,i=s;for(;i<=o&&!n;)Zs(e,d[i].key),n=Ld(e)>=r,i+=1}(t,d&&so(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:js,value:a})}function Qs(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d,selectedRowsKeys:s}=e,{start:o,end:r}=no(e,t,a);for(let t=o;t<=r;t+=1){const a=d[t];co(a,!1),s[a.key]=!1,Ld(e)===e.maxRowSelection-1&&eo(e)}}(t,d&&so(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:Ps,value:a})}function Gs(){ro(this.state)}function Xs(e){const{rows:t}=e;for(let e=0,{length:a}=t;e<a;e+=1){const a=t[e];a.isDisabled=!1,co(a,!1)}e.selectedRowsKeys={}}function Zs(e,t){const a=fd(e,t),d=Ld(e),s=e.maxRowSelection||e.rows.length;co(a,!0);let{selectedRowsKeys:o}=e;const{singleRowSelectionMode:r}=e;if(s>1||1===s&&r===Td)o[a.key]||(o[a.key]=!0,d+1===s&&Js(e));else{if(1===d){co(fd(e,Object.keys(o)[0]),!1),o={},e.selectedRowsKeys=o}o[a.key]=!0}}function Js(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!0)}}function eo(e){const{rows:t,selectedRowsKeys:a}=e;for(let e=0,{length:d}=t;e<d;e+=1){const d=t[e];a[d.key]||(d.isDisabled=!1)}}function to(e,t){if(Array.isArray(t)){const{maxRowSelection:a}=e,d=Ld(e);let s=function(e,t){const a=[],{rows:d}=e;if(d.length){const{indexes:d}=e;for(let e=0,{length:s}=t;e<s;e+=1){const s=t[e];d[s]&&a.push(s)}}return a}(e,t);s.length>a&&(s=s.slice(0,a));const o=function(e){const t={};for(let a=0,{length:d}=e;a<d;a+=1)t[e[a]]=!0;return t}(s),r=function(e,t){const a=[],{selectedRowsKeys:d}=e;for(let e=0,{length:s}=t;e<s;e+=1){const s=t[e];d[s]||a.push(s)}return a}(e,s),n=function(e,t){const a=[],{selectedRowsKeys:d}=e,s=Object.keys(d);for(let e=0,{length:o}=s;e<o;e+=1){const o=s[e];d[o]&&!t[o]&&a.push(o)}return a}(e,o);!function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)co(fd(e,t[a]),!0)}(e,r),function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)co(fd(e,t[a]),!1)}(e,n),e.selectedRowsKeys=o;const{length:i}=s;i===a&&Sd(e)?Js(e):i<a&&d===a&&eo(e)}else Xs(e)}function ao(e,t){const a={};for(let d=0,{length:s}=e;d<s;d+=1){a[e[d][t]]=!0}return a}function so(e){const{lastSelectedRowKey:t}=e;return void 0!==t&&void 0!==fd(e,t)?t:void 0}function oo(e,t){const a=Sd(e),d=a?Td:Rd,{rows:s}=e;let o,r=!1;e.renderModeInline&&!e.hideCheckboxColumn&&(r=!0,o=e.showRowNumberColumn?1:0);for(let n=0,{length:i}=s;n<i;n+=1){const i=s[n];i.inputType=d,i.isDisabled=zd(e,i.key),r&&Yd(e,i.cells[o],a,t)}}function ro(e){const t=e.columns||{};for(let a=0;a<t.length;a+=1){const d=t[a];if(d.type===Cd){const{maxRowSelection:s,rows:{length:o}}=e,r=s&&s<o?s:o,n=Ld(e),i=Object.assign({},d);return i.bulkSelection=n?n===r?"all":"some":"none",i.isBulkSelectionDisabled=0===s||0===o,void(t[a]=i)}}}function no(e,t,a){const d=t===md?0:vd(e,t),s=vd(e,a);return{start:Math.min(d,s),end:Math.max(d,s)}}function io(e,t,a){const d=gd(e,t,a);d&&(d.ariaSelected="true")}function lo(e,t,a){const d=gd(e,t,a);d&&(d.ariaSelected=!1)}function co(e,t){e.ariaSelected=t,e.classnames="kdds-hint-parent"+(t?" kdds-is-selected":""),e.isSelected=t}const uo=new Set(["action","boolean","button","button-icon","date-local","rowNumber"]),bo={clipText:A.KingdeeDatatable.clipText,wrapText:A.KingdeeDatatable.wrapText};function ho(e){if(function(e){uo.has(e.type)?e.wrapText=!1:e.wrapText=L.normalizeBoolean(e.wrapText)}(e),e.hideDefaultActions||uo.has(e.type))return[];const t=e.wrapText||!1,{clipText:a,wrapText:d}=bo;return[{label:d,title:d,checked:t,name:"wrapText"},{label:a,title:a,checked:!t,name:"clipText"}]}function ko(e,t,a){const{name:d}=t,s="wrapText"===d;if(s||"clipText"===d){const{state:t}=e,d=Hd(t,a),o=t.columns[d];o.wrapText!==s&&(t.shouldResetHeights=!0,o.wrapText=s,function(e,t){const a=Hd(e,t);if(-1===a)return;const{columns:d}=e,s=d[a],{internalActions:o}=s.actions;for(let e=0;e<o.length;e+=1){const t=o[e],{name:a}=t;"wrapText"===a?t.checked=s.wrapText:"clipText"===a&&(t.checked=!s.wrapText)}(function(e,t){const{data:a,rows:d}=e;for(let s=0;s<d.length;s+=1)ys(e,s,t,a[s])})(e,a),s.actions=Object.assign({},s.actions)}(t,a))}e._recalculateHeaderHeight=!0}function po(t){t.stopPropagation();const{action:a,actionType:d,colKeyValue:s}=t.detail;"customer"!==d&&ko(this,a,s),function(t,a,d){const s=Bd(t.state,d),o=t.columns[s];t.dispatchEvent(new CustomEvent("headeraction",{detail:{action:e.unwrap(a),columnDefinition:e.unwrap(o)}}))}(this,a,s)}function mo(e){e.stopPropagation(),e.preventDefault();const t=2.125*e.detail.actionsCount+1.0625*e.detail.dividersCount+1;this._actionsMinHeightStyle=`min-height: ${t}rem`,e.detail.saveContainerPosition(this.getViewableRect())}function go(){this._actionsMinHeightStyle=""}function vo(e,t,a){e.dispatchEvent(new CustomEvent("privatetogglecell",{bubbles:!0,composed:!0,cancelable:!0,detail:{name:t,nextState:!a}}))}function fo(e){const{firstVisibleIndex:t}=e,a=Math.max(t-e.bufferSize,0),d=[0],s=e.offsets[a];if(d[a]=s,e.heightCache={},e.offsets=d,e.offsetRanges=[{start:0,end:0}],a>0&&e.offsetRanges.push({start:a,end:a}),e.virtualize&&e.rows.length){const t=e.rows.length-a,d=e.rowHeight*t;e.tableHeight=s+d}}function yo(e,t,a,d){const s={start:a[0].rowIndex,end:a[a.length-1].rowIndex+1};let o,r=0;const n=function(e,t){let a=0,d=e.length-1;for(;a<=d;){const s=Math.floor((a+d)/2),o=e[s].start<=t,r=e[s+1]&&e[s+1].start<=t;if(o&&!r)return s;o?a=s+1:d=s-1}return-1}(t.offsetRanges,s.start),i=e.querySelectorAll('[data-rowgroup-body] [role="row"]');for(let e=0;e<a.length;e++){const d=a[e];if(!t.heightCache[d.key]&&0!==t.heightCache[d.key]){const a=i[e];if(a){let{height:e}=a.getBoundingClientRect();d.rowIndex&&d.rowIndex===s.start&&e++,t.heightCache[d.key]=e,wo(t,d,n,e),r+=e-t.rowHeight,o=d.rowIndex+2}}}t.tableHeight+=r,function(e,t,a,d,s){const{offsets:o,offsetRanges:r}=e,n=r[t],i=r[t+1],l=n&&Co(n,a),c=i&&Co(a,i);if(c&&s)for(let e=d;e<=i.end;e++)o[e]=o[e]+s;l&&c?(i.start=n.start,i.end=Math.max(a.end,i.end),e.offsetRanges.splice(t,1)):l?n.end=Math.max(n.end,a.end):c?(i.start=a.start,i.end=Math.max(a.end,i.end),t+=1):(e.offsetRanges.splice(t+1,0,a),t+=1);if(t>=0)for(let e=t+1;e<r.length;e++){const{start:t,end:a}=r[e];for(let e=t;e<=a;e++)o[e]=o[e]+s}}(t,n,s,o,r),function(e,t,a,d){const s=d?.scrollerY||e.querySelector(".kdds-scrollable_y");s.scrollTop=t.offsets[t.firstVisibleIndex]+t.firstRowOffset;const o=!!a[0].rowIndex;a.forEach((e,a)=>{let d=t.offsets[e.rowIndex];o&&!a&&(d+=1),e.style=`position:absolute;top:${d}px;`})}(e,t,a,d)}function _o(e,t){const{offsetRanges:a,offsets:d,rowHeight:s}=e;let o=0,r=a.length-1;for(;o<=r;){const n=Math.floor((o+r)/2),i=a[n],l=a[n+1],c=d[i.start],u=d[i.end],b=c<=t,h=b&&t<=u,k=!l||t<d[l.start],p=b&&k;if(h)return xo(e,i,t);if(p){const a=t-u,d=Math.floor(a/s);return e.firstRowOffset=a%s,i.end+d}t<c?r=n-1:o=n+1}return-1}function xo(e,t,a){let{start:d,end:s}=t;const{offsets:o}=e;for(;d<=s;){const t=Math.floor((d+s)/2),r=o[t]<=a,n=o[t+1]&&o[t+1]<=a;if(r&&!n)return e.firstRowOffset=a-o[t],t;r?d=t+1:s=t-1}return-1}function wo(e,t,a,d){const s=e.offsetRanges[a];let o=e.offsets[t.rowIndex];if(!o&&(o=0,s)){o=e.offsets[s.end]+(t.rowIndex-s.end)*e.rowHeight,e.offsets[t.rowIndex]=o}e.offsets[t.rowIndex+1]=o+d}function Co(e,t){return e.start<=t.start&&t.start<=e.end||e.start<=t.end&&t.end<=e.end}const Ao="NAVIGATION",To="ACTION",Ro=L.isRTL()?{RIGHT:-1,LEFT:1,USE_CURRENT:0,RESET:2,TAB_FORWARD:-1,TAB_BACKWARD:1}:{RIGHT:1,LEFT:-1,USE_CURRENT:0,RESET:2,TAB_FORWARD:1,TAB_BACKWARD:-1};function zo(e){e.stopPropagation(),function(e,t){const{refs:a,state:d,template:s}=e;switch(t.detail.keyCode){case 37:Io(d,s,a,t);break;case 39:So(d,s,a,t);break;case 38:$o(d,s,a,t);break;case 40:Eo(d,s,a,t);break;case 13:case 32:Mo(d,s,a,t);break;case 27:Vo(d,s,a,t);break;case 9:Do(d,s,a,t)}}(this,e)}function Lo(e){L.isCellElement(e.target)&&function(e,t){const{refs:a,state:d,template:s}=e,{activeCell:{colKeyValue:o,rowKeyValue:r}}=d,{keyCode:n,shiftKey:i}=t,l={detail:{colKeyValue:o,rowKeyValue:r,keyCode:n,shiftKey:i},preventDefault:()=>{},stopPropagation:()=>{}};switch(t.keyCode){case 37:t.preventDefault(),Io(d,s,a,l);break;case 39:t.preventDefault(),So(d,s,a,l);break;case 38:t.preventDefault(),$o(d,s,a,l);break;case 40:t.preventDefault(),Eo(d,s,a,l);break;case 13:case 32:t.preventDefault(),Mo(d,s,a,l);break;case 27:l.detail.keyEvent=t,Vo(d,s,a,l);break;case 9:Do(d,s,a,l)}}(this,e)}function Io(e,t,a,d){const{rowKeyValue:s,colKeyValue:o}=d.detail,{colIndex:r}=gd(e,s,o);if(0===r&&function(e){return e.keyboardMode===Ao&&e.treeColumn}(e))nr(e,t),function(e){e.treeColumn&&e.keyboardMode===Ao&&(e.rowMode=!0)}(e),cr(e,t,a);else{const d=function(e,t){return L.isRTL()?xr(e.columns.length,t):wr(t)}(e,r);if(void 0===d)return;nr(e,t),e.activeCell=gd(e,s,e.columns[d].colKeyValue),rr(e,t,a,Ro.LEFT)}}function So(e,t,a,d){const{rowKeyValue:s,colKeyValue:o}=d.detail,{colIndex:r}=gd(e,s,o),n=function(e,t){return L.isRTL()?wr(t):xr(e.columns.length,t)}(e,r);void 0!==n&&(nr(e,t),e.activeCell=gd(e,s,e.columns[n].colKeyValue),rr(e,t,a,Ro.RIGHT))}function $o(e,t,a,d){const{rowKeyValue:s,colKeyValue:o,keyEvent:r}=d.detail,{rowIndex:n}=gd(e,s,o),i=function(e,t){return-1===t?void 0:t-1}(0,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),nr(e,t),e.activeCell=gd(e,-1===i?md:e.rows[i].key,o),rr(e,t,a,Ro.USE_CURRENT))}function Eo(e,t,a,d){const{rowKeyValue:s,colKeyValue:o,keyEvent:r}=d.detail,{rowIndex:n}=gd(e,s,o),i=function(e,t){const a=e.rows.length;return t+1<a?t+1:void 0}(e,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),nr(e,t),e.activeCell=gd(e,-1===i?md:e.rows[i].key,o),rr(e,t,a,Ro.USE_CURRENT))}function Mo(e,t,a,d){if(e.keyboardMode===Ao){e.keyboardMode=To;const{keyCode:a,keyEvent:s}=d.detail,{rowIndex:o,colIndex:r}=e.activeCell;s&&s.preventDefault();const n={action:void 0};32===a?n.action="space":13===a&&(n.action="enter"),Po(e,t,n),vr(e,o,r,-1)}}function Vo(e,t,a,d){e.keyboardMode===To&&(d.detail.keyEvent.stopPropagation(),e.keyboardMode=Ao,Po(e,t),rr(e,t,a,Ro.RESET))}function Do(e,t,a,d){d.preventDefault(),d.stopPropagation();const{detail:s}=d,o=s.shiftKey?"BACKWARD":"FORWARD";const r=function(e,t){const{rowIndex:a,colIndex:d}=e.activeCell,{nextRowIndex:s,nextColIndex:o}=Wo(e,t);if(-1===a&&0===d&&-1!==s&&0!==o||-1!==a&&-1===s&&0===o)return!0;return!1}(e,o);if(e.keyboardMode===To)if(!1===r){const{keyEvent:d}=s;d&&d.preventDefault(),"BACKWARD"===o?Ko(e,t,a):Fo(e,t,a)}else e.keyboardMode=Ao,Po(e,t),e.isExitingActionMode=!0;else e.isExitingActionMode=!0}function Fo(e,t,a){const{nextColIndex:d,nextRowIndex:s}=Wo(e,"FORWARD");nr(e,t),e.activeCell=gd(e,-1===s?md:e.rows[s].key,e.columns[d].colKeyValue),rr(e,t,a,Ro.TAB_FORWARD,{action:"tab"})}function Ko(e,t,a){const{nextColIndex:d,nextRowIndex:s}=Wo(e,"BACKWARD");nr(e,t),e.activeCell=gd(e,-1===s?md:e.rows[s].key,e.columns[d].colKeyValue),rr(e,t,a,Ro.TAB_BACKWARD,{action:"tab"})}function Wo(e,t="FORWARD"){const{rowIndex:a,colIndex:d}=e.activeCell;return"BACKWARD"===t?function(e,t,a){const d=e.columns.length;if(a>0)return{nextRowIndex:t,nextColIndex:a-1};return{nextRowIndex:Cr(e,t),nextColIndex:d-1}}(e,a,d):function(e,t,a){const d=e.columns.length;if(d>a+1)return{nextRowIndex:t,nextColIndex:a+1};return{nextRowIndex:Ar(e,t),nextColIndex:0}}(e,a,d)}function No(e,t){const{refs:a,state:d,template:s}=e,{localName:o}=t.target;if(o&&-1!==o.indexOf("tr")&&Tr(d))switch(t.detail.keyCode){case 37:!function(e,t,a,d,s){const{rowKeyValue:o,rowHasChildren:r,rowExpanded:n,rowLevel:i}=s.detail;if(r&&n)vo(e,o,n);else if(i>1){const{treeColumn:e}=t;if(e){const{colKeyValue:s}=e,{rowIndex:r}=gd(t,o,s),n=function(e,t,a){const d=a-1,{rows:s}=e;for(let e=d;e>=0;e--)if(s[e].level===t-1)return e;return-1}(t,i,r);-1!==n&&(ur(t,a),t.activeCell=gd(t,t.rows[n].key,s),cr(t,a,d))}}}(e,d,s,a,t);break;case 39:!function(e,t,a,d,s){const{rowKeyValue:o,rowHasChildren:r,rowExpanded:n}=s.detail;r&&!n?vo(e,o,n):(ur(t,a),Rr(t),rr(t,a,d,Ro.USE_CURRENT))}(e,d,s,a,t);break;case 38:!function(e,t,a,d){const{rowKeyValue:s,keyEvent:o}=d.detail,{treeColumn:r}=e;if(o.stopPropagation(),o.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:o}=gd(e,s,d),n=Cr(e,o);-1!==n&&(ur(e,t),e.activeCell=gd(e,e.rows[n].key,d),cr(e,t,a))}}(d,s,a,t);break;case 40:!function(e,t,a,d){const{rowKeyValue:s,keyEvent:o}=d.detail,{treeColumn:r}=e;if(o.stopPropagation(),o.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:o}=gd(e,s,d),n=Ar(e,o);-1!==n&&(ur(e,t),e.activeCell=gd(e,e.rows[n].key,d),cr(e,t,a))}}(d,s,a,t)}}function Bo(e){e.activeCell=function(e){const{columns:t}=e,{length:a}=t;if(a){let d=0,s=!1;for(let e=0;e<a;e+=1)if(d=e,!0!==t[e].internal){s=!0;break}s||(d=0);const{rows:o}=e;return gd(e,o.length>0?o[0].key:md,t[d].colKeyValue)}}(e)}function Ho(e,t){const{activeCell:a}=t;return a?function(e,t,a){const d=e.querySelector(`${ed(t)} ${function(e){return`[data-col-key-value="${Xa(e)}"]`}(a)}`);return d||void 0}(e,a.rowKeyValue,a.colKeyValue):void 0}function Oo(e,t,a){const{activeCell:d}=e;if(d){const{rowKeyValue:e,colKeyValue:s}=d;return e.toString()===t.toString()&&s===a}return!1}function jo(e){const{activeCell:t}=e;if(e.hasReceivedFocus)t&&qo(e)||(t&&e.cellToFocusNext?function(e){const{rowIndex:t,colIndex:a}=e.cellToFocusNext,{columns:d,rows:s}=e,{length:o}=s;let r=t;r>o-1&&(r=o-1);const{length:n}=d;let i=a;i>n-1&&(i=n-1);const l=function(e,t,a){const{columns:d,rows:s}=e;if(s.length>t&&d.length&&d.length>a){const o=-1===t?md:s[t].key,{colKeyValue:r}=d[a];return e.indexes[`${o}-${r}`]}}(e,r,i);l?e.activeCell=l:Bo(e);e.keyboardMode=Ao}(e):Bo(e));else{if(t&&qo(e)){const{rowIndex:a,colIndex:d}=t;vr(e,a,d,-1)}Bo(e)}}function Po(e,t,a){const d=Uo(Ho(t,e));if(d){const{keyboardMode:t}=e;"function"==typeof d.setMode?d.setMode(t,a):or(e.activeCell,d,t,a)}}function qo(e){const{activeCell:t,indexes:a}=e;if(t){const d=a[t.cellKeyValue];return d&&(e.activeCell=d),void 0!==d}return!1}function Uo(e){return e?e.firstElementChild:void 0}function Yo(e){return e.closest('[role="gridcell"],[role="columnheader"],[role="rowheader"]')||void 0}function Qo(e){return e.currentInputIndex>0}function Go(e){const{actionableElementsCount:t}=e;return t>1&&e.currentInputIndex<t-1}function Xo(e,t,a){const{rowKeyValue:d,colKeyValue:s}=e,{keyCode:o,shiftKey:r}=a;t.dispatchEvent(new CustomEvent("privatecellkeydown",{bubbles:!0,composed:!0,cancelable:!0,detail:{rowKeyValue:d,colKeyValue:s,keyCode:o,shiftKey:r,keyEvent:a}}))}function Zo(e){const{state:t}=this,a=t.renderModeInline?Yo(e.target):void 0;if(a){const e=Uo(a);!function(e,t){const{rowKeyValue:a,colKeyValue:d}=e;t.dispatchEvent(new CustomEvent("privatecellfocusedbyclick",{bubbles:!0,composed:!0,detail:{rowKeyValue:a,colKeyValue:d}}))}(gd(t,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue),e)}}function Jo(e){const{state:t}=this,a=t.renderModeInline?Yo(e.target):void 0;if(a){const e=Uo(a),t=gd(this.state,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue);t.keyboardMode===To&&sr(t,e,t.currentInputIndex)}}function er(e){const{state:t}=this,{target:a}=e,d=t.renderModeInline&&"KD-PRIMITIVE-CELL-FACTORY"!==a.tagName&&!a.getAttribute("role")?Yo(e.target):void 0;if(void 0===d)return;const s=Uo(d),o=gd(t,d.parentElement.dataset.rowKeyValue,d.dataset.colKeyValue),{keyboardMode:r}=o,{keyCode:n,shiftKey:i}=e;if(r===To){let t=n!==L.keyCodes.shift;n===L.keyCodes.left?function(e){return L.isRTL()?Go(e):Qo(e)}(o)&&(e.preventDefault(),L.isRTL()?ar(o,s):dr(o,s),t=!1):n===L.keyCodes.right?function(e){return L.isRTL()?Qo(e):Go(e)}(o)&&(e.preventDefault(),L.isRTL()?dr(o,s):ar(o,s),t=!1):n===L.keyCodes.tab&&(i?Qo(o)&&(e.preventDefault(),dr(o,s),t=!1):Go(o)&&(e.preventDefault(),ar(o,s),t=!1)),t&&Xo(o,s,e)}else r===Ao&&(n!==L.keyCodes.left&&n!==L.keyCodes.right&&n!==L.keyCodes.up&&n!==L.keyCodes.down&&n!==L.keyCodes.enter||Xo(o,s,e))}function tr(e){const t=Array.from(e.querySelectorAll('[data-navigation="enable"]')),a=e.querySelector("kd-primitive-custom-cell");if(a){a.getActionableElements().forEach(e=>t.push(e))}return t}function ar(e,t){sr(e,t,e.currentInputIndex+1)}function dr(e,t){sr(e,t,e.currentInputIndex-1)}function sr(e,t,a){const d=tr(t),{length:s}=d;e.actionableElementsCount=s,s&&(a>0&&a<s?(d[a].focus(),e.currentInputIndex=a):(d[0].focus(),e.currentInputIndex=0))}function or(e,t,a,d){const s=d||{action:"none"};if(e.keyboardMode=a,a===To){e.internalTabIndex=0,setTimeout(()=>{sr(e,t,e.currentInputIndex)},0);const a=tr(t),{length:d}=a;if("tab"===s.action)for(let e=0;e<d;e+=1){const t=a[e];if(t.getAttribute("data-action-edit")){t.click();break}}else if(1===d){const e=a[0];-1!==(e.getAttribute("data-action-triggers")||"").indexOf(s.action)&&e.click()}}else e.internalTabIndex=-1}function rr(e,t,a,d,s,o=!0){const{keyboardMode:r}=e,{rowIndex:n,colIndex:i}=e.activeCell;let l,c=Ho(t,e);e.activeCell.hasFocus=!(s&&Ir(e)),vr(e,n,i),o&&!c&&Ir(e)?(!function(e,t,a,d){const{firstVisibleIndex:s,bufferSize:o,renderedRowCount:r,rowHeight:n}=e;let i=d*n;if(s>d){const e=r-2*o;i=Math.max(i-e*n,0)}const l=dd(t,a);l.scrollTop=i,_o(e,i)}(e,t,a,n),l=function(e,t){return new Promise(a=>{const d=Date.now(),s=setInterval(()=>{(Ho(e,t)||d-Date.now()>1e3)&&(clearInterval(s),a())},0)})}(t,e)):l=Promise.resolve();const u=c&&c.parentElement.dataset.rowKeyValue;return l.then(()=>new Promise(a=>{setTimeout(()=>{if(c&&_d(e,u,c.dataset.colKeyValue)||(c=Ho(t,e)),c){const t=Uo(c),{activeCell:a}=e;t&&(d&&("function"==typeof t.resetCurrentInputIndex?t.resetCurrentInputIndex(d,r):function(e,t,a,d){if(-1===a){const{length:a}=tr(t);e.currentInputIndex=a?a-1:0}else 1!==a&&2!==a||(e.currentInputIndex=0);d===To&&e.keyboardMode===To&&sr(e,t,e.currentInputIndex)}(a,c,d,r)),"function"==typeof t.addFocusStyles&&t.addFocusStyles()),c.classList.add(m.FOCUS_CLASS),c.focus({preventScroll:!o}),t&&("function"==typeof t.setMode?t.setMode(r,s):or(a,t,r,s))}a()},0)}))}function nr(e,t){const{activeCell:a}=e;if(a){const{rowIndex:d,colIndex:s}=a;e.activeCell.hasFocus=!1;let o=Ho(t,e);const r=o&&o.parentElement.dataset.rowKeyValue;setTimeout(()=>{if(o&&_d(e,r,o.dataset.colKeyValue)||(o=Ho(t,e)),o){const{activeElement:t}=document,a=Uo(o);a&&("function"==typeof a.removeFocusStyles?(t===a&&a.blur(),a.removeFocusStyles(!0)):(e.activeCell.internalTabIndex=-1,o.contains(t)&&o.blur())),o.classList.remove(m.FOCUS_CLASS)}},0),vr(e,d,s,-1)}}function ir(e,t){const{activeCell:a}=e;if(a&&!e.cellToFocusNext&&br(e,t)){const{length:t}=e.rows,d=t-1,{length:s}=e.columns;let{rowIndex:o,colIndex:r}=a;r=0,o===d&&(o=d,r=s?s-1:0),e.cellToFocusNext={rowIndex:o,colIndex:r}}}function lr(e){e.activeCell&&e.cellToFocusNext&&qo(e)&&(e.cellToFocusNext=null)}function cr(e,t,a){const{rowIndex:d}=e.activeCell,s=Lr(t,e);fr(e,d),setTimeout(()=>{s.focus({preventScroll:!0}),function(e,t,a,d){const s=dd(t,a),o=s.parentElement.getBoundingClientRect(),r=d.getBoundingClientRect();r.top<o.top+80?s.scrollTop-=20:r.bottom>o.bottom-80&&(s.scrollTop+=20);_o(e,s.scrollTop)}(e,t,a,s)},0)}function ur(e,t){const{activeCell:a}=e;a&&(setTimeout(()=>{const a=Lr(t,e);document.activeElement===a&&a.blur()},0),fr(e,a.rowIndex,-1))}function br(e,t){return e.cellClicked||hr(t)}function hr(e){const t=L.getShadowActiveElements();for(let a=0,{length:d}=t;a<d;a+=1)if(e.contains(t[a]))return!0;return!1}function kr(e){const{state:t}=this;if(t.hasReceivedFocus=!0,t.isExitingActionMode=!1,hr(e.currentTarget)&&L.isCellElement(e.target)){if(t.activeCell&&!t.rowMode){t.activeCell.hasFocus=!0;const e=Ho(this.template,t);if(e){const a=Uo(e);a&&("function"==typeof a.addFocusStyles&&a.addFocusStyles(),e.tabIndex=0),e.classList.add(m.FOCUS_CLASS),this._suppressScroll?this._suppressScroll=!1:pr(t,this.template,this.refs,e)}}!function(e){e.cellClicked=!1}(t)}}function pr(e,t,a,d){if(e.activeCell?.colIndex===e.columns?.length-1){const e=ad(t,a);e.scrollLeft=e.scrollWidth}else{const e=a?.outerContainer||t.querySelector("div.dt-outer-container"),s=d.getBoundingClientRect(),o=e.getBoundingClientRect();(s.left<o.left||s.right>o.right)&&d.scrollIntoView({block:"nearest",inline:"nearest"})}}function mr(e){const{state:t}=this,{currentTarget:a,relatedTarget:d}=e,s=d&&a.contains(d);if((!d||d&&!s||d&&s&&t.isExitingActionMode)&&t.activeCell&&!t.rowMode){const e=Ho(this.template,t);if(e){const t=Uo(e);t&&"function"==typeof t.removeFocusStyles&&t.removeFocusStyles(),e.classList.remove(m.FOCUS_CLASS)}}}function gr(e){e.cellClicked=!0}function vr(e,t,a,d=0){zr(t)?e.columns[a].tabIndex=d:e.rows[t].cells[a].tabIndex=d}function fr(e,t,a=0){zr(t)||(e.rows[t].tabIndex=a)}function yr(e,t=0){e.activeCell&&!qo(e)&&jo(e),Sr(e,t)}function _r(e,t=0){e.activeCell&&!qo(e)&&jo(e),function(e,t=0){const{activeCell:a}=e;a&&Tr(e)&&fr(e,a.rowIndex,t)}(e,t)}function xr(e,t){return e>t+1?t+1:void 0}function wr(e){return e>0?e-1:void 0}function Cr(e,t){const{length:a}=e.rows;return-1===t?a-1:t-1}function Ar(e,t){const{length:a}=e.rows;return t+1<a?t+1:-1}function Tr(e){return e.keyboardMode===Ao&&!0===e.rowMode}function Rr(e){e.rowMode=!1}function zr(e){return-1===e}function Lr(e,t){let a;const{activeCell:d}=t;return d&&(a=e.querySelector(ed(d.rowKeyValue))),a||void 0}function Ir(e){const{activeCell:t}=e;return!!t&&_d(e,t.rowKeyValue,t.colKeyValue)}function Sr(e,t=0){const{activeCell:a}=e;a&&!Tr(e)&&vr(e,a.rowIndex,a.colIndex,t)}const $r='[data-iedit-panel="true"]';function Er(e){Wr(this,Yo(e.target))}function Mr(e){Hr(this);const{reason:t,rowKeyValue:a,colKeyValue:d}=e.detail;Kr(this,t,a,d),this._draftValues=this.draftValues}function Vr(e){const{state:t}=this;if(e.detail.checked)!function(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let s=0,{length:o}=d;s<o;s+=1){const o=d[s];a[o]&&io(e,o,t)}}(t);else{const{inlineEdit:e}=t;qr(this.state),io(t,e.rowKeyValue,e.colKeyValue)}}function Dr(e){const{state:t}=this,{inlineEdit:a}=t,{isPanelVisible:d}=a;if(!d)return;let s=0;const{target:o}=e;if(o.classList.contains("kdds-scrollable_y")){const e=o.scrollTop;null==this._lastScrollY?this._lastScrollY=e:o.scrollHeight>o.offsetHeight&&(s=Math.abs(this._lastScrollY-e))}else{const e=o.scrollLeft;null==this._lastScrollX?this._lastScrollX=e:o.scrollWidth>o.offsetWidth&&(s=Math.abs(this._lastScrollX-e))}if(s>5){const{rowKeyValue:e,colKeyValue:t}=a;this._lastScrollX=null,this._lastScrollY=null,Hr(this),Kr(this,"lost-focus",e,t)}else r=this,requestAnimationFrame(()=>{const{_positionRelationship:e}=r;e&&e.reposition()});var r}function Fr(e){const{inlineEdit:t}=e.state;t.isPanelVisible&&Kr(e,"lost-focus",t.rowKeyValue,t.colKeyValue)}function Kr(e,t,a,d){const{state:s,template:o,refs:r}=e,{inlineEdit:n}=s;if(_d(s,a,d)&&"edit-canceled"!==t&&!("lost-focus"===t&&n.massEditEnabled)){const t=o.querySelector($r),r=t.validity.valid,n=gd(s,a,d).value,{isMassEditChecked:i,value:l}=t;if(r&&(l!==n||i)){const t={[a]:{[d]:l}};if(i){const e=Id(s);for(let a=0;a<e.length;a+=1){t[e[a]]={[d]:l}}}!function(e,t){const{dirtyValues:a}=e.inlineEdit,d=Object.keys(t);for(let e=0;e<d.length;e+=1){const s=d[e];Object.prototype.hasOwnProperty.call(a,s)||(a[s]={}),Object.assign(a[s],t[s])}}(s,t),function(e,t){e.dispatchEvent(new CustomEvent("cellchange",{detail:{draftValues:jr(e.state,t)}}))}(e,t),vs(s,e._privateTypes)}}"lost-focus"!==t&&("tab-pressed-next"===t?Fo(s,o,r):"tab-pressed-prev"===t?Ko(s,o,r):rr(s,o,r,Ro.USE_CURRENT)),qr(s),lo(s,a,d),n.isPanelVisible=!1}function Wr(e,t){!function(e,t){requestAnimationFrame(()=>{Hr(e),e._positionRelationship=F.startPositioning(e,{target:t,element:()=>e.template.querySelector($r).getPositionedElement(),autoFlip:!0,align:{horizontal:F.Direction.Left,vertical:F.Direction.Top},targetAlign:{horizontal:F.Direction.Left,vertical:F.Direction.Top}})})}(e,t);const{state:a,template:d,_privateTypes:s}=e,{inlineEdit:o}=a;o.isPanelVisible&&Kr(e,"lost-focus",o.rowKeyValue,o.colKeyValue);const{rowKeyValue:r}=t.parentElement.dataset,{colKeyValue:n}=t.dataset,i=gd(a,r,n),{colIndex:l}=i,c=a.columns[l];o.isPanelVisible=!0,o.rowKeyValue=r,o.colKeyValue=n,o.columnDef=c,o.editedValue=i.value,o.customErrorValidationMessage=i.customErrorValidationMessage,o.massEditSelectedRows=Ld(a),o.massEditEnabled=o.massEditSelectedRows>1&&function(e,t){return!!e.selectedRowsKeys[t]}(a,r),o.cellRect=t.getBoundingClientRect();const{typeAttributes:u}=c||{};u&&(o.resolvedTypeAttributes=function(e,t,a,d,s){const o=e.columns[a],r=s&&d.getType(o.type),n=r&&r.typeAttributes;if(n){const a={},{length:d}=n,o=d?yd(e,t):void 0;if(o)for(let e=0;e<d;e+=1){const t=n[e],d=s[t];d&&(a[t]=Pr(o,d))}return a}return s}(a,r,l,s,u)),io(a,r,n),setTimeout(()=>{const t=d.querySelector("kd-primitive-datatable-iedit-panel");t.isEditableValid?t.focus():Kr(e,"edit-canceled",o.rowKeyValue,o.colKeyValue)},0)}function Nr(e){const{state:t}=e;if(t.data&&t.data.length>0)if(function(e){const{activeCell:t}=e;return!!t&&t.editable}(t))Br(e);else{const a=function(e){const{state:t}=e,{columns:a}=t,d=[];for(let e=0,{length:t}=a;e<t;e+=1){const t=a[e];t.editable&&d.push(t)}const{length:s}=d;if(s>0){const{rows:e}=t;for(let a=0;a<e.length;a+=1){const o=e[a],{key:r}=o;for(let e=0;e<s;e+=1){const{colKeyValue:a}=d[e],s=gd(t,r,a);if(s&&s.editable)return s}}}return}(e);a&&(t.activeCell=a,Br(e))}}async function Br(e){const{state:t,template:a,refs:d}=e;await rr(t,a,d,Ro.USE_CURRENT);Wr(e,Ho(a,t))}function Hr(e){const{_positionRelationship:t}=e;t&&(F.stopPositioning(t),e._positionRelationship=void 0)}function Or(e,t){const{columns:a,keyField:d}=e,s=Array.isArray(t)?t:[],o={};for(let e=0;e<s.length;e+=1){const t=s[e],r=Object.keys(t),n={};for(let e=0,{length:d}=r;e<d;e+=1){const d=r[e];for(let e=0;e<a.length;e+=1){const s=a[e];if(s.columnKey===d||!s.columnKey&&s.fieldName===d){n[s.colKeyValue]=t[d];break}}}delete n[d],o[t[d]]=n}e.inlineEdit.dirtyValues=o}function jr(e,t){const{columns:a,keyField:d}=e,s=[],o=Object.keys(t);for(let r=0,{length:n}=o;r<n;r+=1){const n=o[r],i=t[n],l=Object.keys(i),{length:c}=l;if(c){const t={};for(let d=0;d<c;d+=1){const s=l[d],o=Hd(e,s);if(-1!==o){const{name:e}=a[o];t[e]=i[s]}}t[d]=n,s.push(t)}}return s}function Pr(e,t){let a={};if(!Za(t))return void 0===t?a:t;if(Array.isArray(t))return t.map(t=>Pr(e,t));const d=Object.keys(t);for(let s=0,{length:o}=d;s<o;s+=1){const o=d[s],r=t[o];if(void 0!==r)if("fieldName"===o)a=e[r];else if(Za(r)){const{fieldName:t}=r;a[o]=t?e[t]:Pr(e,r)}else a[o]=r}return a}function qr(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let s=0,{length:o}=d;s<o;s+=1){const o=d[s];a[o]&&lo(e,o,t)}}function Ur(e,t){e.renderModeRoleBased?e.virtualize=L.normalizeString(t,{fallbackValue:"",validValues:["vertical"]}):e.virtualize=""}class Yr{constructor(){this.threshold=305,this.wrapperHeight=0,this.previousCache={renderedRowCount:0,totalRowCount:0,firstRowKey:""}}configure(e,t,a){const{rowHeight:d,bufferSize:s}=a;Ur(e,a.virtualize),function(e,t){e.enableViewportRendering=L.normalizeBoolean(t)}(e,a.viewportRendering),(e.virtualize||e.enableViewportRendering)&&this.initializeResizeObserver(e,t);const o=void 0!==s?s:5;e.bufferSize=od("bufferSize",o,"non-negative",5),"number"==typeof d&&(e.rowHeight=d,this.threshold=10*d)}updateViewportRendering(e,t,a){this.hasDataChanged(e.rows)||a?this.updateRenderedRows(e,this.getRowCountWithBuffer(e)):this.previousCache.totalRowCount<e.rows.length&&this.isWithinThreshold(t)?this.updateRenderedRows(e,this.previousCache.renderedRowCount+this.getRowCountWithBuffer(e)):this.updateRenderedRows(e,this.previousCache.renderedRowCount)}handleScroll(e,t){const{rows:a,renderedRowCount:d}=e;this.isWithinThreshold(t.target.firstChild)&&d<a.length&&this.updateRenderedRows(e,d+this.getRowCountWithBuffer(e))}getRenderedRange(e){const{firstVisibleIndex:t,bufferSize:a,renderedRowCount:d,rows:s,rowHeight:o,heightCache:r}=e,n=Math.max(t-a,0);let i=t-a+d;if(r[s[t]&&s[t].key]){let e=t,d=0,n=s[e]&&r[s[e].key];for(;n&&d<this.wrapperHeight;)d+=n,e+=1,n=s[e]&&r[s[e].key];if(d>=this.wrapperHeight)i=e+a;else{i=e+Math.ceil((this.wrapperHeight-d)/o)+a}}return d===s.length&&i<=s.length-a&&(i=d),{firstIndex:n,lastIndex:i}}updateRenderedRows(e,t){const{rows:a}=e,d=a.length,s=t?Math.min(t,d):d;e.enableViewportRendering?e.renderedRowCount<s&&(e.renderedRowCount=s,this.previousCache.renderedRowCount=s):(e.renderedRowCount=s,this.previousCache.renderedRowCount=s),this.previousCache.totalRowCount=d,a.length>0&&(this.previousCache.firstRowKey=a[0].key)}updateWrapperHeight(e){this.wrapperHeight=e()}initializeResizeObserver(e,t){this._heightResizeObserver||(this._heightResizeObserver=new S.KingdeeResizeObserver(()=>{if(this._resizeObserverConnected){this.updateWrapperHeight(t);const a=this.getRowCountWithBuffer(e);fo(e),(a>e.renderedRowCount||e.virtualize)&&this.updateRenderedRows(e,a)}}))}connectResizeObserver(e){const{_heightResizeObserver:t}=this;t&&(t.observe(e),this._resizeObserverConnected=!0)}disconnectResizeObserver(){const{_heightResizeObserver:e}=this;e&&(this._resizeObserverConnected=!1,e.disconnect())}getRowCountInViewport(e){return Math.ceil(this.wrapperHeight/e.rowHeight)}getRowCountWithBuffer(e){const t=e.virtualize?2:1;return this.getRowCountInViewport(e)+e.bufferSize*t}isWithinThreshold(e){return rd(e)<=this.threshold}hasDataChanged(e){return e.length>0&&this.previousCache.firstRowKey!==e[0].key}hasWrapperHeight(){return!!this.wrapperHeight}}function Qr(e){const{columns:t,defaultSortDirection:a,sortedBy:d,sortedDirection:s}=e,o=Array.isArray(d);for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];if(r.sortable&&o&&d.includes(r.name)&&s){const e=d.indexOf(r.name),t=s[e];r.sorted=e+1,r.sortAriaLabel="desc"===t?"descending":"ascending",r.sortedDirection=t}else r.sortable&&!o&&d===r.name?(r.sorted=!0,r.sortAriaLabel="desc"===s?"descending":"ascending",r.sortedDirection=s):(r.sorted=!1,r.sortAriaLabel=r.sortable?"other":null,r.sortedDirection=a)}}const{PrivateLookupItemPickedEvent:Gr}=R.EVENTS,Xr={ariaLiveNavigationMode:A.KingdeeDatatable.ariaLiveNavigationMode,ariaLiveActionMode:A.KingdeeDatatable.ariaLiveActionMode},{setContext:Zr,assertContext:Jr}=L.privateContext;class en extends K{get columnWidthsMode(){return this.widthsData.columnWidthsMode}set columnWidthsMode(e){const{widthsData:t}=this,a=L.normalizeString(e,{fallbackValue:"fixed",validValues:["fixed","auto"]});this._columnWidthManager.columnWidthMode=a,t.columnWidthsMode!==a&&this._columnWidthManager.handleWidthModeChange(this.state.columns),t.columnWidthsMode=a}get expandable(){return this._expandable}set expandable(e){this._expandable=e,((e,t)=>{const{defaultExpandedRowKeys:a=[],defaultExpandAllRows:d}=t,{data:s,keyField:o}=e,r=new Set(a);d&&r.size!==s.length&&s.forEach(e=>{r.add(e[o])}),e.expandedRowKeys=r})(this.state,e),this.updateColumns(this._rawColumns)}get rangeSelection(){return this._rangeSelection}set rangeSelection(e){this._rangeSelection=e}get columns(){return this._rawColumns}set columns(e){const t=Array.isArray(e)?e:[];this._rawColumns=t,this.updateColumns(t),this._columnWidthManager.handleColumnsChange(this.state.columns)}get data(){return this.state.data}set data(e){const{_customerSelectedRows:t,state:a}=this,{data:d,columns:s}=a,o=nd(e),r=function(e,t){const a=nd(e),d=nd(t);try{return!(!a.length||!d.length)&&JSON.stringify(a[0])===JSON.stringify(d[0])}catch(e){return!1}}(d,o);a.data=o,!r&&o.length&&s?.length&&this._columnWidthManager.handleDataChange(s),"string"==typeof a.keyField&&this.isConnected&&this.updateRows(),r?function(e,t,a){const d=a.length-t.length;e.tableHeight+=d*e.rowHeight}(a,d,o):(a.heightCache={},a.offsets=[0],a.offsetRanges=[{start:0,end:0}],a.firstVisibleIndex=0,a.tableHeight=a.rowHeight*o.length),t&&this.setSelectedRows(t)}get defaultSortDirection(){return this.state.defaultSortDirection}set defaultSortDirection(e){const{state:t}=this;!function(e,t){"asc"!==t&&"desc"!==t||(e.defaultSortDirection=t)}(t,e),Qr(t)}get draftValues(){return jr(e=this.state,e.inlineEdit.dirtyValues);var e}set draftValues(e){const{state:t}=this;this._draftValues=e,Or(t,e),this.isConnected&&"string"==typeof t.keyField&&this.updateRowsAndCells(),Sr(t)}get enableInfiniteLoading(){return this.state.enableInfiniteLoading}set enableInfiniteLoading(e){const{state:t}=this;!function(e,t){e.enableInfiniteLoading=L.normalizeBoolean(t)}(t,e),this.isConnected&&pd.call(this)}get errors(){return this.state.errors}set errors(e){const{state:t}=this;!function(e,t){e.errors=Object.assign({rows:{},table:{}},t)}(t,e),this.isConnected&&fs(t)}get hideCheckboxColumn(){return this.state.hideCheckboxColumn}set hideCheckboxColumn(e){const{_rawColumns:t,state:a}=this,d=L.normalizeBoolean(e);this._columnWidthManager.handleCheckboxColumnChange(a.hideCheckboxColumn,d,a.columns),a.hideCheckboxColumn=d,this.isConnected?this.updateColumns(t):t&&(a.hadTreeDataTypePreviously=!1,a.treeColumn=void 0,Fd({state:a,rawColumns:t,types:this._privateTypes,expandable:this._expandable}))}get showActionsMenu(){return this.state.showActionsMenu}set showActionsMenu(e){const{state:t}=this,a=L.normalizeBoolean(e);this._columnWidthManager.handleActionsColumnChange(t.showActionsMenu,a,t.columns),t.showActionsMenu=a,this.updateColumns(this._rawColumns)}get hideTableHeader(){return this.state.hideTableHeader}set hideTableHeader(e){this.state.hideTableHeader=L.normalizeBoolean(e)}get wrapTableHeader(){return this.state.wrapTableHeader}set wrapTableHeader(e){const t=this.state.wrapTableHeader,a=L.normalizeString(e,{fallbackValue:"none",validValues:["all","by-column","none"]});this.state.wrapTableHeader=a,a!==t&&(this._recalculateHeaderHeight=!0)}get loading(){return this.state.loading}set loading(e){!function(e,t){e.loading=L.normalizeBoolean(t)}(this.state,e)}get keyField(){return this.state.keyField}set keyField(e){const{state:t}=this;!function(e,t){e.keyField="string"==typeof t?t:void 0}(t,e),Or(t,this._draftValues),this.isConnected&&this.updateRows()}get loadMoreOffset(){return hd(this.state)}set loadMoreOffset(e){!function(e,t){sd(t),e.loadMoreOffset=sd(t)?parseInt(t,10):20}(this.state,e)}get maxColumnWidth(){return this.widthsData.maxColumnWidth}set maxColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.maxColumnWidth=od("maxColumnWidth",a,"non-negative",id.maxColumnWidth),cd(e,t)}(this.state.columns,t,e),this._columnWidthManager.maxColumnWidth=t.maxColumnWidth}get maxRowSelection(){return this.state.maxRowSelection}set maxRowSelection(e){const{state:t,_customerSelectedRows:a}=this,d=Ld(t);!function(e,t,a){const d=Id(e);if(Xs(e),sd(t)){const s=e.maxRowSelection,o=Number(t);e.maxRowSelection=o;const r=Math.min(d.length,o);for(let t=0;t<r;t+=1)Zs(e,d[t]);(function(e,t){return 0===e||0===t||1===e&&(t>1||void 0===t)||1===t&&(e>1||void 0===e)})(s,o)&&(oo(e,a),ro(e))}else e.maxRowSelection=void 0}(t,e,this._datatableId),d>0?this.fireSelectedRowsChange(this.getSelectedRows()):!this.isConnected&&t.data.length&&a&&(this._maxRowSelectionShouldFireEvent=!0)}get singleRowSelectionMode(){return this.state.singleRowSelectionMode}set singleRowSelectionMode(e){const{state:t}=this;t.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),function(e,t,a){L.normalizeString(t,{fallbackValue:Rd,validValues:[Td,Rd]})!==e.singleRowSelectionMode&&(e.singleRowSelectionMode=t,oo(e,a),ro(e))}(t,e,this._datatableId)}get minColumnWidth(){return this.widthsData.minColumnWidth}set minColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.minColumnWidth=od("minColumnWidth",a,"non-negative",id.minColumnWidth),cd(e,t)}(this.state.columns,t,e),this._columnWidthManager.minColumnWidth=t.minColumnWidth}get renderConfig(){return this._renderConfig}set renderConfig(e){Za(e)&&(this._renderManager.configure(this.state,this.getWrapperHeight,e),this._renderManager.updateViewportRendering(this.state,this.gridContainer,!0),this._renderConfig=e)}get renderMode(){return this._renderMode}set renderMode(e){const{_renderConfig:t,state:a}=this,d=L.normalizeString(e,{fallbackValue:"default",validValues:["default","inline","role-based","role-based-inline"]}),s=function(e){return Qa.test(e)}(d),o=function(e){return Ga.test(e)}(d);this._renderMode=d,a.hasRenderedFirstTime=!1,a.hasRenderedTable=!1,a.renderModeInline=s,a.renderModeRoleBased=o,this.isConnected&&this.updateRowsAndCells(),t&&Ur(a,t.virtualize),ws(a)}get resizeColumnDisabled(){return this.widthsData.resizeColumnDisabled}set resizeColumnDisabled(e){!function(e,t){e.resizeColumnDisabled=L.normalizeBoolean(t)}(this.widthsData,e)}get resizeStep(){return this.widthsData.resizeStep}set resizeStep(e){!function(e,t){e.resizeStep=od("resizeStep",t,"non-negative",id.resizeStep)}(this.widthsData,e)}get rowNumberOffset(){return this.state.rowNumberOffset}set rowNumberOffset(e){const{state:t}=this;!function(e,t){e.rowNumberOffset=od("rowNumberOffset",t,"non-negative",0)}(t,e),this._columnWidthManager.handleRowNumberOffsetChange(t,this.widthsData)}get selectedRows(){return Id(this.state)}set selectedRows(e){this._customerSelectedRows=e,this.setSelectedRows(e)}get showRowNumberColumn(){return this.state.showRowNumberColumn}set showRowNumberColumn(e){const{state:t,_rawColumns:a}=this,{length:d}=a;if(t.showRowNumberColumn)for(let e=0;e<d;e+=1)if(a[e].editable)return;this._columnWidthManager.handleRowNumberColumnChange(t.rowNumberOffset,e,t.columns),t.showRowNumberColumn=L.normalizeBoolean(e),this.isConnected?this.updateColumns(a):a&&(t.hadTreeDataTypePreviously=!1,t.treeColumn=void 0,Fd({state:t,rawColumns:a,types:this._privateTypes,expandable:this._expandable}))}get sortedBy(){return this.state.sortedBy}set sortedBy(e){const{state:t}=this;!function(e,t){"string"==typeof t||Array.isArray(t)?e.sortedBy=t:e.sortedBy=void 0}(t,e),Qr(t)}get sortedDirection(){return this.state.sortedDirection}set sortedDirection(e){const{state:t}=this;!function(e,t){"string"!=typeof t||"asc"!==t&&"desc"!==t?Array.isArray(t)&&(t.forEach(e=>{}),e.sortedDirection=t):e.sortedDirection=t}(t,e),Qr(t)}get suppressBottomBar(){return this._suppressBottomBar}set suppressBottomBar(e){this._suppressBottomBar=L.normalizeBoolean(e)}get wrapTextMaxLines(){return this.state.wrapTextMaxLines}set wrapTextMaxLines(e){const{state:t}=this;!function(e,t){e.wrapTextMaxLines=od("wrapTextMaxLines",t,"positive",void 0),e.shouldResetHeights=!0}(t,e),this._columnWidthManager.wrapTextMaxLines=t.wrapTextMaxLines,this.isConnected&&fs(t)}focus(){const{state:e}=this;jo(e),rr(e,this.template,this.refs)}getSelectedRows(){const{state:t}=this;let a;t.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),a=$.isCSR?e.unwrap(t.data):t.data;const{rows:d}=t,s=[];for(let e=0,{length:t}=d;e<t;e+=1){d[e].isSelected&&s.push(a[e])}return s}openInlineEdit(){this.state.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),Nr(this)}scrollToTop(){const e=dd(this.template,this.validRefs);e&&(e.scrollTop=0)}get gridContainer(){return $.isCSR?td(dd(this.template,this.validRefs)):null}get computedTableContainerClass(){return L.classSetToString({"kdds-table_header-fixed_container":!this.state.hideTableHeader,"kdds-scrollable_x":!this._isResizing})}get computedTableClass(){const{state:e}=this,{rangeSelection:t}=e,a=e.hideTableHeader?"hidden":"fixed";return L.classSetToString({"kdds-table":!0,"kdds-no-row-hover":0===this.renderedRows.length,[`kdds-table_header-${a}`]:!0,"kdds-table_bordered":!0,"kdds-table_edit":!0,"kdds-table_resizable-cols":!this.widthsData.resizeColumnDisabled,"kdds-tree kdds-table_tree":!!e.treeColumn,"kdds-rangeselection_active":t.length&&!(1===t.length&&os(t))})}get computedTableRole(){return this.state.treeColumn?"treegrid":"grid"}get computedTableStyle(){let e=`table-layout: ${this._columnWidthManager.isAutoResizingUpdateQueued?"auto":"fixed"};`;const{tableWidth:t}=this.widthsData;return t&&(e+=`width: ${t}px;`),e}get computedTbodyStyle(){const{state:e}=this,{rowNumberOffset:t}=e;let a="";if(e.showRowNumberColumn&&t>=0){const{firstVisibleIndex:d,bufferSize:s}=e;a+=`counter-reset: row-number ${Math.max(d-s,0)+t};`}if(e.virtualize){const{tableHeight:t}=e;a+=`position:relative;height:${t}px`}return a}get computedScrollerYStyle(){const e=this._actionsMinHeightStyle?`${this._actionsMinHeightStyle};`:"";if(this._columnWidthManager.isAutoResizingUpdateQueued)return`${e}overflow-x: auto;`;const{tableWidth:t}=this.widthsData;return this.tableNoData?`${e}overflow: unset;`:t?`${e}width: ${t}px;`:`${e}`}get computedScrollerXStyle(){let e="height: 100%;";return this.showStatusBar&&(e+="padding-bottom: 3rem;"),this._columnWidthManager.isAutoResizingUpdateQueued&&(e+="overflow-x: auto;"),"none"!==this.state.wrapTableHeader&&(e+=`padding-top: max(2rem, ${this._headerHeight}px);`),e}get computedCheckboxColumnHeaderId(){return`${this._datatableId}-check-column-header`}get computedAriaLiveClassForNavMode(){const e=this.state.keyboardMode===Ao;return L.classSetToString({"kdds-hide":!e,"kdds-assistive-text":e})}get computedAriaLiveClassForActionMode(){const e=this.state.keyboardMode===To;return L.classSetToString({"kdds-hide":!e,"kdds-assistive-text":e})}get ariaRowCount(){const{state:e}=this;return e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),e.rows.length+1}get hasValidKeyField(){return"string"==typeof this.state.keyField}get hasResizebleColumns(){return!this.widthsData.resizeColumnDisabled}get validRefs(){return this._hasRendered?this.refs:null}get renderedRows(){const{state:e}=this;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells();const{virtualize:t,rows:a,renderedRowCount:d}=e;if(t){const{firstIndex:t,lastIndex:d}=this._renderManager.getRenderedRange(e);return this._shouldResetFocus=!0,a.slice(t,d)}return e.enableViewportRendering?a.slice(0,d):a}get showSelectAllCheckbox(){return Sd(this.state)}get showStatusBar(){return!this._suppressBottomBar&&(e=this.state,L.hasOwnProperties(e.inlineEdit.dirtyValues));var e}get tableError(){return this.state.errors.table}get i18n(){return Xr}get tableNoData(){return 0===this.renderedRows.length}constructor(){super(),this.state=Od(),this.widthsData={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0},this._actionsMinHeightStyle="",this._columnWidthManager=void 0,this._customerSelectedRows=null,this._datatableId=z.generateUniqueId("lgt-datatable"),this._draftValues=[],this._headerHeight=0,this._isResizing=!1,this._positionRelationship=void 0,this._privateTypes={},this._rawColumns=[],this._renderConfig=void 0,this._renderManager=void 0,this._renderMode="default",this._renderedTemplate=Pa,this._shouldResetFocus=!1,this._suppressBottomBar=!1,this._widthObserver=void 0,this._hasSetInitialCustomTypes=!1,this._shouldResetCustomTypes=!1,this._recalculateHeaderHeight=!1,this._maxRowSelectionShouldFireEvent=!1,this._expandable=null,this._rangeSelection=null,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaDescribedBy=null,this.handleCellButtonClick=Bs,this.handlePrivateDatatableEditCell=Er,this.handleHeaderActionMenuClosed=go,this.handleHeaderActionMenuOpening=mo,this.handleHeaderActionTriggered=po,this.handleKeydownOnCell=zo,this.handleLoadDynamicActions=Ns,this.handlePrimitiveDatatableCellClick=Zo,this.handlePrimitiveDatatableCellFocus=Jo,this.handlePrimitiveDatatableCellKeydown=er,this.handleRowSelectionChange=Gs,this.handleRowActionTriggered=Ws,this.handleTableKeydown=Lo,this.handleTableFocusIn=kr,this.handleMassCheckboxChange=Vr,this.handleRowExpand=e=>{e.stopPropagation(),e.preventDefault();const{onExpand:t}=this._expandable,{detail:a={}}=e,{rowKeyValue:d,nextState:s}=a;t&&t(e),!s&&this.state.expandedRowKeys.has(d)?this.state.expandedRowKeys.delete(d):this.state.expandedRowKeys.add(d),this.updateRowsAndCells()},this._columnWidthManager=new Ks(this.widthsData),this._privateTypes=new as(this.constructor.customTypes),this._hasSetInitialCustomTypes=!!this._privateTypes.privateCustomTypes.size,this._renderManager=new Yr,$.isCSR&&(this.getWrapperHeight=()=>{const e=ad(this.template,this.refs),t=this.state.hideTableHeader?0:parseFloat(getComputedStyle(e).paddingTop)||32;return e.offsetHeight-t}),Zr(this)}connectedCallback(){super.connectedCallback();const{_customerSelectedRows:e,state:t,template:a}=this;if(this.addEventListener("rowselection",e=>{this.handleRowSelectionChange(e)}),$.isCSR&&(a.addEventListener("selectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectallrows",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("selectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("deselectrow",e=>{this.handleSelectionCellClick(e)}),a.addEventListener("resizecol",e=>{this.handleResizeColumn(e)}),a.addEventListener("privateupdatecolsort",e=>{this.handleUpdateColumnSort(e)}),a.addEventListener("privatecellkeydown",e=>{this.handleKeydownOnCell(e)}),a.addEventListener("privatecellfocusedbyclick",e=>{this.handleCellFocusByClick(e)}),a.addEventListener("privatecellfalseblurred",e=>{this.handleFalseCellBlur(e)}),a.addEventListener("click",e=>{this.handlePrimitiveDatatableCellClick(e)}),a.addEventListener("focus",e=>{this.handlePrimitiveDatatableCellFocus(e)}),a.addEventListener("keydown",e=>{this.handlePrimitiveDatatableCellKeydown(e)}),a.addEventListener("privatecellactiontriggered",e=>{this.handleRowActionTriggered(e)}),a.addEventListener("privatecellactionmenuopening",e=>{this.handleLoadDynamicActions(e)}),a.addEventListener("privatecellbuttonclicked",e=>{this.handleCellButtonClick(e)}),a.addEventListener("privatecellheaderactionmenuopening",e=>{this.handleHeaderActionMenuOpening(e)}),a.addEventListener("privatecellheaderactionmenuclosed",e=>{this.handleHeaderActionMenuClosed(e)}),a.addEventListener("privatecellheaderactiontriggered",e=>{this.handleHeaderActionTriggered(e)}),a.addEventListener("privateopensortingmodal",e=>{this.handleOpenSortingModal(e)}),a.addEventListener("privateeditcell",e=>{this.handlePrivateDatatableEditCell(e)}),a.addEventListener("privaterowexpand",e=>{this.handleRowExpand(e)})),this.updateColumnsAndRows(),(t.enableViewportRendering||t.virtualize)&&(t.renderedRowCount=1),e){this.setSelectedRows(e);Ld(this.state)>0&&this._maxRowSelectionShouldFireEvent&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._maxRowSelectionShouldFireEvent=!1)}}render(){const e=this._columnWidthManager.isAutoResizingUpdateQueued;this._hasRendered||(this._hasRendered=!0);const t=this.state.renderModeRoleBased&&!e?yt:Pa;return t!==this._renderedTemplate&&(this._shouldResetCustomTypes=!this._privateTypes.privateCustomTypes.size,Rs(this),this._renderManager.disconnectResizeObserver(),this._renderedTemplate=t),t}renderedCallback(){const{_columnWidthManager:e,gridContainer:t,refs:a,state:d,template:s,widthsData:o}=this;if(!this._hasSetInitialCustomTypes&&(this.setCustomTypes(),this._hasSetInitialCustomTypes=!0,this._privateTypes.privateCustomTypes.size&&"auto"===o.columnWidthsMode))return;L.synchronizeAttrs(t,{"aria-label":this.ariaLabel,"aria-labelledby":this.ariaLabelledBy,"aria-describedby":this.ariaDescribedBy});const{renderModeInline:r}=d;if(e.isResizingUpdateQueued){const{columns:t}=d,r=e.shouldFireResizeEvent(o,t);e.adjustColumnsSize(s,a,t,o),d.shouldResetHeights=!0,d.renderModeRoleBased&&xs(d),r&&this.fireOnResize(!1),this._recalculateHeaderHeight=!0,this.updateTableAndScrollerStyleOnRender()}if(function(e){const t=Object.keys(Cs),{length:a}=t;for(let d=0;d<a;d+=1)Ts(e,t[d])}(this),this._customerSelectedRows=null,d.cellToFocusNext=void 0,this._shouldResetFocus){this._shouldResetFocus=!1;const{activeCell:e}=d;if(e&&e.hasFocus&&!d.inlineEdit.isPanelVisible){const e=Ho(s,d),t=Uo(e);!r&&e&&t&&!t.classList.contains(m.FOCUS_CLASS)&&rr(d,s,a,null,null,!1)}}const{hasRenderedFirstTime:n,hasRenderedTable:i}=d,l=!!d.virtualize,{length:c}=d.rows;d.hasRenderedFirstTime=!0,d.hasRenderedTable=!0;let u=!1;if(l||d.enableViewportRendering){const{_renderManager:e}=this;if(c&&l&&this.updateVirtualizedRowHeights(),!n){const t=a?.outerContainer||s.querySelector("div.dt-outer-container");e.connectResizeObserver(t)}e.hasWrapperHeight()||(u=!0)}requestAnimationFrame(()=>{if(u){const{_renderManager:e}=this;e.updateWrapperHeight(this.getWrapperHeight),d.renderedRowCount&&e.updateViewportRendering(d,t,!0)}this.updateHeaderHeight(),c&&r&&!i&&(this.updateCheckboxCellsAriaAttrs(),I.hasLinkProvider(s)&&(this.updateLookupCellsLinkInfo(),this.updateUrlCellsLinkInfo()))})}updateHeaderHeight(){if("none"!==this.state.wrapTableHeader&&this._recalculateHeaderHeight){const e=this.refs.headerRow?.children||[];let t=0;for(let a=0;a<e.length;a+=1){const d=e[a].firstChild.getDomHeight();d>t&&(t=d)}this._headerHeight=t+16,this._recalculateHeaderHeight=!1}else this._recalculateHeaderHeight&&(this._headerHeight=0,this._recalculateHeaderHeight=!1)}updateTableAndScrollerStyleOnRender(){const e=dd(this.template,this.refs),t=td(e);t&&(t.style=this.computedTableStyle),e&&(e.style=this.computedScrollerYStyle)}disconnectedCallback(){Rs(this),this._renderManager.disconnectResizeObserver()}handleTableCellMouseDown(e){const{rangeSelectedChange:t,suppressMultiRangeSelection:a}=this.rangeSelection||{};!a&&t&&ls({event:e,dt:this,rangeSelectedChange:t})}handleCustomTypesChange(){this._shouldResetCustomTypes?this.setCustomTypes():this._shouldResetCustomTypes=!0}handleKeydownOnDataRow(e){const{state:t}=this;if(t.keyboardMode===Ao&&t.rowMode){e.stopPropagation();const{currentTarget:t}=e;No(this,{target:t,detail:{keyCode:e.keyCode,keyEvent:e,rowExpanded:"true"===t.getAttribute("aria-expanded"),rowHasChildren:!!t.getAttribute("aria-expanded"),rowKeyValue:t.getAttribute("data-row-key-value"),rowLevel:t.getAttribute("aria-level")}})}}handleHorizontalScroll(e){Jr(this),Dr.call(this,e)}handleVerticalScroll(e){Jr(this);const{state:t}=this;t.enableInfiniteLoading&&kd.call(this,e),Dr.call(this,e),t.virtualize?t.firstVisibleIndex=_o(this.state,e.target.scrollTop):t.enableViewportRendering&&this._renderManager.handleScroll(t,e)}handleTableCellClick(e){const{target:t}=e;if(L.isCellElement(t)){const e=t,{template:a,state:d}=this;d.hasReceivedFocus=!0;const{rowKeyValue:s}=e.parentElement.dataset,{colKeyValue:o}=e.dataset;if(d.rowMode||!Oo(d,s,o)){const{activeCell:e}=d;e&&d.rowMode&&(Rr(d),fr(d,e.rowIndex,-1)),this.setActiveCell(s,o)}br(d,a)||gr(d),pr(d,a,this.refs,e)}}handleUpdateColumnSort(e){e.stopPropagation();const{fieldName:t,columnKey:a,sortDirection:d}=e.detail;this.fireSortedColumnChange(t,a,d)}handleOpenSortingModal(e){e.stopPropagation()}handleResizeColumn(e){e.stopPropagation();const{state:t}=this,{colIndex:a,widthDelta:d}=e.detail;0!==d&&(ld(t.columns,this.widthsData,a,d),t.renderModeRoleBased&&xs(t),this.fireOnResize(!0),this.fixHeaderForSafari(),this._recalculateHeaderHeight=!0)}handleResizeStart(e){e.stopPropagation(),this._isResizing=!0}handleResizeEnd(e){e.stopPropagation(),this._isResizing=!1,this.state.shouldResetHeights=!0}handleSelectionCellClick(e){this.handleCellFocusByClick(e);const{type:t}=e;"selectrow"===t?Ys.call(this,e):"deselectrow"===t?Qs.call(this,e):"selectallrows"===t?qs.call(this,e):"deselectallrows"===t&&Us.call(this,e)}handleCellFocusByClick(e){e.stopPropagation();const{state:t}=this;t.hasReceivedFocus=!0;const{rowKeyValue:a,colKeyValue:d,needsRefocusOnCellElement:s}=e.detail;if(!Oo(t,a,d)){const{activeCell:e}=t;e&&t.rowMode&&(Rr(t),fr(t,e.rowIndex,-1)),this.setActiveCell(a,d),function(e,t,a){if(a){const a=Ho(t,e);a&&a.focus(),setTimeout(()=>{gr(e)},0)}else br(e,t)||gr(e)}(t,this.template,s)}const o=Yo(e.target);pr(t,this.template,this.refs,o)}handleFalseCellBlur(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,colKeyValue:d}=e.detail;Oo(t,a,d)||this.setActiveCell(a,d),rr(t,this.template,this.refs)}handleTableFocusOut(e){mr.call(this,e);const{activeCell:t}=this.state;t&&(t.hasFocus=this._shouldResetFocus)}handleInlineEditFinish(e){Jr(this),Mr.call(this,e)}handleInlineEditSave(e){e.stopPropagation(),e.preventDefault(),Fr(this);const{draftValues:t}=this;this.dispatchEvent(new CustomEvent("save",{detail:{draftValues:t}}))}handleInlineEditCancel(e){e.stopPropagation(),e.preventDefault(),Fr(this);const t=new CustomEvent("cancel",{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented||function(e){const{state:t,_privateTypes:a}=e;!function(e){e.errors={rows:{},table:{}}}(t),t.inlineEdit.dirtyValues={},e._draftValues=[],vs(t,a)}(this),Sr(this.state)}handlePrivateLookupItemPicked(e){e.stopPropagation(),e.preventDefault();const{recordId:t}=e.detail,{rowIndex:a,rowKeyValue:d}=this.computeRowLookupItemPickedInformation(e.currentTarget);this.dispatchEvent(new CustomEvent(R.EVENTS.PrivateLookupItemPickedEvent.NAME,{composed:!0,cancelable:!0,bubbles:!0,detail:{recordId:t,rowIndex:a,rowKeyValue:d}}))}handleInlinedCheckboxClick(e){const{state:t}=this;e.stopPropagation();const{currentTarget:a}=e,{parentElement:d}=a,{parentElement:s}=d,{colKeyValue:o}=s.dataset,{rowKeyValue:r}=s.parentElement.dataset,n=fd(t,r);this.fireInlinedCheckboxSelection(a,n.isSelected,{rowKeyValue:r,colKeyValue:o,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerClick(e){const{state:t}=this,{currentTarget:a}=e,{parentElement:d}=a,{rowKeyValue:s}=d.parentElement.dataset,o=fd(t,s);if(o.isDisabled)return;e.preventDefault();const{colKeyValue:r}=d.dataset,{firstElementChild:n}=a;this.fireInlinedCheckboxSelection(n,o.isSelected,{rowKeyValue:s,colKeyValue:r,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerMouseDown(e){this.state.renderModeInline&&e.shiftKey&&e.preventDefault()}handleInlinedEditButtonClick(e){const{state:t}=this,a=t.renderModeInline?Yo(e.target):void 0;if(a){t.hasReceivedFocus=!0;Uo(a).dispatchEvent(new CustomEvent("privateeditcell",{bubbles:!0,composed:!0,detail:{rowKeyValue:a.parentElement.dataset.rowKeyValue,colKeyValue:a.dataset.colKeyValue}}))}}fireInlinedCheckboxSelection(e,t,a){const d=t?"deselectrow":"selectrow";e.dispatchEvent(new CustomEvent(d,{bubbles:!0,composed:!0,detail:a}))}fireSelectedRowsChange(e,t={}){$.isCSR&&this.dispatchEvent(new CustomEvent("rowselection",{detail:{selectedRows:e,config:t}}))}fireSortedColumnChange(e,t,a){const d=new CustomEvent("sort",{detail:{fieldNames:[e],sortDirections:[a],isMultiColumnSort:!1,fieldName:e,columnKey:t,sortDirection:a}});this.dispatchEvent(d)}fireOnResize(e){this.dispatchEvent(new CustomEvent("resize",{detail:{columnWidths:ud(this.state.columns,this.widthsData),isUserTriggered:!!e}}))}updateRows(){this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes()}updateRowsBeforeIndexes(){$.isCSR&&ir(this.state,this.template)}updateRowsAfterIndexes(){const{state:e,widthsData:t}=this;(e.enableViewportRendering||e.virtualize)&&this._renderManager.updateViewportRendering(e,this.gridContainer,!!e.virtualize),this._columnWidthManager.handleRowNumberOffsetChange(e,t),lr(e),function(e,t){let a=!1;const{keyField:d,selectedRowsKeys:s,maxRowSelection:o}=e,{length:r}=t;if(Object.keys(s).length!==r)a=!0,e.selectedRowsKeys=ao(t,d);else for(let o=0;o<r;o+=1)if(!s[t[o][d]]){a=!0,e.selectedRowsKeys=ao(t,d);break}if(a){const t=o||e.rows.length;Sd(e)&&(r<t?eo(e):Js(e))}return ro(e),{ifChanged(e){a&&"function"==typeof e&&e(t)}}}(e,this.getSelectedRows()).ifChanged(()=>{this._rowSelectionEventPending||(this._rowSelectionEventPending=!0,Promise.resolve().then(()=>{this._rowSelectionEventPending&&(this.fireSelectedRowsChange(this.getSelectedRows()),this._rowSelectionEventPending=!1)}))}),jo(e),e.keyboardMode===Ao&&(yr(e),_r(e)),$.isCSR&&e.activeCell&&e.cellToFocusNext&&rr(e,this.template,this.refs)}updateColumns(e){Fd({state:this.state,rawColumns:e,types:this._privateTypes,expandable:this._expandable}),this.isConnected&&(this.updateColumnsBeforeIndexes(),this.updateRowsAndCells(),this.updateColumnsAfterIndexes())}updateColumnsBeforeIndexes(){const{state:e}=this;$.isCSR&&ir(e,this.template),function(e){e.treeColumn?!1!==e.rowMode||e.hadTreeDataTypePreviously||(e.rowMode=!0):e.rowMode=!1}(e),Or(e,this._draftValues),function(e){const{columns:t}=e,{length:a}=t;for(let e=0;e<a;e+=1){const a=t[e];a.actions.internalActions=ho(a)}}(e)}updateColumnsAfterIndexes(){const{state:e,widthsData:t}=this;ro(e),this._columnWidthManager.handleRowNumberOffsetChange(e,t),cd(e.columns,t),lr(e),e.data.length>0&&e.columns.length!==t.columnWidths.length&&jo(e),e.keyboardMode===Ao&&(yr(e),_r(e)),$.isCSR&&e.activeCell&&e.cellToFocusNext&&rr(e,this.template,this.refs)}updateColumnsAndRows(){this.updateColumnsBeforeIndexes(this._rawColumns),this.updateRowsBeforeIndexes(),this.updateRowsAndCells(),this.updateRowsAfterIndexes(),this.updateColumnsAfterIndexes()}updateRowsAndCells(){const{state:e}=this;e.hasRenderedTable=!1,vs(e,this._privateTypes,this._datatableId)}updateVirtualizedRowHeights(){const{state:e}=this,t=e.virtualize&&this.renderedRows.length;e.shouldResetHeights?(fo(e),e.shouldResetHeights=!1):t&&yo(this.template,e,this.renderedRows,this.refs)}setSelectedRows(e){to(this.state,e),this.handleRowSelectionChange()}setActiveCell(e,t){const{state:a,template:d}=this,s=gd(a,e,t);nr(a,d),a.activeCell=s,function(e,t){e.activeCell.hasFocus=!0;const a=Ho(t,e);a&&a.classList.add(m.FOCUS_CLASS)}(a,d),vr(a,s.rowIndex,s.colIndex,0)}setCustomTypes(){const e=this.template.querySelector('slot[name="customdatatypes"]');if(e){const t=e.assignedNodes();if(t.length){let e=t[0];if(T.features.ENABLE_TREE_GRID_CUSTOM_TYPES&&"SLOT"===e?.tagName){const t=e.assignedNodes();e=t.length?t[0]:{}}"function"==typeof e.getDataTypes&&(this._privateTypes=new as(e.getDataTypes()),this.updateColumns(this._rawColumns),this._columnWidthManager.handleColumnsChange(this.state.columns,this.validRefs))}else this._shouldResetCustomTypes=!0}}getViewableRect(){const{refs:e,template:t}=this,a=dd(t,e).getBoundingClientRect(),d=ad(t,e).getBoundingClientRect();return{left:d.left,right:d.right,top:a.top,bottom:a.bottom}}fixHeaderForSafari(){if(L.isSafari){const e=this.template.querySelector("thead");e&&(e.style.display="none",requestAnimationFrame(()=>{e.style.display=""}))}}computeRowLookupItemPickedInformation(e){const{dataset:t}=e,a=Number.parseInt(t.rowNumber,10)-1,{rowKeyValue:d}=t;return{rowIndex:a,rowKeyValue:d}}updateCheckboxCellsAriaAttrs(){const{computedCheckboxColumnHeaderId:e,state:t,template:a}=this,{checkboxCells:d}=t,{length:s}=d,o=s?a.querySelectorAll('[data-inline-type="primitive-cell-checkbox"]'):[];let r;for(let t=0,{length:a}=o;t<a;t+=1){const a=d[t],s=o[t],{firstElementChild:n}=s;if(void 0===r){const{lastElementChild:e}=s,{id:t}=e;r=t.slice(t.lastIndexOf("-"))}n.setAttribute("aria-labelledby",`${a.checkboxLabelId}${r} ${e}`)}}updateLookupCellsLinkInfo(){Jr(this);const{state:e,template:t}=this,{lookupCells:a}=e,{length:d}=a,s=d?t.querySelectorAll('[data-inline-type="formatted-lookup"]'):[];for(let e=0,{length:t}=s;e<t;e+=1){const t=a[e],d=s[e],{value:o}=t;t._handleLookupAnchorClick=()=>{d.dispatchEvent(new Gr({recordId:o}))},"enable"===d.getAttribute("data-navigation")&&d.removeAttribute("data-navigation"),o&&I.getLinkInfo(d,{stateType:"standard__recordPage",attributes:{recordId:o,actionName:"view"}}).then(e=>{const{dispatcher:a,url:s}=e,r=!(!a||!s);t.lookupIsNavigable=r,t.lookupLink=s,t._handleLookupAnchorClick=e=>{d.dispatchEvent(new Gr({recordId:o})),a.call(d,e)},r?d.setAttribute("data-navigation","enable"):d.removeAttribute("data-navigation")})}}updateUrlCellsLinkInfo(){const{state:e,template:t}=this,{shownUrlCells:a}=e,{length:d}=a,s=d?t.querySelectorAll('[data-inline-type="formatted-url"]'):[];for(let e=0,{length:t}=s;e<t;e+=1){const t=a[e],d=s[e];I.updateRawLinkInfo(d,{url:t.urlLink,target:t.urlTarget}).then(e=>{const{dispatcher:a,url:s}=e;t._handleUrlAnchorClick=e=>{a.call(d,e)},t.urlLink=s})}}}e.registerDecorators(en,{publicProps:{ariaLabel:{config:0},ariaLabelledBy:{config:0},columnWidthsMode:{config:3},expandable:{config:3},rangeSelection:{config:3},columns:{config:3},data:{config:3},defaultSortDirection:{config:3},draftValues:{config:3},enableInfiniteLoading:{config:3},errors:{config:3},hideCheckboxColumn:{config:3},showActionsMenu:{config:3},hideTableHeader:{config:3},wrapTableHeader:{config:3},loading:{config:3},keyField:{config:3},loadMoreOffset:{config:3},maxColumnWidth:{config:3},maxRowSelection:{config:3},singleRowSelectionMode:{config:3},minColumnWidth:{config:3},renderConfig:{config:3},renderMode:{config:3},resizeColumnDisabled:{config:3},resizeStep:{config:3},rowNumberOffset:{config:3},selectedRows:{config:3},showRowNumberColumn:{config:3},sortedBy:{config:3},sortedDirection:{config:3},suppressBottomBar:{config:3},wrapTextMaxLines:{config:3}},publicMethods:["focus","getSelectedRows","openInlineEdit","scrollToTop"],track:{state:1,widthsData:1},fields:["_actionsMinHeightStyle","_columnWidthManager","_customerSelectedRows","_datatableId","_draftValues","_headerHeight","_isResizing","_positionRelationship","_privateTypes","_rawColumns","_renderConfig","_renderManager","_renderMode","_renderedTemplate","_shouldResetFocus","_suppressBottomBar","_widthObserver","_hasSetInitialCustomTypes","_shouldResetCustomTypes","_recalculateHeaderHeight","_maxRowSelectionShouldFireEvent","_expandable","_rangeSelection","ariaDescribedBy","handleCellButtonClick","handlePrivateDatatableEditCell","handleHeaderActionMenuClosed","handleHeaderActionMenuOpening","handleHeaderActionTriggered","handleKeydownOnCell","handleLoadDynamicActions","handlePrimitiveDatatableCellClick","handlePrimitiveDatatableCellFocus","handlePrimitiveDatatableCellKeydown","handleRowSelectionChange","handleRowActionTriggered","handleTableKeydown","handleTableFocusIn","handleMassCheckboxChange","handleRowExpand"]});const tn=e.registerComponent(en,{tmpl:d._tmpl,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63}),an=e.parseFragment`<div class="kdds-modal__border-top${0}" part="modal-resize-border"${2}></div>`,dn=e.parseFragment`<div${"c0"}${2}><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"${3}><path fill-rule="evenodd" clip-rule="evenodd" d="M3.80645 3.10485L3.85355 3.14645L8 7.2925L12.1464 3.14645C12.3417 2.95118 12.6583 2.95118 12.8536 3.14645C13.0338 3.32669 13.0477 3.6103 12.8951 3.80645L12.8536 3.85355L8.7075 8L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6733 13.0338 12.3897 13.0477 12.1936 12.8951L12.1464 12.8536L8 8.7075L3.85355 12.8536C3.65829 13.0488 3.34171 13.0488 3.14645 12.8536C2.9662 12.6733 2.95234 12.3897 3.10485 12.1936L3.14645 12.1464L7.2925 8L3.14645 3.85355C2.95118 3.65829 2.95118 3.34171 3.14645 3.14645C3.31167 2.98122 3.56375 2.95581 3.7557 3.07019L3.80645 3.10485Z" fill="currentColor"${3}/></svg></div>`,sn=e.parseFragment`<div class="kdds-modal-footer__resize${0}" part="modal-resize-corner"${2}><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"${3}><path fill-rule="evenodd" clip-rule="evenodd" d="M14 7V8L8 14H7L14 7ZM14 11V12L12 14H11L14 11Z" fill="#666666"${3}/></svg></div>`,on=e.parseFragment`<div class="kdds-modal__border-bottom${0}" part="modal-resize-border"${2}></div>`,rn=e.parseFragment`<div class="kdds-modal__border-right${0}" part="modal-resize-border"${2}></div>`,nn=e.parseFragment`<div class="kdds-modal__border-left${0}" part="modal-resize-border"${2}></div>`,ln={classMap:{"kdds-modal-header__right":!0},key:4},cn={"kdds-modal-header__search-container":!0},un={variant:"underlined",placeholder:"请输入搜索内容",prefixIcon:"kdfont-f"},bn={ref:"bodyRef",key:9},hn={classMap:{"kdds-modal__body-container":!0},key:10},kn={ref:"footerRef",key:12},pn={classMap:{"kdds-modal__footer-container":!0},key:13};function mn(e,d,s,o){const{ncls:r,b:n,sp:i,st:l,c:c,h:u}=e,{_m0:b,_m1:h,_m2:k,_m3:p,_m4:m,_m5:g,_m6:v,_m7:f,_m8:y,_m9:_,_m10:x,_m11:w,_m12:C,_m13:A,_m14:T,_m15:R,_m16:z}=o;return[u("div",{className:r(d.computedContainerClass),key:0},[l(an,2,[i(0,{on:h||(o._m1={mousedown:n(d.handleTopBorderMouseDown)})},null)]),c("kd-modal-header",a,{ref:"headerRef",props:{label:d.label},key:3,on:k||(o._m2={dblclick:n(d.handleDoubleClick)})},[u("div",ln,[u("div",{classMap:cn,key:5,on:p||(o._m3={mousedown:n(d.handleMousedown)})},[c("kd-input",t,{props:un,key:6,on:m||(o._m4={change:n(d.handleInputChange)})})]),l(dn,8,[i(0,{on:v||(o._m6={click:n(d.handleCloseClick)}),className:r(d.computedCloseButtonClass)},null)])])]),c("kd-modal-body",W,bn,[u("div",hn,[c("kd-data-table",tn,{ref:"tableRef",props:{keyField:"id",data:d.data,columns:d.columns,maxRowSelection:"1",columnWidthsMode:"auto",showRowNumberColumn:"true",loading:d.loading},key:11})])]),c("kd-modal-footer",B,kn,[u("div",pn,[c("kd-button",N,{props:{label:d.cancelBtnLabel,size:"small",variant:"secondary"},key:14,on:f||(o._m7={click:n(d.handleCancelClick)})}),c("kd-button",N,{props:{label:d.confirmBtnLabel,size:"small"},key:15,on:y||(o._m8={click:n(d.handleConfirmClick)})})]),d.showResizeCorner?l(sn,17,[i(0,{on:x||(o._m10={mousedown:n(d.handleResizeMouseDown)})},null)]):null]),l(on,19,[i(0,{on:C||(o._m12={mousedown:n(d.handleBottomBorderMouseDown)})},null)]),l(rn,21,[i(0,{on:T||(o._m14={mousedown:n(d.handleRightBorderMouseDown)})},null)]),l(nn,23,[i(0,{on:z||(o._m16={mousedown:n(d.handleLeftBorderMouseDown)})},null)])])]}var gn=e.registerTemplate(mn);mn.hasRefs=!0,mn.stylesheets=[],mn.stylesheetToken="kwc-1nf7ui7q41o",mn.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-undefined_recordPickerModal",P&&mn.stylesheets.push.apply(mn.stylesheets,P),e.freezeTemplate(mn);const{promiseApi:vn}=O.T;class fn extends j{constructor(...e){super(...e),this.label="",this.lookupConfig={},this._data=[],this._columns=[],this._loading=!1,this._search=""}get data(){return this._data}get columns(){return this._columns}get loading(){return this._loading}get search(){return this._search}set search(e){this._search=e}loadData(){if(0===Object.keys(this.lookupConfig).length)return;this._loading=!0;const e={search:void 0!==this._search?this._search:"",page:1,size:50};this._promise&&this._promise.cancel&&this._promise.cancel(),this._promise=vn.doGet({endpointConfig:this.lookupConfig,params:new URLSearchParams(e).toString()}),this._promise.then(e=>{if(this._loading=!1,e&&e.data){const{columns:t,data:a}=e.data;this._columns=(t||[]).map(e=>({label:e.caption,fieldName:e.id})),this._data=(a||[]).map(e=>{const a={};for(let d=0;d<e.length;d++)a[t[d].id]=e[d];return a})}}).catch(e=>{"CANCELED"!==e.status&&(this._loading=!1)})}handleConfirmClick(){let e=this.refs.tableRef.getSelectedRows();if(!e||!e.length)return void this.close();e=e[0];const t={value:[]};Object.keys(e).forEach(a=>{"id"===a&&(t.id=e[a]),t.value.push({id:a,value:e[a]})}),this.close({type:"confirm",value:{result:t,selected:e}})}get handleInputChange(){return H.debounce(this.handleChangeInternal.bind(this),300)}handleChangeInternal(e){void 0!==e.detail.value&&""!==e.detail.value&&(this._search=e.detail.value,this.loadData())}handleMousedown(e){e.stopPropagation()}handleDoubleClick(e){e.stopPropagation()}connectedCallback(){this.loadData()}}e.registerDecorators(fn,{publicProps:{label:{config:0},lookupConfig:{config:0},data:{config:1},columns:{config:1},loading:{config:1},search:{config:3}},fields:["_data","_columns","_loading","_search"]});const yn=e.registerComponent(fn,{tmpl:gn,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-",apiVersion:63});module.exports=yn;