@dcs-tech/ui 0.9.0 → 0.11.0

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 (235) hide show
  1. package/CHANGELOG.md +488 -0
  2. package/README.md +43 -7
  3. package/THIRD_PARTY_NOTICES.md +23 -0
  4. package/dist/ChartImageMenu-sB2QNQzd.js +9673 -0
  5. package/dist/ChartView-BstZkP1g.js +1942 -0
  6. package/dist/{SummaryChart-CxRjK_HU.js → SummaryChart-B5ibDNOZ.js} +11 -10
  7. package/dist/{SummaryImage-Crf1R-3a.js → SummaryImage-CRP7X2Nl.js} +2 -2
  8. package/dist/SummarySeeAll-CtYRGV4G.js +101 -0
  9. package/dist/assets/fileTask.worker-D97s2vRV.js +1 -0
  10. package/dist/columnValue-BOn9NC8X.js +644 -0
  11. package/dist/exportContext-CMzuzRjc.js +274 -0
  12. package/dist/{exportEngine-BFZD6djX.js → exportEngine-CYDN8Ty-.js} +167 -137
  13. package/dist/file-worker.js +1 -1
  14. package/dist/{fileActions-CFNO14Aj.js → fileActions-DkPEWE-t.js} +1 -1
  15. package/dist/{geometry-yZmKN662.js → geometry-CFS5If1N.js} +848 -439
  16. package/dist/index.js +24208 -12603
  17. package/dist/{labels-CnqqTrne.js → labels-mukFhYkc.js} +126 -1
  18. package/dist/{runFileTask-BIZTFnZP.js → runFileTask-DI_39TjR.js} +17 -0
  19. package/dist/scrollArea-B52kugL1.js +291 -0
  20. package/dist/style.css +1 -1
  21. package/dist/{summaryChartData-CARqGRUl.js → summaryChartData-D15kw64n.js} +10 -3
  22. package/dist/types/components/Alert/Alert.d.ts +16 -0
  23. package/dist/types/components/Alert/index.d.ts +2 -0
  24. package/dist/types/components/Card/Card.d.ts +4 -3
  25. package/dist/types/components/Card/index.d.ts +1 -1
  26. package/dist/types/components/Charts/BarList.d.ts +4 -3
  27. package/dist/types/components/Charts/CalendarHeatmap.d.ts +4 -2
  28. package/dist/types/components/Charts/Chart.d.ts +3 -2
  29. package/dist/types/components/Charts/ChartView.d.ts +3 -2
  30. package/dist/types/components/Charts/ColumnChart.d.ts +4 -3
  31. package/dist/types/components/Charts/Donut.d.ts +3 -2
  32. package/dist/types/components/Charts/Funnel.d.ts +4 -2
  33. package/dist/types/components/Charts/Gauge.d.ts +3 -2
  34. package/dist/types/components/Charts/LineChart.d.ts +4 -3
  35. package/dist/types/components/Charts/NumberTrend.d.ts +4 -3
  36. package/dist/types/components/Charts/Progress.d.ts +3 -2
  37. package/dist/types/components/Charts/StackedBar.d.ts +3 -2
  38. package/dist/types/components/Charts/Treemap.d.ts +3 -2
  39. package/dist/types/components/Charts/chartData.d.ts +6 -0
  40. package/dist/types/components/Charts/chartImage.d.ts +3 -0
  41. package/dist/types/components/Charts/geometry.d.ts +3 -0
  42. package/dist/types/components/Charts/index.d.ts +2 -0
  43. package/dist/types/components/Charts/palette.d.ts +1 -0
  44. package/dist/types/components/Charts/parts.d.ts +14 -0
  45. package/dist/types/components/Charts/useChartMotion.d.ts +8 -0
  46. package/dist/types/components/ChipInput/ChipTags.d.ts +3 -0
  47. package/dist/types/components/CommandPalette/CommandPaletteTrigger.d.ts +9 -0
  48. package/dist/types/components/CommandPalette/index.d.ts +2 -0
  49. package/dist/types/components/DataTable/DataTable.d.ts +3 -1
  50. package/dist/types/components/DataTable/DisplayPopover.d.ts +1 -0
  51. package/dist/types/components/DataTable/HeaderMenu.d.ts +1 -0
  52. package/dist/types/components/DataTable/TableColumnModal.d.ts +4 -1
  53. package/dist/types/components/DataTable/TablePagination.d.ts +1 -1
  54. package/dist/types/components/DataTable/TableToolbar.d.ts +21 -1
  55. package/dist/types/components/DataTable/TableView.d.ts +19 -2
  56. package/dist/types/components/DataTable/cards/CardView.d.ts +25 -5
  57. package/dist/types/components/DataTable/cards/cardFields.d.ts +1 -0
  58. package/dist/types/components/DataTable/cards/rowParts.d.ts +1 -0
  59. package/dist/types/components/DataTable/cellSelection/CellRangeBar.d.ts +16 -0
  60. package/dist/types/components/DataTable/cellSelection/cellRangeStore.d.ts +18 -0
  61. package/dist/types/components/DataTable/cellSelection/paintRanges.d.ts +2 -0
  62. package/dist/types/components/DataTable/cellSelection/useCellSelection.d.ts +63 -0
  63. package/dist/types/components/DataTable/data/listDelta.d.ts +27 -0
  64. package/dist/types/components/DataTable/data/rowLineage.d.ts +3 -0
  65. package/dist/types/components/DataTable/data/rowModels.d.ts +9 -0
  66. package/dist/types/components/DataTable/data/rowTransaction.d.ts +9 -0
  67. package/dist/types/components/DataTable/data/useServerData.d.ts +3 -1
  68. package/dist/types/components/DataTable/defaults.d.ts +4 -0
  69. package/dist/types/components/DataTable/export/exportCells.d.ts +5 -2
  70. package/dist/types/components/DataTable/export/exportEngine.d.ts +7 -2
  71. package/dist/types/components/DataTable/export/useTableExport.d.ts +17 -1
  72. package/dist/types/components/DataTable/filters/filterRowModel.d.ts +1 -0
  73. package/dist/types/components/DataTable/grouping/groupModel.d.ts +11 -0
  74. package/dist/types/components/DataTable/index.d.ts +1 -1
  75. package/dist/types/components/DataTable/keyboard/ShortcutsDialog.d.ts +4 -1
  76. package/dist/types/components/DataTable/keyboard/useGridKeyboard.d.ts +8 -0
  77. package/dist/types/components/DataTable/labels.d.ts +130 -0
  78. package/dist/types/components/DataTable/layout/LayoutSwitcher.d.ts +10 -2
  79. package/dist/types/components/DataTable/layout/useFitWidths.d.ts +7 -0
  80. package/dist/types/components/DataTable/menu/RowMenu.d.ts +1 -0
  81. package/dist/types/components/DataTable/menu/buildRowMenu.d.ts +6 -3
  82. package/dist/types/components/DataTable/motion/RowChangeNotice.d.ts +19 -0
  83. package/dist/types/components/DataTable/motion/rowChanges.d.ts +25 -0
  84. package/dist/types/components/DataTable/motion/useNoticeInsets.d.ts +2 -0
  85. package/dist/types/components/DataTable/motion/useRowChangeNotices.d.ts +35 -0
  86. package/dist/types/components/DataTable/motion/useRowMotion.d.ts +29 -3
  87. package/dist/types/components/DataTable/persistence/reconcile.d.ts +4 -0
  88. package/dist/types/components/DataTable/persistence/useColumnPersistence.d.ts +5 -1
  89. package/dist/types/components/DataTable/pivot/PivotPanel.d.ts +11 -0
  90. package/dist/types/components/DataTable/pivot/PivotView.d.ts +22 -0
  91. package/dist/types/components/DataTable/pivot/pivotModel.d.ts +54 -0
  92. package/dist/types/components/DataTable/pivot/usePivot.d.ts +44 -0
  93. package/dist/types/components/DataTable/rows/PressRow.d.ts +1 -0
  94. package/dist/types/components/DataTable/rows/RowLead.d.ts +23 -0
  95. package/dist/types/components/DataTable/rows/rowPress.d.ts +2 -0
  96. package/dist/types/components/DataTable/rows/usePinnedRows.d.ts +34 -0
  97. package/dist/types/components/DataTable/rows/useRowDrag.d.ts +44 -0
  98. package/dist/types/components/DataTable/split/SplitView.d.ts +4 -2
  99. package/dist/types/components/DataTable/summary/SummaryChart.d.ts +2 -1
  100. package/dist/types/components/DataTable/summary/TableSummary.d.ts +2 -1
  101. package/dist/types/components/DataTable/summary/summaryModel.d.ts +28 -6
  102. package/dist/types/components/DataTable/summary/useTableSummary.d.ts +3 -0
  103. package/dist/types/components/DataTable/toolbar/ToolbarMore.d.ts +14 -0
  104. package/dist/types/components/DataTable/toolbar/useToolbarFit.d.ts +10 -0
  105. package/dist/types/components/DataTable/tree/TreeChips.d.ts +5 -0
  106. package/dist/types/components/DataTable/tree/treeExport.d.ts +54 -0
  107. package/dist/types/components/DataTable/tree/treeMove.d.ts +1 -0
  108. package/dist/types/components/DataTable/tree/useTreeChildren.d.ts +15 -0
  109. package/dist/types/components/DataTable/tree/useTreeData.d.ts +60 -0
  110. package/dist/types/components/DataTable/types.d.ts +290 -6
  111. package/dist/types/components/DataTable/ui-local/TableReorderList.d.ts +13 -0
  112. package/dist/types/components/DataTable/ui.d.ts +2 -1
  113. package/dist/types/components/DataTable/useDataChangeTracker.d.ts +11 -4
  114. package/dist/types/components/DataTable/useTable.d.ts +14 -1
  115. package/dist/types/components/DataTable/virtual/useVirtualLines.d.ts +1 -0
  116. package/dist/types/components/DatePicker/PeriodGrid.d.ts +13 -0
  117. package/dist/types/components/DatePicker/PeriodPicker.d.ts +19 -0
  118. package/dist/types/components/DatePicker/index.d.ts +1 -1
  119. package/dist/types/components/Dialog/dialogSlots.d.ts +9 -0
  120. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +8 -0
  121. package/dist/types/components/EventCalendar/EventCalendar.d.ts +46 -0
  122. package/dist/types/components/EventCalendar/eventParts.d.ts +10 -0
  123. package/dist/types/components/EventCalendar/index.d.ts +3 -0
  124. package/dist/types/components/EventCalendar/useCalendarEdit.d.ts +40 -0
  125. package/dist/types/components/FieldWrapper/index.d.ts +1 -1
  126. package/dist/types/components/Fields/index.d.ts +1 -1
  127. package/dist/types/components/Icon/Icon.d.ts +36 -0
  128. package/dist/types/components/Icon/Icon.storyData.d.ts +6 -0
  129. package/dist/types/components/Icon/IconContext.d.ts +7 -0
  130. package/dist/types/components/Icon/icons.d.ts +223 -0
  131. package/dist/types/components/Icon/index.d.ts +7 -0
  132. package/dist/types/components/Icon/useIconDone.d.ts +5 -0
  133. package/dist/types/components/Image/ImageEditor.d.ts +21 -0
  134. package/dist/types/components/Image/ImagePicker.d.ts +10 -1
  135. package/dist/types/components/Image/imageRender.d.ts +33 -0
  136. package/dist/types/components/Image/index.d.ts +3 -1
  137. package/dist/types/components/Image/prepareImage.d.ts +4 -3
  138. package/dist/types/components/Link/Link.d.ts +22 -0
  139. package/dist/types/components/Link/index.d.ts +2 -0
  140. package/dist/types/components/NavList/NavList.d.ts +13 -0
  141. package/dist/types/components/NavList/index.d.ts +2 -0
  142. package/dist/types/components/PageProgress/PageProgress.d.ts +10 -0
  143. package/dist/types/components/PageProgress/index.d.ts +2 -0
  144. package/dist/types/components/Pagination/Pagination.d.ts +19 -0
  145. package/dist/types/components/Pagination/index.d.ts +2 -0
  146. package/dist/types/components/Popover/Popover.d.ts +2 -1
  147. package/dist/types/components/Popover/floatingPosition.d.ts +26 -2
  148. package/dist/types/components/ReorderList/ReorderGroup.d.ts +16 -0
  149. package/dist/types/components/ReorderList/ReorderList.d.ts +56 -0
  150. package/dist/types/components/ReorderList/crossListDrag.d.ts +61 -0
  151. package/dist/types/components/ReorderList/index.d.ts +5 -0
  152. package/dist/types/components/ReorderList/useReorderDrag.d.ts +28 -0
  153. package/dist/types/components/Scroll/ui.d.ts +1 -0
  154. package/dist/types/components/SlidingHighlight/index.d.ts +2 -0
  155. package/dist/types/components/SlidingHighlight/useSlidingHighlight.d.ts +20 -0
  156. package/dist/types/components/Suggest/SuggestionList.d.ts +1 -0
  157. package/dist/types/components/Tooltip/useTooltip.d.ts +4 -0
  158. package/dist/types/components/UIProvider/UILabelsContext.d.ts +120 -0
  159. package/dist/types/components/UIProvider/UIProvider.d.ts +2 -0
  160. package/dist/types/core/hooks/index.d.ts +2 -1
  161. package/dist/types/core/hooks/useMeasuredState.d.ts +1 -0
  162. package/dist/types/core/hooks/usePresence.d.ts +1 -0
  163. package/dist/types/core/icons/actions.icons.d.ts +37 -0
  164. package/dist/types/core/icons/commerce.icons.d.ts +16 -0
  165. package/dist/types/core/icons/communication.icons.d.ts +10 -0
  166. package/dist/types/core/icons/delivery.icons.d.ts +13 -0
  167. package/dist/types/core/icons/devices.icons.d.ts +16 -0
  168. package/dist/types/core/icons/files.icons.d.ts +13 -0
  169. package/dist/types/core/icons/general.icons.d.ts +24 -0
  170. package/dist/types/core/icons/index.d.ts +14 -0
  171. package/dist/types/core/icons/media.icons.d.ts +11 -0
  172. package/dist/types/core/icons/navigation.icons.d.ts +25 -0
  173. package/dist/types/core/icons/people.icons.d.ts +13 -0
  174. package/dist/types/core/icons/registry.d.ts +2 -0
  175. package/dist/types/core/icons/state.icons.d.ts +14 -0
  176. package/dist/types/core/icons/status.icons.d.ts +10 -0
  177. package/dist/types/core/icons/table.icons.d.ts +22 -0
  178. package/dist/types/core/icons/text.icons.d.ts +13 -0
  179. package/dist/types/core/logic/alert.logic.d.ts +3 -0
  180. package/dist/types/core/logic/cellRange.logic.d.ts +66 -0
  181. package/dist/types/core/logic/cellTouch.logic.d.ts +16 -0
  182. package/dist/types/core/logic/columnGroups.logic.d.ts +31 -0
  183. package/dist/types/core/logic/commandPalette.logic.d.ts +2 -0
  184. package/dist/types/core/logic/datePicker.logic.d.ts +12 -0
  185. package/dist/types/core/logic/dropdownSide.logic.d.ts +19 -0
  186. package/dist/types/core/logic/eventCalendar.logic.d.ts +225 -0
  187. package/dist/types/core/logic/fieldWrapper.logic.d.ts +6 -1
  188. package/dist/types/core/logic/fitColumns.logic.d.ts +7 -0
  189. package/dist/types/core/logic/icon.logic.d.ts +24 -0
  190. package/dist/types/core/logic/imageEditor.logic.d.ts +132 -0
  191. package/dist/types/core/logic/imageTransform.logic.d.ts +57 -0
  192. package/dist/types/core/logic/index.d.ts +25 -0
  193. package/dist/types/core/logic/inertProps.d.ts +3 -0
  194. package/dist/types/core/logic/pageProgress.logic.d.ts +3 -0
  195. package/dist/types/core/logic/pagination.logic.d.ts +7 -0
  196. package/dist/types/core/logic/periodPicker.logic.d.ts +86 -0
  197. package/dist/types/core/logic/pivot.logic.d.ts +100 -0
  198. package/dist/types/core/logic/reorder.logic.d.ts +49 -0
  199. package/dist/types/core/logic/rowActions.logic.d.ts +7 -0
  200. package/dist/types/core/logic/rowDrag.logic.d.ts +36 -0
  201. package/dist/types/core/logic/rowPinning.logic.d.ts +12 -0
  202. package/dist/types/core/logic/slidingHighlight.logic.d.ts +20 -0
  203. package/dist/types/core/logic/toolbarOverflow.logic.d.ts +21 -0
  204. package/dist/types/core/logic/treeData.logic.d.ts +44 -0
  205. package/dist/types/core/logic/treeDrag.logic.d.ts +63 -0
  206. package/dist/types/core/logic/tween.logic.d.ts +33 -0
  207. package/dist/types/core/logic/visualViewport.logic.d.ts +13 -0
  208. package/dist/types/core/types/chipinput.types.d.ts +3 -1
  209. package/dist/types/core/types/collapsible.types.d.ts +3 -0
  210. package/dist/types/core/types/datePicker.types.d.ts +7 -0
  211. package/dist/types/core/types/eventCalendar.types.d.ts +18 -0
  212. package/dist/types/core/types/field.types.d.ts +6 -3
  213. package/dist/types/core/types/fieldWrapper.types.d.ts +2 -0
  214. package/dist/types/core/types/fields.types.d.ts +6 -1
  215. package/dist/types/core/types/fileEngine.types.d.ts +6 -0
  216. package/dist/types/core/types/form.types.d.ts +1 -0
  217. package/dist/types/core/types/format.types.d.ts +2 -0
  218. package/dist/types/core/types/icon.types.d.ts +109 -0
  219. package/dist/types/core/types/index.d.ts +2 -0
  220. package/dist/types/core/types/input.types.d.ts +2 -0
  221. package/dist/types/core/types/navigation.types.d.ts +1 -0
  222. package/dist/types/core/types/select.types.d.ts +2 -6
  223. package/dist/types/core/types/suggest.types.d.ts +2 -0
  224. package/dist/types/index.d.ts +31 -6
  225. package/package.json +4 -4
  226. package/dist/ChartImageMenu-DDVNJNc6.js +0 -1499
  227. package/dist/ChartView-CW3m4Z_1.js +0 -1703
  228. package/dist/SummarySeeAll-BRHOMQRA.js +0 -101
  229. package/dist/assets/fileTask.worker--Q3rI3Bn.js +0 -1
  230. package/dist/columnValue-DwUqueZ6.js +0 -610
  231. package/dist/exportContext-BKFnNQ0q.js +0 -166
  232. package/dist/scrollArea-DbYFqbIH.js +0 -269
  233. package/dist/types/components/DataTable/ui-local/DragAndDropList/DragAndDropList.d.ts +0 -4
  234. package/dist/types/components/DataTable/ui-local/DragAndDropList/index.d.ts +0 -3
  235. package/dist/types/components/DataTable/ui-local/DragAndDropList/types.d.ts +0 -70
