@itwin/imodel-components-react 3.7.0-dev.7 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -1
- package/lib/cjs/imodel-components-react/UiIModelComponents.d.ts +28 -28
- package/lib/cjs/imodel-components-react/UiIModelComponents.js +79 -79
- package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/AlphaSlider.d.ts +36 -36
- package/lib/cjs/imodel-components-react/color/AlphaSlider.js +186 -186
- package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/AlphaSlider.scss +63 -63
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.d.ts +37 -37
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.js +107 -107
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +91 -91
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.d.ts +23 -23
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js +74 -74
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPanel.d.ts +21 -21
- package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js +145 -145
- package/lib/cjs/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPanel.scss +93 -93
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts +44 -44
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js +137 -137
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +64 -64
- package/lib/cjs/imodel-components-react/color/HueSlider.d.ts +22 -22
- package/lib/cjs/imodel-components-react/color/HueSlider.js +199 -199
- package/lib/cjs/imodel-components-react/color/HueSlider.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/HueSlider.scss +61 -61
- package/lib/cjs/imodel-components-react/color/SaturationPicker.d.ts +20 -20
- package/lib/cjs/imodel-components-react/color/SaturationPicker.js +213 -213
- package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/SaturationPicker.scss +35 -35
- package/lib/cjs/imodel-components-react/color/Swatch.d.ts +22 -22
- package/lib/cjs/imodel-components-react/color/Swatch.js +60 -60
- package/lib/cjs/imodel-components-react/color/Swatch.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/Swatch.scss +23 -23
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.d.ts +6 -6
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js +23 -23
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
- package/lib/cjs/imodel-components-react/editors/ColorEditor.d.ts +44 -44
- package/lib/cjs/imodel-components-react/editors/ColorEditor.js +151 -151
- package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +1 -1
- package/lib/cjs/imodel-components-react/editors/ColorEditor.scss +18 -18
- package/lib/cjs/imodel-components-react/editors/WeightEditor.d.ts +47 -47
- package/lib/cjs/imodel-components-react/editors/WeightEditor.js +160 -160
- package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +1 -1
- package/lib/cjs/imodel-components-react/editors/WeightEditor.scss +16 -16
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.d.ts +25 -25
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.js +96 -96
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +1 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts +44 -44
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +265 -265
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +107 -107
- package/lib/cjs/imodel-components-react/lineweight/Swatch.d.ts +33 -33
- package/lib/cjs/imodel-components-react/lineweight/Swatch.js +85 -85
- package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +1 -1
- package/lib/cjs/imodel-components-react/lineweight/Swatch.scss +48 -48
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.d.ts +60 -60
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js +159 -159
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +52 -52
- package/lib/cjs/imodel-components-react/navigationaids/Cube.d.ts +45 -45
- package/lib/cjs/imodel-components-react/navigationaids/Cube.js +127 -127
- package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +1 -1
- package/lib/cjs/imodel-components-react/navigationaids/Cube.scss +19 -19
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +175 -175
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js +647 -647
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +180 -180
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +145 -145
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js +647 -647
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.scss +133 -133
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.d.ts +26 -26
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js +99 -99
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +64 -64
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js +53 -53
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.d.ts +18 -18
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +83 -83
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +86 -86
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +109 -109
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.d.ts +19 -19
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +133 -133
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +21 -21
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js +184 -184
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +22 -22
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js +154 -154
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js +59 -59
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js +47 -47
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +16 -16
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js +54 -54
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.d.ts +18 -18
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js +48 -48
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js +50 -50
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +58 -58
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js +47 -47
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js +56 -56
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +17 -17
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +95 -95
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +23 -23
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js +119 -119
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +52 -52
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js +143 -143
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +31 -31
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js +69 -69
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.d.ts +27 -27
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.js +81 -81
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +26 -26
- package/lib/cjs/imodel-components-react/timeline/PlayerButton.d.ts +33 -33
- package/lib/cjs/imodel-components-react/timeline/PlayerButton.js +91 -91
- package/lib/cjs/imodel-components-react/timeline/PlayerButton.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/PlayerButton.scss +25 -25
- package/lib/cjs/imodel-components-react/timeline/Scrubber.d.ts +54 -54
- package/lib/cjs/imodel-components-react/timeline/Scrubber.js +191 -191
- package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +106 -106
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.d.ts +77 -77
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js +424 -424
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +357 -357
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.d.ts +15 -15
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js +54 -54
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
- package/lib/cjs/imodel-components-react/timeline/Timeline.scss +164 -164
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts +133 -133
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js +387 -358
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.scss +185 -164
- package/lib/cjs/imodel-components-react/timeline/interfaces.d.ts +174 -174
- package/lib/cjs/imodel-components-react/timeline/interfaces.js +45 -45
- package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +1 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts +42 -42
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +274 -274
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.d.ts +106 -106
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js +105 -105
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
- package/lib/cjs/imodel-components-react.d.ts +82 -82
- package/lib/cjs/imodel-components-react.js +101 -101
- package/lib/cjs/imodel-components-react.js.map +1 -1
- package/lib/esm/imodel-components-react/UiIModelComponents.d.ts +28 -28
- package/lib/esm/imodel-components-react/UiIModelComponents.js +75 -75
- package/lib/esm/imodel-components-react/UiIModelComponents.js.map +1 -1
- package/lib/esm/imodel-components-react/color/AlphaSlider.d.ts +36 -36
- package/lib/esm/imodel-components-react/color/AlphaSlider.js +160 -160
- package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +1 -1
- package/lib/esm/imodel-components-react/color/AlphaSlider.scss +63 -63
- package/lib/esm/imodel-components-react/color/ColorPickerButton.d.ts +37 -37
- package/lib/esm/imodel-components-react/color/ColorPickerButton.js +82 -82
- package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerButton.scss +91 -91
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts +23 -23
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.js +51 -51
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPanel.d.ts +21 -21
- package/lib/esm/imodel-components-react/color/ColorPickerPanel.js +122 -122
- package/lib/esm/imodel-components-react/color/ColorPickerPanel.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPanel.scss +93 -93
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts +44 -44
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.js +112 -112
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +64 -64
- package/lib/esm/imodel-components-react/color/HueSlider.d.ts +22 -22
- package/lib/esm/imodel-components-react/color/HueSlider.js +173 -173
- package/lib/esm/imodel-components-react/color/HueSlider.js.map +1 -1
- package/lib/esm/imodel-components-react/color/HueSlider.scss +61 -61
- package/lib/esm/imodel-components-react/color/SaturationPicker.d.ts +20 -20
- package/lib/esm/imodel-components-react/color/SaturationPicker.js +187 -187
- package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +1 -1
- package/lib/esm/imodel-components-react/color/SaturationPicker.scss +35 -35
- package/lib/esm/imodel-components-react/color/Swatch.d.ts +22 -22
- package/lib/esm/imodel-components-react/color/Swatch.js +34 -34
- package/lib/esm/imodel-components-react/color/Swatch.js.map +1 -1
- package/lib/esm/imodel-components-react/color/Swatch.scss +23 -23
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.d.ts +6 -6
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js +19 -19
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.d.ts +44 -44
- package/lib/esm/imodel-components-react/editors/ColorEditor.js +124 -124
- package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +1 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.scss +18 -18
- package/lib/esm/imodel-components-react/editors/WeightEditor.d.ts +47 -47
- package/lib/esm/imodel-components-react/editors/WeightEditor.js +133 -133
- package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +1 -1
- package/lib/esm/imodel-components-react/editors/WeightEditor.scss +16 -16
- package/lib/esm/imodel-components-react/inputs/QuantityInput.d.ts +25 -25
- package/lib/esm/imodel-components-react/inputs/QuantityInput.js +70 -70
- package/lib/esm/imodel-components-react/inputs/QuantityInput.js.map +1 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts +44 -44
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js +240 -240
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +107 -107
- package/lib/esm/imodel-components-react/lineweight/Swatch.d.ts +33 -33
- package/lib/esm/imodel-components-react/lineweight/Swatch.js +59 -59
- package/lib/esm/imodel-components-react/lineweight/Swatch.js.map +1 -1
- package/lib/esm/imodel-components-react/lineweight/Swatch.scss +48 -48
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.d.ts +60 -60
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js +133 -133
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.scss +52 -52
- package/lib/esm/imodel-components-react/navigationaids/Cube.d.ts +45 -45
- package/lib/esm/imodel-components-react/navigationaids/Cube.js +100 -100
- package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +1 -1
- package/lib/esm/imodel-components-react/navigationaids/Cube.scss +19 -19
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +175 -175
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js +619 -619
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.scss +180 -180
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +145 -145
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js +620 -620
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +133 -133
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.d.ts +26 -26
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js +76 -76
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.scss +64 -64
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js +30 -30
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.d.ts +18 -18
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.js +60 -60
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatType.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/FormatType.js +63 -63
- package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js +83 -83
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.d.ts +19 -19
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js +110 -110
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +21 -21
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js +158 -158
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +22 -22
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js +131 -131
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js +36 -36
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js +24 -24
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +16 -16
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js +31 -31
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.d.ts +18 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js +25 -25
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js +27 -27
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +35 -35
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js +24 -24
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js +33 -33
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +17 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +69 -69
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +23 -23
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js +96 -96
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +52 -52
- package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js +139 -139
- package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +31 -31
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js +65 -65
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/InlineEdit.d.ts +27 -27
- package/lib/esm/imodel-components-react/timeline/InlineEdit.js +55 -55
- package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/InlineEdit.scss +26 -26
- package/lib/esm/imodel-components-react/timeline/PlayerButton.d.ts +33 -33
- package/lib/esm/imodel-components-react/timeline/PlayerButton.js +64 -64
- package/lib/esm/imodel-components-react/timeline/PlayerButton.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/PlayerButton.scss +25 -25
- package/lib/esm/imodel-components-react/timeline/Scrubber.d.ts +54 -54
- package/lib/esm/imodel-components-react/timeline/Scrubber.js +164 -164
- package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/Scrubber.scss +106 -106
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.d.ts +77 -77
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.js +398 -398
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.scss +357 -357
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.d.ts +15 -15
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js +28 -28
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
- package/lib/esm/imodel-components-react/timeline/Timeline.scss +164 -164
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts +133 -133
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts.map +1 -1
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.js +361 -332
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +185 -164
- package/lib/esm/imodel-components-react/timeline/interfaces.d.ts +174 -174
- package/lib/esm/imodel-components-react/timeline/interfaces.js +42 -42
- package/lib/esm/imodel-components-react/timeline/interfaces.js.map +1 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts +42 -42
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.js +251 -251
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts +106 -106
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js +95 -95
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
- package/lib/esm/imodel-components-react.d.ts +82 -82
- package/lib/esm/imodel-components-react.js +87 -87
- package/lib/esm/imodel-components-react.js.map +1 -1
- package/lib/public/locales/en/UiIModelComponents.json +139 -139
- 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":["/*---------------------------------------------------------------------------------------------\
|
|
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,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
|