@itwin/imodel-components-react 3.7.0-dev.2 → 3.7.0-dev.3

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 (345) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/lib/cjs/imodel-components-react/UiIModelComponents.d.ts +28 -28
  3. package/lib/cjs/imodel-components-react/UiIModelComponents.js +79 -79
  4. package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +1 -1
  5. package/lib/cjs/imodel-components-react/color/AlphaSlider.d.ts +36 -36
  6. package/lib/cjs/imodel-components-react/color/AlphaSlider.js +186 -186
  7. package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +1 -1
  8. package/lib/cjs/imodel-components-react/color/AlphaSlider.scss +63 -63
  9. package/lib/cjs/imodel-components-react/color/ColorPickerButton.d.ts +37 -37
  10. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js +107 -107
  11. package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  12. package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +91 -91
  13. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.d.ts +23 -23
  14. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js +74 -74
  15. package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  16. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts +21 -21
  17. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js +145 -145
  18. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
  19. package/lib/cjs/imodel-components-react/color/ColorPickerPanel.scss +93 -93
  20. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts +44 -44
  21. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js +137 -137
  22. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  23. package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +64 -64
  24. package/lib/cjs/imodel-components-react/color/HueSlider.d.ts +22 -22
  25. package/lib/cjs/imodel-components-react/color/HueSlider.js +199 -199
  26. package/lib/cjs/imodel-components-react/color/HueSlider.js.map +1 -1
  27. package/lib/cjs/imodel-components-react/color/HueSlider.scss +61 -61
  28. package/lib/cjs/imodel-components-react/color/SaturationPicker.d.ts +20 -20
  29. package/lib/cjs/imodel-components-react/color/SaturationPicker.js +213 -213
  30. package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +1 -1
  31. package/lib/cjs/imodel-components-react/color/SaturationPicker.scss +35 -35
  32. package/lib/cjs/imodel-components-react/color/Swatch.d.ts +22 -22
  33. package/lib/cjs/imodel-components-react/color/Swatch.js +60 -60
  34. package/lib/cjs/imodel-components-react/color/Swatch.js.map +1 -1
  35. package/lib/cjs/imodel-components-react/color/Swatch.scss +23 -23
  36. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.d.ts +6 -6
  37. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js +23 -23
  38. package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  39. package/lib/cjs/imodel-components-react/editors/ColorEditor.d.ts +44 -44
  40. package/lib/cjs/imodel-components-react/editors/ColorEditor.js +151 -151
  41. package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +1 -1
  42. package/lib/cjs/imodel-components-react/editors/ColorEditor.scss +18 -18
  43. package/lib/cjs/imodel-components-react/editors/WeightEditor.d.ts +47 -47
  44. package/lib/cjs/imodel-components-react/editors/WeightEditor.js +160 -160
  45. package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +1 -1
  46. package/lib/cjs/imodel-components-react/editors/WeightEditor.scss +16 -16
  47. package/lib/cjs/imodel-components-react/inputs/QuantityInput.d.ts +25 -25
  48. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js +96 -96
  49. package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  50. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts +44 -44
  51. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +265 -265
  52. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  53. package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +107 -107
  54. package/lib/cjs/imodel-components-react/lineweight/Swatch.d.ts +33 -33
  55. package/lib/cjs/imodel-components-react/lineweight/Swatch.js +85 -85
  56. package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +1 -1
  57. package/lib/cjs/imodel-components-react/lineweight/Swatch.scss +48 -48
  58. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.d.ts +60 -60
  59. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js +159 -159
  60. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  61. package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +52 -52
  62. package/lib/cjs/imodel-components-react/navigationaids/Cube.d.ts +45 -45
  63. package/lib/cjs/imodel-components-react/navigationaids/Cube.js +127 -127
  64. package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +1 -1
  65. package/lib/cjs/imodel-components-react/navigationaids/Cube.scss +19 -19
  66. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +175 -174
  67. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -1
  68. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js +647 -634
  69. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  70. package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +180 -180
  71. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +145 -145
  72. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js +647 -647
  73. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  74. package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.scss +133 -133
  75. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.d.ts +26 -26
  76. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js +99 -99
  77. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  78. package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +64 -64
  79. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.d.ts +17 -17
  80. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js +53 -53
  81. package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  82. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.d.ts +18 -18
  83. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +83 -83
  84. package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  85. package/lib/cjs/imodel-components-react/quantityformat/FormatType.d.ts +17 -17
  86. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +86 -86
  87. package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  88. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +17 -17
  89. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +109 -109
  90. package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  91. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.d.ts +19 -19
  92. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +133 -133
  93. package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  94. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +21 -21
  95. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js +184 -184
  96. package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  97. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +22 -22
  98. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js +154 -154
  99. package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  100. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +17 -17
  101. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js +59 -59
  102. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  103. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +17 -17
  104. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js +47 -47
  105. package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  106. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +16 -16
  107. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js +54 -54
  108. package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  109. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.d.ts +18 -18
  110. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js +48 -48
  111. package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  112. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.d.ts +17 -17
  113. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js +50 -50
  114. package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  115. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +17 -17
  116. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +58 -58
  117. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  118. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +17 -17
  119. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js +47 -47
  120. package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  121. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +17 -17
  122. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js +56 -56
  123. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  124. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +17 -17
  125. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +95 -95
  126. package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  127. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +23 -23
  128. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js +119 -119
  129. package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  130. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +52 -52
  131. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js +143 -143
  132. package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  133. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +31 -31
  134. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js +69 -69
  135. package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  136. package/lib/cjs/imodel-components-react/timeline/InlineEdit.d.ts +27 -27
  137. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js +81 -81
  138. package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  139. package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +26 -26
  140. package/lib/cjs/imodel-components-react/timeline/PlayerButton.d.ts +33 -33
  141. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js +91 -91
  142. package/lib/cjs/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  143. package/lib/cjs/imodel-components-react/timeline/PlayerButton.scss +25 -25
  144. package/lib/cjs/imodel-components-react/timeline/Scrubber.d.ts +54 -54
  145. package/lib/cjs/imodel-components-react/timeline/Scrubber.js +191 -191
  146. package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +1 -1
  147. package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +106 -106
  148. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.d.ts +77 -77
  149. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js +424 -424
  150. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  151. package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +357 -357
  152. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.d.ts +15 -15
  153. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js +54 -54
  154. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  155. package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  156. package/lib/cjs/imodel-components-react/timeline/Timeline.scss +164 -164
  157. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts +133 -133
  158. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js +358 -358
  159. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  160. package/lib/cjs/imodel-components-react/timeline/TimelineComponent.scss +163 -163
  161. package/lib/cjs/imodel-components-react/timeline/interfaces.d.ts +174 -174
  162. package/lib/cjs/imodel-components-react/timeline/interfaces.js +45 -45
  163. package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +1 -1
  164. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts +42 -42
  165. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +274 -274
  166. package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  167. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.d.ts +106 -106
  168. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js +105 -105
  169. package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  170. package/lib/cjs/imodel-components-react.d.ts +82 -82
  171. package/lib/cjs/imodel-components-react.js +101 -101
  172. package/lib/cjs/imodel-components-react.js.map +1 -1
  173. package/lib/esm/imodel-components-react/UiIModelComponents.d.ts +28 -28
  174. package/lib/esm/imodel-components-react/UiIModelComponents.js +75 -75
  175. package/lib/esm/imodel-components-react/UiIModelComponents.js.map +1 -1
  176. package/lib/esm/imodel-components-react/color/AlphaSlider.d.ts +36 -36
  177. package/lib/esm/imodel-components-react/color/AlphaSlider.js +160 -160
  178. package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +1 -1
  179. package/lib/esm/imodel-components-react/color/AlphaSlider.scss +63 -63
  180. package/lib/esm/imodel-components-react/color/ColorPickerButton.d.ts +37 -37
  181. package/lib/esm/imodel-components-react/color/ColorPickerButton.js +82 -82
  182. package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +1 -1
  183. package/lib/esm/imodel-components-react/color/ColorPickerButton.scss +91 -91
  184. package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts +23 -23
  185. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js +51 -51
  186. package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
  187. package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts +21 -21
  188. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js +122 -122
  189. package/lib/esm/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
  190. package/lib/esm/imodel-components-react/color/ColorPickerPanel.scss +93 -93
  191. package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts +44 -44
  192. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js +112 -112
  193. package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
  194. package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +64 -64
  195. package/lib/esm/imodel-components-react/color/HueSlider.d.ts +22 -22
  196. package/lib/esm/imodel-components-react/color/HueSlider.js +173 -173
  197. package/lib/esm/imodel-components-react/color/HueSlider.js.map +1 -1
  198. package/lib/esm/imodel-components-react/color/HueSlider.scss +61 -61
  199. package/lib/esm/imodel-components-react/color/SaturationPicker.d.ts +20 -20
  200. package/lib/esm/imodel-components-react/color/SaturationPicker.js +187 -187
  201. package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +1 -1
  202. package/lib/esm/imodel-components-react/color/SaturationPicker.scss +35 -35
  203. package/lib/esm/imodel-components-react/color/Swatch.d.ts +22 -22
  204. package/lib/esm/imodel-components-react/color/Swatch.js +34 -34
  205. package/lib/esm/imodel-components-react/color/Swatch.js.map +1 -1
  206. package/lib/esm/imodel-components-react/color/Swatch.scss +23 -23
  207. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.d.ts +6 -6
  208. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js +19 -19
  209. package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
  210. package/lib/esm/imodel-components-react/editors/ColorEditor.d.ts +44 -44
  211. package/lib/esm/imodel-components-react/editors/ColorEditor.js +124 -124
  212. package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +1 -1
  213. package/lib/esm/imodel-components-react/editors/ColorEditor.scss +18 -18
  214. package/lib/esm/imodel-components-react/editors/WeightEditor.d.ts +47 -47
  215. package/lib/esm/imodel-components-react/editors/WeightEditor.js +133 -133
  216. package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +1 -1
  217. package/lib/esm/imodel-components-react/editors/WeightEditor.scss +16 -16
  218. package/lib/esm/imodel-components-react/inputs/QuantityInput.d.ts +25 -25
  219. package/lib/esm/imodel-components-react/inputs/QuantityInput.js +70 -70
  220. package/lib/esm/imodel-components-react/inputs/QuantityInput.js.map +1 -1
  221. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts +44 -44
  222. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js +240 -240
  223. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
  224. package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +107 -107
  225. package/lib/esm/imodel-components-react/lineweight/Swatch.d.ts +33 -33
  226. package/lib/esm/imodel-components-react/lineweight/Swatch.js +59 -59
  227. package/lib/esm/imodel-components-react/lineweight/Swatch.js.map +1 -1
  228. package/lib/esm/imodel-components-react/lineweight/Swatch.scss +48 -48
  229. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.d.ts +60 -60
  230. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js +133 -133
  231. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
  232. package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.scss +52 -52
  233. package/lib/esm/imodel-components-react/navigationaids/Cube.d.ts +45 -45
  234. package/lib/esm/imodel-components-react/navigationaids/Cube.js +100 -100
  235. package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +1 -1
  236. package/lib/esm/imodel-components-react/navigationaids/Cube.scss +19 -19
  237. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +175 -174
  238. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -1
  239. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js +619 -606
  240. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
  241. package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.scss +180 -180
  242. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +145 -145
  243. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js +620 -620
  244. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
  245. package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +133 -133
  246. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.d.ts +26 -26
  247. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js +76 -76
  248. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
  249. package/lib/esm/imodel-components-react/quantityformat/FormatPanel.scss +64 -64
  250. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.d.ts +17 -17
  251. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js +30 -30
  252. package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
  253. package/lib/esm/imodel-components-react/quantityformat/FormatSample.d.ts +18 -18
  254. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js +60 -60
  255. package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
  256. package/lib/esm/imodel-components-react/quantityformat/FormatType.d.ts +17 -17
  257. package/lib/esm/imodel-components-react/quantityformat/FormatType.js +63 -63
  258. package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
  259. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +17 -17
  260. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js +83 -83
  261. package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
  262. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.d.ts +19 -19
  263. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js +110 -110
  264. package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
  265. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +21 -21
  266. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js +158 -158
  267. package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
  268. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +22 -22
  269. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js +131 -131
  270. package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
  271. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +17 -17
  272. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js +36 -36
  273. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
  274. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +17 -17
  275. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js +24 -24
  276. package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
  277. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +16 -16
  278. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js +31 -31
  279. package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
  280. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.d.ts +18 -18
  281. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js +25 -25
  282. package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
  283. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.d.ts +17 -17
  284. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js +27 -27
  285. package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
  286. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +17 -17
  287. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +35 -35
  288. package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
  289. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +17 -17
  290. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js +24 -24
  291. package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
  292. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +17 -17
  293. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js +33 -33
  294. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
  295. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +17 -17
  296. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +69 -69
  297. package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
  298. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +23 -23
  299. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js +96 -96
  300. package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
  301. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +52 -52
  302. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js +139 -139
  303. package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
  304. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +31 -31
  305. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js +65 -65
  306. package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
  307. package/lib/esm/imodel-components-react/timeline/InlineEdit.d.ts +27 -27
  308. package/lib/esm/imodel-components-react/timeline/InlineEdit.js +55 -55
  309. package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
  310. package/lib/esm/imodel-components-react/timeline/InlineEdit.scss +26 -26
  311. package/lib/esm/imodel-components-react/timeline/PlayerButton.d.ts +33 -33
  312. package/lib/esm/imodel-components-react/timeline/PlayerButton.js +64 -64
  313. package/lib/esm/imodel-components-react/timeline/PlayerButton.js.map +1 -1
  314. package/lib/esm/imodel-components-react/timeline/PlayerButton.scss +25 -25
  315. package/lib/esm/imodel-components-react/timeline/Scrubber.d.ts +54 -54
  316. package/lib/esm/imodel-components-react/timeline/Scrubber.js +164 -164
  317. package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +1 -1
  318. package/lib/esm/imodel-components-react/timeline/Scrubber.scss +106 -106
  319. package/lib/esm/imodel-components-react/timeline/SolarTimeline.d.ts +77 -77
  320. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js +398 -398
  321. package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
  322. package/lib/esm/imodel-components-react/timeline/SolarTimeline.scss +357 -357
  323. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.d.ts +15 -15
  324. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js +28 -28
  325. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
  326. package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
  327. package/lib/esm/imodel-components-react/timeline/Timeline.scss +164 -164
  328. package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts +133 -133
  329. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js +332 -332
  330. package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
  331. package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +163 -163
  332. package/lib/esm/imodel-components-react/timeline/interfaces.d.ts +174 -174
  333. package/lib/esm/imodel-components-react/timeline/interfaces.js +42 -42
  334. package/lib/esm/imodel-components-react/timeline/interfaces.js.map +1 -1
  335. package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts +42 -42
  336. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js +251 -251
  337. package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
  338. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts +106 -106
  339. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js +95 -95
  340. package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
  341. package/lib/esm/imodel-components-react.d.ts +82 -82
  342. package/lib/esm/imodel-components-react.js +87 -87
  343. package/lib/esm/imodel-components-react.js.map +1 -1
  344. package/lib/public/locales/en/UiIModelComponents.json +139 -139
  345. package/package.json +19 -19
