@twick/timeline 0.14.5 → 0.14.6
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/dist/index.js +25 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -0
- package/dist/index.mjs.map +1 -1
- package/dist/utils/constants.d.ts +35 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5,6 +5,30 @@
|
|
|
5
5
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
6
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
7
|
|
|
8
|
+
const INITIAL_TIMELINE_DATA = {
|
|
9
|
+
tracks: [
|
|
10
|
+
{
|
|
11
|
+
type: "element",
|
|
12
|
+
id: "t-sample",
|
|
13
|
+
name: "sample",
|
|
14
|
+
elements: [
|
|
15
|
+
{
|
|
16
|
+
id: "e-sample",
|
|
17
|
+
trackId: "t-sample",
|
|
18
|
+
name: "sample",
|
|
19
|
+
type: "text",
|
|
20
|
+
s: 0,
|
|
21
|
+
e: 5,
|
|
22
|
+
props: {
|
|
23
|
+
text: "Twick SDK",
|
|
24
|
+
fill: "#FFFFFF"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
version: 1
|
|
31
|
+
};
|
|
8
32
|
const PLAYER_STATE = {
|
|
9
33
|
/** Player is refreshing/reloading content */
|
|
10
34
|
REFRESH: "Refresh",
|
|
@@ -22938,6 +22962,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
22938
22962
|
exports2.ElementTextEffect = ElementTextEffect;
|
|
22939
22963
|
exports2.ElementUpdater = ElementUpdater;
|
|
22940
22964
|
exports2.ElementValidator = ElementValidator;
|
|
22965
|
+
exports2.INITIAL_TIMELINE_DATA = INITIAL_TIMELINE_DATA;
|
|
22941
22966
|
exports2.IconElement = IconElement;
|
|
22942
22967
|
exports2.ImageElement = ImageElement;
|
|
22943
22968
|
exports2.PLAYER_STATE = PLAYER_STATE;
|