lightning-base-components 1.21.5-alpha → 1.21.7-alpha

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 (379) hide show
  1. package/metadata/raptor.json +46 -4
  2. package/package.json +125 -3
  3. package/scopedImports/@salesforce-label-LightningColorPicker.a11yDefaultText.js +1 -0
  4. package/scopedImports/@salesforce-label-LightningDatatable.multiColumnSortingToast.js +1 -0
  5. package/scopedImports/@salesforce-label-LightningDatatable.sortingMenuColumns.js +1 -0
  6. package/scopedImports/@salesforce-label-LightningDatatable.sortingMenuMultiColumnSort.js +1 -0
  7. package/scopedImports/@salesforce-label-LightningDatatable.sortingMenuRows.js +1 -0
  8. package/scopedImports/@salesforce-label-LightningDatatable.sortingMenuTooltip.js +1 -0
  9. package/scopedImports/@salesforce-label-LightningForm.dependentFieldsListHeading.js +1 -1
  10. package/scopedImports/@salesforce-label-LightningLookup.advancedSearchMobile.js +1 -1
  11. package/scopedImports/@salesforce-label-LightningLookup.modalTitle.js +1 -0
  12. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.addRule.js +1 -0
  13. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.applyButton.js +1 -0
  14. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.cancelButton.js +1 -0
  15. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.clearButton.js +1 -0
  16. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.duplicateValueValidation.js +1 -0
  17. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.firstRuleHeading.js +1 -0
  18. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.modalTitle.js +1 -0
  19. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.otherRuleHeading.js +1 -0
  20. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.ruleLimit.js +1 -0
  21. package/scopedImports/@salesforce-label-LightningMultiColumnSortingModal.ruleLimitReached.js +1 -0
  22. package/scopedImports/@salesforce-label-LightningPrimitiveColumnSorter.ascending.js +1 -0
  23. package/scopedImports/@salesforce-label-LightningPrimitiveColumnSorter.descending.js +1 -0
  24. package/scopedImports/@salesforce-label-LightningPrimitiveColumnSorter.dropdownPlaceholder.js +1 -0
  25. package/scopedImports/@salesforce-label-LightningPrimitiveColumnSorter.missingValueValidation.js +1 -0
  26. package/scopedImports/@salesforce-label-LightningPrimitiveColumnSorter.moveDownTooltip.js +1 -0
  27. package/scopedImports/@salesforce-label-LightningPrimitiveColumnSorter.moveUpTooltip.js +1 -0
  28. package/scopedImports/@salesforce-label-LightningProgressIndicator.pathCurrentStage.js +1 -0
  29. package/scopedImports/@salesforce-label-LightningRecordPicker.emptyStateNoResultText.js +1 -0
  30. package/scopedImports/@salesforce-label-LightningRecordPicker.messageWhenSearchTermTooShort.js +1 -0
  31. package/scopedImports/@salesforce-label-LightningRecordPicker.resultCountDescriptionForMoreThanOneHundredRecords.js +1 -0
  32. package/scopedImports/@salesforce-label-LightningRecordPicker.resultCountDescriptionForMultipleRecords.js +1 -0
  33. package/scopedImports/@salesforce-label-LightningRecordPicker.resultCountDescriptionForOneRecord.js +1 -0
  34. package/scopedImports/@salesforce-label-LightningRecordPicker.resultsLoading.js +1 -0
  35. package/scopedImports/@salesforce-label-LightningRecordPicker.searchInputHelp.js +1 -0
  36. package/src/lightning/accordion/accordion.js +21 -14
  37. package/src/lightning/accordionSection/button.slds.css +16 -15
  38. package/src/lightning/alert/alert.js +10 -8
  39. package/src/lightning/ariaObserver/ariaObserver.js +19 -5
  40. package/src/lightning/badge/badge.slds.css +1 -1
  41. package/src/lightning/baseCombobox/base-combobox.slds.css +1 -1
  42. package/src/lightning/baseCombobox/baseCombobox.html +2 -1
  43. package/src/lightning/baseCombobox/baseCombobox.js +21 -0
  44. package/src/lightning/baseCombobox/input-text.slds.css +5 -5
  45. package/src/lightning/button/button.js +5 -0
  46. package/src/lightning/button/button.slds.css +16 -15
  47. package/src/lightning/buttonIcon/__docs__/buttonIcon.md +4 -0
  48. package/src/lightning/buttonIcon/__examples__/basic/basic.html +17 -1
  49. package/src/lightning/buttonIcon/button-icon.slds.css +41 -25
  50. package/src/lightning/buttonIconStateful/button-icon-stateful.slds.css +33 -229
  51. package/src/lightning/buttonIconStateful/button-icon.slds.css +41 -25
  52. package/src/lightning/buttonIconStateful/button.slds.css +16 -15
  53. package/src/lightning/buttonMenu/button-icon.slds.css +41 -25
  54. package/src/lightning/buttonMenu/button-menu.slds.css +41 -15
  55. package/src/lightning/buttonMenu/button.slds.css +16 -15
  56. package/src/lightning/buttonMenu/buttonMenu.css +1 -1
  57. package/src/lightning/buttonMenu/buttonMenu.html +1 -1
  58. package/src/lightning/buttonMenu/buttonMenu.js +44 -4
  59. package/src/lightning/buttonStateful/button-stateful.slds.css +1 -4
  60. package/src/lightning/buttonStateful/button.slds.css +16 -15
  61. package/src/lightning/calendar/calendar.html +3 -4
  62. package/src/lightning/card/card.html +1 -1
  63. package/src/lightning/colorPickerCustom/colorPickerCustom.html +1 -1
  64. package/src/lightning/colorPickerCustom/colorPickerCustom.js +0 -9
  65. package/src/lightning/colorPickerCustom/input-text.slds.css +5 -5
  66. package/src/lightning/combobox/form-element.slds.css +5 -1
  67. package/src/lightning/confirm/confirm.js +10 -8
  68. package/src/lightning/datatable/__docs__/datatable.md +0 -3
  69. package/src/lightning/datatable/__examples__disabled/customComponentPopupTableWrapper/README.md +17 -0
  70. package/src/lightning/datatable/__examples__disabled/customComponentPopupTableWrapper/customComponentPopupTableWrapper.html +11 -0
  71. package/src/lightning/datatable/__examples__disabled/customComponentPopupTableWrapper/customComponentPopupTableWrapper.js +25 -0
  72. package/src/lightning/datatable/__examples__disabled/customComponentPopupTableWrapper/generateData.js +15 -0
  73. package/src/lightning/datatable/__examples__disabled/myCustomTypePopupTable/customInput.html +4 -0
  74. package/src/lightning/datatable/__examples__disabled/myCustomTypePopupTable/myCustomTypePopupTable.js +17 -0
  75. package/src/lightning/datatable/__examples__disabled/myCustomTypePopupTable/nestedSimpleComponentParent.html +7 -0
  76. package/src/lightning/datatable/__examples__disabled/simpleComponentPopupNested/simpleComponentPopupNested.html +31 -0
  77. package/src/lightning/datatable/__examples__disabled/simpleComponentPopupNested/simpleComponentPopupNested.js +36 -0
  78. package/src/lightning/datatable/columnWidthManager.js +19 -16
  79. package/src/lightning/datatable/columns.js +90 -42
  80. package/src/lightning/datatable/datatable.js +571 -148
  81. package/src/lightning/datatable/errors.js +1 -1
  82. package/src/lightning/datatable/indexes.js +32 -21
  83. package/src/lightning/datatable/infiniteLoading.js +7 -6
  84. package/src/lightning/datatable/inlineEdit.js +52 -64
  85. package/src/lightning/datatable/keyboard.js +583 -195
  86. package/src/lightning/datatable/renderManager.js +21 -27
  87. package/src/lightning/datatable/rowLevelActions.js +5 -14
  88. package/src/lightning/datatable/rowSelection.js +36 -17
  89. package/src/lightning/datatable/rowSelectionShared.js +1 -0
  90. package/src/lightning/datatable/rows.js +224 -132
  91. package/src/lightning/datatable/rowsInlining.js +473 -0
  92. package/src/lightning/datatable/sort.js +40 -15
  93. package/src/lightning/datatable/state.js +17 -4
  94. package/src/lightning/datatable/templates/div/div.html +807 -91
  95. package/src/lightning/datatable/templates/div/div.lbc.synthetic.css +29 -3
  96. package/src/lightning/datatable/templates/table/table.css +29 -1
  97. package/src/lightning/datatable/templates/table/table.html +786 -87
  98. package/src/lightning/datatable/tree.js +0 -33
  99. package/src/lightning/datatable/utils.js +50 -0
  100. package/src/lightning/datatable/virtualization.js +44 -19
  101. package/src/lightning/datatable/wrapText.js +7 -10
  102. package/src/lightning/datepicker/datepicker.html +3 -1
  103. package/src/lightning/datepicker/datepicker.js +43 -4
  104. package/src/lightning/datepicker/form-element.slds.css +5 -1
  105. package/src/lightning/datepicker/input-text.slds.css +5 -5
  106. package/src/lightning/datetimepicker/datetimepicker.html +7 -1
  107. package/src/lightning/datetimepicker/datetimepicker.js +30 -2
  108. package/src/lightning/datetimepicker/form-element.slds.css +5 -1
  109. package/src/lightning/datetimepicker/input-text.slds.css +5 -5
  110. package/src/lightning/dualListbox/form-element.slds.css +5 -1
  111. package/src/lightning/focusTrap/focusTrap.css +7 -0
  112. package/src/lightning/groupedCombobox/form-element.slds.css +5 -1
  113. package/src/lightning/groupedCombobox/input-text.slds.css +5 -5
  114. package/src/lightning/helptext/button-icon.slds.css +41 -25
  115. package/src/lightning/helptext/form-element.slds.css +5 -1
  116. package/src/lightning/icon/__docs__/icon.md +0 -2
  117. package/src/lightning/iconSvgTemplates/buildTemplates/standard/account_score.html +8 -0
  118. package/src/lightning/iconSvgTemplates/buildTemplates/standard/aggregate.html +8 -0
  119. package/src/lightning/iconSvgTemplates/buildTemplates/standard/app_form_participant.html +11 -0
  120. package/src/lightning/iconSvgTemplates/buildTemplates/standard/app_form_product_participant.html +12 -0
  121. package/src/lightning/iconSvgTemplates/buildTemplates/standard/cost_model.html +7 -0
  122. package/src/lightning/iconSvgTemplates/buildTemplates/standard/labels.html +8 -0
  123. package/src/lightning/iconSvgTemplates/buildTemplates/standard/list_fee.html +7 -0
  124. package/src/lightning/iconSvgTemplates/buildTemplates/standard/list_rate.html +7 -0
  125. package/src/lightning/iconSvgTemplates/buildTemplates/standard/party_profile.html +8 -0
  126. package/src/lightning/iconSvgTemplates/buildTemplates/standard/path_experiment.html +7 -0
  127. package/src/lightning/iconSvgTemplates/buildTemplates/standard/people_score.html +8 -0
  128. package/src/lightning/iconSvgTemplates/buildTemplates/standard/price_adjustment_schedule.html +8 -0
  129. package/src/lightning/iconSvgTemplates/buildTemplates/standard/price_adjustment_tier.html +7 -0
  130. package/src/lightning/iconSvgTemplates/buildTemplates/standard/program_cohort.html +7 -0
  131. package/src/lightning/iconSvgTemplates/buildTemplates/standard/program_cohort_member.html +7 -0
  132. package/src/lightning/iconSvgTemplates/buildTemplates/standard/rate_adjustment.html +7 -0
  133. package/src/lightning/iconSvgTemplates/buildTemplates/standard/record_consent.html +7 -0
  134. package/src/lightning/iconSvgTemplates/buildTemplates/standard/whatsapp.html +7 -0
  135. package/src/lightning/iconSvgTemplates/buildTemplates/templates.js +40 -1
  136. package/src/lightning/iconSvgTemplates/buildTemplates/utility/aggregate.html +8 -0
  137. package/src/lightning/iconSvgTemplates/buildTemplates/utility/array.html +7 -0
  138. package/src/lightning/iconSvgTemplates/buildTemplates/utility/bottom_group_alignment.html +7 -0
  139. package/src/lightning/iconSvgTemplates/buildTemplates/utility/cant_sync.html +7 -0
  140. package/src/lightning/iconSvgTemplates/buildTemplates/utility/center_group_alignment.html +8 -0
  141. package/src/lightning/iconSvgTemplates/buildTemplates/utility/columns.html +7 -0
  142. package/src/lightning/iconSvgTemplates/buildTemplates/utility/fully_synced.html +8 -0
  143. package/src/lightning/iconSvgTemplates/buildTemplates/utility/inner_join.html +7 -0
  144. package/src/lightning/iconSvgTemplates/buildTemplates/utility/join.html +8 -0
  145. package/src/lightning/iconSvgTemplates/buildTemplates/utility/left_join.html +14 -0
  146. package/src/lightning/iconSvgTemplates/buildTemplates/utility/macros.html +2 -2
  147. package/src/lightning/iconSvgTemplates/buildTemplates/utility/not_in_sync.html +7 -0
  148. package/src/lightning/iconSvgTemplates/buildTemplates/utility/not_saved.html +9 -0
  149. package/src/lightning/iconSvgTemplates/buildTemplates/utility/outer_join.html +7 -0
  150. package/src/lightning/iconSvgTemplates/buildTemplates/utility/path_experiment.html +7 -0
  151. package/src/lightning/iconSvgTemplates/buildTemplates/utility/program_cohort.html +7 -0
  152. package/src/lightning/iconSvgTemplates/buildTemplates/utility/program_cohort_member.html +7 -0
  153. package/src/lightning/iconSvgTemplates/buildTemplates/utility/record_consent.html +7 -0
  154. package/src/lightning/iconSvgTemplates/buildTemplates/utility/right_join.html +7 -0
  155. package/src/lightning/iconSvgTemplates/buildTemplates/utility/skill.html +8 -0
  156. package/src/lightning/iconSvgTemplates/buildTemplates/utility/sync_in_progress.html +7 -0
  157. package/src/lightning/iconSvgTemplates/buildTemplates/utility/top_group_alignment.html +7 -0
  158. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/account_score.html +8 -0
  159. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/aggregate.html +8 -0
  160. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/app_form_participant.html +11 -0
  161. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/app_form_product_participant.html +12 -0
  162. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/cost_model.html +7 -0
  163. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/labels.html +8 -0
  164. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/list_fee.html +7 -0
  165. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/list_rate.html +7 -0
  166. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/party_profile.html +8 -0
  167. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/path_experiment.html +7 -0
  168. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/people_score.html +8 -0
  169. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/price_adjustment_schedule.html +8 -0
  170. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/price_adjustment_tier.html +7 -0
  171. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/program_cohort.html +7 -0
  172. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/program_cohort_member.html +7 -0
  173. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/rate_adjustment.html +7 -0
  174. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/record_consent.html +7 -0
  175. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/standard/whatsapp.html +7 -0
  176. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/templates.js +40 -1
  177. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/aggregate.html +8 -0
  178. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/array.html +7 -0
  179. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/bottom_group_alignment.html +7 -0
  180. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/cant_sync.html +7 -0
  181. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/center_group_alignment.html +8 -0
  182. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/columns.html +7 -0
  183. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/fully_synced.html +8 -0
  184. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/inner_join.html +7 -0
  185. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/join.html +8 -0
  186. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/left_join.html +14 -0
  187. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/macros.html +2 -2
  188. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/not_in_sync.html +7 -0
  189. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/not_saved.html +9 -0
  190. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/outer_join.html +7 -0
  191. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/path_experiment.html +7 -0
  192. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/program_cohort.html +7 -0
  193. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/program_cohort_member.html +7 -0
  194. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/record_consent.html +7 -0
  195. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/right_join.html +7 -0
  196. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/skill.html +8 -0
  197. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/sync_in_progress.html +7 -0
  198. package/src/lightning/iconSvgTemplatesRtl/buildTemplates/utility/top_group_alignment.html +7 -0
  199. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/account_score.html +8 -0
  200. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/aggregate.html +8 -0
  201. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/app_form_participant.html +11 -0
  202. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/app_form_product_participant.html +12 -0
  203. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/cost_model.html +7 -0
  204. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/labels.html +8 -0
  205. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/list_fee.html +7 -0
  206. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/list_rate.html +7 -0
  207. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/party_profile.html +8 -0
  208. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/path_experiment.html +7 -0
  209. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/people_score.html +8 -0
  210. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/price_adjustment_schedule.html +8 -0
  211. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/price_adjustment_tier.html +7 -0
  212. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/program_cohort.html +7 -0
  213. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/program_cohort_member.html +7 -0
  214. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/rate_adjustment.html +7 -0
  215. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/record_consent.html +7 -0
  216. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/standard/whatsapp.html +7 -0
  217. package/src/lightning/iconSvgTemplatesStandard/buildTemplates/templates.js +19 -1
  218. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/account_score.html +8 -0
  219. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/aggregate.html +8 -0
  220. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/app_form_participant.html +11 -0
  221. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/app_form_product_participant.html +12 -0
  222. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/cost_model.html +7 -0
  223. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/labels.html +8 -0
  224. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/list_fee.html +7 -0
  225. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/list_rate.html +7 -0
  226. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/party_profile.html +8 -0
  227. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/path_experiment.html +7 -0
  228. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/people_score.html +8 -0
  229. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/price_adjustment_schedule.html +8 -0
  230. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/price_adjustment_tier.html +7 -0
  231. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/program_cohort.html +7 -0
  232. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/program_cohort_member.html +7 -0
  233. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/rate_adjustment.html +7 -0
  234. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/record_consent.html +7 -0
  235. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/standard/whatsapp.html +7 -0
  236. package/src/lightning/iconSvgTemplatesStandardRtl/buildTemplates/templates.js +19 -1
  237. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/templates.js +22 -1
  238. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/aggregate.html +8 -0
  239. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/array.html +7 -0
  240. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/bottom_group_alignment.html +7 -0
  241. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/cant_sync.html +7 -0
  242. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/center_group_alignment.html +8 -0
  243. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/columns.html +7 -0
  244. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/fully_synced.html +8 -0
  245. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/inner_join.html +7 -0
  246. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/join.html +8 -0
  247. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/left_join.html +14 -0
  248. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/macros.html +2 -2
  249. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/not_in_sync.html +7 -0
  250. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/not_saved.html +9 -0
  251. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/outer_join.html +7 -0
  252. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/path_experiment.html +7 -0
  253. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/program_cohort.html +7 -0
  254. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/program_cohort_member.html +7 -0
  255. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/record_consent.html +7 -0
  256. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/right_join.html +7 -0
  257. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/skill.html +8 -0
  258. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/sync_in_progress.html +7 -0
  259. package/src/lightning/iconSvgTemplatesUtility/buildTemplates/utility/top_group_alignment.html +7 -0
  260. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/templates.js +22 -1
  261. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/aggregate.html +8 -0
  262. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/array.html +7 -0
  263. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/bottom_group_alignment.html +7 -0
  264. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/cant_sync.html +7 -0
  265. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/center_group_alignment.html +8 -0
  266. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/columns.html +7 -0
  267. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/fully_synced.html +8 -0
  268. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/inner_join.html +7 -0
  269. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/join.html +8 -0
  270. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/left_join.html +14 -0
  271. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/macros.html +2 -2
  272. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/not_in_sync.html +7 -0
  273. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/not_saved.html +9 -0
  274. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/outer_join.html +7 -0
  275. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/path_experiment.html +7 -0
  276. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/program_cohort.html +7 -0
  277. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/program_cohort_member.html +7 -0
  278. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/record_consent.html +7 -0
  279. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/right_join.html +7 -0
  280. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/skill.html +8 -0
  281. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/sync_in_progress.html +7 -0
  282. package/src/lightning/iconSvgTemplatesUtilityRtl/buildTemplates/utility/top_group_alignment.html +7 -0
  283. package/src/lightning/iconUtils/iconColors.js +1 -1
  284. package/src/lightning/input/form-element.slds.css +5 -1
  285. package/src/lightning/input/input.html +16 -2
  286. package/src/lightning/input/input.js +91 -3
  287. package/src/lightning/input/input.js-meta.xml +3 -0
  288. package/src/lightning/inputAddress/addressFormat.js +25 -11
  289. package/src/lightning/inputAddress/fieldsLayout.js +3 -0
  290. package/src/lightning/inputAddress/form-element.slds.css +5 -1
  291. package/src/lightning/inputAddress/input-text.slds.css +5 -5
  292. package/src/lightning/inputAddress/inputAddress.html +1 -1
  293. package/src/lightning/inputAddress/inputAddress.js +27 -11
  294. package/src/lightning/inputLocation/form-element.slds.css +5 -1
  295. package/src/lightning/inputLocation/input-text.slds.css +5 -5
  296. package/src/lightning/inputName/form-element.slds.css +5 -1
  297. package/src/lightning/inputName/input-text.slds.css +5 -5
  298. package/src/lightning/internationalizationLibrary/address/AddressFormat.js +2 -0
  299. package/src/lightning/layout/__docs__/layout.md +0 -2
  300. package/src/lightning/lookupAddress/form-element.slds.css +5 -1
  301. package/src/lightning/menuItem/menu-item.slds.css +3 -1
  302. package/src/lightning/modal/__modalUtils__/modalContainerTestConstants.js +7 -3
  303. package/src/lightning/modal/__modalUtils__/modalContainerTestMethods.js +18 -11
  304. package/src/lightning/modal/__modalUtils__/modalContainerTestMockData.js +1 -1
  305. package/src/lightning/modalBase/modalBase.css +4 -0
  306. package/src/lightning/modalBase/modalBase.html +16 -21
  307. package/src/lightning/modalBase/modalBase.js +51 -87
  308. package/src/lightning/modalHeader/modalHeader.html +3 -15
  309. package/src/lightning/modalHeader/modalHeader.js +14 -61
  310. package/src/lightning/multiColumnSortingModal/multiColumnSortingModal.css +14 -0
  311. package/src/lightning/multiColumnSortingModal/multiColumnSortingModal.html +55 -0
  312. package/src/lightning/multiColumnSortingModal/multiColumnSortingModal.js +430 -0
  313. package/src/lightning/multiColumnSortingModal/multiColumnSortingModal.js-meta.xml +4 -0
  314. package/src/lightning/overlayManager/overlayManager.js +16 -0
  315. package/src/lightning/pill/pill.js +19 -13
  316. package/src/lightning/pillContainer/button.slds.css +16 -15
  317. package/src/lightning/pillContainer/pillContainer.js +2 -1
  318. package/src/lightning/pillContainer/standardPillContainer.html +6 -2
  319. package/src/lightning/positionLibrary/direction.js +19 -0
  320. package/src/lightning/primitiveBubble/primitiveBubble.js +33 -11
  321. package/src/lightning/primitiveColorpickerButton/primitiveColorpickerButton.html +2 -2
  322. package/src/lightning/primitiveColorpickerButton/primitiveColorpickerButton.js +8 -0
  323. package/src/lightning/primitiveColumnSorter/primitiveColumnSorter.css +34 -0
  324. package/src/lightning/primitiveColumnSorter/primitiveColumnSorter.html +60 -0
  325. package/src/lightning/primitiveColumnSorter/primitiveColumnSorter.js +107 -0
  326. package/src/lightning/primitiveHeaderFactory/primitiveHeaderFactory.js +37 -4
  327. package/src/lightning/primitiveHeaderFactory/sortingMenuHeader.css +5 -0
  328. package/src/lightning/primitiveHeaderFactory/sortingMenuHeader.html +9 -0
  329. package/src/lightning/primitiveInputCheckbox/form-element.slds.css +5 -1
  330. package/src/lightning/primitiveInputCheckbox/input-checkbox.slds.css +3 -3
  331. package/src/lightning/primitiveInputCheckbox/primitiveInputCheckbox.html +1 -1
  332. package/src/lightning/primitiveInputCheckboxButton/form-element.slds.css +5 -1
  333. package/src/lightning/primitiveInputCheckboxButton/input-checkbox-button.slds.css +6 -5
  334. package/src/lightning/primitiveInputCheckboxButton/primitiveInputCheckboxButton.html +1 -1
  335. package/src/lightning/primitiveInputColor/form-element.slds.css +5 -1
  336. package/src/lightning/primitiveInputColor/input-text.slds.css +5 -5
  337. package/src/lightning/primitiveInputColor/primitiveInputColor.html +5 -2
  338. package/src/lightning/primitiveInputColor/primitiveInputColor.js +2 -0
  339. package/src/lightning/primitiveInputFile/button.slds.css +16 -15
  340. package/src/lightning/primitiveInputFile/form-element.slds.css +5 -1
  341. package/src/lightning/primitiveInputFile/primitiveInputFile.html +1 -1
  342. package/src/lightning/primitiveInputRadio/primitiveInputRadio.html +1 -1
  343. package/src/lightning/primitiveInputSimple/form-element.slds.css +5 -1
  344. package/src/lightning/primitiveInputSimple/input-text.slds.css +5 -5
  345. package/src/lightning/primitiveInputSimple/primitiveInputSimple.html +3 -2
  346. package/src/lightning/primitiveInputSimple/primitiveInputSimple.js +15 -0
  347. package/src/lightning/primitiveInputToggle/form-element.slds.css +5 -1
  348. package/src/lightning/primitiveInputToggle/input-toggle.slds.css +16 -14
  349. package/src/lightning/primitiveInputToggle/primitiveInputToggle.html +1 -1
  350. package/src/lightning/progressBar/progress-bar.slds.css +1 -1
  351. package/src/lightning/progressIndicator/path.html +8 -2
  352. package/src/lightning/progressIndicator/progressIndicator.js +26 -2
  353. package/src/lightning/progressRing/progress-ring.slds.css +1 -1
  354. package/src/lightning/progressStep/progressStep.js +2 -1
  355. package/src/lightning/prompt/prompt.js +11 -9
  356. package/src/lightning/radioGroup/form-element.slds.css +5 -1
  357. package/src/lightning/radioGroup/input-radio-group.slds.css +4 -10
  358. package/src/lightning/select/form-element.slds.css +5 -1
  359. package/src/lightning/select/select.js +89 -7
  360. package/src/lightning/tabBar/tab-bar.slds.css +11 -0
  361. package/src/lightning/tabset/tabset.slds.css +1 -1
  362. package/src/lightning/textarea/__examples__/various/various.html +18 -1
  363. package/src/lightning/textarea/form-element.slds.css +5 -1
  364. package/src/lightning/textarea/textarea.html +1 -0
  365. package/src/lightning/textarea/textarea.js +25 -0
  366. package/src/lightning/textarea/textarea.slds.css +2 -2
  367. package/src/lightning/timepicker/form-element.slds.css +5 -1
  368. package/src/lightning/timepicker/timepicker.html +4 -1
  369. package/src/lightning/timepicker/timepicker.js +3 -0
  370. package/src/lightning/toast/button-icon.slds.css +41 -25
  371. package/src/lightning/tooltipLibrary/tooltipLibrary.js +4 -15
  372. package/src/lightning/verticalNavigationItem/vertical-navigation-item.slds.css +1 -1
  373. package/src/lightning/verticalNavigationItemBadge/badge.slds.css +1 -1
  374. package/src/lightning/verticalNavigationItemBadge/vertical-navigation-item.slds.css +1 -1
  375. package/src/lightning/verticalNavigationItemIcon/vertical-navigation-item.slds.css +1 -1
  376. package/src/lightning/verticalNavigationOverflow/button.slds.css +16 -15
  377. package/src/lightning/verticalNavigationOverflow/vertical-navigation-item.slds.css +1 -1
  378. package/scopedImports/@salesforce-label-LightningLookup.messageWhenSearchTermTooShort.js +0 -1
  379. package/src/lightning/datatable/columns-shared.js +0 -12