@@ -1,175 +1,175 @@
1
- /** @packageDocumentation
2
- * @module Timeline
3
- */
4
- import { ColorDef } from "@itwin/core-common";
5
- import { ScreenViewport } from "@itwin/core-frontend";
6
- import { GenericUiEventArgs } from "@itwin/appui-abstract";
7
- /**
8
- * A range of time which can be used to focus in on activities scheduled around a milestone.
9
- * @public
10
- */
11
- export interface MilestoneRange {
12
- start: Date;
13
- end: Date;
14
- }
15
- /**
16
- * A Milestone event that is to be noted in the timeline.
17
- * @internal
18
- * @deprecated in 3.0. Obsolete.
19
- */
20
- export interface Milestone {
21
- /** uniqueId of milestone */
22
- id: string;
23
- /** milestone date */
24
- date: Date;
25
- parentId?: string;
26
- /** Milestone label that is display if space allows */
27
- label?: string;
28
- /** Milestone description that is show as tooltip */
29
- description?: string;
30
- /** animation range that includes milestone */
31
- range?: MilestoneRange;
32
- /** Set to true if read only. */
33
- readonly?: boolean;
34
- children?: Milestone[];
35
- }
36
- /** The timeline scale.
37
- * @public
38
- */
39
- export declare enum TimelineScale {
40
- /** Show years */
41
- Years = 0,
42
- /** Show quarters */
43
- Quarters = 1,
44
- /** Show months */
45
- Months = 2,
46
- /** Show days */
47
- Days = 3,
48
- /** Show hours */
49
- Hours = 4
50
- }
51
- /** Determines if data displayed to use is the actual date or the amount of time elapsed since project start.
52
- * @public
53
- */
54
- export declare enum TimelineDateDisplay {
55
- /** Display time axis using actual start/end dates */
56
- ActualTime = 0,
57
- /** Display time axis using time relative to actual start/end dates */
58
- ProjectTime = 1
59
- }
60
- /**
61
- * Playback Settings.
62
- * @public
63
- */
64
- export interface PlaybackSettings {
65
- /** time in milliseconds to play animation from start date to end date */
66
- duration?: number;
67
- /** Set to True if animation to restart each time playbackEnd is reached. Defaults to false. */
68
- loop?: boolean;
69
- /** If true a minimal set of data is displayed. */
70
- minimized?: boolean;
71
- /** Playback start. If defined must be within start-end range. If not define 'start' is used. */
72
- playbackStart?: Date;
73
- /** Playback end. If defined must be within start-end range and later than playbackStart. If not define 'end' is used. */
74
- playbackEnd?: Date;
75
- /** Set to True if user should be allowed to insert milestone dates. Defaults to false */
76
- allowMilestoneEdits?: boolean;
77
- /** Define if actual date/times are used or date/times relative to project are used to draw timeline axis. */
78
- dateDisplay?: TimelineDateDisplay;
79
- }
80
- /**
81
- * An interface used to notify Handlers of the current pointer position in the timeline playback. Valid range is 0 to 1 and it determines percentage complete.
82
- * @public
83
- */
84
- export declare type AnimationFractionChangeHandler = (animationFraction: number) => void;
85
- /**
86
- * An interface used to notify Handlers of Playback Settings changes.
87
- * Contains the settings to be used.
88
- * @public
89
- */
90
- export declare type PlaybackSettingsChangeHandler = (settingsChange: PlaybackSettings) => void;
91
- /** Actions for Pause/Play event
92
- * @public
93
- */
94
- export declare enum TimelinePausePlayAction {
95
- Toggle = 0,
96
- Pause = 1,
97
- Play = 2
98
- }
99
- /** Args for event to pause or play the timeline component
100
- * @public
101
- */
102
- export interface TimelinePausePlayArgs extends GenericUiEventArgs {
103
- timelineAction: TimelinePausePlayAction;
104
- }
105
- /** Interface for a timeline data provider class
106
- * @public
107
- */
108
- export interface TimelineDataProvider {
109
- /** uniqueId of provider */
110
- id: string;
111
- /** view id when viewport is initially assigned */
112
- viewId: string;
113
- /** returns true if the provider has timeline animation data available */
114
- supportsTimelineAnimation: boolean;
115
- /** Starting date for entire timeline */
116
- start?: Date;
117
- /** End date for entire timeline */
118
- end?: Date;
119
- /** Current animation fraction from 0.0 to 1.0 */
120
- animationFraction?: number;
121
- getSettings(): PlaybackSettings;
122
- /** Called to get the initial scrubber location. This must be a value between 0 and the duration in PlaybackSettings. */
123
- initialDuration: number;
124
- /** Called to get the duration of the Playback. */
125
- duration: number;
126
- /** If true the playback will continuously loop. */
127
- loop: boolean;
128
- /** Called to save the playback settings */
129
- updateSettings(settings: PlaybackSettings): void;
130
- /** Async call to load milestone and settings data */
131
- loadTimelineData(): Promise<boolean>;
132
- /** Called when an internal process has defined the playback settings and the UI needs to be updated */
133
- onPlaybackSettingChanged?: PlaybackSettingsChangeHandler;
134
- /** Called when the an internal process has defined the playback settings and the UI needs to be updated */
135
- onAnimationFractionChanged?: AnimationFractionChangeHandler;
136
- /** viewport to show animation */
137
- viewport?: ScreenViewport;
138
- }
139
- /**
140
- * An interface used to notify Handlers of Playback progress.
141
- * Contains the settings to be used.
142
- * @alpha
143
- */
144
- export declare type SolarPlaybackProgressHandler = (time: Date) => void;
145
- /** Data Provider interface for getting and setting solar position
146
- * @alpha
147
- */
148
- export interface SolarDataProvider {
149
- viewId: string;
150
- /** returns true if the provider has timeline animation data available */
151
- supportsTimelineAnimation: boolean;
152
- readonly shouldShowTimeline: boolean;
153
- /** Starting date for entire timeline */
154
- day: Date;
155
- /** Starting time for day in milliseconds */
156
- readonly dayStartMs: number;
157
- /** Time of day for sun */
158
- readonly timeOfDay: Date;
159
- /** Called during playback to update animation */
160
- onTimeChanged?: SolarPlaybackProgressHandler;
161
- /** viewport to show animation */
162
- viewport?: ScreenViewport;
163
- /** Time of Sunrise to nearest minute */
164
- readonly sunrise: Date;
165
- /** time of Sunrise to nearest minute */
166
- readonly sunset: Date;
167
- /** shadow color */
168
- shadowColor: ColorDef;
169
- /** timezone offset for local project time */
170
- readonly timeZoneOffset: number;
171
- /** set date for shadow study. If isProjectDate is false the is assume to be in users
172
- * current time and the value is adjusted to be the same date and time at the project location. */
173
- setDateAndTime: (day: Date, isProjectDate?: boolean) => void;
174
- }
1
+ /** @packageDocumentation
2
+ * @module Timeline
3
+ */
4
+ import { ColorDef } from "@itwin/core-common";
5
+ import { ScreenViewport } from "@itwin/core-frontend";
6
+ import { GenericUiEventArgs } from "@itwin/appui-abstract";
7
+ /**
8
+ * A range of time which can be used to focus in on activities scheduled around a milestone.
9
+ * @public
10
+ */
11
+ export interface MilestoneRange {
12
+ start: Date;
13
+ end: Date;
14
+ }
15
+ /**
16
+ * A Milestone event that is to be noted in the timeline.
17
+ * @internal
18
+ * @deprecated in 3.0. Obsolete.
19
+ */
20
+ export interface Milestone {
21
+ /** uniqueId of milestone */
22
+ id: string;
23
+ /** milestone date */
24
+ date: Date;
25
+ parentId?: string;
26
+ /** Milestone label that is display if space allows */
27
+ label?: string;
28
+ /** Milestone description that is show as tooltip */
29
+ description?: string;
30
+ /** animation range that includes milestone */
31
+ range?: MilestoneRange;
32
+ /** Set to true if read only. */
33
+ readonly?: boolean;
34
+ children?: Milestone[];
35
+ }
36
+ /** The timeline scale.
37
+ * @public
38
+ */
39
+ export declare enum TimelineScale {
40
+ /** Show years */
41
+ Years = 0,
42
+ /** Show quarters */
43
+ Quarters = 1,
44
+ /** Show months */
45
+ Months = 2,
46
+ /** Show days */
47
+ Days = 3,
48
+ /** Show hours */
49
+ Hours = 4
50
+ }
51
+ /** Determines if data displayed to use is the actual date or the amount of time elapsed since project start.
52
+ * @public
53
+ */
54
+ export declare enum TimelineDateDisplay {
55
+ /** Display time axis using actual start/end dates */
56
+ ActualTime = 0,
57
+ /** Display time axis using time relative to actual start/end dates */
58
+ ProjectTime = 1
59
+ }
60
+ /**
61
+ * Playback Settings.
62
+ * @public
63
+ */
64
+ export interface PlaybackSettings {
65
+ /** time in milliseconds to play animation from start date to end date */
66
+ duration?: number;
67
+ /** Set to True if animation to restart each time playbackEnd is reached. Defaults to false. */
68
+ loop?: boolean;
69
+ /** If true a minimal set of data is displayed. */
70
+ minimized?: boolean;
71
+ /** Playback start. If defined must be within start-end range. If not define 'start' is used. */
72
+ playbackStart?: Date;
73
+ /** Playback end. If defined must be within start-end range and later than playbackStart. If not define 'end' is used. */
74
+ playbackEnd?: Date;
75
+ /** Set to True if user should be allowed to insert milestone dates. Defaults to false */
76
+ allowMilestoneEdits?: boolean;
77
+ /** Define if actual date/times are used or date/times relative to project are used to draw timeline axis. */
78
+ dateDisplay?: TimelineDateDisplay;
79
+ }
80
+ /**
81
+ * An interface used to notify Handlers of the current pointer position in the timeline playback. Valid range is 0 to 1 and it determines percentage complete.
82
+ * @public
83
+ */
84
+ export declare type AnimationFractionChangeHandler = (animationFraction: number) => void;
85
+ /**
86
+ * An interface used to notify Handlers of Playback Settings changes.
87
+ * Contains the settings to be used.
88
+ * @public
89
+ */
90
+ export declare type PlaybackSettingsChangeHandler = (settingsChange: PlaybackSettings) => void;
91
+ /** Actions for Pause/Play event
92
+ * @public
93
+ */
94
+ export declare enum TimelinePausePlayAction {
95
+ Toggle = 0,
96
+ Pause = 1,
97
+ Play = 2
98
+ }
99
+ /** Args for event to pause or play the timeline component
100
+ * @public
101
+ */
102
+ export interface TimelinePausePlayArgs extends GenericUiEventArgs {
103
+ timelineAction: TimelinePausePlayAction;
104
+ }
105
+ /** Interface for a timeline data provider class
106
+ * @public
107
+ */
108
+ export interface TimelineDataProvider {
109
+ /** uniqueId of provider */
110
+ id: string;
111
+ /** view id when viewport is initially assigned */
112
+ viewId: string;
113
+ /** returns true if the provider has timeline animation data available */
114
+ supportsTimelineAnimation: boolean;
115
+ /** Starting date for entire timeline */
116
+ start?: Date;
117
+ /** End date for entire timeline */
118
+ end?: Date;
119
+ /** Current animation fraction from 0.0 to 1.0 */
120
+ animationFraction?: number;
121
+ getSettings(): PlaybackSettings;
122
+ /** Called to get the initial scrubber location. This must be a value between 0 and the duration in PlaybackSettings. */
123
+ initialDuration: number;
124
+ /** Called to get the duration of the Playback. */
125
+ duration: number;
126
+ /** If true the playback will continuously loop. */
127
+ loop: boolean;
128
+ /** Called to save the playback settings */
129
+ updateSettings(settings: PlaybackSettings): void;
130
+ /** Async call to load milestone and settings data */
131
+ loadTimelineData(): Promise<boolean>;
132
+ /** Called when an internal process has defined the playback settings and the UI needs to be updated */
133
+ onPlaybackSettingChanged?: PlaybackSettingsChangeHandler;
134
+ /** Called when the an internal process has defined the playback settings and the UI needs to be updated */
135
+ onAnimationFractionChanged?: AnimationFractionChangeHandler;
136
+ /** viewport to show animation */
137
+ viewport?: ScreenViewport;
138
+ }
139
+ /**
140
+ * An interface used to notify Handlers of Playback progress.
141
+ * Contains the settings to be used.
142
+ * @alpha
143
+ */
144
+ export declare type SolarPlaybackProgressHandler = (time: Date) => void;
145
+ /** Data Provider interface for getting and setting solar position
146
+ * @alpha
147
+ */
148
+ export interface SolarDataProvider {
149
+ viewId: string;
150
+ /** returns true if the provider has timeline animation data available */
151
+ supportsTimelineAnimation: boolean;
152
+ readonly shouldShowTimeline: boolean;
153
+ /** Starting date for entire timeline */
154
+ day: Date;
155
+ /** Starting time for day in milliseconds */
156
+ readonly dayStartMs: number;
157
+ /** Time of day for sun */
158
+ readonly timeOfDay: Date;
159
+ /** Called during playback to update animation */
160
+ onTimeChanged?: SolarPlaybackProgressHandler;
161
+ /** viewport to show animation */
162
+ viewport?: ScreenViewport;
163
+ /** Time of Sunrise to nearest minute */
164
+ readonly sunrise: Date;
165
+ /** time of Sunrise to nearest minute */
166
+ readonly sunset: Date;
167
+ /** shadow color */
168
+ shadowColor: ColorDef;
169
+ /** timezone offset for local project time */
170
+ readonly timeZoneOffset: number;
171
+ /** set date for shadow study. If isProjectDate is false the is assume to be in users
172
+ * current time and the value is adjusted to be the same date and time at the project location. */
173
+ setDateAndTime: (day: Date, isProjectDate?: boolean) => void;
174
+ }
175
175
  //# sourceMappingURL=interfaces.d.ts.map
