@kdcloudjs/kingdee-base-components 0.0.3 → 0.0.5

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 (417) hide show
  1. package/dist/cjs/AddressFormat-DKKW6OtZ.js +0 -0
  2. package/dist/cjs/NumberFormat-BOQwROTf.js +0 -0
  3. package/dist/cjs/baseInput-f9sJ7m49.js +1 -0
  4. package/dist/cjs/calendar.kdds-DBIZRNEC.js +1 -0
  5. package/dist/cjs/{calendarMonth-CWlrlbuW.js → calendarMonth-DuBmYkui.js} +1 -1
  6. package/dist/cjs/classSet-B5xuJbNb.js +0 -0
  7. package/dist/cjs/client-Co_j5m_k.js +0 -0
  8. package/dist/cjs/colorValid-BBnkvgd_.js +0 -0
  9. package/dist/cjs/empty_html-hFq4zm9t.js +0 -0
  10. package/dist/cjs/focus-DdgBlQbB.js +0 -0
  11. package/dist/cjs/formattedRichTextRenderer-2waGzr02.js +1 -0
  12. package/dist/cjs/i18n-CP31jeWH.js +0 -0
  13. package/dist/cjs/idGenerator-DjOtNo-h.js +0 -0
  14. package/dist/cjs/index-ChQWdmu9.esm-DUTi--6E.js +1 -0
  15. package/dist/cjs/index.esm-skOXaaoq.js +0 -0
  16. package/dist/cjs/input-checkbox.kdds-CD4aNarZ.js +0 -0
  17. package/dist/cjs/input-radio-group.kdds-CMXswYN0.js +0 -0
  18. package/dist/cjs/interacting-BGdY-r03.js +1 -0
  19. package/dist/cjs/intlDisplayNames-DjPWNJUj.js +0 -0
  20. package/dist/cjs/intlFormat-Bs-dlvDH.js +0 -0
  21. package/dist/cjs/kd/ariaObserver.js +1 -1
  22. package/dist/cjs/kd/baseFormattedText.js +1 -1
  23. package/dist/cjs/kd/baseInput.js +1 -1
  24. package/dist/cjs/kd/button.js +1 -1
  25. package/dist/cjs/kd/buttonIcon.js +0 -0
  26. package/dist/cjs/kd/buttonMenu.js +1 -1
  27. package/dist/cjs/kd/calendar.js +1 -1
  28. package/dist/cjs/kd/calendarDay.js +1 -1
  29. package/dist/cjs/kd/calendarMonth.js +1 -1
  30. package/dist/cjs/kd/calendarTime.js +1 -1
  31. package/dist/cjs/kd/calendarYear.js +1 -1
  32. package/dist/cjs/kd/card.js +1 -1
  33. package/dist/cjs/kd/checkbox.js +0 -0
  34. package/dist/cjs/kd/checkboxGroup.js +1 -1
  35. package/dist/cjs/kd/configProvider.js +0 -0
  36. package/dist/cjs/kd/datatable.js +1 -1
  37. package/dist/cjs/kd/datepicker.js +1 -1
  38. package/dist/cjs/kd/features.js +1 -1
  39. package/dist/cjs/kd/focusTrap.js +1 -1
  40. package/dist/cjs/kd/focusUtils.js +1 -1
  41. package/dist/cjs/kd/form.js +1 -1
  42. package/dist/cjs/kd/formattedAddress.js +1 -1
  43. package/dist/cjs/kd/formattedDateTime.js +1 -1
  44. package/dist/cjs/kd/formattedEmail.js +1 -1
  45. package/dist/cjs/kd/formattedLocation.js +1 -1
  46. package/dist/cjs/kd/formattedLookup.js +1 -1
  47. package/dist/cjs/kd/formattedName.js +1 -1
  48. package/dist/cjs/kd/formattedNumber.js +1 -1
  49. package/dist/cjs/kd/formattedPhone.js +1 -1
  50. package/dist/cjs/kd/formattedRichText.js +1 -1
  51. package/dist/cjs/kd/formattedRichTextRenderer.js +1 -1
  52. package/dist/cjs/kd/formattedText.js +1 -1
  53. package/dist/cjs/kd/formattedTime.js +1 -1
  54. package/dist/cjs/kd/formattedUrl.js +1 -1
  55. package/dist/cjs/kd/hammer.js +0 -0
  56. package/dist/cjs/kd/i18nCldrOptions.js +0 -0
  57. package/dist/cjs/kd/i18nService.js +0 -0
  58. package/dist/cjs/kd/icon.js +1 -1
  59. package/dist/cjs/kd/iconSvgTemplates.js +0 -0
  60. package/dist/cjs/kd/iconSvgTemplatesAction.js +0 -0
  61. package/dist/cjs/kd/iconSvgTemplatesActionRtl.js +0 -0
  62. package/dist/cjs/kd/iconSvgTemplatesCustom.js +0 -0
  63. package/dist/cjs/kd/iconSvgTemplatesCustomRtl.js +0 -0
  64. package/dist/cjs/kd/iconSvgTemplatesDoctype.js +0 -0
  65. package/dist/cjs/kd/iconSvgTemplatesDoctypeRtl.js +0 -0
  66. package/dist/cjs/kd/iconSvgTemplatesRtl.js +0 -0
  67. package/dist/cjs/kd/iconSvgTemplatesStandard.js +0 -0
  68. package/dist/cjs/kd/iconSvgTemplatesStandardRtl.js +0 -0
  69. package/dist/cjs/kd/iconSvgTemplatesUtility.js +0 -0
  70. package/dist/cjs/kd/iconSvgTemplatesUtilityRtl.js +0 -0
  71. package/dist/cjs/kd/iconUtils.js +0 -0
  72. package/dist/cjs/kd/image.js +1 -1
  73. package/dist/cjs/kd/input.js +1 -1
  74. package/dist/cjs/kd/inputNumber.js +1 -1
  75. package/dist/cjs/kd/inputUtils.js +1 -1
  76. package/dist/cjs/kd/internationalizationLibrary.js +1 -1
  77. package/dist/cjs/kd/iso8601Utils.js +0 -0
  78. package/dist/cjs/kd/layout.js +1 -1
  79. package/dist/cjs/kd/layoutItem.js +1 -1
  80. package/dist/cjs/kd/menuDivider.js +0 -0
  81. package/dist/cjs/kd/menuItem.js +1 -1
  82. package/dist/cjs/kd/messageDispatcher.js +0 -0
  83. package/dist/cjs/kd/modal.js +1 -1
  84. package/dist/cjs/kd/modalBase.js +1 -1
  85. package/dist/cjs/kd/modalBody.js +1 -1
  86. package/dist/cjs/kd/modalFooter.js +1 -1
  87. package/dist/cjs/kd/modalHeader.js +1 -1
  88. package/dist/cjs/kd/modalUtils.js +1 -1
  89. package/dist/cjs/kd/numberUtils.js +1 -1
  90. package/dist/cjs/kd/overflowLibrary.js +0 -0
  91. package/dist/cjs/kd/overlay.js +1 -1
  92. package/dist/cjs/kd/overlayContainer.js +1 -1
  93. package/dist/cjs/kd/overlayManager.js +0 -0
  94. package/dist/cjs/kd/overlayUtils.js +0 -0
  95. package/dist/cjs/kd/playground.js +1 -1
  96. package/dist/cjs/kd/positionLibrary.js +1 -1
  97. package/dist/cjs/kd/primitiveBubble.js +1 -1
  98. package/dist/cjs/kd/primitiveButton.js +1 -1
  99. package/dist/cjs/kd/primitiveCellActions.js +1 -1
  100. package/dist/cjs/kd/primitiveCellButton.js +1 -1
  101. package/dist/cjs/kd/primitiveCellCheckbox.js +1 -1
  102. package/dist/cjs/kd/primitiveCellEditableButton.js +0 -0
  103. package/dist/cjs/kd/primitiveCellExpand.js +1 -1
  104. package/dist/cjs/kd/primitiveCellFactory.js +1 -1
  105. package/dist/cjs/kd/primitiveColorpickerButton.js +1 -1
  106. package/dist/cjs/kd/primitiveColumnSorter.js +1 -1
  107. package/dist/cjs/kd/primitiveCoordinateItem.js +1 -1
  108. package/dist/cjs/kd/primitiveCustomCell.js +1 -1
  109. package/dist/cjs/kd/primitiveCustomRow.js +1 -1
  110. package/dist/cjs/kd/primitiveDatatableCell.js +1 -1
  111. package/dist/cjs/kd/primitiveDatatableIeditInputWrapper.js +1 -1
  112. package/dist/cjs/kd/primitiveDatatableIeditPanel.js +1 -1
  113. package/dist/cjs/kd/primitiveDatatableIeditTypeFactory.js +1 -1
  114. package/dist/cjs/kd/primitiveDatatableLoadingIndicator.js +1 -1
  115. package/dist/cjs/kd/primitiveDatatableNoData.js +1 -1
  116. package/dist/cjs/kd/primitiveDatatableStatusBar.js +1 -1
  117. package/dist/cjs/kd/primitiveDatatableTooltip.js +1 -1
  118. package/dist/cjs/kd/primitiveDatatableTooltipBubble.js +1 -1
  119. package/dist/cjs/kd/primitiveFileDroppableZone.js +1 -1
  120. package/dist/cjs/kd/primitiveHeaderActions.js +1 -1
  121. package/dist/cjs/kd/primitiveHeaderFactory.js +1 -1
  122. package/dist/cjs/kd/primitiveIcon.js +1 -1
  123. package/dist/cjs/kd/primitiveIframe.js +1 -1
  124. package/dist/cjs/kd/primitiveInputCheckbox.js +1 -1
  125. package/dist/cjs/kd/primitiveInputCheckboxButton.js +1 -1
  126. package/dist/cjs/kd/primitiveInputColor.js +1 -1
  127. package/dist/cjs/kd/primitiveInputFile.js +1 -1
  128. package/dist/cjs/kd/primitiveInputRadio.js +1 -1
  129. package/dist/cjs/kd/primitiveInputSimple.js +1 -1
  130. package/dist/cjs/kd/primitiveInputToggle.js +1 -1
  131. package/dist/cjs/kd/primitiveModal.js +0 -0
  132. package/dist/cjs/kd/primitiveResizeHandler.js +1 -1
  133. package/dist/cjs/kd/primitiveTreegridCellToggle.js +1 -1
  134. package/dist/cjs/kd/privateModal.js +1 -1
  135. package/dist/cjs/kd/purifyLib.js +0 -0
  136. package/dist/cjs/kd/radio.js +1 -1
  137. package/dist/cjs/kd/radioGroup.js +1 -1
  138. package/dist/cjs/kd/recordPicker.js +1 -1
  139. package/dist/cjs/kd/recordPickerModal.js +1 -1
  140. package/dist/cjs/kd/resizeObserver.js +0 -0
  141. package/dist/cjs/kd/routingService.js +0 -0
  142. package/dist/cjs/kd/select.js +1 -1
  143. package/dist/cjs/kd/shadowBaseClassPrivate.js +1 -1
  144. package/dist/cjs/kd/showToastEvent.js +0 -0
  145. package/dist/cjs/kd/spin.js +1 -1
  146. package/dist/cjs/kd/switch.js +1 -1
  147. package/dist/cjs/kd/tab.js +1 -1
  148. package/dist/cjs/kd/tabBar.js +1 -1
  149. package/dist/cjs/kd/tabset.js +1 -1
  150. package/dist/cjs/kd/tag.js +1 -1
  151. package/dist/cjs/kd/toast.js +1 -1
  152. package/dist/cjs/kd/toastContainer.js +1 -1
  153. package/dist/cjs/kd/tooltipLibrary.js +1 -1
  154. package/dist/cjs/kd/tree.js +1 -1
  155. package/dist/cjs/kd/treeItem.js +1 -1
  156. package/dist/cjs/kd/utils.js +0 -0
  157. package/dist/cjs/kd/utilsInternal.js +0 -0
  158. package/dist/cjs/kd/utilsPrivate.js +1 -1
  159. package/dist/cjs/kddsCommon-CICoPypw.js +0 -0
  160. package/dist/cjs/kddsUtilsGrid-Di6bwMd2.js +0 -0
  161. package/dist/cjs/kddsUtilsHyphenation-dfwOmIHd.js +0 -0
  162. package/dist/cjs/kddsUtilsLineClamp-aHZjbaci.js +0 -0
  163. package/dist/cjs/kddsUtilsMargin-Dx8EVq7G.js +0 -0
  164. package/dist/cjs/kddsUtilsPadding-CDPIu4gA.js +0 -0
  165. package/dist/cjs/kddsUtilsPosition-BI0KMR6S.js +0 -0
  166. package/dist/cjs/kddsUtilsTruncation-BZ8KpmAj.js +0 -0
  167. package/dist/cjs/kddsUtilsVisibility-udynsnvN.js +0 -0
  168. package/dist/cjs/label-DdXuOVTE.js +0 -0
  169. package/dist/cjs/labelUtils-C2UzbgdZ.js +0 -0
  170. package/dist/cjs/normalize-DZjR9N6d.js +1 -0
  171. package/dist/cjs/observable-BXDJFaLN.js +0 -0
  172. package/dist/cjs/primitiveDatatableCell-phgzbp5l.js +1 -0
  173. package/dist/cjs/ssr-RXknEJpO.js +0 -0
  174. package/dist/cjs/takeUntil-H3M4Zr2X.js +0 -0
  175. package/dist/cjs/utils-HAAanx64.js +0 -0
  176. package/dist/cjs/utilsPrivate-DL4VBetH.js +1 -0
  177. package/dist/esm/AddressFormat-BR_EkOwP.js +0 -0
  178. package/dist/esm/NumberFormat-CVAfQTsE.js +0 -0
  179. package/dist/esm/baseInput-Bgv7mEy2.js +1 -0
  180. package/dist/esm/calendar.kdds-DkhZH3qI.js +1 -0
  181. package/dist/esm/{calendarMonth-CKY0uX-F.js → calendarMonth-D9AFuDlp.js} +1 -1
  182. package/dist/esm/classSet-DY6Qvt6E.js +0 -0
  183. package/dist/esm/client-Ddi3i8XR.js +0 -0
  184. package/dist/esm/colorValid-qIPgkqGp.js +0 -0
  185. package/dist/esm/empty_html-CjXB8rB4.js +0 -0
  186. package/dist/esm/focus-93ksTIEs.js +0 -0
  187. package/dist/esm/formattedRichTextRenderer-B7edgq4B.js +1 -0
  188. package/dist/esm/i18n-B98kiI7M.js +0 -0
  189. package/dist/esm/idGenerator-D2O_IHg9.js +0 -0
  190. package/dist/esm/index-ChQWdmu9.esm-pxfeXSzR.js +1 -0
  191. package/dist/esm/index.esm-DycIHCS9.js +0 -0
  192. package/dist/esm/input-checkbox.kdds-CT6mcwHs.js +0 -0
  193. package/dist/esm/input-radio-group.kdds-BVVGUf0e.js +0 -0
  194. package/dist/esm/interacting-iGRv7bnR.js +1 -0
  195. package/dist/esm/intlDisplayNames-CI-izIck.js +0 -0
  196. package/dist/esm/intlFormat-DNT_1eg4.js +0 -0
  197. package/dist/esm/kd/ariaObserver.js +1 -1
  198. package/dist/esm/kd/baseFormattedText.js +1 -1
  199. package/dist/esm/kd/baseInput.js +1 -1
  200. package/dist/esm/kd/button.js +1 -1
  201. package/dist/esm/kd/buttonIcon.js +0 -0
  202. package/dist/esm/kd/buttonMenu.js +1 -1
  203. package/dist/esm/kd/calendar.js +1 -1
  204. package/dist/esm/kd/calendarDay.js +1 -1
  205. package/dist/esm/kd/calendarMonth.js +1 -1
  206. package/dist/esm/kd/calendarTime.js +1 -1
  207. package/dist/esm/kd/calendarYear.js +1 -1
  208. package/dist/esm/kd/card.js +1 -1
  209. package/dist/esm/kd/checkbox.js +0 -0
  210. package/dist/esm/kd/checkboxGroup.js +1 -1
  211. package/dist/esm/kd/configProvider.js +0 -0
  212. package/dist/esm/kd/datatable.js +1 -1
  213. package/dist/esm/kd/datepicker.js +1 -1
  214. package/dist/esm/kd/features.js +1 -1
  215. package/dist/esm/kd/focusTrap.js +1 -1
  216. package/dist/esm/kd/focusUtils.js +1 -1
  217. package/dist/esm/kd/form.js +1 -1
  218. package/dist/esm/kd/formattedAddress.js +1 -1
  219. package/dist/esm/kd/formattedDateTime.js +1 -1
  220. package/dist/esm/kd/formattedEmail.js +1 -1
  221. package/dist/esm/kd/formattedLocation.js +1 -1
  222. package/dist/esm/kd/formattedLookup.js +1 -1
  223. package/dist/esm/kd/formattedName.js +1 -1
  224. package/dist/esm/kd/formattedNumber.js +1 -1
  225. package/dist/esm/kd/formattedPhone.js +1 -1
  226. package/dist/esm/kd/formattedRichText.js +1 -1
  227. package/dist/esm/kd/formattedRichTextRenderer.js +1 -1
  228. package/dist/esm/kd/formattedText.js +1 -1
  229. package/dist/esm/kd/formattedTime.js +1 -1
  230. package/dist/esm/kd/formattedUrl.js +1 -1
  231. package/dist/esm/kd/hammer.js +0 -0
  232. package/dist/esm/kd/i18nCldrOptions.js +0 -0
  233. package/dist/esm/kd/i18nService.js +0 -0
  234. package/dist/esm/kd/icon.js +1 -1
  235. package/dist/esm/kd/iconSvgTemplates.js +0 -0
  236. package/dist/esm/kd/iconSvgTemplatesAction.js +0 -0
  237. package/dist/esm/kd/iconSvgTemplatesActionRtl.js +0 -0
  238. package/dist/esm/kd/iconSvgTemplatesCustom.js +0 -0
  239. package/dist/esm/kd/iconSvgTemplatesCustomRtl.js +0 -0
  240. package/dist/esm/kd/iconSvgTemplatesDoctype.js +0 -0
  241. package/dist/esm/kd/iconSvgTemplatesDoctypeRtl.js +0 -0
  242. package/dist/esm/kd/iconSvgTemplatesRtl.js +0 -0
  243. package/dist/esm/kd/iconSvgTemplatesStandard.js +0 -0
  244. package/dist/esm/kd/iconSvgTemplatesStandardRtl.js +0 -0
  245. package/dist/esm/kd/iconSvgTemplatesUtility.js +0 -0
  246. package/dist/esm/kd/iconSvgTemplatesUtilityRtl.js +0 -0
  247. package/dist/esm/kd/iconUtils.js +0 -0
  248. package/dist/esm/kd/image.js +1 -1
  249. package/dist/esm/kd/input.js +1 -1
  250. package/dist/esm/kd/inputNumber.js +1 -1
  251. package/dist/esm/kd/inputUtils.js +1 -1
  252. package/dist/esm/kd/internationalizationLibrary.js +1 -1
  253. package/dist/esm/kd/iso8601Utils.js +0 -0
  254. package/dist/esm/kd/layout.js +1 -1
  255. package/dist/esm/kd/layoutItem.js +1 -1
  256. package/dist/esm/kd/menuDivider.js +0 -0
  257. package/dist/esm/kd/menuItem.js +1 -1
  258. package/dist/esm/kd/messageDispatcher.js +0 -0
  259. package/dist/esm/kd/modal.js +1 -1
  260. package/dist/esm/kd/modalBase.js +1 -1
  261. package/dist/esm/kd/modalBody.js +1 -1
  262. package/dist/esm/kd/modalFooter.js +1 -1
  263. package/dist/esm/kd/modalHeader.js +1 -1
  264. package/dist/esm/kd/modalUtils.js +1 -1
  265. package/dist/esm/kd/numberUtils.js +1 -1
  266. package/dist/esm/kd/overflowLibrary.js +0 -0
  267. package/dist/esm/kd/overlay.js +1 -1
  268. package/dist/esm/kd/overlayContainer.js +1 -1
  269. package/dist/esm/kd/overlayManager.js +0 -0
  270. package/dist/esm/kd/overlayUtils.js +0 -0
  271. package/dist/esm/kd/playground.js +1 -1
  272. package/dist/esm/kd/positionLibrary.js +1 -1
  273. package/dist/esm/kd/primitiveBubble.js +1 -1
  274. package/dist/esm/kd/primitiveButton.js +1 -1
  275. package/dist/esm/kd/primitiveCellActions.js +1 -1
  276. package/dist/esm/kd/primitiveCellButton.js +1 -1
  277. package/dist/esm/kd/primitiveCellCheckbox.js +1 -1
  278. package/dist/esm/kd/primitiveCellEditableButton.js +0 -0
  279. package/dist/esm/kd/primitiveCellExpand.js +1 -1
  280. package/dist/esm/kd/primitiveCellFactory.js +1 -1
  281. package/dist/esm/kd/primitiveColorpickerButton.js +1 -1
  282. package/dist/esm/kd/primitiveColumnSorter.js +1 -1
  283. package/dist/esm/kd/primitiveCoordinateItem.js +1 -1
  284. package/dist/esm/kd/primitiveCustomCell.js +1 -1
  285. package/dist/esm/kd/primitiveCustomRow.js +1 -1
  286. package/dist/esm/kd/primitiveDatatableCell.js +1 -1
  287. package/dist/esm/kd/primitiveDatatableIeditInputWrapper.js +1 -1
  288. package/dist/esm/kd/primitiveDatatableIeditPanel.js +1 -1
  289. package/dist/esm/kd/primitiveDatatableIeditTypeFactory.js +1 -1
  290. package/dist/esm/kd/primitiveDatatableLoadingIndicator.js +1 -1
  291. package/dist/esm/kd/primitiveDatatableNoData.js +1 -1
  292. package/dist/esm/kd/primitiveDatatableStatusBar.js +1 -1
  293. package/dist/esm/kd/primitiveDatatableTooltip.js +1 -1
  294. package/dist/esm/kd/primitiveDatatableTooltipBubble.js +1 -1
  295. package/dist/esm/kd/primitiveFileDroppableZone.js +1 -1
  296. package/dist/esm/kd/primitiveHeaderActions.js +1 -1
  297. package/dist/esm/kd/primitiveHeaderFactory.js +1 -1
  298. package/dist/esm/kd/primitiveIcon.js +1 -1
  299. package/dist/esm/kd/primitiveIframe.js +1 -1
  300. package/dist/esm/kd/primitiveInputCheckbox.js +1 -1
  301. package/dist/esm/kd/primitiveInputCheckboxButton.js +1 -1
  302. package/dist/esm/kd/primitiveInputColor.js +1 -1
  303. package/dist/esm/kd/primitiveInputFile.js +1 -1
  304. package/dist/esm/kd/primitiveInputRadio.js +1 -1
  305. package/dist/esm/kd/primitiveInputSimple.js +1 -1
  306. package/dist/esm/kd/primitiveInputToggle.js +1 -1
  307. package/dist/esm/kd/primitiveModal.js +0 -0
  308. package/dist/esm/kd/primitiveResizeHandler.js +1 -1
  309. package/dist/esm/kd/primitiveTreegridCellToggle.js +1 -1
  310. package/dist/esm/kd/privateModal.js +1 -1
  311. package/dist/esm/kd/purifyLib.js +0 -0
  312. package/dist/esm/kd/radio.js +1 -1
  313. package/dist/esm/kd/radioGroup.js +1 -1
  314. package/dist/esm/kd/recordPicker.js +1 -1
  315. package/dist/esm/kd/recordPickerModal.js +1 -1
  316. package/dist/esm/kd/resizeObserver.js +0 -0
  317. package/dist/esm/kd/routingService.js +0 -0
  318. package/dist/esm/kd/select.js +1 -1
  319. package/dist/esm/kd/shadowBaseClassPrivate.js +1 -1
  320. package/dist/esm/kd/showToastEvent.js +0 -0
  321. package/dist/esm/kd/spin.js +1 -1
  322. package/dist/esm/kd/switch.js +1 -1
  323. package/dist/esm/kd/tab.js +1 -1
  324. package/dist/esm/kd/tabBar.js +1 -1
  325. package/dist/esm/kd/tabset.js +1 -1
  326. package/dist/esm/kd/tag.js +1 -1
  327. package/dist/esm/kd/toast.js +1 -1
  328. package/dist/esm/kd/toastContainer.js +1 -1
  329. package/dist/esm/kd/tooltipLibrary.js +1 -1
  330. package/dist/esm/kd/tree.js +1 -1
  331. package/dist/esm/kd/treeItem.js +1 -1
  332. package/dist/esm/kd/utils.js +0 -0
  333. package/dist/esm/kd/utilsInternal.js +0 -0
  334. package/dist/esm/kd/utilsPrivate.js +1 -1
  335. package/dist/esm/kddsCommon-CucK_w70.js +0 -0
  336. package/dist/esm/kddsUtilsGrid-CoXx1Bwj.js +0 -0
  337. package/dist/esm/kddsUtilsHyphenation-DjH4tlai.js +0 -0
  338. package/dist/esm/kddsUtilsLineClamp-CHvuz7DS.js +0 -0
  339. package/dist/esm/kddsUtilsMargin-QLmlO60p.js +0 -0
  340. package/dist/esm/kddsUtilsPadding-Dct-C7F7.js +0 -0
  341. package/dist/esm/kddsUtilsPosition-DDHofMns.js +0 -0
  342. package/dist/esm/kddsUtilsTruncation-BkfKIyC_.js +0 -0
  343. package/dist/esm/kddsUtilsVisibility-BQdWrRzW.js +0 -0
  344. package/dist/esm/label-CY8Q8HAO.js +0 -0
  345. package/dist/esm/labelUtils-DAuN2uUV.js +0 -0
  346. package/dist/esm/normalize-qdEPAG8z.js +1 -0
  347. package/dist/esm/observable-tloG64m6.js +0 -0
  348. package/dist/esm/primitiveDatatableCell-BRBOc7hR.js +1 -0
  349. package/dist/esm/ssr-C2pjZzfv.js +0 -0
  350. package/dist/esm/takeUntil-BqTBLaTv.js +0 -0
  351. package/dist/esm/utils-CB_20U-G.js +0 -0
  352. package/dist/esm/utilsPrivate-ekbvijnB.js +1 -0
  353. package/dist/index.css +1 -1
  354. package/package.json +5 -4
  355. package/dist/cjs/ariaLevelHeadingUtils-M4j3QB8o.js +0 -1
  356. package/dist/cjs/baseInput-B4fn3wqv.js +0 -1
  357. package/dist/cjs/baseInput-BMsvcc48.js +0 -1
  358. package/dist/cjs/baseInput-CV-Axsv7.js +0 -1
  359. package/dist/cjs/calendar.kdds-C_fF0242.js +0 -1
  360. package/dist/cjs/calendar.kdds-DhCBDTd8.js +0 -1
  361. package/dist/cjs/calendarMonth-DRVLTWdy.js +0 -1
  362. package/dist/cjs/formatUtils-DOBzsiDj.js +0 -1
  363. package/dist/cjs/formattedRichTextRenderer-JUEkyJI9.js +0 -1
  364. package/dist/cjs/formattedRichTextRenderer-Wm92WqEZ.js +0 -1
  365. package/dist/cjs/guid-Ayz0B2kG.js +0 -1
  366. package/dist/cjs/index-ChQWdmu9.esm-CiWeHNaF.js +0 -1
  367. package/dist/cjs/input-checkbox.kdds-UuqmWDVb.js +0 -1
  368. package/dist/cjs/interacting-4nknj0db.js +0 -1
  369. package/dist/cjs/kddsUtilsHyphenation-cIwXE7-9.js +0 -1
  370. package/dist/cjs/kddsUtilsLineClamp-C3n7Osch.js +0 -1
  371. package/dist/cjs/keyboard-CXwullq2.js +0 -1
  372. package/dist/cjs/linkUtils-DWJ_yIwJ.js +0 -1
  373. package/dist/cjs/linkify-B36nRBnE.js +0 -1
  374. package/dist/cjs/normalize-BB3g6B8G.js +0 -1
  375. package/dist/cjs/normalize-BLSsDB3q.js +0 -1
  376. package/dist/cjs/normalize-DKPi18vK.js +0 -1
  377. package/dist/cjs/normalize-knoDHLvk.js +0 -1
  378. package/dist/cjs/phonify-DnFugnET.js +0 -1
  379. package/dist/cjs/primitiveDatatableCell-BSmedNYm.js +0 -1
  380. package/dist/cjs/primitiveDatatableCell-CQfHU-IP.js +0 -1
  381. package/dist/cjs/scroll-CZqaNqUD.js +0 -1
  382. package/dist/cjs/textUtils-DrtfgRxs.js +0 -1
  383. package/dist/cjs/url-CcWOVyRN.js +0 -1
  384. package/dist/cjs/utils-DraQi5ib.js +0 -1
  385. package/dist/cjs/videoUtils-BGiLsEN_.js +0 -1
  386. package/dist/esm/ariaLevelHeadingUtils-VrG3qIjq.js +0 -1
  387. package/dist/esm/baseInput-Be138PZv.js +0 -1
  388. package/dist/esm/baseInput-BjUX8Vfg.js +0 -1
  389. package/dist/esm/baseInput-KeVoo1vH.js +0 -1
  390. package/dist/esm/calendar.kdds-COndvr3f.js +0 -1
  391. package/dist/esm/calendar.kdds-CmrkttUm.js +0 -1
  392. package/dist/esm/calendarMonth-V9FtmjXz.js +0 -1
  393. package/dist/esm/formatUtils-CE-tDKiH.js +0 -1
  394. package/dist/esm/formattedRichTextRenderer-CFfJSiYs.js +0 -1
  395. package/dist/esm/formattedRichTextRenderer-Da_0WDME.js +0 -1
  396. package/dist/esm/guid-BQweF3Zh.js +0 -1
  397. package/dist/esm/index-ChQWdmu9.esm-CgCBZbvA.js +0 -1
  398. package/dist/esm/interacting-BLIM-Sh7.js +0 -1
  399. package/dist/esm/kddsUtilsLineClamp-CdpaNYZu.js +0 -1
  400. package/dist/esm/keyboard-IIoSSYx_.js +0 -1
  401. package/dist/esm/label-s5H17BgL.js +0 -1
  402. package/dist/esm/linkUtils-wZFFzPQ1.js +0 -1
  403. package/dist/esm/linkify-Ci20UsC1.js +0 -1
  404. package/dist/esm/normalize-8oXbN3uy.js +0 -1
  405. package/dist/esm/normalize-B0BwrqbQ.js +0 -1
  406. package/dist/esm/normalize-BKf565LZ.js +0 -1
  407. package/dist/esm/normalize-C0Pp7GJL.js +0 -1
  408. package/dist/esm/phonify-DT8-TL9S.js +0 -1
  409. package/dist/esm/primitiveDatatableCell-BQbEYimM.js +0 -1
  410. package/dist/esm/primitiveDatatableCell-gw5YRhU4.js +0 -1
  411. package/dist/esm/scroll-DJV8UsLc.js +0 -1
  412. package/dist/esm/textUtils-5j6srO3J.js +0 -1
  413. package/dist/esm/url-sDlLItMs.js +0 -1
  414. package/dist/esm/utils-CInZuYkO.js +0 -1
  415. package/dist/esm/videoUtils-B9csPNaH.js +0 -1
  416. package/dist/index.js +0 -33744
  417. package/dist/index.js.map +0 -1
