@itwin/components-react 4.0.0-dev.8 → 4.0.0-dev.9

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 (556) hide show
  1. package/CHANGELOG.md +1 -99
  2. package/lib/cjs/components-react/UiComponents.d.ts +1 -1
  3. package/lib/cjs/components-react/UiComponents.js +1 -1
  4. package/lib/cjs/components-react/UiComponents.js.map +1 -1
  5. package/lib/cjs/components-react/common/ImageRenderer.d.ts.map +1 -1
  6. package/lib/cjs/components-react/common/ImageRenderer.js +1 -0
  7. package/lib/cjs/components-react/common/ImageRenderer.js.map +1 -1
  8. package/lib/cjs/components-react/common/selection/SelectionModes.d.ts +2 -2
  9. package/lib/cjs/components-react/common/selection/SelectionModes.js +2 -2
  10. package/lib/cjs/components-react/common/selection/SelectionModes.js.map +1 -1
  11. package/lib/cjs/components-react/converters/TypeConverterManager.d.ts.map +1 -1
  12. package/lib/cjs/components-react/converters/TypeConverterManager.js +4 -3
  13. package/lib/cjs/components-react/converters/TypeConverterManager.js.map +1 -1
  14. package/lib/cjs/components-react/datepicker/DatePicker.d.ts.map +1 -1
  15. package/lib/cjs/components-react/datepicker/DatePicker.js +7 -0
  16. package/lib/cjs/components-react/datepicker/DatePicker.js.map +1 -1
  17. package/lib/cjs/components-react/datepicker/DatePicker.scss +27 -21
  18. package/lib/cjs/components-react/datepicker/DatePickerPopupButton.scss +2 -3
  19. package/lib/cjs/components-react/datepicker/TimeField.scss +8 -6
  20. package/lib/cjs/components-react/editors/BooleanEditor.d.ts +1 -0
  21. package/lib/cjs/components-react/editors/BooleanEditor.d.ts.map +1 -1
  22. package/lib/cjs/components-react/editors/BooleanEditor.js +9 -14
  23. package/lib/cjs/components-react/editors/BooleanEditor.js.map +1 -1
  24. package/lib/cjs/components-react/editors/BooleanEditor.scss +5 -7
  25. package/lib/cjs/components-react/editors/EditorContainer.d.ts +1 -1
  26. package/lib/cjs/components-react/editors/EditorContainer.js +1 -1
  27. package/lib/cjs/components-react/editors/EditorContainer.js.map +1 -1
  28. package/lib/cjs/components-react/editors/EnumButtonGroupEditor.scss +17 -18
  29. package/lib/cjs/components-react/editors/IconEditor.scss +3 -4
  30. package/lib/cjs/components-react/editors/ImageCheckBoxEditor.d.ts.map +1 -1
  31. package/lib/cjs/components-react/editors/ImageCheckBoxEditor.js.map +1 -1
  32. package/lib/cjs/components-react/editors/ImageCheckBoxEditor.scss +6 -5
  33. package/lib/cjs/components-react/editors/PopupButton.scss +14 -18
  34. package/lib/cjs/components-react/editors/TextareaEditor.js +1 -1
  35. package/lib/cjs/components-react/editors/TextareaEditor.js.map +1 -1
  36. package/lib/cjs/components-react/editors/ToggleEditor.d.ts.map +1 -1
  37. package/lib/cjs/components-react/editors/ToggleEditor.js +1 -9
  38. package/lib/cjs/components-react/editors/ToggleEditor.js.map +1 -1
  39. package/lib/cjs/components-react/editors/ToggleEditor.scss +4 -6
  40. package/lib/cjs/components-react/favorite/FavoritePropertiesRenderer.d.ts +25 -1
  41. package/lib/cjs/components-react/favorite/FavoritePropertiesRenderer.d.ts.map +1 -1
  42. package/lib/cjs/components-react/favorite/FavoritePropertiesRenderer.js +24 -2
  43. package/lib/cjs/components-react/favorite/FavoritePropertiesRenderer.js.map +1 -1
  44. package/lib/cjs/components-react/filter-builder/FilterBuilderRule.scss +3 -4
  45. package/lib/cjs/components-react/filter-builder/FilterBuilderRuleGroup.js.map +1 -1
  46. package/lib/cjs/components-react/filter-builder/FilterBuilderRuleGroup.scss +9 -6
  47. package/lib/cjs/components-react/filter-builder/FilterBuilderRuleProperty.js.map +1 -1
  48. package/lib/cjs/components-react/filtering/ResultSelector.scss +1 -1
  49. package/lib/cjs/components-react/iconpicker/IconPickerButton.d.ts +2 -2
  50. package/lib/cjs/components-react/iconpicker/IconPickerButton.d.ts.map +1 -1
  51. package/lib/cjs/components-react/iconpicker/IconPickerButton.js +4 -4
  52. package/lib/cjs/components-react/iconpicker/IconPickerButton.js.map +1 -1
  53. package/lib/cjs/components-react/iconpicker/IconPickerButton.scss +5 -5
  54. package/lib/cjs/components-react/properties/ItemStyle.d.ts +2 -2
  55. package/lib/cjs/components-react/properties/ItemStyle.js +1 -1
  56. package/lib/cjs/components-react/properties/ItemStyle.js.map +1 -1
  57. package/lib/cjs/components-react/properties/renderers/NonPrimitivePropertyRenderer.js +1 -1
  58. package/lib/cjs/components-react/properties/renderers/NonPrimitivePropertyRenderer.js.map +1 -1
  59. package/lib/cjs/components-react/properties/renderers/NonPrimitivePropertyRenderer.scss +2 -2
  60. package/lib/cjs/components-react/properties/renderers/PrimitivePropertyRenderer.js +1 -1
  61. package/lib/cjs/components-react/properties/renderers/PrimitivePropertyRenderer.js.map +1 -1
  62. package/lib/cjs/components-react/properties/renderers/PropertyRenderer.js +1 -1
  63. package/lib/cjs/components-react/properties/renderers/PropertyRenderer.js.map +1 -1
  64. package/lib/cjs/components-react/properties/renderers/PropertyView.scss +4 -5
  65. package/lib/cjs/components-react/properties/renderers/label/PropertyLabelRenderer.scss +6 -6
  66. package/lib/cjs/components-react/properties/renderers/value/MultilineTextPropertyValueRenderer.d.ts +2 -0
  67. package/lib/cjs/components-react/properties/renderers/value/MultilineTextPropertyValueRenderer.d.ts.map +1 -1
  68. package/lib/cjs/components-react/properties/renderers/value/MultilineTextPropertyValueRenderer.js.map +1 -1
  69. package/lib/cjs/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.d.ts +0 -1
  70. package/lib/cjs/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.d.ts.map +1 -1
  71. package/lib/cjs/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.js +0 -1
  72. package/lib/cjs/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.js.map +1 -1
  73. package/lib/cjs/components-react/propertygrid/component/PropertyCategoryBlock.d.ts +2 -0
  74. package/lib/cjs/components-react/propertygrid/component/PropertyCategoryBlock.d.ts.map +1 -1
  75. package/lib/cjs/components-react/propertygrid/component/PropertyCategoryBlock.js.map +1 -1
  76. package/lib/cjs/components-react/propertygrid/component/PropertyGrid.d.ts +0 -9
  77. package/lib/cjs/components-react/propertygrid/component/PropertyGrid.d.ts.map +1 -1
  78. package/lib/cjs/components-react/propertygrid/component/PropertyGrid.js.map +1 -1
  79. package/lib/cjs/components-react/propertygrid/component/VirtualizedPropertyGrid.scss +2 -2
  80. package/lib/cjs/components-react/propertygrid/internal/flat-items/FlatGridItem.d.ts +0 -4
  81. package/lib/cjs/components-react/propertygrid/internal/flat-items/FlatGridItem.d.ts.map +1 -1
  82. package/lib/cjs/components-react/propertygrid/internal/flat-items/FlatGridItem.js.map +1 -1
  83. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.d.ts +0 -2
  84. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.d.ts.map +1 -1
  85. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.js +0 -6
  86. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.js.map +1 -1
  87. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableFlatGridItem.d.ts +0 -8
  88. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableFlatGridItem.d.ts.map +1 -1
  89. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableFlatGridItem.js.map +1 -1
  90. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableGridCategory.d.ts +0 -6
  91. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableGridCategory.d.ts.map +1 -1
  92. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableGridCategory.js +2 -14
  93. package/lib/cjs/components-react/propertygrid/internal/flat-items/MutableGridCategory.js.map +1 -1
  94. package/lib/cjs/components-react/propertygrid/internal/flat-properties/FlatNonPrimitivePropertyRenderer.js +1 -1
  95. package/lib/cjs/components-react/propertygrid/internal/flat-properties/FlatNonPrimitivePropertyRenderer.js.map +1 -1
  96. package/lib/cjs/components-react/selectable-content/SelectableContent.scss +0 -1
  97. package/lib/cjs/components-react/table/TableDataProvider.d.ts +2 -158
  98. package/lib/cjs/components-react/table/TableDataProvider.d.ts.map +1 -1
  99. package/lib/cjs/components-react/table/TableDataProvider.js +2 -17
  100. package/lib/cjs/components-react/table/TableDataProvider.js.map +1 -1
  101. package/lib/cjs/components-react/toolbar/Items.scss +12 -10
  102. package/lib/cjs/components-react/toolbar/Overflow.scss +5 -5
  103. package/lib/cjs/components-react/toolbar/OverflowPanel.scss +5 -5
  104. package/lib/cjs/components-react/toolbar/PopupItem.scss +14 -12
  105. package/lib/cjs/components-react/toolbar/ToolbarWithOverflow.d.ts +0 -17
  106. package/lib/cjs/components-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  107. package/lib/cjs/components-react/toolbar/ToolbarWithOverflow.js +3 -13
  108. package/lib/cjs/components-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  109. package/lib/cjs/components-react/toolbar/_variables.scss +2 -3
  110. package/lib/cjs/components-react/toolbar/groupPanel/Panel.scss +1 -1
  111. package/lib/cjs/components-react/toolbar/groupPanel/tool/Tool.scss +10 -11
  112. package/lib/cjs/components-react/tree/ImageLoader.d.ts +1 -1
  113. package/lib/cjs/components-react/tree/ImageLoader.d.ts.map +1 -1
  114. package/lib/cjs/components-react/tree/ImageLoader.js +1 -1
  115. package/lib/cjs/components-react/tree/ImageLoader.js.map +1 -1
  116. package/lib/cjs/components-react/tree/SimpleTreeDataProvider.d.ts +1 -3
  117. package/lib/cjs/components-react/tree/SimpleTreeDataProvider.d.ts.map +1 -1
  118. package/lib/cjs/components-react/tree/SimpleTreeDataProvider.js +0 -2
  119. package/lib/cjs/components-react/tree/SimpleTreeDataProvider.js.map +1 -1
  120. package/lib/cjs/components-react/tree/TreeDataProvider.d.ts +1 -22
  121. package/lib/cjs/components-react/tree/TreeDataProvider.d.ts.map +1 -1
  122. package/lib/cjs/components-react/tree/TreeDataProvider.js +1 -0
  123. package/lib/cjs/components-react/tree/TreeDataProvider.js.map +1 -1
  124. package/lib/cjs/components-react/tree/controlled/Observable.d.ts +12 -2
  125. package/lib/cjs/components-react/tree/controlled/Observable.d.ts.map +1 -1
  126. package/lib/cjs/components-react/tree/controlled/Observable.js.map +1 -1
  127. package/lib/cjs/components-react/tree/controlled/TreeHooks.d.ts.map +1 -1
  128. package/lib/cjs/components-react/tree/controlled/TreeHooks.js +2 -4
  129. package/lib/cjs/components-react/tree/controlled/TreeHooks.js.map +1 -1
  130. package/lib/cjs/components-react/tree/controlled/TreeModel.d.ts +1 -1
  131. package/lib/cjs/components-react/tree/controlled/TreeModel.js +1 -1
  132. package/lib/cjs/components-react/tree/controlled/TreeModel.js.map +1 -1
  133. package/lib/cjs/components-react/tree/controlled/TreeNodeLoader.d.ts +4 -12
  134. package/lib/cjs/components-react/tree/controlled/TreeNodeLoader.d.ts.map +1 -1
  135. package/lib/cjs/components-react/tree/controlled/TreeNodeLoader.js +0 -14
  136. package/lib/cjs/components-react/tree/controlled/TreeNodeLoader.js.map +1 -1
  137. package/lib/cjs/components-react/tree/controlled/component/ControlledTree.d.ts.map +1 -1
  138. package/lib/cjs/components-react/tree/controlled/component/ControlledTree.js +1 -2
  139. package/lib/cjs/components-react/tree/controlled/component/ControlledTree.js.map +1 -1
  140. package/lib/cjs/components-react/tree/controlled/component/NodeContent.d.ts.map +1 -1
  141. package/lib/cjs/components-react/tree/controlled/component/NodeContent.js +5 -4
  142. package/lib/cjs/components-react/tree/controlled/component/NodeContent.js.map +1 -1
  143. package/lib/cjs/components-react/tree/controlled/component/NodeContent.scss +3 -4
  144. package/lib/cjs/components-react.d.ts +5 -16
  145. package/lib/cjs/components-react.d.ts.map +1 -1
  146. package/lib/cjs/components-react.js +6 -16
  147. package/lib/cjs/components-react.js.map +1 -1
  148. package/lib/esm/components-react/UiComponents.d.ts +1 -1
  149. package/lib/esm/components-react/UiComponents.js +1 -1
  150. package/lib/esm/components-react/UiComponents.js.map +1 -1
  151. package/lib/esm/components-react/common/ImageRenderer.d.ts.map +1 -1
  152. package/lib/esm/components-react/common/ImageRenderer.js +1 -0
  153. package/lib/esm/components-react/common/ImageRenderer.js.map +1 -1
  154. package/lib/esm/components-react/common/selection/SelectionModes.d.ts +2 -2
  155. package/lib/esm/components-react/common/selection/SelectionModes.js +2 -2
  156. package/lib/esm/components-react/common/selection/SelectionModes.js.map +1 -1
  157. package/lib/esm/components-react/converters/TypeConverterManager.d.ts.map +1 -1
  158. package/lib/esm/components-react/converters/TypeConverterManager.js +4 -3
  159. package/lib/esm/components-react/converters/TypeConverterManager.js.map +1 -1
  160. package/lib/esm/components-react/datepicker/DatePicker.d.ts.map +1 -1
  161. package/lib/esm/components-react/datepicker/DatePicker.js +7 -0
  162. package/lib/esm/components-react/datepicker/DatePicker.js.map +1 -1
  163. package/lib/esm/components-react/datepicker/DatePicker.scss +27 -21
  164. package/lib/esm/components-react/datepicker/DatePickerPopupButton.scss +2 -3
  165. package/lib/esm/components-react/datepicker/TimeField.scss +8 -6
  166. package/lib/esm/components-react/editors/BooleanEditor.d.ts +1 -0
  167. package/lib/esm/components-react/editors/BooleanEditor.d.ts.map +1 -1
  168. package/lib/esm/components-react/editors/BooleanEditor.js +9 -14
  169. package/lib/esm/components-react/editors/BooleanEditor.js.map +1 -1
  170. package/lib/esm/components-react/editors/BooleanEditor.scss +5 -7
  171. package/lib/esm/components-react/editors/EditorContainer.d.ts +1 -1
  172. package/lib/esm/components-react/editors/EditorContainer.js +1 -1
  173. package/lib/esm/components-react/editors/EditorContainer.js.map +1 -1
  174. package/lib/esm/components-react/editors/EnumButtonGroupEditor.scss +17 -18
  175. package/lib/esm/components-react/editors/IconEditor.scss +3 -4
  176. package/lib/esm/components-react/editors/ImageCheckBoxEditor.d.ts.map +1 -1
  177. package/lib/esm/components-react/editors/ImageCheckBoxEditor.js.map +1 -1
  178. package/lib/esm/components-react/editors/ImageCheckBoxEditor.scss +6 -5
  179. package/lib/esm/components-react/editors/PopupButton.scss +14 -18
  180. package/lib/esm/components-react/editors/TextareaEditor.js +1 -1
  181. package/lib/esm/components-react/editors/TextareaEditor.js.map +1 -1
  182. package/lib/esm/components-react/editors/ToggleEditor.d.ts.map +1 -1
  183. package/lib/esm/components-react/editors/ToggleEditor.js +1 -9
  184. package/lib/esm/components-react/editors/ToggleEditor.js.map +1 -1
  185. package/lib/esm/components-react/editors/ToggleEditor.scss +4 -6
  186. package/lib/esm/components-react/favorite/FavoritePropertiesRenderer.d.ts +25 -1
  187. package/lib/esm/components-react/favorite/FavoritePropertiesRenderer.d.ts.map +1 -1
  188. package/lib/esm/components-react/favorite/FavoritePropertiesRenderer.js +24 -2
  189. package/lib/esm/components-react/favorite/FavoritePropertiesRenderer.js.map +1 -1
  190. package/lib/esm/components-react/filter-builder/FilterBuilderRule.scss +3 -4
  191. package/lib/esm/components-react/filter-builder/FilterBuilderRuleGroup.js.map +1 -1
  192. package/lib/esm/components-react/filter-builder/FilterBuilderRuleGroup.scss +9 -6
  193. package/lib/esm/components-react/filter-builder/FilterBuilderRuleProperty.js.map +1 -1
  194. package/lib/esm/components-react/filtering/ResultSelector.scss +1 -1
  195. package/lib/esm/components-react/iconpicker/IconPickerButton.d.ts +2 -2
  196. package/lib/esm/components-react/iconpicker/IconPickerButton.d.ts.map +1 -1
  197. package/lib/esm/components-react/iconpicker/IconPickerButton.js +5 -5
  198. package/lib/esm/components-react/iconpicker/IconPickerButton.js.map +1 -1
  199. package/lib/esm/components-react/iconpicker/IconPickerButton.scss +5 -5
  200. package/lib/esm/components-react/properties/ItemStyle.d.ts +2 -2
  201. package/lib/esm/components-react/properties/ItemStyle.js +1 -1
  202. package/lib/esm/components-react/properties/ItemStyle.js.map +1 -1
  203. package/lib/esm/components-react/properties/renderers/NonPrimitivePropertyRenderer.js +1 -1
  204. package/lib/esm/components-react/properties/renderers/NonPrimitivePropertyRenderer.js.map +1 -1
  205. package/lib/esm/components-react/properties/renderers/NonPrimitivePropertyRenderer.scss +2 -2
  206. package/lib/esm/components-react/properties/renderers/PrimitivePropertyRenderer.js +1 -1
  207. package/lib/esm/components-react/properties/renderers/PrimitivePropertyRenderer.js.map +1 -1
  208. package/lib/esm/components-react/properties/renderers/PropertyRenderer.js +1 -1
  209. package/lib/esm/components-react/properties/renderers/PropertyRenderer.js.map +1 -1
  210. package/lib/esm/components-react/properties/renderers/PropertyView.scss +4 -5
  211. package/lib/esm/components-react/properties/renderers/label/PropertyLabelRenderer.scss +6 -6
  212. package/lib/esm/components-react/properties/renderers/value/MultilineTextPropertyValueRenderer.d.ts +2 -0
  213. package/lib/esm/components-react/properties/renderers/value/MultilineTextPropertyValueRenderer.d.ts.map +1 -1
  214. package/lib/esm/components-react/properties/renderers/value/MultilineTextPropertyValueRenderer.js.map +1 -1
  215. package/lib/esm/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.d.ts +0 -1
  216. package/lib/esm/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.d.ts.map +1 -1
  217. package/lib/esm/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.js +0 -1
  218. package/lib/esm/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.js.map +1 -1
  219. package/lib/esm/components-react/propertygrid/component/PropertyCategoryBlock.d.ts +2 -0
  220. package/lib/esm/components-react/propertygrid/component/PropertyCategoryBlock.d.ts.map +1 -1
  221. package/lib/esm/components-react/propertygrid/component/PropertyCategoryBlock.js.map +1 -1
  222. package/lib/esm/components-react/propertygrid/component/PropertyGrid.d.ts +0 -9
  223. package/lib/esm/components-react/propertygrid/component/PropertyGrid.d.ts.map +1 -1
  224. package/lib/esm/components-react/propertygrid/component/PropertyGrid.js.map +1 -1
  225. package/lib/esm/components-react/propertygrid/component/VirtualizedPropertyGrid.scss +2 -2
  226. package/lib/esm/components-react/propertygrid/internal/flat-items/FlatGridItem.d.ts +0 -4
  227. package/lib/esm/components-react/propertygrid/internal/flat-items/FlatGridItem.d.ts.map +1 -1
  228. package/lib/esm/components-react/propertygrid/internal/flat-items/FlatGridItem.js.map +1 -1
  229. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.d.ts +0 -2
  230. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.d.ts.map +1 -1
  231. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.js +0 -6
  232. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableCustomGridCategory.js.map +1 -1
  233. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableFlatGridItem.d.ts +0 -8
  234. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableFlatGridItem.d.ts.map +1 -1
  235. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableFlatGridItem.js.map +1 -1
  236. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableGridCategory.d.ts +0 -6
  237. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableGridCategory.d.ts.map +1 -1
  238. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableGridCategory.js +2 -14
  239. package/lib/esm/components-react/propertygrid/internal/flat-items/MutableGridCategory.js.map +1 -1
  240. package/lib/esm/components-react/propertygrid/internal/flat-properties/FlatNonPrimitivePropertyRenderer.js +1 -1
  241. package/lib/esm/components-react/propertygrid/internal/flat-properties/FlatNonPrimitivePropertyRenderer.js.map +1 -1
  242. package/lib/esm/components-react/selectable-content/SelectableContent.scss +0 -1
  243. package/lib/esm/components-react/table/TableDataProvider.d.ts +2 -158
  244. package/lib/esm/components-react/table/TableDataProvider.d.ts.map +1 -1
  245. package/lib/esm/components-react/table/TableDataProvider.js +1 -16
  246. package/lib/esm/components-react/table/TableDataProvider.js.map +1 -1
  247. package/lib/esm/components-react/toolbar/Items.scss +12 -10
  248. package/lib/esm/components-react/toolbar/Overflow.scss +5 -5
  249. package/lib/esm/components-react/toolbar/OverflowPanel.scss +5 -5
  250. package/lib/esm/components-react/toolbar/PopupItem.scss +14 -12
  251. package/lib/esm/components-react/toolbar/ToolbarWithOverflow.d.ts +0 -17
  252. package/lib/esm/components-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  253. package/lib/esm/components-react/toolbar/ToolbarWithOverflow.js +5 -12
  254. package/lib/esm/components-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  255. package/lib/esm/components-react/toolbar/_variables.scss +2 -3
  256. package/lib/esm/components-react/toolbar/groupPanel/Panel.scss +1 -1
  257. package/lib/esm/components-react/toolbar/groupPanel/tool/Tool.scss +10 -11
  258. package/lib/esm/components-react/tree/ImageLoader.d.ts +1 -1
  259. package/lib/esm/components-react/tree/ImageLoader.d.ts.map +1 -1
  260. package/lib/esm/components-react/tree/ImageLoader.js +1 -1
  261. package/lib/esm/components-react/tree/ImageLoader.js.map +1 -1
  262. package/lib/esm/components-react/tree/SimpleTreeDataProvider.d.ts +1 -3
  263. package/lib/esm/components-react/tree/SimpleTreeDataProvider.d.ts.map +1 -1
  264. package/lib/esm/components-react/tree/SimpleTreeDataProvider.js +0 -2
  265. package/lib/esm/components-react/tree/SimpleTreeDataProvider.js.map +1 -1
  266. package/lib/esm/components-react/tree/TreeDataProvider.d.ts +1 -22
  267. package/lib/esm/components-react/tree/TreeDataProvider.d.ts.map +1 -1
  268. package/lib/esm/components-react/tree/TreeDataProvider.js +1 -0
  269. package/lib/esm/components-react/tree/TreeDataProvider.js.map +1 -1
  270. package/lib/esm/components-react/tree/controlled/Observable.d.ts +12 -2
  271. package/lib/esm/components-react/tree/controlled/Observable.d.ts.map +1 -1
  272. package/lib/esm/components-react/tree/controlled/Observable.js.map +1 -1
  273. package/lib/esm/components-react/tree/controlled/TreeHooks.d.ts.map +1 -1
  274. package/lib/esm/components-react/tree/controlled/TreeHooks.js +2 -4
  275. package/lib/esm/components-react/tree/controlled/TreeHooks.js.map +1 -1
  276. package/lib/esm/components-react/tree/controlled/TreeModel.d.ts +1 -1
  277. package/lib/esm/components-react/tree/controlled/TreeModel.js +1 -1
  278. package/lib/esm/components-react/tree/controlled/TreeModel.js.map +1 -1
  279. package/lib/esm/components-react/tree/controlled/TreeNodeLoader.d.ts +4 -12
  280. package/lib/esm/components-react/tree/controlled/TreeNodeLoader.d.ts.map +1 -1
  281. package/lib/esm/components-react/tree/controlled/TreeNodeLoader.js +0 -14
  282. package/lib/esm/components-react/tree/controlled/TreeNodeLoader.js.map +1 -1
  283. package/lib/esm/components-react/tree/controlled/component/ControlledTree.d.ts.map +1 -1
  284. package/lib/esm/components-react/tree/controlled/component/ControlledTree.js +1 -2
  285. package/lib/esm/components-react/tree/controlled/component/ControlledTree.js.map +1 -1
  286. package/lib/esm/components-react/tree/controlled/component/NodeContent.d.ts.map +1 -1
  287. package/lib/esm/components-react/tree/controlled/component/NodeContent.js +5 -4
  288. package/lib/esm/components-react/tree/controlled/component/NodeContent.js.map +1 -1
  289. package/lib/esm/components-react/tree/controlled/component/NodeContent.scss +3 -4
  290. package/lib/esm/components-react.d.ts +5 -16
  291. package/lib/esm/components-react.d.ts.map +1 -1
  292. package/lib/esm/components-react.js +6 -16
  293. package/lib/esm/components-react.js.map +1 -1
  294. package/package.json +21 -36
  295. package/lib/cjs/components-react/breadcrumb/BeInspireTree.d.ts +0 -263
  296. package/lib/cjs/components-react/breadcrumb/BeInspireTree.d.ts.map +0 -1
  297. package/lib/cjs/components-react/breadcrumb/BeInspireTree.js +0 -902
  298. package/lib/cjs/components-react/breadcrumb/BeInspireTree.js.map +0 -1
  299. package/lib/cjs/components-react/breadcrumb/Breadcrumb.d.ts +0 -198
  300. package/lib/cjs/components-react/breadcrumb/Breadcrumb.d.ts.map +0 -1
  301. package/lib/cjs/components-react/breadcrumb/Breadcrumb.js +0 -652
  302. package/lib/cjs/components-react/breadcrumb/Breadcrumb.js.map +0 -1
  303. package/lib/cjs/components-react/breadcrumb/Breadcrumb.scss +0 -197
  304. package/lib/cjs/components-react/breadcrumb/BreadcrumbDetails.d.ts +0 -66
  305. package/lib/cjs/components-react/breadcrumb/BreadcrumbDetails.d.ts.map +0 -1
  306. package/lib/cjs/components-react/breadcrumb/BreadcrumbDetails.js +0 -232
  307. package/lib/cjs/components-react/breadcrumb/BreadcrumbDetails.js.map +0 -1
  308. package/lib/cjs/components-react/breadcrumb/BreadcrumbPath.d.ts +0 -36
  309. package/lib/cjs/components-react/breadcrumb/BreadcrumbPath.d.ts.map +0 -1
  310. package/lib/cjs/components-react/breadcrumb/BreadcrumbPath.js +0 -47
  311. package/lib/cjs/components-react/breadcrumb/BreadcrumbPath.js.map +0 -1
  312. package/lib/cjs/components-react/breadcrumb/BreadcrumbTreeUtils.d.ts +0 -30
  313. package/lib/cjs/components-react/breadcrumb/BreadcrumbTreeUtils.d.ts.map +0 -1
  314. package/lib/cjs/components-react/breadcrumb/BreadcrumbTreeUtils.js +0 -136
  315. package/lib/cjs/components-react/breadcrumb/BreadcrumbTreeUtils.js.map +0 -1
  316. package/lib/cjs/components-react/common/showhide/ShowHideDialog.d.ts +0 -39
  317. package/lib/cjs/components-react/common/showhide/ShowHideDialog.d.ts.map +0 -1
  318. package/lib/cjs/components-react/common/showhide/ShowHideDialog.js +0 -91
  319. package/lib/cjs/components-react/common/showhide/ShowHideDialog.js.map +0 -1
  320. package/lib/cjs/components-react/common/showhide/ShowHideItem.d.ts +0 -15
  321. package/lib/cjs/components-react/common/showhide/ShowHideItem.d.ts.map +0 -1
  322. package/lib/cjs/components-react/common/showhide/ShowHideItem.js +0 -10
  323. package/lib/cjs/components-react/common/showhide/ShowHideItem.js.map +0 -1
  324. package/lib/cjs/components-react/common/showhide/ShowHideMenu.d.ts +0 -54
  325. package/lib/cjs/components-react/common/showhide/ShowHideMenu.d.ts.map +0 -1
  326. package/lib/cjs/components-react/common/showhide/ShowHideMenu.js +0 -124
  327. package/lib/cjs/components-react/common/showhide/ShowHideMenu.js.map +0 -1
  328. package/lib/cjs/components-react/editors/ThemedEnumEditor.d.ts +0 -63
  329. package/lib/cjs/components-react/editors/ThemedEnumEditor.d.ts.map +0 -1
  330. package/lib/cjs/components-react/editors/ThemedEnumEditor.js +0 -207
  331. package/lib/cjs/components-react/editors/ThemedEnumEditor.js.map +0 -1
  332. package/lib/cjs/components-react/editors/ThemedEnumEditor.scss +0 -83
  333. package/lib/cjs/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.scss +0 -11
  334. package/lib/cjs/components-react/table/SimpleTableDataProvider.d.ts +0 -58
  335. package/lib/cjs/components-react/table/SimpleTableDataProvider.d.ts.map +0 -1
  336. package/lib/cjs/components-react/table/SimpleTableDataProvider.js +0 -255
  337. package/lib/cjs/components-react/table/SimpleTableDataProvider.js.map +0 -1
  338. package/lib/cjs/components-react/table/columnfiltering/ColumnFiltering.d.ts +0 -242
  339. package/lib/cjs/components-react/table/columnfiltering/ColumnFiltering.d.ts.map +0 -1
  340. package/lib/cjs/components-react/table/columnfiltering/ColumnFiltering.js +0 -115
  341. package/lib/cjs/components-react/table/columnfiltering/ColumnFiltering.js.map +0 -1
  342. package/lib/cjs/components-react/table/columnfiltering/ColumnFiltering.scss +0 -79
  343. package/lib/cjs/components-react/table/columnfiltering/ColumnFilteringUtilities.d.ts +0 -14
  344. package/lib/cjs/components-react/table/columnfiltering/ColumnFilteringUtilities.d.ts.map +0 -1
  345. package/lib/cjs/components-react/table/columnfiltering/ColumnFilteringUtilities.js +0 -37
  346. package/lib/cjs/components-react/table/columnfiltering/ColumnFilteringUtilities.js.map +0 -1
  347. package/lib/cjs/components-react/table/columnfiltering/DataGridFilterParser.d.ts +0 -88
  348. package/lib/cjs/components-react/table/columnfiltering/DataGridFilterParser.d.ts.map +0 -1
  349. package/lib/cjs/components-react/table/columnfiltering/DataGridFilterParser.js +0 -193
  350. package/lib/cjs/components-react/table/columnfiltering/DataGridFilterParser.js.map +0 -1
  351. package/lib/cjs/components-react/table/columnfiltering/FilterableColumnBase.d.ts +0 -58
  352. package/lib/cjs/components-react/table/columnfiltering/FilterableColumnBase.d.ts.map +0 -1
  353. package/lib/cjs/components-react/table/columnfiltering/FilterableColumnBase.js +0 -104
  354. package/lib/cjs/components-react/table/columnfiltering/FilterableColumnBase.js.map +0 -1
  355. package/lib/cjs/components-react/table/columnfiltering/TableColumnFilterDescriptor.d.ts +0 -57
  356. package/lib/cjs/components-react/table/columnfiltering/TableColumnFilterDescriptor.d.ts.map +0 -1
  357. package/lib/cjs/components-react/table/columnfiltering/TableColumnFilterDescriptor.js +0 -364
  358. package/lib/cjs/components-react/table/columnfiltering/TableColumnFilterDescriptor.js.map +0 -1
  359. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptor.d.ts +0 -86
  360. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptor.d.ts.map +0 -1
  361. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptor.js +0 -404
  362. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptor.js.map +0 -1
  363. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptorCollection.d.ts +0 -29
  364. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptorCollection.d.ts.map +0 -1
  365. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptorCollection.js +0 -88
  366. package/lib/cjs/components-react/table/columnfiltering/TableFilterDescriptorCollection.js.map +0 -1
  367. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.d.ts +0 -29
  368. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.d.ts.map +0 -1
  369. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.js +0 -75
  370. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.js.map +0 -1
  371. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.d.ts +0 -5
  372. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.d.ts.map +0 -1
  373. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.js +0 -23
  374. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.js.map +0 -1
  375. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/NumericFilter.d.ts +0 -22
  376. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/NumericFilter.d.ts.map +0 -1
  377. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/NumericFilter.js +0 -88
  378. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/NumericFilter.js.map +0 -1
  379. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.d.ts +0 -5
  380. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.d.ts.map +0 -1
  381. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.js +0 -23
  382. package/lib/cjs/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.js.map +0 -1
  383. package/lib/cjs/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.d.ts +0 -19
  384. package/lib/cjs/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.d.ts.map +0 -1
  385. package/lib/cjs/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.js +0 -184
  386. package/lib/cjs/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.js.map +0 -1
  387. package/lib/cjs/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.scss +0 -36
  388. package/lib/cjs/components-react/table/component/ColumnDragLayer.d.ts +0 -15
  389. package/lib/cjs/components-react/table/component/ColumnDragLayer.d.ts.map +0 -1
  390. package/lib/cjs/components-react/table/component/ColumnDragLayer.js +0 -66
  391. package/lib/cjs/components-react/table/component/ColumnDragLayer.js.map +0 -1
  392. package/lib/cjs/components-react/table/component/DragDropHeaderCell.d.ts +0 -27
  393. package/lib/cjs/components-react/table/component/DragDropHeaderCell.d.ts.map +0 -1
  394. package/lib/cjs/components-react/table/component/DragDropHeaderCell.js +0 -102
  395. package/lib/cjs/components-react/table/component/DragDropHeaderCell.js.map +0 -1
  396. package/lib/cjs/components-react/table/component/Table.d.ts +0 -308
  397. package/lib/cjs/components-react/table/component/Table.d.ts.map +0 -1
  398. package/lib/cjs/components-react/table/component/Table.js +0 -1335
  399. package/lib/cjs/components-react/table/component/Table.js.map +0 -1
  400. package/lib/cjs/components-react/table/component/Table.scss +0 -201
  401. package/lib/cjs/components-react/table/component/TableCell.d.ts +0 -101
  402. package/lib/cjs/components-react/table/component/TableCell.d.ts.map +0 -1
  403. package/lib/cjs/components-react/table/component/TableCell.js +0 -137
  404. package/lib/cjs/components-react/table/component/TableCell.js.map +0 -1
  405. package/lib/cjs/components-react/table/component/TableCell.scss +0 -49
  406. package/lib/cjs/components-react/table/component/TableColumn.d.ts +0 -31
  407. package/lib/cjs/components-react/table/component/TableColumn.d.ts.map +0 -1
  408. package/lib/cjs/components-react/table/component/TableColumn.js +0 -33
  409. package/lib/cjs/components-react/table/component/TableColumn.js.map +0 -1
  410. package/lib/cjs/components-react/table/component/dragdrop/BeDragDropContext.d.ts +0 -13
  411. package/lib/cjs/components-react/table/component/dragdrop/BeDragDropContext.d.ts.map +0 -1
  412. package/lib/cjs/components-react/table/component/dragdrop/BeDragDropContext.js +0 -42
  413. package/lib/cjs/components-react/table/component/dragdrop/BeDragDropContext.js.map +0 -1
  414. package/lib/cjs/components-react/table/component/dragdrop/DragDropDef.d.ts +0 -155
  415. package/lib/cjs/components-react/table/component/dragdrop/DragDropDef.d.ts.map +0 -1
  416. package/lib/cjs/components-react/table/component/dragdrop/DragDropDef.js +0 -33
  417. package/lib/cjs/components-react/table/component/dragdrop/DragDropDef.js.map +0 -1
  418. package/lib/cjs/components-react/table/component/dragdrop/withDragSource.d.ts +0 -42
  419. package/lib/cjs/components-react/table/component/dragdrop/withDragSource.d.ts.map +0 -1
  420. package/lib/cjs/components-react/table/component/dragdrop/withDragSource.js +0 -189
  421. package/lib/cjs/components-react/table/component/dragdrop/withDragSource.js.map +0 -1
  422. package/lib/cjs/components-react/table/component/dragdrop/withDropTarget.d.ts +0 -36
  423. package/lib/cjs/components-react/table/component/dragdrop/withDropTarget.d.ts.map +0 -1
  424. package/lib/cjs/components-react/table/component/dragdrop/withDropTarget.js +0 -150
  425. package/lib/cjs/components-react/table/component/dragdrop/withDropTarget.js.map +0 -1
  426. package/lib/esm/components-react/breadcrumb/BeInspireTree.d.ts +0 -263
  427. package/lib/esm/components-react/breadcrumb/BeInspireTree.d.ts.map +0 -1
  428. package/lib/esm/components-react/breadcrumb/BeInspireTree.js +0 -892
  429. package/lib/esm/components-react/breadcrumb/BeInspireTree.js.map +0 -1
  430. package/lib/esm/components-react/breadcrumb/Breadcrumb.d.ts +0 -198
  431. package/lib/esm/components-react/breadcrumb/Breadcrumb.d.ts.map +0 -1
  432. package/lib/esm/components-react/breadcrumb/Breadcrumb.js +0 -623
  433. package/lib/esm/components-react/breadcrumb/Breadcrumb.js.map +0 -1
  434. package/lib/esm/components-react/breadcrumb/Breadcrumb.scss +0 -197
  435. package/lib/esm/components-react/breadcrumb/BreadcrumbDetails.d.ts +0 -66
  436. package/lib/esm/components-react/breadcrumb/BreadcrumbDetails.d.ts.map +0 -1
  437. package/lib/esm/components-react/breadcrumb/BreadcrumbDetails.js +0 -206
  438. package/lib/esm/components-react/breadcrumb/BreadcrumbDetails.js.map +0 -1
  439. package/lib/esm/components-react/breadcrumb/BreadcrumbPath.d.ts +0 -36
  440. package/lib/esm/components-react/breadcrumb/BreadcrumbPath.d.ts.map +0 -1
  441. package/lib/esm/components-react/breadcrumb/BreadcrumbPath.js +0 -42
  442. package/lib/esm/components-react/breadcrumb/BreadcrumbPath.js.map +0 -1
  443. package/lib/esm/components-react/breadcrumb/BreadcrumbTreeUtils.d.ts +0 -30
  444. package/lib/esm/components-react/breadcrumb/BreadcrumbTreeUtils.d.ts.map +0 -1
  445. package/lib/esm/components-react/breadcrumb/BreadcrumbTreeUtils.js +0 -131
  446. package/lib/esm/components-react/breadcrumb/BreadcrumbTreeUtils.js.map +0 -1
  447. package/lib/esm/components-react/common/showhide/ShowHideDialog.d.ts +0 -39
  448. package/lib/esm/components-react/common/showhide/ShowHideDialog.d.ts.map +0 -1
  449. package/lib/esm/components-react/common/showhide/ShowHideDialog.js +0 -68
  450. package/lib/esm/components-react/common/showhide/ShowHideDialog.js.map +0 -1
  451. package/lib/esm/components-react/common/showhide/ShowHideItem.d.ts +0 -15
  452. package/lib/esm/components-react/common/showhide/ShowHideItem.d.ts.map +0 -1
  453. package/lib/esm/components-react/common/showhide/ShowHideItem.js +0 -9
  454. package/lib/esm/components-react/common/showhide/ShowHideItem.js.map +0 -1
  455. package/lib/esm/components-react/common/showhide/ShowHideMenu.d.ts +0 -54
  456. package/lib/esm/components-react/common/showhide/ShowHideMenu.d.ts.map +0 -1
  457. package/lib/esm/components-react/common/showhide/ShowHideMenu.js +0 -101
  458. package/lib/esm/components-react/common/showhide/ShowHideMenu.js.map +0 -1
  459. package/lib/esm/components-react/editors/ThemedEnumEditor.d.ts +0 -63
  460. package/lib/esm/components-react/editors/ThemedEnumEditor.d.ts.map +0 -1
  461. package/lib/esm/components-react/editors/ThemedEnumEditor.js +0 -180
  462. package/lib/esm/components-react/editors/ThemedEnumEditor.js.map +0 -1
  463. package/lib/esm/components-react/editors/ThemedEnumEditor.scss +0 -83
  464. package/lib/esm/components-react/properties/renderers/value/table/NonPrimitiveValueRenderer.scss +0 -11
  465. package/lib/esm/components-react/table/SimpleTableDataProvider.d.ts +0 -58
  466. package/lib/esm/components-react/table/SimpleTableDataProvider.d.ts.map +0 -1
  467. package/lib/esm/components-react/table/SimpleTableDataProvider.js +0 -251
  468. package/lib/esm/components-react/table/SimpleTableDataProvider.js.map +0 -1
  469. package/lib/esm/components-react/table/columnfiltering/ColumnFiltering.d.ts +0 -242
  470. package/lib/esm/components-react/table/columnfiltering/ColumnFiltering.d.ts.map +0 -1
  471. package/lib/esm/components-react/table/columnfiltering/ColumnFiltering.js +0 -108
  472. package/lib/esm/components-react/table/columnfiltering/ColumnFiltering.js.map +0 -1
  473. package/lib/esm/components-react/table/columnfiltering/ColumnFiltering.scss +0 -79
  474. package/lib/esm/components-react/table/columnfiltering/ColumnFilteringUtilities.d.ts +0 -14
  475. package/lib/esm/components-react/table/columnfiltering/ColumnFilteringUtilities.d.ts.map +0 -1
  476. package/lib/esm/components-react/table/columnfiltering/ColumnFilteringUtilities.js +0 -33
  477. package/lib/esm/components-react/table/columnfiltering/ColumnFilteringUtilities.js.map +0 -1
  478. package/lib/esm/components-react/table/columnfiltering/DataGridFilterParser.d.ts +0 -88
  479. package/lib/esm/components-react/table/columnfiltering/DataGridFilterParser.d.ts.map +0 -1
  480. package/lib/esm/components-react/table/columnfiltering/DataGridFilterParser.js +0 -189
  481. package/lib/esm/components-react/table/columnfiltering/DataGridFilterParser.js.map +0 -1
  482. package/lib/esm/components-react/table/columnfiltering/FilterableColumnBase.d.ts +0 -58
  483. package/lib/esm/components-react/table/columnfiltering/FilterableColumnBase.d.ts.map +0 -1
  484. package/lib/esm/components-react/table/columnfiltering/FilterableColumnBase.js +0 -100
  485. package/lib/esm/components-react/table/columnfiltering/FilterableColumnBase.js.map +0 -1
  486. package/lib/esm/components-react/table/columnfiltering/TableColumnFilterDescriptor.d.ts +0 -57
  487. package/lib/esm/components-react/table/columnfiltering/TableColumnFilterDescriptor.d.ts.map +0 -1
  488. package/lib/esm/components-react/table/columnfiltering/TableColumnFilterDescriptor.js +0 -360
  489. package/lib/esm/components-react/table/columnfiltering/TableColumnFilterDescriptor.js.map +0 -1
  490. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptor.d.ts +0 -86
  491. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptor.d.ts.map +0 -1
  492. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptor.js +0 -400
  493. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptor.js.map +0 -1
  494. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptorCollection.d.ts +0 -29
  495. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptorCollection.d.ts.map +0 -1
  496. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptorCollection.js +0 -84
  497. package/lib/esm/components-react/table/columnfiltering/TableFilterDescriptorCollection.js.map +0 -1
  498. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.d.ts +0 -29
  499. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.d.ts.map +0 -1
  500. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.js +0 -49
  501. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/AutoCompleteFilter.js.map +0 -1
  502. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.d.ts +0 -5
  503. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.d.ts.map +0 -1
  504. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.js +0 -16
  505. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/MultiSelectFilter.js.map +0 -1
  506. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/NumericFilter.d.ts +0 -22
  507. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/NumericFilter.d.ts.map +0 -1
  508. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/NumericFilter.js +0 -81
  509. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/NumericFilter.js.map +0 -1
  510. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.d.ts +0 -5
  511. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.d.ts.map +0 -1
  512. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.js +0 -16
  513. package/lib/esm/components-react/table/columnfiltering/data-grid-addons/SingleSelectFilter.js.map +0 -1
  514. package/lib/esm/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.d.ts +0 -19
  515. package/lib/esm/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.d.ts.map +0 -1
  516. package/lib/esm/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.js +0 -177
  517. package/lib/esm/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.js.map +0 -1
  518. package/lib/esm/components-react/table/columnfiltering/multi-value-filter/MultiValueFilter.scss +0 -36
  519. package/lib/esm/components-react/table/component/ColumnDragLayer.d.ts +0 -15
  520. package/lib/esm/components-react/table/component/ColumnDragLayer.d.ts.map +0 -1
  521. package/lib/esm/components-react/table/component/ColumnDragLayer.js +0 -40
  522. package/lib/esm/components-react/table/component/ColumnDragLayer.js.map +0 -1
  523. package/lib/esm/components-react/table/component/DragDropHeaderCell.d.ts +0 -27
  524. package/lib/esm/components-react/table/component/DragDropHeaderCell.d.ts.map +0 -1
  525. package/lib/esm/components-react/table/component/DragDropHeaderCell.js +0 -76
  526. package/lib/esm/components-react/table/component/DragDropHeaderCell.js.map +0 -1
  527. package/lib/esm/components-react/table/component/Table.d.ts +0 -308
  528. package/lib/esm/components-react/table/component/Table.d.ts.map +0 -1
  529. package/lib/esm/components-react/table/component/Table.js +0 -1308
  530. package/lib/esm/components-react/table/component/Table.js.map +0 -1
  531. package/lib/esm/components-react/table/component/Table.scss +0 -201
  532. package/lib/esm/components-react/table/component/TableCell.d.ts +0 -101
  533. package/lib/esm/components-react/table/component/TableCell.d.ts.map +0 -1
  534. package/lib/esm/components-react/table/component/TableCell.js +0 -109
  535. package/lib/esm/components-react/table/component/TableCell.js.map +0 -1
  536. package/lib/esm/components-react/table/component/TableCell.scss +0 -49
  537. package/lib/esm/components-react/table/component/TableColumn.d.ts +0 -31
  538. package/lib/esm/components-react/table/component/TableColumn.d.ts.map +0 -1
  539. package/lib/esm/components-react/table/component/TableColumn.js +0 -29
  540. package/lib/esm/components-react/table/component/TableColumn.js.map +0 -1
  541. package/lib/esm/components-react/table/component/dragdrop/BeDragDropContext.d.ts +0 -13
  542. package/lib/esm/components-react/table/component/dragdrop/BeDragDropContext.d.ts.map +0 -1
  543. package/lib/esm/components-react/table/component/dragdrop/BeDragDropContext.js +0 -19
  544. package/lib/esm/components-react/table/component/dragdrop/BeDragDropContext.js.map +0 -1
  545. package/lib/esm/components-react/table/component/dragdrop/DragDropDef.d.ts +0 -155
  546. package/lib/esm/components-react/table/component/dragdrop/DragDropDef.d.ts.map +0 -1
  547. package/lib/esm/components-react/table/component/dragdrop/DragDropDef.js +0 -30
  548. package/lib/esm/components-react/table/component/dragdrop/DragDropDef.js.map +0 -1
  549. package/lib/esm/components-react/table/component/dragdrop/withDragSource.d.ts +0 -42
  550. package/lib/esm/components-react/table/component/dragdrop/withDragSource.d.ts.map +0 -1
  551. package/lib/esm/components-react/table/component/dragdrop/withDragSource.js +0 -166
  552. package/lib/esm/components-react/table/component/dragdrop/withDragSource.js.map +0 -1
  553. package/lib/esm/components-react/table/component/dragdrop/withDropTarget.d.ts +0 -36
  554. package/lib/esm/components-react/table/component/dragdrop/withDropTarget.d.ts.map +0 -1
  555. package/lib/esm/components-react/table/component/dragdrop/withDropTarget.js +0 -127
  556. package/lib/esm/components-react/table/component/dragdrop/withDropTarget.js.map +0 -1