@@ -91,7 +91,8 @@
91
91
  show-checkbox={showSelectAllCheckbox}
92
92
  hide-header={hideTableHeader}
93
93
  onprivatecolumnheaderid={handleCheckboxHeaderId}
94
- wrap-table-header={wrapTableHeader}>
94
+ wrap-table-header={wrapTableHeader}
95
+ show-actions-menu={showActionsMenu}>
95
96
  </lightning-primitive-header-factory>
96
97
  </template>
97
98
  <template if:false={def.fixedWidth}>
@@ -114,7 +115,8 @@
114
115
  resizestep={widthsData.resizeStep}
115
116
  hide-header={hideTableHeader}
116
117
  onprivatecolumnheaderid={handleCheckboxHeaderId}
117
- wrap-table-header={wrapTableHeader}>
118
+ wrap-table-header={wrapTableHeader}
119
+ show-actions-menu={showActionsMenu}>
118
120
  </lightning-primitive-header-factory>
119
121
  </template>
120
122
  </div>
@@ -153,20 +155,67 @@
153
155
  tabindex={cell.tabIndex}
154
156
  data-label={cell.dataLabel}
155
157
  data-col-key-value={cell.colKeyValue}
158
+ data-cell-value={cell.value}
156
159
  key={cell.colKeyValue}>