@@ -1 +1 @@
1
- import{parseFragment as e,registerTemplate as t,freezeTemplate as a,registerComponent as d,unwrap as o,registerDecorators as s}from"@kdcloudjs/kwc";import r from"./input.js";import n from"./modalHeader.js";import{_ as i}from"../empty_html-CjXB8rB4.js";import{s as l}from"../kddsCommon-CucK_w70.js";import{s as c}from"../kddsUtilsVisibility-BQdWrRzW.js";import{s as u}from"../kddsUtilsMargin-QLmlO60p.js";import{s as b}from"../kddsUtilsHyphenation-DjH4tlai.js";import{s as h}from"../kddsUtilsGrid-CoXx1Bwj.js";import{s as k}from"../kddsUtilsLineClamp-CHvuz7DS.js";import{s as p}from"../kddsUtilsTruncation-BkfKIyC_.js";import{s as m}from"../input-checkbox.kdds-CT6mcwHs.js";import g from"./primitiveDatatableIeditPanel.js";import v from"./primitiveHeaderFactory.js";import f from"./primitiveCellExpand.js";import y from"./primitiveCellCheckbox.js";import{_,D as x,a as w,F as C}from"../primitiveDatatableCell-gw5YRhU4.js";import A from"./primitiveCustomCell.js";import T from"./primitiveTreegridCellToggle.js";import R from"./icon.js";import z from"./primitiveCellFactory.js";import L from"./primitiveCustomRow.js";import I from"./primitiveDatatableNoData.js";import $ from"./primitiveDatatableStatusBar.js";import S from"./primitiveDatatableLoadingIndicator.js";import{b as M}from"../label-CY8Q8HAO.js";import{features as V}from"./features.js";import{EVENTS as E}from"./formattedLookup.js";import{g as D}from"../idGenerator-D2O_IHg9.js";import{classSetToString as K,isRTL as W,toFormattedNumber as N,toFormattedDate as F,toFormattedLocation as H,toNorthAmericanPhoneNumber as B,isValidPhone as j,isTextIgnoreRTL as O,parseToFormattedLinkifiedParts as P,formatUrl as U,assert as q,isUndefinedOrNull as Q,keyCodes as Y,isCellElement as X,getShadowActiveElements as G,hasOwnProperties as Z,privateContext as J,synchronizeAttrs as ee,isSafari as te}from"./utilsPrivate.js";import{hasLinkProvider as ae,getLinkInfo as de,updateRawLinkInfo as oe}from"./routingService.js";import{KingdeeResizeObserver as se}from"./resizeObserver.js";import"../observable-tloG64m6.js";import"../i18n-B98kiI7M.js";import{b as re,n as ne}from"../normalize-C0Pp7GJL.js";import{i as ie}from"../ssr-C2pjZzfv.js";import"../classSet-DY6Qvt6E.js";import{f as le}from"../labelUtils-DAuN2uUV.js";import{b as ce,t as ue}from"../intlFormat-DNT_1eg4.js";import{n as be}from"../NumberFormat-CVAfQTsE.js";import"./configProvider.js";import{f as he,m as ke,t as pe}from"../takeUntil-BqTBLaTv.js";import{stopPositioning as me,startPositioning as ge,Direction as ve}from"./positionLibrary.js";import fe from"./shadowBaseClassPrivate.js";import ye from"./modalBody.js";import _e from"./button.js";import xe from"./modalFooter.js";import{d as we}from"../interacting-BLIM-Sh7.js";import{T as Ce}from"../index-ChQWdmu9.esm-CgCBZbvA.js";import Ae from"./modal.js";import"../baseInput-KeVoo1vH.js";import"../normalize-B0BwrqbQ.js";import"../index.esm-DycIHCS9.js";import"../utils-CB_20U-G.js";import"../client-Ddi3i8XR.js";import"./iso8601Utils.js";import"../colorValid-qIPgkqGp.js";import"./modalUtils.js";import"../focus-93ksTIEs.js";import"./tooltipLibrary.js";import"./primitiveBubble.js";import"./ariaObserver.js";import"./overlayManager.js";import"./overlayUtils.js";import"../kddsUtilsPadding-Dct-C7F7.js";import"./primitiveDatatableIeditTypeFactory.js";import"./primitiveDatatableIeditInputWrapper.js";import"./primitiveHeaderActions.js";import"./menuItem.js";import"./menuDivider.js";import"./buttonMenu.js";import"./primitiveResizeHandler.js";import"../input-radio-group.kdds-BVVGUf0e.js";import"./primitiveCellActions.js";import"./primitiveCellButton.js";import"./formattedNumber.js";import"./i18nCldrOptions.js";import"./i18nService.js";import"./formattedDateTime.js";import"./formattedEmail.js";import"./formattedLocation.js";import"./formattedPhone.js";import"./baseFormattedText.js";import"./formattedUrl.js";import"../kddsUtilsPosition-DDHofMns.js";import"./primitiveDatatableTooltip.js";import"./primitiveDatatableTooltipBubble.js";import"./buttonIcon.js";import"./spin.js";import"./utilsInternal.js";import"./privateModal.js";import"./overlay.js";import"./overlayContainer.js";import"./modalBase.js";import"./focusTrap.js";var Te=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host .kdds-modal-header__right":o+" .kdds-modal-header__right")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal-header__close":o+" .kdds-modal-header__close")+d+" {cursor: pointer;color: var(--kdds-c-modal-icon-color, #666);}"+(t?":host .kdds-modal-header__close:hover":o+" .kdds-modal-header__close:hover")+d+" {color: var(--kdds-c-modal-icon-color-hover, #87A9FF);}"+(t?":host .kdds-modal-header__close:active":o+" .kdds-modal-header__close:active")+d+" {color: var(--kdds-c-modal-icon-color-active, #3761CA);}"+(t?":host .kdds-modal-header__close-slot":o+" .kdds-modal-header__close-slot")+d+" {margin-inline-start: 24px;}"+(t?":host .kdds-modal__footer-container":o+" .kdds-modal__footer-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__footer-container":o+" .kdds-modal__footer-container")+d+">kd-button"+d+" {margin-inline-end: 8px;}"+(t?":host .kdds-modal-container":o+" .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":o+" .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":o+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-border"]'+d+","+o+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-corner"]'+d+","+o+" .kdds-modal-container__mob"+d+' [part="modal-resize-border"]'+d+","+o+" .kdds-modal-container__mob")+d+' [part="modal-resize-corner"]'+d+" {display: none;}"+(t?":host .kdds-modal-container__mob":o+" .kdds-modal-container__mob")+d+" {max-width: 100vw;max-height: 100vh;}"+(t?":host .kdds-modal-footer__resize":o+" .kdds-modal-footer__resize")+d+" {position: absolute;bottom: 0;right: 0;cursor: se-resize;height: 16px;}"+(t?":host .kdds-modal__borader-top"+d+",\r:host .kdds-modal__borader-bottom":o+" .kdds-modal__borader-top"+d+","+o+" .kdds-modal__borader-bottom")+d+" {position: absolute;left: 0;right: 0;height: 4px;background: transparent;cursor: n-resize;z-index: 1;}"+(t?":host .kdds-modal__borader-top":o+" .kdds-modal__borader-top")+d+" {top: -2px;}"+(t?":host .kdds-modal__borader-bottom":o+" .kdds-modal__borader-bottom")+d+" {bottom: -2px;}"+(t?":host .kdds-modal__borader-left"+d+",\r:host .kdds-modal__borader-right":o+" .kdds-modal__borader-left"+d+","+o+" .kdds-modal__borader-right")+d+" {position: absolute;top: 0;bottom: 0;width: 4px;background: transparent;cursor: w-resize;}"+(t?":host .kdds-modal__borader-left":o+" .kdds-modal__borader-left")+d+" {left: -2px;}"+(t?":host .kdds-modal__borader-right":o+" .kdds-modal__borader-right")+d+" {right: -2px;}"+(t?":host .kdds-modal__body-container":o+" .kdds-modal__body-container")+d+" {padding: 0;}"+(t?":host .kdds-modal-header__search-container":o+" .kdds-modal-header__search-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__content":o+" .kdds-modal__content")+d+" {padding: 0;}"}];var Re=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host {":o+" {")+"display: inline-flex;}"+(t?":host [part~='boundary']":o+" [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']":o+" [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":o+" svg")+d+" {width: 100%;height: 100%;}"+(t?":host {":o+" {")+"vertical-align: middle;}"+(t?":host([size='xxx-small']),:host \r.kdds-icon_xxx-small":o+"[size='xxx-small'],"+o+" \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":o+"[size='xx-small'],"+o+" \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":o+"[size='x-small'],"+o+" \r.kdds-icon_x-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-5);}"+(t?":host([size='small']),:host \r.kdds-icon_small":o+"[size='small'],"+o+" \r.kdds-icon_small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}"+(t?":host([size='large']),:host \r.kdds-icon_large":o+"[size='large'],"+o+" \r.kdds-icon_large")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-10);}"+(t?":host([variant='warning']) {":o+"[variant='warning'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-warning-1);}"+(t?":host([variant='success']) {":o+"[variant='success'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-success-1);}"+(t?":host([variant='error']) {":o+"[variant='error'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-error-1);}"+(t?":host([variant='light']) {":o+"[variant='light'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-neutral-base-70);}"+(t?":host [part='boundary']":o+" [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":o+" .kdds-input__icon")+d+" [part='boundary']"+d+" {border-style: none;}"+(t?":host [part='icon']":o+" [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":o+"[icon-name*='action'],"+o+" \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":o+" .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":o+" .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":o+" .kdds-icon-text-default.kdds-is-disabled")+d+" {fill: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-assistive-text":o+" .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":o+" .kdds-icon_disabled")+d+" {background-color: currentcolor;}"+(t?":host .kdds-input__icon":o+" .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":o+"[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']":o+"[data-input-pill-close-primicon] [part='icon']")+d+" {--kds-c-icon-color-foreground: none;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']:hover":o+"[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":o+" .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 ze=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return["*",d,",\r*",d,"::before,\r*",d,"::after {box-sizing: border-box;}",t?":host [part~='button']":o+" [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":o+" [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":o+" [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":o+" [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":o+" [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":o+" [part~='button']:disabled",d," *",d," {pointer-events: none;}",t?":host [part='button'][aria-pressed='true']":o+" [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']":o+" [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":o+" [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']":o+"[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']":o+"[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']":o+"[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":o+"[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']":o+"[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']":o+"[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']":o+"[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":o+"[variant='brand'] [part~='button']:disabled"+d+","+o+"[variant='success'] [part~='button']:disabled"+d+","+o+"[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']":o+"[variant='base'] [part~='button']"+d+","+o+"[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":o+"[variant='base'] [part~='button']:disabled"+d+","+o+"[variant='text'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: transparent;}",t?":host([stretch]) [part~='button']":o+"[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']":o+"[variant='brand'] [part~='button']"+d+","+o+"[variant='brand-outline'] [part~='button']"+d+","+o+"[variant='inverse'] [part~='button']"+d+","+o+"[variant='success'] [part~='button']"+d+","+o+"[variant='destructive'] [part~='button']"+d+","+o+"[variant='destructive-text'] [part~='button']",d," {justify-content: center;}",t?":host [part~='start']":o+" [part~='start']",d," {display: inline-flex;padding-inline-end: 0;}",t?":host [part~='end']":o+" [part~='end']",d," {display: inline-flex;padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .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":o+" .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']":o+" [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":o+" [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":o+" [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":o+" [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":o+" [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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[variant='bare'][size='large'] [part~='button-icon']"+d+","+o+"[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']":o+" [part='end']",d," {padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .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']":o+"[size='large'] [part~='button-icon']"+d+","+o+"[size='medium'] [part~='button-icon']",d," {height: var(--kdds-c-buttonicon-sizing-height, var(--kdds-g-sizing-9));}"].join("")}];var Le=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host .kdds-row-number":o+" .kdds-row-number")+d+"::after {content: counter(row-number);}"+(t?":host .kdds-text-body_small":o+" .kdds-text-body_small")+d+" {font-size: var(--kdds-g-font-scale-neg-1);}"+(t?":host .kdds-button_icon-small":o+" .kdds-button_icon-small")+d+" {width: var(--kdds-g-sizing-4);height: var(--kdds-g-sizing-4);}"+(t?":host .kdds-cell-edit__button":o+" .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":o+" .kdds-cell-edit__button:focus")+d+" .kdds-button__icon_edit"+d+" {opacity: 1;}"+(t?":host .kdds-cell-edit__button:disabled":o+" .kdds-cell-edit__button:disabled")+d+" {color: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-button__icon_hint":o+" .kdds-button__icon_hint")+d+" {fill: var(--kdds-s-button-color, var(--kdds-g-color-on-surface-1));}"+(t?":host .kdds-button__icon_lock":o+" .kdds-button__icon_lock")+d+" {opacity: 1;}"+(t?":host .kdds-button__icon_edit":o+" .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":o+" .kdds-button__icon_edit:hover"+d+","+o+" \r.kdds-button__icon_edit:focus")+d+" {fill: var(--kdds-g-color-on-surface-3);}"+(t?":host [part='button button-icon']":o+" [part='button button-icon']")+d+" {border: none;opacity: 0;}"+(t?":host(:hover) [part='button button-icon']":o+":hover [part='button button-icon']")+d+" {opacity: 1;}"}];var Ie=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return[":focus-visible",d," {outline: 0;}",t?":host [part='datagrid-wrapper']":o+" [part='datagrid-wrapper']",d," {display: flex;flex-direction: column;position: relative;}",t?":host [part='datagrid']":o+" [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']":o+" [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']":o+" [fixed-header='true']",d," [part='datagrid-header']",d," {position: sticky;top: 0;min-height: 2rem;z-index: 1;}",t?":host [part='cell']:hover":o+" [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']":o+" [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":o+" [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']":o+" [role='columnheader']",d," {font-weight: var(--kdds-g-font-weight-7);}",t?":host [role='columnheader'][aria-sort]:hover":o+" [role='columnheader'][aria-sort]:hover",d," {background-color: var(--_kdds-c-datagrid-headercell-color-background-hover, white);}",t?":host [role='columnheader'][aria-selected='true']":o+" [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":o+" [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']":o+" [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']":o+" [data-row-key-value='HEADER']",d," > *:focus",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [part='value']":o+" [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+","+o+" [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']":o+" [part='datagrid-body']",d," [role~='row']:hover",d," {background-color: var(--_kdds-c-datagrid-row-color-background-hover, #f3f2f2);}",t?":host [aria-readonly='true']":o+" [aria-readonly='true']",d," {--_kdds-c-datagrid-cell-color-background-hover: inherit;}",t?":host [aria-readonly='false']":o+" [aria-readonly='false']",d," {--_kdds-c-datagrid-cell-color-background-hover: #fff;}",t?":host .kdds-scrollable_y":o+" .kdds-scrollable_y",d," {-webkit-overflow-scrolling: touch;max-height: 100%;overflow: hidden;overflow-y: auto;}",t?":host .kdds-scrollable_x":o+" .kdds-scrollable_x",d," {-webkit-overflow-scrolling: touch;max-width: 100%;overflow: hidden;overflow-x: auto;}",t?":host .kdds-line-height_reset":o+" .kdds-line-height_reset",d," {line-height: var(--kdds-g-font-lineheight-1);}",t?":host {":o+" {","height: 100%;width: 100%;display: inline;}",t?":host .kdds-table_header-fixed_container":o+" .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":o+" .kdds-rangeselection_active",d," {user-select: none;}",t?":host .kdds-table_header-fixed_container":o+" .kdds-table_header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table":o+" .kdds-table",d," {background-color: var(--kdds-c-datatable-background);font-size: inherit;}",t?":host .kdds-table"+d+" th"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th"+d+","+o+" .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":o+" .kdds-table",d," th",d," {font-weight: var(--kdds-g-font-weight-4);}",t?":host .kdds-table":o+" .kdds-table",d," th:focus",d," {outline: 0;}",t?":host .kdds-table":o+" .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)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+","+o+" .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)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+","+o+" .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)":o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+","+o+" .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)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+","+o+" .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)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+","+o+" .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)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+","+o+" .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":o+" .kdds-table",d," .kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-shrink",d," {width: 1%;}",t?":host .kdds-table"+d+" .kdds-cell-buffer_left"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-buffer_left"+d+","+o+" .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":o+" .kdds-table"+d+" .kdds-cell-buffer_right"+d+","+o+" .kdds-table",d," .kdds-cell-buffer--right",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr",d," {counter-increment: row-number;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-row-number",d,"::after {content: counter(row-number);}",t?":host .kdds-table"+d+" th:focus"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:focus"+d+","+o+" .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)":o+" .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+","+o+" .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":o+" .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+","+o+" .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":o+" .kdds-table"+d+" th:active"+d+","+o+" .kdds-table",d," [role='gridcell']:active",d," {box-shadow: none;}",t?":host .kdds-table":o+" .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":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .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":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .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":o+" .kdds-table_bordered"+d+","+o+" .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":o+" .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+","+o+" .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":o+" .kdds-table_bordered"+d+" tbody"+d+" td"+d+","+o+" .kdds-table_bordered"+d+" tbody"+d+" th"+d+","+o+" .kdds-table--bordered"+d+" tbody"+d+" td"+d+","+o+" .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":o+" .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+","+o+" .kdds-table",d," > tbody",d," > tr",d," > th",d," {height: var(--kdds-c-datatable-cell-line-height);}",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":o+" .kdds-table_col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" td"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + td"+d+","+o+" .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":o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+","+o+" .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" thead"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" tbody"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+","+o+" .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(""):[o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",",o," .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-']":o+" [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-']":o+" [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-']":o+" [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":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+","+o+" .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":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+","+o+" .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":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,"+o+" .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .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":o+" .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":o+" .kdds-table_joined"+d+" table"+d+","+o+" .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":o+" .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":o+" .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":o+" .kdds-max-medium-table_stacked"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" thead"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" th"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .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)":o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" td"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .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)":o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+","+o+" .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":o+" .kdds-table_edit_container:focus"+d+","+o+" .kdds-table--edit_container:focus",d," {outline: none;}",t?":host .kdds-table_edit_container:focus"+d+"::before,\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+"::before,"+o+" .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":o+" .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+","+o+" .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .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":o+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table--edit_container-message",d," {display: none;}",t?":host .kdds-table_edit"+d+" thead"+d+" th"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" thead"+d+" th"+d+","+o+" .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":o+" .kdds-table_edit"+d+" .kdds-cell-error"+d+","+o+" .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)":o+" .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+","+o+" .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":o+" .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+","+o+" .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .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":o+" .kdds-has-focus",d," .kdds-th__action",d," {}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit",d," {outline: 0;}",t?":host .kdds-table":o+" .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":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," .kdds-button__icon--lock",d," {opacity: 1;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus:hover",d," {}",t?":host .kdds-table":o+" .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":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+","+o+" .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":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+","+o+" .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":o+" .kdds-table_header-fixed_container"+d+"::before,"+o+" .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":o+" .kdds-table_header-fixed"+d+","+o+" .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":o+" .kdds-table_header-fixed"+d+" thead"+d+" th"+d+","+o+" .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":o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+","+o+" .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table--header-fixed",d," tbody",d," tr:first-child",d," th",d," {}",t?":host .kdds-table_header-hidden":o+" .kdds-table_header-hidden",d," {border-block-start: 0;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-tree__item",d," .kdds-is-disabled",d," {visibility: hidden;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-is-selected",d," {background: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-tree":o+" .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":o+" .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .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":o+" .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .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":o+" .kdds-tree__item",d," a",d," {color: var(--kdds-g-color-neutral-base-10);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:hover",d," {text-decoration: none;}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:focus",d," {outline: 0;text-decoration: underline;}",t?":host .kdds-tree-container"+d+",\r:host .kdds-tree_container":o+" .kdds-tree-container"+d+","+o+" .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":o+" .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+","+o+" .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree_container",d," > .kdds-text-heading--label",d," {margin-block-end: var(--kdds-g-spacing-2);}",t?":host .kdds-tree__item":o+" .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":o+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree__item:hover",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']:focus",d," {outline: 0;}",t?":host .kdds-tree":o+" .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":o+" .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":o+" .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']":o+" [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":o+" .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":o+" .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item:hover",d," {background-color: transparent;cursor: default;}",t?":host .kdds-tree":o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item-meta",d," {color: inherit;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']",d," > [role='group']",d," {display: none;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-expanded='true']",d," > [role='group']",d," {display: block;}",t?":host [aria-expanded='false']":o+" [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']":o+" [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']":o+" [dir='rtl']",d," [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transform: rotate(-90deg);}",t?":host [aria-level='1']":o+" [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-4);}",t?":host [aria-level='2']":o+" [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-6);}",t?":host [aria-level='3']":o+" [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-3);}",t?":host [aria-level='4']":o+" [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-10);}",t?":host [aria-level='5']":o+" [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-12);}",t?":host [aria-level='6']":o+" [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']":o+" [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']":o+" [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']":o+" [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']":o+" [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 2);}",t?":host [aria-level='11']":o+" [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']":o+" [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']":o+" [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']":o+" [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']":o+" [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 3);}",t?":host [aria-level='16']":o+" [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']":o+" [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']":o+" [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']":o+" [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']":o+" [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 4);}",t?":host .kdds-tree__item-label":o+" .kdds-tree__item-label",d," {display: block;}",t?":host .kdds-tree__item-meta":o+" .kdds-tree__item-meta",d," {display: block;color: var(--kdds-g-color-neutral-base-30);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-button",d," {align-self: flex-start;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-pill",d," {margin-inline-start: var(--kdds-g-spacing-3);}",t?":host .kdds-tree__group-header":o+" .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":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-button"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+","+o+" .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":o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+","+o+" .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":o+" .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 $e=[[l,c,u,b,h,k,p,m,Re,ze,Le,Ie],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 Se=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Me=e`<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>`,Ve=e`<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`<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>`,De=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Ke=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,We=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ne=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Fe=e`<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>`,He=e`<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>`,Be=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,je=e`<span${3}>${"t1"}</span>`,Oe=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Pe=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ue=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,qe=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Qe=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ye=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Xe=e`<span dir="ltr"${3}>${"t1"}</span>`,Ge=e`<span${3}>${"t1"}</span>`,Ze=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Je=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:target"}${"a0:tabindex"}${"a0:title"}${3}>${"t1"}</a>`,et=e`<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>`,tt=e`<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>`,at=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,dt=e`<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>`,ot=e`<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>`,st=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,rt=e`<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>`,nt=e`<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>`,it=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,lt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ct=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ut=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,bt=e`<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>`,ht=e`<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>`,kt=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,pt=e`<span${3}>${"t1"}</span>`,mt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,gt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,vt=e`<a data-inline-type="formatted-phone" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ft=e`<a data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,yt=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,_t=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,xt=e`<span dir="ltr"${3}>${"t1"}</span>`,wt=e`<span${3}>${"t1"}</span>`,Ct=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,At=e`<a data-inline-type="formatted-url" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:title"}${"a0:target"}${"a0:tabindex"}${3}>${"t1"}</a>`,Tt=e`<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>`,Rt=e`<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>`,zt=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Lt=e`<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>`,It=e`<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>`,$t=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,St={name:"customdatatypes"},Mt=[],Vt={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},Dt={"data-iedit-panel":"true"},Kt={"kdds-scrollable_y":!0},Wt={attrs:{part:"datagrid-header","data-rowgroup-header":"",role:"rowgroup"},key:10},Nt={"kdds-line-height_reset":!0,"table-header":!0},Ft={role:"row","aria-rowindex":"1","data-row-key-value":"HEADER"},Ht={"column-header":!0,cell:!0},Bt={part:"datagrid-body","data-rowgroup-body":"",role:"rowgroup"},jt={"kdds-checkbox":!0},Ot={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},Pt={"data-navigation":"enable"},Ut={"kdds-m-right_x-small":!0},qt={key:74},Qt={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},Yt={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},Xt={key:143},Gt={"kdds-table-expand-container":!0},Zt={key:168},Jt={"kdds-datatable-nodata-cell":!0};function ea(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:p,t:m,fr:x,fid:w}=e,{_m0:C,_m1:M,_m2:V,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:F,_m9:H,_m10:B,_m11:j,_m12:O,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",S,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:St,key:1,on:C||(d._m0={slotchange:o(t.handleCustomTypesChange)})},Mt,a),l(Se,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",Vt),c("div",Et,[u("kd-primitive-datatable-iedit-panel",g,{attrs:Dt,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:M||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:V||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:Kt,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("div",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{part:"datagrid",role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(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:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("div",Wt,[c("div",{classMap:Nt,attrs:Ft,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},p(t.state.columns,function(e,a){return c("div",{classMap:Ht,style:e.style,attrs:{part:"cell",role:e.role,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",v,{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",v,{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:Bt,ref:"tableBody",key:15},p(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:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},p(e.cells,function(a){return[a.isRowExpand?c("div",{className:r(a.class),attrs:{role:"gridcell",tabindex:h(a.tabIndex),"data-col-key-value":a.colKeyValue},key:k(17,a.colKeyValue)},[u("kd-primitive-cell-expand",f,{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:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(19,a.colKeyValue)},[a.isInlined?c("span",{classMap:jt,attrs:Ot,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:a.checkboxName,id:b(a.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},props:{checked:e.isSelected},key:21,on:F||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(Me,23,[i(0,{attrs:{id:b(a.checkboxLabelId),for:b(a.checkboxId)}},null),i(3,null,n(a.checkboxSelectItemAssistiveText))])]):null,a.isInlined?null:u("kd-primitive-cell-checkbox",y,{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:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue},key:k(25,a.colKeyValue)},[u("kd-primitive-datatable-cell",_,{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":b(a.describedBy),tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(27,a.colKeyValue),on:H||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:28},[u("kd-primitive-custom-cell",A,{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",T,{attrs:Pt,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",R,{classMap:Ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:33}):null,a.hasLeftIcon?m(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?x(34,[l(Ve,36)],0):x(34,[l(Ee,38)],0):null,a.isBoolean?l(De,40,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(Ke,42,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{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(We,45,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(Ne,47,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:w(a.emailLink),tabindex:h(a.internalTabIndex)},key:48},[a.emailIconHidden?null:a.isRTL?x(49,[l(Fe,51)],0):x(49,[l(He,53)],0),a.emailIconHidden?null:l(Be,55,[i(1,null,n(a.emailIconAssistiveText))]),m(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(je,57,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:m(n(a.locationValue)):null,a.isNumber?l(Oe,59,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(Pe,61,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(Ue,63,[i(0,{attrs:{href:w(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(qe,65,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:w(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(Qe,67,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(Ye,69):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(Xe,71,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(Ge,73,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:m(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",qt,p(a.textParts,function(e){return[e.isLink?l(Ze,k(76,e.key),[i(0,{attrs:{href:w(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(Je,78,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:w(a.urlLink),target:a.urlTarget,tabindex:h(a.internalTabIndex),title:a.urlTooltip}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",R,{classMap:Qt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:79}):null,a.hasRightIcon?m(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Yt,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:80,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?x(81,[l(et,83)],0):x(81,[l(tt,85)],0),l(at,87,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?x(88,[l(dt,90)],0):x(88,[l(ot,92)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",z,{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(st,95,[i(0,{attrs:{id:b(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:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(96,a.colKeyValue),on:j||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:97},[u("kd-primitive-custom-cell",A,{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",T,{attrs:Pt,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",R,{classMap:Ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:102}):null,a.hasLeftIcon?m(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?x(103,[l(rt,105)],0):x(103,[l(nt,107)],0):null,a.isBoolean?l(it,109,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(lt,111,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{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(ct,114,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(ut,116,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-navigation":"enable","data-action-triggers":"enter",href:w(a.emailLink),tabindex:h(a.internalTabIndex)},key:117},[a.emailIconHidden?null:a.isRTL?x(118,[l(bt,120)],0):x(118,[l(ht,122)],0),a.emailIconHidden?null:l(kt,124,[i(1,null,n(a.emailIconAssistiveText))]),m(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(pt,126,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:m(n(a.locationValue)):null,a.isNumber?l(mt,128,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(gt,130,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(vt,132,[i(0,{attrs:{href:w(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(ft,134,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:w(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(yt,136,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(_t,138):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(xt,140,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(wt,142,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:m(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",Xt,p(a.textParts,function(e){return[e.isLink?l(Ct,k(145,e.key),[i(0,{attrs:{href:w(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(At,147,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:w(a.urlLink),title:a.urlTooltip,target:a.urlTarget,tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",R,{classMap:Qt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:148}):null,a.hasRightIcon?m(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Yt,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:149,on:O||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?x(150,[l(Tt,152)],0):x(150,[l(Rt,154)],0),l(zt,156,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?x(157,[l(Lt,159)],0):x(157,[l(It,161)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",z,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,ariaDescribedBy:b(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($t,164,[i(0,{attrs:{id:b(a.describedBy)}},null)]):null]):null]}))})):null,t.hasValidKeyField&&t.row.isRowExpanded?c("div",{classMap:Gt,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",L,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:t.row,expandRowExtraParams:t.expandable.expandRowExtraParams},key:167})])]):null,t.tableNoData?c("div",Zt,[c("div",{classMap:Jt,attrs:{colspan:t.state.columns.length},key:169},[u("kd-primitive-datatable-no-data",I,{props:{width:t.state.tableWrapperWidth},key:170})])]):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",$,{props:{error:t.tableError},key:171,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var ta=t(ea);ea.slots=["customdatatypes"],ea.hasRefs=!0,ea.stylesheets=[],ea.stylesheetToken="kwc-1r94rvjrpp4",ea.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\div-undefined_div",$e&&ea.stylesheets.push.apply(ea.stylesheets,$e),a(ea);var aa=[[l,c,u,b,h,k,p,m,Re,ze,Le,Ie],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 da=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,oa=e`<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>`,sa=e`<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>`,ra=e`<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>`,na=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ia=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,la=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ca=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ua=e`<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>`,ba=e`<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>`,ha=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ka=e`<span${3}>${"t1"}</span>`,pa=e`<span${3}>${"t1"}</span>`,ma=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ga=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,va=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,fa=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ya=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,_a=e`<span dir="ltr"${3}>${"t1"}</span>`,xa=e`<span${3}>${"t1"}</span>`,wa=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Ca=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,Aa=e`<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>`,Ta=e`<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>`,Ra=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,za=e`<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>`,La=e`<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>`,Ia=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,$a=e`<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>`,Sa=e`<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>`,Ma=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Va=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ea=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Da=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ka=e`<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>`,Wa=e`<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>`,Na=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Fa=e`<span${3}>${"t1"}</span>`,Ha=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ba=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ja=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Oa=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Pa=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ua=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,qa=e`<span dir="ltr"${3}>${"t1"}</span>`,Qa=e`<span${3}>${"t1"}</span>`,Ya=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Xa=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,Ga=e`<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>`,Za=e`<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>`,Ja=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,ed=e`<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>`,td=e`<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>`,ad=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,dd={name:"customdatatypes"},od=[],sd={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},rd={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],ref:"outerContainer",key:5},nd={"data-iedit-panel":"true"},id={"kdds-scrollable_y":!0},ld={attrs:{"data-rowgroup-header":""},key:10},cd={"kdds-line-height_reset":!0},ud={role:"row","data-row-key-value":"HEADER"},bd={"data-rowgroup-body":""},hd={"kdds-checkbox":!0},kd={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},pd={"data-navigation":"enable"},md={"kdds-m-right_x-small":!0},gd={key:72},vd={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},fd={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},yd=[["height","100%",!1]],_d={key:141},xd={"kdds-table-expand-container":!0},wd={key:166},Cd={"kdds-datatable-nodata-cell":!0};function Ad(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:p,t:m,fr:_,fid:x,f:w}=e,{_m0:C,_m1:M,_m2:V,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:F,_m9:H,_m10:B,_m11:j,_m12:O,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",S,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:dd,key:1,on:C||(d._m0={slotchange:o(t.handleCustomTypesChange)})},od,a),l(da,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",sd),c("div",rd,[u("kd-primitive-datatable-iedit-panel",g,{attrs:nd,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:M||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:V||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:id,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("table",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(t.ariaDescribedBy),"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("thead",ld,[c("tr",{classMap:cd,attrs:ud,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},p(t.state.columns,function(e,a){return c("th",{style:e.style,attrs:{role:e.role,scope:e.scope,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",v,{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",v,{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:bd,ref:"tableBody",key:15},w([p(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:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},p(e.cells,function(s){return[s.isRowExpand?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-col-key-value":s.colKeyValue},key:k(17,s.colKeyValue)},[u("kd-primitive-cell-expand",f,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:s.hasFocus,rowIndex:a,colKeyValue:s.colKeyValue},key:18})]):null,s.isCheckbox?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value},key:k(19,s.colKeyValue)},[s.isInlined?c("span",{classMap:hd,attrs:kd,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:s.checkboxName,id:b(s.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},props:{checked:e.isSelected},key:21,on:F||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(oa,23,[i(0,{attrs:{id:b(s.checkboxLabelId),for:b(s.checkboxId)}},null),i(3,null,n(s.checkboxSelectItemAssistiveText))])]):null,s.isInlined?null:u("kd-primitive-cell-checkbox",y,{attrs:{"data-label":s.dataLabel},props:{dtContextId:t._datatableId,hasFocus:s.hasFocus,rowKeyValue:e.key,colKeyValue:s.colKeyValue,rowIndex:a,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,s.isDataTypeScope?c("th",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"rowheader","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,scope:"row",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(25,s.colKeyValue),on:H||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:26},[u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:27})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:28},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",T,{attrs:pd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:29}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:30},[s.hasLeftIcon?u("kd-icon",R,{classMap:md,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:31}):null,s.hasLeftIcon?m(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?_(32,[l(sa,34)],0):_(32,[l(ra,36)],0):null,s.isBoolean?l(na,38,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(ia,40,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:41}):null,s.isDateLocal?l(la,43,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(ca,45,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:x(s.emailLink),tabindex:h(s.internalTabIndex)},key:46},[s.emailIconHidden?null:s.isRTL?_(47,[l(ua,49)],0):_(47,[l(ba,51)],0),s.emailIconHidden?null:l(ha,53,[i(1,null,n(s.emailIconAssistiveText))]),m(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(ka,55,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:m(n(s.locationValue)):null,s.isNumber?l(pa,57,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(ma,59,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(ga,61,[i(0,{attrs:{href:x(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(va,63,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:x(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(fa,65,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber?l(ya,67):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(_a,69,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(xa,71,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:m(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",gd,p(s.textParts,function(e){return[e.isLink?l(wa,k(74,e.key),[i(0,{attrs:{href:x(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(Ca,76,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:x(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",R,{classMap:vd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:77}):null,s.hasRightIcon?m(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:fd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:78,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?_(79,[l(Aa,81)],0):_(79,[l(Ta,83)],0),l(Ra,85,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?_(86,[l(za,88)],0):_(86,[l(La,90)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",z,{styleDecls:yd,attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:91}),s.describedBy?l(Ia,93,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null,s.isDataType?c("td",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"gridcell","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(94,s.colKeyValue),on:j||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:95},[u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:96})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:97},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",T,{attrs:pd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:98}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:99},[s.hasLeftIcon?u("kd-icon",R,{classMap:md,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:100}):null,s.hasLeftIcon?m(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?_(101,[l($a,103)],0):_(101,[l(Sa,105)],0):null,s.isBoolean?l(Ma,107,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(Va,109,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:110}):null,s.isDateLocal?l(Ea,112,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(Da,114,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:x(s.emailLink),tabindex:h(s.internalTabIndex)},key:115},[s.emailIconHidden?null:s.isRTL?_(116,[l(Ka,118)],0):_(116,[l(Wa,120)],0),s.emailIconHidden?null:l(Na,122,[i(1,null,n(s.emailIconAssistiveText))]),m(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(Fa,124,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:m(n(s.locationValue)):null,s.isNumber?l(Ha,126,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(Ba,128,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(ja,130,[i(0,{attrs:{href:x(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(Oa,132,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:x(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(Pa,134,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber&&s.rowHasError?m("</kd-primitive-datatable-tooltip>"):null,s.isRowNumber?l(Ua,136):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(qa,138,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(Qa,140,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:m(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",_d,p(s.textParts,function(e){return[e.isLink?l(Ya,k(143,e.key),[i(0,{attrs:{href:x(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(Xa,145,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:x(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",R,{classMap:vd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:146}):null,s.hasRightIcon?m(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:fd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:147,on:O||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?_(148,[l(Ga,150)],0):_(148,[l(Za,152)],0),l(Ja,154,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?_(155,[l(ed,157)],0):_(155,[l(td,159)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",z,{attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:160}),s.describedBy?l(ad,162,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null]})),e.isRowExpanded?c("tr",{classMap:xd,attrs:{"data-expand-row-key-value":e.key,"data-row-key-value":"EXPAND"},key:k(163,e.key)},[c("td",{attrs:{colspan:t.state.columns.length},key:164},[u("kd-primitive-custom-row",L,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:e,expandRowExtraParams:t.expandable.expandRowExtraParams},key:165})])]):null]}),t.tableNoData?c("tr",wd,[c("td",{classMap:Cd,attrs:{colspan:t.state.columns.length},key:167},[u("kd-primitive-datatable-no-data",I,{props:{width:t.state.tableWrapperWidth},key:168})])]):null])):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",$,{props:{error:t.tableError},key:169,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var Td=t(Ad);Ad.slots=["customdatatypes"],Ad.hasRefs=!0,Ad.stylesheets=[],Ad.stylesheetToken="kwc-3n129pmeldi",Ad.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\table-undefined_table",aa&&Ad.stylesheets.push.apply(Ad.stylesheets,aa),a(Ad);const Rd={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 K(this)}},zd=/^\d+$/,Ld=/^[0-9]*[1-9][0-9]*$/,Id=/\binline\b/,$d=/\brole-based\b/;function Sd(e){return"string"==typeof e?e.replace(/"/g,'\\"'):e}const Md=function(e){return"object"==typeof e&&null!==e};function Vd(e,t,a){return e<=t?t:e>=a?a:e}function Ed(e){return`[data-row-key-value="${Sd(e)}"]`}function Dd(e){if(!e)return null;const{firstElementChild:t}=e;return t}function Kd(e,t){return t&&t.scrollerX||e.querySelector(".kdds-scrollable_x")}function Wd(e,t){return t&&t.scrollerY||e.querySelector(".kdds-scrollable_y")}function Nd(e){return zd.test(e)}function Fd(e,t,a,d){let o;if("positive"===a){if(function(e){return Ld.test(e)}(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer > 0.`}else if("non-negative"===a){if(Nd(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer >= 0.`}else o="Invalid number type during normalization of number attribute";return d}function Hd(e){return e.scrollHeight-e.parentNode.scrollTop-e.parentNode.clientHeight}function Bd(e){return Array.isArray(e)?e:[]}const jd={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0};function Od(e,t,a,d){!function(e,t,a,d){const o=e[a],{columnWidths:s}=t,r=s[a],{minWidth:n,maxWidth:i}=o,l=Vd(d,n,i);if(r!==l){const d=l-r;if(s[a]=l,t.tableWidth+=d,o.columnWidth=l,o.style=l?`width: ${l}px;`:"",W())for(let t=a+1;t<e.length;t+=1)e[t].offset+=d;o.isResized=!0}}(e,t,a,t.columnWidths[a]+d)}function Pd(e,t){const{maxColumnWidth:a,minColumnWidth:d}=t;for(let t=0;t<e.length;t+=1){const o=e[t];o.internal||(o.maxWidth=a,o.minWidth=d);const{initialWidth:s}=o;if(s){const{minWidth:e,maxWidth:t}=o;o.initialWidth=Vd(s,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 qd(e,t){const a=Wd(e,t);return a&&!!(a.offsetParent||a.offsetHeight||a.offsetWidth)}function Qd(e){return e.loadMoreOffset}function Yd(e){const{state:t}=this;if(t.isLoading)return;const a=e.target.firstChild;if(!a)return;Hd(a)<Qd(t)&&this.dispatchEvent(new CustomEvent("loadmore"))}function Xd(){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=ie?Wd(t,a):null;var o;d&&((o=d).offsetParent&&o.offsetHeight>1&&o.offsetWidth>1)&&!function(e){return e.scrollHeight>e.clientHeight+2}(d)&&this.dispatchEvent(new CustomEvent("loadmore"))}const Gd="HEADER";function Zd(e,t,a){return e.indexes[`${t}-${a}`]}function Jd(e,t){const a=e.indexes[t];return a?a.rowIndex:void 0}function eo(e,t){return e.indexes[t]}function to(e,t){const a=e.indexes[t];return a?e.data[a.rowIndex]:void 0}function ao(e,t,a){return void 0!==e.indexes[`${t}-${a}`]}const oo="rowNumber",so={rowLevelErrorAssistiveText:M.rowLevelErrorAssistiveText};const ro="SELECTABLE_CHECKBOX",no="SELECTABLE_BUTTON_MENU",io="checkbox",lo="radio";function co(e,t){if(!e.selectedRowsKeys[t]){const{maxRowSelection:t}=e;return ho(e)&&uo(e)===t}return!1}function uo(e){let t=0;const{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1)a[d[e]]&&(t+=1);return t}function bo(e){const t=[],{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1){const o=d[e];a[o]&&t.push(o)}return t}function ho(e){return 1!==e.maxRowSelection||e.singleRowSelectionMode===io}const ko={rowActionsDefaultAriaLabel:M.rowActionsDefaultAriaLabel,rowNumber:M.rowNumber},po={type:oo,ariaLabel:ko.rowNumber,fixedWidth:40,internal:!0,resizable:!1,sortable:!1,tabIndex:-1,label:"#"},mo={type:ro,fixedWidth:32,internal:!0,tabIndex:-1},go={type:x,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1},vo={type:no,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1};function fo({state:e,rawColumns:t,types:a,expandable:d}){e.hadTreeDataTypePreviously=void 0!==e.treeColumn,e.treeColumn=void 0;const{columns:o,indexes:s}=e,r=!!d;for(let e=0,{length:t}=o;e<t;e+=1){s[`${Gd}-${o[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 m=0;r&&(k[m]=Object.assign({},go),m+=1),b&&(k[m]=Object.assign({},mo),m+=1),c&&(k[m]=Object.assign({},po),m+=1),u&&!h&&(k[l-1]=Object.assign({},vo));for(let e=0;e<n;e+=1)k[e+m]=t[e];const{defaultSortDirection:g,sortedBy:v,sortedDirection:f}=e,y=Array.isArray(v),_=new Set;for(let t=0;t<l;t+=1){const d=k[t],{columnKey:o}=d;o&&_.has(o),_.add(o);const{type:s}=d,r=o||d.fieldName,n={ariaLabel:"",cellAttributes:{},resizable:!0,type:"text",typeAttributes:{},subType:"",role:"columnheader",scope:"col",hideDefaultActions:!0};n.initialWidth||(["number","percent","currency"].includes(s)?n.initialWidth=160:n.initialWidth=200),"action"===s?(n.ariaLabel=ko.rowActionsDefaultAriaLabel,n.fixedWidth=50,n.resizable=!1):"tree"===s?n.subType="text":s!==ro&&s!==x||(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=re(e)),n.editTemplate=a.getCustomTypeEditTemplate(i)}else n.editable=!1,n.editTemplate=void 0;const{sortable:e}=n;e&&(y?v.includes(r):v===r)?(n.sorted=!0,n.sortAriaLabel=y?"desc"===f[v.indexOf(r)]?"descending":"ascending":"desc"===f?"descending":"ascending",n.sortedDirection=y?f[v.indexOf(r)]:f):(n.sorted=!1,n.sortAriaLabel=e?"other":null,n.sortedDirection=g)}const c=n.colKeyValue||`${r||t}-${i}-${t}`;if(n.colKeyValue=c,n.isLastCol=t===l-1,n.isScopeCol=t===m,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 yo(e){const{typeAttributes:t}=e;return Md(t)?t:{}}function _o(e){const{subTypeAttributes:t}=e.typeAttributes;return Md(t)?t:{}}function xo(e){const{cellAttributes:t}=e;return Md(t)?t:{}}function wo(e,t){const{columns:a}=e,d=Zd(e,Gd,t),o=d&&d.colIndex;if(void 0===o||-1===o||a[o].internal)return-1;let s=0;for(let e=0;e<o;e+=1)a[e].internal&&(s+=1);return o-s}function Co(e,t){return e.headerIndexes[t]}function Ao(){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:To}=Ao(),Ro={edit:M.edit,editHasError:M.editHasError,emailLabel:M.emailLabel,false:M.false,selectItem:M.selectItem,true:M.true},zo=()=>{},Lo={isInlined:!0,actionableElementsCount:0,computedCellDivClass:"",computedCellDivStyle:"",computedWrapperClass:"",currentInputIndex:0,editIconAssistiveText:"",hasFocus:!1,hasLeftIcon:!1,hasRightIcon:!1,internalTabIndex:-1,isRTL:!1,mode:To,shouldDisplayReadOnlyIcon:!1};function Io(e,t,a,d){const{columnSubType:o,columnType:s,isCheckbox:r,isCustom:n}=t;if("boolean"===s||"boolean"===o)Object.assign(t,Lo,{isBoolean:!0,isChecked:!1,booleanCellAssistiveText:""});else if(r&&a){const{rowNumber:a}=t;Object.assign(t,Lo,{checkboxId:`${d}-check-id-${a}`,checkboxLabelId:`check-button-label-${a}`,checkboxName:`${d}-options-${a}`,checkboxSelectItemAssistiveText:`${Ro.selectItem} ${a}`}),e.checkboxCells.push(t)}else r?Object.assign(t,{isInlined:!1}):n?Object.assign(t,Lo,{keyboardMode:""}):"currency"===s||"currency"===o?Object.assign(t,Lo,{isCurrency:!0,currencyValue:""}):"date-local"===s||"date-local"===o?Object.assign(t,Lo,{isDateLocal:!0,dateLocalValue:""}):"date"===s||"date"===o?Object.assign(t,Lo,{isDateTime:!0,dateTimeValue:""}):"email"===s||"email"===o?Object.assign(t,Lo,{isEmail:!0,emailIconAssistiveText:"",emailIconHidden:!1,emailLabel:"",showEmailLink:!1}):"location"===s||"location"===o?Object.assign(t,Lo,{isLocation:!0,locationValue:""}):"reference"===s||"reference"===o?(Object.assign(t,Lo,{isLookup:!0,_handleLookupAnchorClick:zo,handleLookupAnchorClick:e=>{t._handleLookupAnchorClick(e)},lookupIsNavigable:!1,lookupLink:"",lookupValue:t.typeAttribute0}),e.lookupCells.push(t)):"number"===s||"number"===o?Object.assign(t,Lo,{isNumber:!0,numberValue:""}):"percent"===s||"percent"===o?Object.assign(t,Lo,{isPercent:!0,percentValue:""}):"phone"===s||"phone"===o?Object.assign(t,Lo,{isPhone:!0,phoneLabel:"",phoneLink:"",showPhoneLink:!1}):"rowNumber"===s||"rowNumber"===o?Object.assign(t,Lo,{isRowNumber:!0,rowHasError:!1}):"text"===s||"text"===o?Object.assign(t,Lo,{isText:!0,ignoreRTL:!1,shouldFormatText:!1,textParts:void 0,textValue:void 0}):"url"!==s&&"url"!==o||Object.assign(t,Lo,{isURL:!0,_handleUrlAnchorClick:void 0,handlUrlAnchorClick:void 0,showUrlLink:!1,urlLabel:"",urlLink:"",urlTarget:"",urlTooltip:""})}const $o=[["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"]]],So=Array($o.length);for(let e=0,{length:t}=$o;e<t;e+=1){const{0:t,1:a}=$o[e];So[e]=[t,{typeAttributes:a,type:"standard"}]}const Mo=new Map($o),Vo=new Map(So),Eo=new Set(["text","url","date","number","currency","percent","button","button-icon","reference"]),Do=new Set(["text","percent","phone","email","url","currency","number","boolean","date-local","date"]);function Ko(e){return q(function(e){return Mo.has(e)}(e)),Mo.get(e)||[]}const Wo=d(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:o}=a;d<o;d+=1){const o=a[d],{template:s,editTemplate:r,typeAttributes:n=[],standardCellLayout:i=!1}=e[o];t.set(o,{template:s,editTemplate:r,typeAttributes:n,standardCellLayout:!0===i,type:"custom"})}}}getAttributesNames(e){if(q(this.isValidType(e)),!this.isCustomType(e))return Mo.get(e)||[];return this.privateCustomTypes.get(e).typeAttributes||[]}getType(e){const{privateCustomTypes:t}=this;return t.get===Map.prototype.get&&t.get(e)||Vo.get(e)}getCustomTypeEditTemplate(e){const t=this.privateCustomTypes.get(e);return t?t.editTemplate:void 0}isValidType(e){return this.privateCustomTypes.has(e)||Mo.has(e)}isEditableType(e){if(Do.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 V.ENABLE_TREE_GRID_CUSTOM_TYPES?Eo.has(e)||this.isStandardCellLayoutForCustomType(e):Eo.has(e)}},{tmpl:i,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63});let No={},Fo=[];const Ho=e=>{if(1!==e.length)return!1;const{startRow:t,endRow:a,columns:d}=e[0];return t===a&&1===d.length},Bo=(e,t)=>{const a=e>t;return{startRowIndex:a?t:e,endRowIndex:a?e:t}},jo=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),o=d&&d.parentElement;t=o?.dataset?.rowKeyValue,a=d?.dataset?.colKeyValue}return[t,a]},Oo=({state:e,startDragCell:t,draggingCell:a,isFinished:d,rangeSelectedChange:o,types:s})=>{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:o,endRowIndex:s}=Bo(t,a);return`${o}_${s}_${d[0].fieldName}_${d[d.length-1].fieldName}`})(b);let h=Fo.length?[...Fo]:[];if(Ho([b])){const e=b.id;h=h.filter(t=>t.id!==e)}h.push(b),e.rangeSelection=h,es(e,s),d&&(Fo=h),o?.(h,d)},Po=({event:e,dt:t,rangeSelectedChange:a})=>{const{toElement:d,ctrlKey:o,shiftKey:s}=e,{state:r,_privateTypes:n}=t,[i,l]=jo(d),c=Zd(r,i,l);if(!c)return;if(o&&(e.preventDefault(),e.stopPropagation()),((e,t)=>{if(e||t||(Fo=[]),t){const e=Fo.length?[...Fo]:[];e.pop(),Fo=e}})(o,s),s)return void Oo({state:r,startDragCell:No,draggingCell:c,isFinished:!0,rangeSelectedChange:a,types:n});No=c;let u=c;const b=he(window,"mousemove"),h=he(window,"mouseup");b.pipe(ke(e=>{const{toElement:t}=e,[a,d]=jo(t);return u=Zd(r,a,d),{startDragCell:c,draggingCell:u}}),pe(h)).subscribe({next:e=>{Oo({state:r,startDragCell:e.startDragCell,draggingCell:e.draggingCell,isFinished:!1,rangeSelectedChange:a,types:n})},complete(){Oo({state:r,startDragCell:c,draggingCell:u,isFinished:!0,rangeSelectedChange:a,types:n})}})},Uo=(e,t,a)=>{const{startRow:d,endRow:o,columns:s}=e;if(!(-1!==s.findIndex(e=>e.fieldName===a.fieldName)))return!1;const{startRowIndex:r,endRowIndex:n}=Bo(d,o);return t>=r&&t<=n},qo=(e,{rowIndex:t,col:a})=>{const{matchCellRangeTop:d,matchCellRangeLeft:o,matchCellRangeBottom:s,matchCellRangeRight:r}=((e,{rowIndex:t,col:a})=>e.reduce((e,d)=>{if(!Uo(d,t,a))return e;const{startRow:o,endRow:s,columns:r}=d,{startRowIndex:n,endRowIndex:i}=Bo(o,s),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=Ho(e);let i="";const l={[w.selected]:!n,[w.top]:!n&&d,[w.left]:!n&&o,[w.bottom]:!n&&s,[w.right]:!n&&r};for(const e in l)l[e]&&(i+=`${e} `);return i},Qo="kdds-cell-edit",Yo="kdds-has-error",Xo="kdds-is-edited",Go="cell",Zo="kdds-tree__item";function Jo(e,t){if(Md(e)){const{fieldName:a}=e;if(a)return t[a]}return e}function es(e,t,a){const{columns:d,data:o,keyField:s,maxRowSelection:r,renderModeInline:n,rowHeight:i,virtualize:l,expandedRowKeys:c}=e,{privateCustomTypes:u}=t,b=W(),{length:h}=d,k=ho(e),p=k?uo(e):1,m=k?io:lo;let g,v;const f={};for(let e=0;e<h;e+=1){const a=d[e],{colKeyValue:o,type:s}=a,r=`${Gd}-${o}`,n={cellKeyValue:r,colIndex:e,colKeyValue:o,focused:!1,key:o,rowIndex:-1,rowKeyValue:Gd};f[r]=n,!g&&a.isScopeCol&&t.isValidType(s)&&(g=a),"tree"===s&&void 0===v&&(v=yo(a))}const y=[],_=[];e.checkboxCells=[],e.indexes=f,e.lookupCells=[],e.shownUrlCells=y,e.rows=_,o.forEach((o,w)=>{const C=o[s],A=Q(C)?`row-${w}`:C;e.indexes[A]={rowIndex:w};const T=!!e.selectedRowsKeys[A],R=!!T&&"true",z=w+1,L=g?o[g.fieldName]:void 0,I=Array(h),$={ariaRowIndex:w+2,ariaSelected:e.hideCheckboxColumn?null:R,cells:I,classnames:"kdds-hint-parent"+(T?" kdds-is-selected":""),inputType:m,isSelected:T,isDisabled:!T&&k&&p===r,key:A,rowIndex:w,rowNumber:z,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(v){const e=!!Jo(v.hasChildren,o);$.hasChildren=e,$.isExpanded=e?`${!!Jo(v.isExpanded,o)}`:void 0,$.level=Jo(v.level,o)||1,$.posInSet=Jo(v.posInSet,o)||1,$.setSize=Jo(v.setSize,o)||1}f[A]=$,_.push($);for(let s=0;s<h;s+=1){const r=d[s],{colKeyValue:i,isScopeCol:l,label:c,type:h,typeAttributes:p}=r,m=`${A}-${i}`,g=p?p.subType:void 0,v="tree"===h;let _;_=V.ENABLE_TREE_GRID_CUSTOM_TYPES?u&&u.get(v?g:h):u&&u.get(h);const C=!!_&&_.standardCellLayout,T=!!r.displayReadOnlyIcon,R=!!Jo(r.editable,o),S=R&&t.isEditableType(h),M=t.isValidType(h),E=h===ro,D=h===no,K=void 0!==_,W=K&&!C,N=K&&C,F=M&&!l,H=M&&l,B=h===x,j={ariaReadOnly:!R,cellKeyValue:m,class:"",colIndex:s,colKeyValue:i,columnSubType:g,columnType:h,dataLabel:c,displayReadOnlyIcon:T,displayValue:o.displayValue||"",describedBy:null,editable:R,hasError:void 0,hasTreeData:v,isCheckbox:E,isCustom:K,isCustomBareLayout:W,isCustomStandardLayout:N,isDataType:F,isDataTypeScope:H,isEditable:S,isRTL:b,isSortingMenu:D,rowIndex:w,rowKeyValue:A,rowNumber:z,scopeColValue:L,style:"",tabIndex:-1,value:void 0,wrapText:void 0,wrapTextMaxLines:0,isRowExpand:B};if(f[m]=j,I[s]=j,!r.internal){let e,a;if(g)e=V.ENABLE_TREE_GRID_CUSTOM_TYPES?t.getAttributesNames(g):Ko(g),a=_o(r);else{const d=t.getType(h);e=d&&d.typeAttributes,a=yo(r)}const d=e?e.length:0;for(let t=0;t<d;t+=1){const d=a[e[t]];j[`typeAttribute${t}`]=Jo(d,o)}const s=xo(r),n=Object.keys(s);for(let e=0;e<n.length;e+=1){const t=n[e],a=s[t];j[t]=Jo(a,o)}v&&(j.typeAttribute21=$.hasChildren,j.typeAttribute22="true"===$.isExpanded)}e.indexes[$.key][i]=[w,s],I[s]=j,n&&Io(e,j,k,a),as(e,w,s,o),j.showUrlLink&&y.push(j)}}),e.hasCalledUpdateRowsAndCells=!0}function ts(e,t){if(!e.hasCalledUpdateRowsAndCells)return void es(e,t);const{data:a,rows:d}=e;for(let t=0;t<d.length;t+=1){const o=a[t];for(let a=0;a<d[t].cells.length;a+=1)as(e,t,a,o)}}function as(e,t,a,d){const{renderModeRoleBased:o,rangeSelection:s}=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:o,title:s}=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:s,messages:o,alternativeText:le(so.rowLevelErrorAssistiveText,t||"",r)}}(c,h.scopeColValue));let C=Jo(xo(b).class,d)||"";h.hasTreeData&&!C&&(C+=(C.length?" ":"")+Zo),(h.displayReadOnlyIcon||h.editable)&&(C+=(C.length?" ":"")+Qo),_&&(C+=(C.length?" ":"")+Yo),void 0!==y&&(C+=(C.length?" ":"")+Xo,h.describedBy="unsaved-cell-notification"),o&&(C+=(C.length?" ":"")+Go),s.length>0&&s.some(e=>Uo(e,t,b))&&(C+=qo(s,{col:b,rowIndex:t})),h.class=C,h.style=ds(h,b,o,h.style),h.isInlined&&(function(e){if(e.isEditable?(e.editIconAssistiveText=`${Ro.edit} ${e.dataLabel}${e.hasError?` ${Ro.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:o,columnType:s,hasTreeData:r,wrapText:n}=e;if(n){t+=(t.length?" ":"")+"kdds-cell-wrap",a+="kdds-hyphenate";const{wrapTextMaxLines:o}=e;o?(a+=" kdds-line-clamp",d=`--kwc-lineClamp: ${o}`):d="overflow-wrap: anywhere;"}else a+="kdds-truncate";!e.isRTL||"url"!==s&&"email"!==s&&"phone"!==s||(a+=" ltr-content-in-rtl");let i="kdds-grid";"right"===o||"currency"===s||"number"===s||"percent"===s?i+=" kdds-grid_align-end":r||o&&"left"!==o&&("center"===o||"right"===o)||(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?Ro.true:Ro.false;else if(e.isCurrency)e.currencyValue=N({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},be);else if(e.isDateLocal)e.dateLocalValue=F({value:t,day:e.typeAttribute0||"numeric",month:e.typeAttribute1||"short",year:e.typeAttribute2||"numeric",timeZone:"UTC"},ce);else if(e.isDateTime)e.dateTimeValue=F({value:ue(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},ce);else if(e.isEmail){let a="";const d=t?t.trim():"",o=!!d;o&&(a=Ro.emailLabel),e.emailIconAssistiveText=a,e.emailLabel=d,e.showEmailLink=o}else if(e.isLocation)e.locationValue=H(t);else if(e.isNumber)e.numberValue=N({value:t,minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},be);else if(e.isPercent)e.percentValue=N({value:t,formatStyle:"percent",minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},be);else if(e.isPhone){let a="",d="";const o=j(t);o&&(a=B(t),d=`tel:${t}`),e.phoneLabel=a,e.phoneLink=d,e.showPhoneLink=o}else if(e.isText){const{typeAttribute0:a}=e,d=!!a&&"string"==typeof t&&""!==t;e.ignoreRTL=e.isRTL&&O(t),e.shouldFormatText=d,e.textParts=d?P(t,!0):[],e.textValue="object"==typeof t?"":t}else if(e.isURL){let a,d,o="",s="",r="",n="";const i=null!=t&&""!==t;if(i){const{typeAttribute0:i,typeAttribute2:l}=e;a=zo,d=t=>{e._handleUrlAnchorClick(t)},s=U(t),o=null!=i&&""!==i?i:s,r=e.typeAttribute1||"_self",n=""===l?"":l||t}e._handleUrlAnchorClick=a,e.handleUrlAnchorClick=d,e.showUrlLink=i,e.urlLabel=o,e.urlLink=s,e.urlTarget=r,e.urlTooltip=n}}(h,x))}function ds(e,t,a,d=""){let o=d;if(o&&!o.endsWith(";")&&(o+=";"),!o&&e.isCustomBareLayout&&(o="padding: 0;"),a){const{columnWidth:e}=t;e>0&&(o+=`width:${e}px;`)}return o}function os(e){const{columns:t}=e;e.rows.forEach(e=>{e.cells.forEach((a,d)=>{const o=t[d],s=Jo(xo(o).style,e)||"";a.style=ds(a,o,!0,s)})})}function ss(e){e.renderModeRoleBased&&e.rows&&e.rows.forEach(e=>{e.cells.forEach(e=>{const t="string"==typeof(a=e.class)?{__proto__:Rd,[a]:!0}:Object.assign({__proto__:Rd},a);var a;t.add("cell"),e.class=t.toString()})})}const rs={tableHeight:{observerProp:"_heightObserver",callback:Xd,targetRefs:["scrollerY","tableElement"]},width:{observerProp:"_widthObserver",callback:function(){const{_columnWidthManager:e,state:t,widthsData:a,template:d,validRefs:o}=this;e.adjustColumnsSizeAfterResize(this,t.columns,a),this._recalculateHeaderHeight=!0,t.renderModeRoleBased&&os(t);const s=Kd(d,o);t.tableWrapperWidth=s?.offsetWidth,t.shouldResetHeights=!0},targetRefs:["widthObserver","scrollerX"]}};class ns{constructor(e,t){this._connected=!1;const{callback:a,targetRefs:d}=rs[t],o=a.bind(e);if(this._resizeObserver=new se(()=>{const{refs:t,template:a}=e;this._connected&&qd(a,t)&&o()}),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 is(e,t){const{observerProp:a,targetRefs:d}=rs[t],o=e[a];if(o){if(!o.isConnected()&&e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];o.observe(a)}}else e[a]=new ns(e,t)}function ls(e){const t=Object.keys(rs),{length:a}=t;for(let d=0;d<a;d+=1){const{observerProp:a}=rs[t[d]];e[a]&&e[a].disconnect()}}function cs(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:o,initialWidth:s}=d;o&&isFinite(o)?(a.totalFixedWidth+=o,a.totalFixedColumns+=1):d.isResized?(a.totalResizedWidth+=d.columnWidth,a.totalResizedColumns+=1):s&&isFinite(s)?(a.totalResizedWidth+=s,a.totalResizedColumns+=1):a.totalFlexibleColumns+=1}return a}function us(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 bs(e){let t=0;for(let a=0,{length:d}=e;a<d;a+=1)t+=e[a];return t}function hs(e,t,a){return Math.max(e-t,a)}function ks(e,t,a){return Math.min(e+t,a)}class ps{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=cs(this.columnWidthData,t),o=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 s=this.distributeWidthFromRatios(o,t,d),r=bs(s);return o>r?this.redistributeExtraWidth(o,s,t):o<r&&this.redistributeDeficitWidth(o,s,t),{columnWidths:s}}getRatios(e,t){const{length:a}=e,d=Array(a);for(let o=0;o<a;o+=1)d[o]=100*e[o]/t;return d}calculateColumnWidthRatios(e,t,a){const{wrapTextMaxLines:d}=a,o=e.getDataCellWidths();for(let e=0,{length:a}=o;e<a;e+=1){const a=t[e];if(a)if(a.wrapText){const t=o[e];o[e]=t/d}else{const{fixedWidth:t}=a;t&&isFinite(t)&&(o[e]=t)}}this.setColumnWidthRatios(e,o,a)}setColumnWidthRatios(e,t,a){this.columnWidthRatios=[];const d=e.getTableElementWidth();if(d>0){const{totalFixedWidth:o,totalResizedWidth:s}=a;if(0===t.length){const t=e.getHeaderCellWidths();if(t.length>0){const e=t.reduce((e,t)=>e+=t,0)-o-s;this.columnWidthRatios=this.getRatios(t,e)}}else{const e=t.reduce((e,t)=>e+=t,0),a=Math.min(d,e)-o-s;this.columnWidthRatios=this.getRatios(t,a)}}}resetColumnWidthsDistribution(){this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}distributeWidthFromRatios(e,t,a){const d=[];for(let o=0;o<t.length;o+=1){const s=us(t[o])||this.getColumnWidthFromRatio(e,a,o);d[o]=s}return d}getColumnWidthFromRatio(e,t,a){const{totalFixedWidth:d,totalResizedWidth:o,minColumnWidth:s,maxColumnWidth:r}=t,n=this.columnWidthRatios[a],i=e-d-o,l=Math.floor(i*n/100)+20,{colsWithMinWidth:c,colsWithMaxWidth:u}=this.columnWidthsDistribution;l<s+Math.ceil(.5*s)&&c.push(a);return l>r-Math.ceil(.5*r)&&u.push(a),Vd(l,s,r)}redistributeExtraWidth(e,t,a){const{colsWithMinWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=cs(this.columnWidthData,a),{maxColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=bs(t),c=0,u=0,b=0;if(o>0){c=e-l,b=o,u=Math.floor(c/b);for(let e=0;e<o;e+=1){const a=d[e],o=t[a],s=ks(o,u,r);l+=s-o,t[a]=s}}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],o=t[e];if(!us(d)){const a=ks(o,u,r);l+=a-o,t[e]=a}}}}redistributeDeficitWidth(e,t,a){const{colsWithMaxWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=cs(this.columnWidthData,a),{minColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=bs(t),c=e-l,u=0,b=0;if(o>0){u=o,b=Math.floor(Math.abs(c)/u);for(let e=0,{length:a}=d;e<a;e+=1){const a=d[e],o=t[a],s=hs(o,b,r);l-=o-s,t[a]=s}}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 o=a[d],s=t[d];if(!e.includes(d)&&!us(o)){const e=hs(s,b,r);l-=s-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=cs(this.widthsData,t),d=function(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s}=t,r=o*s+a+d;return 0===t.totalFlexibleColumns?r:Math.max(r,e)}(e.getAvailableWidthFromDom(),a),o=this.getFlexibleColumnWidth(a,d),s=[];for(let e=0;e<t.length;e+=1){const a=us(t[e])||o;s[e]=a}return{columnWidths:s}}getFlexibleColumnWidth(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s,maxColumnWidth:r}=e,n=t-a-d,i=Math.floor(n/o),l=Math.max(i,s);return Math.min(r,l)}}const gs="auto",vs="fixed";function fs(e,t,a){const{columnWidths:d}=a,{length:o}=e;if(d.length!==o)return;let s=0;const r=W();for(let a=0;a<o;a+=1){const o=e[a],n=d[a];t.columnWidths[a]=n,o.columnWidth=n,o.style=n?`width: ${n}px;`:"",r&&(o.offset=s),s+=n}t.tableWidth=s}class ys{constructor(e){this.columnWidthMode=vs,this.isResizingUpdateQueued=!1,this.isAutoResizingUpdateQueued=!1;const t=e.minColumnWidth||jd.minColumnWidth,a=e.maxColumnWidth||jd.maxColumnWidth,d=new ms(t,a),o=new ps(t,a);this.widthStrategies={[vs]:d,[gs]:o}}get columnWidthStrategy(){return this.widthStrategies[this.columnWidthMode]}set minColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].minColumnWidth=e}}set maxColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].maxColumnWidth=e}}set wrapTextMaxLines(e){this.widthStrategies[gs].wrapTextMaxLines=e}shouldFireResizeEvent(e,t){return this.columnWidthMode===vs&&e.columnWidths.length!==t.length}adjustColumnsSize(e,t,a,d){const{columnWidthStrategy:o,isAutoResizingUpdateQueued:s,isResizingUpdateQueued:r}=this;if(r){let r;r=this.shouldResizeWithUpdate(e,t,d)?o.getAdjustedColumnWidths(this.getDatatableInterface(e,t),a,s):{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===gs&&(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===oo)return e}return-1}(e);if(-1!==a){const{columns:d}=e,o=d[a],s=function(e){const t=String(e.rows.length+e.rowNumberOffset).length;return Math.max(10*t+12,40)}(e);o.initialWidth!==s&&(o.initialWidth=Math.max(s,o.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===gs&&(this.isAutoResizingUpdateQueued=!0);for(let t=0;t<e.length;t+=1){const a=e[t];us(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)||qd(e,t)}getDatatableInterface(e,t){return{getAvailableWidthFromDom:()=>Kd(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 _s(e){e.stopPropagation();const{action:t,rowKeyValue:a}=e.detail,d=to(this.state,a);this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(t),row:o(d)}}))}function xs(e){e.stopPropagation();const{actionsProviderFunction:t,doneCallback:a,rowKeyValue:d,saveContainerPosition:s}=e.detail,r=to(this.state,d);s(this.getViewableRect()),t(o(r),a)}function ws(e){e.stopPropagation();const{state:t}=this,{colKeyValue:a,rowKeyValue:d}=e.detail,s=to(t,d),r=wo(t,a),n=this._rawColumns[r];this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(n.typeAttributes),row:o(s)}}))}const Cs="selectAllRows",As="deselectAllRows",Ts="rowSelect",Rs="rowDeselect";function zs(e){e.stopPropagation(),function(e){const{maxRowSelection:t,rows:a}=e,d={};for(let e=0,{length:o}=a;e<o;e+=1){const o=a[e];void 0===t||e<t?(d[o.key]=!0,Ps(o,!0)):(o.isDisabled=!0,Ps(o,!1))}e.selectedRowsKeys=d}(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:Cs})}function Ls(e){e.stopPropagation(),Ms(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:As})}function Is(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d}=e,{start:o,end:s}=Bs(e,t,a),r=e.maxRowSelection||d.length;let n,i=o;for(;i<=s&&!n;)Vs(e,d[i].key),n=uo(e)>=r,i+=1}(t,d&&Ns(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:Ts,value:a})}function $s(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d,selectedRowsKeys:o}=e,{start:s,end:r}=Bs(e,t,a);for(let t=s;t<=r;t+=1){const a=d[t];Ps(a,!1),o[a.key]=!1,uo(e)===e.maxRowSelection-1&&Ds(e)}}(t,d&&Ns(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:Rs,value:a})}function Ss(){Hs(this.state)}function Ms(e){const{rows:t}=e;for(let e=0,{length:a}=t;e<a;e+=1){const a=t[e];a.isDisabled=!1,Ps(a,!1)}e.selectedRowsKeys={}}function Vs(e,t){const a=eo(e,t),d=uo(e),o=e.maxRowSelection||e.rows.length;Ps(a,!0);let{selectedRowsKeys:s}=e;const{singleRowSelectionMode:r}=e;if(o>1||1===o&&r===io)s[a.key]||(s[a.key]=!0,d+1===o&&Es(e));else{if(1===d){Ps(eo(e,Object.keys(s)[0]),!1),s={},e.selectedRowsKeys=s}s[a.key]=!0}}function Es(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 Ds(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 Ks(e,t){if(Array.isArray(t)){const{maxRowSelection:a}=e,d=uo(e);let o=function(e,t){const a=[],{rows:d}=e;if(d.length){const{indexes:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]&&a.push(o)}}return a}(e,t);o.length>a&&(o=o.slice(0,a));const s=function(e){const t={};for(let a=0,{length:d}=e;a<d;a+=1)t[e[a]]=!0;return t}(o),r=function(e,t){const a=[],{selectedRowsKeys:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]||a.push(o)}return a}(e,o),n=function(e,t){const a=[],{selectedRowsKeys:d}=e,o=Object.keys(d);for(let e=0,{length:s}=o;e<s;e+=1){const s=o[e];d[s]&&!t[s]&&a.push(s)}return a}(e,s);!function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ps(eo(e,t[a]),!0)}(e,r),function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ps(eo(e,t[a]),!1)}(e,n),e.selectedRowsKeys=s;const{length:i}=o;i===a&&ho(e)?Es(e):i<a&&d===a&&Ds(e)}else Ms(e)}function Ws(e,t){const a={};for(let d=0,{length:o}=e;d<o;d+=1){a[e[d][t]]=!0}return a}function Ns(e){const{lastSelectedRowKey:t}=e;return void 0!==t&&void 0!==eo(e,t)?t:void 0}function Fs(e,t){const a=ho(e),d=a?io:lo,{rows:o}=e;let s,r=!1;e.renderModeInline&&!e.hideCheckboxColumn&&(r=!0,s=e.showRowNumberColumn?1:0);for(let n=0,{length:i}=o;n<i;n+=1){const i=o[n];i.inputType=d,i.isDisabled=co(e,i.key),r&&Io(e,i.cells[s],a,t)}}function Hs(e){const t=e.columns||{};for(let a=0;a<t.length;a+=1){const d=t[a];if(d.type===ro){const{maxRowSelection:o,rows:{length:s}}=e,r=o&&o<s?o:s,n=uo(e),i=Object.assign({},d);return i.bulkSelection=n?n===r?"all":"some":"none",i.isBulkSelectionDisabled=0===o||0===s,void(t[a]=i)}}}function Bs(e,t,a){const d=t===Gd?0:Jd(e,t),o=Jd(e,a);return{start:Math.min(d,o),end:Math.max(d,o)}}function js(e,t,a){const d=Zd(e,t,a);d&&(d.ariaSelected="true")}function Os(e,t,a){const d=Zd(e,t,a);d&&(d.ariaSelected=!1)}function Ps(e,t){e.ariaSelected=t,e.classnames="kdds-hint-parent"+(t?" kdds-is-selected":""),e.isSelected=t}const Us=new Set(["action","boolean","button","button-icon","date-local","rowNumber"]),qs={clipText:M.clipText,wrapText:M.wrapText};function Qs(e){if(function(e){Us.has(e.type)?e.wrapText=!1:e.wrapText=re(e.wrapText)}(e),e.hideDefaultActions||Us.has(e.type))return[];const t=e.wrapText||!1,{clipText:a,wrapText:d}=qs;return[{label:d,title:d,checked:t,name:"wrapText"},{label:a,title:a,checked:!t,name:"clipText"}]}function Ys(e,t,a){const{name:d}=t,o="wrapText"===d;if(o||"clipText"===d){const{state:t}=e,d=Co(t,a),s=t.columns[d];s.wrapText!==o&&(t.shouldResetHeights=!0,s.wrapText=o,function(e,t){const a=Co(e,t);if(-1===a)return;const{columns:d}=e,o=d[a],{internalActions:s}=o.actions;for(let e=0;e<s.length;e+=1){const t=s[e],{name:a}=t;"wrapText"===a?t.checked=o.wrapText:"clipText"===a&&(t.checked=!o.wrapText)}(function(e,t){const{data:a,rows:d}=e;for(let o=0;o<d.length;o+=1)as(e,o,t,a[o])})(e,a),o.actions=Object.assign({},o.actions)}(t,a))}e._recalculateHeaderHeight=!0}function Xs(e){e.stopPropagation();const{action:t,actionType:a,colKeyValue:d}=e.detail;"customer"!==a&&Ys(this,t,d),function(e,t,a){const d=wo(e.state,a),s=e.columns[d];e.dispatchEvent(new CustomEvent("headeraction",{detail:{action:o(t),columnDefinition:o(s)}}))}(this,t,d)}function Gs(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 Zs(){this._actionsMinHeightStyle=""}function Js(e,t,a){e.dispatchEvent(new CustomEvent("privatetogglecell",{bubbles:!0,composed:!0,cancelable:!0,detail:{name:t,nextState:!a}}))}function er(e){const{firstVisibleIndex:t}=e,a=Math.max(t-e.bufferSize,0),d=[0],o=e.offsets[a];if(d[a]=o,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=o+d}}function tr(e,t,a,d){const o={start:a[0].rowIndex,end:a[a.length-1].rowIndex+1};let s,r=0;const n=function(e,t){let a=0,d=e.length-1;for(;a<=d;){const o=Math.floor((a+d)/2),s=e[o].start<=t,r=e[o+1]&&e[o+1].start<=t;if(s&&!r)return o;s?a=o+1:d=o-1}return-1}(t.offsetRanges,o.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===o.start&&e++,t.heightCache[d.key]=e,or(t,d,n,e),r+=e-t.rowHeight,s=d.rowIndex+2}}}t.tableHeight+=r,function(e,t,a,d,o){const{offsets:s,offsetRanges:r}=e,n=r[t],i=r[t+1],l=n&&sr(n,a),c=i&&sr(a,i);if(c&&o)for(let e=d;e<=i.end;e++)s[e]=s[e]+o;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++)s[e]=s[e]+o}}(t,n,o,s,r),function(e,t,a,d){const o=d?.scrollerY||e.querySelector(".kdds-scrollable_y");o.scrollTop=t.offsets[t.firstVisibleIndex]+t.firstRowOffset;const s=!!a[0].rowIndex;a.forEach((e,a)=>{let d=t.offsets[e.rowIndex];s&&!a&&(d+=1),e.style=`position:absolute;top:${d}px;`})}(e,t,a,d)}function ar(e,t){const{offsetRanges:a,offsets:d,rowHeight:o}=e;let s=0,r=a.length-1;for(;s<=r;){const n=Math.floor((s+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 dr(e,i,t);if(p){const a=t-u,d=Math.floor(a/o);return e.firstRowOffset=a%o,i.end+d}t<c?r=n-1:s=n+1}return-1}function dr(e,t,a){let{start:d,end:o}=t;const{offsets:s}=e;for(;d<=o;){const t=Math.floor((d+o)/2),r=s[t]<=a,n=s[t+1]&&s[t+1]<=a;if(r&&!n)return e.firstRowOffset=a-s[t],t;r?d=t+1:o=t-1}return-1}function or(e,t,a,d){const o=e.offsetRanges[a];let s=e.offsets[t.rowIndex];if(!s&&(s=0,o)){s=e.offsets[o.end]+(t.rowIndex-o.end)*e.rowHeight,e.offsets[t.rowIndex]=s}e.offsets[t.rowIndex+1]=s+d}function sr(e,t){return e.start<=t.start&&t.start<=e.end||e.start<=t.end&&t.end<=e.end}const rr="NAVIGATION",nr="ACTION",ir=W()?{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 lr(e){e.stopPropagation(),function(e,t){const{refs:a,state:d,template:o}=e;switch(t.detail.keyCode){case 37:ur(d,o,a,t);break;case 39:br(d,o,a,t);break;case 38:hr(d,o,a,t);break;case 40:kr(d,o,a,t);break;case 13:case 32:pr(d,o,a,t);break;case 27:mr(d,o,a,t);break;case 9:gr(d,o,a,t)}}(this,e)}function cr(e){X(e.target)&&function(e,t){const{refs:a,state:d,template:o}=e,{activeCell:{colKeyValue:s,rowKeyValue:r}}=d,{keyCode:n,shiftKey:i}=t,l={detail:{colKeyValue:s,rowKeyValue:r,keyCode:n,shiftKey:i},preventDefault:()=>{},stopPropagation:()=>{}};switch(t.keyCode){case 37:t.preventDefault(),ur(d,o,a,l);break;case 39:t.preventDefault(),br(d,o,a,l);break;case 38:t.preventDefault(),hr(d,o,a,l);break;case 40:t.preventDefault(),kr(d,o,a,l);break;case 13:case 32:t.preventDefault(),pr(d,o,a,l);break;case 27:l.detail.keyEvent=t,mr(d,o,a,l);break;case 9:gr(d,o,a,l)}}(this,e)}function ur(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Zd(e,o,s);if(0===r&&function(e){return e.keyboardMode===rr&&e.treeColumn}(e))Br(e,t),function(e){e.treeColumn&&e.keyboardMode===rr&&(e.rowMode=!0)}(e),Pr(e,t,a);else{const d=function(e,t){return W()?dn(e.columns.length,t):on(t)}(e,r);if(void 0===d)return;Br(e,t),e.activeCell=Zd(e,o,e.columns[d].colKeyValue),Hr(e,t,a,ir.LEFT)}}function br(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Zd(e,o,s),n=function(e,t){return W()?on(t):dn(e.columns.length,t)}(e,r);void 0!==n&&(Br(e,t),e.activeCell=Zd(e,o,e.columns[n].colKeyValue),Hr(e,t,a,ir.RIGHT))}function hr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Zd(e,o,s),i=function(e,t){return-1===t?void 0:t-1}(0,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),Br(e,t),e.activeCell=Zd(e,-1===i?Gd:e.rows[i].key,s),Hr(e,t,a,ir.USE_CURRENT))}function kr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Zd(e,o,s),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(),Br(e,t),e.activeCell=Zd(e,-1===i?Gd:e.rows[i].key,s),Hr(e,t,a,ir.USE_CURRENT))}function pr(e,t,a,d){if(e.keyboardMode===rr){e.keyboardMode=nr;const{keyCode:a,keyEvent:o}=d.detail,{rowIndex:s,colIndex:r}=e.activeCell;o&&o.preventDefault();const n={action:void 0};32===a?n.action="space":13===a&&(n.action="enter"),Tr(e,t,n),Jr(e,s,r,-1)}}function mr(e,t,a,d){e.keyboardMode===nr&&(d.detail.keyEvent.stopPropagation(),e.keyboardMode=rr,Tr(e,t),Hr(e,t,a,ir.RESET))}function gr(e,t,a,d){d.preventDefault(),d.stopPropagation();const{detail:o}=d,s=o.shiftKey?"BACKWARD":"FORWARD";const r=function(e,t){const{rowIndex:a,colIndex:d}=e.activeCell,{nextRowIndex:o,nextColIndex:s}=yr(e,t);if(-1===a&&0===d&&-1!==o&&0!==s||-1!==a&&-1===o&&0===s)return!0;return!1}(e,s);if(e.keyboardMode===nr)if(!1===r){const{keyEvent:d}=o;d&&d.preventDefault(),"BACKWARD"===s?fr(e,t,a):vr(e,t,a)}else e.keyboardMode=rr,Tr(e,t),e.isExitingActionMode=!0;else e.isExitingActionMode=!0}function vr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=yr(e,"FORWARD");Br(e,t),e.activeCell=Zd(e,-1===o?Gd:e.rows[o].key,e.columns[d].colKeyValue),Hr(e,t,a,ir.TAB_FORWARD,{action:"tab"})}function fr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=yr(e,"BACKWARD");Br(e,t),e.activeCell=Zd(e,-1===o?Gd:e.rows[o].key,e.columns[d].colKeyValue),Hr(e,t,a,ir.TAB_BACKWARD,{action:"tab"})}function yr(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:sn(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:rn(e,t),nextColIndex:0}}(e,a,d)}function _r(e,t){const{refs:a,state:d,template:o}=e,{localName:s}=t.target;if(s&&-1!==s.indexOf("tr")&&nn(d))switch(t.detail.keyCode){case 37:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n,rowLevel:i}=o.detail;if(r&&n)Js(e,s,n);else if(i>1){const{treeColumn:e}=t;if(e){const{colKeyValue:o}=e,{rowIndex:r}=Zd(t,s,o),n=function(e,t,a){const d=a-1,{rows:o}=e;for(let e=d;e>=0;e--)if(o[e].level===t-1)return e;return-1}(t,i,r);-1!==n&&(Ur(t,a),t.activeCell=Zd(t,t.rows[n].key,o),Pr(t,a,d))}}}(e,d,o,a,t);break;case 39:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n}=o.detail;r&&!n?Js(e,s,n):(Ur(t,a),ln(t),Hr(t,a,d,ir.USE_CURRENT))}(e,d,o,a,t);break;case 38:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Zd(e,o,d),n=sn(e,s);-1!==n&&(Ur(e,t),e.activeCell=Zd(e,e.rows[n].key,d),Pr(e,t,a))}}(d,o,a,t);break;case 40:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Zd(e,o,d),n=rn(e,s);-1!==n&&(Ur(e,t),e.activeCell=Zd(e,e.rows[n].key,d),Pr(e,t,a))}}(d,o,a,t)}}function xr(e){e.activeCell=function(e){const{columns:t}=e,{length:a}=t;if(a){let d=0,o=!1;for(let e=0;e<a;e+=1)if(d=e,!0!==t[e].internal){o=!0;break}o||(d=0);const{rows:s}=e;return Zd(e,s.length>0?s[0].key:Gd,t[d].colKeyValue)}}(e)}function wr(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="${Sd(e)}"]`}(a)}`);return d||void 0}(e,a.rowKeyValue,a.colKeyValue):void 0}function Cr(e,t,a){const{activeCell:d}=e;if(d){const{rowKeyValue:e,colKeyValue:o}=d;return e.toString()===t.toString()&&o===a}return!1}function Ar(e){const{activeCell:t}=e;if(e.hasReceivedFocus)t&&Rr(e)||(t&&e.cellToFocusNext?function(e){const{rowIndex:t,colIndex:a}=e.cellToFocusNext,{columns:d,rows:o}=e,{length:s}=o;let r=t;r>s-1&&(r=s-1);const{length:n}=d;let i=a;i>n-1&&(i=n-1);const l=function(e,t,a){const{columns:d,rows:o}=e;if(o.length>t&&d.length&&d.length>a){const s=-1===t?Gd:o[t].key,{colKeyValue:r}=d[a];return e.indexes[`${s}-${r}`]}}(e,r,i);l?e.activeCell=l:xr(e);e.keyboardMode=rr}(e):xr(e));else{if(t&&Rr(e)){const{rowIndex:a,colIndex:d}=t;Jr(e,a,d,-1)}xr(e)}}function Tr(e,t,a){const d=zr(wr(t,e));if(d){const{keyboardMode:t}=e;"function"==typeof d.setMode?d.setMode(t,a):Fr(e.activeCell,d,t,a)}}function Rr(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 zr(e){return e?e.firstElementChild:void 0}function Lr(e){return e.closest('[role="gridcell"],[role="columnheader"],[role="rowheader"]')||void 0}function Ir(e){return e.currentInputIndex>0}function $r(e){const{actionableElementsCount:t}=e;return t>1&&e.currentInputIndex<t-1}function Sr(e,t,a){const{rowKeyValue:d,colKeyValue:o}=e,{keyCode:s,shiftKey:r}=a;t.dispatchEvent(new CustomEvent("privatecellkeydown",{bubbles:!0,composed:!0,cancelable:!0,detail:{rowKeyValue:d,colKeyValue:o,keyCode:s,shiftKey:r,keyEvent:a}}))}function Mr(e){const{state:t}=this,a=t.renderModeInline?Lr(e.target):void 0;if(a){const e=zr(a);!function(e,t){const{rowKeyValue:a,colKeyValue:d}=e;t.dispatchEvent(new CustomEvent("privatecellfocusedbyclick",{bubbles:!0,composed:!0,detail:{rowKeyValue:a,colKeyValue:d}}))}(Zd(t,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue),e)}}function Vr(e){const{state:t}=this,a=t.renderModeInline?Lr(e.target):void 0;if(a){const e=zr(a),t=Zd(this.state,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue);t.keyboardMode===nr&&Nr(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")?Lr(e.target):void 0;if(void 0===d)return;const o=zr(d),s=Zd(t,d.parentElement.dataset.rowKeyValue,d.dataset.colKeyValue),{keyboardMode:r}=s,{keyCode:n,shiftKey:i}=e;if(r===nr){let t=n!==Y.shift;n===Y.left?function(e){return W()?$r(e):Ir(e)}(s)&&(e.preventDefault(),W()?Kr(s,o):Wr(s,o),t=!1):n===Y.right?function(e){return W()?Ir(e):$r(e)}(s)&&(e.preventDefault(),W()?Wr(s,o):Kr(s,o),t=!1):n===Y.tab&&(i?Ir(s)&&(e.preventDefault(),Wr(s,o),t=!1):$r(s)&&(e.preventDefault(),Kr(s,o),t=!1)),t&&Sr(s,o,e)}else r===rr&&(n!==Y.left&&n!==Y.right&&n!==Y.up&&n!==Y.down&&n!==Y.enter||Sr(s,o,e))}function Dr(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 Kr(e,t){Nr(e,t,e.currentInputIndex+1)}function Wr(e,t){Nr(e,t,e.currentInputIndex-1)}function Nr(e,t,a){const d=Dr(t),{length:o}=d;e.actionableElementsCount=o,o&&(a>0&&a<o?(d[a].focus(),e.currentInputIndex=a):(d[0].focus(),e.currentInputIndex=0))}function Fr(e,t,a,d){const o=d||{action:"none"};if(e.keyboardMode=a,a===nr){e.internalTabIndex=0,setTimeout(()=>{Nr(e,t,e.currentInputIndex)},0);const a=Dr(t),{length:d}=a;if("tab"===o.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(o.action)&&e.click()}}else e.internalTabIndex=-1}function Hr(e,t,a,d,o,s=!0){const{keyboardMode:r}=e,{rowIndex:n,colIndex:i}=e.activeCell;let l,c=wr(t,e);e.activeCell.hasFocus=!(o&&bn(e)),Jr(e,n,i),s&&!c&&bn(e)?(!function(e,t,a,d){const{firstVisibleIndex:o,bufferSize:s,renderedRowCount:r,rowHeight:n}=e;let i=d*n;if(o>d){const e=r-2*s;i=Math.max(i-e*n,0)}const l=Wd(t,a);l.scrollTop=i,ar(e,i)}(e,t,a,n),l=function(e,t){return new Promise(a=>{const d=Date.now(),o=setInterval(()=>{(wr(e,t)||d-Date.now()>1e3)&&(clearInterval(o),a())},0)})}(t,e)):l=Promise.resolve();const u=c&&c.parentElement.dataset.rowKeyValue;return l.then(()=>new Promise(a=>{setTimeout(()=>{if(c&&ao(e,u,c.dataset.colKeyValue)||(c=wr(t,e)),c){const t=zr(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}=Dr(t);e.currentInputIndex=a?a-1:0}else 1!==a&&2!==a||(e.currentInputIndex=0);d===nr&&e.keyboardMode===nr&&Nr(e,t,e.currentInputIndex)}(a,c,d,r)),"function"==typeof t.addFocusStyles&&t.addFocusStyles()),c.classList.add(C),c.focus({preventScroll:!s}),t&&("function"==typeof t.setMode?t.setMode(r,o):Fr(a,t,r,o))}a()},0)}))}function Br(e,t){const{activeCell:a}=e;if(a){const{rowIndex:d,colIndex:o}=a;e.activeCell.hasFocus=!1;let s=wr(t,e);const r=s&&s.parentElement.dataset.rowKeyValue;setTimeout(()=>{if(s&&ao(e,r,s.dataset.colKeyValue)||(s=wr(t,e)),s){const{activeElement:t}=document,a=zr(s);a&&("function"==typeof a.removeFocusStyles?(t===a&&a.blur(),a.removeFocusStyles(!0)):(e.activeCell.internalTabIndex=-1,s.contains(t)&&s.blur())),s.classList.remove(C)}},0),Jr(e,d,o,-1)}}function jr(e,t){const{activeCell:a}=e;if(a&&!e.cellToFocusNext&&qr(e,t)){const{length:t}=e.rows,d=t-1,{length:o}=e.columns;let{rowIndex:s,colIndex:r}=a;r=0,s===d&&(s=d,r=o?o-1:0),e.cellToFocusNext={rowIndex:s,colIndex:r}}}function Or(e){e.activeCell&&e.cellToFocusNext&&Rr(e)&&(e.cellToFocusNext=null)}function Pr(e,t,a){const{rowIndex:d}=e.activeCell,o=un(t,e);en(e,d),setTimeout(()=>{o.focus({preventScroll:!0}),function(e,t,a,d){const o=Wd(t,a),s=o.parentElement.getBoundingClientRect(),r=d.getBoundingClientRect();r.top<s.top+80?o.scrollTop-=20:r.bottom>s.bottom-80&&(o.scrollTop+=20);ar(e,o.scrollTop)}(e,t,a,o)},0)}function Ur(e,t){const{activeCell:a}=e;a&&(setTimeout(()=>{const a=un(t,e);document.activeElement===a&&a.blur()},0),en(e,a.rowIndex,-1))}function qr(e,t){return e.cellClicked||Qr(t)}function Qr(e){const t=G();for(let a=0,{length:d}=t;a<d;a+=1)if(e.contains(t[a]))return!0;return!1}function Yr(e){const{state:t}=this;if(t.hasReceivedFocus=!0,t.isExitingActionMode=!1,Qr(e.currentTarget)&&X(e.target)){if(t.activeCell&&!t.rowMode){t.activeCell.hasFocus=!0;const e=wr(this.template,t);if(e){const a=zr(e);a&&("function"==typeof a.addFocusStyles&&a.addFocusStyles(),e.tabIndex=0),e.classList.add(C),this._suppressScroll?this._suppressScroll=!1:Xr(t,this.template,this.refs,e)}}!function(e){e.cellClicked=!1}(t)}}function Xr(e,t,a,d){if(e.activeCell?.colIndex===e.columns?.length-1){const e=Kd(t,a);e.scrollLeft=e.scrollWidth}else{const e=a?.outerContainer||t.querySelector("div.dt-outer-container"),o=d.getBoundingClientRect(),s=e.getBoundingClientRect();(o.left<s.left||o.right>s.right)&&d.scrollIntoView({block:"nearest",inline:"nearest"})}}function Gr(e){const{state:t}=this,{currentTarget:a,relatedTarget:d}=e,o=d&&a.contains(d);if((!d||d&&!o||d&&o&&t.isExitingActionMode)&&t.activeCell&&!t.rowMode){const e=wr(this.template,t);if(e){const t=zr(e);t&&"function"==typeof t.removeFocusStyles&&t.removeFocusStyles(),e.classList.remove(C)}}}function Zr(e){e.cellClicked=!0}function Jr(e,t,a,d=0){cn(t)?e.columns[a].tabIndex=d:e.rows[t].cells[a].tabIndex=d}function en(e,t,a=0){cn(t)||(e.rows[t].tabIndex=a)}function tn(e,t=0){e.activeCell&&!Rr(e)&&Ar(e),hn(e,t)}function an(e,t=0){e.activeCell&&!Rr(e)&&Ar(e),function(e,t=0){const{activeCell:a}=e;a&&nn(e)&&en(e,a.rowIndex,t)}(e,t)}function dn(e,t){return e>t+1?t+1:void 0}function on(e){return e>0?e-1:void 0}function sn(e,t){const{length:a}=e.rows;return-1===t?a-1:t-1}function rn(e,t){const{length:a}=e.rows;return t+1<a?t+1:-1}function nn(e){return e.keyboardMode===rr&&!0===e.rowMode}function ln(e){e.rowMode=!1}function cn(e){return-1===e}function un(e,t){let a;const{activeCell:d}=t;return d&&(a=e.querySelector(Ed(d.rowKeyValue))),a||void 0}function bn(e){const{activeCell:t}=e;return!!t&&ao(e,t.rowKeyValue,t.colKeyValue)}function hn(e,t=0){const{activeCell:a}=e;a&&!nn(e)&&Jr(e,a.rowIndex,a.colIndex,t)}const kn='[data-iedit-panel="true"]';function pn(e){_n(this,Lr(e.target))}function mn(e){Cn(this);const{reason:t,rowKeyValue:a,colKeyValue:d}=e.detail;yn(this,t,a,d),this._draftValues=this.draftValues}function gn(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 o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&js(e,s,t)}}(t);else{const{inlineEdit:e}=t;zn(this.state),js(t,e.rowKeyValue,e.colKeyValue)}}function vn(e){const{state:t}=this,{inlineEdit:a}=t,{isPanelVisible:d}=a;if(!d)return;let o=0;const{target:s}=e;if(s.classList.contains("kdds-scrollable_y")){const e=s.scrollTop;null==this._lastScrollY?this._lastScrollY=e:s.scrollHeight>s.offsetHeight&&(o=Math.abs(this._lastScrollY-e))}else{const e=s.scrollLeft;null==this._lastScrollX?this._lastScrollX=e:s.scrollWidth>s.offsetWidth&&(o=Math.abs(this._lastScrollX-e))}if(o>5){const{rowKeyValue:e,colKeyValue:t}=a;this._lastScrollX=null,this._lastScrollY=null,Cn(this),yn(this,"lost-focus",e,t)}else r=this,requestAnimationFrame(()=>{const{_positionRelationship:e}=r;e&&e.reposition()});var r}function fn(e){const{inlineEdit:t}=e.state;t.isPanelVisible&&yn(e,"lost-focus",t.rowKeyValue,t.colKeyValue)}function yn(e,t,a,d){const{state:o,template:s,refs:r}=e,{inlineEdit:n}=o;if(ao(o,a,d)&&"edit-canceled"!==t&&!("lost-focus"===t&&n.massEditEnabled)){const t=s.querySelector(kn),r=t.validity.valid,n=Zd(o,a,d).value,{isMassEditChecked:i,value:l}=t;if(r&&(l!==n||i)){const t={[a]:{[d]:l}};if(i){const e=bo(o);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 o=d[e];Object.prototype.hasOwnProperty.call(a,o)||(a[o]={}),Object.assign(a[o],t[o])}}(o,t),function(e,t){e.dispatchEvent(new CustomEvent("cellchange",{detail:{draftValues:Tn(e.state,t)}}))}(e,t),es(o,e._privateTypes)}}"lost-focus"!==t&&("tab-pressed-next"===t?vr(o,s,r):"tab-pressed-prev"===t?fr(o,s,r):Hr(o,s,r,ir.USE_CURRENT)),zn(o),Os(o,a,d),n.isPanelVisible=!1}function _n(e,t){!function(e,t){requestAnimationFrame(()=>{Cn(e),e._positionRelationship=ge(e,{target:t,element:()=>e.template.querySelector(kn).getPositionedElement(),autoFlip:!0,align:{horizontal:ve.Left,vertical:ve.Top},targetAlign:{horizontal:ve.Left,vertical:ve.Top}})})}(e,t);const{state:a,template:d,_privateTypes:o}=e,{inlineEdit:s}=a;s.isPanelVisible&&yn(e,"lost-focus",s.rowKeyValue,s.colKeyValue);const{rowKeyValue:r}=t.parentElement.dataset,{colKeyValue:n}=t.dataset,i=Zd(a,r,n),{colIndex:l}=i,c=a.columns[l];s.isPanelVisible=!0,s.rowKeyValue=r,s.colKeyValue=n,s.columnDef=c,s.editedValue=i.value,s.customErrorValidationMessage=i.customErrorValidationMessage,s.massEditSelectedRows=uo(a),s.massEditEnabled=s.massEditSelectedRows>1&&function(e,t){return!!e.selectedRowsKeys[t]}(a,r),s.cellRect=t.getBoundingClientRect();const{typeAttributes:u}=c||{};u&&(s.resolvedTypeAttributes=function(e,t,a,d,o){const s=e.columns[a],r=o&&d.getType(s.type),n=r&&r.typeAttributes;if(n){const a={},{length:d}=n,s=d?to(e,t):void 0;if(s)for(let e=0;e<d;e+=1){const t=n[e],d=o[t];d&&(a[t]=Rn(s,d))}return a}return o}(a,r,l,o,u)),js(a,r,n),setTimeout(()=>{const t=d.querySelector("kd-primitive-datatable-iedit-panel");t.isEditableValid?t.focus():yn(e,"edit-canceled",s.rowKeyValue,s.colKeyValue)},0)}function xn(e){const{state:t}=e;if(t.data&&t.data.length>0)if(function(e){const{activeCell:t}=e;return!!t&&t.editable}(t))wn(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:o}=d;if(o>0){const{rows:e}=t;for(let a=0;a<e.length;a+=1){const s=e[a],{key:r}=s;for(let e=0;e<o;e+=1){const{colKeyValue:a}=d[e],o=Zd(t,r,a);if(o&&o.editable)return o}}}return}(e);a&&(t.activeCell=a,wn(e))}}async function wn(e){const{state:t,template:a,refs:d}=e;await Hr(t,a,d,ir.USE_CURRENT);_n(e,wr(a,t))}function Cn(e){const{_positionRelationship:t}=e;t&&(me(t),e._positionRelationship=void 0)}function An(e,t){const{columns:a,keyField:d}=e,o=Array.isArray(t)?t:[],s={};for(let e=0;e<o.length;e+=1){const t=o[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 o=a[e];if(o.columnKey===d||!o.columnKey&&o.fieldName===d){n[o.colKeyValue]=t[d];break}}}delete n[d],s[t[d]]=n}e.inlineEdit.dirtyValues=s}function Tn(e,t){const{columns:a,keyField:d}=e,o=[],s=Object.keys(t);for(let r=0,{length:n}=s;r<n;r+=1){const n=s[r],i=t[n],l=Object.keys(i),{length:c}=l;if(c){const t={};for(let d=0;d<c;d+=1){const o=l[d],s=Co(e,o);if(-1!==s){const{name:e}=a[s];t[e]=i[o]}}t[d]=n,o.push(t)}}return o}function Rn(e,t){let a={};if(!Md(t))return void 0===t?a:t;if(Array.isArray(t))return t.map(t=>Rn(e,t));const d=Object.keys(t);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o],r=t[s];if(void 0!==r)if("fieldName"===s)a=e[r];else if(Md(r)){const{fieldName:t}=r;a[s]=t?e[t]:Rn(e,r)}else a[s]=r}return a}function zn(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&Os(e,s,t)}}function Ln(e,t){e.renderModeRoleBased?e.virtualize=ne(t,{fallbackValue:"",validValues:["vertical"]}):e.virtualize=""}class In{constructor(){this.threshold=305,this.wrapperHeight=0,this.previousCache={renderedRowCount:0,totalRowCount:0,firstRowKey:""}}configure(e,t,a){const{rowHeight:d,bufferSize:o}=a;Ln(e,a.virtualize),function(e,t){e.enableViewportRendering=re(t)}(e,a.viewportRendering),(e.virtualize||e.enableViewportRendering)&&this.initializeResizeObserver(e,t);const s=void 0!==o?o:5;e.bufferSize=Fd("bufferSize",s,"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:o,rowHeight:s,heightCache:r}=e,n=Math.max(t-a,0);let i=t-a+d;if(r[o[t]&&o[t].key]){let e=t,d=0,n=o[e]&&r[o[e].key];for(;n&&d<this.wrapperHeight;)d+=n,e+=1,n=o[e]&&r[o[e].key];if(d>=this.wrapperHeight)i=e+a;else{i=e+Math.ceil((this.wrapperHeight-d)/s)+a}}return d===o.length&&i<=o.length-a&&(i=d),{firstIndex:n,lastIndex:i}}updateRenderedRows(e,t){const{rows:a}=e,d=a.length,o=t?Math.min(t,d):d;e.enableViewportRendering?e.renderedRowCount<o&&(e.renderedRowCount=o,this.previousCache.renderedRowCount=o):(e.renderedRowCount=o,this.previousCache.renderedRowCount=o),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 se(()=>{if(this._resizeObserverConnected){this.updateWrapperHeight(t);const a=this.getRowCountWithBuffer(e);er(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 Hd(e)<=this.threshold}hasDataChanged(e){return e.length>0&&this.previousCache.firstRowKey!==e[0].key}hasWrapperHeight(){return!!this.wrapperHeight}}function $n(e){const{columns:t,defaultSortDirection:a,sortedBy:d,sortedDirection:o}=e,s=Array.isArray(d);for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];if(r.sortable&&s&&d.includes(r.name)&&o){const e=d.indexOf(r.name),t=o[e];r.sorted=e+1,r.sortAriaLabel="desc"===t?"descending":"ascending",r.sortedDirection=t}else r.sortable&&!s&&d===r.name?(r.sorted=!0,r.sortAriaLabel="desc"===o?"descending":"ascending",r.sortedDirection=o):(r.sorted=!1,r.sortAriaLabel=r.sortable?"other":null,r.sortedDirection=a)}}const{PrivateLookupItemPickedEvent:Sn}=E,Mn={ariaLiveNavigationMode:M.ariaLiveNavigationMode,ariaLiveActionMode:M.ariaLiveActionMode},{setContext:Vn,assertContext:En}=J;class Dn extends fe{get columnWidthsMode(){return this.widthsData.columnWidthsMode}set columnWidthsMode(e){const{widthsData:t}=this,a=ne(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:o,keyField:s}=e,r=new Set(a);d&&r.size!==o.length&&o.forEach(e=>{r.add(e[s])}),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:o}=a,s=Bd(e),r=function(e,t){const a=Bd(e),d=Bd(t);try{return!(!a.length||!d.length)&&JSON.stringify(a[0])===JSON.stringify(d[0])}catch(e){return!1}}(d,s);a.data=s,!r&&s.length&&o?.length&&this._columnWidthManager.handleDataChange(o),"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,s):(a.heightCache={},a.offsets=[0],a.offsetRanges=[{start:0,end:0}],a.firstVisibleIndex=0,a.tableHeight=a.rowHeight*s.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),$n(t)}get draftValues(){return Tn(e=this.state,e.inlineEdit.dirtyValues);var e}set draftValues(e){const{state:t}=this;this._draftValues=e,An(t,e),this.isConnected&&"string"==typeof t.keyField&&this.updateRowsAndCells(),hn(t)}get enableInfiniteLoading(){return this.state.enableInfiniteLoading}set enableInfiniteLoading(e){const{state:t}=this;!function(e,t){e.enableInfiniteLoading=re(t)}(t,e),this.isConnected&&Xd.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&&ts(t)}get hideCheckboxColumn(){return this.state.hideCheckboxColumn}set hideCheckboxColumn(e){const{_rawColumns:t,state:a}=this,d=re(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,fo({state:a,rawColumns:t,types:this._privateTypes,expandable:this._expandable}))}get showActionsMenu(){return this.state.showActionsMenu}set showActionsMenu(e){const{state:t}=this,a=re(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=re(e)}get wrapTableHeader(){return this.state.wrapTableHeader}set wrapTableHeader(e){const t=this.state.wrapTableHeader,a=ne(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=re(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),An(t,this._draftValues),this.isConnected&&this.updateRows()}get loadMoreOffset(){return Qd(this.state)}set loadMoreOffset(e){!function(e,t){Nd(t),e.loadMoreOffset=Nd(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=Fd("maxColumnWidth",a,"non-negative",jd.maxColumnWidth),Pd(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=uo(t);!function(e,t,a){const d=bo(e);if(Ms(e),Nd(t)){const o=e.maxRowSelection,s=Number(t);e.maxRowSelection=s;const r=Math.min(d.length,s);for(let t=0;t<r;t+=1)Vs(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)})(o,s)&&(Fs(e,a),Hs(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){ne(t,{fallbackValue:lo,validValues:[io,lo]})!==e.singleRowSelectionMode&&(e.singleRowSelectionMode=t,Fs(e,a),Hs(e))}(t,e,this._datatableId)}get minColumnWidth(){return this.widthsData.minColumnWidth}set minColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.minColumnWidth=Fd("minColumnWidth",a,"non-negative",jd.minColumnWidth),Pd(e,t)}(this.state.columns,t,e),this._columnWidthManager.minColumnWidth=t.minColumnWidth}get renderConfig(){return this._renderConfig}set renderConfig(e){Md(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=ne(e,{fallbackValue:"default",validValues:["default","inline","role-based","role-based-inline"]}),o=function(e){return Id.test(e)}(d),s=function(e){return $d.test(e)}(d);this._renderMode=d,a.hasRenderedFirstTime=!1,a.hasRenderedTable=!1,a.renderModeInline=o,a.renderModeRoleBased=s,this.isConnected&&this.updateRowsAndCells(),t&&Ln(a,t.virtualize),ss(a)}get resizeColumnDisabled(){return this.widthsData.resizeColumnDisabled}set resizeColumnDisabled(e){!function(e,t){e.resizeColumnDisabled=re(t)}(this.widthsData,e)}get resizeStep(){return this.widthsData.resizeStep}set resizeStep(e){!function(e,t){e.resizeStep=Fd("resizeStep",t,"non-negative",jd.resizeStep)}(this.widthsData,e)}get rowNumberOffset(){return this.state.rowNumberOffset}set rowNumberOffset(e){const{state:t}=this;!function(e,t){e.rowNumberOffset=Fd("rowNumberOffset",t,"non-negative",0)}(t,e),this._columnWidthManager.handleRowNumberOffsetChange(t,this.widthsData)}get selectedRows(){return bo(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=re(e),this.isConnected?this.updateColumns(a):a&&(t.hadTreeDataTypePreviously=!1,t.treeColumn=void 0,fo({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),$n(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),$n(t)}get suppressBottomBar(){return this._suppressBottomBar}set suppressBottomBar(e){this._suppressBottomBar=re(e)}get wrapTextMaxLines(){return this.state.wrapTextMaxLines}set wrapTextMaxLines(e){const{state:t}=this;!function(e,t){e.wrapTextMaxLines=Fd("wrapTextMaxLines",t,"positive",void 0),e.shouldResetHeights=!0}(t,e),this._columnWidthManager.wrapTextMaxLines=t.wrapTextMaxLines,this.isConnected&&ts(t)}focus(){const{state:e}=this;Ar(e),Hr(e,this.template,this.refs)}getSelectedRows(){const{state:e}=this;let t;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),t=ie?o(e.data):e.data;const{rows:a}=e,d=[];for(let e=0,{length:o}=a;e<o;e+=1){a[e].isSelected&&d.push(t[e])}return d}openInlineEdit(){this.state.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),xn(this)}scrollToTop(){const e=Wd(this.template,this.validRefs);e&&(e.scrollTop=0)}get gridContainer(){return ie?Dd(Wd(this.template,this.validRefs)):null}get computedTableContainerClass(){return K({"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 K({"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&&Ho(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:o}=e;a+=`counter-reset: row-number ${Math.max(d-o,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===rr;return K({"kdds-hide":!e,"kdds-assistive-text":e})}get computedAriaLiveClassForActionMode(){const e=this.state.keyboardMode===nr;return K({"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 ho(this.state)}get showStatusBar(){return!this._suppressBottomBar&&(e=this.state,Z(e.inlineEdit.dirtyValues));var e}get tableError(){return this.state.errors.table}get i18n(){return Mn}get tableNoData(){return 0===this.renderedRows.length}constructor(){super(),this.state=Ao(),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=D("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=Td,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=ws,this.handlePrivateDatatableEditCell=pn,this.handleHeaderActionMenuClosed=Zs,this.handleHeaderActionMenuOpening=Gs,this.handleHeaderActionTriggered=Xs,this.handleKeydownOnCell=lr,this.handleLoadDynamicActions=xs,this.handlePrimitiveDatatableCellClick=Mr,this.handlePrimitiveDatatableCellFocus=Vr,this.handlePrimitiveDatatableCellKeydown=Er,this.handleRowSelectionChange=Ss,this.handleRowActionTriggered=_s,this.handleTableKeydown=cr,this.handleTableFocusIn=Yr,this.handleMassCheckboxChange=gn,this.handleRowExpand=e=>{e.stopPropagation(),e.preventDefault();const{onExpand:t}=this._expandable,{detail:a={}}=e,{rowKeyValue:d,nextState:o}=a;t&&t(e),!o&&this.state.expandedRowKeys.has(d)?this.state.expandedRowKeys.delete(d):this.state.expandedRowKeys.add(d),this.updateRowsAndCells()},this._columnWidthManager=new ys(this.widthsData),this._privateTypes=new Wo(this.constructor.customTypes),this._hasSetInitialCustomTypes=!!this._privateTypes.privateCustomTypes.size,this._renderManager=new In,ie&&(this.getWrapperHeight=()=>{const e=Kd(this.template,this.refs),t=this.state.hideTableHeader?0:parseFloat(getComputedStyle(e).paddingTop)||32;return e.offsetHeight-t}),Vn(this)}connectedCallback(){super.connectedCallback();const{_customerSelectedRows:e,state:t,template:a}=this;if(this.addEventListener("rowselection",e=>{this.handleRowSelectionChange(e)}),ie&&(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);uo(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?ta:Td;return t!==this._renderedTemplate&&(this._shouldResetCustomTypes=!this._privateTypes.privateCustomTypes.size,ls(this),this._renderManager.disconnectResizeObserver(),this._renderedTemplate=t),t}renderedCallback(){const{_columnWidthManager:e,gridContainer:t,refs:a,state:d,template:o,widthsData:s}=this;if(!this._hasSetInitialCustomTypes&&(this.setCustomTypes(),this._hasSetInitialCustomTypes=!0,this._privateTypes.privateCustomTypes.size&&"auto"===s.columnWidthsMode))return;ee(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(s,t);e.adjustColumnsSize(o,a,t,s),d.shouldResetHeights=!0,d.renderModeRoleBased&&os(d),r&&this.fireOnResize(!1),this._recalculateHeaderHeight=!0,this.updateTableAndScrollerStyleOnRender()}if(function(e){const t=Object.keys(rs),{length:a}=t;for(let d=0;d<a;d+=1)is(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=wr(o,d),t=zr(e);!r&&e&&t&&!t.classList.contains(C)&&Hr(d,o,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||o.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(),ae(o)&&(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=Wd(this.template,this.refs),t=Dd(e);t&&(t.style=this.computedTableStyle),e&&(e.style=this.computedScrollerYStyle)}disconnectedCallback(){ls(this),this._renderManager.disconnectResizeObserver()}handleTableCellMouseDown(e){const{rangeSelectedChange:t,suppressMultiRangeSelection:a}=this.rangeSelection||{};!a&&t&&Po({event:e,dt:this,rangeSelectedChange:t})}handleCustomTypesChange(){this._shouldResetCustomTypes?this.setCustomTypes():this._shouldResetCustomTypes=!0}handleKeydownOnDataRow(e){const{state:t}=this;if(t.keyboardMode===rr&&t.rowMode){e.stopPropagation();const{currentTarget:t}=e;_r(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){En(this),vn.call(this,e)}handleVerticalScroll(e){En(this);const{state:t}=this;t.enableInfiniteLoading&&Yd.call(this,e),vn.call(this,e),t.virtualize?t.firstVisibleIndex=ar(this.state,e.target.scrollTop):t.enableViewportRendering&&this._renderManager.handleScroll(t,e)}handleTableCellClick(e){const{target:t}=e;if(X(t)){const e=t,{template:a,state:d}=this;d.hasReceivedFocus=!0;const{rowKeyValue:o}=e.parentElement.dataset,{colKeyValue:s}=e.dataset;if(d.rowMode||!Cr(d,o,s)){const{activeCell:e}=d;e&&d.rowMode&&(ln(d),en(d,e.rowIndex,-1)),this.setActiveCell(o,s)}qr(d,a)||Zr(d),Xr(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&&(Od(t.columns,this.widthsData,a,d),t.renderModeRoleBased&&os(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?Is.call(this,e):"deselectrow"===t?$s.call(this,e):"selectallrows"===t?zs.call(this,e):"deselectallrows"===t&&Ls.call(this,e)}handleCellFocusByClick(e){e.stopPropagation();const{state:t}=this;t.hasReceivedFocus=!0;const{rowKeyValue:a,colKeyValue:d,needsRefocusOnCellElement:o}=e.detail;if(!Cr(t,a,d)){const{activeCell:e}=t;e&&t.rowMode&&(ln(t),en(t,e.rowIndex,-1)),this.setActiveCell(a,d),function(e,t,a){if(a){const a=wr(t,e);a&&a.focus(),setTimeout(()=>{Zr(e)},0)}else qr(e,t)||Zr(e)}(t,this.template,o)}const s=Lr(e.target);Xr(t,this.template,this.refs,s)}handleFalseCellBlur(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,colKeyValue:d}=e.detail;Cr(t,a,d)||this.setActiveCell(a,d),Hr(t,this.template,this.refs)}handleTableFocusOut(e){Gr.call(this,e);const{activeCell:t}=this.state;t&&(t.hasFocus=this._shouldResetFocus)}handleInlineEditFinish(e){En(this),mn.call(this,e)}handleInlineEditSave(e){e.stopPropagation(),e.preventDefault(),fn(this);const{draftValues:t}=this;this.dispatchEvent(new CustomEvent("save",{detail:{draftValues:t}}))}handleInlineEditCancel(e){e.stopPropagation(),e.preventDefault(),fn(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=[],es(t,a)}(this),hn(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(E.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:o}=d,{colKeyValue:s}=o.dataset,{rowKeyValue:r}=o.parentElement.dataset,n=eo(t,r);this.fireInlinedCheckboxSelection(a,n.isSelected,{rowKeyValue:r,colKeyValue:s,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerClick(e){const{state:t}=this,{currentTarget:a}=e,{parentElement:d}=a,{rowKeyValue:o}=d.parentElement.dataset,s=eo(t,o);if(s.isDisabled)return;e.preventDefault();const{colKeyValue:r}=d.dataset,{firstElementChild:n}=a;this.fireInlinedCheckboxSelection(n,s.isSelected,{rowKeyValue:o,colKeyValue:r,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerMouseDown(e){this.state.renderModeInline&&e.shiftKey&&e.preventDefault()}handleInlinedEditButtonClick(e){const{state:t}=this,a=t.renderModeInline?Lr(e.target):void 0;if(a){t.hasReceivedFocus=!0;zr(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={}){ie&&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(){ie&&jr(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),Or(e),function(e,t){let a=!1;const{keyField:d,selectedRowsKeys:o,maxRowSelection:s}=e,{length:r}=t;if(Object.keys(o).length!==r)a=!0,e.selectedRowsKeys=Ws(t,d);else for(let s=0;s<r;s+=1)if(!o[t[s][d]]){a=!0,e.selectedRowsKeys=Ws(t,d);break}if(a){const t=s||e.rows.length;ho(e)&&(r<t?Ds(e):Es(e))}return Hs(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)}))}),Ar(e),e.keyboardMode===rr&&(tn(e),an(e)),ie&&e.activeCell&&e.cellToFocusNext&&Hr(e,this.template,this.refs)}updateColumns(e){fo({state:this.state,rawColumns:e,types:this._privateTypes,expandable:this._expandable}),this.isConnected&&(this.updateColumnsBeforeIndexes(),this.updateRowsAndCells(),this.updateColumnsAfterIndexes())}updateColumnsBeforeIndexes(){const{state:e}=this;ie&&jr(e,this.template),function(e){e.treeColumn?!1!==e.rowMode||e.hadTreeDataTypePreviously||(e.rowMode=!0):e.rowMode=!1}(e),An(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=Qs(a)}}(e)}updateColumnsAfterIndexes(){const{state:e,widthsData:t}=this;Hs(e),this._columnWidthManager.handleRowNumberOffsetChange(e,t),Pd(e.columns,t),Or(e),e.data.length>0&&e.columns.length!==t.columnWidths.length&&Ar(e),e.keyboardMode===rr&&(tn(e),an(e)),ie&&e.activeCell&&e.cellToFocusNext&&Hr(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,es(e,this._privateTypes,this._datatableId)}updateVirtualizedRowHeights(){const{state:e}=this,t=e.virtualize&&this.renderedRows.length;e.shouldResetHeights?(er(e),e.shouldResetHeights=!1):t&&tr(this.template,e,this.renderedRows,this.refs)}setSelectedRows(e){Ks(this.state,e),this.handleRowSelectionChange()}setActiveCell(e,t){const{state:a,template:d}=this,o=Zd(a,e,t);Br(a,d),a.activeCell=o,function(e,t){e.activeCell.hasFocus=!0;const a=wr(t,e);a&&a.classList.add(C)}(a,d),Jr(a,o.rowIndex,o.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(V.ENABLE_TREE_GRID_CUSTOM_TYPES&&"SLOT"===e?.tagName){const t=e.assignedNodes();e=t.length?t[0]:{}}"function"==typeof e.getDataTypes&&(this._privateTypes=new Wo(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=Wd(t,e).getBoundingClientRect(),d=Kd(t,e).getBoundingClientRect();return{left:d.left,right:d.right,top:a.top,bottom:a.bottom}}fixHeaderForSafari(){if(te){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:o}=d,s=o?a.querySelectorAll('[data-inline-type="primitive-cell-checkbox"]'):[];let r;for(let t=0,{length:a}=s;t<a;t+=1){const a=d[t],o=s[t],{firstElementChild:n}=o;if(void 0===r){const{lastElementChild:e}=o,{id:t}=e;r=t.slice(t.lastIndexOf("-"))}n.setAttribute("aria-labelledby",`${a.checkboxLabelId}${r} ${e}`)}}updateLookupCellsLinkInfo(){En(this);const{state:e,template:t}=this,{lookupCells:a}=e,{length:d}=a,o=d?t.querySelectorAll('[data-inline-type="formatted-lookup"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e],{value:s}=t;t._handleLookupAnchorClick=()=>{d.dispatchEvent(new Sn({recordId:s}))},"enable"===d.getAttribute("data-navigation")&&d.removeAttribute("data-navigation"),s&&de(d,{stateType:"standard__recordPage",attributes:{recordId:s,actionName:"view"}}).then(e=>{const{dispatcher:a,url:o}=e,r=!(!a||!o);t.lookupIsNavigable=r,t.lookupLink=o,t._handleLookupAnchorClick=e=>{d.dispatchEvent(new Sn({recordId:s})),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,o=d?t.querySelectorAll('[data-inline-type="formatted-url"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e];oe(d,{url:t.urlLink,target:t.urlTarget}).then(e=>{const{dispatcher:a,url:o}=e;t._handleUrlAnchorClick=e=>{a.call(d,e)},t.urlLink=o})}}}s(Dn,{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 Kn=d(Dn,{tmpl:i,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63}),Wn=e`<div class="kdds-modal__borader-top${0}" part="modal-resize-border"${2}></div>`,Nn=e`<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>`,Fn=e`<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>`,Hn=e`<div class="kdds-modal__borader-bottom${0}" part="modal-resize-border"${2}></div>`,Bn=e`<div class="kdds-modal__borader-right${0}" part="modal-resize-border"${2}></div>`,jn=e`<div class="kdds-modal__borader-left${0}" part="modal-resize-border"${2}></div>`,On={classMap:{"kdds-modal-header__right":!0},key:4},Pn={"kdds-modal-header__search-container":!0},Un={variant:"underlined",placeholder:"请输入搜索内容",prefixIcon:"kdfont-f"},qn={ref:"bodyRef",key:10},Qn={classMap:{"kdds-modal__body-container":!0},key:11},Yn={ref:"footerRef",key:13},Xn={classMap:{"kdds-modal__footer-container":!0},key:14};function Gn(e,t,a,d){const{ncls:o,b:s,sp:i,st:l,c:c,h:u,fr:b}=e,{_m0:h,_m1:k,_m2:p,_m3:m,_m4:g,_m5:v,_m6:f,_m7:y,_m8:_,_m9:x,_m10:w,_m11:C,_m12:A,_m13:T,_m14:R,_m15:z,_m16:L}=d;return[u("div",{className:o(t.computedContainerClass),key:0},[l(Wn,2,[i(0,{on:k||(d._m1={mousedown:s(t.handleTopBorderMouseDown)})},null)]),c("kd-modal-header",n,{ref:"headerRef",props:{label:t.label},key:3,on:p||(d._m2={dblclick:s(t.handleDoubleClick)})},[u("div",On,[u("div",{classMap:Pn,key:5,on:m||(d._m3={mousedown:s(t.handleMousedown)})},[c("kd-input",r,{props:Un,key:6,on:g||(d._m4={change:s(t.handleInputChange)})})]),t.showCloseButton?b(7,[l(Nn,9,[i(0,{on:f||(d._m6={click:s(t.handleCloseClick)}),className:o(t.computedCloseButtonClass)},null)])],0):null])]),c("kd-modal-body",ye,qn,[u("div",Qn,[c("kd-data-table",Kn,{ref:"tableRef",props:{keyField:"id",data:t.data,columns:t.columns,maxRowSelection:"1",columnWidthsMode:"auto",showRowNumberColumn:"true",loading:t.loading},key:12})])]),c("kd-modal-footer",xe,Yn,[u("div",Xn,[c("kd-button",_e,{props:{label:t.cancelBtnLabel,size:"small",variant:"secondary"},key:15,on:y||(d._m7={click:s(t.handleCancelClick)})}),c("kd-button",_e,{props:{label:t.confirmBtnLabel,size:"small"},key:16,on:_||(d._m8={click:s(t.handleConfirmClick)})})]),t.showResizeCorner?l(Fn,18,[i(0,{on:w||(d._m10={mousedown:s(t.handleResizeMouseDown)})},null)]):null]),l(Hn,20,[i(0,{on:A||(d._m12={mousedown:s(t.handleBottomBorderMouseDown)})},null)]),l(Bn,22,[i(0,{on:R||(d._m14={mousedown:s(t.handleRightBorderMouseDown)})},null)]),l(jn,24,[i(0,{on:L||(d._m16={mousedown:s(t.handleLeftBorderMouseDown)})},null)])])]}var Zn=t(Gn);Gn.hasRefs=!0,Gn.stylesheets=[],Gn.stylesheetToken="kwc-1nf7ui7q41o",Gn.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-undefined_recordPickerModal",Te&&Gn.stylesheets.push.apply(Gn.stylesheets,Te),a(Gn);const{promiseApi:Jn}=Ce;class ei extends Ae{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=Jn.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 we(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()}}s(ei,{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 ti=d(ei,{tmpl:Zn,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-",apiVersion:63});export{ti as default};
1
+ import{parseFragment as e,registerTemplate as t,freezeTemplate as a,registerComponent as d,unwrap as o,registerDecorators as s}from"@kdcloudjs/kwc";import r from"./input.js";import n from"./modalHeader.js";import{_ as i}from"../empty_html-CjXB8rB4.js";import{s as l}from"../kddsCommon-CucK_w70.js";import{s as c}from"../kddsUtilsVisibility-BQdWrRzW.js";import{s as u}from"../kddsUtilsMargin-QLmlO60p.js";import{s as b}from"../kddsUtilsHyphenation-DjH4tlai.js";import{s as h}from"../kddsUtilsGrid-CoXx1Bwj.js";import{s as k}from"../kddsUtilsLineClamp-CHvuz7DS.js";import{s as p}from"../kddsUtilsTruncation-BkfKIyC_.js";import{s as m}from"../input-checkbox.kdds-CT6mcwHs.js";import g from"./primitiveDatatableIeditPanel.js";import v from"./primitiveHeaderFactory.js";import f from"./primitiveCellExpand.js";import y from"./primitiveCellCheckbox.js";import{_,D as x,a as w,F as C}from"../primitiveDatatableCell-BRBOc7hR.js";import A from"./primitiveCustomCell.js";import T from"./primitiveTreegridCellToggle.js";import R from"./icon.js";import z from"./primitiveCellFactory.js";import L from"./primitiveCustomRow.js";import I from"./primitiveDatatableNoData.js";import $ from"./primitiveDatatableStatusBar.js";import S from"./primitiveDatatableLoadingIndicator.js";import{b as M}from"../label-CY8Q8HAO.js";import{features as V}from"./features.js";import{EVENTS as E}from"./formattedLookup.js";import{g as D}from"../idGenerator-D2O_IHg9.js";import{o as K,d as W,c as N,C as H,t as F,f as B,H as j,a1 as O,y as P,w as U,D as q,a as Q,k as Y,n as X,m as G,a2 as Z,a3 as J,a4 as ee,z as te,L as ae,K as de}from"../utilsPrivate-ekbvijnB.js";import{hasLinkProvider as oe,getLinkInfo as se,updateRawLinkInfo as re}from"./routingService.js";import{KingdeeResizeObserver as ne}from"./resizeObserver.js";import"../observable-tloG64m6.js";import"../i18n-B98kiI7M.js";import{i as ie}from"../ssr-C2pjZzfv.js";import"../classSet-DY6Qvt6E.js";import{f as le}from"../labelUtils-DAuN2uUV.js";import{b as ce,t as ue}from"../intlFormat-DNT_1eg4.js";import{n as be}from"../NumberFormat-CVAfQTsE.js";import"./configProvider.js";import{f as he,m as ke,t as pe}from"../takeUntil-BqTBLaTv.js";import{stopPositioning as me,startPositioning as ge,Direction as ve}from"./positionLibrary.js";import fe from"./shadowBaseClassPrivate.js";import ye from"./modalBody.js";import _e from"./button.js";import xe from"./modalFooter.js";import{d as we}from"../interacting-iGRv7bnR.js";import{T as Ce}from"../index-ChQWdmu9.esm-pxfeXSzR.js";import Ae from"./modal.js";import"../baseInput-Bgv7mEy2.js";import"../normalize-qdEPAG8z.js";import"../index.esm-DycIHCS9.js";import"../utils-CB_20U-G.js";import"../client-Ddi3i8XR.js";import"./iso8601Utils.js";import"../colorValid-qIPgkqGp.js";import"./modalUtils.js";import"../focus-93ksTIEs.js";import"./tooltipLibrary.js";import"./primitiveBubble.js";import"./ariaObserver.js";import"./overlayManager.js";import"./overlayUtils.js";import"../kddsUtilsPadding-Dct-C7F7.js";import"./primitiveDatatableIeditTypeFactory.js";import"./primitiveDatatableIeditInputWrapper.js";import"./primitiveHeaderActions.js";import"./menuItem.js";import"./menuDivider.js";import"./buttonMenu.js";import"./primitiveResizeHandler.js";import"../input-radio-group.kdds-BVVGUf0e.js";import"./primitiveCellActions.js";import"./primitiveCellButton.js";import"./formattedNumber.js";import"./i18nCldrOptions.js";import"./i18nService.js";import"./formattedDateTime.js";import"./formattedEmail.js";import"./formattedLocation.js";import"./formattedPhone.js";import"./baseFormattedText.js";import"./formattedUrl.js";import"../kddsUtilsPosition-DDHofMns.js";import"./primitiveDatatableTooltip.js";import"./primitiveDatatableTooltipBubble.js";import"./buttonIcon.js";import"./spin.js";import"./utilsInternal.js";import"./privateModal.js";import"./overlay.js";import"./overlayContainer.js";import"./modalBase.js";import"./focusTrap.js";var Te=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host .kdds-modal-header__right":o+" .kdds-modal-header__right")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal-header__close":o+" .kdds-modal-header__close")+d+" {cursor: pointer;color: var(--kdds-c-modal-icon-color, #666);}"+(t?":host .kdds-modal-header__close:hover":o+" .kdds-modal-header__close:hover")+d+" {color: var(--kdds-c-modal-icon-color-hover, #87A9FF);}"+(t?":host .kdds-modal-header__close:active":o+" .kdds-modal-header__close:active")+d+" {color: var(--kdds-c-modal-icon-color-focus, #3761CA);}"+(t?":host .kdds-modal-header__close-slot":o+" .kdds-modal-header__close-slot")+d+" {margin-inline-start: 24px;}"+(t?":host .kdds-modal__footer-container":o+" .kdds-modal__footer-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__footer-container":o+" .kdds-modal__footer-container")+d+">kd-button"+d+" {margin-inline-end: 8px;}"+(t?":host .kdds-modal-container":o+" .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":o+" .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":o+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-border"]'+d+","+o+" .kdds-modal-container__fullscreen"+d+' [part="modal-resize-corner"]'+d+","+o+" .kdds-modal-container__mob"+d+' [part="modal-resize-border"]'+d+","+o+" .kdds-modal-container__mob")+d+' [part="modal-resize-corner"]'+d+" {display: none;}"+(t?":host .kdds-modal-container__mob":o+" .kdds-modal-container__mob")+d+" {max-width: 100vw;max-height: 100vh;}"+(t?":host .kdds-modal-footer__resize":o+" .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":o+" .kdds-modal__border-top"+d+","+o+" .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":o+" .kdds-modal__border-top")+d+" {top: -2px;}"+(t?":host .kdds-modal__border-bottom":o+" .kdds-modal__border-bottom")+d+" {bottom: -2px;}"+(t?":host .kdds-modal__border-left"+d+",\r:host .kdds-modal__border-right":o+" .kdds-modal__border-left"+d+","+o+" .kdds-modal__border-right")+d+" {position: absolute;top: 0;bottom: 0;width: 4px;background: transparent;cursor: w-resize;}"+(t?":host .kdds-modal__border-left":o+" .kdds-modal__border-left")+d+" {left: -2px;}"+(t?":host .kdds-modal__border-right":o+" .kdds-modal__border-right")+d+" {right: -2px;}"+(t?":host .kdds-modal__body-container":o+" .kdds-modal__body-container")+d+" {padding: 0;}"+(t?":host .kdds-modal-header__search-container":o+" .kdds-modal-header__search-container")+d+" {display: flex;align-items: center;justify-content: center;}"+(t?":host .kdds-modal__content":o+" .kdds-modal__content")+d+" {padding: 0;}"+(t?':host([data-rtl="true"]) .kdds-modal__content':o+'[data-rtl="true"] .kdds-modal__content')+d+" {direction: rtl;}"}];var Re=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host {":o+" {")+"display: inline-flex;}"+(t?":host [part~='boundary']":o+" [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']":o+" [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":o+" svg")+d+" {width: 100%;height: 100%;}"+(t?":host {":o+" {")+"vertical-align: middle;}"+(t?":host([size='xxx-small']),:host \r.kdds-icon_xxx-small":o+"[size='xxx-small'],"+o+" \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":o+"[size='xx-small'],"+o+" \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":o+"[size='x-small'],"+o+" \r.kdds-icon_x-small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-5);}"+(t?":host([size='small']),:host \r.kdds-icon_small":o+"[size='small'],"+o+" \r.kdds-icon_small")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-7);}"+(t?":host([size='large']),:host \r.kdds-icon_large":o+"[size='large'],"+o+" \r.kdds-icon_large")+d+" {--kdds-c-icon-sizing: var(--kdds-g-sizing-10);}"+(t?":host([variant='warning']) {":o+"[variant='warning'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-warning-1);}"+(t?":host([variant='success']) {":o+"[variant='success'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-success-1);}"+(t?":host([variant='error']) {":o+"[variant='error'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-error-1);}"+(t?":host([variant='light']) {":o+"[variant='light'] {")+"--kdds-c-icon-color-foreground: var(--kdds-g-color-neutral-base-70);}"+(t?":host [part='boundary']":o+" [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":o+" .kdds-input__icon")+d+" [part='boundary']"+d+" {border-style: none;}"+(t?":host [part='icon']":o+" [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":o+"[icon-name*='action'],"+o+" \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":o+" .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":o+" .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":o+" .kdds-icon-text-default.kdds-is-disabled")+d+" {fill: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-assistive-text":o+" .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":o+" .kdds-icon_disabled")+d+" {background-color: currentcolor;}"+(t?":host .kdds-input__icon":o+" .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":o+"[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']":o+"[data-input-pill-close-primicon] [part='icon']")+d+" {--kds-c-icon-color-foreground: none;}"+(t?":host([data-input-pill-close-primicon]) [part='icon']:hover":o+"[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":o+" .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 ze=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return["*",d,",\r*",d,"::before,\r*",d,"::after {box-sizing: border-box;}",t?":host [part~='button']":o+" [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":o+" [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":o+" [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":o+" [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":o+" [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":o+" [part~='button']:disabled",d," *",d," {pointer-events: none;}",t?":host [part='button'][aria-pressed='true']":o+" [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']":o+" [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":o+" [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']":o+"[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']":o+"[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']":o+"[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":o+"[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']":o+"[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']":o+"[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']":o+"[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":o+"[variant='brand'] [part~='button']:disabled"+d+","+o+"[variant='success'] [part~='button']:disabled"+d+","+o+"[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']":o+"[variant='base'] [part~='button']"+d+","+o+"[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":o+"[variant='base'] [part~='button']:disabled"+d+","+o+"[variant='text'] [part~='button']:disabled",d," {--kds-c-button-color-background: transparent;--kds-c-button-color-border: transparent;}",t?":host([stretch]) [part~='button']":o+"[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']":o+"[variant='brand'] [part~='button']"+d+","+o+"[variant='brand-outline'] [part~='button']"+d+","+o+"[variant='inverse'] [part~='button']"+d+","+o+"[variant='success'] [part~='button']"+d+","+o+"[variant='destructive'] [part~='button']"+d+","+o+"[variant='destructive-text'] [part~='button']",d," {justify-content: center;}",t?":host [part~='start']":o+" [part~='start']",d," {display: inline-flex;padding-inline-end: 0;}",t?":host [part~='end']":o+" [part~='end']",d," {display: inline-flex;padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .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":o+" .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']":o+" [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":o+" [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":o+" [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":o+" [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":o+" [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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[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']":o+"[variant='bare'][size='large'] [part~='button-icon']"+d+","+o+"[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']":o+" [part='end']",d," {padding-inline-start: 0;}",t?":host .kdds-assistive-text":o+" .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']":o+"[size='large'] [part~='button-icon']"+d+","+o+"[size='medium'] [part~='button-icon']",d," {height: var(--kdds-c-buttonicon-sizing-height, var(--kdds-g-sizing-9));}"].join("")}];var Le=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return(t?":host .kdds-row-number":o+" .kdds-row-number")+d+"::after {content: counter(row-number);}"+(t?":host .kdds-text-body_small":o+" .kdds-text-body_small")+d+" {font-size: var(--kdds-g-font-scale-neg-1);}"+(t?":host .kdds-button_icon-small":o+" .kdds-button_icon-small")+d+" {width: var(--kdds-g-sizing-4);height: var(--kdds-g-sizing-4);}"+(t?":host .kdds-cell-edit__button":o+" .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":o+" .kdds-cell-edit__button:focus")+d+" .kdds-button__icon_edit"+d+" {opacity: 1;}"+(t?":host .kdds-cell-edit__button:disabled":o+" .kdds-cell-edit__button:disabled")+d+" {color: var(--kdds-g-color-disabled-1);}"+(t?":host .kdds-button__icon_hint":o+" .kdds-button__icon_hint")+d+" {fill: var(--kdds-s-button-color, var(--kdds-g-color-on-surface-1));}"+(t?":host .kdds-button__icon_lock":o+" .kdds-button__icon_lock")+d+" {opacity: 1;}"+(t?":host .kdds-button__icon_edit":o+" .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":o+" .kdds-button__icon_edit:hover"+d+","+o+" \r.kdds-button__icon_edit:focus")+d+" {fill: var(--kdds-g-color-on-surface-3);}"+(t?":host [part='button button-icon']":o+" [part='button button-icon']")+d+" {border: none;opacity: 0;}"+(t?":host(:hover) [part='button button-icon']":o+":hover [part='button button-icon']")+d+" {opacity: 1;}"}];var Ie=[function(e,t,a){var d=e?"["+e+"]":"",o=e?"["+e+"-host]":"";return[":focus-visible",d," {outline: 0;}",t?":host [part='datagrid-wrapper']":o+" [part='datagrid-wrapper']",d," {display: flex;flex-direction: column;position: relative;}",t?":host [part='datagrid']":o+" [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']":o+" [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']":o+" [fixed-header='true']",d," [part='datagrid-header']",d," {position: sticky;top: 0;min-height: 2rem;z-index: 1;}",t?":host [part='cell']:hover":o+" [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']":o+" [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":o+" [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']":o+" [role='columnheader']",d," {font-weight: var(--kdds-g-font-weight-7);}",t?":host [role='columnheader'][aria-sort]:hover":o+" [role='columnheader'][aria-sort]:hover",d," {background-color: var(--_kdds-c-datagrid-headercell-color-background-hover, white);}",t?":host [role='columnheader'][aria-selected='true']":o+" [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":o+" [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']":o+" [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']":o+" [data-row-key-value='HEADER']",d," > *:focus",d," {outline: 0;background-color: var(--kdds-g-color-neutral-base-100, white);}",t?":host [part='value']":o+" [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+","+o+" [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']":o+" [part='datagrid-body']",d," [role~='row']:hover",d," {background-color: var(--_kdds-c-datagrid-row-color-background-hover, #f3f2f2);}",t?":host [aria-readonly='true']":o+" [aria-readonly='true']",d," {--_kdds-c-datagrid-cell-color-background-hover: inherit;}",t?":host [aria-readonly='false']":o+" [aria-readonly='false']",d," {--_kdds-c-datagrid-cell-color-background-hover: #fff;}",t?":host .kdds-scrollable_y":o+" .kdds-scrollable_y",d," {-webkit-overflow-scrolling: touch;max-height: 100%;overflow: hidden;overflow-y: auto;}",t?":host .kdds-scrollable_x":o+" .kdds-scrollable_x",d," {-webkit-overflow-scrolling: touch;max-width: 100%;overflow: hidden;overflow-x: auto;}",t?":host .kdds-line-height_reset":o+" .kdds-line-height_reset",d," {line-height: var(--kdds-g-font-lineheight-1);}",t?":host {":o+" {","height: 100%;width: 100%;display: inline;}",t?":host .kdds-table_header-fixed_container":o+" .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":o+" .kdds-rangeselection_active",d," {user-select: none;}",t?":host .kdds-table_header-fixed_container":o+" .kdds-table_header-fixed_container",d,"::before {content: '';display: block;position: relative;width: 100%;}",t?":host .kdds-table":o+" .kdds-table",d," {background-color: var(--kdds-c-datatable-background);font-size: inherit;}",t?":host .kdds-table"+d+" th"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th"+d+","+o+" .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":o+" .kdds-table",d," th",d," {font-weight: var(--kdds-g-font-weight-4);}",t?":host .kdds-table":o+" .kdds-table",d," th:focus",d," {outline: 0;}",t?":host .kdds-table":o+" .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)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+","+o+" .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)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > td"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" > th"+d+","+o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:focus"+d+" > td"+d+","+o+" .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)":o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" > td"+d+","+o+" .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)":o+" .kdds-table:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr.kdds-is-selected:hover"+d+" > td"+d+","+o+" .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)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a"+d+","+o+" .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)":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-is-selected"+d+" a[aria-disabled='true']"+d+","+o+" .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":o+" .kdds-table",d," .kdds-cell-wrap",d," {white-space: pre-line;overflow-wrap: break-word;word-wrap: break-word;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-shrink",d," {width: 1%;}",t?":host .kdds-table"+d+" .kdds-cell-buffer_left"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" .kdds-cell-buffer_left"+d+","+o+" .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":o+" .kdds-table"+d+" .kdds-cell-buffer_right"+d+","+o+" .kdds-table",d," .kdds-cell-buffer--right",d," {padding-inline-end: var(--kdds-g-spacing-5);}",t?":host .kdds-table":o+" .kdds-table",d," tbody",d," tr",d," {counter-increment: row-number;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-row-number",d,"::after {content: counter(row-number);}",t?":host .kdds-table"+d+" th:focus"+d+",\r:host .kdds-table":o+" .kdds-table"+d+" th:focus"+d+","+o+" .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)":o+" .kdds-table:not(.kdds-rangeselection_active)"+d+" [role='gridcell'].kdds-has-focus"+d+","+o+" .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":o+" .kdds-table"+d+" th:focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" th.kdds-has-focus.kdds-cell_action-mode"+d+","+o+" .kdds-table"+d+" [role='gridcell']:focus.kdds-cell_action-mode"+d+","+o+" .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":o+" .kdds-table"+d+" th:active"+d+","+o+" .kdds-table",d," [role='gridcell']:active",d," {box-shadow: none;}",t?":host .kdds-table":o+" .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":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:first-child"+d+","+o+" .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":o+" .kdds-table_cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .kdds-table_cell-buffer"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-table--cell-buffer"+d+" tr"+d+" > th:last-child"+d+","+o+" .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":o+" .kdds-table_bordered"+d+","+o+" .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":o+" .kdds-table_bordered"+d+" thead"+d+" > tr"+d+" + tr"+d+" > th"+d+","+o+" .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":o+" .kdds-table_bordered"+d+" tbody"+d+" td"+d+","+o+" .kdds-table_bordered"+d+" tbody"+d+" th"+d+","+o+" .kdds-table--bordered"+d+" tbody"+d+" td"+d+","+o+" .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":o+" .kdds-table"+d+" > tbody"+d+" > tr"+d+" > td"+d+","+o+" .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":o+" .kdds-table_col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table_col-bordered"+d+" th"+d+" + td"+d+","+o+" .kdds-table_col-bordered"+d+" td"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" td"+d+" + td"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + th"+d+","+o+" .kdds-table--col-bordered"+d+" th"+d+" + td"+d+","+o+" .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":o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .kdds-table_striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > th"+d+","+o+" .kdds-table--striped"+d+" tbody"+d+" tr:nth-of-type(even)"+d+" > td"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" thead"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" tbody"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:nth-child(n)"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:first-child"+d+","+o+" .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":o+" .kdds-table_fixed-layout"+d+" .kdds-cell-shrink:last-child"+d+","+o+" .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(""):[o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(1)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(2)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(3)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(4)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(5)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(6)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(7)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(8)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(9)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(10)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(11)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(12)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(13)",d," .kdds-truncate",d,",",o," .kdds-table_column-1-wrap",d," tbody",d," tr",d," > *:nth-child(14)",d," .kdds-truncate",d,",",o," .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-']":o+" [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-']":o+" [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-']":o+" [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":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th"+d+","+o+" .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":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+","+o+" .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":o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .kdds-table_resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::after,"+o+" .kdds-table--resizable-cols"+d+" thead"+d+" th:last-of-type"+d+" .kdds-resizable__handle"+d+" .kdds-resizable__divider"+d+"::before,"+o+" .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":o+" .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":o+" .kdds-table_joined"+d+" table"+d+","+o+" .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":o+" .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":o+" .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":o+" .kdds-max-medium-table_stacked"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" thead"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked"+d+" th.kdds-truncate"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" th"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked"+d+" tr"+d+" > td:first-child"+d+","+o+" .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)":o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" .kdds-cell-shrink"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table_stacked"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table--stacked"+d+" td"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" thead"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td.kdds-truncate"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th.kdds-truncate"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" th"+d+"::before,"+o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .kdds-max-medium-table--stacked-horizontal"+d+" th"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .kdds-max-medium-table_stacked-horizontal"+d+" tr"+d+" > td:last-child"+d+","+o+" .kdds-max-medium-table--stacked-horizontal"+d+" tr"+d+" > td:first-child"+d+","+o+" .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)":o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .kdds-max-medium-table_stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" th"+d+","+o+" .kdds-max-medium-table--stacked-horizontal:not(.kdds-no-row-hover)"+d+" tbody"+d+" tr:hover"+d+" td"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-is-interactive"+d+" .kdds-button"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-cell-shrink"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+","+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" td"+d+"::before,"+o+" .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":o+" .kdds-max-medium-table_stacked-horizontal"+d+" .kdds-truncate"+d+","+o+" .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":o+" .kdds-table_edit_container:focus"+d+","+o+" .kdds-table--edit_container:focus",d," {outline: none;}",t?":host .kdds-table_edit_container:focus"+d+"::before,\r:host .kdds-table--edit_container:focus":o+" .kdds-table_edit_container:focus"+d+"::before,"+o+" .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":o+" .kdds-table_edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table_edit_container:focus"+d+" .kdds-table--edit_container-message"+d+","+o+" .kdds-table--edit_container:focus"+d+" .kdds-table_edit_container-message"+d+","+o+" .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":o+" .kdds-table_edit_container-message"+d+","+o+" .kdds-table--edit_container-message",d," {display: none;}",t?":host .kdds-table_edit"+d+" thead"+d+" th"+d+",\r:host .kdds-table--edit":o+" .kdds-table_edit"+d+" thead"+d+" th"+d+","+o+" .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":o+" .kdds-table_edit"+d+" .kdds-cell-error"+d+","+o+" .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)":o+" .kdds-table_edit:not(.kdds-no-cell-focus)"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-focus"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit:hover"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-is-edited"+d+","+o+" .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":o+" .kdds-table_edit.kdds-table"+d+" tbody"+d+" tr:hover"+d+" > .kdds-cell-edit.kdds-has-error"+d+","+o+" .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":o+" .kdds-table_edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .kdds-table_edit"+d+" .kdds-button__icon--edit:focus"+d+","+o+" .kdds-table--edit"+d+" .kdds-button__icon_edit:focus"+d+","+o+" .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":o+" .kdds-has-focus",d," .kdds-th__action",d," {}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit",d," {outline: 0;}",t?":host .kdds-table":o+" .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":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon--edit"+d+","+o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-focus"+d+" .kdds-button__icon_lock"+d+","+o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus",d," .kdds-button__icon--lock",d," {opacity: 1;}",t?":host .kdds-table":o+" .kdds-table",d," .kdds-cell-edit.kdds-has-focus:hover",d," {}",t?":host .kdds-table":o+" .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":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-is-edited"+d+","+o+" .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":o+" .kdds-table"+d+" .kdds-cell-edit.kdds-has-error"+d+","+o+" .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":o+" .kdds-table_header-fixed_container"+d+"::before,"+o+" .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":o+" .kdds-table_header-fixed"+d+","+o+" .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":o+" .kdds-table_header-fixed"+d+" thead"+d+" th"+d+","+o+" .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":o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table_header-fixed"+d+" tbody"+d+" tr:first-child"+d+" th"+d+","+o+" .kdds-table--header-fixed"+d+" tbody"+d+" tr:first-child"+d+" td"+d+","+o+" .kdds-table--header-fixed",d," tbody",d," tr:first-child",d," th",d," {}",t?":host .kdds-table_header-hidden":o+" .kdds-table_header-hidden",d," {border-block-start: 0;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-tree__item",d," .kdds-is-disabled",d," {visibility: hidden;}",t?":host .kdds-tree":o+" .kdds-tree",d," .kdds-is-selected",d," {background: var(--kdds-g-color-neutral-base-95);}",t?":host .kdds-tree":o+" .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":o+" .kdds-tree"+d+" [aria-expanded='false']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .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":o+" .kdds-tree"+d+" [aria-expanded='true']"+d+" > .kdds-tree__item"+d+" > .kdds-button[aria-controls]"+d+" > .kdds-button__icon"+d+","+o+" .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":o+" .kdds-tree__item",d," a",d," {color: var(--kdds-g-color-neutral-base-10);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:hover",d," {text-decoration: none;}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," a:focus",d," {outline: 0;text-decoration: underline;}",t?":host .kdds-tree-container"+d+",\r:host .kdds-tree_container":o+" .kdds-tree-container"+d+","+o+" .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":o+" .kdds-tree-container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree-container"+d+" > .kdds-text-heading--label"+d+","+o+" .kdds-tree_container"+d+" > .kdds-text-heading_label"+d+","+o+" .kdds-tree_container",d," > .kdds-text-heading--label",d," {margin-block-end: var(--kdds-g-spacing-2);}",t?":host .kdds-tree__item":o+" .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":o+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree__item:hover",d," {background: var(--kdds-g-color-neutral-base-95);cursor: pointer;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']:focus",d," {outline: 0;}",t?":host .kdds-tree":o+" .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":o+" .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":o+" .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']":o+" [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":o+" .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":o+" .kdds-tree"+d+" [aria-disabled='true']"+d+" .kdds-tree__item.kdds-is-hovered"+d+","+o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item:hover",d," {background-color: transparent;cursor: default;}",t?":host .kdds-tree":o+" .kdds-tree",d," [aria-disabled='true']",d," .kdds-tree__item-meta",d," {color: inherit;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem']",d," > [role='group']",d," {display: none;}",t?":host .kdds-tree":o+" .kdds-tree",d," [role='treeitem'][aria-expanded='true']",d," > [role='group']",d," {display: block;}",t?":host [aria-expanded='false']":o+" [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']":o+" [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']":o+" [dir='rtl']",d," [aria-expanded='true']",d," > .kdds-tree__item",d," .kdds-button__icon",d," {transform: rotate(-90deg);}",t?":host [aria-level='1']":o+" [aria-level='1']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-4);}",t?":host [aria-level='2']":o+" [aria-level='2']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-6);}",t?":host [aria-level='3']":o+" [aria-level='3']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-3);}",t?":host [aria-level='4']":o+" [aria-level='4']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-10);}",t?":host [aria-level='5']":o+" [aria-level='5']",d," > .kdds-tree__item",d," {padding-inline-start: var(--kdds-g-spacing-12);}",t?":host [aria-level='6']":o+" [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']":o+" [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']":o+" [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']":o+" [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']":o+" [aria-level='10']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 2);}",t?":host [aria-level='11']":o+" [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']":o+" [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']":o+" [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']":o+" [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']":o+" [aria-level='15']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 3);}",t?":host [aria-level='16']":o+" [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']":o+" [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']":o+" [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']":o+" [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']":o+" [aria-level='20']",d," > .kdds-tree__item",d," {padding-inline-start: calc(var(--kdds-g-spacing-12) * 4);}",t?":host .kdds-tree__item-label":o+" .kdds-tree__item-label",d," {display: block;}",t?":host .kdds-tree__item-meta":o+" .kdds-tree__item-meta",d," {display: block;color: var(--kdds-g-color-neutral-base-30);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-button",d," {align-self: flex-start;margin-block-start: var(--kdds-g-sizing-1);}",t?":host .kdds-tree__item":o+" .kdds-tree__item",d," .kdds-pill",d," {margin-inline-start: var(--kdds-g-spacing-3);}",t?":host .kdds-tree__group-header":o+" .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":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-tree__item"+d+" a:hover"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-button"+d+","+o+" .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":o+" .kdds-table_tree"+d+" .kdds-button:not(.kdds-th__action-button)"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='1']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='2']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='3']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='4']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='5']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='6']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='7']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='8']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='9']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='10']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='11']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='12']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='13']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='14']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='15']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='16']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='17']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='18']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='19']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table_tree"+d+" [aria-level='20']"+d+" > .kdds-tree__item"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr.kdds-table-expand-container"+d+","+o+" .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":o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-selected"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-top"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-bottom"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-left"+d+","+o+" .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":o+" .kdds-table"+d+" tbody"+d+" tr"+d+" > td.kdds-datatable-cell-range-right"+d+","+o+" .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":o+" .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 $e=[[l,c,u,b,h,k,p,m,Re,ze,Le,Ie],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 Se=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,Me=e`<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>`,Ve=e`<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`<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>`,De=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Ke=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,We=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ne=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,He=e`<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>`,Fe=e`<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>`,Be=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,je=e`<span${3}>${"t1"}</span>`,Oe=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Pe=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ue=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,qe=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Qe=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ye=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,Xe=e`<span dir="ltr"${3}>${"t1"}</span>`,Ge=e`<span${3}>${"t1"}</span>`,Ze=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Je=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:target"}${"a0:tabindex"}${"a0:title"}${3}>${"t1"}</a>`,et=e`<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>`,tt=e`<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>`,at=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,dt=e`<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>`,ot=e`<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>`,st=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,rt=e`<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>`,nt=e`<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>`,it=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,lt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ct=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ut=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,bt=e`<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>`,ht=e`<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>`,kt=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,pt=e`<span${3}>${"t1"}</span>`,mt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,gt=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,vt=e`<a data-inline-type="formatted-phone" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,ft=e`<a data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,yt=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,_t=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,xt=e`<span dir="ltr"${3}>${"t1"}</span>`,wt=e`<span${3}>${"t1"}</span>`,Ct=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,At=e`<a data-inline-type="formatted-url" data-navigation="enable" data-action-triggers="enter"${"a0:href"}${"a0:title"}${"a0:target"}${"a0:tabindex"}${3}>${"t1"}</a>`,Tt=e`<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>`,Rt=e`<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>`,zt=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,Lt=e`<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>`,It=e`<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>`,$t=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,St={name:"customdatatypes"},Mt=[],Vt={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},Dt={"data-iedit-panel":"true"},Kt={"kdds-scrollable_y":!0},Wt={attrs:{part:"datagrid-header","data-rowgroup-header":"",role:"rowgroup"},key:10},Nt={"kdds-line-height_reset":!0,"table-header":!0},Ht={role:"row","aria-rowindex":"1","data-row-key-value":"HEADER"},Ft={"column-header":!0,cell:!0},Bt={part:"datagrid-body","data-rowgroup-body":"",role:"rowgroup"},jt={"kdds-checkbox":!0},Ot={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},Pt={"data-navigation":"enable"},Ut={"kdds-m-right_x-small":!0},qt={key:74},Qt={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},Yt={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},Xt={key:143},Gt={"kdds-table-expand-container":!0},Zt={key:168},Jt={"kdds-datatable-nodata-cell":!0};function ea(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:p,t:m,fr:x,fid:w}=e,{_m0:C,_m1:M,_m2:V,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:H,_m9:F,_m10:B,_m11:j,_m12:O,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",S,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:St,key:1,on:C||(d._m0={slotchange:o(t.handleCustomTypesChange)})},Mt,a),l(Se,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",Vt),c("div",Et,[u("kd-primitive-datatable-iedit-panel",g,{attrs:Dt,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:M||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:V||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:Kt,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("div",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{part:"datagrid",role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(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:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("div",Wt,[c("div",{classMap:Nt,attrs:Ht,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},p(t.state.columns,function(e,a){return c("div",{classMap:Ft,style:e.style,attrs:{part:"cell",role:e.role,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",v,{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",v,{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:Bt,ref:"tableBody",key:15},p(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:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},p(e.cells,function(a){return[a.isRowExpand?c("div",{className:r(a.class),attrs:{role:"gridcell",tabindex:h(a.tabIndex),"data-col-key-value":a.colKeyValue},key:k(17,a.colKeyValue)},[u("kd-primitive-cell-expand",f,{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:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(19,a.colKeyValue)},[a.isInlined?c("span",{classMap:jt,attrs:Ot,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:a.checkboxName,id:b(a.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},props:{checked:e.isSelected},key:21,on:H||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(Me,23,[i(0,{attrs:{id:b(a.checkboxLabelId),for:b(a.checkboxId)}},null),i(3,null,n(a.checkboxSelectItemAssistiveText))])]):null,a.isInlined?null:u("kd-primitive-cell-checkbox",y,{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:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue},key:k(25,a.colKeyValue)},[u("kd-primitive-datatable-cell",_,{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":b(a.describedBy),tabindex:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(27,a.colKeyValue),on:F||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:28},[u("kd-primitive-custom-cell",A,{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",T,{attrs:Pt,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",R,{classMap:Ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:33}):null,a.hasLeftIcon?m(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?x(34,[l(Ve,36)],0):x(34,[l(Ee,38)],0):null,a.isBoolean?l(De,40,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(Ke,42,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{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(We,45,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(Ne,47,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:w(a.emailLink),tabindex:h(a.internalTabIndex)},key:48},[a.emailIconHidden?null:a.isRTL?x(49,[l(He,51)],0):x(49,[l(Fe,53)],0),a.emailIconHidden?null:l(Be,55,[i(1,null,n(a.emailIconAssistiveText))]),m(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(je,57,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:m(n(a.locationValue)):null,a.isNumber?l(Oe,59,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(Pe,61,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(Ue,63,[i(0,{attrs:{href:w(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(qe,65,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:w(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(Qe,67,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(Ye,69):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(Xe,71,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(Ge,73,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:m(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",qt,p(a.textParts,function(e){return[e.isLink?l(Ze,k(76,e.key),[i(0,{attrs:{href:w(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(Je,78,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:w(a.urlLink),target:a.urlTarget,tabindex:h(a.internalTabIndex),title:a.urlTooltip}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",R,{classMap:Qt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:79}):null,a.hasRightIcon?m(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Yt,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:80,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?x(81,[l(et,83)],0):x(81,[l(tt,85)],0),l(at,87,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?x(88,[l(dt,90)],0):x(88,[l(ot,92)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",z,{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(st,95,[i(0,{attrs:{id:b(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:h(a.tabIndex),"data-label":a.dataLabel,"data-col-key-value":a.colKeyValue,"data-cell-value":a.value},key:k(96,a.colKeyValue),on:j||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[a.isInlined&&a.isCustomBareLayout?c("div",{className:r(a.computedCellDivClass),style:a.computedCellDivStyle,key:97},[u("kd-primitive-custom-cell",A,{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",T,{attrs:Pt,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",R,{classMap:Ut,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:102}):null,a.hasLeftIcon?m(n(a.iconLabel)):null,a.isBoolean&&a.isChecked?a.isRTL?x(103,[l(rt,105)],0):x(103,[l(nt,107)],0):null,a.isBoolean?l(it,109,[i(1,null,n(a.booleanCellAssistiveText))]):null,a.isCurrency?l(lt,111,[i(1,null,n(a.currencyValue))]):null,a.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{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(ct,114,[i(1,null,n(a.dateLocalValue))]):null,a.isDateTime?l(ut,116,[i(1,null,n(a.dateTimeValue))]):null,a.isEmail&&a.showEmailLink?c("a",{attrs:{"data-navigation":"enable","data-action-triggers":"enter",href:w(a.emailLink),tabindex:h(a.internalTabIndex)},key:117},[a.emailIconHidden?null:a.isRTL?x(118,[l(bt,120)],0):x(118,[l(ht,122)],0),a.emailIconHidden?null:l(kt,124,[i(1,null,n(a.emailIconAssistiveText))]),m(" "+n(a.emailLabel))]):null,a.isLocation&&a.hasLeftIcon?l(pt,126,[i(1,null,n(a.locationValue))]):null,a.isLocation?a.hasLeftIcon?null:m(n(a.locationValue)):null,a.isNumber?l(mt,128,[i(1,null,n(a.numberValue))]):null,a.isPercent?l(gt,130,[i(1,null,n(a.percentValue))]):null,a.isPhone&&a.showPhoneLink?l(vt,132,[i(0,{attrs:{href:w(a.phoneLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.phoneLabel))]):null,a.isLookup&&a.lookupIsNavigable?l(ft,134,[i(0,{on:{click:o(a.handleLookupAnchorClick)},attrs:{href:w(a.lookupLink),tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.lookupValue))]):null,a.isLookup?a.lookupIsNavigable?null:l(yt,136,[i(1,null,n(a.lookupValue))]):null,a.isRowNumber?l(_t,138):null,a.isText?a.shouldFormatText?null:a.ignoreRTL?l(xt,140,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL?null:a.hasLeftIcon?l(wt,142,[i(1,null,n(a.textValue))]):null:null,a.isText?a.shouldFormatText||a.ignoreRTL||a.hasLeftIcon?null:m(n(a.textValue)):null,a.isText&&a.shouldFormatText?c("span",Xt,p(a.textParts,function(e){return[e.isLink?l(Ct,k(145,e.key),[i(0,{attrs:{href:w(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,a.isURL&&a.showUrlLink?l(At,147,[i(0,{on:{click:o(a.handleUrlAnchorClick)},attrs:{href:w(a.urlLink),title:a.urlTooltip,target:a.urlTarget,tabindex:h(a.internalTabIndex)}},null),i(1,null,n(a.urlLabel))]):null,a.hasRightIcon?u("kd-icon",R,{classMap:Qt,props:{iconName:a.iconName,size:"x-small",alternativeText:a.iconAlternativeText},key:148}):null,a.hasRightIcon?m(n(a.iconLabel)):null]),a.isEditable?c("button",{classMap:Yt,attrs:{part:"button button-icon","aria-labelledby":b(a.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(a.internalTabIndex)},key:149,on:O||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[a.isRTL?x(150,[l(Tt,152)],0):x(150,[l(Rt,154)],0),l(zt,156,[i(0,{attrs:{id:b(a.editLabelId)}},null),i(1,null,n(a.editIconAssistiveText))])]):null,a.shouldDisplayReadOnlyIcon?a.isRTL?x(157,[l(Lt,159)],0):x(157,[l(It,161)],0):null]):null,a.isInlined?null:u("kd-primitive-cell-factory",z,{attrs:{"data-label":a.dataLabel},props:{types:t._privateTypes,ariaSelected:a.ariaSelected,ariaDescribedBy:b(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($t,164,[i(0,{attrs:{id:b(a.describedBy)}},null)]):null]):null]}))})):null,t.hasValidKeyField&&t.row.isRowExpanded?c("div",{classMap:Gt,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",L,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:t.row,expandRowExtraParams:t.expandable.expandRowExtraParams},key:167})])]):null,t.tableNoData?c("div",Zt,[c("div",{classMap:Jt,attrs:{colspan:t.state.columns.length},key:169},[u("kd-primitive-datatable-no-data",I,{props:{width:t.state.tableWrapperWidth},key:170})])]):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",$,{props:{error:t.tableError},key:171,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var ta=t(ea);ea.slots=["customdatatypes"],ea.hasRefs=!0,ea.stylesheets=[],ea.stylesheetToken="kwc-1r94rvjrpp4",ea.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\div-undefined_div",$e&&ea.stylesheets.push.apply(ea.stylesheets,$e),a(ea);var aa=[[l,c,u,b,h,k,p,m,Re,ze,Le,Ie],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 da=e`<span aria-live="polite"${3}><span data-keyboard-mode="navigation"${"c1"}${2}>${"t2"}</span><span data-keyboard-mode="action"${"c3"}${2}>${"t4"}</span></span>`,oa=e`<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>`,sa=e`<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>`,ra=e`<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>`,na=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ia=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,la=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ca=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,ua=e`<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>`,ba=e`<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>`,ha=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,ka=e`<span${3}>${"t1"}</span>`,pa=e`<span${3}>${"t1"}</span>`,ma=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ga=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,va=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,fa=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,ya=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,_a=e`<span dir="ltr"${3}>${"t1"}</span>`,xa=e`<span${3}>${"t1"}</span>`,wa=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Ca=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,Aa=e`<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>`,Ta=e`<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>`,Ra=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,za=e`<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>`,La=e`<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>`,Ia=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,$a=e`<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>`,Sa=e`<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>`,Ma=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Va=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ea=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Da=e`<span data-inline-type="formatted-date-time"${3}>${"t1"}</span>`,Ka=e`<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>`,Wa=e`<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>`,Na=e`<span class="kdds-assistive-text${0}"${2}>${"t1"}</span>`,Ha=e`<span${3}>${"t1"}</span>`,Fa=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,Ba=e`<span data-inline-type="formatted-number"${3}>${"t1"}</span>`,ja=e`<a data-action-triggers="enter" data-inline-type="formatted-phone" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Oa=e`<a data-action-triggers="enter" data-inline-type="formatted-lookup" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${3}>${"t1"}</a>`,Pa=e`<span data-inline-type="formatted-lookup" data-navigation="enable" data-action-triggers="enter"${3}>${"t1"}</span>`,Ua=e`<span class="kdds-row-number kdds-text-body_small${0}"${2}></span>`,qa=e`<span dir="ltr"${3}>${"t1"}</span>`,Qa=e`<span${3}>${"t1"}</span>`,Ya=e`<a target="_blank"${"a0:href"} rel="noopener"${3}>${"t1"}</a>`,Xa=e`<a data-action-triggers="enter" data-inline-type="formatted-url" data-navigation="enable"${"a0:href"}${"a0:tabindex"}${"a0:target"}${"a0:title"}${3}>${"t1"}</a>`,Ga=e`<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>`,Za=e`<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>`,Ja=e`<span hidden${"a0:id"}${3}>${"t1"}</span>`,ed=e`<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>`,td=e`<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>`,ad=e`<span${"a0:id"} class="kdds-hide${0}"${2}>Unsaved</span>`,dd={name:"customdatatypes"},od=[],sd={classMap:{"dt-width-observer":!0},styleDecls:[["width","100%",!1],["height","0px",!1]],ref:"widthObserver",context:{kwc:{dom:"manual"}},key:4},rd={classMap:{"dt-outer-container":!0},styleDecls:[["height","100%",!1],["position","relative",!1]],ref:"outerContainer",key:5},nd={"data-iedit-panel":"true"},id={"kdds-scrollable_y":!0},ld={attrs:{"data-rowgroup-header":""},key:10},cd={"kdds-line-height_reset":!0},ud={role:"row","data-row-key-value":"HEADER"},bd={"data-rowgroup-body":""},hd={"kdds-checkbox":!0},kd={part:"input-checkbox","data-inline-type":"primitive-cell-checkbox"},pd={"data-navigation":"enable"},md={"kdds-m-right_x-small":!0},gd={key:72},vd={"kdds-m-left_x-small":!0,"kdds-m-right_x-small":!0},fd={"kdds-button":!0,"kdds-button_icon":!0,"kdds-cell-edit__button":!0,"kdds-m-left_x-small":!0},yd=[["height","100%",!1]],_d={key:141},xd={"kdds-table-expand-container":!0},wd={key:166},Cd={"kdds-datatable-nodata-cell":!0};function Ad(e,t,a,d){const{b:o,s:s,ncls:r,d:n,sp:i,st:l,h:c,c:u,gid:b,ti:h,k:k,i:p,t:m,fr:_,fid:x,f:w}=e,{_m0:C,_m1:M,_m2:V,_m3:E,_m4:D,_m5:K,_m6:W,_m7:N,_m8:H,_m9:F,_m10:B,_m11:j,_m12:O,_m13:P}=d;return[u("kd-primitive-datatable-loading-indicator",S,{props:{loading:t.loading},key:0},[s("customdatatypes",{attrs:dd,key:1,on:C||(d._m0={slotchange:o(t.handleCustomTypesChange)})},od,a),l(da,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",sd),c("div",rd,[u("kd-primitive-datatable-iedit-panel",g,{attrs:nd,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:M||(d._m1={ieditfinished:o(t.handleInlineEditFinish),masscheckboxchange:o(t.handleMassCheckboxChange)})}),c("div",{className:r(t.computedTableContainerClass),style:t.computedScrollerXStyle,ref:"scrollerX",key:7,on:V||(d._m2={scroll:o(t.handleHorizontalScroll)})},[c("div",{classMap:id,style:t.computedScrollerYStyle,ref:"scrollerY",key:8,on:E||(d._m3={scroll:o(t.handleVerticalScroll)})},[c("table",{className:r(t.computedTableClass),style:t.computedTableStyle,attrs:{role:t.computedTableRole,"aria-label":t.ariaLabel,"aria-labelledby":b(t.ariaLabelledBy),"aria-describedby":b(t.ariaDescribedBy),"data-num-rows":t.data.length,"data-num-selected-rows":t.selectedRows.length},ref:"tableElement",key:9,on:D||(d._m4={keydown:o(t.handleTableKeydown),click:o(t.handleTableCellClick),focusin:o(t.handleTableFocusIn),focusout:o(t.handleTableFocusOut)})},[t.hasValidKeyField?c("thead",ld,[c("tr",{classMap:cd,attrs:ud,ref:"headerRow",key:11,on:K||(d._m5={privateresizestart:o(t.handleResizeStart),privateresizeend:o(t.handleResizeEnd)})},p(t.state.columns,function(e,a){return c("th",{style:e.style,attrs:{role:e.role,scope:e.scope,tabindex:h(e.tabIndex),"aria-label":e.ariaLabel,"aria-sort":e.sortAriaLabel,"data-col-key-value":e.colKeyValue},key:k(12,e.colKeyValue)},[e.fixedWidth?u("kd-primitive-header-factory",v,{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",v,{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:bd,ref:"tableBody",key:15},w([p(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:h(e.tabIndex),"data-row-number":e.rowNumber},key:k(16,e.key),on:W||(d._m6={keydown:o(t.handleKeydownOnDataRow),privatelookupitempicked:o(t.handlePrivateLookupItemPicked)})},p(e.cells,function(s){return[s.isRowExpand?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-col-key-value":s.colKeyValue},key:k(17,s.colKeyValue)},[u("kd-primitive-cell-expand",f,{props:{rowExpanded:e.isRowExpanded,rowKeyValue:e.key,hasFocus:s.hasFocus,rowIndex:a,colKeyValue:s.colKeyValue},key:18})]):null,s.isCheckbox?c("td",{className:r(s.class),attrs:{role:"gridcell",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value},key:k(19,s.colKeyValue)},[s.isInlined?c("span",{classMap:hd,attrs:kd,key:20,on:N||(d._m7={click:o(t.handleInlinedCheckboxContainerClick),mousedown:o(t.handleInlinedCheckboxContainerMouseDown)})},[c("input",{attrs:{type:"checkbox",part:"checkbox",name:s.checkboxName,id:b(s.checkboxId),disabled:e.isDisabled?"":null,"data-action-triggers":"space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},props:{checked:e.isSelected},key:21,on:H||(d._m8={click:o(t.handleInlinedCheckboxClick)})}),l(oa,23,[i(0,{attrs:{id:b(s.checkboxLabelId),for:b(s.checkboxId)}},null),i(3,null,n(s.checkboxSelectItemAssistiveText))])]):null,s.isInlined?null:u("kd-primitive-cell-checkbox",y,{attrs:{"data-label":s.dataLabel},props:{dtContextId:t._datatableId,hasFocus:s.hasFocus,rowKeyValue:e.key,colKeyValue:s.colKeyValue,rowIndex:a,type:e.inputType,isSelected:e.isSelected,isDisabled:e.isDisabled,columnHeaderId:t.computedCheckboxColumnHeaderId},key:24})]):null,s.isDataTypeScope?c("th",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"rowheader","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,scope:"row",tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(25,s.colKeyValue),on:F||(d._m9={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:26},[u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:27})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:28},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",T,{attrs:pd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:29}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:30},[s.hasLeftIcon?u("kd-icon",R,{classMap:md,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:31}):null,s.hasLeftIcon?m(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?_(32,[l(sa,34)],0):_(32,[l(ra,36)],0):null,s.isBoolean?l(na,38,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(ia,40,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:41}):null,s.isDateLocal?l(la,43,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(ca,45,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:x(s.emailLink),tabindex:h(s.internalTabIndex)},key:46},[s.emailIconHidden?null:s.isRTL?_(47,[l(ua,49)],0):_(47,[l(ba,51)],0),s.emailIconHidden?null:l(ha,53,[i(1,null,n(s.emailIconAssistiveText))]),m(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(ka,55,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:m(n(s.locationValue)):null,s.isNumber?l(pa,57,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(ma,59,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(ga,61,[i(0,{attrs:{href:x(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(va,63,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:x(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(fa,65,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber?l(ya,67):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(_a,69,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(xa,71,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:m(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",gd,p(s.textParts,function(e){return[e.isLink?l(wa,k(74,e.key),[i(0,{attrs:{href:x(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(Ca,76,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:x(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",R,{classMap:vd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:77}):null,s.hasRightIcon?m(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:fd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:78,on:B||(d._m10={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?_(79,[l(Aa,81)],0):_(79,[l(Ta,83)],0),l(Ra,85,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?_(86,[l(za,88)],0):_(86,[l(La,90)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",z,{styleDecls:yd,attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:91}),s.describedBy?l(Ia,93,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null,s.isDataType?c("td",{className:r(s.class),style:s.style,attrs:{"data-rangecell":"true",role:"gridcell","aria-selected":s.ariaSelected,"aria-readonly":s.ariaReadOnly,tabindex:h(s.tabIndex),"data-label":s.dataLabel,"data-col-key-value":s.colKeyValue,"data-cell-value":s.value,"aria-describedby":b(s.describedBy)},key:k(94,s.colKeyValue),on:j||(d._m11={mousedown:o(t.handleTableCellMouseDown)})},[s.isInlined&&s.isCustomBareLayout?c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:95},[u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:96})]):null,s.isInlined?s.isCustomBareLayout?null:c("span",{className:r(s.computedWrapperClass),attrs:{"data-cell-type":s.columnType},key:97},[s.hasTreeData?u("kd-primitive-treegrid-cell-toggle",T,{attrs:pd,props:{rowKeyValue:e.key,colKeyValue:s.colKeyValue,displayValue:s.displayValue,urlLabel:s.urlLabel,value:s.value,hasChildren:s.typeAttribute21,isExpanded:s.typeAttribute22},key:98}):null,c("div",{className:r(s.computedCellDivClass),style:s.computedCellDivStyle,key:99},[s.hasLeftIcon?u("kd-icon",R,{classMap:md,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:100}):null,s.hasLeftIcon?m(n(s.iconLabel)):null,s.isBoolean&&s.isChecked?s.isRTL?_(101,[l($a,103)],0):_(101,[l(Sa,105)],0):null,s.isBoolean?l(Ma,107,[i(1,null,n(s.booleanCellAssistiveText))]):null,s.isCurrency?l(Va,109,[i(1,null,n(s.currencyValue))]):null,s.isCustomStandardLayout?u("kd-primitive-custom-cell",A,{props:{types:t._privateTypes,rowKeyValue:e.key,colKeyValue:s.colKeyValue,alignment:s.alignment,columnType:s.columnType,columnSubType:s.columnSubType,editable:s.editable,internalTabIndex:s.internalTabIndex,keyboardMode:s.keyboardMode,value:s.value,wrapText:s.wrapText,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10},key:110}):null,s.isDateLocal?l(Ea,112,[i(1,null,n(s.dateLocalValue))]):null,s.isDateTime?l(Da,114,[i(1,null,n(s.dateTimeValue))]):null,s.isEmail&&s.showEmailLink?c("a",{attrs:{"data-action-triggers":"enter","data-navigation":"enable",href:x(s.emailLink),tabindex:h(s.internalTabIndex)},key:115},[s.emailIconHidden?null:s.isRTL?_(116,[l(Ka,118)],0):_(116,[l(Wa,120)],0),s.emailIconHidden?null:l(Na,122,[i(1,null,n(s.emailIconAssistiveText))]),m(n(s.emailLabel))]):null,s.isLocation&&s.hasLeftIcon?l(Ha,124,[i(1,null,n(s.locationValue))]):null,s.isLocation?s.hasLeftIcon?null:m(n(s.locationValue)):null,s.isNumber?l(Fa,126,[i(1,null,n(s.numberValue))]):null,s.isPercent?l(Ba,128,[i(1,null,n(s.percentValue))]):null,s.isPhone&&s.showPhoneLink?l(ja,130,[i(0,{attrs:{href:x(s.phoneLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.phoneLabel))]):null,s.isLookup&&s.lookupIsNavigable?l(Oa,132,[i(0,{on:{click:o(s.handleLookupAnchorClick)},attrs:{href:x(s.lookupLink),tabindex:h(s.internalTabIndex)}},null),i(1,null,n(s.lookupValue))]):null,s.isLookup?s.lookupIsNavigable?null:l(Pa,134,[i(1,null,n(s.lookupValue))]):null,s.isRowNumber&&s.rowHasError?m("</kd-primitive-datatable-tooltip>"):null,s.isRowNumber?l(Ua,136):null,s.isText?s.shouldFormatText?null:s.ignoreRTL?l(qa,138,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL?null:s.hasLeftIcon?l(Qa,140,[i(1,null,n(s.textValue))]):null:null,s.isText?s.shouldFormatText||s.ignoreRTL||s.hasLeftIcon?null:m(n(s.textValue)):null,s.isText&&s.shouldFormatText?c("span",_d,p(s.textParts,function(e){return[e.isLink?l(Ya,k(143,e.key),[i(0,{attrs:{href:x(e.href)}},null),i(1,null,n(e.value))]):null,e.isText?m(n(e.value)):null]})):null,s.isURL&&s.showUrlLink?l(Xa,145,[i(0,{on:{click:o(s.handleUrlAnchorClick)},attrs:{href:x(s.urlLink),tabindex:h(s.internalTabIndex),target:s.urlTarget,title:s.urlTooltip}},null),i(1,null,n(s.urlLabel))]):null,s.hasRightIcon?u("kd-icon",R,{classMap:vd,props:{iconName:s.iconName,size:"x-small",alternativeText:s.iconAlternativeText},key:146}):null,s.hasRightIcon?m(n(s.iconLabel)):null]),s.isEditable?c("button",{classMap:fd,attrs:{part:"button button-icon","aria-labelledby":b(s.editLabelId),"data-action-edit":"true","data-action-triggers":"enter,space","data-navigation":"enable",tabindex:h(s.internalTabIndex)},key:147,on:O||(d._m12={click:o(t.handleInlinedEditButtonClick)})},[s.isRTL?_(148,[l(Ga,150)],0):_(148,[l(Za,152)],0),l(Ja,154,[i(0,{attrs:{id:b(s.editLabelId)}},null),i(1,null,n(s.editIconAssistiveText))])]):null,s.shouldDisplayReadOnlyIcon?s.isRTL?_(155,[l(ed,157)],0):_(155,[l(td,159)],0):null]):null,s.isInlined?null:u("kd-primitive-cell-factory",z,{attrs:{"data-label":s.dataLabel},props:{types:t._privateTypes,ariaSelected:s.ariaSelected,alignment:s.alignment,hasError:s.hasError,hasFocus:s.hasFocus,columnLabel:s.dataLabel,columnType:s.columnType,columnSubType:s.columnSubType,wrapText:s.wrapText,wrapTextMaxLines:s.wrapTextMaxLines,rowKeyValue:e.key,colKeyValue:s.colKeyValue,value:s.value,displayValue:s.displayValue,iconName:s.iconName,iconLabel:s.iconLabel,iconPosition:s.iconPosition,iconAlternativeText:s.iconAlternativeText,isCustomType:s.isCustom,isCustomBareLayout:s.isCustomBareLayout,editable:s.editable,displayReadOnlyIcon:s.displayReadOnlyIcon,typeAttribute0:s.typeAttribute0,typeAttribute1:s.typeAttribute1,typeAttribute2:s.typeAttribute2,typeAttribute3:s.typeAttribute3,typeAttribute4:s.typeAttribute4,typeAttribute5:s.typeAttribute5,typeAttribute6:s.typeAttribute6,typeAttribute7:s.typeAttribute7,typeAttribute8:s.typeAttribute8,typeAttribute9:s.typeAttribute9,typeAttribute10:s.typeAttribute10,typeAttribute21:s.typeAttribute21,typeAttribute22:s.typeAttribute22},key:160}),s.describedBy?l(ad,162,[i(0,{attrs:{id:b(s.describedBy)}},null)]):null]):null]})),e.isRowExpanded?c("tr",{classMap:xd,attrs:{"data-expand-row-key-value":e.key,"data-row-key-value":"EXPAND"},key:k(163,e.key)},[c("td",{attrs:{colspan:t.state.columns.length},key:164},[u("kd-primitive-custom-row",L,{className:r(t.expandable.expandedRowClassName),props:{customRow:t.expandable.expandRowTemplate,rowData:e,expandRowExtraParams:t.expandable.expandRowExtraParams},key:165})])]):null]}),t.tableNoData?c("tr",wd,[c("td",{classMap:Cd,attrs:{colspan:t.state.columns.length},key:167},[u("kd-primitive-datatable-no-data",I,{props:{width:t.state.tableWrapperWidth},key:168})])]):null])):null])])]),t.showStatusBar?u("kd-primitive-datatable-status-bar",$,{props:{error:t.tableError},key:169,on:P||(d._m13={privatesave:o(t.handleInlineEditSave),privatecancel:o(t.handleInlineEditCancel)})}):null])])]}var Td=t(Ad);Ad.slots=["customdatatypes"],Ad.hasRefs=!0,Ad.stylesheets=[],Ad.stylesheetToken="kwc-3n129pmeldi",Ad.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable\\templates\\table-undefined_table",aa&&Ad.stylesheets.push.apply(Ad.stylesheets,aa),a(Ad);const Rd={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 K(this)}},zd=/^\d+$/,Ld=/^[0-9]*[1-9][0-9]*$/,Id=/\binline\b/,$d=/\brole-based\b/;function Sd(e){return"string"==typeof e?e.replace(/"/g,'\\"'):e}const Md=function(e){return"object"==typeof e&&null!==e};function Vd(e,t,a){return e<=t?t:e>=a?a:e}function Ed(e){return`[data-row-key-value="${Sd(e)}"]`}function Dd(e){if(!e)return null;const{firstElementChild:t}=e;return t}function Kd(e,t){return t&&t.scrollerX||e.querySelector(".kdds-scrollable_x")}function Wd(e,t){return t&&t.scrollerY||e.querySelector(".kdds-scrollable_y")}function Nd(e){return zd.test(e)}function Hd(e,t,a,d){let o;if("positive"===a){if(function(e){return Ld.test(e)}(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer > 0.`}else if("non-negative"===a){if(Nd(t))return Number.parseInt(t,10);o=`The attribute "${e}" value passed in is incorrect. "${e}" value should be an integer >= 0.`}else o="Invalid number type during normalization of number attribute";return d}function Fd(e){return e.scrollHeight-e.parentNode.scrollTop-e.parentNode.clientHeight}function Bd(e){return Array.isArray(e)?e:[]}const jd={columnWidths:[],columnWidthsMode:"fixed",maxColumnWidth:1e3,minColumnWidth:50,resizeColumnDisabled:!1,resizeStep:10,tableWidth:0};function Od(e,t,a,d){!function(e,t,a,d){const o=e[a],{columnWidths:s}=t,r=s[a],{minWidth:n,maxWidth:i}=o,l=Vd(d,n,i);if(r!==l){const d=l-r;if(s[a]=l,t.tableWidth+=d,o.columnWidth=l,o.style=l?`width: ${l}px;`:"",N())for(let t=a+1;t<e.length;t+=1)e[t].offset+=d;o.isResized=!0}}(e,t,a,t.columnWidths[a]+d)}function Pd(e,t){const{maxColumnWidth:a,minColumnWidth:d}=t;for(let t=0;t<e.length;t+=1){const o=e[t];o.internal||(o.maxWidth=a,o.minWidth=d);const{initialWidth:s}=o;if(s){const{minWidth:e,maxWidth:t}=o;o.initialWidth=Vd(s,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 qd(e,t){const a=Wd(e,t);return a&&!!(a.offsetParent||a.offsetHeight||a.offsetWidth)}function Qd(e){return e.loadMoreOffset}function Yd(e){const{state:t}=this;if(t.isLoading)return;const a=e.target.firstChild;if(!a)return;Fd(a)<Qd(t)&&this.dispatchEvent(new CustomEvent("loadmore"))}function Xd(){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=ie?Wd(t,a):null;var o;d&&((o=d).offsetParent&&o.offsetHeight>1&&o.offsetWidth>1)&&!function(e){return e.scrollHeight>e.clientHeight+2}(d)&&this.dispatchEvent(new CustomEvent("loadmore"))}const Gd="HEADER";function Zd(e,t,a){return e.indexes[`${t}-${a}`]}function Jd(e,t){const a=e.indexes[t];return a?a.rowIndex:void 0}function eo(e,t){return e.indexes[t]}function to(e,t){const a=e.indexes[t];return a?e.data[a.rowIndex]:void 0}function ao(e,t,a){return void 0!==e.indexes[`${t}-${a}`]}const oo="rowNumber",so={rowLevelErrorAssistiveText:M.rowLevelErrorAssistiveText};const ro="SELECTABLE_CHECKBOX",no="SELECTABLE_BUTTON_MENU",io="checkbox",lo="radio";function co(e,t){if(!e.selectedRowsKeys[t]){const{maxRowSelection:t}=e;return ho(e)&&uo(e)===t}return!1}function uo(e){let t=0;const{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1)a[d[e]]&&(t+=1);return t}function bo(e){const t=[],{selectedRowsKeys:a}=e,d=Object.keys(a);for(let e=0,{length:o}=d;e<o;e+=1){const o=d[e];a[o]&&t.push(o)}return t}function ho(e){return 1!==e.maxRowSelection||e.singleRowSelectionMode===io}const ko={rowActionsDefaultAriaLabel:M.rowActionsDefaultAriaLabel,rowNumber:M.rowNumber},po={type:oo,ariaLabel:ko.rowNumber,fixedWidth:40,internal:!0,resizable:!1,sortable:!1,tabIndex:-1,label:"#"},mo={type:ro,fixedWidth:32,internal:!0,tabIndex:-1},go={type:x,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1},vo={type:no,fixedWidth:32,internal:!0,tabIndex:-1,resizable:!1};function fo({state:e,rawColumns:t,types:a,expandable:d}){e.hadTreeDataTypePreviously=void 0!==e.treeColumn,e.treeColumn=void 0;const{columns:o,indexes:s}=e,r=!!d;for(let e=0,{length:t}=o;e<t;e+=1){s[`${Gd}-${o[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 m=0;r&&(k[m]=Object.assign({},go),m+=1),b&&(k[m]=Object.assign({},mo),m+=1),c&&(k[m]=Object.assign({},po),m+=1),u&&!h&&(k[l-1]=Object.assign({},vo));for(let e=0;e<n;e+=1)k[e+m]=t[e];const{defaultSortDirection:g,sortedBy:v,sortedDirection:f}=e,y=Array.isArray(v),_=new Set;for(let t=0;t<l;t+=1){const d=k[t],{columnKey:o}=d;o&&_.has(o),_.add(o);const{type:s}=d,r=o||d.fieldName,n={ariaLabel:"",cellAttributes:{},resizable:!0,type:"text",typeAttributes:{},subType:"",role:"columnheader",scope:"col",hideDefaultActions:!0};n.initialWidth||(["number","percent","currency"].includes(s)?n.initialWidth=160:n.initialWidth=200),"action"===s?(n.ariaLabel=ko.rowActionsDefaultAriaLabel,n.fixedWidth=50,n.resizable=!1):"tree"===s?n.subType="text":s!==ro&&s!==x||(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=W(e)),n.editTemplate=a.getCustomTypeEditTemplate(i)}else n.editable=!1,n.editTemplate=void 0;const{sortable:e}=n;e&&(y?v.includes(r):v===r)?(n.sorted=!0,n.sortAriaLabel=y?"desc"===f[v.indexOf(r)]?"descending":"ascending":"desc"===f?"descending":"ascending",n.sortedDirection=y?f[v.indexOf(r)]:f):(n.sorted=!1,n.sortAriaLabel=e?"other":null,n.sortedDirection=g)}const c=n.colKeyValue||`${r||t}-${i}-${t}`;if(n.colKeyValue=c,n.isLastCol=t===l-1,n.isScopeCol=t===m,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 yo(e){const{typeAttributes:t}=e;return Md(t)?t:{}}function _o(e){const{subTypeAttributes:t}=e.typeAttributes;return Md(t)?t:{}}function xo(e){const{cellAttributes:t}=e;return Md(t)?t:{}}function wo(e,t){const{columns:a}=e,d=Zd(e,Gd,t),o=d&&d.colIndex;if(void 0===o||-1===o||a[o].internal)return-1;let s=0;for(let e=0;e<o;e+=1)a[e].internal&&(s+=1);return o-s}function Co(e,t){return e.headerIndexes[t]}function Ao(){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:To}=Ao(),Ro={edit:M.edit,editHasError:M.editHasError,emailLabel:M.emailLabel,false:M.false,selectItem:M.selectItem,true:M.true},zo=()=>{},Lo={isInlined:!0,actionableElementsCount:0,computedCellDivClass:"",computedCellDivStyle:"",computedWrapperClass:"",currentInputIndex:0,editIconAssistiveText:"",hasFocus:!1,hasLeftIcon:!1,hasRightIcon:!1,internalTabIndex:-1,isRTL:!1,mode:To,shouldDisplayReadOnlyIcon:!1};function Io(e,t,a,d){const{columnSubType:o,columnType:s,isCheckbox:r,isCustom:n}=t;if("boolean"===s||"boolean"===o)Object.assign(t,Lo,{isBoolean:!0,isChecked:!1,booleanCellAssistiveText:""});else if(r&&a){const{rowNumber:a}=t;Object.assign(t,Lo,{checkboxId:`${d}-check-id-${a}`,checkboxLabelId:`check-button-label-${a}`,checkboxName:`${d}-options-${a}`,checkboxSelectItemAssistiveText:`${Ro.selectItem} ${a}`}),e.checkboxCells.push(t)}else r?Object.assign(t,{isInlined:!1}):n?Object.assign(t,Lo,{keyboardMode:""}):"currency"===s||"currency"===o?Object.assign(t,Lo,{isCurrency:!0,currencyValue:""}):"date-local"===s||"date-local"===o?Object.assign(t,Lo,{isDateLocal:!0,dateLocalValue:""}):"date"===s||"date"===o?Object.assign(t,Lo,{isDateTime:!0,dateTimeValue:""}):"email"===s||"email"===o?Object.assign(t,Lo,{isEmail:!0,emailIconAssistiveText:"",emailIconHidden:!1,emailLabel:"",showEmailLink:!1}):"location"===s||"location"===o?Object.assign(t,Lo,{isLocation:!0,locationValue:""}):"reference"===s||"reference"===o?(Object.assign(t,Lo,{isLookup:!0,_handleLookupAnchorClick:zo,handleLookupAnchorClick:e=>{t._handleLookupAnchorClick(e)},lookupIsNavigable:!1,lookupLink:"",lookupValue:t.typeAttribute0}),e.lookupCells.push(t)):"number"===s||"number"===o?Object.assign(t,Lo,{isNumber:!0,numberValue:""}):"percent"===s||"percent"===o?Object.assign(t,Lo,{isPercent:!0,percentValue:""}):"phone"===s||"phone"===o?Object.assign(t,Lo,{isPhone:!0,phoneLabel:"",phoneLink:"",showPhoneLink:!1}):"rowNumber"===s||"rowNumber"===o?Object.assign(t,Lo,{isRowNumber:!0,rowHasError:!1}):"text"===s||"text"===o?Object.assign(t,Lo,{isText:!0,ignoreRTL:!1,shouldFormatText:!1,textParts:void 0,textValue:void 0}):"url"!==s&&"url"!==o||Object.assign(t,Lo,{isURL:!0,_handleUrlAnchorClick:void 0,handlUrlAnchorClick:void 0,showUrlLink:!1,urlLabel:"",urlLink:"",urlTarget:"",urlTooltip:""})}const $o=[["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"]]],So=Array($o.length);for(let e=0,{length:t}=$o;e<t;e+=1){const{0:t,1:a}=$o[e];So[e]=[t,{typeAttributes:a,type:"standard"}]}const Mo=new Map($o),Vo=new Map(So),Eo=new Set(["text","url","date","number","currency","percent","button","button-icon","reference"]),Do=new Set(["text","percent","phone","email","url","currency","number","boolean","date-local","date"]);function Ko(e){return Q(function(e){return Mo.has(e)}(e)),Mo.get(e)||[]}const Wo=d(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:o}=a;d<o;d+=1){const o=a[d],{template:s,editTemplate:r,typeAttributes:n=[],standardCellLayout:i=!1}=e[o];t.set(o,{template:s,editTemplate:r,typeAttributes:n,standardCellLayout:!0===i,type:"custom"})}}}getAttributesNames(e){if(Q(this.isValidType(e)),!this.isCustomType(e))return Mo.get(e)||[];return this.privateCustomTypes.get(e).typeAttributes||[]}getType(e){const{privateCustomTypes:t}=this;return t.get===Map.prototype.get&&t.get(e)||Vo.get(e)}getCustomTypeEditTemplate(e){const t=this.privateCustomTypes.get(e);return t?t.editTemplate:void 0}isValidType(e){return this.privateCustomTypes.has(e)||Mo.has(e)}isEditableType(e){if(Do.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 V.ENABLE_TREE_GRID_CUSTOM_TYPES?Eo.has(e)||this.isStandardCellLayoutForCustomType(e):Eo.has(e)}},{tmpl:i,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63});let No={},Ho=[];const Fo=e=>{if(1!==e.length)return!1;const{startRow:t,endRow:a,columns:d}=e[0];return t===a&&1===d.length},Bo=(e,t)=>{const a=e>t;return{startRowIndex:a?t:e,endRowIndex:a?e:t}},jo=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),o=d&&d.parentElement;t=o?.dataset?.rowKeyValue,a=d?.dataset?.colKeyValue}return[t,a]},Oo=({state:e,startDragCell:t,draggingCell:a,isFinished:d,rangeSelectedChange:o,types:s})=>{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:o,endRowIndex:s}=Bo(t,a);return`${o}_${s}_${d[0].fieldName}_${d[d.length-1].fieldName}`})(b);let h=Ho.length?[...Ho]:[];if(Fo([b])){const e=b.id;h=h.filter(t=>t.id!==e)}h.push(b),e.rangeSelection=h,es(e,s),d&&(Ho=h),o?.(h,d)},Po=({event:e,dt:t,rangeSelectedChange:a})=>{const{toElement:d,ctrlKey:o,shiftKey:s}=e,{state:r,_privateTypes:n}=t,[i,l]=jo(d),c=Zd(r,i,l);if(!c)return;if(o&&(e.preventDefault(),e.stopPropagation()),((e,t)=>{if(e||t||(Ho=[]),t){const e=Ho.length?[...Ho]:[];e.pop(),Ho=e}})(o,s),s)return void Oo({state:r,startDragCell:No,draggingCell:c,isFinished:!0,rangeSelectedChange:a,types:n});No=c;let u=c;const b=he(window,"mousemove"),h=he(window,"mouseup");b.pipe(ke(e=>{const{toElement:t}=e,[a,d]=jo(t);return u=Zd(r,a,d),{startDragCell:c,draggingCell:u}}),pe(h)).subscribe({next:e=>{Oo({state:r,startDragCell:e.startDragCell,draggingCell:e.draggingCell,isFinished:!1,rangeSelectedChange:a,types:n})},complete(){Oo({state:r,startDragCell:c,draggingCell:u,isFinished:!0,rangeSelectedChange:a,types:n})}})},Uo=(e,t,a)=>{const{startRow:d,endRow:o,columns:s}=e;if(!(-1!==s.findIndex(e=>e.fieldName===a.fieldName)))return!1;const{startRowIndex:r,endRowIndex:n}=Bo(d,o);return t>=r&&t<=n},qo=(e,{rowIndex:t,col:a})=>{const{matchCellRangeTop:d,matchCellRangeLeft:o,matchCellRangeBottom:s,matchCellRangeRight:r}=((e,{rowIndex:t,col:a})=>e.reduce((e,d)=>{if(!Uo(d,t,a))return e;const{startRow:o,endRow:s,columns:r}=d,{startRowIndex:n,endRowIndex:i}=Bo(o,s),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=Fo(e);let i="";const l={[w.selected]:!n,[w.top]:!n&&d,[w.left]:!n&&o,[w.bottom]:!n&&s,[w.right]:!n&&r};for(const e in l)l[e]&&(i+=`${e} `);return i},Qo="kdds-cell-edit",Yo="kdds-has-error",Xo="kdds-is-edited",Go="cell",Zo="kdds-tree__item";function Jo(e,t){if(Md(e)){const{fieldName:a}=e;if(a)return t[a]}return e}function es(e,t,a){const{columns:d,data:o,keyField:s,maxRowSelection:r,renderModeInline:n,rowHeight:i,virtualize:l,expandedRowKeys:c}=e,{privateCustomTypes:u}=t,b=N(),{length:h}=d,k=ho(e),p=k?uo(e):1,m=k?io:lo;let g,v;const f={};for(let e=0;e<h;e+=1){const a=d[e],{colKeyValue:o,type:s}=a,r=`${Gd}-${o}`,n={cellKeyValue:r,colIndex:e,colKeyValue:o,focused:!1,key:o,rowIndex:-1,rowKeyValue:Gd};f[r]=n,!g&&a.isScopeCol&&t.isValidType(s)&&(g=a),"tree"===s&&void 0===v&&(v=yo(a))}const y=[],_=[];e.checkboxCells=[],e.indexes=f,e.lookupCells=[],e.shownUrlCells=y,e.rows=_,o.forEach((o,w)=>{const C=o[s],A=Y(C)?`row-${w}`:C;e.indexes[A]={rowIndex:w};const T=!!e.selectedRowsKeys[A],R=!!T&&"true",z=w+1,L=g?o[g.fieldName]:void 0,I=Array(h),$={ariaRowIndex:w+2,ariaSelected:e.hideCheckboxColumn?null:R,cells:I,classnames:"kdds-hint-parent"+(T?" kdds-is-selected":""),inputType:m,isSelected:T,isDisabled:!T&&k&&p===r,key:A,rowIndex:w,rowNumber:z,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(v){const e=!!Jo(v.hasChildren,o);$.hasChildren=e,$.isExpanded=e?`${!!Jo(v.isExpanded,o)}`:void 0,$.level=Jo(v.level,o)||1,$.posInSet=Jo(v.posInSet,o)||1,$.setSize=Jo(v.setSize,o)||1}f[A]=$,_.push($);for(let s=0;s<h;s+=1){const r=d[s],{colKeyValue:i,isScopeCol:l,label:c,type:h,typeAttributes:p}=r,m=`${A}-${i}`,g=p?p.subType:void 0,v="tree"===h;let _;_=V.ENABLE_TREE_GRID_CUSTOM_TYPES?u&&u.get(v?g:h):u&&u.get(h);const C=!!_&&_.standardCellLayout,T=!!r.displayReadOnlyIcon,R=!!Jo(r.editable,o),S=R&&t.isEditableType(h),M=t.isValidType(h),E=h===ro,D=h===no,K=void 0!==_,W=K&&!C,N=K&&C,H=M&&!l,F=M&&l,B=h===x,j={ariaReadOnly:!R,cellKeyValue:m,class:"",colIndex:s,colKeyValue:i,columnSubType:g,columnType:h,dataLabel:c,displayReadOnlyIcon:T,displayValue:o.displayValue||"",describedBy:null,editable:R,hasError:void 0,hasTreeData:v,isCheckbox:E,isCustom:K,isCustomBareLayout:W,isCustomStandardLayout:N,isDataType:H,isDataTypeScope:F,isEditable:S,isRTL:b,isSortingMenu:D,rowIndex:w,rowKeyValue:A,rowNumber:z,scopeColValue:L,style:"",tabIndex:-1,value:void 0,wrapText:void 0,wrapTextMaxLines:0,isRowExpand:B};if(f[m]=j,I[s]=j,!r.internal){let e,a;if(g)e=V.ENABLE_TREE_GRID_CUSTOM_TYPES?t.getAttributesNames(g):Ko(g),a=_o(r);else{const d=t.getType(h);e=d&&d.typeAttributes,a=yo(r)}const d=e?e.length:0;for(let t=0;t<d;t+=1){const d=a[e[t]];j[`typeAttribute${t}`]=Jo(d,o)}const s=xo(r),n=Object.keys(s);for(let e=0;e<n.length;e+=1){const t=n[e],a=s[t];j[t]=Jo(a,o)}v&&(j.typeAttribute21=$.hasChildren,j.typeAttribute22="true"===$.isExpanded)}e.indexes[$.key][i]=[w,s],I[s]=j,n&&Io(e,j,k,a),as(e,w,s,o),j.showUrlLink&&y.push(j)}}),e.hasCalledUpdateRowsAndCells=!0}function ts(e,t){if(!e.hasCalledUpdateRowsAndCells)return void es(e,t);const{data:a,rows:d}=e;for(let t=0;t<d.length;t+=1){const o=a[t];for(let a=0;a<d[t].cells.length;a+=1)as(e,t,a,o)}}function as(e,t,a,d){const{renderModeRoleBased:o,rangeSelection:s}=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:o,title:s}=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:s,messages:o,alternativeText:le(so.rowLevelErrorAssistiveText,t||"",r)}}(c,h.scopeColValue));let C=Jo(xo(b).class,d)||"";h.hasTreeData&&!C&&(C+=(C.length?" ":"")+Zo),(h.displayReadOnlyIcon||h.editable)&&(C+=(C.length?" ":"")+Qo),_&&(C+=(C.length?" ":"")+Yo),void 0!==y&&(C+=(C.length?" ":"")+Xo,h.describedBy="unsaved-cell-notification"),o&&(C+=(C.length?" ":"")+Go),s.length>0&&s.some(e=>Uo(e,t,b))&&(C+=qo(s,{col:b,rowIndex:t})),h.class=C,h.style=ds(h,b,o,h.style),h.isInlined&&(function(e){if(e.isEditable?(e.editIconAssistiveText=`${Ro.edit} ${e.dataLabel}${e.hasError?` ${Ro.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:o,columnType:s,hasTreeData:r,wrapText:n}=e;if(n){t+=(t.length?" ":"")+"kdds-cell-wrap",a+="kdds-hyphenate";const{wrapTextMaxLines:o}=e;o?(a+=" kdds-line-clamp",d=`--kwc-lineClamp: ${o}`):d="overflow-wrap: anywhere;"}else a+="kdds-truncate";!e.isRTL||"url"!==s&&"email"!==s&&"phone"!==s||(a+=" ltr-content-in-rtl");let i="kdds-grid";"right"===o||"currency"===s||"number"===s||"percent"===s?i+=" kdds-grid_align-end":r||o&&"left"!==o&&("center"===o||"right"===o)||(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?Ro.true:Ro.false;else if(e.isCurrency)e.currencyValue=H({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},be);else if(e.isDateLocal)e.dateLocalValue=F({value:t,day:e.typeAttribute0||"numeric",month:e.typeAttribute1||"short",year:e.typeAttribute2||"numeric",timeZone:"UTC"},ce);else if(e.isDateTime)e.dateTimeValue=F({value:ue(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},ce);else if(e.isEmail){let a="";const d=t?t.trim():"",o=!!d;o&&(a=Ro.emailLabel),e.emailIconAssistiveText=a,e.emailLabel=d,e.showEmailLink=o}else if(e.isLocation)e.locationValue=B(t);else if(e.isNumber)e.numberValue=H({value:t,minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},be);else if(e.isPercent)e.percentValue=H({value:t,formatStyle:"percent",minimumIntegerDigits:e.typeAttribute0,minimumFractionDigits:e.typeAttribute1,maximumFractionDigits:e.typeAttribute2,minimumSignificantDigits:e.typeAttribute3,maximumSignificantDigits:e.typeAttribute4},be);else if(e.isPhone){let a="",d="";const o=O(t);o&&(a=j(t),d=`tel:${t}`),e.phoneLabel=a,e.phoneLink=d,e.showPhoneLink=o}else if(e.isText){const{typeAttribute0:a}=e,d=!!a&&"string"==typeof t&&""!==t;e.ignoreRTL=e.isRTL&&P(t),e.shouldFormatText=d,e.textParts=d?U(t,!0):[],e.textValue="object"==typeof t?"":t}else if(e.isURL){let a,d,o="",s="",r="",n="";const i=null!=t&&""!==t;if(i){const{typeAttribute0:i,typeAttribute2:l}=e;a=zo,d=t=>{e._handleUrlAnchorClick(t)},s=q(t),o=null!=i&&""!==i?i:s,r=e.typeAttribute1||"_self",n=""===l?"":l||t}e._handleUrlAnchorClick=a,e.handleUrlAnchorClick=d,e.showUrlLink=i,e.urlLabel=o,e.urlLink=s,e.urlTarget=r,e.urlTooltip=n}}(h,x))}function ds(e,t,a,d=""){let o=d;if(o&&!o.endsWith(";")&&(o+=";"),!o&&e.isCustomBareLayout&&(o="padding: 0;"),a){const{columnWidth:e}=t;e>0&&(o+=`width:${e}px;`)}return o}function os(e){const{columns:t}=e;e.rows.forEach(e=>{e.cells.forEach((a,d)=>{const o=t[d],s=Jo(xo(o).style,e)||"";a.style=ds(a,o,!0,s)})})}function ss(e){e.renderModeRoleBased&&e.rows&&e.rows.forEach(e=>{e.cells.forEach(e=>{const t="string"==typeof(a=e.class)?{__proto__:Rd,[a]:!0}:Object.assign({__proto__:Rd},a);var a;t.add("cell"),e.class=t.toString()})})}const rs={tableHeight:{observerProp:"_heightObserver",callback:Xd,targetRefs:["scrollerY","tableElement"]},width:{observerProp:"_widthObserver",callback:function(){const{_columnWidthManager:e,state:t,widthsData:a,template:d,validRefs:o}=this;e.adjustColumnsSizeAfterResize(this,t.columns,a),this._recalculateHeaderHeight=!0,t.renderModeRoleBased&&os(t);const s=Kd(d,o);t.tableWrapperWidth=s?.offsetWidth,t.shouldResetHeights=!0},targetRefs:["widthObserver","scrollerX"]}};class ns{constructor(e,t){this._connected=!1;const{callback:a,targetRefs:d}=rs[t],o=a.bind(e);if(this._resizeObserver=new ne(()=>{const{refs:t,template:a}=e;this._connected&&qd(a,t)&&o()}),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 is(e,t){const{observerProp:a,targetRefs:d}=rs[t],o=e[a];if(o){if(!o.isConnected()&&e.refs)for(let t=0;t<d.length;t+=1){const a=e.refs[d[t]];o.observe(a)}}else e[a]=new ns(e,t)}function ls(e){const t=Object.keys(rs),{length:a}=t;for(let d=0;d<a;d+=1){const{observerProp:a}=rs[t[d]];e[a]&&e[a].disconnect()}}function cs(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:o,initialWidth:s}=d;o&&isFinite(o)?(a.totalFixedWidth+=o,a.totalFixedColumns+=1):d.isResized?(a.totalResizedWidth+=d.columnWidth,a.totalResizedColumns+=1):s&&isFinite(s)?(a.totalResizedWidth+=s,a.totalResizedColumns+=1):a.totalFlexibleColumns+=1}return a}function us(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 bs(e){let t=0;for(let a=0,{length:d}=e;a<d;a+=1)t+=e[a];return t}function hs(e,t,a){return Math.max(e-t,a)}function ks(e,t,a){return Math.min(e+t,a)}class ps{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=cs(this.columnWidthData,t),o=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 s=this.distributeWidthFromRatios(o,t,d),r=bs(s);return o>r?this.redistributeExtraWidth(o,s,t):o<r&&this.redistributeDeficitWidth(o,s,t),{columnWidths:s}}getRatios(e,t){const{length:a}=e,d=Array(a);for(let o=0;o<a;o+=1)d[o]=100*e[o]/t;return d}calculateColumnWidthRatios(e,t,a){const{wrapTextMaxLines:d}=a,o=e.getDataCellWidths();for(let e=0,{length:a}=o;e<a;e+=1){const a=t[e];if(a)if(a.wrapText){const t=o[e];o[e]=t/d}else{const{fixedWidth:t}=a;t&&isFinite(t)&&(o[e]=t)}}this.setColumnWidthRatios(e,o,a)}setColumnWidthRatios(e,t,a){this.columnWidthRatios=[];const d=e.getTableElementWidth();if(d>0){const{totalFixedWidth:o,totalResizedWidth:s}=a;if(0===t.length){const t=e.getHeaderCellWidths();if(t.length>0){const e=t.reduce((e,t)=>e+=t,0)-o-s;this.columnWidthRatios=this.getRatios(t,e)}}else{const e=t.reduce((e,t)=>e+=t,0),a=Math.min(d,e)-o-s;this.columnWidthRatios=this.getRatios(t,a)}}}resetColumnWidthsDistribution(){this.columnWidthsDistribution.colsWithMinWidth=[],this.columnWidthsDistribution.colsWithMaxWidth=[]}distributeWidthFromRatios(e,t,a){const d=[];for(let o=0;o<t.length;o+=1){const s=us(t[o])||this.getColumnWidthFromRatio(e,a,o);d[o]=s}return d}getColumnWidthFromRatio(e,t,a){const{totalFixedWidth:d,totalResizedWidth:o,minColumnWidth:s,maxColumnWidth:r}=t,n=this.columnWidthRatios[a],i=e-d-o,l=Math.floor(i*n/100)+20,{colsWithMinWidth:c,colsWithMaxWidth:u}=this.columnWidthsDistribution;l<s+Math.ceil(.5*s)&&c.push(a);return l>r-Math.ceil(.5*r)&&u.push(a),Vd(l,s,r)}redistributeExtraWidth(e,t,a){const{colsWithMinWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=cs(this.columnWidthData,a),{maxColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=bs(t),c=0,u=0,b=0;if(o>0){c=e-l,b=o,u=Math.floor(c/b);for(let e=0;e<o;e+=1){const a=d[e],o=t[a],s=ks(o,u,r);l+=s-o,t[a]=s}}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],o=t[e];if(!us(d)){const a=ks(o,u,r);l+=a-o,t[e]=a}}}}redistributeDeficitWidth(e,t,a){const{colsWithMaxWidth:d}=this.columnWidthsDistribution,{length:o}=d,s=cs(this.columnWidthData,a),{minColumnWidth:r,totalResizedColumns:n,totalFixedColumns:i}=s;let l=bs(t),c=e-l,u=0,b=0;if(o>0){u=o,b=Math.floor(Math.abs(c)/u);for(let e=0,{length:a}=d;e<a;e+=1){const a=d[e],o=t[a],s=hs(o,b,r);l-=o-s,t[a]=s}}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 o=a[d],s=t[d];if(!e.includes(d)&&!us(o)){const e=hs(s,b,r);l-=s-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=cs(this.widthsData,t),d=function(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s}=t,r=o*s+a+d;return 0===t.totalFlexibleColumns?r:Math.max(r,e)}(e.getAvailableWidthFromDom(),a),o=this.getFlexibleColumnWidth(a,d),s=[];for(let e=0;e<t.length;e+=1){const a=us(t[e])||o;s[e]=a}return{columnWidths:s}}getFlexibleColumnWidth(e,t){const{totalFixedWidth:a,totalResizedWidth:d,totalFlexibleColumns:o,minColumnWidth:s,maxColumnWidth:r}=e,n=t-a-d,i=Math.floor(n/o),l=Math.max(i,s);return Math.min(r,l)}}const gs="auto",vs="fixed";function fs(e,t,a){const{columnWidths:d}=a,{length:o}=e;if(d.length!==o)return;let s=0;const r=N();for(let a=0;a<o;a+=1){const o=e[a],n=d[a];t.columnWidths[a]=n,o.columnWidth=n,o.style=n?`width: ${n}px;`:"",r&&(o.offset=s),s+=n}t.tableWidth=s}class ys{constructor(e){this.columnWidthMode=vs,this.isResizingUpdateQueued=!1,this.isAutoResizingUpdateQueued=!1;const t=e.minColumnWidth||jd.minColumnWidth,a=e.maxColumnWidth||jd.maxColumnWidth,d=new ms(t,a),o=new ps(t,a);this.widthStrategies={[vs]:d,[gs]:o}}get columnWidthStrategy(){return this.widthStrategies[this.columnWidthMode]}set minColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].minColumnWidth=e}}set maxColumnWidth(e){const{widthStrategies:t}=this,a=Object.keys(t);for(let d=0,{length:o}=a;d<o;d+=1){t[a[d]].maxColumnWidth=e}}set wrapTextMaxLines(e){this.widthStrategies[gs].wrapTextMaxLines=e}shouldFireResizeEvent(e,t){return this.columnWidthMode===vs&&e.columnWidths.length!==t.length}adjustColumnsSize(e,t,a,d){const{columnWidthStrategy:o,isAutoResizingUpdateQueued:s,isResizingUpdateQueued:r}=this;if(r){let r;r=this.shouldResizeWithUpdate(e,t,d)?o.getAdjustedColumnWidths(this.getDatatableInterface(e,t),a,s):{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===gs&&(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===oo)return e}return-1}(e);if(-1!==a){const{columns:d}=e,o=d[a],s=function(e){const t=String(e.rows.length+e.rowNumberOffset).length;return Math.max(10*t+12,40)}(e);o.initialWidth!==s&&(o.initialWidth=Math.max(s,o.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===gs&&(this.isAutoResizingUpdateQueued=!0);for(let t=0;t<e.length;t+=1){const a=e[t];us(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)||qd(e,t)}getDatatableInterface(e,t){return{getAvailableWidthFromDom:()=>Kd(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 _s(e){e.stopPropagation();const{action:t,rowKeyValue:a}=e.detail,d=to(this.state,a);this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(t),row:o(d)}}))}function xs(e){e.stopPropagation();const{actionsProviderFunction:t,doneCallback:a,rowKeyValue:d,saveContainerPosition:s}=e.detail,r=to(this.state,d);s(this.getViewableRect()),t(o(r),a)}function ws(e){e.stopPropagation();const{state:t}=this,{colKeyValue:a,rowKeyValue:d}=e.detail,s=to(t,d),r=wo(t,a),n=this._rawColumns[r];this.dispatchEvent(new CustomEvent("rowaction",{detail:{action:o(n.typeAttributes),row:o(s)}}))}const Cs="selectAllRows",As="deselectAllRows",Ts="rowSelect",Rs="rowDeselect";function zs(e){e.stopPropagation(),function(e){const{maxRowSelection:t,rows:a}=e,d={};for(let e=0,{length:o}=a;e<o;e+=1){const o=a[e];void 0===t||e<t?(d[o.key]=!0,Ps(o,!0)):(o.isDisabled=!0,Ps(o,!1))}e.selectedRowsKeys=d}(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:Cs})}function Ls(e){e.stopPropagation(),Ms(this.state),this.fireSelectedRowsChange(this.getSelectedRows(),{action:As})}function Is(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d}=e,{start:o,end:s}=Bs(e,t,a),r=e.maxRowSelection||d.length;let n,i=o;for(;i<=s&&!n;)Vs(e,d[i].key),n=uo(e)>=r,i+=1}(t,d&&Ns(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:Ts,value:a})}function $s(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,isMultiple:d}=e.detail;!function(e,t,a){const{rows:d,selectedRowsKeys:o}=e,{start:s,end:r}=Bs(e,t,a);for(let t=s;t<=r;t+=1){const a=d[t];Ps(a,!1),o[a.key]=!1,uo(e)===e.maxRowSelection-1&&Ds(e)}}(t,d&&Ns(t)||a,a),t.lastSelectedRowKey=a,this.fireSelectedRowsChange(this.getSelectedRows(),{action:Rs,value:a})}function Ss(){Fs(this.state)}function Ms(e){const{rows:t}=e;for(let e=0,{length:a}=t;e<a;e+=1){const a=t[e];a.isDisabled=!1,Ps(a,!1)}e.selectedRowsKeys={}}function Vs(e,t){const a=eo(e,t),d=uo(e),o=e.maxRowSelection||e.rows.length;Ps(a,!0);let{selectedRowsKeys:s}=e;const{singleRowSelectionMode:r}=e;if(o>1||1===o&&r===io)s[a.key]||(s[a.key]=!0,d+1===o&&Es(e));else{if(1===d){Ps(eo(e,Object.keys(s)[0]),!1),s={},e.selectedRowsKeys=s}s[a.key]=!0}}function Es(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 Ds(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 Ks(e,t){if(Array.isArray(t)){const{maxRowSelection:a}=e,d=uo(e);let o=function(e,t){const a=[],{rows:d}=e;if(d.length){const{indexes:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]&&a.push(o)}}return a}(e,t);o.length>a&&(o=o.slice(0,a));const s=function(e){const t={};for(let a=0,{length:d}=e;a<d;a+=1)t[e[a]]=!0;return t}(o),r=function(e,t){const a=[],{selectedRowsKeys:d}=e;for(let e=0,{length:o}=t;e<o;e+=1){const o=t[e];d[o]||a.push(o)}return a}(e,o),n=function(e,t){const a=[],{selectedRowsKeys:d}=e,o=Object.keys(d);for(let e=0,{length:s}=o;e<s;e+=1){const s=o[e];d[s]&&!t[s]&&a.push(s)}return a}(e,s);!function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ps(eo(e,t[a]),!0)}(e,r),function(e,t){for(let a=0,{length:d}=t;a<d;a+=1)Ps(eo(e,t[a]),!1)}(e,n),e.selectedRowsKeys=s;const{length:i}=o;i===a&&ho(e)?Es(e):i<a&&d===a&&Ds(e)}else Ms(e)}function Ws(e,t){const a={};for(let d=0,{length:o}=e;d<o;d+=1){a[e[d][t]]=!0}return a}function Ns(e){const{lastSelectedRowKey:t}=e;return void 0!==t&&void 0!==eo(e,t)?t:void 0}function Hs(e,t){const a=ho(e),d=a?io:lo,{rows:o}=e;let s,r=!1;e.renderModeInline&&!e.hideCheckboxColumn&&(r=!0,s=e.showRowNumberColumn?1:0);for(let n=0,{length:i}=o;n<i;n+=1){const i=o[n];i.inputType=d,i.isDisabled=co(e,i.key),r&&Io(e,i.cells[s],a,t)}}function Fs(e){const t=e.columns||{};for(let a=0;a<t.length;a+=1){const d=t[a];if(d.type===ro){const{maxRowSelection:o,rows:{length:s}}=e,r=o&&o<s?o:s,n=uo(e),i=Object.assign({},d);return i.bulkSelection=n?n===r?"all":"some":"none",i.isBulkSelectionDisabled=0===o||0===s,void(t[a]=i)}}}function Bs(e,t,a){const d=t===Gd?0:Jd(e,t),o=Jd(e,a);return{start:Math.min(d,o),end:Math.max(d,o)}}function js(e,t,a){const d=Zd(e,t,a);d&&(d.ariaSelected="true")}function Os(e,t,a){const d=Zd(e,t,a);d&&(d.ariaSelected=!1)}function Ps(e,t){e.ariaSelected=t,e.classnames="kdds-hint-parent"+(t?" kdds-is-selected":""),e.isSelected=t}const Us=new Set(["action","boolean","button","button-icon","date-local","rowNumber"]),qs={clipText:M.clipText,wrapText:M.wrapText};function Qs(e){if(function(e){Us.has(e.type)?e.wrapText=!1:e.wrapText=W(e.wrapText)}(e),e.hideDefaultActions||Us.has(e.type))return[];const t=e.wrapText||!1,{clipText:a,wrapText:d}=qs;return[{label:d,title:d,checked:t,name:"wrapText"},{label:a,title:a,checked:!t,name:"clipText"}]}function Ys(e,t,a){const{name:d}=t,o="wrapText"===d;if(o||"clipText"===d){const{state:t}=e,d=Co(t,a),s=t.columns[d];s.wrapText!==o&&(t.shouldResetHeights=!0,s.wrapText=o,function(e,t){const a=Co(e,t);if(-1===a)return;const{columns:d}=e,o=d[a],{internalActions:s}=o.actions;for(let e=0;e<s.length;e+=1){const t=s[e],{name:a}=t;"wrapText"===a?t.checked=o.wrapText:"clipText"===a&&(t.checked=!o.wrapText)}(function(e,t){const{data:a,rows:d}=e;for(let o=0;o<d.length;o+=1)as(e,o,t,a[o])})(e,a),o.actions=Object.assign({},o.actions)}(t,a))}e._recalculateHeaderHeight=!0}function Xs(e){e.stopPropagation();const{action:t,actionType:a,colKeyValue:d}=e.detail;"customer"!==a&&Ys(this,t,d),function(e,t,a){const d=wo(e.state,a),s=e.columns[d];e.dispatchEvent(new CustomEvent("headeraction",{detail:{action:o(t),columnDefinition:o(s)}}))}(this,t,d)}function Gs(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 Zs(){this._actionsMinHeightStyle=""}function Js(e,t,a){e.dispatchEvent(new CustomEvent("privatetogglecell",{bubbles:!0,composed:!0,cancelable:!0,detail:{name:t,nextState:!a}}))}function er(e){const{firstVisibleIndex:t}=e,a=Math.max(t-e.bufferSize,0),d=[0],o=e.offsets[a];if(d[a]=o,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=o+d}}function tr(e,t,a,d){const o={start:a[0].rowIndex,end:a[a.length-1].rowIndex+1};let s,r=0;const n=function(e,t){let a=0,d=e.length-1;for(;a<=d;){const o=Math.floor((a+d)/2),s=e[o].start<=t,r=e[o+1]&&e[o+1].start<=t;if(s&&!r)return o;s?a=o+1:d=o-1}return-1}(t.offsetRanges,o.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===o.start&&e++,t.heightCache[d.key]=e,or(t,d,n,e),r+=e-t.rowHeight,s=d.rowIndex+2}}}t.tableHeight+=r,function(e,t,a,d,o){const{offsets:s,offsetRanges:r}=e,n=r[t],i=r[t+1],l=n&&sr(n,a),c=i&&sr(a,i);if(c&&o)for(let e=d;e<=i.end;e++)s[e]=s[e]+o;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++)s[e]=s[e]+o}}(t,n,o,s,r),function(e,t,a,d){const o=d?.scrollerY||e.querySelector(".kdds-scrollable_y");o.scrollTop=t.offsets[t.firstVisibleIndex]+t.firstRowOffset;const s=!!a[0].rowIndex;a.forEach((e,a)=>{let d=t.offsets[e.rowIndex];s&&!a&&(d+=1),e.style=`position:absolute;top:${d}px;`})}(e,t,a,d)}function ar(e,t){const{offsetRanges:a,offsets:d,rowHeight:o}=e;let s=0,r=a.length-1;for(;s<=r;){const n=Math.floor((s+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 dr(e,i,t);if(p){const a=t-u,d=Math.floor(a/o);return e.firstRowOffset=a%o,i.end+d}t<c?r=n-1:s=n+1}return-1}function dr(e,t,a){let{start:d,end:o}=t;const{offsets:s}=e;for(;d<=o;){const t=Math.floor((d+o)/2),r=s[t]<=a,n=s[t+1]&&s[t+1]<=a;if(r&&!n)return e.firstRowOffset=a-s[t],t;r?d=t+1:o=t-1}return-1}function or(e,t,a,d){const o=e.offsetRanges[a];let s=e.offsets[t.rowIndex];if(!s&&(s=0,o)){s=e.offsets[o.end]+(t.rowIndex-o.end)*e.rowHeight,e.offsets[t.rowIndex]=s}e.offsets[t.rowIndex+1]=s+d}function sr(e,t){return e.start<=t.start&&t.start<=e.end||e.start<=t.end&&t.end<=e.end}const rr="NAVIGATION",nr="ACTION",ir=N()?{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 lr(e){e.stopPropagation(),function(e,t){const{refs:a,state:d,template:o}=e;switch(t.detail.keyCode){case 37:ur(d,o,a,t);break;case 39:br(d,o,a,t);break;case 38:hr(d,o,a,t);break;case 40:kr(d,o,a,t);break;case 13:case 32:pr(d,o,a,t);break;case 27:mr(d,o,a,t);break;case 9:gr(d,o,a,t)}}(this,e)}function cr(e){Z(e.target)&&function(e,t){const{refs:a,state:d,template:o}=e,{activeCell:{colKeyValue:s,rowKeyValue:r}}=d,{keyCode:n,shiftKey:i}=t,l={detail:{colKeyValue:s,rowKeyValue:r,keyCode:n,shiftKey:i},preventDefault:()=>{},stopPropagation:()=>{}};switch(t.keyCode){case 37:t.preventDefault(),ur(d,o,a,l);break;case 39:t.preventDefault(),br(d,o,a,l);break;case 38:t.preventDefault(),hr(d,o,a,l);break;case 40:t.preventDefault(),kr(d,o,a,l);break;case 13:case 32:t.preventDefault(),pr(d,o,a,l);break;case 27:l.detail.keyEvent=t,mr(d,o,a,l);break;case 9:gr(d,o,a,l)}}(this,e)}function ur(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Zd(e,o,s);if(0===r&&function(e){return e.keyboardMode===rr&&e.treeColumn}(e))Br(e,t),function(e){e.treeColumn&&e.keyboardMode===rr&&(e.rowMode=!0)}(e),Pr(e,t,a);else{const d=function(e,t){return N()?dn(e.columns.length,t):on(t)}(e,r);if(void 0===d)return;Br(e,t),e.activeCell=Zd(e,o,e.columns[d].colKeyValue),Fr(e,t,a,ir.LEFT)}}function br(e,t,a,d){const{rowKeyValue:o,colKeyValue:s}=d.detail,{colIndex:r}=Zd(e,o,s),n=function(e,t){return N()?on(t):dn(e.columns.length,t)}(e,r);void 0!==n&&(Br(e,t),e.activeCell=Zd(e,o,e.columns[n].colKeyValue),Fr(e,t,a,ir.RIGHT))}function hr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Zd(e,o,s),i=function(e,t){return-1===t?void 0:t-1}(0,n);void 0===i||e.hideTableHeader&&-1===i||(r&&r.stopPropagation(),Br(e,t),e.activeCell=Zd(e,-1===i?Gd:e.rows[i].key,s),Fr(e,t,a,ir.USE_CURRENT))}function kr(e,t,a,d){const{rowKeyValue:o,colKeyValue:s,keyEvent:r}=d.detail,{rowIndex:n}=Zd(e,o,s),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(),Br(e,t),e.activeCell=Zd(e,-1===i?Gd:e.rows[i].key,s),Fr(e,t,a,ir.USE_CURRENT))}function pr(e,t,a,d){if(e.keyboardMode===rr){e.keyboardMode=nr;const{keyCode:a,keyEvent:o}=d.detail,{rowIndex:s,colIndex:r}=e.activeCell;o&&o.preventDefault();const n={action:void 0};32===a?n.action="space":13===a&&(n.action="enter"),Tr(e,t,n),Jr(e,s,r,-1)}}function mr(e,t,a,d){e.keyboardMode===nr&&(d.detail.keyEvent.stopPropagation(),e.keyboardMode=rr,Tr(e,t),Fr(e,t,a,ir.RESET))}function gr(e,t,a,d){d.preventDefault(),d.stopPropagation();const{detail:o}=d,s=o.shiftKey?"BACKWARD":"FORWARD";const r=function(e,t){const{rowIndex:a,colIndex:d}=e.activeCell,{nextRowIndex:o,nextColIndex:s}=yr(e,t);if(-1===a&&0===d&&-1!==o&&0!==s||-1!==a&&-1===o&&0===s)return!0;return!1}(e,s);if(e.keyboardMode===nr)if(!1===r){const{keyEvent:d}=o;d&&d.preventDefault(),"BACKWARD"===s?fr(e,t,a):vr(e,t,a)}else e.keyboardMode=rr,Tr(e,t),e.isExitingActionMode=!0;else e.isExitingActionMode=!0}function vr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=yr(e,"FORWARD");Br(e,t),e.activeCell=Zd(e,-1===o?Gd:e.rows[o].key,e.columns[d].colKeyValue),Fr(e,t,a,ir.TAB_FORWARD,{action:"tab"})}function fr(e,t,a){const{nextColIndex:d,nextRowIndex:o}=yr(e,"BACKWARD");Br(e,t),e.activeCell=Zd(e,-1===o?Gd:e.rows[o].key,e.columns[d].colKeyValue),Fr(e,t,a,ir.TAB_BACKWARD,{action:"tab"})}function yr(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:sn(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:rn(e,t),nextColIndex:0}}(e,a,d)}function _r(e,t){const{refs:a,state:d,template:o}=e,{localName:s}=t.target;if(s&&-1!==s.indexOf("tr")&&nn(d))switch(t.detail.keyCode){case 37:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n,rowLevel:i}=o.detail;if(r&&n)Js(e,s,n);else if(i>1){const{treeColumn:e}=t;if(e){const{colKeyValue:o}=e,{rowIndex:r}=Zd(t,s,o),n=function(e,t,a){const d=a-1,{rows:o}=e;for(let e=d;e>=0;e--)if(o[e].level===t-1)return e;return-1}(t,i,r);-1!==n&&(Ur(t,a),t.activeCell=Zd(t,t.rows[n].key,o),Pr(t,a,d))}}}(e,d,o,a,t);break;case 39:!function(e,t,a,d,o){const{rowKeyValue:s,rowHasChildren:r,rowExpanded:n}=o.detail;r&&!n?Js(e,s,n):(Ur(t,a),ln(t),Fr(t,a,d,ir.USE_CURRENT))}(e,d,o,a,t);break;case 38:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Zd(e,o,d),n=sn(e,s);-1!==n&&(Ur(e,t),e.activeCell=Zd(e,e.rows[n].key,d),Pr(e,t,a))}}(d,o,a,t);break;case 40:!function(e,t,a,d){const{rowKeyValue:o,keyEvent:s}=d.detail,{treeColumn:r}=e;if(s.stopPropagation(),s.preventDefault(),r){const{colKeyValue:d}=r,{rowIndex:s}=Zd(e,o,d),n=rn(e,s);-1!==n&&(Ur(e,t),e.activeCell=Zd(e,e.rows[n].key,d),Pr(e,t,a))}}(d,o,a,t)}}function xr(e){e.activeCell=function(e){const{columns:t}=e,{length:a}=t;if(a){let d=0,o=!1;for(let e=0;e<a;e+=1)if(d=e,!0!==t[e].internal){o=!0;break}o||(d=0);const{rows:s}=e;return Zd(e,s.length>0?s[0].key:Gd,t[d].colKeyValue)}}(e)}function wr(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="${Sd(e)}"]`}(a)}`);return d||void 0}(e,a.rowKeyValue,a.colKeyValue):void 0}function Cr(e,t,a){const{activeCell:d}=e;if(d){const{rowKeyValue:e,colKeyValue:o}=d;return e.toString()===t.toString()&&o===a}return!1}function Ar(e){const{activeCell:t}=e;if(e.hasReceivedFocus)t&&Rr(e)||(t&&e.cellToFocusNext?function(e){const{rowIndex:t,colIndex:a}=e.cellToFocusNext,{columns:d,rows:o}=e,{length:s}=o;let r=t;r>s-1&&(r=s-1);const{length:n}=d;let i=a;i>n-1&&(i=n-1);const l=function(e,t,a){const{columns:d,rows:o}=e;if(o.length>t&&d.length&&d.length>a){const s=-1===t?Gd:o[t].key,{colKeyValue:r}=d[a];return e.indexes[`${s}-${r}`]}}(e,r,i);l?e.activeCell=l:xr(e);e.keyboardMode=rr}(e):xr(e));else{if(t&&Rr(e)){const{rowIndex:a,colIndex:d}=t;Jr(e,a,d,-1)}xr(e)}}function Tr(e,t,a){const d=zr(wr(t,e));if(d){const{keyboardMode:t}=e;"function"==typeof d.setMode?d.setMode(t,a):Hr(e.activeCell,d,t,a)}}function Rr(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 zr(e){return e?e.firstElementChild:void 0}function Lr(e){return e.closest('[role="gridcell"],[role="columnheader"],[role="rowheader"]')||void 0}function Ir(e){return e.currentInputIndex>0}function $r(e){const{actionableElementsCount:t}=e;return t>1&&e.currentInputIndex<t-1}function Sr(e,t,a){const{rowKeyValue:d,colKeyValue:o}=e,{keyCode:s,shiftKey:r}=a;t.dispatchEvent(new CustomEvent("privatecellkeydown",{bubbles:!0,composed:!0,cancelable:!0,detail:{rowKeyValue:d,colKeyValue:o,keyCode:s,shiftKey:r,keyEvent:a}}))}function Mr(e){const{state:t}=this,a=t.renderModeInline?Lr(e.target):void 0;if(a){const e=zr(a);!function(e,t){const{rowKeyValue:a,colKeyValue:d}=e;t.dispatchEvent(new CustomEvent("privatecellfocusedbyclick",{bubbles:!0,composed:!0,detail:{rowKeyValue:a,colKeyValue:d}}))}(Zd(t,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue),e)}}function Vr(e){const{state:t}=this,a=t.renderModeInline?Lr(e.target):void 0;if(a){const e=zr(a),t=Zd(this.state,a.parentElement.dataset.rowKeyValue,a.dataset.colKeyValue);t.keyboardMode===nr&&Nr(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")?Lr(e.target):void 0;if(void 0===d)return;const o=zr(d),s=Zd(t,d.parentElement.dataset.rowKeyValue,d.dataset.colKeyValue),{keyboardMode:r}=s,{keyCode:n,shiftKey:i}=e;if(r===nr){let t=n!==G.shift;n===G.left?function(e){return N()?$r(e):Ir(e)}(s)&&(e.preventDefault(),N()?Kr(s,o):Wr(s,o),t=!1):n===G.right?function(e){return N()?Ir(e):$r(e)}(s)&&(e.preventDefault(),N()?Wr(s,o):Kr(s,o),t=!1):n===G.tab&&(i?Ir(s)&&(e.preventDefault(),Wr(s,o),t=!1):$r(s)&&(e.preventDefault(),Kr(s,o),t=!1)),t&&Sr(s,o,e)}else r===rr&&(n!==G.left&&n!==G.right&&n!==G.up&&n!==G.down&&n!==G.enter||Sr(s,o,e))}function Dr(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 Kr(e,t){Nr(e,t,e.currentInputIndex+1)}function Wr(e,t){Nr(e,t,e.currentInputIndex-1)}function Nr(e,t,a){const d=Dr(t),{length:o}=d;e.actionableElementsCount=o,o&&(a>0&&a<o?(d[a].focus(),e.currentInputIndex=a):(d[0].focus(),e.currentInputIndex=0))}function Hr(e,t,a,d){const o=d||{action:"none"};if(e.keyboardMode=a,a===nr){e.internalTabIndex=0,setTimeout(()=>{Nr(e,t,e.currentInputIndex)},0);const a=Dr(t),{length:d}=a;if("tab"===o.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(o.action)&&e.click()}}else e.internalTabIndex=-1}function Fr(e,t,a,d,o,s=!0){const{keyboardMode:r}=e,{rowIndex:n,colIndex:i}=e.activeCell;let l,c=wr(t,e);e.activeCell.hasFocus=!(o&&bn(e)),Jr(e,n,i),s&&!c&&bn(e)?(!function(e,t,a,d){const{firstVisibleIndex:o,bufferSize:s,renderedRowCount:r,rowHeight:n}=e;let i=d*n;if(o>d){const e=r-2*s;i=Math.max(i-e*n,0)}const l=Wd(t,a);l.scrollTop=i,ar(e,i)}(e,t,a,n),l=function(e,t){return new Promise(a=>{const d=Date.now(),o=setInterval(()=>{(wr(e,t)||d-Date.now()>1e3)&&(clearInterval(o),a())},0)})}(t,e)):l=Promise.resolve();const u=c&&c.parentElement.dataset.rowKeyValue;return l.then(()=>new Promise(a=>{setTimeout(()=>{if(c&&ao(e,u,c.dataset.colKeyValue)||(c=wr(t,e)),c){const t=zr(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}=Dr(t);e.currentInputIndex=a?a-1:0}else 1!==a&&2!==a||(e.currentInputIndex=0);d===nr&&e.keyboardMode===nr&&Nr(e,t,e.currentInputIndex)}(a,c,d,r)),"function"==typeof t.addFocusStyles&&t.addFocusStyles()),c.classList.add(C),c.focus({preventScroll:!s}),t&&("function"==typeof t.setMode?t.setMode(r,o):Hr(a,t,r,o))}a()},0)}))}function Br(e,t){const{activeCell:a}=e;if(a){const{rowIndex:d,colIndex:o}=a;e.activeCell.hasFocus=!1;let s=wr(t,e);const r=s&&s.parentElement.dataset.rowKeyValue;setTimeout(()=>{if(s&&ao(e,r,s.dataset.colKeyValue)||(s=wr(t,e)),s){const{activeElement:t}=document,a=zr(s);a&&("function"==typeof a.removeFocusStyles?(t===a&&a.blur(),a.removeFocusStyles(!0)):(e.activeCell.internalTabIndex=-1,s.contains(t)&&s.blur())),s.classList.remove(C)}},0),Jr(e,d,o,-1)}}function jr(e,t){const{activeCell:a}=e;if(a&&!e.cellToFocusNext&&qr(e,t)){const{length:t}=e.rows,d=t-1,{length:o}=e.columns;let{rowIndex:s,colIndex:r}=a;r=0,s===d&&(s=d,r=o?o-1:0),e.cellToFocusNext={rowIndex:s,colIndex:r}}}function Or(e){e.activeCell&&e.cellToFocusNext&&Rr(e)&&(e.cellToFocusNext=null)}function Pr(e,t,a){const{rowIndex:d}=e.activeCell,o=un(t,e);en(e,d),setTimeout(()=>{o.focus({preventScroll:!0}),function(e,t,a,d){const o=Wd(t,a),s=o.parentElement.getBoundingClientRect(),r=d.getBoundingClientRect();r.top<s.top+80?o.scrollTop-=20:r.bottom>s.bottom-80&&(o.scrollTop+=20);ar(e,o.scrollTop)}(e,t,a,o)},0)}function Ur(e,t){const{activeCell:a}=e;a&&(setTimeout(()=>{const a=un(t,e);document.activeElement===a&&a.blur()},0),en(e,a.rowIndex,-1))}function qr(e,t){return e.cellClicked||Qr(t)}function Qr(e){const t=J();for(let a=0,{length:d}=t;a<d;a+=1)if(e.contains(t[a]))return!0;return!1}function Yr(e){const{state:t}=this;if(t.hasReceivedFocus=!0,t.isExitingActionMode=!1,Qr(e.currentTarget)&&Z(e.target)){if(t.activeCell&&!t.rowMode){t.activeCell.hasFocus=!0;const e=wr(this.template,t);if(e){const a=zr(e);a&&("function"==typeof a.addFocusStyles&&a.addFocusStyles(),e.tabIndex=0),e.classList.add(C),this._suppressScroll?this._suppressScroll=!1:Xr(t,this.template,this.refs,e)}}!function(e){e.cellClicked=!1}(t)}}function Xr(e,t,a,d){if(e.activeCell?.colIndex===e.columns?.length-1){const e=Kd(t,a);e.scrollLeft=e.scrollWidth}else{const e=a?.outerContainer||t.querySelector("div.dt-outer-container"),o=d.getBoundingClientRect(),s=e.getBoundingClientRect();(o.left<s.left||o.right>s.right)&&d.scrollIntoView({block:"nearest",inline:"nearest"})}}function Gr(e){const{state:t}=this,{currentTarget:a,relatedTarget:d}=e,o=d&&a.contains(d);if((!d||d&&!o||d&&o&&t.isExitingActionMode)&&t.activeCell&&!t.rowMode){const e=wr(this.template,t);if(e){const t=zr(e);t&&"function"==typeof t.removeFocusStyles&&t.removeFocusStyles(),e.classList.remove(C)}}}function Zr(e){e.cellClicked=!0}function Jr(e,t,a,d=0){cn(t)?e.columns[a].tabIndex=d:e.rows[t].cells[a].tabIndex=d}function en(e,t,a=0){cn(t)||(e.rows[t].tabIndex=a)}function tn(e,t=0){e.activeCell&&!Rr(e)&&Ar(e),hn(e,t)}function an(e,t=0){e.activeCell&&!Rr(e)&&Ar(e),function(e,t=0){const{activeCell:a}=e;a&&nn(e)&&en(e,a.rowIndex,t)}(e,t)}function dn(e,t){return e>t+1?t+1:void 0}function on(e){return e>0?e-1:void 0}function sn(e,t){const{length:a}=e.rows;return-1===t?a-1:t-1}function rn(e,t){const{length:a}=e.rows;return t+1<a?t+1:-1}function nn(e){return e.keyboardMode===rr&&!0===e.rowMode}function ln(e){e.rowMode=!1}function cn(e){return-1===e}function un(e,t){let a;const{activeCell:d}=t;return d&&(a=e.querySelector(Ed(d.rowKeyValue))),a||void 0}function bn(e){const{activeCell:t}=e;return!!t&&ao(e,t.rowKeyValue,t.colKeyValue)}function hn(e,t=0){const{activeCell:a}=e;a&&!nn(e)&&Jr(e,a.rowIndex,a.colIndex,t)}const kn='[data-iedit-panel="true"]';function pn(e){_n(this,Lr(e.target))}function mn(e){Cn(this);const{reason:t,rowKeyValue:a,colKeyValue:d}=e.detail;yn(this,t,a,d),this._draftValues=this.draftValues}function gn(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 o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&js(e,s,t)}}(t);else{const{inlineEdit:e}=t;zn(this.state),js(t,e.rowKeyValue,e.colKeyValue)}}function vn(e){const{state:t}=this,{inlineEdit:a}=t,{isPanelVisible:d}=a;if(!d)return;let o=0;const{target:s}=e;if(s.classList.contains("kdds-scrollable_y")){const e=s.scrollTop;null==this._lastScrollY?this._lastScrollY=e:s.scrollHeight>s.offsetHeight&&(o=Math.abs(this._lastScrollY-e))}else{const e=s.scrollLeft;null==this._lastScrollX?this._lastScrollX=e:s.scrollWidth>s.offsetWidth&&(o=Math.abs(this._lastScrollX-e))}if(o>5){const{rowKeyValue:e,colKeyValue:t}=a;this._lastScrollX=null,this._lastScrollY=null,Cn(this),yn(this,"lost-focus",e,t)}else r=this,requestAnimationFrame(()=>{const{_positionRelationship:e}=r;e&&e.reposition()});var r}function fn(e){const{inlineEdit:t}=e.state;t.isPanelVisible&&yn(e,"lost-focus",t.rowKeyValue,t.colKeyValue)}function yn(e,t,a,d){const{state:o,template:s,refs:r}=e,{inlineEdit:n}=o;if(ao(o,a,d)&&"edit-canceled"!==t&&!("lost-focus"===t&&n.massEditEnabled)){const t=s.querySelector(kn),r=t.validity.valid,n=Zd(o,a,d).value,{isMassEditChecked:i,value:l}=t;if(r&&(l!==n||i)){const t={[a]:{[d]:l}};if(i){const e=bo(o);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 o=d[e];Object.prototype.hasOwnProperty.call(a,o)||(a[o]={}),Object.assign(a[o],t[o])}}(o,t),function(e,t){e.dispatchEvent(new CustomEvent("cellchange",{detail:{draftValues:Tn(e.state,t)}}))}(e,t),es(o,e._privateTypes)}}"lost-focus"!==t&&("tab-pressed-next"===t?vr(o,s,r):"tab-pressed-prev"===t?fr(o,s,r):Fr(o,s,r,ir.USE_CURRENT)),zn(o),Os(o,a,d),n.isPanelVisible=!1}function _n(e,t){!function(e,t){requestAnimationFrame(()=>{Cn(e),e._positionRelationship=ge(e,{target:t,element:()=>e.template.querySelector(kn).getPositionedElement(),autoFlip:!0,align:{horizontal:ve.Left,vertical:ve.Top},targetAlign:{horizontal:ve.Left,vertical:ve.Top}})})}(e,t);const{state:a,template:d,_privateTypes:o}=e,{inlineEdit:s}=a;s.isPanelVisible&&yn(e,"lost-focus",s.rowKeyValue,s.colKeyValue);const{rowKeyValue:r}=t.parentElement.dataset,{colKeyValue:n}=t.dataset,i=Zd(a,r,n),{colIndex:l}=i,c=a.columns[l];s.isPanelVisible=!0,s.rowKeyValue=r,s.colKeyValue=n,s.columnDef=c,s.editedValue=i.value,s.customErrorValidationMessage=i.customErrorValidationMessage,s.massEditSelectedRows=uo(a),s.massEditEnabled=s.massEditSelectedRows>1&&function(e,t){return!!e.selectedRowsKeys[t]}(a,r),s.cellRect=t.getBoundingClientRect();const{typeAttributes:u}=c||{};u&&(s.resolvedTypeAttributes=function(e,t,a,d,o){const s=e.columns[a],r=o&&d.getType(s.type),n=r&&r.typeAttributes;if(n){const a={},{length:d}=n,s=d?to(e,t):void 0;if(s)for(let e=0;e<d;e+=1){const t=n[e],d=o[t];d&&(a[t]=Rn(s,d))}return a}return o}(a,r,l,o,u)),js(a,r,n),setTimeout(()=>{const t=d.querySelector("kd-primitive-datatable-iedit-panel");t.isEditableValid?t.focus():yn(e,"edit-canceled",s.rowKeyValue,s.colKeyValue)},0)}function xn(e){const{state:t}=e;if(t.data&&t.data.length>0)if(function(e){const{activeCell:t}=e;return!!t&&t.editable}(t))wn(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:o}=d;if(o>0){const{rows:e}=t;for(let a=0;a<e.length;a+=1){const s=e[a],{key:r}=s;for(let e=0;e<o;e+=1){const{colKeyValue:a}=d[e],o=Zd(t,r,a);if(o&&o.editable)return o}}}return}(e);a&&(t.activeCell=a,wn(e))}}async function wn(e){const{state:t,template:a,refs:d}=e;await Fr(t,a,d,ir.USE_CURRENT);_n(e,wr(a,t))}function Cn(e){const{_positionRelationship:t}=e;t&&(me(t),e._positionRelationship=void 0)}function An(e,t){const{columns:a,keyField:d}=e,o=Array.isArray(t)?t:[],s={};for(let e=0;e<o.length;e+=1){const t=o[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 o=a[e];if(o.columnKey===d||!o.columnKey&&o.fieldName===d){n[o.colKeyValue]=t[d];break}}}delete n[d],s[t[d]]=n}e.inlineEdit.dirtyValues=s}function Tn(e,t){const{columns:a,keyField:d}=e,o=[],s=Object.keys(t);for(let r=0,{length:n}=s;r<n;r+=1){const n=s[r],i=t[n],l=Object.keys(i),{length:c}=l;if(c){const t={};for(let d=0;d<c;d+=1){const o=l[d],s=Co(e,o);if(-1!==s){const{name:e}=a[s];t[e]=i[o]}}t[d]=n,o.push(t)}}return o}function Rn(e,t){let a={};if(!Md(t))return void 0===t?a:t;if(Array.isArray(t))return t.map(t=>Rn(e,t));const d=Object.keys(t);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o],r=t[s];if(void 0!==r)if("fieldName"===s)a=e[r];else if(Md(r)){const{fieldName:t}=r;a[s]=t?e[t]:Rn(e,r)}else a[s]=r}return a}function zn(e){const{colKeyValue:t}=e.inlineEdit,{selectedRowsKeys:a}=e,d=Object.keys(a);for(let o=0,{length:s}=d;o<s;o+=1){const s=d[o];a[s]&&Os(e,s,t)}}function Ln(e,t){e.renderModeRoleBased?e.virtualize=X(t,{fallbackValue:"",validValues:["vertical"]}):e.virtualize=""}class In{constructor(){this.threshold=305,this.wrapperHeight=0,this.previousCache={renderedRowCount:0,totalRowCount:0,firstRowKey:""}}configure(e,t,a){const{rowHeight:d,bufferSize:o}=a;Ln(e,a.virtualize),function(e,t){e.enableViewportRendering=W(t)}(e,a.viewportRendering),(e.virtualize||e.enableViewportRendering)&&this.initializeResizeObserver(e,t);const s=void 0!==o?o:5;e.bufferSize=Hd("bufferSize",s,"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:o,rowHeight:s,heightCache:r}=e,n=Math.max(t-a,0);let i=t-a+d;if(r[o[t]&&o[t].key]){let e=t,d=0,n=o[e]&&r[o[e].key];for(;n&&d<this.wrapperHeight;)d+=n,e+=1,n=o[e]&&r[o[e].key];if(d>=this.wrapperHeight)i=e+a;else{i=e+Math.ceil((this.wrapperHeight-d)/s)+a}}return d===o.length&&i<=o.length-a&&(i=d),{firstIndex:n,lastIndex:i}}updateRenderedRows(e,t){const{rows:a}=e,d=a.length,o=t?Math.min(t,d):d;e.enableViewportRendering?e.renderedRowCount<o&&(e.renderedRowCount=o,this.previousCache.renderedRowCount=o):(e.renderedRowCount=o,this.previousCache.renderedRowCount=o),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 ne(()=>{if(this._resizeObserverConnected){this.updateWrapperHeight(t);const a=this.getRowCountWithBuffer(e);er(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 Fd(e)<=this.threshold}hasDataChanged(e){return e.length>0&&this.previousCache.firstRowKey!==e[0].key}hasWrapperHeight(){return!!this.wrapperHeight}}function $n(e){const{columns:t,defaultSortDirection:a,sortedBy:d,sortedDirection:o}=e,s=Array.isArray(d);for(let e=0,{length:r}=t;e<r;e+=1){const r=t[e];if(r.sortable&&s&&d.includes(r.name)&&o){const e=d.indexOf(r.name),t=o[e];r.sorted=e+1,r.sortAriaLabel="desc"===t?"descending":"ascending",r.sortedDirection=t}else r.sortable&&!s&&d===r.name?(r.sorted=!0,r.sortAriaLabel="desc"===o?"descending":"ascending",r.sortedDirection=o):(r.sorted=!1,r.sortAriaLabel=r.sortable?"other":null,r.sortedDirection=a)}}const{PrivateLookupItemPickedEvent:Sn}=E,Mn={ariaLiveNavigationMode:M.ariaLiveNavigationMode,ariaLiveActionMode:M.ariaLiveActionMode},{setContext:Vn,assertContext:En}=te;class Dn extends fe{get columnWidthsMode(){return this.widthsData.columnWidthsMode}set columnWidthsMode(e){const{widthsData:t}=this,a=X(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:o,keyField:s}=e,r=new Set(a);d&&r.size!==o.length&&o.forEach(e=>{r.add(e[s])}),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:o}=a,s=Bd(e),r=function(e,t){const a=Bd(e),d=Bd(t);try{return!(!a.length||!d.length)&&JSON.stringify(a[0])===JSON.stringify(d[0])}catch(e){return!1}}(d,s);a.data=s,!r&&s.length&&o?.length&&this._columnWidthManager.handleDataChange(o),"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,s):(a.heightCache={},a.offsets=[0],a.offsetRanges=[{start:0,end:0}],a.firstVisibleIndex=0,a.tableHeight=a.rowHeight*s.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),$n(t)}get draftValues(){return Tn(e=this.state,e.inlineEdit.dirtyValues);var e}set draftValues(e){const{state:t}=this;this._draftValues=e,An(t,e),this.isConnected&&"string"==typeof t.keyField&&this.updateRowsAndCells(),hn(t)}get enableInfiniteLoading(){return this.state.enableInfiniteLoading}set enableInfiniteLoading(e){const{state:t}=this;!function(e,t){e.enableInfiniteLoading=W(t)}(t,e),this.isConnected&&Xd.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&&ts(t)}get hideCheckboxColumn(){return this.state.hideCheckboxColumn}set hideCheckboxColumn(e){const{_rawColumns:t,state:a}=this,d=W(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,fo({state:a,rawColumns:t,types:this._privateTypes,expandable:this._expandable}))}get showActionsMenu(){return this.state.showActionsMenu}set showActionsMenu(e){const{state:t}=this,a=W(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=W(e)}get wrapTableHeader(){return this.state.wrapTableHeader}set wrapTableHeader(e){const t=this.state.wrapTableHeader,a=X(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=W(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),An(t,this._draftValues),this.isConnected&&this.updateRows()}get loadMoreOffset(){return Qd(this.state)}set loadMoreOffset(e){!function(e,t){Nd(t),e.loadMoreOffset=Nd(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=Hd("maxColumnWidth",a,"non-negative",jd.maxColumnWidth),Pd(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=uo(t);!function(e,t,a){const d=bo(e);if(Ms(e),Nd(t)){const o=e.maxRowSelection,s=Number(t);e.maxRowSelection=s;const r=Math.min(d.length,s);for(let t=0;t<r;t+=1)Vs(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)})(o,s)&&(Hs(e,a),Fs(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){X(t,{fallbackValue:lo,validValues:[io,lo]})!==e.singleRowSelectionMode&&(e.singleRowSelectionMode=t,Hs(e,a),Fs(e))}(t,e,this._datatableId)}get minColumnWidth(){return this.widthsData.minColumnWidth}set minColumnWidth(e){const{widthsData:t}=this;!function(e,t,a){t.minColumnWidth=Hd("minColumnWidth",a,"non-negative",jd.minColumnWidth),Pd(e,t)}(this.state.columns,t,e),this._columnWidthManager.minColumnWidth=t.minColumnWidth}get renderConfig(){return this._renderConfig}set renderConfig(e){Md(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=X(e,{fallbackValue:"default",validValues:["default","inline","role-based","role-based-inline"]}),o=function(e){return Id.test(e)}(d),s=function(e){return $d.test(e)}(d);this._renderMode=d,a.hasRenderedFirstTime=!1,a.hasRenderedTable=!1,a.renderModeInline=o,a.renderModeRoleBased=s,this.isConnected&&this.updateRowsAndCells(),t&&Ln(a,t.virtualize),ss(a)}get resizeColumnDisabled(){return this.widthsData.resizeColumnDisabled}set resizeColumnDisabled(e){!function(e,t){e.resizeColumnDisabled=W(t)}(this.widthsData,e)}get resizeStep(){return this.widthsData.resizeStep}set resizeStep(e){!function(e,t){e.resizeStep=Hd("resizeStep",t,"non-negative",jd.resizeStep)}(this.widthsData,e)}get rowNumberOffset(){return this.state.rowNumberOffset}set rowNumberOffset(e){const{state:t}=this;!function(e,t){e.rowNumberOffset=Hd("rowNumberOffset",t,"non-negative",0)}(t,e),this._columnWidthManager.handleRowNumberOffsetChange(t,this.widthsData)}get selectedRows(){return bo(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=W(e),this.isConnected?this.updateColumns(a):a&&(t.hadTreeDataTypePreviously=!1,t.treeColumn=void 0,fo({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),$n(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),$n(t)}get suppressBottomBar(){return this._suppressBottomBar}set suppressBottomBar(e){this._suppressBottomBar=W(e)}get wrapTextMaxLines(){return this.state.wrapTextMaxLines}set wrapTextMaxLines(e){const{state:t}=this;!function(e,t){e.wrapTextMaxLines=Hd("wrapTextMaxLines",t,"positive",void 0),e.shouldResetHeights=!0}(t,e),this._columnWidthManager.wrapTextMaxLines=t.wrapTextMaxLines,this.isConnected&&ts(t)}focus(){const{state:e}=this;Ar(e),Fr(e,this.template,this.refs)}getSelectedRows(){const{state:e}=this;let t;e.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),t=ie?o(e.data):e.data;const{rows:a}=e,d=[];for(let e=0,{length:o}=a;e<o;e+=1){a[e].isSelected&&d.push(t[e])}return d}openInlineEdit(){this.state.hasCalledUpdateRowsAndCells||this.updateRowsAndCells(),xn(this)}scrollToTop(){const e=Wd(this.template,this.validRefs);e&&(e.scrollTop=0)}get gridContainer(){return ie?Dd(Wd(this.template,this.validRefs)):null}get computedTableContainerClass(){return K({"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 K({"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&&Fo(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:o}=e;a+=`counter-reset: row-number ${Math.max(d-o,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===rr;return K({"kdds-hide":!e,"kdds-assistive-text":e})}get computedAriaLiveClassForActionMode(){const e=this.state.keyboardMode===nr;return K({"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 ho(this.state)}get showStatusBar(){return!this._suppressBottomBar&&(e=this.state,ee(e.inlineEdit.dirtyValues));var e}get tableError(){return this.state.errors.table}get i18n(){return Mn}get tableNoData(){return 0===this.renderedRows.length}constructor(){super(),this.state=Ao(),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=D("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=Td,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=ws,this.handlePrivateDatatableEditCell=pn,this.handleHeaderActionMenuClosed=Zs,this.handleHeaderActionMenuOpening=Gs,this.handleHeaderActionTriggered=Xs,this.handleKeydownOnCell=lr,this.handleLoadDynamicActions=xs,this.handlePrimitiveDatatableCellClick=Mr,this.handlePrimitiveDatatableCellFocus=Vr,this.handlePrimitiveDatatableCellKeydown=Er,this.handleRowSelectionChange=Ss,this.handleRowActionTriggered=_s,this.handleTableKeydown=cr,this.handleTableFocusIn=Yr,this.handleMassCheckboxChange=gn,this.handleRowExpand=e=>{e.stopPropagation(),e.preventDefault();const{onExpand:t}=this._expandable,{detail:a={}}=e,{rowKeyValue:d,nextState:o}=a;t&&t(e),!o&&this.state.expandedRowKeys.has(d)?this.state.expandedRowKeys.delete(d):this.state.expandedRowKeys.add(d),this.updateRowsAndCells()},this._columnWidthManager=new ys(this.widthsData),this._privateTypes=new Wo(this.constructor.customTypes),this._hasSetInitialCustomTypes=!!this._privateTypes.privateCustomTypes.size,this._renderManager=new In,ie&&(this.getWrapperHeight=()=>{const e=Kd(this.template,this.refs),t=this.state.hideTableHeader?0:parseFloat(getComputedStyle(e).paddingTop)||32;return e.offsetHeight-t}),Vn(this)}connectedCallback(){super.connectedCallback();const{_customerSelectedRows:e,state:t,template:a}=this;if(this.addEventListener("rowselection",e=>{this.handleRowSelectionChange(e)}),ie&&(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);uo(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?ta:Td;return t!==this._renderedTemplate&&(this._shouldResetCustomTypes=!this._privateTypes.privateCustomTypes.size,ls(this),this._renderManager.disconnectResizeObserver(),this._renderedTemplate=t),t}renderedCallback(){const{_columnWidthManager:e,gridContainer:t,refs:a,state:d,template:o,widthsData:s}=this;if(!this._hasSetInitialCustomTypes&&(this.setCustomTypes(),this._hasSetInitialCustomTypes=!0,this._privateTypes.privateCustomTypes.size&&"auto"===s.columnWidthsMode))return;ae(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(s,t);e.adjustColumnsSize(o,a,t,s),d.shouldResetHeights=!0,d.renderModeRoleBased&&os(d),r&&this.fireOnResize(!1),this._recalculateHeaderHeight=!0,this.updateTableAndScrollerStyleOnRender()}if(function(e){const t=Object.keys(rs),{length:a}=t;for(let d=0;d<a;d+=1)is(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=wr(o,d),t=zr(e);!r&&e&&t&&!t.classList.contains(C)&&Fr(d,o,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||o.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(),oe(o)&&(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=Wd(this.template,this.refs),t=Dd(e);t&&(t.style=this.computedTableStyle),e&&(e.style=this.computedScrollerYStyle)}disconnectedCallback(){ls(this),this._renderManager.disconnectResizeObserver()}handleTableCellMouseDown(e){const{rangeSelectedChange:t,suppressMultiRangeSelection:a}=this.rangeSelection||{};!a&&t&&Po({event:e,dt:this,rangeSelectedChange:t})}handleCustomTypesChange(){this._shouldResetCustomTypes?this.setCustomTypes():this._shouldResetCustomTypes=!0}handleKeydownOnDataRow(e){const{state:t}=this;if(t.keyboardMode===rr&&t.rowMode){e.stopPropagation();const{currentTarget:t}=e;_r(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){En(this),vn.call(this,e)}handleVerticalScroll(e){En(this);const{state:t}=this;t.enableInfiniteLoading&&Yd.call(this,e),vn.call(this,e),t.virtualize?t.firstVisibleIndex=ar(this.state,e.target.scrollTop):t.enableViewportRendering&&this._renderManager.handleScroll(t,e)}handleTableCellClick(e){const{target:t}=e;if(Z(t)){const e=t,{template:a,state:d}=this;d.hasReceivedFocus=!0;const{rowKeyValue:o}=e.parentElement.dataset,{colKeyValue:s}=e.dataset;if(d.rowMode||!Cr(d,o,s)){const{activeCell:e}=d;e&&d.rowMode&&(ln(d),en(d,e.rowIndex,-1)),this.setActiveCell(o,s)}qr(d,a)||Zr(d),Xr(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&&(Od(t.columns,this.widthsData,a,d),t.renderModeRoleBased&&os(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?Is.call(this,e):"deselectrow"===t?$s.call(this,e):"selectallrows"===t?zs.call(this,e):"deselectallrows"===t&&Ls.call(this,e)}handleCellFocusByClick(e){e.stopPropagation();const{state:t}=this;t.hasReceivedFocus=!0;const{rowKeyValue:a,colKeyValue:d,needsRefocusOnCellElement:o}=e.detail;if(!Cr(t,a,d)){const{activeCell:e}=t;e&&t.rowMode&&(ln(t),en(t,e.rowIndex,-1)),this.setActiveCell(a,d),function(e,t,a){if(a){const a=wr(t,e);a&&a.focus(),setTimeout(()=>{Zr(e)},0)}else qr(e,t)||Zr(e)}(t,this.template,o)}const s=Lr(e.target);Xr(t,this.template,this.refs,s)}handleFalseCellBlur(e){e.stopPropagation();const{state:t}=this,{rowKeyValue:a,colKeyValue:d}=e.detail;Cr(t,a,d)||this.setActiveCell(a,d),Fr(t,this.template,this.refs)}handleTableFocusOut(e){Gr.call(this,e);const{activeCell:t}=this.state;t&&(t.hasFocus=this._shouldResetFocus)}handleInlineEditFinish(e){En(this),mn.call(this,e)}handleInlineEditSave(e){e.stopPropagation(),e.preventDefault(),fn(this);const{draftValues:t}=this;this.dispatchEvent(new CustomEvent("save",{detail:{draftValues:t}}))}handleInlineEditCancel(e){e.stopPropagation(),e.preventDefault(),fn(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=[],es(t,a)}(this),hn(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(E.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:o}=d,{colKeyValue:s}=o.dataset,{rowKeyValue:r}=o.parentElement.dataset,n=eo(t,r);this.fireInlinedCheckboxSelection(a,n.isSelected,{rowKeyValue:r,colKeyValue:s,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerClick(e){const{state:t}=this,{currentTarget:a}=e,{parentElement:d}=a,{rowKeyValue:o}=d.parentElement.dataset,s=eo(t,o);if(s.isDisabled)return;e.preventDefault();const{colKeyValue:r}=d.dataset,{firstElementChild:n}=a;this.fireInlinedCheckboxSelection(n,s.isSelected,{rowKeyValue:o,colKeyValue:r,isMultiple:e.shiftKey})}handleInlinedCheckboxContainerMouseDown(e){this.state.renderModeInline&&e.shiftKey&&e.preventDefault()}handleInlinedEditButtonClick(e){const{state:t}=this,a=t.renderModeInline?Lr(e.target):void 0;if(a){t.hasReceivedFocus=!0;zr(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={}){ie&&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(){ie&&jr(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),Or(e),function(e,t){let a=!1;const{keyField:d,selectedRowsKeys:o,maxRowSelection:s}=e,{length:r}=t;if(Object.keys(o).length!==r)a=!0,e.selectedRowsKeys=Ws(t,d);else for(let s=0;s<r;s+=1)if(!o[t[s][d]]){a=!0,e.selectedRowsKeys=Ws(t,d);break}if(a){const t=s||e.rows.length;ho(e)&&(r<t?Ds(e):Es(e))}return Fs(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)}))}),Ar(e),e.keyboardMode===rr&&(tn(e),an(e)),ie&&e.activeCell&&e.cellToFocusNext&&Fr(e,this.template,this.refs)}updateColumns(e){fo({state:this.state,rawColumns:e,types:this._privateTypes,expandable:this._expandable}),this.isConnected&&(this.updateColumnsBeforeIndexes(),this.updateRowsAndCells(),this.updateColumnsAfterIndexes())}updateColumnsBeforeIndexes(){const{state:e}=this;ie&&jr(e,this.template),function(e){e.treeColumn?!1!==e.rowMode||e.hadTreeDataTypePreviously||(e.rowMode=!0):e.rowMode=!1}(e),An(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=Qs(a)}}(e)}updateColumnsAfterIndexes(){const{state:e,widthsData:t}=this;Fs(e),this._columnWidthManager.handleRowNumberOffsetChange(e,t),Pd(e.columns,t),Or(e),e.data.length>0&&e.columns.length!==t.columnWidths.length&&Ar(e),e.keyboardMode===rr&&(tn(e),an(e)),ie&&e.activeCell&&e.cellToFocusNext&&Fr(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,es(e,this._privateTypes,this._datatableId)}updateVirtualizedRowHeights(){const{state:e}=this,t=e.virtualize&&this.renderedRows.length;e.shouldResetHeights?(er(e),e.shouldResetHeights=!1):t&&tr(this.template,e,this.renderedRows,this.refs)}setSelectedRows(e){Ks(this.state,e),this.handleRowSelectionChange()}setActiveCell(e,t){const{state:a,template:d}=this,o=Zd(a,e,t);Br(a,d),a.activeCell=o,function(e,t){e.activeCell.hasFocus=!0;const a=wr(t,e);a&&a.classList.add(C)}(a,d),Jr(a,o.rowIndex,o.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(V.ENABLE_TREE_GRID_CUSTOM_TYPES&&"SLOT"===e?.tagName){const t=e.assignedNodes();e=t.length?t[0]:{}}"function"==typeof e.getDataTypes&&(this._privateTypes=new Wo(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=Wd(t,e).getBoundingClientRect(),d=Kd(t,e).getBoundingClientRect();return{left:d.left,right:d.right,top:a.top,bottom:a.bottom}}fixHeaderForSafari(){if(de){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:o}=d,s=o?a.querySelectorAll('[data-inline-type="primitive-cell-checkbox"]'):[];let r;for(let t=0,{length:a}=s;t<a;t+=1){const a=d[t],o=s[t],{firstElementChild:n}=o;if(void 0===r){const{lastElementChild:e}=o,{id:t}=e;r=t.slice(t.lastIndexOf("-"))}n.setAttribute("aria-labelledby",`${a.checkboxLabelId}${r} ${e}`)}}updateLookupCellsLinkInfo(){En(this);const{state:e,template:t}=this,{lookupCells:a}=e,{length:d}=a,o=d?t.querySelectorAll('[data-inline-type="formatted-lookup"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e],{value:s}=t;t._handleLookupAnchorClick=()=>{d.dispatchEvent(new Sn({recordId:s}))},"enable"===d.getAttribute("data-navigation")&&d.removeAttribute("data-navigation"),s&&se(d,{stateType:"standard__recordPage",attributes:{recordId:s,actionName:"view"}}).then(e=>{const{dispatcher:a,url:o}=e,r=!(!a||!o);t.lookupIsNavigable=r,t.lookupLink=o,t._handleLookupAnchorClick=e=>{d.dispatchEvent(new Sn({recordId:s})),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,o=d?t.querySelectorAll('[data-inline-type="formatted-url"]'):[];for(let e=0,{length:t}=o;e<t;e+=1){const t=a[e],d=o[e];re(d,{url:t.urlLink,target:t.urlTarget}).then(e=>{const{dispatcher:a,url:o}=e;t._handleUrlAnchorClick=e=>{a.call(d,e)},t.urlLink=o})}}}s(Dn,{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 Kn=d(Dn,{tmpl:i,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\dataTable-",apiVersion:63}),Wn=e`<div class="kdds-modal__border-top${0}" part="modal-resize-border"${2}></div>`,Nn=e`<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>`,Hn=e`<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>`,Fn=e`<div class="kdds-modal__border-bottom${0}" part="modal-resize-border"${2}></div>`,Bn=e`<div class="kdds-modal__border-right${0}" part="modal-resize-border"${2}></div>`,jn=e`<div class="kdds-modal__border-left${0}" part="modal-resize-border"${2}></div>`,On={classMap:{"kdds-modal-header__right":!0},key:4},Pn={"kdds-modal-header__search-container":!0},Un={variant:"underlined",placeholder:"请输入搜索内容",prefixIcon:"kdfont-f"},qn={ref:"bodyRef",key:9},Qn={classMap:{"kdds-modal__body-container":!0},key:10},Yn={ref:"footerRef",key:12},Xn={classMap:{"kdds-modal__footer-container":!0},key:13};function Gn(e,t,a,d){const{ncls:o,b:s,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}=d;return[u("div",{className:o(t.computedContainerClass),key:0},[l(Wn,2,[i(0,{on:h||(d._m1={mousedown:s(t.handleTopBorderMouseDown)})},null)]),c("kd-modal-header",n,{ref:"headerRef",props:{label:t.label},key:3,on:k||(d._m2={dblclick:s(t.handleDoubleClick)})},[u("div",On,[u("div",{classMap:Pn,key:5,on:p||(d._m3={mousedown:s(t.handleMousedown)})},[c("kd-input",r,{props:Un,key:6,on:m||(d._m4={change:s(t.handleInputChange)})})]),l(Nn,8,[i(0,{on:v||(d._m6={click:s(t.handleCloseClick)}),className:o(t.computedCloseButtonClass)},null)])])]),c("kd-modal-body",ye,qn,[u("div",Qn,[c("kd-data-table",Kn,{ref:"tableRef",props:{keyField:"id",data:t.data,columns:t.columns,maxRowSelection:"1",columnWidthsMode:"auto",showRowNumberColumn:"true",loading:t.loading},key:11})])]),c("kd-modal-footer",xe,Yn,[u("div",Xn,[c("kd-button",_e,{props:{label:t.cancelBtnLabel,size:"small",variant:"secondary"},key:14,on:f||(d._m7={click:s(t.handleCancelClick)})}),c("kd-button",_e,{props:{label:t.confirmBtnLabel,size:"small"},key:15,on:y||(d._m8={click:s(t.handleConfirmClick)})})]),t.showResizeCorner?l(Hn,17,[i(0,{on:x||(d._m10={mousedown:s(t.handleResizeMouseDown)})},null)]):null]),l(Fn,19,[i(0,{on:C||(d._m12={mousedown:s(t.handleBottomBorderMouseDown)})},null)]),l(Bn,21,[i(0,{on:T||(d._m14={mousedown:s(t.handleRightBorderMouseDown)})},null)]),l(jn,23,[i(0,{on:z||(d._m16={mousedown:s(t.handleLeftBorderMouseDown)})},null)])])]}var Zn=t(Gn);Gn.hasRefs=!0,Gn.stylesheets=[],Gn.stylesheetToken="kwc-1nf7ui7q41o",Gn.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-undefined_recordPickerModal",Te&&Gn.stylesheets.push.apply(Gn.stylesheets,Te),a(Gn);const{promiseApi:Jn}=Ce;class ei extends Ae{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=Jn.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 we(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()}}s(ei,{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 ti=d(ei,{tmpl:Zn,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\recordPickerModal-",apiVersion:63});export{ti as default};