@@ -1,100 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Table
7
- */
8
- import { TableColumnFilterDescriptor } from "./TableColumnFilterDescriptor";
9
- import { TableFilterDescriptor } from "./TableFilterDescriptor";
10
- /* eslint-disable deprecation/deprecation */
11
- /** Filterable Column base class.
12
- * @internal
13
- */
14
- export class FilterableColumnBase {
15
- constructor(filterableTable, description) {
16
- this._filterable = false;
17
- this._filterableTable = filterableTable;
18
- this._columnDescription = description;
19
- this._filterable = (description.filterable === undefined) ? false : description.filterable;
20
- this._showFieldFilters = (description.showFieldFilters === undefined) ? true : description.showFieldFilters;
21
- this._showDistinctValueFilters = (description.showDistinctValueFilters === undefined) ? true : description.showDistinctValueFilters;
22
- this._filterCaseSensitive = (description.filterCaseSensitive === undefined) ? false : description.filterCaseSensitive;
23
- if (!this._columnDescription.propertyDescription) {
24
- this._columnDescription.propertyDescription = {
25
- name: "",
26
- displayLabel: "",
27
- typename: "",
28
- };
29
- }
30
- }
31
- /** Indicates whether column is filterable.
32
- */
33
- get filterable() {
34
- return this._filterable;
35
- }
36
- /** Gets the owning filterable Table.
37
- */
38
- get filterableTable() {
39
- return this._filterableTable;
40
- }
41
- /** Gets the Column Description.
42
- */
43
- get columnDescription() {
44
- return this._columnDescription;
45
- }
46
- /** Gets the column filter descriptor.
47
- * @return A class implementing IColumnFilterDescriptor.
48
- */
49
- get columnFilterDescriptor() {
50
- let columnFilterDescriptor = this._filterableTable.filterDescriptors.getColumnFilterDescriptor(this.filterMemberKey);
51
- if (undefined === columnFilterDescriptor) {
52
- columnFilterDescriptor = this.createColumnFilterDescriptor();
53
- this._filterableTable.filterDescriptors.add(columnFilterDescriptor);
54
- }
55
- return columnFilterDescriptor;
56
- }
57
- /** Creates the column filter descriptor.
58
- * @return A new class implementing ColumnFilterDescriptor.
59
- */
60
- createColumnFilterDescriptor() {
61
- return new TableColumnFilterDescriptor(this, this.filterMemberKey, this.filterMemberType);
62
- }
63
- /** Creates a basic filter descriptor for use .
64
- * @return A new FilterDescriptor.
65
- */
66
- createSimpleFilterDescriptor(value, filterOperator) {
67
- return new TableFilterDescriptor(this._filterableTable, this.filterMemberKey, this.filterMemberType, filterOperator, value, this._filterCaseSensitive);
68
- }
69
- /** Gets the filter member key.
70
- */
71
- get filterMemberKey() {
72
- return this._columnDescription.key;
73
- }
74
- /** Gets the filter member type.
75
- */
76
- get filterMemberType() {
77
- let memberType = "";
78
- // istanbul ignore else
79
- if (this._columnDescription.propertyDescription)
80
- memberType = this._columnDescription.propertyDescription.typename;
81
- return memberType;
82
- }
83
- /** Determines if a filter is active. */
84
- get isFilterActive() {
85
- return this._filterableTable.filterDescriptors.isColumnFilterActive(this.filterMemberKey);
86
- }
87
- /** Determines if the filter should show distinct values as a filter option */
88
- get showDistinctValueFilters() {
89
- return this._showDistinctValueFilters;
90
- }
91
- /** Determines if the filter should show field filter options */
92
- get showFieldFilters() {
93
- return this._showFieldFilters;
94
- }
95
- /** Determines if the filter is case-sensitive */
96
- get filterCaseSensitive() {
97
- return this._filterCaseSensitive;
98
- }
99
- }
100
- //# sourceMappingURL=FilterableColumnBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterableColumnBase.js","sourceRoot":"","sources":["../../../../../src/components-react/table/columnfiltering/FilterableColumnBase.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,4CAA4C;AAE5C;;GAEG;AACH,MAAM,OAAgB,oBAAoB;IAUxC,YAAY,eAAgC,EAAE,WAA8B;QAPpE,gBAAW,GAAY,KAAK,CAAC;QAQnC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,kBAAkB,GAAG,WAAW,CAAC;QAEtC,IAAI,CAAC,WAAW,GAAG,CAAC,WAAW,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC;QAC3F,IAAI,CAAC,iBAAiB,GAAG,CAAC,WAAW,CAAC,gBAAgB,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,gBAAgB,CAAC;QAC5G,IAAI,CAAC,yBAAyB,GAAG,CAAC,WAAW,CAAC,wBAAwB,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,wBAAwB,CAAC;QACpI,IAAI,CAAC,oBAAoB,GAAG,CAAC,WAAW,CAAC,mBAAmB,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,mBAAmB,CAAC;QAEtH,IAAI,CAAC,IA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ACrC,CAAC;IAED;OACG;IACH,IAAW,gBAAgB;QACzB,IAAI,UAAU,GAAG,EAAE,CAAC;QACpB,uBAAuB;QACvB,IAAI,IAAI,CAAC,kBAAkB,CAAC,mBAAmB;YAC7C,UAAU,GAAG,IAAI,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,QAAQ,CAAC;QACpE,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,wCAAwC;IACxC,IAAW,cAAc;QACvB,OAAO,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC5F,CAAC;IAED,8EAA8E;IAC9E,IAAW,wBAAwB;QACjC,OAAO,IAAI,CAAC,yBAAyB,CAAC;IACxC,CAAC;IAED,gEAAgE;IAChE,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,iDAAiD;IACjD,IAAW,mBAAmB;QAC5B,OAAO,IAAI,CAAC,oBAAoB,CAAC;IACnC,CAAC;CAOF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Table\r\n */\r\n\r\nimport { ColumnDescription } from \"../TableDataProvider\";\r\nimport { ColumnFilterDescriptor, DistinctValueCollection, FilterableColumn, FilterableTable, FilterOperator } from \"./ColumnFiltering\";\r\nimport { TableColumnFilterDescriptor } from \"./TableColumnFilterDescriptor\";\r\nimport { TableFilterDescriptor } from \"./TableFilterDescriptor\";\r\n/* eslint-disable deprecation/deprecation */\r\n\r\n/** Filterable Column base class.\r\n * @internal\r\n */\r\nexport abstract class FilterableColumnBase implements FilterableColumn {\r\n private _columnDescription: ColumnDescription;\r\n\r\n private _filterable: boolean = false;\r\n private _showFieldFilters: boolean;\r\n private _showDistinctValueFilters: boolean;\r\n private _filterCaseSensitive: boolean;\r\n\r\n private _filterableTable: FilterableTable;\r\n\r\n constructor(filterableTable: FilterableTable, description: ColumnDescription) {\r\n this._filterableTable = filterableTable;\r\n this._columnDescription = description;\r\n\r\n this._filterable = (description.filterable === undefined) ? false : description.filterable;\r\n this._showFieldFilters = (description.showFieldFilters === undefined) ? true : description.showFieldFilters;\r\n this._showDistinctValueFilters = (description.showDistinctValueFilters === undefined) ? true : description.showDistinctValueFilters;\r\n this._filterCaseSensitive = (description.filterCaseSensitive === undefined) ? false : description.filterCaseSensitive;\r\n\r\n if (!this._columnDescription.propertyDescription) {\r\n this._columnDescription.propertyDescription = {\r\n name: \"\",\r\n displayLabel: \"\",\r\n typename: \"\",\r\n };\r\n }\r\n }\r\n\r\n /** Indicates whether column is filterable.\r\n */\r\n public get filterable(): boolean {\r\n return this._filterable;\r\n }\r\n\r\n /** Gets the owning filterable Table.\r\n */\r\n public get filterableTable(): FilterableTable {\r\n return this._filterableTable;\r\n }\r\n\r\n /** Gets the Column Description.\r\n */\r\n public get columnDescription(): ColumnDescription {\r\n return this._columnDescription;\r\n }\r\n\r\n /** Gets the column filter descriptor.\r\n * @return A class implementing IColumnFilterDescriptor.\r\n */\r\n public get columnFilterDescriptor(): ColumnFilterDescriptor {\r\n let columnFilterDescriptor = this._filterableTable.filterDescriptors.getColumnFilterDescriptor(this.filterMemberKey);\r\n\r\n if (undefined === columnFilterDescriptor) {\r\n columnFilterDescriptor = this.createColumnFilterDescriptor();\r\n this._filterableTable.filterDescriptors.add(columnFilterDescriptor);\r\n }\r\n\r\n return columnFilterDescriptor;\r\n }\r\n\r\n /** Creates the column filter descriptor.\r\n * @return A new class implementing ColumnFilterDescriptor.\r\n */\r\n protected createColumnFilterDescriptor(): ColumnFilterDescriptor {\r\n return new TableColumnFilterDescriptor(this, this.filterMemberKey, this.filterMemberType);\r\n }\r\n\r\n /** Creates a basic filter descriptor for use .\r\n * @return A new FilterDescriptor.\r\n */\r\n public createSimpleFilterDescriptor(value: any, filterOperator: FilterOperator): TableFilterDescriptor {\r\n return new TableFilterDescriptor(this._filterableTable, this.filterMemberKey, this.filterMemberType, filterOperator, value, this._filterCaseSensitive);\r\n }\r\n\r\n /** Gets the filter member key.\r\n */\r\n public get filterMemberKey(): string {\r\n return this._columnDescription.key;\r\n }\r\n\r\n /** Gets the filter member type.\r\n */\r\n public get filterMemberType(): string {\r\n let memberType = \"\";\r\n // istanbul ignore else\r\n if (this._columnDescription.propertyDescription)\r\n memberType = this._columnDescription.propertyDescription.typename;\r\n return memberType;\r\n }\r\n\r\n /** Determines if a filter is active. */\r\n public get isFilterActive(): boolean {\r\n return this._filterableTable.filterDescriptors.isColumnFilterActive(this.filterMemberKey);\r\n }\r\n\r\n /** Determines if the filter should show distinct values as a filter option */\r\n public get showDistinctValueFilters(): boolean {\r\n return this._showDistinctValueFilters;\r\n }\r\n\r\n /** Determines if the filter should show field filter options */\r\n public get showFieldFilters(): boolean {\r\n return this._showFieldFilters;\r\n }\r\n\r\n /** Determines if the filter is case-sensitive */\r\n public get filterCaseSensitive(): boolean {\r\n return this._filterCaseSensitive;\r\n }\r\n\r\n /** Gets the distinct values for a column.\r\n * @return The distinct values.\r\n */\r\n public abstract getDistinctValues(maximumValueCount: number): Promise<DistinctValueCollection>;\r\n\r\n}\r\n"]}
@@ -1,57 +0,0 @@
1
- /** @packageDocumentation
2
- * @module Table
3
- */
4
- import { RowItem } from "../TableDataProvider";
5
- import { ColumnFilterDescriptor, DistinctValuesFilterDescriptor, FieldFilterDescriptor, FilterableColumn } from "./ColumnFiltering";
6
- /** A ColumnFilterDescriptor for TableColumn.
7
- * @internal
8
- */
9
- export declare class TableColumnFilterDescriptor implements ColumnFilterDescriptor {
10
- private _column;
11
- private _compositeFilter;
12
- private _distinctFilter;
13
- private _fieldFilter;
14
- private _memberKey;
15
- private _memberType;
16
- /** Initializes a new instance of the ColumnFilterDescriptor class.
17
- * @param column The column.
18
- * @param memberKey The member (key).
19
- * @param memberType The member type.
20
- */
21
- constructor(column: FilterableColumn, memberKey: string, memberType: string);
22
- /** Gets the distinct values filter descriptor.
23
- */
24
- get distinctFilter(): DistinctValuesFilterDescriptor;
25
- /** Gets the field filter descriptor.
26
- */
27
- get fieldFilter(): FieldFilterDescriptor;
28
- /** Determines if the filter descriptor is active.
29
- */
30
- get isActive(): boolean;
31
- /** Gets the column.
32
- */
33
- get column(): FilterableColumn;
34
- /** Clears the filter descriptor.
35
- */
36
- clear(): void;
37
- /** Evaluates a row for filtering
38
- */
39
- evaluateRow(row: RowItem): boolean;
40
- /** Determines if this filter is for a particular column.
41
- */
42
- isFilterForColumn(columnKey: string): boolean;
43
- getFilterExpression(): string;
44
- /** Gets the member (key).
45
- */
46
- get memberKey(): string;
47
- /** Sets the member (key).
48
- */
49
- set memberKey(value: string);
50
- /** Gets the member type.
51
- */
52
- get memberType(): string;
53
- /** Sets the member type.
54
- */
55
- set memberType(value: string);
56
- }
57
- //# sourceMappingURL=TableColumnFilterDescriptor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableColumnFilterDescriptor.d.ts","sourceRoot":"","sources":["../../../../../src/components-react/table/columnfiltering/TableColumnFilterDescriptor.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EACL,sBAAsB,EAAsD,8BAA8B,EAAE,qBAAqB,EAAE,gBAAgB,EAGpJ,MAAM,mBAAmB,CAAC;AAG3B;;GAEG;AACH,qBAAa,2BAA4B,YAAW,sBAAsB;IACxE,OAAO,CAAC,OAAO,CAAmB;IAClC,OAAO,CAAC,gBAAgB,CAAgC;IACxD,OAAO,CAAC,eAAe,CAAqC;IAC5D,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,WAAW,CAAS;IAE5B;;;;OAIG;gBACgB,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAclF;OACG;IACH,IAAW,cAAc,IAAI,8BAA8B,CAE1D;IAED;OACG;IACH,IAAW,WAAW,IAAI,qBAAqB,CAE9C;IAED;OACG;IACH,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED;OACG;IACH,IAAW,MAAM,IAAI,gBAAgB,CAEpC;IAED;OACG;IACI,KAAK,IAAI,IAAI;IAOpB;OACG;IACI,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO;IAIzC;OACG;IACI,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAI7C,mBAAmB,IAAI,MAAM;IAIpC;OACG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED;OACG;IACH,IAAW,SAAS,CAAC,KAAK,EAAE,MAAM,EAOjC;IAED;OACG;IACH,IAAW,UAAU,IAAI,MAAM,CAE9B;IAED;OACG;IACH,IAAW,UAAU,CAAC,KAAK,EAAE,MAAM,EAOlC;CACF"}
@@ -1,360 +0,0 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Table
7
- */
8
- import { DistinctValueCollection, FilterCompositionLogicalOperator, FilterDescriptorCollection, FilterOperator, } from "./ColumnFiltering";
9
- /* eslint-disable deprecation/deprecation */
10
- /** A ColumnFilterDescriptor for TableColumn.
11
- * @internal
12
- */
13
- export class TableColumnFilterDescriptor {
14
- /** Initializes a new instance of the ColumnFilterDescriptor class.
15
- * @param column The column.
16
- * @param memberKey The member (key).
17
- * @param memberType The member type.
18
- */
19
- constructor(column, memberKey, memberType) {
20
- this._column = column;
21
- this._memberKey = memberKey;
22
- this._memberType = memberType;
23
- this._distinctFilter = new DistinctValuesFilterDescriptorImpl(column);
24
- this._fieldFilter = new FieldFilterDescriptorImpl(column);
25
- this._compositeFilter = new CompositeFilterDescriptorImpl();
26
- this._compositeFilter.logicalOperator = FilterCompositionLogicalOperator.And;
27
- this._compositeFilter.filterDescriptorCollection.add(this._distinctFilter);
28
- this._compositeFilter.filterDescriptorCollection.add(this._fieldFilter);
29
- }
30
- /** Gets the distinct values filter descriptor.
31
- */
32
- get distinctFilter() {
33
- return this._distinctFilter;
34
- }
35
- /** Gets the field filter descriptor.
36
- */
37
- get fieldFilter() {
38
- return this._fieldFilter;
39
- }
40
- /** Determines if the filter descriptor is active.
41
- */
42
- get isActive() {
43
- return this._compositeFilter.isActive;
44
- }
45
- /** Gets the column.
46
- */
47
- get column() {
48
- return this._column;
49
- }
50
- /** Clears the filter descriptor.
51
- */
52
- clear() {
53
- this._distinctFilter.clear();
54
- this._fieldFilter.clear();
55
- // Do NOT call this._compositeFilter.clear() here. That removes the filters from the composite.
56
- }
57
- /** Evaluates a row for filtering
58
- */
59
- evaluateRow(row) {
60
- return this._compositeFilter.evaluateRow(row);
61
- }
62
- /** Determines if this filter is for a particular column.
63
- */
64
- isFilterForColumn(columnKey) {
65
- return (this.isActive && this._column.filterMemberKey === columnKey);
66
- }
67
- getFilterExpression() {
68
- return this._compositeFilter.getFilterExpression();
69
- }
70
- /** Gets the member (key).
71
- */
72
- get memberKey() {
73
- return this._memberKey;
74
- }
75
- /** Sets the member (key).
76
- */
77
- set memberKey(value) {
78
- if (value !== this.memberKey) {
79
- this._memberKey = value;
80
- this.distinctFilter.filterDescriptorCollection.descriptors.forEach((fd) => fd.memberKey = value);
81
- this.fieldFilter.filterDescriptorCollection.descriptors.forEach((fd) => fd.memberKey = value);
82
- }
83
- }
84
- /** Gets the member type.
85
- */
86
- get memberType() {
87
- return this._memberType;
88
- }
89
- /** Sets the member type.
90
- */
91
- set memberType(value) {
92
- if (value !== this.memberType) {
93
- this._memberType = value;
94
- this.distinctFilter.filterDescriptorCollection.descriptors.forEach((fd) => fd.memberType = value);
95
- this.fieldFilter.filterDescriptorCollection.descriptors.forEach((fd) => fd.memberType = value);
96
- }
97
- }
98
- }
99
- /** Filtering descriptor which serves as a container for one or more child filtering descriptors.
100
- * @internal
101
- */
102
- class CompositeFilterDescriptorImpl {
103
- constructor() {
104
- this._logicalOperator = FilterCompositionLogicalOperator.And;
105
- }
106
- /** Gets the logical operator.
107
- */
108
- get logicalOperator() { return this._logicalOperator; }
109
- /** Sets the logical operator.
110
- */
111
- set logicalOperator(value) {
112
- if (this._logicalOperator !== value) {
113
- this._logicalOperator = value;
114
- }
115
- }
116
- /** Gets the filter descriptors that will be used for composition.
117
- */
118
- get filterDescriptorCollection() {
119
- if (!this._filterDescriptors) {
120
- this._filterDescriptors = new FilterDescriptorCollection();
121
- }
122
- return this._filterDescriptors;
123
- }
124
- /** Determines if the filter descriptor is active.
125
- */
126
- get isActive() {
127
- let active = false;
128
- // istanbul ignore else
129
- if (this._filterDescriptors)
130
- active = this._filterDescriptors.isActive;
131
- return active;
132
- }
133
- /** Clears the filter descriptor.
134
- */
135
- /* istanbul ignore next */
136
- clear() {
137
- if (this._filterDescriptors)
138
- this._filterDescriptors.clear();
139
- }
140
- /** Evaluates a row for filtering
141
- */
142
- evaluateRow(row) {
143
- let passed = true;
144
- for (const fd of this.filterDescriptorCollection.descriptors) {
145
- /* istanbul ignore next */
146
- if (!fd.isActive)
147
- continue;
148
- passed = fd.evaluateRow(row);
149
- if (passed && FilterCompositionLogicalOperator.Or === this.logicalOperator)
150
- return true;
151
- else if (!passed && FilterCompositionLogicalOperator.And === this.logicalOperator)
152
- return false;
153
- }
154
- return passed;
155
- }
156
- /** Determines if this filter is for a particular column.
157
- */
158
- isFilterForColumn(columnKey) {
159
- for (const fd of this.filterDescriptorCollection.descriptors) {
160
- /* istanbul ignore next */
161
- if (!fd.isActive)
162
- continue;
163
- if (fd.isFilterForColumn(columnKey))
164
- return true;
165
- }
166
- return false;
167
- }
168
- /** Returns filter as ECExpression */
169
- getFilterExpression() {
170
- let result = "";
171
- for (let i = 0; i < this.filterDescriptorCollection.descriptors.length; i++) {
172
- if (!this.filterDescriptorCollection.descriptors[i].isActive)
173
- continue;
174
- if (i > 0 && result !== "") {
175
- switch (this.logicalOperator) {
176
- case FilterCompositionLogicalOperator.And:
177
- result += (" And ");
178
- break;
179
- case FilterCompositionLogicalOperator.Or:
180
- result += (" Or ");
181
- break;
182
- }
183
- }
184
- result += (`(${this.filterDescriptorCollection.descriptors[i].getFilterExpression()})`);
185
- }
186
- return result;
187
- }
188
- }
189
- /** The default implementation of DistinctValuesFilterDescriptor.
190
- * @internal
191
- */
192
- class DistinctValuesFilterDescriptorImpl {
193
- constructor(column) {
194
- this._distinctValuesComparisonOperator = FilterOperator.IsEqualTo;
195
- this._column = column;
196
- this._compositeFilter = new CompositeFilterDescriptorImpl();
197
- this._compositeFilter.logicalOperator = FilterCompositionLogicalOperator.Or;
198
- }
199
- /** Gets the distinct values from the collection as an Array.
200
- */
201
- get distinctValues() {
202
- const distinctValues = new DistinctValueCollection();
203
- for (const fd of this.filterDescriptorCollection.descriptors) {
204
- distinctValues.values.push(fd.value);
205
- }
206
- return distinctValues;
207
- }
208
- /** Gets the collection of distinct values.
209
- */
210
- get filterDescriptorCollection() {
211
- return this._compositeFilter.filterDescriptorCollection;
212
- }
213
- /** Determines if the filter descriptor is active.
214
- */
215
- get isActive() {
216
- return this.filterDescriptorCollection.descriptors.some((fd) => fd.isActive);
217
- }
218
- /** Tries to find a distinct value in the collection.
219
- */
220
- tryFindDescriptor(distinctValue) {
221
- return this.filterDescriptorCollection.descriptors.find((fd) => fd.value === distinctValue);
222
- }
223
- /** Adds a distinct value to the collection.
224
- */
225
- addDistinctValue(distinctValue) {
226
- const existing = this.tryFindDescriptor(distinctValue);
227
- if (existing) {
228
- return;
229
- }
230
- const newFilterDescriptor = this._column.createSimpleFilterDescriptor(distinctValue, this.distinctValuesComparisonOperator);
231
- newFilterDescriptor.isCaseSensitive = true;
232
- this.filterDescriptorCollection.add(newFilterDescriptor);
233
- }
234
- /** Removes a distinct value from the collection.
235
- */
236
- removeDistinctValue(distinctValue) {
237
- const existing = this.tryFindDescriptor(distinctValue);
238
- if (existing) {
239
- return this.filterDescriptorCollection.remove(existing);
240
- }
241
- return false;
242
- }
243
- /** Clears the filter descriptor.
244
- */
245
- clear() {
246
- this.filterDescriptorCollection.clear();
247
- }
248
- /** Gets the distinct values comparison operator.
249
- */
250
- get distinctValuesComparisonOperator() { return this._distinctValuesComparisonOperator; }
251
- /** Sets the distinct values comparison operator.
252
- */
253
- set distinctValuesComparisonOperator(value) {
254
- // istanbul ignore else
255
- if (this._distinctValuesComparisonOperator !== value) {
256
- this._distinctValuesComparisonOperator = value;
257
- }
258
- }
259
- /** Evaluates a row for filtering
260
- */
261
- evaluateRow(row) {
262
- return this._compositeFilter.evaluateRow(row);
263
- }
264
- /** Determines if this filter is for a particular column.
265
- */
266
- isFilterForColumn(columnKey) {
267
- return this._compositeFilter.isFilterForColumn(columnKey);
268
- }
269
- getFilterExpression() {
270
- return this._compositeFilter.getFilterExpression();
271
- }
272
- }
273
- /** The default implementation of IFieldFilterDescriptor.
274
- * @internal
275
- */
276
- class FieldFilterDescriptorImpl {
277
- constructor(column) {
278
- this._column = column;
279
- this._compositeFilter = new CompositeFilterDescriptorImpl();
280
- this._compositeFilter.logicalOperator = FilterCompositionLogicalOperator.Or;
281
- }
282
- /** Gets the logical operator.
283
- */
284
- get logicalOperator() {
285
- return this._compositeFilter.logicalOperator;
286
- }
287
- /** Sets the logical operator.
288
- */
289
- set logicalOperator(value) {
290
- this._compositeFilter.logicalOperator = value;
291
- }
292
- /** Determines if the filter descriptor is active.
293
- */
294
- get isActive() {
295
- return this.filterDescriptorCollection.descriptors.some((fd) => fd.isActive);
296
- }
297
- /** Gets the collection of distinct values.
298
- */
299
- get filterDescriptorCollection() {
300
- return this._compositeFilter.filterDescriptorCollection;
301
- }
302
- /** Tries to find a field value in the collection.
303
- */
304
- tryFindDescriptor(fieldValue, operator) {
305
- return this.filterDescriptorCollection.descriptors.find((fd) => {
306
- return fd.value === fieldValue && fd.operator === operator;
307
- });
308
- }
309
- /** Adds a field value to the collection.
310
- */
311
- addFieldValue(fieldValue, operator, isCaseSensitive = false) {
312
- const existing = this.tryFindDescriptor(fieldValue, operator);
313
- if (existing) {
314
- return;
315
- }
316
- const newFilterDescriptor = this._column.createSimpleFilterDescriptor(fieldValue, operator);
317
- newFilterDescriptor.isCaseSensitive = isCaseSensitive;
318
- this.filterDescriptorCollection.add(newFilterDescriptor);
319
- }
320
- /** Removes a distinct value from the collection.
321
- */
322
- removeFieldValue(fieldValue, operator) {
323
- const existing = this.tryFindDescriptor(fieldValue, operator);
324
- if (existing) {
325
- return this.filterDescriptorCollection.remove(existing);
326
- }
327
- return false;
328
- }
329
- /** Clears the filter descriptor.
330
- */
331
- clear() {
332
- this.logicalOperator = FilterCompositionLogicalOperator.And;
333
- this.filterDescriptorCollection.clear();
334
- }
335
- /** Evaluates a row for filtering
336
- */
337
- evaluateRow(row) {
338
- let result = true;
339
- for (const fd of this.filterDescriptorCollection.descriptors) {
340
- /* istanbul ignore next */
341
- if (!fd.isActive)
342
- continue;
343
- result = fd.evaluateRow(row);
344
- if (result && this.logicalOperator === FilterCompositionLogicalOperator.Or)
345
- return true;
346
- else if (!result && this.logicalOperator === FilterCompositionLogicalOperator.And)
347
- return false;
348
- }
349
- return result;
350
- }
351
- /** Determines if this filter is for a particular column.
352
- */
353
- isFilterForColumn(columnKey) {
354
- return (this.isActive && this._column.filterMemberKey === columnKey);
355
- }
356
- getFilterExpression() {
357
- return this._compositeFilter.getFilterExpression();
358
- }
359
- }
360
- //# sourceMappingURL=TableColumnFilterDescriptor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableColumnFilterDescriptor.js","sourceRoot":"","sources":["../../../../../src/components-react/table/columnfiltering/TableColumnFilterDescriptor.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAGH,OAAO,EAC8C,uBAAuB,EAC1E,gCAAgC,EAAE,0BAA0B,EAAE,cAAc,GAE7E,MAAM,mBAAmB,CAAC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B;QAC/D,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAE9D,IAAI,QAAQ,EAAE;YACZ,OAAO,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;SACzD;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;OACG;IACI,KAAK;QACV,IAAI,CAAC,eAAe,GAAG,gCAAgC,CAAC,GAAG,CAAC;QAE5D,IAAI,CAAC,0BAA0B,CAAC,KAAK,EAAE,CAAC;IAC1C,CAAC;IAED;OACG;IACI,WAAW,CAAC,GAAY;QAC7B,IAAI,MAAM,GAAG,IAAI,CAAC;QAElB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC,WAAW,EAAE;YAC5D,0BAA0B;YAC1B,IAAI,CAAC,EAAE,CAAC,QAAQ;gBACd,SAAS;YAEX,MAAM,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,MAAM,IAAI,IAAI,CAAC,eAAe,KAAK,gCAAgC,CAAC,EAAE;gBACxE,OAAO,IAAI,CAAC;iBACT,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,eAAe,KAAK,gCAAgC,CAAC,GAAG;gBAC/E,OAAO,KAAK,CAAC;SAChB;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;OACG;IACI,iBAAiB,CAAC,SAAiB;QACxC,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC;IACvE,CAAC;IAEM,mBAAmB;QACxB,OAAO,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,CAAC;IACrD,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Table\r\n */\r\n\r\nimport { RowItem } from \"../TableDataProvider\";\r\nimport {\r\n ColumnFilterDescriptor, CompositeFilterDescriptor, DistinctValueCollection, DistinctValuesFilterDescriptor, FieldFilterDescriptor, FilterableColumn,\r\n FilterCompositionLogicalOperator, FilterDescriptorCollection, FilterOperator, OperatorValueFilterDescriptor,\r\n OperatorValueFilterDescriptorCollection,\r\n} from \"./ColumnFiltering\";\r\n/* eslint-disable deprecation/deprecation */\r\n\r\n/** A ColumnFilterDescriptor for TableColumn.\r\n * @internal\r\n */\r\nexport class TableColumnFilterDescriptor implements ColumnFilterDescriptor {\r\n private _column: FilterableColumn;\r\n private _compositeFilter: CompositeFilterDescriptorImpl;\r\n private _distinctFilter: DistinctValuesFilterDescriptorImpl;\r\n private _fieldFilter: FieldFilterDescriptor;\r\n private _memberKey: string;\r\n private _memberType: string;\r\n\r\n /** Initializes a new instance of the ColumnFilterDescriptor class.\r\n * @param column The column.\r\n * @param memberKey The member (key).\r\n * @param memberType The member type.\r\n */\r\n public constructor(column: FilterableColumn, memberKey: string, memberType: string) {\r\n this._column = column;\r\n this._memberKey = memberKey;\r\n this._memberType = memberType;\r\n\r\n this._distinctFilter = new DistinctValuesFilterDescriptorImpl(column);\r\n this._fieldFilter = new FieldFilterDescriptorImpl(column);\r\n\r\n this._compositeFilter = new CompositeFilterDescriptorImpl();\r\n this._compositeFilter.logicalOperator = FilterCompositionLogicalOperator.And;\r\n this._compositeFilter.filterDescriptorCollection.add(this._distinctFilter);\r\n this._compositeFilter.filterDescriptorCollection.add(this._fieldFilter);\r\n }\r\n\r\n /** Gets the distinct values filter descriptor.\r\n */\r\n public get distinctFilter(): DistinctValuesFilterDescriptor {\r\n return this._distinctFilter;\r\n }\r\n\r\n /** Gets the field filter descriptor.\r\n */\r\n public get fieldFilter(): FieldFilterDescriptor {\r\n return this._fieldFilter;\r\n }\r\n\r\n /** Determines if the filter descriptor is active.\r\n */\r\n public get isActive(): boolean {\r\n return this._compositeFilter.isActive;\r\n }\r\n\r\n /** Gets the column.\r\n */\r\n public get column(): FilterableColumn {\r\n return this._column;\r\n }\r\n\r\n /** Clears the filter descriptor.\r\n */\r\n public clear(): void {\r\n this._distinctFilter.clear();\r\n this._fieldFilter.clear();\r\n\r\n // Do NOT call this._compositeFilter.clear() here. That removes the filters from the composite.\r\n }\r\n\r\n /** Evaluates a row for filtering\r\n */\r\n public evaluateRow(row: RowItem): boolean {\r\n return this._compositeFilter.evaluateRow(row);\r\n }\r\n\r\n /** Determines if this filter is for a particular column.\r\n */\r\n public isFilterForColumn(columnKey: string): boolean {\r\n return (this.isActive && this._column.filterMemberKey === columnKey);\r\n }\r\n\r\n public getFilterExpression(): string {\r\n return this._compositeFilter.getFilterExpression();\r\n }\r\n\r\n /** Gets the member (key).\r\n */\r\n public get memberKey(): string {\r\n return this._memberKey;\r\n }\r\n\r\n /** Sets the member (key).\r\n */\r\n public set memberKey(value: string) {\r\n if (value !== this.memberKey) {\r\n this._memberKey = value;\r\n\r\n this.distinctFilter.filterDescriptorCollection.descriptors.forEach((fd: OperatorValueFilterDescriptor) => fd.memberKey = value);\r\n this.fieldFilter.filterDescriptorCollection.descriptors.forEach((fd: OperatorValueFilterDescriptor) => fd.memberKey = value);\r\n }\r\n }\r\n\r\n /** Gets the member type.\r\n */\r\n public get memberType(): string {\r\n return this._memberType;\r\n }\r\n\r\n /** Sets the member type.\r\n */\r\n public set memberType(value: string) {\r\n if (value !== this.memberType) {\r\n this._memberType = value;\r\n\r\n this.distinctFilter.filterDescriptorCollection.descriptors.forEach((fd: OperatorValueFilterDescriptor) => fd.memberType = value);\r\n this.fieldFilter.filterDescriptorCollection.descriptors.forEach((fd: OperatorValueFilterDescriptor) => fd.memberType = value);\r\n }\r\n }\r\n}\r\n\r\n/** Filtering descriptor which serves as a container for one or more child filtering descriptors.\r\n * @internal\r\n */\r\nclass CompositeFilterDescriptorImpl implements CompositeFilterDescriptor {\r\n private _filterDescriptors?: FilterDescriptorCollection;\r\n private _logicalOperator: FilterCompositionLogicalOperator = FilterCompositionLogicalOperator.And;\r\n\r\n /** Gets the logical operator.\r\n */\r\n public get logicalOperator(): FilterCompositionLogicalOperator { return this._logicalOperator; }\r\n\r\n /** Sets the logical operator.\r\n */\r\n public set logicalOperator(value: FilterCompositionLogicalOperator) {\r\n if (this._logicalOperator !== value) {\r\n this._logicalOperator = value;\r\n }\r\n }\r\n\r\n /** Gets the filter descriptors that will be used for composition.\r\n */\r\n public get filterDescriptorCollection(): FilterDescriptorCollection {\r\n if (!this._filterDescriptors) {\r\n this._filterDescriptors = new FilterDescriptorCollection();\r\n }\r\n return this._filterDescriptors;\r\n }\r\n\r\n /** Determines if the filter descriptor is active.\r\n */\r\n public get isActive(): boolean {\r\n let active = false;\r\n // istanbul ignore else\r\n if (this._filterDescriptors)\r\n active = this._filterDescriptors.isActive;\r\n return active;\r\n }\r\n\r\n /** Clears the filter descriptor.\r\n */\r\n /* istanbul ignore next */\r\n public clear(): void {\r\n if (this._filterDescriptors)\r\n this._filterDescriptors.clear();\r\n }\r\n\r\n /** Evaluates a row for filtering\r\n */\r\n public evaluateRow(row: RowItem): boolean {\r\n let passed: boolean = true;\r\n\r\n for (const fd of this.filterDescriptorCollection.descriptors) {\r\n /* istanbul ignore next */\r\n if (!fd.isActive)\r\n continue;\r\n\r\n passed = fd.evaluateRow(row);\r\n\r\n if (passed && FilterCompositionLogicalOperator.Or === this.logicalOperator)\r\n return true;\r\n else if (!passed && FilterCompositionLogicalOperator.And === this.logicalOperator)\r\n return false;\r\n }\r\n\r\n return passed;\r\n }\r\n\r\n /** Determines if this filter is for a particular column.\r\n */\r\n public isFilterForColumn(columnKey: string): boolean {\r\n for (const fd of this.filterDescriptorCollection.descriptors) {\r\n /* istanbul ignore next */\r\n if (!fd.isActive)\r\n continue;\r\n\r\n if (fd.isFilterForColumn(columnKey))\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n /** Returns filter as ECExpression */\r\n public getFilterExpression(): string {\r\n let result: string = \"\";\r\n for (let i = 0; i < this.filterDescriptorCollection.descriptors.length; i++) {\r\n if (!this.filterDescriptorCollection.descriptors[i].isActive)\r\n continue;\r\n\r\n if (i > 0 && result !== \"\") {\r\n switch (this.logicalOperator) {\r\n case FilterCompositionLogicalOperator.And:\r\n result += (\" And \");\r\n break;\r\n case FilterCompositionLogicalOperator.Or:\r\n result += (\" Or \");\r\n break;\r\n }\r\n }\r\n result += (`(${this.filterDescriptorCollection.descriptors[i].getFilterExpression()})`);\r\n }\r\n return result;\r\n }\r\n}\r\n\r\n/** The default implementation of DistinctValuesFilterDescriptor.\r\n * @internal\r\n */\r\nclass DistinctValuesFilterDescriptorImpl implements DistinctValuesFilterDescriptor {\r\n private _column: FilterableColumn;\r\n private _compositeFilter: CompositeFilterDescriptorImpl;\r\n private _distinctValuesComparisonOperator: FilterOperator = FilterOperator.IsEqualTo;\r\n\r\n public constructor(column: FilterableColumn) {\r\n this._column = column;\r\n\r\n this._compositeFilter = new CompositeFilterDescriptorImpl();\r\n this._compositeFilter.logicalOperator = FilterCompositionLogicalOperator.Or;\r\n }\r\n\r\n /** Gets the distinct values from the collection as an Array.\r\n */\r\n public get distinctValues(): DistinctValueCollection {\r\n const distinctValues = new DistinctValueCollection();\r\n\r\n for (const fd of this.filterDescriptorCollection.descriptors) {\r\n distinctValues.values.push(fd.value);\r\n }\r\n\r\n return distinctValues;\r\n }\r\n\r\n /** Gets the collection of distinct values.\r\n */\r\n public get filterDescriptorCollection(): OperatorValueFilterDescriptorCollection {\r\n return this._compositeFilter.filterDescriptorCollection as OperatorValueFilterDescriptorCollection;\r\n }\r\n\r\n /** Determines if the filter descriptor is active.\r\n */\r\n public get isActive(): boolean {\r\n return this.filterDescriptorCollection.descriptors.some((fd: OperatorValueFilterDescriptor) => fd.isActive);\r\n }\r\n\r\n /** Tries to find a distinct value in the collection.\r\n */\r\n public tryFindDescriptor(distinctValue: any): OperatorValueFilterDescriptor | undefined {\r\n return this.filterDescriptorCollection.descriptors.find((fd: OperatorValueFilterDescriptor) => fd.value === distinctValue);\r\n }\r\n\r\n /** Adds a distinct value to the collection.\r\n */\r\n public addDistinctValue(distinctValue: any): void {\r\n const existing = this.tryFindDescriptor(distinctValue);\r\n\r\n if (existing) {\r\n return;\r\n }\r\n\r\n const newFilterDescriptor = this._column.createSimpleFilterDescriptor(distinctValue, this.distinctValuesComparisonOperator);\r\n newFilterDescriptor.isCaseSensitive = true;\r\n this.filterDescriptorCollection.add(newFilterDescriptor);\r\n }\r\n\r\n /** Removes a distinct value from the collection.\r\n */\r\n public removeDistinctValue(distinctValue: any): boolean {\r\n const existing = this.tryFindDescriptor(distinctValue);\r\n\r\n if (existing) {\r\n return this.filterDescriptorCollection.remove(existing);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n /** Clears the filter descriptor.\r\n */\r\n public clear(): void {\r\n this.filterDescriptorCollection.clear();\r\n }\r\n\r\n /** Gets the distinct values comparison operator.\r\n */\r\n public get distinctValuesComparisonOperator(): FilterOperator { return this._distinctValuesComparisonOperator; }\r\n\r\n /** Sets the distinct values comparison operator.\r\n */\r\n public set distinctValuesComparisonOperator(value: FilterOperator) {\r\n // istanbul ignore else\r\n if (this._distinctValuesComparisonOperator !== value) {\r\n this._distinctValuesComparisonOperator = value;\r\n }\r\n }\r\n\r\n /** Evaluates a row for filtering\r\n */\r\n public evaluateRow(row: RowItem): boolean {\r\n return this._compositeFilter.evaluateRow(row);\r\n }\r\n\r\n /** Determines if this filter is for a particular column.\r\n */\r\n public isFilterForColumn(columnKey: string): boolean {\r\n return this._compositeFilter.isFilterForColumn(columnKey);\r\n }\r\n\r\n public getFilterExpression(): string {\r\n return this._compositeFilter.getFilterExpression();\r\n }\r\n}\r\n\r\n/** The default implementation of IFieldFilterDescriptor.\r\n * @internal\r\n */\r\nclass FieldFilterDescriptorImpl implements FieldFilterDescriptor {\r\n private _column: FilterableColumn;\r\n private _compositeFilter: CompositeFilterDescriptorImpl;\r\n\r\n public constructor(column: FilterableColumn) {\r\n this._column = column;\r\n\r\n this._compositeFilter = new CompositeFilterDescriptorImpl();\r\n this._compositeFilter.logicalOperator = FilterCompositionLogicalOperator.Or;\r\n }\r\n\r\n /** Gets the logical operator.\r\n */\r\n public get logicalOperator(): FilterCompositionLogicalOperator {\r\n return this._compositeFilter.logicalOperator;\r\n }\r\n\r\n /** Sets the logical operator.\r\n */\r\n public set logicalOperator(value: FilterCompositionLogicalOperator) {\r\n this._compositeFilter.logicalOperator = value;\r\n }\r\n\r\n /** Determines if the filter descriptor is active.\r\n */\r\n public get isActive(): boolean {\r\n return this.filterDescriptorCollection.descriptors.some((fd: OperatorValueFilterDescriptor) => fd.isActive);\r\n }\r\n\r\n /** Gets the collection of distinct values.\r\n */\r\n public get filterDescriptorCollection(): OperatorValueFilterDescriptorCollection {\r\n return this._compositeFilter.filterDescriptorCollection as OperatorValueFilterDescriptorCollection;\r\n }\r\n\r\n /** Tries to find a field value in the collection.\r\n */\r\n public tryFindDescriptor(fieldValue: any, operator: FilterOperator): OperatorValueFilterDescriptor | undefined {\r\n return this.filterDescriptorCollection.descriptors.find((fd: OperatorValueFilterDescriptor) => {\r\n return fd.value === fieldValue && fd.operator === operator;\r\n });\r\n }\r\n\r\n /** Adds a field value to the collection.\r\n */\r\n public addFieldValue(fieldValue: any, operator: FilterOperator, isCaseSensitive: boolean = false): void {\r\n const existing = this.tryFindDescriptor(fieldValue, operator);\r\n\r\n if (existing) {\r\n return;\r\n }\r\n\r\n const newFilterDescriptor = this._column.createSimpleFilterDescriptor(fieldValue, operator);\r\n newFilterDescriptor.isCaseSensitive = isCaseSensitive;\r\n this.filterDescriptorCollection.add(newFilterDescriptor);\r\n }\r\n\r\n /** Removes a distinct value from the collection.\r\n */\r\n public removeFieldValue(fieldValue: any, operator: FilterOperator): boolean {\r\n const existing = this.tryFindDescriptor(fieldValue, operator);\r\n\r\n if (existing) {\r\n return this.filterDescriptorCollection.remove(existing);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n /** Clears the filter descriptor.\r\n */\r\n public clear(): void {\r\n this.logicalOperator = FilterCompositionLogicalOperator.And;\r\n\r\n this.filterDescriptorCollection.clear();\r\n }\r\n\r\n /** Evaluates a row for filtering\r\n */\r\n public evaluateRow(row: RowItem): boolean {\r\n let result = true;\r\n\r\n for (const fd of this.filterDescriptorCollection.descriptors) {\r\n /* istanbul ignore next */\r\n if (!fd.isActive)\r\n continue;\r\n\r\n result = fd.evaluateRow(row);\r\n if (result && this.logicalOperator === FilterCompositionLogicalOperator.Or)\r\n return true;\r\n else if (!result && this.logicalOperator === FilterCompositionLogicalOperator.And)\r\n return false;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n /** Determines if this filter is for a particular column.\r\n */\r\n public isFilterForColumn(columnKey: string): boolean {\r\n return (this.isActive && this._column.filterMemberKey === columnKey);\r\n }\r\n\r\n public getFilterExpression(): string {\r\n return this._compositeFilter.getFilterExpression();\r\n }\r\n}\r\n"]}