@itwin/imodel-components-react 4.17.1 → 5.0.0-dev.2
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 +1 -6
- package/README.md +15 -2
- package/lib/{cjs/imodel-components-react → imodel-components-react}/UiIModelComponents.d.ts +1 -1
- package/lib/imodel-components-react/UiIModelComponents.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/UiIModelComponents.js +4 -7
- package/lib/imodel-components-react/UiIModelComponents.js.map +1 -0
- package/lib/imodel-components-react/color/AlphaSlider.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/AlphaSlider.js +1 -1
- package/lib/imodel-components-react/color/AlphaSlider.js.map +1 -0
- package/lib/imodel-components-react/color/ColorPickerButton.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/ColorPickerButton.js +4 -3
- package/lib/imodel-components-react/color/ColorPickerButton.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/ColorPickerButton.scss +2 -4
- package/lib/imodel-components-react/color/ColorPickerDialog.d.ts.map +1 -0
- package/lib/imodel-components-react/color/ColorPickerDialog.js.map +1 -0
- package/lib/imodel-components-react/color/ColorPickerPopup.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/ColorPickerPopup.js +4 -3
- package/lib/imodel-components-react/color/ColorPickerPopup.js.map +1 -0
- package/lib/imodel-components-react/color/HueSlider.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/HueSlider.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/HueSlider.js.map +1 -1
- package/lib/imodel-components-react/color/SaturationPicker.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/SaturationPicker.js +1 -1
- package/lib/imodel-components-react/color/SaturationPicker.js.map +1 -0
- package/lib/imodel-components-react/color/Swatch.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/Swatch.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/color/Swatch.js.map +1 -1
- package/lib/imodel-components-react/color/getCSSColorFromDef.d.ts.map +1 -0
- package/lib/imodel-components-react/color/getCSSColorFromDef.js.map +1 -0
- package/lib/imodel-components-react/editors/ColorEditor.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/editors/ColorEditor.js +3 -4
- package/lib/imodel-components-react/editors/ColorEditor.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/editors/ColorEditor.scss +0 -2
- package/lib/imodel-components-react/editors/WeightEditor.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/editors/WeightEditor.js +3 -4
- package/lib/imodel-components-react/editors/WeightEditor.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/editors/WeightEditor.scss +0 -2
- package/lib/imodel-components-react/inputs/QuantityInput.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/inputs/QuantityInput.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/inputs/QuantityInput.js.map +1 -1
- package/lib/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +1 -0
- package/lib/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/inputs/QuantityNumberInput.scss +1 -1
- package/lib/imodel-components-react/lineweight/Swatch.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/lineweight/Swatch.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/lineweight/Swatch.js.map +1 -1
- package/lib/{cjs/imodel-components-react → imodel-components-react}/lineweight/Swatch.scss +2 -4
- package/lib/imodel-components-react/lineweight/WeightPickerButton.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/lineweight/WeightPickerButton.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/lineweight/WeightPickerButton.js.map +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/lineweight/WeightPickerButton.scss +5 -6
- package/lib/imodel-components-react/navigationaids/Cube.d.ts.map +1 -0
- package/lib/imodel-components-react/navigationaids/Cube.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/navigationaids/CubeNavigationAid.d.ts +1 -1
- package/lib/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/navigationaids/CubeNavigationAid.js +3 -3
- package/lib/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/navigationaids/CubeNavigationAid.scss +0 -2
- package/lib/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/navigationaids/DrawingNavigationAid.js +2 -2
- package/lib/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/navigationaids/DrawingNavigationAid.scss +9 -10
- package/lib/imodel-components-react/quantityformat/FormatPanel.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatPanel.js +6 -6
- package/lib/imodel-components-react/quantityformat/FormatPanel.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatPanel.scss +0 -2
- package/lib/imodel-components-react/quantityformat/FormatPrecision.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatPrecision.js +3 -3
- package/lib/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/FormatSample.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatSample.js +1 -1
- package/lib/imodel-components-react/quantityformat/FormatSample.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/FormatType.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatType.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatType.js.map +1 -1
- package/lib/imodel-components-react/quantityformat/FormatUnitLabel.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatUnitLabel.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatUnitLabel.js.map +1 -1
- package/lib/imodel-components-react/quantityformat/FormatUnits.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/FormatUnits.js +2 -2
- package/lib/imodel-components-react/quantityformat/FormatUnits.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/MiscFormatOptions.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/MiscFormatOptions.js +7 -7
- package/lib/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/QuantityFormatPanel.js +1 -1
- package/lib/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/DecimalPrecision.js +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/DecimalPrecision.js.map +1 -1
- package/lib/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/DecimalSeparator.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/FractionPrecision.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/ScientificType.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/ScientificType.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/SignOption.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/SignOption.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/StationSeparatorSelector.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/StationSizeSelector.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/ThousandsSelector.js +1 -1
- package/lib/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/ThousandsSeparator.js +2 -2
- package/lib/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/UnitDescr.d.ts.map +1 -0
- package/lib/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/BaseSolarDataProvider.d.ts +1 -1
- package/lib/imodel-components-react/timeline/BaseSolarDataProvider.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/BaseSolarDataProvider.js.map +1 -1
- package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/BaseTimelineDataProvider.d.ts +1 -1
- package/lib/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts.map +1 -0
- package/lib/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -0
- package/lib/imodel-components-react/timeline/InlineEdit.d.ts.map +1 -0
- package/lib/imodel-components-react/timeline/InlineEdit.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/InlineEdit.scss +3 -5
- package/lib/imodel-components-react/timeline/PlayButton.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/PlayButton.js +1 -1
- package/lib/imodel-components-react/timeline/PlayButton.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/Scrubber.d.ts +2 -4
- package/lib/imodel-components-react/timeline/Scrubber.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/Scrubber.js +19 -12
- package/lib/imodel-components-react/timeline/Scrubber.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/Scrubber.scss +1 -1
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/SolarTimeline.d.ts +1 -1
- package/lib/imodel-components-react/timeline/SolarTimeline.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/SolarTimeline.js +3 -3
- package/lib/imodel-components-react/timeline/SolarTimeline.js.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/SolarTimeline.scss +0 -2
- package/lib/imodel-components-react/timeline/SpeedTimeline.d.ts.map +1 -0
- package/lib/imodel-components-react/timeline/SpeedTimeline.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/SpeedTimeline.scss +2 -4
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/Timeline.scss +7 -9
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/TimelineComponent.d.ts +1 -1
- package/lib/imodel-components-react/timeline/TimelineComponent.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/TimelineComponent.js +5 -5
- package/lib/imodel-components-react/timeline/TimelineComponent.js.map +1 -0
- package/lib/imodel-components-react/timeline/interfaces.d.ts.map +1 -0
- package/lib/imodel-components-react/timeline/interfaces.js.map +1 -0
- package/lib/imodel-components-react/useTranslation.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/useTranslation.js +2 -2
- package/lib/imodel-components-react/useTranslation.js.map +1 -0
- package/lib/imodel-components-react/viewport/ViewportComponent.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/viewport/ViewportComponent.js +1 -1
- package/lib/imodel-components-react/viewport/ViewportComponent.js.map +1 -0
- package/lib/{cjs/imodel-components-react → imodel-components-react}/viewport/ViewportComponentEvents.d.ts +1 -1
- package/lib/imodel-components-react/viewport/ViewportComponentEvents.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react → imodel-components-react}/viewport/ViewportComponentEvents.js +1 -1
- package/lib/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -0
- package/lib/imodel-components-react.d.ts +77 -0
- package/lib/imodel-components-react.d.ts.map +1 -0
- package/lib/imodel-components-react.js +90 -0
- package/lib/imodel-components-react.js.map +1 -0
- package/lib/internal.d.ts +2 -0
- package/lib/internal.d.ts.map +1 -0
- package/lib/{esm/imodel-components-react/navigationaids/Cube.scss → internal.js} +2 -15
- package/lib/internal.js.map +1 -0
- package/package.json +46 -36
- package/lib/cjs/imodel-components-react/UiIModelComponents.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/UiIModelComponents.js +0 -78
- package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/AlphaSlider.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/AlphaSlider.js +0 -182
- package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.js +0 -119
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +0 -90
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js +0 -76
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js +0 -141
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/HueSlider.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/HueSlider.js +0 -201
- package/lib/cjs/imodel-components-react/color/HueSlider.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/SaturationPicker.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/SaturationPicker.js +0 -197
- package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/Swatch.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/Swatch.js +0 -63
- package/lib/cjs/imodel-components-react/color/Swatch.js.map +0 -1
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js +0 -24
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +0 -1
- package/lib/cjs/imodel-components-react/editors/ColorEditor.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/editors/ColorEditor.js +0 -150
- package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +0 -1
- package/lib/cjs/imodel-components-react/editors/WeightEditor.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/editors/WeightEditor.js +0 -153
- package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +0 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.js +0 -94
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +0 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +0 -265
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +0 -1
- package/lib/cjs/imodel-components-react/lineweight/Swatch.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/lineweight/Swatch.js +0 -84
- package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +0 -1
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js +0 -160
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +0 -1
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +0 -51
- package/lib/cjs/imodel-components-react/navigationaids/Cube.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/navigationaids/Cube.js +0 -151
- package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +0 -1
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts +0 -153
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js +0 -683
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +0 -1
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +0 -179
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js +0 -736
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js +0 -112
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +0 -55
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js +0 -56
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +0 -94
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +0 -115
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +0 -117
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +0 -137
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js +0 -193
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js +0 -145
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js +0 -104
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js +0 -59
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js +0 -87
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js +0 -60
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js +0 -68
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js +0 -76
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js +0 -59
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js +0 -65
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +0 -106
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js +0 -135
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js +0 -150
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js +0 -64
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.js +0 -86
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +0 -24
- package/lib/cjs/imodel-components-react/timeline/PlayButton.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/PlayButton.js +0 -50
- package/lib/cjs/imodel-components-react/timeline/PlayButton.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/Scrubber.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/Scrubber.js +0 -185
- package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +0 -105
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.d.ts +0 -60
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js +0 -358
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +0 -45
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js +0 -57
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/Timeline.scss +0 -165
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts +0 -100
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js +0 -286
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/interfaces.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/timeline/interfaces.js +0 -46
- package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +0 -1
- package/lib/cjs/imodel-components-react/useTranslation.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/useTranslation.js +0 -52
- package/lib/cjs/imodel-components-react/useTranslation.js.map +0 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +0 -267
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +0 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js +0 -119
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +0 -1
- package/lib/cjs/imodel-components-react.d.ts +0 -80
- package/lib/cjs/imodel-components-react.d.ts.map +0 -1
- package/lib/cjs/imodel-components-react.js +0 -103
- package/lib/cjs/imodel-components-react.js.map +0 -1
- package/lib/esm/imodel-components-react/UiIModelComponents.d.ts +0 -29
- package/lib/esm/imodel-components-react/UiIModelComponents.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/UiIModelComponents.js.map +0 -1
- package/lib/esm/imodel-components-react/UiIModelComponents.json +0 -150
- package/lib/esm/imodel-components-react/color/AlphaSlider.d.ts +0 -36
- package/lib/esm/imodel-components-react/color/AlphaSlider.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +0 -1
- package/lib/esm/imodel-components-react/color/AlphaSlider.scss +0 -71
- package/lib/esm/imodel-components-react/color/ColorPickerButton.d.ts +0 -40
- package/lib/esm/imodel-components-react/color/ColorPickerButton.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +0 -1
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts +0 -26
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +0 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts +0 -47
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +0 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +0 -62
- package/lib/esm/imodel-components-react/color/HueSlider.d.ts +0 -25
- package/lib/esm/imodel-components-react/color/HueSlider.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/HueSlider.scss +0 -78
- package/lib/esm/imodel-components-react/color/SaturationPicker.d.ts +0 -23
- package/lib/esm/imodel-components-react/color/SaturationPicker.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +0 -1
- package/lib/esm/imodel-components-react/color/SaturationPicker.scss +0 -36
- package/lib/esm/imodel-components-react/color/Swatch.d.ts +0 -25
- package/lib/esm/imodel-components-react/color/Swatch.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/Swatch.scss +0 -22
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.d.ts +0 -7
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +0 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.d.ts +0 -42
- package/lib/esm/imodel-components-react/editors/ColorEditor.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +0 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.scss +0 -18
- package/lib/esm/imodel-components-react/editors/WeightEditor.d.ts +0 -44
- package/lib/esm/imodel-components-react/editors/WeightEditor.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +0 -1
- package/lib/esm/imodel-components-react/editors/WeightEditor.scss +0 -16
- package/lib/esm/imodel-components-react/inputs/QuantityInput.d.ts +0 -26
- package/lib/esm/imodel-components-react/inputs/QuantityInput.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts +0 -47
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +0 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +0 -106
- package/lib/esm/imodel-components-react/lineweight/Swatch.d.ts +0 -33
- package/lib/esm/imodel-components-react/lineweight/Swatch.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/lineweight/Swatch.scss +0 -48
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.d.ts +0 -59
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/Cube.d.ts +0 -46
- package/lib/esm/imodel-components-react/navigationaids/Cube.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts +0 -144
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +0 -1
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +0 -134
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.d.ts +0 -29
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.d.ts +0 -19
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.d.ts +0 -20
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatType.d.ts +0 -19
- package/lib/esm/imodel-components-react/quantityformat/FormatType.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.d.ts +0 -19
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.d.ts +0 -21
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.d.ts +0 -23
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts +0 -24
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts +0 -17
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.d.ts +0 -19
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts +0 -18
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.d.ts +0 -24
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.d.ts +0 -53
- package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts +0 -32
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/InlineEdit.d.ts +0 -27
- package/lib/esm/imodel-components-react/timeline/InlineEdit.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/PlayButton.d.ts +0 -12
- package/lib/esm/imodel-components-react/timeline/PlayButton.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/PlayButton.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/Scrubber.d.ts +0 -54
- package/lib/esm/imodel-components-react/timeline/Scrubber.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.d.ts +0 -16
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +0 -40
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +0 -1
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +0 -48
- package/lib/esm/imodel-components-react/timeline/interfaces.d.ts +0 -146
- package/lib/esm/imodel-components-react/timeline/interfaces.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/timeline/interfaces.js.map +0 -1
- package/lib/esm/imodel-components-react/useTranslation.d.ts +0 -7
- package/lib/esm/imodel-components-react/useTranslation.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/useTranslation.js.map +0 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts +0 -43
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +0 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts +0 -119
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.d.ts.map +0 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +0 -1
- package/lib/esm/imodel-components-react.d.ts +0 -80
- package/lib/esm/imodel-components-react.d.ts.map +0 -1
- package/lib/esm/imodel-components-react.js +0 -85
- package/lib/esm/imodel-components-react.js.map +0 -1
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/UiIModelComponents.json +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/AlphaSlider.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/AlphaSlider.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/ColorPickerButton.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/ColorPickerDialog.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/color/ColorPickerDialog.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/ColorPickerPopup.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/ColorPickerPopup.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/HueSlider.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/HueSlider.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/SaturationPicker.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/SaturationPicker.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/Swatch.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/Swatch.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/color/getCSSColorFromDef.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/color/getCSSColorFromDef.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/editors/ColorEditor.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/editors/WeightEditor.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/inputs/QuantityInput.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/inputs/QuantityNumberInput.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/inputs/QuantityNumberInput.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/lineweight/Swatch.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/lineweight/WeightPickerButton.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/navigationaids/Cube.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/navigationaids/Cube.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/navigationaids/Cube.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/navigationaids/DrawingNavigationAid.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/FormatPanel.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/FormatPrecision.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/FormatSample.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/FormatType.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/FormatUnitLabel.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/FormatUnits.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/MiscFormatOptions.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/QuantityFormatPanel.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/DecimalPrecision.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/DecimalSeparator.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/FractionPrecision.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/ScientificType.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/SignOption.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/StationSeparatorSelector.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/StationSizeSelector.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/ThousandsSelector.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/ThousandsSeparator.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/quantityformat/misc/UnitDescr.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/quantityformat/misc/UnitDescr.js +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/BaseSolarDataProvider.js +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/BaseTimelineDataProvider.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/InlineEdit.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/InlineEdit.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/PlayButton.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/SpeedTimeline.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/SpeedTimeline.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/TimelineComponent.scss +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/timeline/interfaces.d.ts +0 -0
- /package/lib/{esm/imodel-components-react → imodel-components-react}/timeline/interfaces.js +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/useTranslation.d.ts +0 -0
- /package/lib/{cjs/imodel-components-react → imodel-components-react}/viewport/ViewportComponent.d.ts +0 -0
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Scrubber = exports.useFocusedThumb = exports.CustomThumb = exports.RailMarkers = exports.getPercentageOfRectangle = void 0;
|
|
27
|
-
/*---------------------------------------------------------------------------------------------
|
|
28
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
29
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
30
|
-
*--------------------------------------------------------------------------------------------*/
|
|
31
|
-
require("./Scrubber.scss");
|
|
32
|
-
const React = __importStar(require("react"));
|
|
33
|
-
const itwinui_react_1 = require("@itwin/itwinui-react");
|
|
34
|
-
const core_react_1 = require("@itwin/core-react");
|
|
35
|
-
const components_react_1 = require("@itwin/components-react");
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
function getPercentageOfRectangle(rect, pointer) {
|
|
40
|
-
const position = Math.min(rect.right, Math.max(rect.left, pointer));
|
|
41
|
-
return (position - rect.left) / rect.width;
|
|
42
|
-
}
|
|
43
|
-
exports.getPercentageOfRectangle = getPercentageOfRectangle;
|
|
44
|
-
const formatDuration = (value) => {
|
|
45
|
-
const addZero = (i) => {
|
|
46
|
-
return i < 10 ? `0${i}` : i;
|
|
47
|
-
};
|
|
48
|
-
const date = new Date(value);
|
|
49
|
-
const minutes = date.getUTCMinutes();
|
|
50
|
-
const seconds = date.getUTCSeconds();
|
|
51
|
-
return `${addZero(minutes)}:${addZero(seconds)}`;
|
|
52
|
-
};
|
|
53
|
-
const formatDate = (startDate, endDate, fraction, timeZoneOffset) => {
|
|
54
|
-
const delta = (endDate.getTime() - startDate.getTime()) * fraction;
|
|
55
|
-
const date = new Date(startDate.getTime() + delta);
|
|
56
|
-
return (0, components_react_1.toDateString)(date, timeZoneOffset);
|
|
57
|
-
};
|
|
58
|
-
const formatTime = (startDate, endDate, fraction, timeZoneOffset) => {
|
|
59
|
-
const delta = (endDate.getTime() - startDate.getTime()) * fraction;
|
|
60
|
-
const date = new Date(startDate.getTime() + delta);
|
|
61
|
-
return ` ${(0, components_react_1.toTimeString)(date, timeZoneOffset)}`;
|
|
62
|
-
};
|
|
63
|
-
function generateToolTipText(showTime, percent, min, max, startDate, endDate, timeZoneOffset = 0) {
|
|
64
|
-
if (startDate && endDate)
|
|
65
|
-
return `${formatDate(startDate, endDate, percent, timeZoneOffset)}${showTime ? formatTime(startDate, endDate, percent, timeZoneOffset) : ""} `;
|
|
66
|
-
const val = Math.round(min + (max - min) * percent);
|
|
67
|
-
return formatDuration(val);
|
|
68
|
-
}
|
|
69
|
-
function getPercentageFromDate(startDate, endDate, date) {
|
|
70
|
-
const newDate = date ? date : new Date();
|
|
71
|
-
const startTime = startDate.getTime();
|
|
72
|
-
const totalDuration = endDate.getTime() - startTime;
|
|
73
|
-
return (newDate.getTime() - startTime) / totalDuration;
|
|
74
|
-
}
|
|
75
|
-
function getDateMarker(dateMarkerPropsIn, startDate, endDate) {
|
|
76
|
-
const percentage = getPercentageFromDate(startDate, endDate, dateMarkerPropsIn.date);
|
|
77
|
-
const marker = dateMarkerPropsIn.dateMarker ? (dateMarkerPropsIn.dateMarker) : (React.createElement("span", { className: "date-marker-default" }));
|
|
78
|
-
return { datePercentage: percentage, dateMarker: marker };
|
|
79
|
-
}
|
|
80
|
-
function markDateInTimelineRange(dateMarkerProps, startDate, endDate) {
|
|
81
|
-
if (dateMarkerProps && startDate && endDate) {
|
|
82
|
-
const inDate = dateMarkerProps.date ? dateMarkerProps.date : new Date();
|
|
83
|
-
if (inDate.getTime() >= startDate.getTime() &&
|
|
84
|
-
inDate.getTime() <= endDate.getTime())
|
|
85
|
-
return true;
|
|
86
|
-
}
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
/** @internal */
|
|
90
|
-
function RailMarkers({ showToolTip, percent, tooltipText, markDate, }) {
|
|
91
|
-
return (React.createElement("div", { className: "components-timeline-rail-marker-container" },
|
|
92
|
-
showToolTip && (React.createElement("div", { className: "components-timeline-tooltip", style: { left: `${Math.round(percent * 100)}% ` } },
|
|
93
|
-
React.createElement("span", { className: "tooltip-text" }, tooltipText))),
|
|
94
|
-
markDate && (React.createElement("div", { className: "components-timeline-date-marker", "data-testid": "test-date-marker", style: { left: `${Math.round(markDate.datePercentage * 100)}% ` } }, markDate.dateMarker))));
|
|
95
|
-
}
|
|
96
|
-
exports.RailMarkers = RailMarkers;
|
|
97
|
-
/**
|
|
98
|
-
* Custom Timeline Thumb
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
function CustomThumb() {
|
|
102
|
-
return (React.createElement("div", { className: "scrubber-handle" },
|
|
103
|
-
React.createElement("div", null),
|
|
104
|
-
React.createElement("div", null),
|
|
105
|
-
React.createElement("div", null)));
|
|
106
|
-
}
|
|
107
|
-
exports.CustomThumb = CustomThumb;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
function useFocusedThumb(sliderContainer) {
|
|
112
|
-
const [thumbElement, setThumbElement] = React.useState();
|
|
113
|
-
React.useLayoutEffect(() => {
|
|
114
|
-
if (!sliderContainer)
|
|
115
|
-
return;
|
|
116
|
-
const element = sliderContainer.querySelector(".components-timeline-thumb");
|
|
117
|
-
if (!element)
|
|
118
|
-
return;
|
|
119
|
-
setThumbElement(element);
|
|
120
|
-
}, [sliderContainer, thumbElement]);
|
|
121
|
-
const [thumbHasFocus, setThumbHasFocus] = React.useState(false);
|
|
122
|
-
const handleThumbFocus = React.useCallback(() => {
|
|
123
|
-
setThumbHasFocus(true);
|
|
124
|
-
}, []);
|
|
125
|
-
const handleThumbBlur = React.useCallback(() => {
|
|
126
|
-
setThumbHasFocus(false);
|
|
127
|
-
}, []);
|
|
128
|
-
(0, core_react_1.useEventListener)("focus", handleThumbFocus, thumbElement);
|
|
129
|
-
(0, core_react_1.useEventListener)("blur", handleThumbBlur, thumbElement);
|
|
130
|
-
return thumbHasFocus;
|
|
131
|
-
}
|
|
132
|
-
exports.useFocusedThumb = useFocusedThumb;
|
|
133
|
-
/** Scrubber/Slider for timeline control
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
function Scrubber(props) {
|
|
137
|
-
const { startDate, endDate, showTime, isPlaying, totalDuration, timeZoneOffset, currentDuration, className, onChange, onUpdate, trackContainerProps, } = props;
|
|
138
|
-
const [sliderContainer, setSliderContainer] = React.useState(null);
|
|
139
|
-
const [pointerPercent, setPointerPercent] = React.useState(0);
|
|
140
|
-
const tooltipProps = React.useCallback(() => {
|
|
141
|
-
return { visible: false };
|
|
142
|
-
}, []);
|
|
143
|
-
const [showRailTooltip, setShowRailTooltip] = React.useState(false);
|
|
144
|
-
const handlePointerEnter = React.useCallback(() => {
|
|
145
|
-
setShowRailTooltip(true);
|
|
146
|
-
}, []);
|
|
147
|
-
const handlePointerLeave = React.useCallback(() => {
|
|
148
|
-
setShowRailTooltip(false);
|
|
149
|
-
}, []);
|
|
150
|
-
const handlePointerMove = React.useCallback((event) => {
|
|
151
|
-
sliderContainer &&
|
|
152
|
-
setPointerPercent(getPercentageOfRectangle(sliderContainer.getBoundingClientRect(), event.clientX));
|
|
153
|
-
}, [sliderContainer]);
|
|
154
|
-
const thumbHasFocus = useFocusedThumb(sliderContainer ?? undefined);
|
|
155
|
-
const tickLabel = React.useMemo(() => {
|
|
156
|
-
const showTip = isPlaying || showRailTooltip || thumbHasFocus;
|
|
157
|
-
const percent = isPlaying || thumbHasFocus
|
|
158
|
-
? currentDuration / totalDuration
|
|
159
|
-
: pointerPercent;
|
|
160
|
-
const markDateInRange = markDateInTimelineRange(props.markDate, startDate, endDate);
|
|
161
|
-
const currentDateMarker = props.markDate && markDateInRange && startDate && endDate
|
|
162
|
-
? getDateMarker(props.markDate, startDate, endDate)
|
|
163
|
-
: undefined;
|
|
164
|
-
const tooltipText = generateToolTipText(!!showTime, percent, 0, totalDuration, startDate, endDate, timeZoneOffset);
|
|
165
|
-
return (React.createElement(RailMarkers, { showToolTip: showTip, percent: percent, tooltipText: tooltipText, markDate: currentDateMarker }));
|
|
166
|
-
}, [
|
|
167
|
-
isPlaying,
|
|
168
|
-
showRailTooltip,
|
|
169
|
-
currentDuration,
|
|
170
|
-
totalDuration,
|
|
171
|
-
pointerPercent,
|
|
172
|
-
startDate,
|
|
173
|
-
endDate,
|
|
174
|
-
timeZoneOffset,
|
|
175
|
-
showTime,
|
|
176
|
-
thumbHasFocus,
|
|
177
|
-
props.markDate,
|
|
178
|
-
]);
|
|
179
|
-
return (React.createElement(itwinui_react_1.Slider, { ref: setSliderContainer, className: className, step: 1, min: 0, max: totalDuration, minLabel: "", maxLabel: "", onUpdate: onUpdate, onChange: onChange, values: [currentDuration], tooltipProps: tooltipProps, thumbProps: () => ({
|
|
180
|
-
children: React.createElement(CustomThumb, null),
|
|
181
|
-
className: "components-timeline-thumb",
|
|
182
|
-
}), tickLabels: tickLabel, onPointerEnter: handlePointerEnter, onPointerMove: handlePointerMove, onPointerLeave: handlePointerLeave, trackContainerProps: trackContainerProps }));
|
|
183
|
-
}
|
|
184
|
-
exports.Scrubber = Scrubber;
|
|
185
|
-
//# sourceMappingURL=Scrubber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Scrubber.js","sourceRoot":"","sources":["../../../../src/imodel-components-react/timeline/Scrubber.t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ACpB,IAAI,EAAE,CAAC,EACP,GAAG,EAAE,CAAC,EACN,GAAG,EAAE,aAAa,EAClB,QAAQ,EAAC,EAAE,EACX,QAAQ,EAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,CAAC,eAAe,CAAC,EACzB,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;YACjB,QAAQ,EAAE,oBAAC,WAAW,OAAG;YACzB,SAAS,EAAE,2BAA2B;SACvC,CAAC,EACF,UAAU,EAAE,SAAS,EACrB,cAAc,EAAE,kBAAkB,EAClC,aAAa,EAAE,iBAAiB,EAChC,cAAc,EAAE,kBAAkB,EAClC,mBAAmB,EAAE,mBAAmB,GACxC,CACH,CAAC;AACJ,CAAC;AAtHD,4BAsHC","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 *--------------------------------------------------------------------------------------------*/\nimport \"./Scrubber.scss\";\nimport * as React from \"react\";\nimport { Slider } from \"@itwin/itwinui-react\";\nimport type { CommonProps } from \"@itwin/core-react\";\nimport { useEventListener } from \"@itwin/core-react\";\nimport { toDateString, toTimeString } from \"@itwin/components-react\";\nimport type { TimelineDateMarkerProps } from \"./TimelineComponent\";\n\n/**\n * @internal\n */\nexport function getPercentageOfRectangle(rect: DOMRect, pointer: number) {\n const position = Math.min(rect.right, Math.max(rect.left, pointer));\n return (position - rect.left) / rect.width;\n}\n\nconst formatDuration = (value: number) => {\n const addZero = (i: number) => {\n return i < 10 ? `0${i}` : i;\n };\n\n const date = new Date(value);\n const minutes = date.getUTCMinutes();\n const seconds = date.getUTCSeconds();\n return `${addZero(minutes)}:${addZero(seconds)}`;\n};\n\nconst formatDate = (\n startDate: Date,\n endDate: Date,\n fraction: number,\n timeZoneOffset?: number\n) => {\n const delta = (endDate.getTime() - startDate.getTime()) * fraction;\n const date = new Date(startDate.getTime() + delta);\n return toDateString(date, timeZoneOffset);\n};\n\nconst formatTime = (\n startDate: Date,\n endDate: Date,\n fraction: number,\n timeZoneOffset?: number\n) => {\n const delta = (endDate.getTime() - startDate.getTime()) * fraction;\n const date = new Date(startDate.getTime() + delta);\n return ` ${toTimeString(date, timeZoneOffset)}`;\n};\n\nfunction generateToolTipText(\n showTime: boolean,\n percent: number,\n min: number,\n max: number,\n startDate?: Date,\n endDate?: Date,\n timeZoneOffset = 0\n) {\n if (startDate && endDate)\n return `${formatDate(startDate, endDate, percent, timeZoneOffset)}${\n showTime ? formatTime(startDate, endDate, percent, timeZoneOffset) : \"\"\n } `;\n\n const val = Math.round(min + (max - min) * percent);\n return formatDuration(val);\n}\n\nfunction getPercentageFromDate(startDate: Date, endDate: Date, date?: Date) {\n const newDate = date ? date : new Date();\n const startTime = startDate.getTime();\n const totalDuration = endDate.getTime() - startTime;\n return (newDate.getTime() - startTime) / totalDuration;\n}\n\nfunction getDateMarker(\n dateMarkerPropsIn: TimelineDateMarkerProps,\n startDate: Date,\n endDate: Date\n): DateMarkerProps {\n const percentage = getPercentageFromDate(\n startDate,\n endDate,\n dateMarkerPropsIn.date\n );\n const marker = dateMarkerPropsIn.dateMarker ? (\n dateMarkerPropsIn.dateMarker\n ) : (\n <span className=\"date-marker-default\"></span>\n );\n return { datePercentage: percentage, dateMarker: marker };\n}\n\nfunction markDateInTimelineRange(\n dateMarkerProps?: TimelineDateMarkerProps,\n startDate?: Date,\n endDate?: Date\n): boolean {\n if (dateMarkerProps && startDate && endDate) {\n const inDate = dateMarkerProps.date ? dateMarkerProps.date : new Date();\n if (\n inDate.getTime() >= startDate.getTime() &&\n inDate.getTime() <= endDate.getTime()\n )\n return true;\n }\n return false;\n}\n\n/** @internal */\nexport function RailMarkers({\n showToolTip,\n percent,\n tooltipText,\n markDate,\n}: {\n showToolTip: boolean;\n percent: number;\n tooltipText: string;\n markDate?: DateMarkerProps;\n}) {\n return (\n <div className=\"components-timeline-rail-marker-container\">\n {showToolTip && (\n <div\n className=\"components-timeline-tooltip\"\n style={{ left: `${Math.round(percent * 100)}% ` }}\n >\n <span className=\"tooltip-text\">{tooltipText}</span>\n </div>\n )}\n {markDate && (\n <div\n className=\"components-timeline-date-marker\"\n data-testid=\"test-date-marker\"\n style={{ left: `${Math.round(markDate.datePercentage * 100)}% ` }}\n >\n {markDate.dateMarker}\n </div>\n )}\n </div>\n );\n}\n\n/**\n * Custom Timeline Thumb\n * @internal\n */\nexport function CustomThumb() {\n return (\n <div className=\"scrubber-handle\">\n <div />\n <div />\n <div />\n </div>\n );\n}\n\n/**\n * @internal\n */\nexport function useFocusedThumb(sliderContainer: HTMLDivElement | undefined) {\n const [thumbElement, setThumbElement] = React.useState<HTMLDivElement>();\n\n React.useLayoutEffect(() => {\n if (!sliderContainer) return;\n const element = sliderContainer.querySelector(\".components-timeline-thumb\");\n if (!element) return;\n setThumbElement(element as HTMLDivElement);\n }, [sliderContainer, thumbElement]);\n\n const [thumbHasFocus, setThumbHasFocus] = React.useState(false);\n\n const handleThumbFocus = React.useCallback(() => {\n setThumbHasFocus(true);\n }, []);\n\n const handleThumbBlur = React.useCallback(() => {\n setThumbHasFocus(false);\n }, []);\n\n useEventListener(\"focus\", handleThumbFocus, thumbElement);\n useEventListener(\"blur\", handleThumbBlur, thumbElement);\n return thumbHasFocus;\n}\n\n/** Properties for Scrubber/Slider used on timeline control\n * @internal\n */\n// eslint-disable-next-line deprecation/deprecation\nexport interface ScrubberProps extends CommonProps {\n currentDuration: number;\n totalDuration: number;\n isPlaying: boolean;\n startDate?: Date;\n endDate?: Date;\n showTime?: boolean;\n onChange?: (values: ReadonlyArray<number>) => void;\n onUpdate?: (values: ReadonlyArray<number>) => void;\n timeZoneOffset?: number;\n markDate?: TimelineDateMarkerProps;\n trackContainerProps?: React.ComponentProps<\n typeof Slider\n >[\"trackContainerProps\"];\n}\n\n/** Properties for marking current date in RailMarkers\n * @internal\n */\ninterface DateMarkerProps {\n datePercentage: number;\n dateMarker?: React.ReactNode;\n}\n/** Scrubber/Slider for timeline control\n * @internal\n */\nexport function Scrubber(props: ScrubberProps) {\n const {\n startDate,\n endDate,\n showTime,\n isPlaying,\n totalDuration,\n timeZoneOffset,\n currentDuration,\n className,\n onChange,\n onUpdate,\n trackContainerProps,\n } = props;\n\n const [sliderContainer, setSliderContainer] =\n React.useState<HTMLDivElement | null>(null);\n const [pointerPercent, setPointerPercent] = React.useState(0);\n\n const tooltipProps = React.useCallback(() => {\n return { visible: false };\n }, []);\n\n const [showRailTooltip, setShowRailTooltip] = React.useState(false);\n\n const handlePointerEnter = React.useCallback(() => {\n setShowRailTooltip(true);\n }, []);\n\n const handlePointerLeave = React.useCallback(() => {\n setShowRailTooltip(false);\n }, []);\n\n const handlePointerMove = React.useCallback(\n (event: React.PointerEvent) => {\n sliderContainer &&\n setPointerPercent(\n getPercentageOfRectangle(\n sliderContainer.getBoundingClientRect(),\n event.clientX\n )\n );\n },\n [sliderContainer]\n );\n\n const thumbHasFocus = useFocusedThumb(sliderContainer ?? undefined);\n\n const tickLabel = React.useMemo(() => {\n const showTip = isPlaying || showRailTooltip || thumbHasFocus;\n const percent =\n isPlaying || thumbHasFocus\n ? currentDuration / totalDuration\n : pointerPercent;\n const markDateInRange = markDateInTimelineRange(\n props.markDate,\n startDate,\n endDate\n );\n const currentDateMarker =\n props.markDate && markDateInRange && startDate && endDate\n ? getDateMarker(props.markDate, startDate, endDate)\n : undefined;\n const tooltipText = generateToolTipText(\n !!showTime,\n percent,\n 0,\n totalDuration,\n startDate,\n endDate,\n timeZoneOffset\n );\n return (\n <RailMarkers\n showToolTip={showTip}\n percent={percent}\n tooltipText={tooltipText}\n markDate={currentDateMarker}\n />\n );\n }, [\n isPlaying,\n showRailTooltip,\n currentDuration,\n totalDuration,\n pointerPercent,\n startDate,\n endDate,\n timeZoneOffset,\n showTime,\n thumbHasFocus,\n props.markDate,\n ]);\n\n return (\n <Slider\n ref={setSliderContainer}\n className={className}\n step={1}\n min={0}\n max={totalDuration}\n minLabel=\"\"\n maxLabel=\"\"\n onUpdate={onUpdate}\n onChange={onChange}\n values={[currentDuration]}\n tooltipProps={tooltipProps}\n thumbProps={() => ({\n children: <CustomThumb />,\n className: \"components-timeline-thumb\",\n })}\n tickLabels={tickLabel}\n onPointerEnter={handlePointerEnter}\n onPointerMove={handlePointerMove}\n onPointerLeave={handlePointerLeave}\n trackContainerProps={trackContainerProps}\n />\n );\n}\n"]}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
@import "~@itwin/core-react/lib/cjs/core-react/z-index";
|
|
6
|
-
|
|
7
|
-
.components-timeline-thumb {
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
align-items: center;
|
|
11
|
-
background-color: var(--iui-color-background);
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
width: 38px;
|
|
14
|
-
height: 20px;
|
|
15
|
-
border-radius: var(--iui-border-radius-1);
|
|
16
|
-
border: 1px solid var(--iui-color-border);
|
|
17
|
-
transform: translateX(-19.2px);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.components-timeline-rail-marker-container {
|
|
21
|
-
position: absolute;
|
|
22
|
-
width: 100%;
|
|
23
|
-
top: 0;
|
|
24
|
-
|
|
25
|
-
.components-timeline-tooltip {
|
|
26
|
-
@include uicore-z-index(tooltip);
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: -8px;
|
|
29
|
-
display: inline-block;
|
|
30
|
-
transform: translateX(-50px);
|
|
31
|
-
border-bottom: 1px dotted rgba(0, 0, 0, var(--iui-opacity-3));
|
|
32
|
-
font-size: 14px;
|
|
33
|
-
|
|
34
|
-
.tooltip-text {
|
|
35
|
-
width: 100px;
|
|
36
|
-
background-color: rgba(0, 0, 0, var(--iui-opacity-3));
|
|
37
|
-
color: #fff;
|
|
38
|
-
// opacity: 0.8;
|
|
39
|
-
text-align: center;
|
|
40
|
-
border-radius: 6px;
|
|
41
|
-
padding: 8px 0;
|
|
42
|
-
position: absolute;
|
|
43
|
-
z-index: 1;
|
|
44
|
-
bottom: 150%;
|
|
45
|
-
|
|
46
|
-
&:after {
|
|
47
|
-
content: "";
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: 100%;
|
|
50
|
-
left: 50%;
|
|
51
|
-
margin-left: -5px;
|
|
52
|
-
border-width: 5px;
|
|
53
|
-
border-style: solid;
|
|
54
|
-
border-color: rgba(0, 0, 0, var(--iui-opacity-3)) transparent
|
|
55
|
-
transparent transparent;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.scrubber-handle {
|
|
62
|
-
pointer-events: none;
|
|
63
|
-
position: absolute;
|
|
64
|
-
width: 38px;
|
|
65
|
-
height: 20px;
|
|
66
|
-
border-radius: var(--iui-border-radius-1);
|
|
67
|
-
display: flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
justify-content: center;
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
|
|
73
|
-
> div {
|
|
74
|
-
width: 1px;
|
|
75
|
-
height: 10px;
|
|
76
|
-
margin: 0 1px;
|
|
77
|
-
background-color: var(--iui-color-border-subtle);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.scrubber-track {
|
|
82
|
-
position: absolute;
|
|
83
|
-
top: 50%;
|
|
84
|
-
transform: translateY(-50%);
|
|
85
|
-
height: 4px;
|
|
86
|
-
z-index: 1;
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.components-timeline-date-marker {
|
|
91
|
-
pointer-events: none;
|
|
92
|
-
position: absolute;
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
justify-content: center;
|
|
96
|
-
transform: translateY(50%);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.date-marker-default {
|
|
100
|
-
height: 12px;
|
|
101
|
-
width: 3px;
|
|
102
|
-
border-radius: var(--iui-border-radius-1);
|
|
103
|
-
transform: translateY(1px);
|
|
104
|
-
background-color: var(--iui-color-border);
|
|
105
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/** @packageDocumentation
|
|
2
|
-
* @module Timeline
|
|
3
|
-
*/
|
|
4
|
-
import "./SolarTimeline.scss";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { ColorDef } from "@itwin/core-common";
|
|
7
|
-
import type { SolarDataProvider } from "./interfaces";
|
|
8
|
-
interface SolarTimelineComponentProps {
|
|
9
|
-
dataProvider: SolarDataProvider;
|
|
10
|
-
onPlayPause?: (playing: boolean) => void;
|
|
11
|
-
duration?: number;
|
|
12
|
-
speed?: number;
|
|
13
|
-
}
|
|
14
|
-
interface SolarTimelineComponentState {
|
|
15
|
-
isPlaying: boolean;
|
|
16
|
-
isDateOpened: boolean;
|
|
17
|
-
isSettingsOpened: boolean;
|
|
18
|
-
dayStartMs: number;
|
|
19
|
-
sunRiseOffsetMs: number;
|
|
20
|
-
sunSetOffsetMs: number;
|
|
21
|
-
sunDeltaMs: number;
|
|
22
|
-
currentTimeOffsetMs: number;
|
|
23
|
-
speed: number;
|
|
24
|
-
loop: boolean;
|
|
25
|
-
shadowColor: ColorDef;
|
|
26
|
-
duration: number;
|
|
27
|
-
adjustedDuration: number;
|
|
28
|
-
}
|
|
29
|
-
/** Solar Timeline
|
|
30
|
-
* @alpha
|
|
31
|
-
*/
|
|
32
|
-
export declare class SolarTimeline extends React.PureComponent<SolarTimelineComponentProps, SolarTimelineComponentState> {
|
|
33
|
-
private _requestFrame;
|
|
34
|
-
private _unmounted;
|
|
35
|
-
private _timeLastCycle;
|
|
36
|
-
private _totalPlayTime;
|
|
37
|
-
private readonly _presetColors;
|
|
38
|
-
private readonly _speeds;
|
|
39
|
-
constructor(props: SolarTimelineComponentProps);
|
|
40
|
-
componentWillUnmount(): void;
|
|
41
|
-
private _updateAnimation;
|
|
42
|
-
private _play;
|
|
43
|
-
private _onPause;
|
|
44
|
-
private _onPlay;
|
|
45
|
-
private setPlaybackTimeBySunTime;
|
|
46
|
-
private _onDateChange;
|
|
47
|
-
private _onCloseSettingsPopup;
|
|
48
|
-
private _onOpenSettingsPopup;
|
|
49
|
-
private ensureRange;
|
|
50
|
-
private processSunTimeChange;
|
|
51
|
-
private _onUpdate;
|
|
52
|
-
private _onChange;
|
|
53
|
-
private _onSpeedChange;
|
|
54
|
-
private _onToggleLoop;
|
|
55
|
-
private _formatTime;
|
|
56
|
-
getLocalTime(ticks: number): Date;
|
|
57
|
-
render(): React.JSX.Element;
|
|
58
|
-
}
|
|
59
|
-
export {};
|
|
60
|
-
//# sourceMappingURL=SolarTimeline.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SolarTimeline.d.ts","sourceRoot":"","sources":["../../../../src/imodel-components-react/timeline/SolarTimeline.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,sBAAsB,CAAC;AAE9B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAe,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AA4B3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AA8EtD,UAAU,2BAA2B;IACnC,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,2BAA2B;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;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