157
- <lightning-primitive-cell-checkbox
158
- dt-context-id={_datatableId}
159
- has-focus={cell.hasFocus}
160
- data-label={cell.dataLabel}
161
- key={cell.key}
160
+ <!-- Fast Path -->
161
+ <template if:true={cell.isInlined}>
162
+ <span
163
+ class="slds-checkbox"
164
+ data-inline-type="primitive-cell-checkbox"
165
+ onclick={handleInlinedCheckboxContainerClick}
166
+ onmousedown={handleInlinedCheckboxContainerMouseDown}>
167
+ <input type="checkbox"
168
+ name={cell.checkboxName}
169
+ id={cell.checkboxId}
170
+ checked={row.isSelected}
171
+ disabled={row.isDisabled}
172
+ data-action-triggers="space"
173
+ data-navigation="enable"
174
+ tabindex={cell.internalTabIndex}
175
+ onclick={handleInlinedCheckboxClick}>
176
+ <label
177
+ id={cell.checkboxLabelId}
178
+ class="slds-checkbox__label"
179
+ for={cell.checkboxId}>
180
+ <span class="slds-checkbox_faux"></span>
181
+ <span class="slds-form-element__label slds-assistive-text">
182
+ {cell.checkboxSelectItemAssistiveText}
183
+ </span>
184
+ </label>
185
+ </span>
186
+ </template>
187
+ <!-- Slow Path -->
188
+ <template if:false={cell.isInlined}>
189
+ <lightning-primitive-cell-checkbox
190
+ dt-context-id={_datatableId}
191
+ has-focus={cell.hasFocus}
192
+ data-label={cell.dataLabel}
193
+ key={cell.key}
194
+ row-key-value={row.key}
195
+ col-key-value={cell.colKeyValue}
196
+ row-index={row.rowIndex}
197
+ type={row.inputType}
198
+ is-selected={row.isSelected}
199
+ is-disabled={row.isDisabled}
200
+ column-header-id={computedCheckboxColumnHeaderId}>
201
+ </lightning-primitive-cell-checkbox>
202
+ </template>
203
+ </div>
204
+ </template>
205
+ <template if:true={cell.isSortingMenu}>
206
+ <!-- Empty Cell -->
207
+ <div part="cell"
208
+ class={cell.class}
209
+ style={cell.style}
210
+ role="gridcell"
211
+ tabindex={cell.tabIndex}
212
+ data-label={cell.dataLabel}
213
+ data-col-key-value={cell.colKeyValue}
214
+ key={cell.colKeyValue}>
215
+ <lightning-primitive-datatable-cell
162
216
  row-key-value={row.key}
