ebta-workflow-prod 4.1.10 → 4.1.11

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ebta-workflow-prod",
3
3
  "private": false,
4
- "version": "4.1.10",
4
+ "version": "4.1.11",
5
5
  "description": "",
6
6
  "license": "UNLICENSED",
7
7
  "author": "",
@@ -7,6 +7,15 @@ type ColorFormat = "hex" | "rgba" | "rgb" | "hsl" | "hsla";
7
7
  //import "@mantine/core/styles.css";
8
8
  //Causing shrink
9
9
 
10
+ import "@mantine/core/styles/Input.css";
11
+ import "@mantine/core/styles/ColorInput.css";
12
+ import "@mantine/core/styles/ColorPicker.css";
13
+ import "@mantine/core/styles/ColorSwatch.css";
14
+ import "@mantine/core/styles/Popover.css";
15
+ import "@mantine/core/styles/Paper.css";
16
+ import "@mantine/core/styles/ActionIcon.css";
17
+ import "@mantine/core/styles/UnstyledButton.css";
18
+
10
19
  import Color from "@arcgis/core/Color";
11
20
 
12
21
 
@@ -140,7 +140,7 @@ function formatTime(seconds: number): string {
140
140
 
141
141
  const DEFAULT_RESOLUTIONS: VideoResolution[] = [
142
142
  // The first source is used by the player when `value` is empty.
143
- { label: "1280x640", url: "//win11assets.blob.core.windows.net/playbookicon/260917_BR120.mp4" },
143
+ { label: "1280x640", url: "//www.marzipano.net/media/video/mercedes-f1-2880x1440.mp4" },
144
144
  ];
145
145
 
146
146
  /** Widest vertical field of view the user can zoom out to. */
@@ -710,6 +710,14 @@ video.removeEventListener("progress", onProgress);
710
710
  value={Math.min(currentTime, duration)}
711
711
  disabled={duration <= 0}
712
712
  onChange={(event) => seekTo(Number(event.currentTarget.value))}
713
+ onClick={(event) => {
714
+ const rect = event.currentTarget.getBoundingClientRect();
715
+ if (rect.width === 0 || duration <= 0) {
716
+ return;
717
+ }
718
+ const percent = Math.max(0, Math.min(1, (event.clientX - rect.left) / rect.width));
719
+ seekTo(percent * duration);
720
+ }}
713
721
  style={timelineStyle}
714
722
  aria-label="Video progress"
715
723
  aria-valuetext={`${formatTime(currentTime)} of ${formatTime(duration)}`}
@@ -35,6 +35,4 @@ const sampleInputDEVElementRegistration: FormElementRegistration<sampleInputDEVP
35
35
  id: "sampleInputDEV",
36
36
  };
37
37
 
38
-
39
- export default sampleInputDEVElementRegistration;
40
-
38
+ export default sampleInputDEVElementRegistration;