@@ -2,6 +2,8 @@
2
2
  // src/components/DataTable/labels.ts
3
3
  var e = {
4
4
  toolbar: "Table tools",
5
+ toolbarMore: "More tools",
6
+ toolbarMoreOn: "More tools, some on",
5
7
  search: "Search",
6
8
  searchPlaceholder: "Search...",
7
9
  closeSearch: "Close search",
@@ -20,6 +22,7 @@ var e = {
20
22
  columnFilters: "Column filters",
21
23
  layout: "Layout",
22
24
  layoutCurrent: (e) => `Layout: ${e}`,
25
+ layoutFieldsItem: (e) => `${e}…`,
23
26
  layoutTable: "Table",
24
27
  layoutCards: "Cards",
25
28
  layoutSplit: "Split",
@@ -81,6 +84,16 @@ var e = {
81
84
  undoFailed: "Could not undo",
82
85
  dismiss: "Dismiss",
83
86
  dataTable: "Data table",
87
+ rowsNewAbove: (e, t) => `${e} new ${t === 1 ? "row" : "rows"} above`,
88
+ rowsNewBelow: (e, t) => `${e} new ${t === 1 ? "row" : "rows"} below`,
89
+ rowsNewOnOtherPages: (e, t) => `${e} new ${t === 1 ? "row" : "rows"} on other pages`,
90
+ rowsRemovedAbove: (e) => `${e} removed above`,
91
+ rowsRemovedBelow: (e) => `${e} removed below`,
92
+ rowsKeptInPlace: (e, t) => `${e} ${t === 1 ? "row" : "rows"} kept in place`,
93
+ sortNow: "Sort now",
94
+ pauseUpdates: "Pause updates",
95
+ resumeUpdates: (e, t) => t ? `Resume · ${e} waiting` : "Resume updates",
96
+ rowsChangedAnnouncement: (e, t, n, r) => [n ? `${e} ${n === 1 ? "row" : "rows"} added` : "", r ? `${t} ${r === 1 ? "row" : "rows"} removed` : ""].filter(Boolean).join(", "),
84
97
  selectAllRows: "Select all rows",
85
98
  selectRow: (e) => `Select row ${e}`,
86
99
  open: "Open",
@@ -88,12 +101,44 @@ var e = {
88
101
  actions: "Actions",
89
102
  expandRow: "Expand row",
90
103
  collapseRow: "Collapse row",
104
+ rowDragHandle: (e) => `Move ${e}`,
105
+ rowDragHint: "Drag to move the row, or press Space to pick it up",
106
+ rowDragOffSorted: "The rows follow the sort: clear it to move rows by hand",
107
+ rowDragOffSearched: "Some rows are hidden by the search: clear it to move rows by hand",
108
+ rowDragOffFiltered: "Some rows are hidden by the filter: clear it to move rows by hand",
109
+ rowDragOffGrouped: "The rows are grouped: ungroup them to move rows by hand",
110
+ rowDragPicked: (e, t, n) => `${e} picked up, at ${t} of ${n}. Up and down arrows move it, Enter drops it, Escape puts it back.`,
111
+ rowDragPickedMany: (e, t, n) => `${e} rows picked up, at ${t} of ${n}. Up and down arrows move them, Enter drops them, Escape puts them back.`,
112
+ rowDragAt: (e, t) => `${e} of ${t}`,
113
+ rowDragDropped: (e, t, n) => `${e} moved to ${t} of ${n}`,
114
+ rowDragDroppedMany: (e, t, n) => `${e} rows moved to ${t} of ${n}`,
115
+ rowDragCancelled: (e) => `Move cancelled: ${e} is back in its place`,
116
+ rowDragMore: (e) => `+${e} more`,
117
+ rowDragTreeIn: (e, t, n) => `in ${e}, position ${t} of ${n}`,
118
+ rowDragTreeTop: (e, t) => `at the top level, position ${e} of ${t}`,
119
+ rowDragTreeInto: (e, t, n) => `into ${e}, position ${t} of ${n}`,
120
+ rowDragTreeToTop: (e, t) => `to the top level, position ${e} of ${t}`,
121
+ rowDragTreePicked: (e, t) => `${e} picked up, ${t}. Up and down arrows move it, left and right arrows change its level, Enter drops it, Escape puts it back.`,
122
+ rowDragTreePickedMany: (e, t) => `${e} rows picked up, ${t}. Up and down arrows move them, left and right arrows change their level, Enter drops them, Escape puts them back.`,
123
+ rowDragTreeDropped: (e, t) => `${e} moved ${t}`,
124
+ rowDragTreeDroppedMany: (e, t) => `${e} rows moved ${t}`,
125
+ rowDragTreeNoIndent: "No row above it at this level to move it into",
126
+ rowDragTreeNoOutdent: "Already at the top level",
127
+ treeExpand: (e) => `Show the rows under ${e}`,
128
+ treeCollapse: (e) => `Hide the rows under ${e}`,
129
+ treeLoading: "Loading the rows under it",
130
+ treeLoadFailed: "The rows under it could not be loaded: open it again to retry",
131
+ treeExpandAll: "Expand all",
132
+ treeCollapseAll: "Collapse all",
133
+ treeRows: "Tree",
134
+ treeLevel: "Level",
91
135
  showMore: "Show more",
92
136
  showLess: "Show less",
93
137
  total: "Total",
94
138
  yes: "Yes",
95
139
  no: "No",
96
140
  empty: "No data found",
141
+ noResults: "No results for this search or filter",
97
142
  loading: "Loading...",
98
143
  loadError: "Could not load the rows.",
99
144
  rowsHidden: "Only the summary is shown — you may not see the rows of this list.",
@@ -112,6 +157,11 @@ var e = {
112
157
  copyFailed: "Could not copy — the browser blocked it",
113
158
  selectRowMenu: "Select",
114
159
  unselectRowMenu: "Unselect",
160
+ pinRowTop: "Pin to top",
161
+ pinRowBottom: "Pin to bottom",
162
+ unpinRow: "Unpin",
163
+ pinnedRowTop: "Pinned to the top",
164
+ pinnedRowBottom: "Pinned to the bottom",
115
165
  filterOnly: (e) => `Only ${e}`,
116
166
  filterAdd: (e) => `Add ${e}`,
117
167
  filterHide: (e) => `Hide ${e}`,
@@ -178,6 +228,29 @@ var e = {
178
228
  kbFilterOnly: "Only this cell’s value",
179
229
  kbFilterHide: "Hide this cell’s value",
180
230
  selectionCleared: "Selection cleared",
231
+ kbCellRange: "Extend the selected cells",
232
+ kbCellRangeEdge: "Extend the cells to the last row / column",
233
+ kbCellAdd: "Add another range of cells",
234
+ kbCellAll: "Select every cell",
235
+ kbCellCopy: "Copy the selected cells",
236
+ kbCellPaste: "Paste into the selected cells",
237
+ kbCellRows: "Select the rows of the selected cells",
238
+ kbCellEscape: "Clear the selected cells (again: the row selection)",
239
+ cellRangeAnnouncement: (e, t, n, r) => `${e} ${r.cells === 1 ? "cell" : "cells"} selected, ${t} ${r.rows === 1 ? "row" : "rows"} by ${n} ${r.columns === 1 ? "column" : "columns"}${r.ranges > 1 ? `, in ${r.ranges} ranges` : ""}`,
240
+ cellRangeCleared: "Cell selection cleared",
241
+ cellsCopied: (e, t) => `${e} ${t === 1 ? "cell" : "cells"} copied`,
242
+ cellsPasted: (e, t) => `${e} ${t === 1 ? "cell" : "cells"} pasted`,
243
+ cellRangeBar: "Selected cells",
244
+ cellRangeCount: "Count",
245
+ cellRangeSum: "Sum",
246
+ cellRangeAvg: "Average",
247
+ cellRangeMin: "Min",
248
+ cellRangeMax: "Max",
249
+ cellTouchBar: "Selected cells actions",
250
+ cellTouchSize: (e, t) => `${e} ${t === 1 ? "cell" : "cells"}`,
251
+ cellTouchCopy: "Copy",
252
+ cellTouchMenu: "Row actions",
253
+ cellTouchClear: "Clear selected cells",
181
254
  groupButton: "Group",
182
255
  groupButtonOn: (e) => `Group: ${e}`,
183
256
  groupMenu: "Group rows by",
@@ -265,7 +338,10 @@ var e = {
265
338
  showActionColumn: "Show action column",
266
339
  actionDisplayMode: "Display mode",
267
340
  actionDisplayModeCard: "Display mode (card)",
268
- actionDisplayModeHint: "How the row’s main action shows; the others are in the ⋮ menu.",
341
+ actionDisplayModeHint: "How the row’s action buttons show; the rest are in the ⋮ menu.",
342
+ maxVisibleActions: "Max visible buttons",
343
+ maxVisibleActionsCard: "Max visible buttons (card)",
344
+ maxVisibleActionsHint: "How many actions show as buttons, the main ones first; the ⋮ menu has them all.",
269
345
  modeIcon: "Icon",
270
346
  modeLabel: "Label",
271
347
  modeIconLabel: "Icon + Label",
@@ -425,6 +501,7 @@ var e = {
425
501
  summaryWidthFull: "Full row",
426
502
  summaryWidthAuto: (e) => `Auto · ${e}`,
427
503
  summaryWidthBetter: (e) => `reads better at ${e}`,
504
+ manageSummaryRangeHint: "Dates set by the screen come first.",
428
505
  summarySeeAll: (e) => `See all ${e} ›`,
429
506
  summaryAllOf: (e, t) => `${e} · all ${t}`,
430
507
  summaryLoading: "Loading…",
@@ -464,6 +541,7 @@ var e = {
464
541
  exportAwaitingClick: (e) => `${e} is ready — use the button in the notification to finish`,
465
542
  exportValidationFailed: "Validation failed",
466
543
  exportCapped: (e, t) => `Exported the first ${e} of ${t} matching rows — narrow the filters to export the rest.`,
544
+ exportTreePartial: "Only the child rows already opened in the table are in this file.",
467
545
  exportBusiness: "Business",
468
546
  exportAddress: "Address",
469
547
  exportPhone: "Phone",
@@ -471,6 +549,7 @@ var e = {
471
549
  exportFiltersLabel: "Filters",
472
550
  exportSearchLabel: "Search",
473
551
  exportRowsLabel: "Rows",
552
+ exportNoteLabel: "Note",
474
553
  exportRowsTotal: (e) => `${e} total`,
475
554
  exportRowsFiltered: (e) => `${e} filtered`,
476
555
  exportRowsExported: (e) => `${e} exported`,
@@ -597,6 +676,7 @@ var e = {
597
676
  listAllInList: "Every field is in the list",
598
677
  fieldsDropHere: "Drop a field here",
599
678
  fieldsRemove: (e) => `Remove ${e}`,
679
+ fieldsMove: (e) => `Move ${e}`,
600
680
  fieldsAdd: "Add field",
601
681
  fieldsLivePreview: "Live preview",
602
682
  cardPreviewCard: "Card",
@@ -606,6 +686,51 @@ var e = {
606
686
  fieldsTab: "Fields",
607
687
  previewTab: "Preview",
608
688
  fieldsResetDefault: "Reset to default",
689
+ pivot: "Pivot",
690
+ pivotOn: "Pivot, on",
691
+ pivotTitle: "Pivot",
692
+ pivotSubtitle: "Sum up the rows: pick the fields for the lines, the columns and the figures.",
693
+ pivotMode: "Pivot mode",
694
+ pivotModeHint: "Show the summed-up figures instead of the rows. The search and the filter still choose the rows.",
695
+ pivotRows: "Rows",
696
+ pivotRowsHint: "A line for each value",
697
+ pivotColumns: "Columns",
698
+ pivotColumnsHint: "A column group for each value",
699
+ pivotValues: "Values",
700
+ pivotValuesHint: "The figures in the cells",
701
+ pivotFields: "Fields",
702
+ pivotFieldsHint: "Drag a field to Rows, Columns or Values, or use its buttons",
703
+ pivotAllPlaced: "Every field is in use",
704
+ pivotDropHere: "Drop a field here",
705
+ pivotAdd: "Add",
706
+ pivotAddTo: (e) => `Add to ${e}`,
707
+ pivotAddField: (e, t) => `Add ${e} to ${t}`,
708
+ pivotRemove: (e) => `Remove ${e}`,
709
+ pivotMove: (e) => `Move ${e}`,
710
+ pivotAggregation: (e) => `Aggregation of ${e}`,
711
+ pivotAggSum: "Sum",
712
+ pivotAggCount: "Count",
713
+ pivotAggAvg: "Average",
714
+ pivotAggMin: "Min",
715
+ pivotAggMax: "Max",
716
+ pivotAggFirst: "First",
717
+ pivotAggLast: "Last",
718
+ pivotAggCustom: "Custom",
719
+ pivotValueHeader: (e, t) => `${e} of ${t}`,
720
+ pivotTotal: "Total",
721
+ pivotTotalOf: (e) => `${e} total`,
722
+ pivotGrandTotal: "Grand total",
723
+ pivotTotals: "Totals",
724
+ pivotTotalsRows: "Subtotal lines",
725
+ pivotTotalsColumns: "Total columns",
726
+ pivotTotalsGrand: "Grand-total line",
727
+ pivotCapped: (e, t) => `Showing ${e} of ${t} pivot columns. Filter the rows or pick fewer column fields to see the rest.`,
728
+ pivotNoValues: "Add a field to Values to see figures.",
729
+ pivotNoRows: "No rows to sum up.",
730
+ pivotLoadFailed: "The pivot could not be loaded",
731
+ pivotResult: "Pivot result",
732
+ pivotReset: "Reset to default",
733
+ pivotFieldsOf: (e) => `${e} fields`,
609
734
  prefsChanged: (e) => `Your saved layout changed: ${e}`,
610
735
  prefsColumnsGone: (e, t) => `${e} ${t === 1 ? "column no longer exists" : "columns no longer exist"}`,
611
736
  prefsFiltersOff: (e, t) => `${e} saved ${t === 1 ? "filter was" : "filters were"} turned off`,
@@ -108,6 +108,23 @@ async function m(e, t) {
108
108
  width: e.width
109
109
  }));
110
110
  for (let t of o.before ?? []) p(e, t, c);
111
+ for (let t of o.headerGroups ?? []) {
112
+ let n = Array(c).fill("");
113
+ for (let e of t) e.start >= 0 && e.start < c && (n[e.start] = e.label);
114
+ let r = e.addRow(n);
115
+ r.font = { bold: o.headerStyle?.bold ?? !0 };
116
+ for (let e = 1; e <= c; e++) {
117
+ let t = r.getCell(e);
118
+ f(t, o.headerStyle), t.alignment = {
119
+ horizontal: "center",
120
+ vertical: "middle"
121
+ };
122
+ }
123
+ for (let n of t) {
124
+ let t = Math.min(c, n.start + n.span);
125
+ t - n.start > 1 && e.mergeCells(r.number, n.start + 1, r.number, t);
126
+ }
127
+ }
111
128
  let l = e.addRow(o.columns.map((e) => e.header));
112
129
  l.font = { bold: o.headerStyle?.bold ?? !0 }, l.eachCell((e, t) => {
113
130
  let n = o.columns[t - 1]?.align;
@@ -0,0 +1,291 @@
1
+ "use client";
2
+ import { Et as e } from "./ChartImageMenu-sB2QNQzd.js";
3
+ import { Ln as t, Vn as n } from "./geometry-CFS5If1N.js";
4
+ import { n as r, t as i } from "./labels-mukFhYkc.js";
5
+ import { createContext as a, useCallback as o, useContext as s, useEffect as c, useId as ee, useLayoutEffect as l, useMemo as u, useRef as d, useState as f } from "react";
6
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
7
+ import { createPortal as te } from "react-dom";
8
+ // src/components/Dialog/dialogOpen.tsx
9
+ var h = a(null), g = a(0), _ = ({ children: e }) => {
10
+ let [t, n] = f(0), r = u(() => () => {
11
+ n((e) => e + 1);
12
+ let e = !1;
13
+ return () => {
14
+ e || (e = !0, n((e) => e - 1));
15
+ };
16
+ }, []);
17
+ return /* @__PURE__ */ p(h.Provider, {
18
+ value: r,
19
+ children: /* @__PURE__ */ p(g.Provider, {
20
+ value: t,
21
+ children: e
22
+ })
23
+ });
24
+ };
25
+ function ne(e) {
26
+ let t = s(h);
27
+ c(() => e && t ? t() : void 0, [e, t]);
28
+ }
29
+ var v = () => s(g), y = () => s(g) > 0, re = a(null), b = () => s(re), x = typeof document > "u" ? c : l;
30
+ function S(e, t, n) {
31
+ let r = e?.claim;
32
+ x(() => r && n ? r(t) : void 0, [
33
+ r,
34
+ t,
35
+ n
36
+ ]);
37
+ }
38
+ var C = {
39
+ root: "_root_6qxml_7",
40
+ nonModal: "_nonModal_6qxml_30",
41
+ panel: "_panel_6qxml_3",
42
+ center: "_center_6qxml_41",
43
+ right: "_right_6qxml_42",
44
+ left: "_left_6qxml_43",
45
+ top: "_top_6qxml_44",
46
+ bottom: "_bottom_6qxml_45",
47
+ sm: "_sm_6qxml_86",
48
+ md: "_md_6qxml_87",
49
+ lg: "_lg_6qxml_88",
50
+ xl: "_xl_6qxml_89",
51
+ full: "_full_6qxml_90",
52
+ header: "_header_6qxml_96",
53
+ headText: "_headText_6qxml_106",
54
+ title: "_title_6qxml_108",
55
+ subtitle: "_subtitle_6qxml_114",
56
+ body: "_body_6qxml_120",
57
+ flush: "_flush_6qxml_128",
58
+ footer: "_footer_6qxml_130",
59
+ slot: "_slot_6qxml_141",
60
+ close: "_close_6qxml_144",
61
+ dialogPop: "_dialogPop_6qxml_1",
62
+ slideFromRight: "_slideFromRight_6qxml_1",
63
+ slideFromLeft: "_slideFromLeft_6qxml_1",
64
+ slideFromTop: "_slideFromTop_6qxml_1",
65
+ slideFromBottom: "_slideFromBottom_6qxml_1",
66
+ backdropIn: "_backdropIn_6qxml_1",
67
+ closing: "_closing_6qxml_171"
68
+ }, w = 0, T = null, ie = (e) => {
69
+ if (typeof document < "u") {
70
+ if (w === 0) {
71
+ let t = document.body;
72
+ T = {
73
+ overflow: t.style.overflow,
74
+ paddingRight: t.style.paddingRight
75
+ };
76
+ let n = window.innerWidth - document.documentElement.clientWidth;
77
+ if (e && n > 0) {
78
+ let e = parseFloat(window.getComputedStyle(t).paddingRight) || 0;
79
+ t.style.paddingRight = `${e + n}px`;
80
+ }
81
+ t.style.overflow = "hidden";
82
+ }
83
+ w += 1;
84
+ }
85
+ }, ae = () => {
86
+ typeof document < "u" && (w = Math.max(0, w - 1), w === 0 && T && (document.body.style.overflow = T.overflow, document.body.style.paddingRight = T.paddingRight, T = null));
87
+ }, oe = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, se = /* @__PURE__ */ p(e, { size: 16 }), ce = 0, le = "button:not([disabled]),a[href],input:not([disabled]):not([type=\"hidden\"]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"]),[contenteditable=\"true\"]", E = ({ open: e, onClose: r, onBeforeClose: i, onEscKeyDown: a, onOverlayClick: s, onAnimationEnd: h, children: g, title: _, subtitle: v, footer: y, modal: b = !0, placement: x = "center", size: S = "md", closeOnBackdrop: w = !0, closeOnEscape: T = !0, showCloseButton: E = !0, closeIcon: D, closeIconId: O, blockScroll: k = !0, reserveScrollBarGap: A = !0, initialFocusRef: j, container: M, animationDuration: ue = 200, padded: de = !0, classNames: N = {}, styleSlots: P = {}, className: fe = "", style: pe, role: me = "dialog", id: he, "aria-label": F, "aria-labelledby": ge, "aria-describedby": _e }) => {
88
+ let ve = n(), I = d(null), [ye, be] = f(null), L = ee(), [R, z] = f({
89
+ header: 0,
90
+ footer: 0
91
+ }), [B, xe] = f(null), [V, Se] = f(null), H = o((e) => (z((t) => ({
92
+ ...t,
93
+ [e]: t[e] + 1
94
+ })), () => z((t) => ({
95
+ ...t,
96
+ [e]: t[e] - 1
97
+ }))), []), Ce = u(() => ({
98
+ headerEl: B,
99
+ footerEl: V,
100
+ claim: H
101
+ }), [
102
+ B,
103
+ V,
104
+ H
105
+ ]), [U, W] = f(e), [we, G] = f(!1), [K, q] = f(!1), J = d(null), Y = d(e);
106
+ Y.current = e;
107
+ let X = d(null), Te = oe() ? 0 : ue;
108
+ ne(U), c(() => {
109
+ e ? (X.current &&= (clearTimeout(X.current), null), G(!1), W(!0)) : U && (G(!0), X.current = setTimeout(() => {
110
+ I.current?.close(), W(!1), q(!1), G(!1), h?.();
111
+ }, Te));
112
+ }, [e]), c(() => () => {
113
+ X.current && clearTimeout(X.current);
114
+ }, []);
115
+ let Z = o(() => {
116
+ i && i() === !1 || r?.();
117
+ }, [i, r]);
118
+ l(() => {
119
+ let e = I.current;
120
+ if (e && U) {
121
+ if (!e.open) {
122
+ let t = document.activeElement;
123
+ J.current = t instanceof HTMLElement && t !== document.body ? t : null, b && (e.dataset.modalOrder = String(++ce)), b ? e.showModal() : e.show();
124
+ }
125
+ q(!0);
126
+ }
127
+ }, [U, b]), l(() => {
128
+ let e = I.current;
129
+ if (!e || !K) return;
130
+ if (j?.current) {
131
+ j.current.focus({ focusVisible: !0 });
132
+ return;
133
+ }
134
+ let t = document.activeElement;
135
+ t && t !== e && e.contains(t) || e.querySelector(le)?.focus();
136
+ }, [K]), l(() => () => {
137
+ let e = I.current, t = J.current;
138
+ if (!e?.open || !t) return;
139
+ let n = document.activeElement;
140
+ (!n || n === document.body || e.contains(n)) && queueMicrotask(() => {
141
+ let e = document.activeElement;
142
+ t.isConnected && (!e || e === document.body) && t.focus({ preventScroll: !0 });
143
+ });
144
+ }, []), c(() => {
145
+ if (U && k && b) return ie(A), () => ae();
146
+ }, [
147
+ U,
148
+ b,
149
+ k,
150
+ A
151
+ ]), c(() => {
152
+ let e = I.current;
153
+ if (!e || !U) return;
154
+ let t = (t) => {
155
+ t.key !== "Escape" || t.defaultPrevented || t.isComposing || t.target instanceof Node && e.contains(t.target) && (t.preventDefault(), a?.(t), T && Z());
156
+ }, n = (e) => {
157
+ e.preventDefault(), a?.(e), T && Z();
158
+ }, r = () => {
159
+ Y.current && !e.open && e.isConnected && (b ? e.showModal() : e.show(), e.querySelector(le)?.focus());
160
+ }, i = e.ownerDocument.defaultView ?? window;
161
+ return i.addEventListener("keydown", t), e.addEventListener("cancel", n), e.addEventListener("close", r), () => {
162
+ i.removeEventListener("keydown", t), e.removeEventListener("cancel", n), e.removeEventListener("close", r);
163
+ };
164
+ }, [
165
+ U,
166
+ b,
167
+ T,
168
+ Z,
169
+ a
170
+ ]);
171
+ let Q = d(!1), Ee = (e) => {
172
+ Q.current = e.target === I.current;
173
+ }, De = (e) => {
174
+ let t = Q.current && e.target === I.current;
175
+ Q.current = !1, t && (s?.(e), w && Z());
176
+ };
177
+ if (!U) return null;
178
+ let $ = R.header > 0, Oe = R.footer > 0, ke = _ !== void 0 || v !== void 0, Ae = ke || E || $, je = ge ?? ((_ !== void 0 || $) && !F ? L : void 0), Me = /* @__PURE__ */ p("dialog", {
179
+ ref: (e) => {
180
+ I.current = e, be(e);
181
+ },
182
+ id: he,
183
+ "data-modal": b ? "" : void 0,
184
+ className: [
185
+ C.root,
186
+ C[x],
187
+ C[S],
188
+ b ? "" : C.nonModal,
189
+ we ? C.closing : "",
190
+ N.root,
191
+ fe
192
+ ].filter(Boolean).join(" "),
193
+ style: {
194
+ "--dialog-anim": `${Te}ms`,
195
+ ...P.root,
196
+ ...pe
197
+ },
198
+ role: me,
199
+ "aria-label": F,
200
+ "aria-labelledby": je,
201
+ "aria-describedby": _e,
202
+ "aria-modal": b || void 0,
203
+ onPointerDown: Ee,
204
+ onPointerUp: De,
205
+ children: /* @__PURE__ */ p(t.Provider, {
206
+ value: ye,
207
+ children: /* @__PURE__ */ p(re.Provider, {
208
+ value: Ce,
209
+ children: K && /* @__PURE__ */ m("div", {
210
+ className: [C.panel, N.panel].filter(Boolean).join(" "),
211
+ style: P.panel,
212
+ children: [
213
+ Ae && /* @__PURE__ */ m("div", {
214
+ className: [C.header, N.header].filter(Boolean).join(" "),
215
+ style: P.header,
216
+ children: [
217
+ (ke || !$) && /* @__PURE__ */ m("span", {
218
+ className: C.headText,
219
+ children: [_ !== void 0 && /* @__PURE__ */ p("span", {
220
+ className: C.title,
221
+ id: L,
222
+ children: _
223
+ }), v !== void 0 && /* @__PURE__ */ p("span", {
224
+ className: C.subtitle,
225
+ children: v
226
+ })]
227
+ }),
228
+ $ && /* @__PURE__ */ p("div", {
229
+ ref: xe,
230
+ className: C.slot,
231
+ id: _ === void 0 ? L : void 0
232
+ }),
233
+ E && /* @__PURE__ */ p("button", {
234
+ type: "button",
235
+ id: O,
236
+ className: [C.close, N.closeButton].filter(Boolean).join(" "),
237
+ style: P.closeButton,
238
+ onClick: Z,
239
+ "aria-label": ve.dialog.close,
240
+ children: D ?? se
241
+ })
242
+ ]
243
+ }),
244
+ g !== void 0 && /* @__PURE__ */ p("div", {
245
+ className: [
246
+ C.body,
247
+ de ? "scroll-fade-y scroll-gutter" : `${C.flush} scroll-fade-y`,
248
+ N.body
249
+ ].filter(Boolean).join(" "),
250
+ style: P.body,
251
+ children: g
252
+ }),
253
+ (y !== void 0 || Oe) && /* @__PURE__ */ m("div", {
254
+ className: [C.footer, N.footer].filter(Boolean).join(" "),
255
+ style: P.footer,
256
+ children: [y, Oe && /* @__PURE__ */ p("div", {
257
+ ref: Se,
258
+ className: C.slot
259
+ })]
260
+ })
261
+ ]
262
+ })
263
+ })
264
+ })
265
+ }), Ne = M ?? (typeof document > "u" ? null : document.body);
266
+ return Ne ? te(Me, Ne) : null;
267
+ };
268
+ E.displayName = "Dialog";
269
+ var D = a({
270
+ authorize: () => !0,
271
+ exportOptions: {},
272
+ serverMode: !1,
273
+ labels: i,
274
+ format: r(),
275
+ text: {
276
+ yes: i.yes,
277
+ no: i.no
278
+ }
279
+ });
280
+ function O() {
281
+ return s(D);
282
+ }
283
+ function k() {
284
+ return s(D).labels;
285
+ }
286
+ function A(e, t, n) {
287
+ return !e || e(t, n) !== !1;
288
+ }
289
+ // src/components/DataTable/layout/scrollArea.ts
290
+ var j = "dt-scroll-area scroll-fade-y scroll-gutter", M = "dt-scroll-area scroll-fade-x scroll-fade-y scroll-gutter";
291
+ export { k as a, S as c, y as d, v as f, A as i, b as l, j as n, O as o, D as r, E as s, M as t, _ as u };