163
- col-key-value={cell.colKeyValue}
164
- row-index={row.rowIndex}
165
- type={row.inputType}
166
- is-selected={row.isSelected}
167
- is-disabled={row.isDisabled}
168
- column-header-id={computedCheckboxColumnHeaderId}>
169
- </lightning-primitive-cell-checkbox>
217
+ col-key-value={cell.colKeyValue}>
218
+ </lightning-primitive-datatable-cell>
170
219
  </div>
171
220
  </template>
172
221
  <template if:true={cell.isDataTypeScope}>
@@ -181,45 +230,377 @@
181
230
  tabindex={cell.tabIndex}
182
231
  data-label={cell.dataLabel}
183
232
  data-col-key-value={cell.colKeyValue}
233
+ data-cell-value={cell.value}
184
234
  key={cell.colKeyValue}>
185
- <lightning-primitive-cell-factory
186
- types={privateTypes}
187
- aria-selected={cell.ariaSelected}
188
- data-label={cell.dataLabel}
189
- alignment={cell.alignment}
190
- has-error={cell.hasError}
191
- has-focus={cell.hasFocus}
192
- column-label={cell.dataLabel}
193
- column-type={cell.columnType}
194
- column-sub-type={cell.columnSubType}
195
- wrap-text={cell.wrapText}
196
- wrap-text-max-lines={cell.wrapTextMaxLines}
197
- key={cell.columnType}
198
- row-key-value={row.key}
199
- col-key-value={cell.colKeyValue}
200
- value={cell.value}
201
- icon-name={cell.iconName}
202
- icon-label={cell.iconLabel}
203
- icon-position={cell.iconPosition}
204
- icon-alternative-text={cell.iconAlternativeText}
205
- editable={cell.editable}
206
- display-read-only-icon={cell.displayReadOnlyIcon}
207
- type-attribute-0={cell.typeAttribute0}
208
- type-attribute-1={cell.typeAttribute1}
209
- type-attribute-2={cell.typeAttribute2}
210
- type-attribute-3={cell.typeAttribute3}
211
- type-attribute-4={cell.typeAttribute4}
212
- type-attribute-5={cell.typeAttribute5}
213
- type-attribute-6={cell.typeAttribute6}
214
- type-attribute-7={cell.typeAttribute7}
215
- type-attribute-8={cell.typeAttribute8}
216
- type-attribute-9={cell.typeAttribute9}
217
- type-attribute-10={cell.typeAttribute10}
218
- type-attribute-21={cell.typeAttribute21}
219
- type-attribute-22={cell.typeAttribute22}>
220
- </lightning-primitive-cell-factory>
221
- <template if:true={cell.describedBy}>
222
- <span id={cell.describedBy} class="slds-hide">Unsaved</span>
235
+ <!-- Fast Path -->
236
+ <template if:true={cell.isInlined}>
237
+ <template if:true={cell.isCustomBareLayout}>
238
+ <div class={cell.computedCellDivClass} style={cell.computedCellDivStyle}>
239
+ <!-- custom type with bare layout -->
240
+ <lightning-primitive-custom-cell
241
+ types={_privateTypes}
242
+ row-key-value={row.key}
243
+ col-key-value={cell.colKeyValue}
244
+ alignment={cell.alignment}
245
+ column-type={cell.columnType}
246
+ column-sub-type={cell.columnSubType}
247
+ editable={cell.editable}
248
+ internal-tab-index={cell.internalTabIndex}
249
+ keyboard-mode={cell.keyboardMode}
250
+ value={cell.value}
251
+ wrap-text={cell.wrapText}
252
+ type-attribute-0={cell.typeAttribute0}
253
+ type-attribute-1={cell.typeAttribute1}
254
+ type-attribute-2={cell.typeAttribute2}
255
+ type-attribute-3={cell.typeAttribute3}
256
+ type-attribute-4={cell.typeAttribute4}
257
+ type-attribute-5={cell.typeAttribute5}
258
+ type-attribute-6={cell.typeAttribute6}
259
+ type-attribute-7={cell.typeAttribute7}
260
+ type-attribute-8={cell.typeAttribute8}
261
+ type-attribute-9={cell.typeAttribute9}
262
+ type-attribute-10={cell.typeAttribute10}>
263
+ </lightning-primitive-custom-cell>
264
+ </div>
265
+ </template>
266
+ <template if:false={cell.isCustomBareLayout}>
267
+ <span class={cell.computedWrapperClass} data-cell-type={cell.columnType}>
268
+ <div class={cell.computedCellDivClass} style={cell.computedCellDivStyle} data-editable={cell.isEditable}>
269
+ <!-- *************** PREFIX ICONS DO NOT ADD ANY TYPE BEFORE THIS *************** -->
270
+
271
+ <!-- tree toggle -->
272
+ <template if:true={cell.hasTreeData}>
273
+ <lightning-primitive-treegrid-cell-toggle
274
+ data-navigation="enable"
275
+ row-key-value={row.key}
276
+ col-key-value={cell.colKeyValue}
277
+ display-value={cell.displayValue}
278
+ value={cell.value}
279
+ has-children={cell.typeAttribute21}
280
+ is-expanded={cell.typeAttribute22}>
281
+ </lightning-primitive-treegrid-cell-toggle>
282
+ </template>
283
+
284
+ <!-- left icon -->
285
+ <template if:true={cell.hasLeftIcon}>
286
+ <lightning-icon
287
+ icon-name={cell.iconName}
288
+ size="x-small"
289
+ class="slds-m-right_x-small"
290
+ alternative-text={cell.iconAlternativeText}
291
+ ></lightning-icon>
292
+ {cell.iconLabel}
293
+ </template>
294
+
295
+ <!-- *************** PREFIX ICONS END *************** -->
296
+
297
+ <!-- boolean -->
298
+ <template if:true={cell.isBoolean}>
299
+ <template if:true={cell.isChecked}>
300
+ <lightning-primitive-icon
301
+ size="x-small"
302
+ icon-name="utility:check">
303
+ </lightning-primitive-icon>
304
+ </template>
305
+ <span class="slds-assistive-text">{cell.booleanCellAssistiveText}</span>
306
+ </template>
307
+
308
+ <!-- currency -->
309
+ <template if:true={cell.isCurrency}>
310
+ <span
311
+ class={cell.computedMarginClassWhenLeftIconExists}
312
+ data-inline-type="formatted-number">
313
+ {cell.currencyValue}
314
+ </span>
315
+ </template>
316
+
317
+ <!-- custom type with standard layout -->
318
+ <template if:true={cell.isCustomStandardLayout}>
319
+ <lightning-primitive-custom-cell
320
+ class={cell.computedMarginClassWhenLeftIconExists}
321
+ types={_privateTypes}
322
+ row-key-value={row.key}
323
+ col-key-value={cell.colKeyValue}
324
+ alignment={cell.alignment}
325
+ column-type={cell.columnType}
326
+ column-sub-type={cell.columnSubType}
327
+ editable={cell.editable}
328
+ internal-tab-index={cell.internalTabIndex}
329
+ keyboard-mode={cell.keyboardMode}
330
+ value={cell.value}
331
+ wrap-text={cell.wrapText}
332
+ type-attribute-0={cell.typeAttribute0}
333
+ type-attribute-1={cell.typeAttribute1}
334
+ type-attribute-2={cell.typeAttribute2}
335
+ type-attribute-3={cell.typeAttribute3}
336
+ type-attribute-4={cell.typeAttribute4}
337
+ type-attribute-5={cell.typeAttribute5}
338
+ type-attribute-6={cell.typeAttribute6}
339
+ type-attribute-7={cell.typeAttribute7}
340
+ type-attribute-8={cell.typeAttribute8}
341
+ type-attribute-9={cell.typeAttribute9}
342
+ type-attribute-10={cell.typeAttribute10}>
343
+ </lightning-primitive-custom-cell>
344
+ </template>
345
+
346
+ <!-- date local -->
347
+ <template if:true={cell.isDateLocal}>
348
+ <span
349
+ class={cell.computedMarginClassWhenLeftIconExists}
350
+ data-inline-type="formatted-date-time">
351
+ {cell.dateLocalValue}
352
+ </span>
353
+ </template>
354
+
355
+ <!-- date time -->
356
+ <template if:true={cell.isDateTime}>
357
+ <span
358
+ class={cell.computedMarginClassWhenLeftIconExists}
359
+ data-inline-type="formatted-date-time">
360
+ {cell.dateTimeValue}
361
+ </span>
362
+ </template>
363
+
364
+ <!-- email -->
365
+ <template if:true={cell.isEmail}>
366
+ <template if:true={cell.showEmailLink}>
367
+ <a
368
+ class={cell.computedMarginClassWhenLeftIconExists}
369
+ data-action-triggers="enter"
370
+ data-navigation="enable"
371
+ href={cell.emailLink}
372
+ tabindex={cell.internalTabIndex}>
373
+ <template if:false={cell.emailIconHidden}>
374
+ <lightning-primitive-icon
375
+ icon-name="utility:email"
376
+ size="x-small">
377
+ </lightning-primitive-icon>
378
+ <span class="slds-assistive-text">{cell.emailIconAssistiveText}</span>
379
+ </template> {cell.emailLabel}
380
+ </a>
381
+ </template>
382
+ </template>
383
+
384
+ <!-- location -->
385
+ <template if:true={cell.isLocation}>
386
+ <template if:true={cell.hasLeftIcon}>
387
+ <span class={cell.computedMarginClassWhenLeftIconExists}>{cell.locationValue}</span>
388
+ </template>
389
+ <template if:false={cell.hasLeftIcon}>
390
+ {cell.locationValue}
391
+ </template>
392
+ </template>
393
+
394
+ <!-- number -->
395
+ <template if:true={cell.isNumber}>
396
+ <span
397
+ class={cell.computedMarginClassWhenLeftIconExists}
398
+ data-inline-type="formatted-number">
399
+ {cell.numberValue}
400
+ </span>
401
+ </template>
402
+
403
+ <!-- percent -->
404
+ <template if:true={cell.isPercent}>
405
+ <span
406
+ class={cell.computedMarginClassWhenLeftIconExists}
407
+ data-inline-type="formatted-number">
408
+ {cell.percentValue}
409
+ </span>
410
+ </template>
411
+
412
+ <!-- phone -->
413
+ <template if:true={cell.isPhone}>
414
+ <template if:true={cell.showPhoneLink}>
415
+ <a
416
+ class={cell.computedMarginClassWhenLeftIconExists}
417
+ data-action-triggers="enter"
418
+ data-inline-type="formatted-phone"
419
+ data-navigation="enable"
420
+ href={cell.phoneLink}
421
+ tabindex={cell.internalTabIndex}>
422
+ {cell.phoneLabel}
423
+ </a>
424
+ </template>
425
+ </template>
426
+
427
+ <!-- lookup (reference) -->
428
+ <template if:true={cell.isLookup}>
429
+ <template if:true={cell.lookupIsNavigable}>
430
+ <a
431
+ class={cell.computedMarginClassWhenLeftIconExists}
432
+ data-action-triggers="enter"
433
+ data-inline-type="formatted-lookup"
434
+ data-navigation="enable"
435
+ href={cell.lookupLink}
436
+ tabindex={cell.internalTabIndex}
437
+ onclick={cell.handleLookupAnchorClick}>
438
+ {cell.lookupValue}
439
+ </a>
440
+ </template>
441
+ <template if:false={cell.lookupIsNavigable}>
442
+ <span
443
+ class={cell.computedMarginClassWhenLeftIconExists}
444
+ data-inline-type="formatted-lookup"
445
+ data-navigation="enable"
446
+ data-action-triggers="enter">
447
+ {cell.lookupValue}
448
+ </span>
449
+ </template>
450
+ </template>
451
+
452
+ <!-- row number -->
453
+ <template if:true={cell.isRowNumber}>
454
+ <template if:true={cell.rowHasError}>
455
+ <lightning-primitive-datatable-tooltip
456
+ class="slds-m-horizontal_xxx-small"
457
+ data-navigation="enable"
458
+ data-action-triggers="enter,space"
459
+ size="xx-small"
460
+ header={cell.typeAttribute0.title}
461
+ content={cell.typeAttribute0.messages}
462
+ variant='error'
463
+ internal-tab-index={cell.internalTabIndex}
464
+ alternative-text={cell.typeAttribute0.alternativeText}>
465
+ </lightning-primitive-datatable-tooltip>
466
+ </template>
467
+ <span class="slds-row-number slds-text-body_small slds-text-color_weak" style={cell.computedRowNumberStyle}></span>
468
+ </template>
469
+
470
+ <!-- text -->
471
+ <template if:true={cell.isText}>
472
+ <template if:false={cell.shouldFormatText}>
473
+ <template if:true={cell.ignoreRTL}>
474
+ <span dir="ltr" class={cell.computedMarginClassWhenLeftIconExists}>{cell.textValue}</span>
475
+ </template>
476
+ <template if:false={cell.ignoreRTL}>
477
+ <template if:true={cell.hasLeftIcon}>
478
+ <span class={cell.computedMarginClassWhenLeftIconExists}>{cell.textValue}</span>
479
+ </template>
480
+ <template if:false={cell.hasLeftIcon}>
481
+ {cell.textValue}
482
+ </template>
483
+ </template>
484
+ </template>
485
+ <template if:true={cell.shouldFormatText}>
486
+ <span class={cell.computedMarginClassWhenLeftIconExists}>
487
+ <template for:each={cell.textParts} for:item="part">
488
+ <template if:true={part.isLink}>
489
+ <a key={part.key} target='_blank' href={part.href} rel="noopener">{part.value}</a>
490
+ </template>
491
+ <template if:true={part.isText}>
492
+ {part.value}
493
+ </template>
494
+ </template>
495
+ </span>
496
+ </template>
497
+ </template>
498
+
499
+ <!-- url -->
500
+ <template if:true={cell.isURL}>
501
+ <template if:true={cell.showUrlLink}>
502
+ <a
503
+ class={cell.computedMarginClassWhenLeftIconExists}
504
+ data-action-triggers="enter"
505
+ data-inline-type="formatted-url"
506
+ data-navigation="enable"
507
+ href={cell.urlLink}
508
+ target={cell.urlTarget}
509
+ tabindex={cell.internalTabIndex}
510
+ title={cell.urlTooltip}
511
+ onclick={cell.handleUrlAnchorClick}>
512
+ {cell.urlLabel}
513
+ </a>
514
+ </template>
515
+ </template>
516
+
517
+ <!-- *************** SUFFIX ICONS ADD ALL TYPES BEFORE THIS *************** -->
518
+
519
+ <template if:true={cell.hasRightIcon}>
520
+ <lightning-icon
521
+ icon-name={cell.iconName}
522
+ class="slds-m-left_x-small slds-m-right_x-small"
523
+ size="x-small"
524
+ alternative-text={cell.iconAlternativeText}></lightning-icon>
525
+ {cell.iconLabel}
526
+ </template>
527
+
528
+ <!-- *************** SUFFIX ICONS END *************** -->
529
+
530
+ </div>
531
+ <template if:true={cell.isEditable}>
532
+ <button class="slds-button slds-button_icon slds-cell-edit__button slds-m-left_x-small"
533
+ data-action-edit="true"
534
+ data-action-triggers="enter,space"
535
+ data-navigation="enable"
536
+ tabindex={cell.internalTabIndex}
537
+ onclick={handleInlinedEditButtonClick}>
538
+ <lightning-primitive-icon
539
+ icon-name="utility:edit"
540
+ size="xx-small"
541
+ svg-class="slds-button__icon slds-button__icon_hint slds-button__icon_lock slds-button__icon_small slds-button__icon_edit">
542
+ </lightning-primitive-icon>
543
+ <span class="slds-assistive-text">
544
+ {cell.editIconAssistiveText}
545
+ </span>
546
+ </button>
547
+ </template>
548
+ <!-- TODO: displayReadOnlyIcon is true only when the cell's "editable" property is false and its "displayReadOnlyIcon"
549
+ property is true. The markup in this template therefore cannot be rendered concurrently with the template above that checks
550
+ the editable property. -->
551
+ <template if:true={cell.shouldDisplayReadOnlyIcon}>
552
+ <!-- TODO: Update the svg-classes once the SLDS team updates their read only icon design to not use classes that have the word 'button'
553
+ in them in cases when the cell is read only and hence no button is actually rendered -->
554
+ <lightning-primitive-icon
555
+ icon-name="utility:lock"
556
+ size="xx-small"
557
+ svg-class="slds-button__icon slds-button__icon_hint slds-button__icon_lock slds-button__icon_small">
558
+ </lightning-primitive-icon>
559
+ </template>
560
+ </span>
561
+ </template>
562
+ </template>
563
+ <!-- Slow Path -->
564
+ <template if:false={cell.isInlined}>
565
+ <lightning-primitive-cell-factory
566
+ types={_privateTypes}
567
+ aria-selected={cell.ariaSelected}
568
+ data-label={cell.dataLabel}
569
+ alignment={cell.alignment}
570
+ has-error={cell.hasError}
571
+ has-focus={cell.hasFocus}
572
+ column-label={cell.dataLabel}
573
+ column-type={cell.columnType}
574
+ column-sub-type={cell.columnSubType}
575
+ wrap-text={cell.wrapText}
576
+ wrap-text-max-lines={cell.wrapTextMaxLines}
577
+ key={cell.columnType}
578
+ row-key-value={row.key}
579
+ col-key-value={cell.colKeyValue}
580
+ value={cell.value}
581
+ icon-name={cell.iconName}
582
+ icon-label={cell.iconLabel}
583
+ icon-position={cell.iconPosition}
584
+ icon-alternative-text={cell.iconAlternativeText}
585
+ editable={cell.editable}
586
+ display-read-only-icon={cell.displayReadOnlyIcon}
587
+ type-attribute-0={cell.typeAttribute0}
588
+ type-attribute-1={cell.typeAttribute1}
589
+ type-attribute-2={cell.typeAttribute2}
590
+ type-attribute-3={cell.typeAttribute3}
591
+ type-attribute-4={cell.typeAttribute4}
592
+ type-attribute-5={cell.typeAttribute5}
593
+ type-attribute-6={cell.typeAttribute6}
594
+ type-attribute-7={cell.typeAttribute7}
595
+ type-attribute-8={cell.typeAttribute8}
596
+ type-attribute-9={cell.typeAttribute9}
597
+ type-attribute-10={cell.typeAttribute10}
598
+ type-attribute-21={cell.typeAttribute21}
599
+ type-attribute-22={cell.typeAttribute22}>
600
+ </lightning-primitive-cell-factory>
601
+ <template if:true={cell.describedBy}>
602
+ <span id={cell.describedBy} class="slds-hide">Unsaved</span>
603
+ </template>
223
604
  </template>
