@guiexpert/table 1.1.24 → 1.1.25

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 (323) hide show
  1. package/package.json +4 -1
  2. package/.eslintrc.json +0 -16
  3. package/dist/README.md +0 -101
  4. package/dist/css/main.css +0 -350
  5. package/dist/css/table-classes.css +0 -42
  6. package/dist/css/table-color-classes.css +0 -98
  7. package/dist/css/table-color-vars.css +0 -158
  8. package/dist/css/table-tree.css +0 -53
  9. package/dist/package.json +0 -47
  10. package/doc.css +0 -1565
  11. package/patch.js +0 -16
  12. package/src/index.ts +0 -176
  13. package/src/lib/common/decorator/avoid-double-execution.decorator.ts +0 -21
  14. package/src/lib/table/action/action-id.type.ts +0 -36
  15. package/src/lib/table/action/on-action-triggered.if.ts +0 -14
  16. package/src/lib/table/action/osx-shortcut-actionId-mapping.ts +0 -39
  17. package/src/lib/table/action/shortcut-actionid-mapping.type.ts +0 -7
  18. package/src/lib/table/action/shortcut.service.ts +0 -162
  19. package/src/lib/table/action/windows-shortcut-actionId-mapping.ts +0 -35
  20. package/src/lib/table/checkbox/checkbox-model.if.ts +0 -16
  21. package/src/lib/table/checkbox/checkbox-model.ts +0 -62
  22. package/src/lib/table/checkbox/tree-checkbox-model.ts +0 -123
  23. package/src/lib/table/color/color-rgb.if.ts +0 -12
  24. package/src/lib/table/color/color-rgb.ts +0 -10
  25. package/src/lib/table/color/ge-css-color-util.ts +0 -43
  26. package/src/lib/table/color/three-color-gradient-arg.if.ts +0 -15
  27. package/src/lib/table/color/three-color-gradient-arg.ts +0 -14
  28. package/src/lib/table/color/two-color-gradient-arg.if.ts +0 -12
  29. package/src/lib/table/color/two-color-gradient-arg.ts +0 -12
  30. package/src/lib/table/css-vars.ts +0 -243
  31. package/src/lib/table/data/chunk/chunk.data-event.if.ts +0 -8
  32. package/src/lib/table/data/chunk/chunk.data-event.ts +0 -27
  33. package/src/lib/table/data/chunk/request-chunk.if.ts +0 -9
  34. package/src/lib/table/data/chunk/request-chunk.ts +0 -15
  35. package/src/lib/table/data/common/aligns.ts +0 -42
  36. package/src/lib/table/data/common/area-map-factory.ts +0 -20
  37. package/src/lib/table/data/common/area-map.ts +0 -18
  38. package/src/lib/table/data/common/area-map.type.ts +0 -5
  39. package/src/lib/table/data/common/args-adjust-columns-to-row-parent-params.ts +0 -21
  40. package/src/lib/table/data/common/args-render-cell-div.ts +0 -34
  41. package/src/lib/table/data/common/boolean-function.ts +0 -16
  42. package/src/lib/table/data/common/cell-range.ts +0 -66
  43. package/src/lib/table/data/common/checkbox-column-def.ts +0 -31
  44. package/src/lib/table/data/common/checked-type.ts +0 -6
  45. package/src/lib/table/data/common/event/ge-cell-indices.ts +0 -12
  46. package/src/lib/table/data/common/event/ge-key-event.ts +0 -15
  47. package/src/lib/table/data/common/event/ge-model-change-event.ts +0 -16
  48. package/src/lib/table/data/common/event/ge-mouse-event.ts +0 -41
  49. package/src/lib/table/data/common/event/input/table-cell-update-event.if.ts +0 -58
  50. package/src/lib/table/data/common/event/input/table-cell-update-event.ts +0 -27
  51. package/src/lib/table/data/common/filter-function.ts +0 -9
  52. package/src/lib/table/data/common/get-t.ts +0 -7
  53. package/src/lib/table/data/common/index-and-px.ts +0 -12
  54. package/src/lib/table/data/common/size.if.ts +0 -8
  55. package/src/lib/table/data/common/size.ts +0 -9
  56. package/src/lib/table/data/common/sizes.ts +0 -35
  57. package/src/lib/table/data/common/sort-item.ts +0 -14
  58. package/src/lib/table/data/common/sort-state.type.ts +0 -7
  59. package/src/lib/table/data/common/tree-arrow.type.ts +0 -8
  60. package/src/lib/table/data/common/tree-row-if.ts +0 -15
  61. package/src/lib/table/data/common/tree-row.ts +0 -22
  62. package/src/lib/table/data/common/value-label.if.ts +0 -6
  63. package/src/lib/table/data/common/value-label.ts +0 -13
  64. package/src/lib/table/data/div-scope.type.ts +0 -14
  65. package/src/lib/table/data/event/mouse-target-data.ts +0 -48
  66. package/src/lib/table/data/geo-data.ts +0 -16
  67. package/src/lib/table/data/options/auto-restore-options.if.ts +0 -21
  68. package/src/lib/table/data/options/auto-restore-options.ts +0 -50
  69. package/src/lib/table/data/options/default-row-heights.if.ts +0 -5
  70. package/src/lib/table/data/options/default-row-heights.ts +0 -10
  71. package/src/lib/table/data/options/header-group-options.if.ts +0 -9
  72. package/src/lib/table/data/options/header-group-options.ts +0 -23
  73. package/src/lib/table/data/options/icon.if.ts +0 -20
  74. package/src/lib/table/data/options/icon.ts +0 -10
  75. package/src/lib/table/data/options/sorted-options.if.ts +0 -13
  76. package/src/lib/table/data/options/sorted-options.ts +0 -15
  77. package/src/lib/table/data/options/table-options.if.ts +0 -240
  78. package/src/lib/table/data/options/table-options.ts +0 -68
  79. package/src/lib/table/data/options/tree-options.if.ts +0 -10
  80. package/src/lib/table/data/options/tree-options.ts +0 -32
  81. package/src/lib/table/data/side-ident.type.ts +0 -4
  82. package/src/lib/table/data/table-model-and-options.if.ts +0 -11
  83. package/src/lib/table/data/table-model-and-options.ts +0 -16
  84. package/src/lib/table/data/tablemodel/area-ident.type.ts +0 -18
  85. package/src/lib/table/data/tablemodel/areamodel/abstract-area-model.ts +0 -184
  86. package/src/lib/table/data/tablemodel/areamodel/area-model-array-of-arrays.ts +0 -63
  87. package/src/lib/table/data/tablemodel/areamodel/area-model-cell-groups.ts +0 -236
  88. package/src/lib/table/data/tablemodel/areamodel/area-model-hidden.ts +0 -126
  89. package/src/lib/table/data/tablemodel/areamodel/area-model-object-array-with-columndefs.ts +0 -28
  90. package/src/lib/table/data/tablemodel/areamodel/area-model-object-array.ts +0 -120
  91. package/src/lib/table/data/tablemodel/areamodel/area-model-tree.ts +0 -224
  92. package/src/lib/table/data/tablemodel/areamodel/area-model.if.ts +0 -192
  93. package/src/lib/table/data/tablemodel/areamodel/area-model.ts +0 -117
  94. package/src/lib/table/data/tablemodel/areamodel/async-area-model-object-array.ts +0 -110
  95. package/src/lib/table/data/tablemodel/areamodel/col-and-rowspan-model.ts +0 -64
  96. package/src/lib/table/data/tablemodel/areamodel/has-default-row-height-if.ts +0 -3
  97. package/src/lib/table/data/tablemodel/areamodel/object-array-holder.if.ts +0 -8
  98. package/src/lib/table/data/tablemodel/cellgroup/cell-group-ext.ts +0 -172
  99. package/src/lib/table/data/tablemodel/cellgroup/cell-group.if.ts +0 -12
  100. package/src/lib/table/data/tablemodel/cellgroup/cell-group.ts +0 -18
  101. package/src/lib/table/data/tablemodel/cellgroup/cellgroup-factory.ts +0 -148
  102. package/src/lib/table/data/tablemodel/column/column-def.if.ts +0 -141
  103. package/src/lib/table/data/tablemodel/column/column-def.ts +0 -108
  104. package/src/lib/table/data/tablemodel/padding.ts +0 -12
  105. package/src/lib/table/data/tablemodel/table-model.if.ts +0 -256
  106. package/src/lib/table/data/tablemodel/table-model.ts +0 -542
  107. package/src/lib/table/ele-scope.ts +0 -309
  108. package/src/lib/table/event-adapter.ts +0 -43
  109. package/src/lib/table/event-listener.if.ts +0 -32
  110. package/src/lib/table/factory/table-factory.ts +0 -379
  111. package/src/lib/table/factory/tree-factory.ts +0 -52
  112. package/src/lib/table/focus/event-focus-changed-listener.if.ts +0 -8
  113. package/src/lib/table/focus/focus-model.if.ts +0 -20
  114. package/src/lib/table/focus/focus-model.ts +0 -76
  115. package/src/lib/table/focus/focus.type.ts +0 -4
  116. package/src/lib/table/input-handler.ts +0 -48
  117. package/src/lib/table/instanceof-workaround.ts +0 -41
  118. package/src/lib/table/license-manager.ts +0 -47
  119. package/src/lib/table/mouse-handler.ts +0 -307
  120. package/src/lib/table/render-scope.ts +0 -1440
  121. package/src/lib/table/renderer/cell-group-ext-cell-renderer.ts +0 -123
  122. package/src/lib/table/renderer/cell-render.if.ts +0 -16
  123. package/src/lib/table/renderer/checkbox-boolean-property-cell-renderer.ts +0 -63
  124. package/src/lib/table/renderer/checkbox-cell-renderer.ts +0 -39
  125. package/src/lib/table/renderer/date-to-int-date-cell-renderer.ts +0 -39
  126. package/src/lib/table/renderer/date-to-iso-cell-renderer.ts +0 -25
  127. package/src/lib/table/renderer/date-to-locale-date-cell-renderer.ts +0 -24
  128. package/src/lib/table/renderer/date-to-tec-cell-renderer.ts +0 -28
  129. package/src/lib/table/renderer/edit/edit-cell-renderer.type.ts +0 -3
  130. package/src/lib/table/renderer/edit/edit-input-pipe-for-number.ts +0 -6
  131. package/src/lib/table/renderer/edit/edit-input-pipe.if.ts +0 -15
  132. package/src/lib/table/renderer/edit/input-cell-renderer.ts +0 -41
  133. package/src/lib/table/renderer/edit/select-cell-renderer.ts +0 -60
  134. package/src/lib/table/renderer/male-female-to-icon-cell-renderer.ts +0 -26
  135. package/src/lib/table/renderer/number-cell-progress-bar-cell-renderer.ts +0 -57
  136. package/src/lib/table/renderer/number-cell-renderer.ts +0 -38
  137. package/src/lib/table/renderer/positive-and-negative-number-renderer.ts +0 -45
  138. package/src/lib/table/renderer/progress-bar-cell-renderer.ts +0 -60
  139. package/src/lib/table/renderer/renderer-cleanup-fn.type.ts +0 -1
  140. package/src/lib/table/renderer/renderer.ts +0 -11
  141. package/src/lib/table/renderer/star-rating-cell-renderer.ts +0 -45
  142. package/src/lib/table/renderer/true-false-cell-renderer.ts +0 -28
  143. package/src/lib/table/selection/event-selection-changed-listener.if.ts +0 -8
  144. package/src/lib/table/selection/multi-rows-selection-model.ts +0 -118
  145. package/src/lib/table/selection/selection-model.if.ts +0 -56
  146. package/src/lib/table/selection/selection-model.ts +0 -182
  147. package/src/lib/table/selection/selection-service.ts +0 -129
  148. package/src/lib/table/selection/selection.type.ts +0 -6
  149. package/src/lib/table/service/abstract-store-state.service.ts +0 -105
  150. package/src/lib/table/service/convenience-dom.service.ts +0 -574
  151. package/src/lib/table/service/copy-service.if.ts +0 -45
  152. package/src/lib/table/service/copy-service.ts +0 -130
  153. package/src/lib/table/service/data/collapsed-expanded.data.ts +0 -11
  154. package/src/lib/table/service/data/html-style.type.ts +0 -1
  155. package/src/lib/table/service/dom-service.if.ts +0 -18
  156. package/src/lib/table/service/ge-filter.service.ts +0 -123
  157. package/src/lib/table/service/simple-dom-service.ts +0 -55
  158. package/src/lib/table/service/sorter.service.ts +0 -30
  159. package/src/lib/table/service/store-state-collapsed-expand.service.ts +0 -76
  160. package/src/lib/table/service/store-state-scroll-pos.service.ts +0 -40
  161. package/src/lib/table/service/store-state-sorting.service.ts +0 -41
  162. package/src/lib/table/service/tree-row.service.ts +0 -32
  163. package/src/lib/table/table-api.ts +0 -234
  164. package/src/lib/table/table-scope.ts +0 -770
  165. package/tsconfig.json +0 -21
  166. package/tsconfig.lib.json +0 -10
  167. package/tsconfig.spec.json +0 -25
  168. package/vite.config.ts +0 -56
  169. /package/{dist/index.cjs → index.cjs} +0 -0
  170. /package/{dist/index.d.ts → index.d.ts} +0 -0
  171. /package/{dist/index.js → index.js} +0 -0
  172. /package/{dist/lib → lib}/common/decorator/avoid-double-execution.decorator.d.ts +0 -0
  173. /package/{dist/lib → lib}/table/action/action-id.type.d.ts +0 -0
  174. /package/{dist/lib → lib}/table/action/on-action-triggered.if.d.ts +0 -0
  175. /package/{dist/lib → lib}/table/action/osx-shortcut-actionId-mapping.d.ts +0 -0
  176. /package/{dist/lib → lib}/table/action/shortcut-actionid-mapping.type.d.ts +0 -0
  177. /package/{dist/lib → lib}/table/action/shortcut.service.d.ts +0 -0
  178. /package/{dist/lib → lib}/table/action/windows-shortcut-actionId-mapping.d.ts +0 -0
  179. /package/{dist/lib → lib}/table/checkbox/checkbox-model.d.ts +0 -0
  180. /package/{dist/lib → lib}/table/checkbox/checkbox-model.if.d.ts +0 -0
  181. /package/{dist/lib → lib}/table/checkbox/tree-checkbox-model.d.ts +0 -0
  182. /package/{dist/lib → lib}/table/color/color-rgb.d.ts +0 -0
  183. /package/{dist/lib → lib}/table/color/color-rgb.if.d.ts +0 -0
  184. /package/{dist/lib → lib}/table/color/ge-css-color-util.d.ts +0 -0
  185. /package/{dist/lib → lib}/table/color/three-color-gradient-arg.d.ts +0 -0
  186. /package/{dist/lib → lib}/table/color/three-color-gradient-arg.if.d.ts +0 -0
  187. /package/{dist/lib → lib}/table/color/two-color-gradient-arg.d.ts +0 -0
  188. /package/{dist/lib → lib}/table/color/two-color-gradient-arg.if.d.ts +0 -0
  189. /package/{dist/lib → lib}/table/css-vars.d.ts +0 -0
  190. /package/{dist/lib → lib}/table/data/chunk/chunk.data-event.d.ts +0 -0
  191. /package/{dist/lib → lib}/table/data/chunk/chunk.data-event.if.d.ts +0 -0
  192. /package/{dist/lib → lib}/table/data/chunk/request-chunk.d.ts +0 -0
  193. /package/{dist/lib → lib}/table/data/chunk/request-chunk.if.d.ts +0 -0
  194. /package/{dist/lib → lib}/table/data/common/aligns.d.ts +0 -0
  195. /package/{dist/lib → lib}/table/data/common/area-map-factory.d.ts +0 -0
  196. /package/{dist/lib → lib}/table/data/common/area-map.d.ts +0 -0
  197. /package/{dist/lib → lib}/table/data/common/area-map.type.d.ts +0 -0
  198. /package/{dist/lib → lib}/table/data/common/args-adjust-columns-to-row-parent-params.d.ts +0 -0
  199. /package/{dist/lib → lib}/table/data/common/args-render-cell-div.d.ts +0 -0
  200. /package/{dist/lib → lib}/table/data/common/boolean-function.d.ts +0 -0
  201. /package/{dist/lib → lib}/table/data/common/cell-range.d.ts +0 -0
  202. /package/{dist/lib → lib}/table/data/common/checkbox-column-def.d.ts +0 -0
  203. /package/{dist/lib → lib}/table/data/common/checked-type.d.ts +0 -0
  204. /package/{dist/lib → lib}/table/data/common/event/ge-cell-indices.d.ts +0 -0
  205. /package/{dist/lib → lib}/table/data/common/event/ge-key-event.d.ts +0 -0
  206. /package/{dist/lib → lib}/table/data/common/event/ge-model-change-event.d.ts +0 -0
  207. /package/{dist/lib → lib}/table/data/common/event/ge-mouse-event.d.ts +0 -0
  208. /package/{dist/lib → lib}/table/data/common/event/input/table-cell-update-event.d.ts +0 -0
  209. /package/{dist/lib → lib}/table/data/common/event/input/table-cell-update-event.if.d.ts +0 -0
  210. /package/{dist/lib → lib}/table/data/common/filter-function.d.ts +0 -0
  211. /package/{dist/lib → lib}/table/data/common/get-t.d.ts +0 -0
  212. /package/{dist/lib → lib}/table/data/common/index-and-px.d.ts +0 -0
  213. /package/{dist/lib → lib}/table/data/common/size.d.ts +0 -0
  214. /package/{dist/lib → lib}/table/data/common/size.if.d.ts +0 -0
  215. /package/{dist/lib → lib}/table/data/common/sizes.d.ts +0 -0
  216. /package/{dist/lib → lib}/table/data/common/sort-item.d.ts +0 -0
  217. /package/{dist/lib → lib}/table/data/common/sort-state.type.d.ts +0 -0
  218. /package/{dist/lib → lib}/table/data/common/tree-arrow.type.d.ts +0 -0
  219. /package/{dist/lib → lib}/table/data/common/tree-row-if.d.ts +0 -0
  220. /package/{dist/lib → lib}/table/data/common/tree-row.d.ts +0 -0
  221. /package/{dist/lib → lib}/table/data/common/value-label.d.ts +0 -0
  222. /package/{dist/lib → lib}/table/data/common/value-label.if.d.ts +0 -0
  223. /package/{dist/lib → lib}/table/data/div-scope.type.d.ts +0 -0
  224. /package/{dist/lib → lib}/table/data/event/mouse-target-data.d.ts +0 -0
  225. /package/{dist/lib → lib}/table/data/geo-data.d.ts +0 -0
  226. /package/{dist/lib → lib}/table/data/options/auto-restore-options.d.ts +0 -0
  227. /package/{dist/lib → lib}/table/data/options/auto-restore-options.if.d.ts +0 -0
  228. /package/{dist/lib → lib}/table/data/options/default-row-heights.d.ts +0 -0
  229. /package/{dist/lib → lib}/table/data/options/default-row-heights.if.d.ts +0 -0
  230. /package/{dist/lib → lib}/table/data/options/header-group-options.d.ts +0 -0
  231. /package/{dist/lib → lib}/table/data/options/header-group-options.if.d.ts +0 -0
  232. /package/{dist/lib → lib}/table/data/options/icon.d.ts +0 -0
  233. /package/{dist/lib → lib}/table/data/options/icon.if.d.ts +0 -0
  234. /package/{dist/lib → lib}/table/data/options/sorted-options.d.ts +0 -0
  235. /package/{dist/lib → lib}/table/data/options/sorted-options.if.d.ts +0 -0
  236. /package/{dist/lib → lib}/table/data/options/table-options.d.ts +0 -0
  237. /package/{dist/lib → lib}/table/data/options/table-options.if.d.ts +0 -0
  238. /package/{dist/lib → lib}/table/data/options/tree-options.d.ts +0 -0
  239. /package/{dist/lib → lib}/table/data/options/tree-options.if.d.ts +0 -0
  240. /package/{dist/lib → lib}/table/data/side-ident.type.d.ts +0 -0
  241. /package/{dist/lib → lib}/table/data/table-model-and-options.d.ts +0 -0
  242. /package/{dist/lib → lib}/table/data/table-model-and-options.if.d.ts +0 -0
  243. /package/{dist/lib → lib}/table/data/tablemodel/area-ident.type.d.ts +0 -0
  244. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/abstract-area-model.d.ts +0 -0
  245. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model-array-of-arrays.d.ts +0 -0
  246. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model-cell-groups.d.ts +0 -0
  247. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model-hidden.d.ts +0 -0
  248. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model-object-array-with-columndefs.d.ts +0 -0
  249. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model-object-array.d.ts +0 -0
  250. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model-tree.d.ts +0 -0
  251. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model.d.ts +0 -0
  252. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/area-model.if.d.ts +0 -0
  253. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/async-area-model-object-array.d.ts +0 -0
  254. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/col-and-rowspan-model.d.ts +0 -0
  255. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/has-default-row-height-if.d.ts +0 -0
  256. /package/{dist/lib → lib}/table/data/tablemodel/areamodel/object-array-holder.if.d.ts +0 -0
  257. /package/{dist/lib → lib}/table/data/tablemodel/cellgroup/cell-group-ext.d.ts +0 -0
  258. /package/{dist/lib → lib}/table/data/tablemodel/cellgroup/cell-group.d.ts +0 -0
  259. /package/{dist/lib → lib}/table/data/tablemodel/cellgroup/cell-group.if.d.ts +0 -0
  260. /package/{dist/lib → lib}/table/data/tablemodel/cellgroup/cellgroup-factory.d.ts +0 -0
  261. /package/{dist/lib → lib}/table/data/tablemodel/column/column-def.d.ts +0 -0
  262. /package/{dist/lib → lib}/table/data/tablemodel/column/column-def.if.d.ts +0 -0
  263. /package/{dist/lib → lib}/table/data/tablemodel/padding.d.ts +0 -0
  264. /package/{dist/lib → lib}/table/data/tablemodel/table-model.d.ts +0 -0
  265. /package/{dist/lib → lib}/table/data/tablemodel/table-model.if.d.ts +0 -0
  266. /package/{dist/lib → lib}/table/ele-scope.d.ts +0 -0
  267. /package/{dist/lib → lib}/table/event-adapter.d.ts +0 -0
  268. /package/{dist/lib → lib}/table/event-listener.if.d.ts +0 -0
  269. /package/{dist/lib → lib}/table/factory/table-factory.d.ts +0 -0
  270. /package/{dist/lib → lib}/table/factory/tree-factory.d.ts +0 -0
  271. /package/{dist/lib → lib}/table/focus/event-focus-changed-listener.if.d.ts +0 -0
  272. /package/{dist/lib → lib}/table/focus/focus-model.d.ts +0 -0
  273. /package/{dist/lib → lib}/table/focus/focus-model.if.d.ts +0 -0
  274. /package/{dist/lib → lib}/table/focus/focus.type.d.ts +0 -0
  275. /package/{dist/lib → lib}/table/input-handler.d.ts +0 -0
  276. /package/{dist/lib → lib}/table/instanceof-workaround.d.ts +0 -0
  277. /package/{dist/lib → lib}/table/license-manager.d.ts +0 -0
  278. /package/{dist/lib → lib}/table/mouse-handler.d.ts +0 -0
  279. /package/{dist/lib → lib}/table/render-scope.d.ts +0 -0
  280. /package/{dist/lib → lib}/table/renderer/cell-group-ext-cell-renderer.d.ts +0 -0
  281. /package/{dist/lib → lib}/table/renderer/cell-render.if.d.ts +0 -0
  282. /package/{dist/lib → lib}/table/renderer/checkbox-boolean-property-cell-renderer.d.ts +0 -0
  283. /package/{dist/lib → lib}/table/renderer/checkbox-cell-renderer.d.ts +0 -0
  284. /package/{dist/lib → lib}/table/renderer/date-to-int-date-cell-renderer.d.ts +0 -0
  285. /package/{dist/lib → lib}/table/renderer/date-to-iso-cell-renderer.d.ts +0 -0
  286. /package/{dist/lib → lib}/table/renderer/date-to-locale-date-cell-renderer.d.ts +0 -0
  287. /package/{dist/lib → lib}/table/renderer/date-to-tec-cell-renderer.d.ts +0 -0
  288. /package/{dist/lib → lib}/table/renderer/edit/edit-cell-renderer.type.d.ts +0 -0
  289. /package/{dist/lib → lib}/table/renderer/edit/edit-input-pipe-for-number.d.ts +0 -0
  290. /package/{dist/lib → lib}/table/renderer/edit/edit-input-pipe.if.d.ts +0 -0
  291. /package/{dist/lib → lib}/table/renderer/edit/input-cell-renderer.d.ts +0 -0
  292. /package/{dist/lib → lib}/table/renderer/edit/select-cell-renderer.d.ts +0 -0
  293. /package/{dist/lib → lib}/table/renderer/male-female-to-icon-cell-renderer.d.ts +0 -0
  294. /package/{dist/lib → lib}/table/renderer/number-cell-progress-bar-cell-renderer.d.ts +0 -0
  295. /package/{dist/lib → lib}/table/renderer/number-cell-renderer.d.ts +0 -0
  296. /package/{dist/lib → lib}/table/renderer/positive-and-negative-number-renderer.d.ts +0 -0
  297. /package/{dist/lib → lib}/table/renderer/progress-bar-cell-renderer.d.ts +0 -0
  298. /package/{dist/lib → lib}/table/renderer/renderer-cleanup-fn.type.d.ts +0 -0
  299. /package/{dist/lib → lib}/table/renderer/renderer.d.ts +0 -0
  300. /package/{dist/lib → lib}/table/renderer/star-rating-cell-renderer.d.ts +0 -0
  301. /package/{dist/lib → lib}/table/renderer/true-false-cell-renderer.d.ts +0 -0
  302. /package/{dist/lib → lib}/table/selection/event-selection-changed-listener.if.d.ts +0 -0
  303. /package/{dist/lib → lib}/table/selection/multi-rows-selection-model.d.ts +0 -0
  304. /package/{dist/lib → lib}/table/selection/selection-model.d.ts +0 -0
  305. /package/{dist/lib → lib}/table/selection/selection-model.if.d.ts +0 -0
  306. /package/{dist/lib → lib}/table/selection/selection-service.d.ts +0 -0
  307. /package/{dist/lib → lib}/table/selection/selection.type.d.ts +0 -0
  308. /package/{dist/lib → lib}/table/service/abstract-store-state.service.d.ts +0 -0
  309. /package/{dist/lib → lib}/table/service/convenience-dom.service.d.ts +0 -0
  310. /package/{dist/lib → lib}/table/service/copy-service.d.ts +0 -0
  311. /package/{dist/lib → lib}/table/service/copy-service.if.d.ts +0 -0
  312. /package/{dist/lib → lib}/table/service/data/collapsed-expanded.data.d.ts +0 -0
  313. /package/{dist/lib → lib}/table/service/data/html-style.type.d.ts +0 -0
  314. /package/{dist/lib → lib}/table/service/dom-service.if.d.ts +0 -0
  315. /package/{dist/lib → lib}/table/service/ge-filter.service.d.ts +0 -0
  316. /package/{dist/lib → lib}/table/service/simple-dom-service.d.ts +0 -0
  317. /package/{dist/lib → lib}/table/service/sorter.service.d.ts +0 -0
  318. /package/{dist/lib → lib}/table/service/store-state-collapsed-expand.service.d.ts +0 -0
  319. /package/{dist/lib → lib}/table/service/store-state-scroll-pos.service.d.ts +0 -0
  320. /package/{dist/lib → lib}/table/service/store-state-sorting.service.d.ts +0 -0
  321. /package/{dist/lib → lib}/table/service/tree-row.service.d.ts +0 -0
  322. /package/{dist/lib → lib}/table/table-api.d.ts +0 -0
  323. /package/{dist/lib → lib}/table/table-scope.d.ts +0 -0