@@ -1,46 +1,46 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Timeline
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.TimelinePausePlayAction = exports.TimelineDateDisplay = exports.TimelineScale = void 0;
11
- /** The timeline scale.
12
- * @public
13
- */
14
- var TimelineScale;
15
- (function (TimelineScale) {
16
- /** Show years */
17
- TimelineScale[TimelineScale["Years"] = 0] = "Years";
18
- /** Show quarters */
19
- TimelineScale[TimelineScale["Quarters"] = 1] = "Quarters";
20
- /** Show months */
21
- TimelineScale[TimelineScale["Months"] = 2] = "Months";
22
- /** Show days */
23
- TimelineScale[TimelineScale["Days"] = 3] = "Days";
24
- /** Show hours */
25
- TimelineScale[TimelineScale["Hours"] = 4] = "Hours";
26
- })(TimelineScale = exports.TimelineScale || (exports.TimelineScale = {}));
27
- /** Determines if data displayed to use is the actual date or the amount of time elapsed since project start.
28
- * @public
29
- */
30
- var TimelineDateDisplay;
31
- (function (TimelineDateDisplay) {
32
- /** Display time axis using actual start/end dates */
33
- TimelineDateDisplay[TimelineDateDisplay["ActualTime"] = 0] = "ActualTime";
34
- /** Display time axis using time relative to actual start/end dates */
35
- TimelineDateDisplay[TimelineDateDisplay["ProjectTime"] = 1] = "ProjectTime";
36
- })(TimelineDateDisplay = exports.TimelineDateDisplay || (exports.TimelineDateDisplay = {}));
37
- /** Actions for Pause/Play event
38
- * @public
39
- */
40
- var TimelinePausePlayAction;
41
- (function (TimelinePausePlayAction) {
42
- TimelinePausePlayAction[TimelinePausePlayAction["Toggle"] = 0] = "Toggle";
43
- TimelinePausePlayAction[TimelinePausePlayAction["Pause"] = 1] = "Pause";
44
- TimelinePausePlayAction[TimelinePausePlayAction["Play"] = 2] = "Play";
45
- })(TimelinePausePlayAction = exports.TimelinePausePlayAction || (exports.TimelinePausePlayAction = {}));
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Timeline
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.TimelinePausePlayAction = exports.TimelineDateDisplay = exports.TimelineScale = void 0;
11
+ /** The timeline scale.
12
+ * @public
13
+ */
14
+ var TimelineScale;
15
+ (function (TimelineScale) {
16
+ /** Show years */
17
+ TimelineScale[TimelineScale["Years"] = 0] = "Years";
18
+ /** Show quarters */
19
+ TimelineScale[TimelineScale["Quarters"] = 1] = "Quarters";
20
+ /** Show months */
21
+ TimelineScale[TimelineScale["Months"] = 2] = "Months";
22
+ /** Show days */
23
+ TimelineScale[TimelineScale["Days"] = 3] = "Days";
24
+ /** Show hours */
25
+ TimelineScale[TimelineScale["Hours"] = 4] = "Hours";
26
+ })(TimelineScale = exports.TimelineScale || (exports.TimelineScale = {}));
27
+ /** Determines if data displayed to use is the actual date or the amount of time elapsed since project start.
28
+ * @public
29
+ */
30
+ var TimelineDateDisplay;
31
+ (function (TimelineDateDisplay) {
32
+ /** Display time axis using actual start/end dates */
33
+ TimelineDateDisplay[TimelineDateDisplay["ActualTime"] = 0] = "ActualTime";
34
+ /** Display time axis using time relative to actual start/end dates */
35
+ TimelineDateDisplay[TimelineDateDisplay["ProjectTime"] = 1] = "ProjectTime";
36
+ })(TimelineDateDisplay = exports.TimelineDateDisplay || (exports.TimelineDateDisplay = {}));
37
+ /** Actions for Pause/Play event
38
+ * @public
39
+ */
40
+ var TimelinePausePlayAction;
41
+ (function (TimelinePausePlayAction) {
42
+ TimelinePausePlayAction[TimelinePausePlayAction["Toggle"] = 0] = "Toggle";
43
+ TimelinePausePlayAction[TimelinePausePlayAction["Pause"] = 1] = "Pause";
44
+ TimelinePausePlayAction[TimelinePausePlayAction["Play"] = 2] = "Play";
45
+ })(TimelinePausePlayAction = exports.TimelinePausePlayAction || (exports.TimelinePausePlayAction = {}));
46
46
  //# sourceMappingURL=interfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/imodel-components-react/timeline/interfaces.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAsCH;;GAEG;AACH,IAAY,aAWX;AAXD,WAAY,aAAa;IACvB,iBAAiB;IACjB,mDAAK,CAAA;IACL,oBAAoB;IACpB,yDAAQ,CAAA;IACR,kBAAkB;IAClB,qDAAM,CAAA;IACN,gBAAgB;IAChB,iDAAI,CAAA;IACJ,iBAAiB;IACjB,mDAAK,CAAA;AACP,CAAC,EAXW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAWxB;AAED;;GAEG;AACH,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,qDAAqD;IACrD,yEAAU,CAAA;IACV,sEAAsE;IACtE,2EAAW,CAAA;AACb,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAoCD;;GAEG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,yEAAM,CAAA;IACN,uEAAK,CAAA;IACL,qEAAI,CAAA;AACN,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Timeline\n */\n\nimport { ColorDef } from \"@itwin/core-common\";\nimport { ScreenViewport } from \"@itwin/core-frontend\";\nimport { GenericUiEventArgs } from \"@itwin/appui-abstract\";\n\n/**\n * A range of time which can be used to focus in on activities scheduled around a milestone.\n * @public\n */\nexport interface MilestoneRange {\n start: Date;\n end: Date;\n}\n\n/**\n * A Milestone event that is to be noted in the timeline.\n * @internal\n * @deprecated in 3.0. Obsolete.\n */\nexport interface Milestone {\n /** uniqueId of milestone */\n id: string;\n /** milestone date */\n date: Date;\n parentId?: string;\n /** Milestone label that is display if space allows */\n label?: string;\n /** Milestone description that is show as tooltip */\n description?: string;\n /** animation range that includes milestone */\n range?: MilestoneRange;\n /** Set to true if read only. */\n readonly?: boolean;\n // eslint-disable-next-line deprecation/deprecation\n children?: Milestone[];\n}\n\n/** The timeline scale.\n * @public\n */\nexport enum TimelineScale {\n /** Show years */\n Years,\n /** Show quarters */\n Quarters,\n /** Show months */\n Months,\n /** Show days */\n Days,\n /** Show hours */\n Hours,\n}\n\n/** Determines if data displayed to use is the actual date or the amount of time elapsed since project start.\n * @public\n */\nexport enum TimelineDateDisplay {\n /** Display time axis using actual start/end dates */\n ActualTime,\n /** Display time axis using time relative to actual start/end dates */\n ProjectTime,\n}\n\n/**\n * Playback Settings.\n * @public\n */\nexport interface PlaybackSettings {\n /** time in milliseconds to play animation from start date to end date */\n duration?: number;\n /** Set to True if animation to restart each time playbackEnd is reached. Defaults to false. */\n loop?: boolean;\n /** If true a minimal set of data is displayed. */\n minimized?: boolean;\n /** Playback start. If defined must be within start-end range. If not define 'start' is used. */\n playbackStart?: Date;\n /** Playback end. If defined must be within start-end range and later than playbackStart. If not define 'end' is used. */\n playbackEnd?: Date;\n /** Set to True if user should be allowed to insert milestone dates. Defaults to false */\n allowMilestoneEdits?: boolean;\n /** Define if actual date/times are used or date/times relative to project are used to draw timeline axis. */\n dateDisplay?: TimelineDateDisplay;\n}\n\n/**\n * An interface used to notify Handlers of the current pointer position in the timeline playback. Valid range is 0 to 1 and it determines percentage complete.\n * @public\n */\nexport type AnimationFractionChangeHandler = (animationFraction: number) => void;\n\n/**\n * An interface used to notify Handlers of Playback Settings changes.\n * Contains the settings to be used.\n * @public\n */\nexport type PlaybackSettingsChangeHandler = (settingsChange: PlaybackSettings) => void;\n\n/** Actions for Pause/Play event\n * @public\n */\nexport enum TimelinePausePlayAction {\n Toggle,\n Pause,\n Play,\n}\n/** Args for event to pause or play the timeline component\n * @public\n */\nexport interface TimelinePausePlayArgs extends GenericUiEventArgs {\n timelineAction: TimelinePausePlayAction;\n}\n/** Interface for a timeline data provider class\n * @public\n */\nexport interface TimelineDataProvider {\n /** uniqueId of provider */\n id: string;\n /** view id when viewport is initially assigned */\n viewId: string;\n /** returns true if the provider has timeline animation data available */\n supportsTimelineAnimation: boolean;\n /** Starting date for entire timeline */\n start?: Date;\n /** End date for entire timeline */\n end?: Date;\n /** Current animation fraction from 0.0 to 1.0 */\n animationFraction?: number;\n getSettings(): PlaybackSettings;\n /** Called to get the initial scrubber location. This must be a value between 0 and the duration in PlaybackSettings. */\n initialDuration: number;\n /** Called to get the duration of the Playback. */\n duration: number;\n /** If true the playback will continuously loop. */\n loop: boolean;\n /** Called to save the playback settings */\n updateSettings(settings: PlaybackSettings): void;\n /** Async call to load milestone and settings data */\n loadTimelineData(): Promise<boolean>;\n /** Called when an internal process has defined the playback settings and the UI needs to be updated */\n onPlaybackSettingChanged?: PlaybackSettingsChangeHandler;\n /** Called when the an internal process has defined the playback settings and the UI needs to be updated */\n onAnimationFractionChanged?: AnimationFractionChangeHandler;\n /** viewport to show animation */\n viewport?: ScreenViewport;\n}\n\n/**\n * An interface used to notify Handlers of Playback progress.\n * Contains the settings to be used.\n * @alpha\n */\nexport type SolarPlaybackProgressHandler = (time: Date) => void;\n\n/** Data Provider interface for getting and setting solar position\n * @alpha\n */\nexport interface SolarDataProvider {\n // View Id used to determine sunrise and sunset\n viewId: string;\n /** returns true if the provider has timeline animation data available */\n supportsTimelineAnimation: boolean;\n // set to true is timeline should be shown - return false if view is not set to display shadow.\n readonly shouldShowTimeline: boolean;\n /** Starting date for entire timeline */\n day: Date;\n /** Starting time for day in milliseconds */\n readonly dayStartMs: number;\n /** Time of day for sun */\n readonly timeOfDay: Date;\n /** Called during playback to update animation */\n onTimeChanged?: SolarPlaybackProgressHandler;\n /** viewport to show animation */\n viewport?: ScreenViewport;\n /** Time of Sunrise to nearest minute */\n readonly sunrise: Date;\n /** time of Sunrise to nearest minute */\n readonly sunset: Date;\n /** shadow color */\n shadowColor: ColorDef;\n /** timezone offset for local project time */\n readonly timeZoneOffset: number;\n /** set date for shadow study. If isProjectDate is false the is assume to be in users\n * current time and the value is adjusted to be the same date and time at the project location. */\n setDateAndTime: (day: Date, isProjectDate?: boolean) => void;\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/imodel-components-react/timeline/interfaces.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAsCH;;GAEG;AACH,IAAY,aAWX;AAXD,WAAY,aAAa;IACvB,iBAAiB;IACjB,mDAAK,CAAA;IACL,oBAAoB;IACpB,yDAAQ,CAAA;IACR,kBAAkB;IAClB,qDAAM,CAAA;IACN,gBAAgB;IAChB,iDAAI,CAAA;IACJ,iBAAiB;IACjB,mDAAK,CAAA;AACP,CAAC,EAXW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAWxB;AAED;;GAEG;AACH,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,qDAAqD;IACrD,yEAAU,CAAA;IACV,sEAAsE;IACtE,2EAAW,CAAA;AACb,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B;AAoCD;;GAEG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,yEAAM,CAAA;IACN,uEAAK,CAAA;IACL,qEAAI,CAAA;AACN,CAAC,EAJW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAIlC","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 Timeline\r\n */\r\n\r\nimport { ColorDef } from \"@itwin/core-common\";\r\nimport { ScreenViewport } from \"@itwin/core-frontend\";\r\nimport { GenericUiEventArgs } from \"@itwin/appui-abstract\";\r\n\r\n/**\r\n * A range of time which can be used to focus in on activities scheduled around a milestone.\r\n * @public\r\n */\r\nexport interface MilestoneRange {\r\n start: Date;\r\n end: Date;\r\n}\r\n\r\n/**\r\n * A Milestone event that is to be noted in the timeline.\r\n * @internal\r\n * @deprecated in 3.0. Obsolete.\r\n */\r\nexport interface Milestone {\r\n /** uniqueId of milestone */\r\n id: string;\r\n /** milestone date */\r\n date: Date;\r\n parentId?: string;\r\n /** Milestone label that is display if space allows */\r\n label?: string;\r\n /** Milestone description that is show as tooltip */\r\n description?: string;\r\n /** animation range that includes milestone */\r\n range?: MilestoneRange;\r\n /** Set to true if read only. */\r\n readonly?: boolean;\r\n // eslint-disable-next-line deprecation/deprecation\r\n children?: Milestone[];\r\n}\r\n\r\n/** The timeline scale.\r\n * @public\r\n */\r\nexport enum TimelineScale {\r\n /** Show years */\r\n Years,\r\n /** Show quarters */\r\n Quarters,\r\n /** Show months */\r\n Months,\r\n /** Show days */\r\n Days,\r\n /** Show hours */\r\n Hours,\r\n}\r\n\r\n/** Determines if data displayed to use is the actual date or the amount of time elapsed since project start.\r\n * @public\r\n */\r\nexport enum TimelineDateDisplay {\r\n /** Display time axis using actual start/end dates */\r\n ActualTime,\r\n /** Display time axis using time relative to actual start/end dates */\r\n ProjectTime,\r\n}\r\n\r\n/**\r\n * Playback Settings.\r\n * @public\r\n */\r\nexport interface PlaybackSettings {\r\n /** time in milliseconds to play animation from start date to end date */\r\n duration?: number;\r\n /** Set to True if animation to restart each time playbackEnd is reached. Defaults to false. */\r\n loop?: boolean;\r\n /** If true a minimal set of data is displayed. */\r\n minimized?: boolean;\r\n /** Playback start. If defined must be within start-end range. If not define 'start' is used. */\r\n playbackStart?: Date;\r\n /** Playback end. If defined must be within start-end range and later than playbackStart. If not define 'end' is used. */\r\n playbackEnd?: Date;\r\n /** Set to True if user should be allowed to insert milestone dates. Defaults to false */\r\n allowMilestoneEdits?: boolean;\r\n /** Define if actual date/times are used or date/times relative to project are used to draw timeline axis. */\r\n dateDisplay?: TimelineDateDisplay;\r\n}\r\n\r\n/**\r\n * An interface used to notify Handlers of the current pointer position in the timeline playback. Valid range is 0 to 1 and it determines percentage complete.\r\n * @public\r\n */\r\nexport type AnimationFractionChangeHandler = (animationFraction: number) => void;\r\n\r\n/**\r\n * An interface used to notify Handlers of Playback Settings changes.\r\n * Contains the settings to be used.\r\n * @public\r\n */\r\nexport type PlaybackSettingsChangeHandler = (settingsChange: PlaybackSettings) => void;\r\n\r\n/** Actions for Pause/Play event\r\n * @public\r\n */\r\nexport enum TimelinePausePlayAction {\r\n Toggle,\r\n Pause,\r\n Play,\r\n}\r\n/** Args for event to pause or play the timeline component\r\n * @public\r\n */\r\nexport interface TimelinePausePlayArgs extends GenericUiEventArgs {\r\n timelineAction: TimelinePausePlayAction;\r\n}\r\n/** Interface for a timeline data provider class\r\n * @public\r\n */\r\nexport interface TimelineDataProvider {\r\n /** uniqueId of provider */\r\n id: string;\r\n /** view id when viewport is initially assigned */\r\n viewId: string;\r\n /** returns true if the provider has timeline animation data available */\r\n supportsTimelineAnimation: boolean;\r\n /** Starting date for entire timeline */\r\n start?: Date;\r\n /** End date for entire timeline */\r\n end?: Date;\r\n /** Current animation fraction from 0.0 to 1.0 */\r\n animationFraction?: number;\r\n getSettings(): PlaybackSettings;\r\n /** Called to get the initial scrubber location. This must be a value between 0 and the duration in PlaybackSettings. */\r\n initialDuration: number;\r\n /** Called to get the duration of the Playback. */\r\n duration: number;\r\n /** If true the playback will continuously loop. */\r\n loop: boolean;\r\n /** Called to save the playback settings */\r\n updateSettings(settings: PlaybackSettings): void;\r\n /** Async call to load milestone and settings data */\r\n loadTimelineData(): Promise<boolean>;\r\n /** Called when an internal process has defined the playback settings and the UI needs to be updated */\r\n onPlaybackSettingChanged?: PlaybackSettingsChangeHandler;\r\n /** Called when the an internal process has defined the playback settings and the UI needs to be updated */\r\n onAnimationFractionChanged?: AnimationFractionChangeHandler;\r\n /** viewport to show animation */\r\n viewport?: ScreenViewport;\r\n}\r\n\r\n/**\r\n * An interface used to notify Handlers of Playback progress.\r\n * Contains the settings to be used.\r\n * @alpha\r\n */\r\nexport type SolarPlaybackProgressHandler = (time: Date) => void;\r\n\r\n/** Data Provider interface for getting and setting solar position\r\n * @alpha\r\n */\r\nexport interface SolarDataProvider {\r\n // View Id used to determine sunrise and sunset\r\n viewId: string;\r\n /** returns true if the provider has timeline animation data available */\r\n supportsTimelineAnimation: boolean;\r\n // set to true is timeline should be shown - return false if view is not set to display shadow.\r\n readonly shouldShowTimeline: boolean;\r\n /** Starting date for entire timeline */\r\n day: Date;\r\n /** Starting time for day in milliseconds */\r\n readonly dayStartMs: number;\r\n /** Time of day for sun */\r\n readonly timeOfDay: Date;\r\n /** Called during playback to update animation */\r\n onTimeChanged?: SolarPlaybackProgressHandler;\r\n /** viewport to show animation */\r\n viewport?: ScreenViewport;\r\n /** Time of Sunrise to nearest minute */\r\n readonly sunrise: Date;\r\n /** time of Sunrise to nearest minute */\r\n readonly sunset: Date;\r\n /** shadow color */\r\n shadowColor: ColorDef;\r\n /** timezone offset for local project time */\r\n readonly timeZoneOffset: number;\r\n /** set date for shadow study. If isProjectDate is false the is assume to be in users\r\n * current time and the value is adjusted to be the same date and time at the project location. */\r\n setDateAndTime: (day: Date, isProjectDate?: boolean) => void;\r\n}\r\n"]}