224
605
  </div>
225
606
  </template>
@@ -234,46 +615,381 @@
234
615
  tabindex={cell.tabIndex}
235
616
  data-label={cell.dataLabel}
236
617
  data-col-key-value={cell.colKeyValue}
618
+ data-cell-value={cell.value}
237
619
  key={cell.colKeyValue}>
238
- <lightning-primitive-cell-factory
239
- types={privateTypes}
240
- aria-selected={cell.ariaSelected}
241
- aria-describedby={cell.describedBy}
242
- data-label={cell.dataLabel}
243
- alignment={cell.alignment}
244
- has-focus={cell.hasFocus}
245
- has-error={cell.hasError}
246
- column-label={cell.dataLabel}
247
- column-type={cell.columnType}
248
- column-sub-type={cell.columnSubType}
249
- wrap-text={cell.wrapText}
250
- wrap-text-max-lines={cell.wrapTextMaxLines}
251
- key={cell.columnType}
252
- row-key-value={row.key}
253
- col-key-value={cell.colKeyValue}
254
- value={cell.value}
255
- icon-name={cell.iconName}
256
- icon-label={cell.iconLabel}
257
- icon-position={cell.iconPosition}
258
- icon-alternative-text={cell.iconAlternativeText}
259
- editable={cell.editable}
260
- display-read-only-icon={cell.displayReadOnlyIcon}
261
- type-attribute-0={cell.typeAttribute0}
262
- type-attribute-1={cell.typeAttribute1}
263
- type-attribute-2={cell.typeAttribute2}
264
- type-attribute-3={cell.typeAttribute3}
265
- type-attribute-4={cell.typeAttribute4}
266
- type-attribute-5={cell.typeAttribute5}
267
- type-attribute-6={cell.typeAttribute6}
268
- type-attribute-7={cell.typeAttribute7}
269
- type-attribute-8={cell.typeAttribute8}
270
- type-attribute-9={cell.typeAttribute9}
271
- type-attribute-10={cell.typeAttribute10}
272
- type-attribute-21={cell.typeAttribute21}
273
- type-attribute-22={cell.typeAttribute22}>
274
- </lightning-primitive-cell-factory>
275
- <template if:true={cell.describedBy}>
276
- <span id={cell.describedBy} class="slds-hide">Unsaved</span>
620
+ <!-- Fast Path -->
621
+ <template if:true={cell.isInlined}>
622
+ <template if:true={cell.isCustomBareLayout}>
623
+ <div class={cell.computedCellDivClass} style={cell.computedCellDivStyle}>
624
+ <!-- custom type with bare layout -->
625
+ <lightning-primitive-custom-cell
626
+ types={_privateTypes}
627
+ row-key-value={row.key}
628
+ col-key-value={cell.colKeyValue}
629
+ alignment={cell.alignment}
630
+ column-type={cell.columnType}
631
+ column-sub-type={cell.columnSubType}
632
+ editable={cell.editable}
633
+ internal-tab-index={cell.internalTabIndex}
634
+ keyboard-mode={cell.keyboardMode}
635
+ value={cell.value}
636
+ wrap-text={cell.wrapText}
637
+ type-attribute-0={cell.typeAttribute0}
638
+ type-attribute-1={cell.typeAttribute1}
639
+ type-attribute-2={cell.typeAttribute2}
640
+ type-attribute-3={cell.typeAttribute3}
641
+ type-attribute-4={cell.typeAttribute4}
642
+ type-attribute-5={cell.typeAttribute5}
643
+ type-attribute-6={cell.typeAttribute6}
644
+ type-attribute-7={cell.typeAttribute7}
645
+ type-attribute-8={cell.typeAttribute8}
646
+ type-attribute-9={cell.typeAttribute9}
647
+ type-attribute-10={cell.typeAttribute10}>
648
+ </lightning-primitive-custom-cell>
649
+ </div>
650
+ </template>
651
+ <template if:false={cell.isCustomBareLayout}>
652
+ <span class={cell.computedWrapperClass} data-cell-type={cell.columnType}>
653
+ <div class={cell.computedCellDivClass} style={cell.computedCellDivStyle} data-editable={cell.isEditable}>
654
+ <!-- *************** PREFIX ICONS DO NOT ADD ANY TYPE BEFORE THIS *************** -->
655
+
656
+ <!-- tree toggle -->
657
+ <template if:true={cell.hasTreeData}>
658
+ <lightning-primitive-treegrid-cell-toggle
659
+ data-navigation="enable"
660
+ row-key-value={row.key}
661
+ col-key-value={cell.colKeyValue}
662
+ display-value={cell.displayValue}
663
+ value={cell.value}
664
+ has-children={cell.typeAttribute21}
665
+ is-expanded={cell.typeAttribute22}>
666
+ </lightning-primitive-treegrid-cell-toggle>
667
+ </template>
668
+
669
+ <!-- left icon -->
670
+ <template if:true={cell.hasLeftIcon}>
671
+ <lightning-icon
672
+ icon-name={cell.iconName}
673
+ size="x-small"
674
+ class="slds-m-right_x-small"
675
+ alternative-text={cell.iconAlternativeText}
676
+ ></lightning-icon>
677
+ {cell.iconLabel}
678
+ </template>
679
+
680
+ <!-- *************** PREFIX ICONS END *************** -->
681
+
682
+ <!-- boolean -->
683
+ <template if:true={cell.isBoolean}>
684
+ <template if:true={cell.isChecked}>
685
+ <lightning-primitive-icon
686
+ size="x-small"
687
+ icon-name="utility:check">
688
+ </lightning-primitive-icon>
689
+ </template>
690
+ <span class="slds-assistive-text">{cell.booleanCellAssistiveText}</span>
691
+ </template>
692
+
693
+ <!-- currency -->
694
+ <template if:true={cell.isCurrency}>
695
+ <span
696
+ class={cell.computedMarginClassWhenLeftIconExists}
697
+ data-inline-type="formatted-number">
698
+ {cell.currencyValue}
699
+ </span>
700
+ </template>
701
+
702
+ <!-- custom type with standard layout -->
703
+ <template if:true={cell.isCustomStandardLayout}>
704
+ <lightning-primitive-custom-cell
705
+ class={cell.computedMarginClassWhenLeftIconExists}
706
+ types={_privateTypes}
707
+ row-key-value={row.key}
708
+ col-key-value={cell.colKeyValue}
709
+ alignment={cell.alignment}
710
+ column-type={cell.columnType}
711
+ column-sub-type={cell.columnSubType}
712
+ editable={cell.editable}
713
+ internal-tab-index={cell.internalTabIndex}
714
+ keyboard-mode={cell.keyboardMode}
715
+ value={cell.value}
716
+ wrap-text={cell.wrapText}
717
+ type-attribute-0={cell.typeAttribute0}
718
+ type-attribute-1={cell.typeAttribute1}
719
+ type-attribute-2={cell.typeAttribute2}
720
+ type-attribute-3={cell.typeAttribute3}
721
+ type-attribute-4={cell.typeAttribute4}
722
+ type-attribute-5={cell.typeAttribute5}
723
+ type-attribute-6={cell.typeAttribute6}
724
+ type-attribute-7={cell.typeAttribute7}
725
+ type-attribute-8={cell.typeAttribute8}
726
+ type-attribute-9={cell.typeAttribute9}
727
+ type-attribute-10={cell.typeAttribute10}>
728
+ </lightning-primitive-custom-cell>
729
+ </template>
730
+
731
+ <!-- date local -->
732
+ <template if:true={cell.isDateLocal}>
733
+ <span
734
+ class={cell.computedMarginClassWhenLeftIconExists}
735
+ data-inline-type="formatted-date-time">
736
+ {cell.dateLocalValue}
737
+ </span>
738
+ </template>
739
+
740
+ <!-- date time -->
741
+ <template if:true={cell.isDateTime}>
742
+ <span
743
+ class={cell.computedMarginClassWhenLeftIconExists}
744
+ data-inline-type="formatted-date-time">
745
+ {cell.dateTimeValue}
746
+ </span>
747
+ </template>
748
+
749
+ <!-- email -->
750
+ <template if:true={cell.isEmail}>
751
+ <template if:true={cell.showEmailLink}>
752
+ <a
753
+ class={cell.computedMarginClassWhenLeftIconExists}
754
+ data-navigation="enable"
755
+ data-action-triggers="enter"
756
+ href={cell.emailLink}
757
+ tabindex={cell.internalTabIndex}>
758
+ <template if:false={cell.emailIconHidden}>
759
+ <lightning-primitive-icon
760
+ icon-name="utility:email"
761
+ size="x-small">
762
+ </lightning-primitive-icon>
763
+ <span class="slds-assistive-text">{cell.emailIconAssistiveText}</span>
764
+ </template> {cell.emailLabel}
765
+ </a>
766
+ </template>
767
+ </template>
768
+
769
+ <!-- location -->
770
+ <template if:true={cell.isLocation}>
771
+ <template if:true={cell.hasLeftIcon}>
772
+ <span class={cell.computedMarginClassWhenLeftIconExists}>{cell.locationValue}</span>
773
+ </template>
774
+ <template if:false={cell.hasLeftIcon}>
775
+ {cell.locationValue}
776
+ </template>
777
+ </template>
778
+
779
+ <!-- number -->
780
+ <template if:true={cell.isNumber}>
781
+ <span
782
+ class={cell.computedMarginClassWhenLeftIconExists}
783
+ data-inline-type="formatted-number">
784
+ {cell.numberValue}
785
+ </span>
786
+ </template>
787
+
788
+ <!-- percent -->
789
+ <template if:true={cell.isPercent}>
790
+ <span
791
+ class={cell.computedMarginClassWhenLeftIconExists}
792
+ data-inline-type="formatted-number">
793
+ {cell.percentValue}
794
+ </span>
795
+ </template>
796
+
797
+ <!-- phone -->
798
+ <template if:true={cell.isPhone}>
799
+ <template if:true={cell.showPhoneLink}>
800
+ <a
801
+ class={cell.computedMarginClassWhenLeftIconExists}
802
+ data-inline-type="formatted-phone"
803
+ data-navigation="enable"
804
+ data-action-triggers="enter"
805
+ href={cell.phoneLink}
806
+ tabindex={cell.internalTabIndex}>
807
+ {cell.phoneLabel}
808
+ </a>
809
+ </template>
810
+ </template>
811
+
812
+ <!-- lookup (reference) -->
813
+ <template if:true={cell.isLookup}>
814
+ <template if:true={cell.lookupIsNavigable}>
815
+ <a
816
+ class={cell.computedMarginClassWhenLeftIconExists}
817
+ data-inline-type="formatted-lookup"
818
+ data-navigation="enable"
819
+ data-action-triggers="enter"
820
+ href={cell.lookupLink}
821
+ tabindex={cell.internalTabIndex}
822
+ onclick={cell.handleLookupAnchorClick}>
823
+ {cell.lookupValue}
824
+ </a>
825
+ </template>
826
+ <template if:false={cell.lookupIsNavigable}>
827
+ <span
828
+ class={cell.computedMarginClassWhenLeftIconExists}
829
+ data-inline-type="formatted-lookup"
830
+ data-navigation="enable"
831
+ data-action-triggers="enter">
832
+ {cell.lookupValue}
833
+ </span>
834
+ </template>
835
+ </template>
836
+
837
+ <!-- row number -->
838
+ <template if:true={cell.isRowNumber}>
839
+ <template if:true={cell.rowHasError}>
840
+ <lightning-primitive-datatable-tooltip
841
+ class="slds-m-horizontal_xxx-small"
842
+ data-navigation="enable"
843
+ data-action-triggers="enter,space"
844
+ size="xx-small"
845
+ header={cell.typeAttribute0.title}
846
+ content={cell.typeAttribute0.messages}
847
+ variant='error'
848
+ internal-tab-index={cell.internalTabIndex}
849
+ alternative-text={cell.typeAttribute0.alternativeText}>
850
+ </lightning-primitive-datatable-tooltip>
851
+ </template>
852
+ <span
853
+ class="slds-row-number slds-text-body_small slds-text-color_weak"
854
+ style={cell.computedRowNumberStyle}>
855
+ </span>
856
+ </template>
857
+
858
+ <!-- text -->
859
+ <template if:true={cell.isText}>
860
+ <template if:false={cell.shouldFormatText}>
861
+ <template if:true={cell.ignoreRTL}>
862
+ <span dir="ltr" class={cell.computedMarginClassWhenLeftIconExists}>{cell.textValue}</span>
863
+ </template>
864
+ <template if:false={cell.ignoreRTL}>
865
+ <template if:true={cell.hasLeftIcon}>
866
+ <span class={cell.computedMarginClassWhenLeftIconExists}>{cell.textValue}</span>
867
+ </template>
868
+ <template if:false={cell.hasLeftIcon}>
869
+ {cell.textValue}
870
+ </template>
871
+ </template>
872
+ </template>
873
+ <template if:true={cell.shouldFormatText}>
874
+ <span class={cell.computedMarginClassWhenLeftIconExists}>
875
+ <template for:each={cell.textParts} for:item="part">
876
+ <template if:true={part.isLink}>
877
+ <a key={part.key} target='_blank' href={part.href} rel="noopener">{part.value}</a>
878
+ </template>
879
+ <template if:true={part.isText}>
880
+ {part.value}
881
+ </template>
882
+ </template>
883
+ </span>
884
+ </template>
885
+ </template>
886
+
887
+ <!-- url -->
888
+ <template if:true={cell.isURL}>
889
+ <template if:true={cell.showUrlLink}>
890
+ <a
891
+ class={cell.computedMarginClassWhenLeftIconExists}
892
+ data-inline-type="formatted-url"
893
+ data-navigation="enable"
894
+ data-action-triggers="enter"
895
+ href={cell.urlLink}
896
+ title={cell.urlTooltip}
897
+ target={cell.urlTarget}
898
+ tabindex={cell.internalTabIndex}
899
+ onclick={cell.handleUrlAnchorClick}>
900
+ {cell.urlLabel}
901
+ </a>
902
+ </template>
903
+ </template>
904
+
905
+ <!-- *************** SUFFIX ICONS ADD ALL TYPES BEFORE THIS *************** -->
906
+
907
+ <template if:true={cell.hasRightIcon}>
908
+ <lightning-icon
909
+ icon-name={cell.iconName}
910
+ class="slds-m-left_x-small slds-m-right_x-small"
911
+ size="x-small"
912
+ alternative-text={cell.iconAlternativeText}></lightning-icon>
913
+ {cell.iconLabel}
914
+ </template>
915
+
916
+ <!-- *************** SUFFIX ICONS END *************** -->
917
+
918
+ </div>
919
+ <template if:true={cell.isEditable}>
920
+ <button class="slds-button slds-button_icon slds-cell-edit__button slds-m-left_x-small"
921
+ data-action-edit="true"
922
+ data-action-triggers="enter,space"
923
+ data-navigation="enable"
924
+ tabindex={cell.internalTabIndex}
925
+ onclick={handleInlinedEditButtonClick}>
926
+ <lightning-primitive-icon
927
+ icon-name="utility:edit"
928
+ size="xx-small"
929
+ svg-class="slds-button__icon slds-button__icon_hint slds-button__icon_lock slds-button__icon_small slds-button__icon_edit">
930
+ </lightning-primitive-icon>
931
+ <span class="slds-assistive-text">
932
+ {cell.editIconAssistiveText}
933
+ </span>
934
+ </button>
935
+ </template>
936
+ <!-- TODO: displayReadOnlyIcon is true only when the cell's "editable" property is false and its "displayReadOnlyIcon"
937
+ property is true. The markup in this template therefore cannot be rendered concurrently with the template above that checks
938
+ the editable property. -->
939
+ <template if:true={cell.shouldDisplayReadOnlyIcon}>
940
+ <!-- TODO: Update the svg-classes once the SLDS team updates their read only icon design to not use classes that have the word 'button'
941
+ in them in cases when the cell is read only and hence no button is actually rendered -->
942
+ <lightning-primitive-icon
943
+ icon-name="utility:lock"
944
+ size="xx-small"
945
+ svg-class="slds-button__icon slds-button__icon_hint slds-button__icon_lock slds-button__icon_small">
946
+ </lightning-primitive-icon>
947
+ </template>
948
+ </span>
949
+ </template>
950
+ </template>
951
+ <!-- Slow Path -->
952
+ <template if:false={cell.isInlined}>
953
+ <lightning-primitive-cell-factory
954
+ types={_privateTypes}
955
+ aria-selected={cell.ariaSelected}
956
+ aria-describedby={cell.describedBy}
957
+ data-label={cell.dataLabel}
958
+ alignment={cell.alignment}
959
+ has-focus={cell.hasFocus}
960
+ has-error={cell.hasError}
961
+ column-label={cell.dataLabel}
962
+ column-type={cell.columnType}
963
+ column-sub-type={cell.columnSubType}
964
+ wrap-text={cell.wrapText}
965
+ wrap-text-max-lines={cell.wrapTextMaxLines}
966
+ key={cell.columnType}
967
+ row-key-value={row.key}
968
+ col-key-value={cell.colKeyValue}
969
+ value={cell.value}
970
+ icon-name={cell.iconName}
971
+ icon-label={cell.iconLabel}
972
+ icon-position={cell.iconPosition}
973
+ icon-alternative-text={cell.iconAlternativeText}
974
+ editable={cell.editable}
975
+ display-read-only-icon={cell.displayReadOnlyIcon}
976
+ type-attribute-0={cell.typeAttribute0}
977
+ type-attribute-1={cell.typeAttribute1}
978
+ type-attribute-2={cell.typeAttribute2}
979
+ type-attribute-3={cell.typeAttribute3}
980
+ type-attribute-4={cell.typeAttribute4}
981
+ type-attribute-5={cell.typeAttribute5}
982
+ type-attribute-6={cell.typeAttribute6}
983
+ type-attribute-7={cell.typeAttribute7}
984
+ type-attribute-8={cell.typeAttribute8}
985
+ type-attribute-9={cell.typeAttribute9}
986
+ type-attribute-10={cell.typeAttribute10}
987
+ type-attribute-21={cell.typeAttribute21}
988
+ type-attribute-22={cell.typeAttribute22}>
989
+ </lightning-primitive-cell-factory>
990
+ <template if:true={cell.describedBy}>
991
+ <span id={cell.describedBy} class="slds-hide">Unsaved</span>
992
+ </template>
277
993
  </template>
278
994
  </div>
279
995
  </template>