@@ -1,5 +0,0 @@
1
- export interface DefaultRowHeightsIf {
2
- header: number,
3
- body: number,
4
- footer: number
5
- }
@@ -1,10 +0,0 @@
1
- import { DefaultRowHeightsIf } from "./default-row-heights.if";
2
-
3
- export class DefaultRowHeights implements DefaultRowHeightsIf {
4
- constructor(
5
- public header: number = 34,
6
- public body: number = 34,
7
- public footer: number = 34
8
- ) {
9
- }
10
- }
@@ -1,9 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
-
3
- export interface HeaderGroupOptionsIf {
4
-
5
-
6
- iconExpanded: IconIf;
7
- iconCollapsed: IconIf;
8
-
9
- }
@@ -1,23 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
- import { Icon } from "./icon";
3
- import { HeaderGroupOptionsIf } from './header-group-options.if';
4
-
5
- export class HeaderGroupOptions implements HeaderGroupOptionsIf {
6
-
7
- constructor(
8
- public iconExpanded: IconIf = new Icon(
9
- "❯",
10
- "",
11
- ["gt-table-icon-expanded"]
12
- ),
13
- public iconCollapsed: IconIf = new Icon(
14
- "❯",
15
- "transform: rotate(180deg) translate(-100%, -100%); transform-origin: 0 0;",
16
- ["ge-table-icon-collapsed"]
17
- )
18
- ) {
19
- }
20
-
21
- // `⊖ `, `⊕ `;
22
-
23
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Represents an Icon with content, css style and css classes.
3
- *
4
- * Example:
5
- *
6
- * new Icon(
7
- * ">",
8
- * "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
9
- * ["gt-table-tree-arrow-expanded"]
10
- * )
11
- *
12
- * @interface
13
- */
14
- export interface IconIf {
15
-
16
- content: string,
17
- style: string;
18
- classes: string[];
19
-
20
- }
@@ -1,10 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
-
3
- export class Icon implements IconIf {
4
- constructor(
5
- public content: string = ">",
6
- public style: string = "",
7
- public classes: string[] = []
8
- ) {
9
- }
10
- }
@@ -1,13 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
-
3
- /**
4
- * Represents a class that defines sorted icons, which will displayed in the header (if column is sortable).
5
- * @interface
6
- */
7
- export interface SortedOptionsIf {
8
-
9
- iconAsc: IconIf,
10
- iconDesc: IconIf
11
- iconPlaceholder: IconIf
12
-
13
- }
@@ -1,15 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
- import { Icon } from "./icon";
3
- import { SortedOptionsIf } from "./sorted-options.if";
4
-
5
- export class SortedOptions implements SortedOptionsIf {
6
-
7
- constructor(
8
- public iconAsc: IconIf = new Icon("↑", "", ["ge-header-sorted-asc"]),
9
- public iconDesc: IconIf = new Icon("↓", "", ["ge-header-sorted-desc"]),
10
- public iconPlaceholder: IconIf = new Icon("↑", "color:transparent;", [])
11
- ) {
12
- }
13
-
14
-
15
- }
@@ -1,240 +0,0 @@
1
- import { DefaultRowHeightsIf } from "./default-row-heights.if";
2
- import { TreeOptionsIf } from "./tree-options.if";
3
- import { FilterFunction } from "../common/filter-function";
4
- import { SortState } from "../common/sort-state.type";
5
- import { SortedOptionsIf } from "./sorted-options.if";
6
- import { AutoRestoreOptionsIf } from "./auto-restore-options.if";
7
- import { GetEditRenderer } from "../../renderer/edit/edit-cell-renderer.type";
8
- import { SelectionModelIf } from "../../selection/selection-model.if";
9
- import { GetT } from "../common/get-t";
10
- import { FocusModelIf } from "../../focus/focus-model.if";
11
- import { ShortcutActionIdMapping } from "../../action/shortcut-actionid-mapping.type";
12
- import { HeaderGroupOptionsIf } from './header-group-options.if';
13
-
14
- /**
15
- * Represents the options for configuring a table.
16
- *
17
- * | Class Property | Description |
18
- * |----------------------------------|-----------------------------------------------------------------------------------------------|
19
- * | headerSeparatorBorderVisible | Indicates whether the header separator border is visible. |
20
- * | footerSeparatorBorderVisible | Indicates whether the footer separator border is visible or not. |
21
- * | fixedEastSeparatorBorderVisible | Determines whether the fixed east separator border is visible. |
22
- * | fixedWestSeparatorBorderVisible | Indicates whether the fixed west separator border should be visible. |
23
- * | verticalBorderVisible | Indicates whether the vertical border is visible. |
24
- * | horizontalBorderVisible | Represents the visibility of the horizontal border. |
25
- * | overflowX | Determines the behavior of horizontal overflow for the table body (scroll port). |
26
- * | overflowY | Determines the behavior of vertical overflow for the table body (scroll port). |
27
- * | tableTopBorderVisible | Indicates whether the top border of a table is visible or hidden. |
28
- * | tableBottomBorderVisible | Specifies whether the bottom border of a table is visible. |
29
- * | hoverRowVisible | Flag indicating whether the hover color of a row is visible or not in general. |
30
- * | hoverColumnVisible | Flag indicating whether the hover color of a column is visible or not in general. |
31
- * | columnsResizable | Represents whether the columns are resizable. |
32
- * | columnsDraggable | Flag indicating whether the columns are draggable. |
33
- * | columnResizeHandleWidthInPx | The width of the column resize handle in pixels. |
34
- * | headerVerticalSeparator | Represents whether a vertical separator should be displayed in a header. |
35
- * | footerVerticalSeparator | Indicates whether a vertical separator should be displayed in the footer. |
36
- * | defaultRowHeights | Represents the default row heights for a given table. |
37
- * | headerToggleExpandCollapseIcons | Indicates whether to show toggle icons in the header. |
38
- * | treeOptions | Represents the options for configuring a tree. |
39
- * | headerGroupOptions | Represents the options for expnded/collapsed icons of the header groups. |
40
- * | showCheckboxWihoutExtraColumn | Indicates whether to show checkbox without an extra column. |
41
- * | externalFilterFunction | Represents the external filter function used to filter table rows. |
42
- * | sortedOptions | Represents a sorted options object. |
43
- * | sortOrder | Represents the sort order of the columns. |
44
- * | autoRestoreOptions | Represents auto restoration options. |
45
- * | getEditRenderer | Retrieves the edit renderer for a specific action. |
46
- * | getSelectionModel | Retrieves the selection model for a specific object. |
47
- * | getFocusModel | Retrieves the focus model of the component. |
48
- * | shortcutActionIdMapping | Represents a mapping of shortcut action IDs. |
49
- */
50
- export interface TableOptionsIf {
51
- /**
52
- * Indicates whether the header separator border is visible.
53
- *
54
- * @type {boolean}
55
- */
56
- headerSeparatorBorderVisible: boolean;
57
- /**
58
- * Indicates whether the footer separator border is visible or not.
59
- *
60
- * @type {boolean}
61
- */
62
- footerSeparatorBorderVisible: boolean;
63
- /**
64
- * Determines whether the fixed east separator border is visible.
65
- *
66
- * @type {boolean}
67
- */
68
- fixedEastSeparatorBorderVisible: boolean;
69
- /**
70
- * Indicates whether the fixed west separator border should be visible.
71
- *
72
- * @type {boolean}
73
- */
74
- fixedWestSeparatorBorderVisible: boolean;
75
- /**
76
- * Indicates whether the vertical border is visible.
77
- *
78
- * @type {boolean}
79
- */
80
- verticalBorderVisible: boolean;
81
- /**
82
- * Represents the visibility of the horizontal border.
83
- *
84
- * @type {boolean}
85
- */
86
- horizontalBorderVisible: boolean;
87
-
88
- /**
89
- * The value of the css `overflowX` determines the behavior of horizontal overflow for the table body (scroll port).
90
- *
91
- * @typedef {'auto' | 'scroll'} OverflowX
92
- */
93
- overflowX: "auto" | "scroll";
94
- /**
95
- * The value of the css `overflowX` determines the behavior of vertical overflow for the table body (scroll port).
96
- *
97
- * @typedef {'auto' | 'scroll'} OverflowX
98
- */
99
- overflowY: "auto" | "scroll";
100
-
101
- /**
102
- * Indicates whether the top border of a table is visible or hidden.
103
- *
104
- * @type {boolean}
105
- */
106
- tableTopBorderVisible: boolean;
107
- /**
108
- * Specifies whether the bottom border of a table is visible.
109
- *
110
- * @type {boolean}
111
- */
112
- tableBottomBorderVisible: boolean;
113
- /**
114
- * Flag indicating whether the hover color of a row is visible or not in general.
115
- * If true, the row get the hover background color while the mouse is over the row.
116
- *
117
- * @type {boolean}
118
- */
119
- hoverRowVisible: boolean;
120
- /**
121
- * Flag indicating whether the hover color of a column is visible or not in general.
122
- * If true, the column get the hover background color while the mouse is over the column.
123
- *
124
- * @typedef {boolean} hoverColumnVisible
125
- */
126
- hoverColumnVisible: boolean;
127
- /**
128
- * Represents whether the columns are resizable.
129
- *
130
- * @type {boolean}
131
- */
132
- columnsResizable: boolean;
133
- /**
134
- * Flag indicating whether the columns are draggable.
135
- *
136
- * @type {boolean}
137
- */
138
- columnsDraggable: boolean;
139
- /**
140
- * The width of the column resize handle in pixels.
141
- *
142
- * @type {number}
143
- */
144
- columnResizeHandleWidthInPx: number;
145
-
146
- /**
147
- * Represents whether a vertical separator should be displayed in a header.
148
- *
149
- * @type {boolean}
150
- * @since 1.0.0
151
- */
152
- headerVerticalSeparator: boolean;
153
- /**
154
- * Indicates whether a vertical separator should be displayed in the footer.
155
- *
156
- * @type {boolean}
157
- */
158
- footerVerticalSeparator: boolean;
159
-
160
- /**
161
- * Represents the default row heights (for header, body and footer) for a given table.
162
- *
163
- * @typedef {number[]} DefaultRowHeightsIf
164
- * @description An array of numbers representing the default height for each row in a table.
165
- */
166
- defaultRowHeights: DefaultRowHeightsIf;
167
-
168
- headerToggleExpandCollapseIcons: boolean;
169
-
170
-
171
- treeOptions: TreeOptionsIf;
172
-
173
-
174
-
175
- headerGroupOptions: HeaderGroupOptionsIf;
176
-
177
- /**
178
- * Indicates whether to show checkbox without an extra column.
179
- * If true and the row is checkable, a checkbox is rendered in the first column.
180
- * If false and the row is checkable, a checkbox is rendered in an extra column left to the first column.
181
- *
182
- * @type {boolean}
183
- */
184
- showCheckboxWihoutExtraColumn: boolean;
185
-
186
- /**
187
- * Represents the external filter function that will be used to filter the table rows.
188
- *
189
- * @typedef {FilterFunction<any> | undefined} externalFilterFunction
190
- */
191
- externalFilterFunction: FilterFunction<any> | undefined;
192
-
193
- /**
194
- * Represents a sorted options object.
195
- *
196
- * @class
197
- * @classdesc The SortedOptions represents a class that defines sorted icons, which will displayed in the header (if column is sortable).
198
- */
199
- sortedOptions: SortedOptionsIf;
200
- /**
201
- * Represents the sort order of the columns.
202
- *
203
- * @typedef {SortState[]} sortOrder
204
- */
205
- sortOrder: SortState[],
206
-
207
- autoRestoreOptions?: AutoRestoreOptionsIf<any>;
208
-
209
- /**
210
- * Retrieves the edit renderer for a specific action.
211
- *
212
- * @function
213
- * @name getEditRenderer
214
- * @param {string} action - The action for which to retrieve the edit renderer.
215
- * @returns {GetEditRenderer} - The edit renderer for the specified action.
216
- */
217
- getEditRenderer?: GetEditRenderer;
218
- /**
219
- * Retrieves the selection model for a specific object.
220
- *
221
- * @param {SelectionModelIf} targetObj - The target object to retrieve the selection model from.
222
- * @return {GetT<SelectionModelIf>} - The selection model for the given object.
223
- */
224
- getSelectionModel?: GetT<SelectionModelIf>;
225
- /**
226
- * Retrieves the focus model of the component.
227
- *
228
- * @returns {GetT<FocusModelIf>} The focus model of the component.
229
- */
230
- getFocusModel?: GetT<FocusModelIf>;
231
-
232
- /**
233
- * Represents a mapping of shortcut action IDs.
234
- *
235
- * @typedef {Object} ShortcutActionIdMapping
236
- * @property {string} [shortcutId] - The ID of the shortcut.
237
- * @property {string} [actionId] - The ID of the action associated with the shortcut.
238
- */
239
- shortcutActionIdMapping?: ShortcutActionIdMapping;
240
- }
@@ -1,68 +0,0 @@
1
- import { DefaultRowHeightsIf } from "./default-row-heights.if";
2
- import { TableOptionsIf } from "./table-options.if";
3
- import { TreeOptions } from "./tree-options";
4
- import { FilterFunction } from "../common/filter-function";
5
- import { SortState } from "../common/sort-state.type";
6
- import { SortedOptions } from "./sorted-options";
7
- import { InputCellRenderer } from "../../renderer/edit/input-cell-renderer";
8
- import { GetEditRenderer } from "../../renderer/edit/edit-cell-renderer.type";
9
- import { SelectionModelIf } from "../../selection/selection-model.if";
10
- import { SelectionModel } from "../../selection/selection-model";
11
- import { GetT } from "../common/get-t";
12
- import { FocusModelIf } from "../../focus/focus-model.if";
13
- import { FocusModel } from "../../focus/focus-model";
14
- import { ShortcutActionIdMapping } from "../../action/shortcut-actionid-mapping.type";
15
- import { HeaderGroupOptions } from './header-group-options';
16
-
17
- const selectionModel = new SelectionModel();
18
- const focusModel = new FocusModel("cell");
19
-
20
- export class TableOptions implements TableOptionsIf {
21
-
22
- overflowX: "auto" | "scroll" = "auto";
23
- overflowY: "auto" | "scroll" = "auto";
24
-
25
- horizontalBorderVisible = true;
26
- verticalBorderVisible = true;
27
- footerSeparatorBorderVisible = true;
28
- headerSeparatorBorderVisible = true;
29
- fixedEastSeparatorBorderVisible = true;
30
- fixedWestSeparatorBorderVisible = true;
31
-
32
- tableTopBorderVisible = true;
33
- tableBottomBorderVisible = true;
34
- // TODO tableLeftBorderVisible = true;
35
- // TODO tableRightBorderVisible = true;
36
-
37
- hoverRowVisible = true;
38
- hoverColumnVisible = true;
39
- columnsResizable = true;
40
- columnsDraggable = true;
41
- columnResizeHandleWidthInPx = 4;
42
-
43
- defaultRowHeights: DefaultRowHeightsIf = {
44
- header: 34,
45
- body: 34,
46
- footer: 34
47
- };
48
-
49
- footerVerticalSeparator = false;
50
-
51
- headerToggleExpandCollapseIcons = false;
52
- headerVerticalSeparator = false;
53
-
54
- treeOptions = new TreeOptions();
55
- headerGroupOptions = new HeaderGroupOptions();
56
- showCheckboxWihoutExtraColumn = false;
57
-
58
- externalFilterFunction: FilterFunction<any> | undefined = undefined;
59
- sortedOptions = new SortedOptions();
60
- sortOrder: SortState[] = ["asc", "desc"];
61
- shortcutActionIdMapping?: ShortcutActionIdMapping;
62
-
63
- getEditRenderer?: GetEditRenderer = (_rowIndex: number, _columnIndex: number) => new InputCellRenderer();
64
-
65
- getSelectionModel?: GetT<SelectionModelIf> = () => selectionModel;
66
-
67
- getFocusModel?: GetT<FocusModelIf> = () => focusModel;
68
- }
@@ -1,10 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
-
3
- export interface TreeOptionsIf {
4
-
5
- arrowExpandCollapseAll: IconIf;
6
- arrowExpanded: IconIf;
7
- arrowCollapsed: IconIf;
8
- arrowPlaceholder: IconIf;
9
-
10
- }
@@ -1,32 +0,0 @@
1
- import { IconIf } from "./icon.if";
2
- import { TreeOptionsIf } from "./tree-options.if";
3
- import { Icon } from "./icon";
4
-
5
- export class TreeOptions implements TreeOptionsIf {
6
-
7
- constructor(
8
- public arrowExpanded: IconIf = new Icon(
9
- ">",
10
- "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
11
- ["gt-table-tree-arrow-expanded"]
12
- ),
13
- public arrowCollapsed: IconIf = new Icon(
14
- ">",
15
- "",
16
- ["ge-table-tree-arrow-collapsed"]
17
- ),
18
- public arrowPlaceholder: IconIf = new Icon(
19
- ">",
20
- "color:transparent;",
21
- ["gt-table-tree-arrow-hidden"]
22
- ),
23
- public arrowExpandCollapseAll: IconIf = new Icon(
24
- "↕",
25
- "",
26
- ["gt-table-tree-arrow-expanded-all"]
27
- )
28
- ) {
29
- }
30
-
31
-
32
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * Represents a class that identifies a (vertical) side of the table.
3
- */
4
- export type SideIdent = "west" | "center" | "east";
@@ -1,11 +0,0 @@
1
- import { TableModelIf } from "./tablemodel/table-model.if";
2
- import { TableOptions } from "./options/table-options";
3
-
4
-
5
- /**
6
- * Interface for a container object for one table model and one table options object.
7
- */
8
- export interface TableModelAndOptionsIf {
9
- tableModel: TableModelIf;
10
- tableOptions: TableOptions;
11
- }
@@ -1,16 +0,0 @@
1
-
2
- import { TableModelAndOptionsIf } from "./table-model-and-options.if";
3
- import { TableModelIf } from "./tablemodel/table-model.if";
4
- import { TableOptions } from "./options/table-options";
5
-
6
-
7
- /**
8
- * Container object for one table model and one table options object.
9
- */
10
- export class TableModelAndOptions implements TableModelAndOptionsIf {
11
- constructor(
12
- public tableModel: TableModelIf,
13
- public tableOptions: TableOptions
14
- ) {
15
- }
16
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * The AreaIdent is an identifier for the three areas : header, body, and footer.
3
- */
4
- export type AreaIdent = "header" | "body" | "footer";
5
-
6
- /**
7
- * Converts a string to the identifier of type AreaIdent.
8
- * @param s should be "header"|"body"|"footer". The fallback return value is 'body'
9
- */
10
- export const getAreaIdentByString = (s: string | null): AreaIdent => {
11
- if (s === "header") {
12
- return "header";
13
- }
14
- if (s === "footer") {
15
- return "footer";
16
- }
17
- return "body";
18
- };