@@ -1,43 +1,43 @@
1
- /** @packageDocumentation
2
- * @module Viewport
3
- */
4
- import * as React from "react";
5
- import { Id64String } from "@itwin/core-bentley";
6
- import { IModelConnection, ScreenViewport, TentativePoint, ViewManager, ViewState } from "@itwin/core-frontend";
7
- import { CommonProps } from "@itwin/core-react";
8
- /** Type for a ViewState prop
9
- * @public
10
- */
11
- export declare type ViewStateProp = ViewState | (() => ViewState);
12
- /**
13
- * Properties for [[ViewportComponent]] component.
14
- * @public
15
- */
16
- export interface ViewportProps extends CommonProps {
17
- /** IModel to display */
18
- imodel: IModelConnection;
19
- /** Id of a default view definition to load as a starting point */
20
- viewDefinitionId?: Id64String;
21
- /** ViewState to use as a starting point */
22
- viewState?: ViewStateProp;
23
- /** Function to get a reference to the ScreenViewport */
24
- viewportRef?: (v: ScreenViewport) => void;
25
- /** controlId for this content component @internal */
26
- controlId?: string;
27
- /** @internal */
28
- onContextMenu?: (e: React.MouseEvent) => boolean;
29
- /** @internal */
30
- getViewOverlay?: (viewport: ScreenViewport) => React.ReactNode;
31
- /** @internal used only for testing */
32
- viewManagerOverride?: ViewManager;
33
- /** @internal used only for testing */
34
- screenViewportOverride?: typeof ScreenViewport;
35
- /** @internal used only for testing */
36
- tentativePointOverride?: TentativePoint;
37
- }
38
- /**
39
- * A viewport React component that creates a ScreenViewport.
40
- * @public
41
- */
42
- export declare function ViewportComponent(props: ViewportProps): JSX.Element;
1
+ /** @packageDocumentation
2
+ * @module Viewport
3
+ */
4
+ import * as React from "react";
5
+ import { Id64String } from "@itwin/core-bentley";
6
+ import { IModelConnection, ScreenViewport, TentativePoint, ViewManager, ViewState } from "@itwin/core-frontend";
7
+ import { CommonProps } from "@itwin/core-react";
8
+ /** Type for a ViewState prop
9
+ * @public
10
+ */
11
+ export declare type ViewStateProp = ViewState | (() => ViewState);
12
+ /**
13
+ * Properties for [[ViewportComponent]] component.
14
+ * @public
15
+ */
16
+ export interface ViewportProps extends CommonProps {
17
+ /** IModel to display */
18
+ imodel: IModelConnection;
19
+ /** Id of a default view definition to load as a starting point */
20
+ viewDefinitionId?: Id64String;
21
+ /** ViewState to use as a starting point */
22
+ viewState?: ViewStateProp;
23
+ /** Function to get a reference to the ScreenViewport */
24
+ viewportRef?: (v: ScreenViewport) => void;
25
+ /** controlId for this content component @internal */
26
+ controlId?: string;
27
+ /** @internal */
28
+ onContextMenu?: (e: React.MouseEvent) => boolean;
29
+ /** @internal */
30
+ getViewOverlay?: (viewport: ScreenViewport) => React.ReactNode;
31
+ /** @internal used only for testing */
32
+ viewManagerOverride?: ViewManager;
33
+ /** @internal used only for testing */
34
+ screenViewportOverride?: typeof ScreenViewport;
35
+ /** @internal used only for testing */
36
+ tentativePointOverride?: TentativePoint;
37
+ }
38
+ /**
39
+ * A viewport React component that creates a ScreenViewport.
40
+ * @public
41
+ */
42
+ export declare function ViewportComponent(props: ViewportProps): JSX.Element;
43
43
  //# sourceMappingURL=ViewportComponent.d.ts.map