@car-cutter/next-webplayer 3.0.0 → 3.0.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/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";var t=Object.create;var r=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var o=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var s=(E,O,T,A)=>{if(O&&typeof O=="object"||typeof O=="function")for(let e of I(O))!L.call(E,e)&&e!==T&&r(E,e,{get:()=>O[e],enumerable:!(A=C(O,e))||A.enumerable});return E};var N=(E,O,T)=>(T=E!=null?t(o(E)):{},s(O||!E||!E.__esModule?r(T,"default",{value:E,enumerable:!0}):T,E));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("next/dynamic"),_=require("./utils-CbTbWQZC.cjs"),V=P(()=>import("@car-cutter/react-webplayer").then(E=>E.WebPlayer),{ssr:!1}),W=P(()=>import("@car-cutter/react-webplayer").then(E=>E.WebPlayerCustomMedia),{ssr:!1}),a=P(()=>import("@car-cutter/react-webplayer").then(E=>E.WebPlayerIcon),{ssr:!1});exports.DEFAULT_EVENT_PREFIX=_.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=_.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=_.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=_.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=_.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=_.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=_.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=_.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=_.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=_.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=_.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=_.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=_.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=_.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=_.generateCompositionUrl;exports.WebPlayer=V;exports.WebPlayerCustomMedia=W;exports.WebPlayerIcon=a;
1
+ "use client";"use strict";var P=Object.create;var C=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var r=Object.getPrototypeOf,t=Object.prototype.hasOwnProperty;var S=(_,T,N,I)=>{if(T&&typeof T=="object"||typeof T=="function")for(let O of V(T))!t.call(_,O)&&O!==N&&C(_,O,{get:()=>T[O],enumerable:!(I=L(T,O))||I.enumerable});return _};var e=(_,T,N)=>(N=_!=null?P(r(_)):{},S(T||!_||!_.__esModule?C(N,"default",{value:_,enumerable:!0}):N,_));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("next/dynamic"),E=require("./utils-BpzJysIS.cjs"),o=A(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayer),{ssr:!1}),s=A(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayerCustomMedia),{ssr:!1}),D=A(()=>import("@car-cutter/react-webplayer").then(_=>_.WebPlayerIcon),{ssr:!1});exports.ANALYTICS_EVENT_IDENTIFY=E.ANALYTICS_EVENT_IDENTIFY;exports.ANALYTICS_EVENT_PAGE=E.ANALYTICS_EVENT_PAGE;exports.ANALYTICS_EVENT_TRACK=E.ANALYTICS_EVENT_TRACK;exports.DEFAULT_EVENT_PREFIX=E.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=E.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=E.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=E.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=E.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=E.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=E.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=E.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=E.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=E.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=E.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=E.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=E.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=E.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=E.generateCompositionUrl;exports.WebPlayer=o;exports.WebPlayerCustomMedia=s;exports.WebPlayerIcon=D;
package/dist/index.d.ts CHANGED
@@ -4,6 +4,12 @@ import { WebPlayerCustomMediaProps } from '@car-cutter/react-webplayer';
4
4
  import { WebPlayerIconProps } from '@car-cutter/react-webplayer';
5
5
  import { WebPlayerProps } from '@car-cutter/react-webplayer';
6
6
 
7
+ export declare const ANALYTICS_EVENT_IDENTIFY = "analytics-identify";
8
+
9
+ export declare const ANALYTICS_EVENT_PAGE = "analytics-page";
10
+
11
+ export declare const ANALYTICS_EVENT_TRACK = "analytics-track";
12
+
7
13
  declare type AspectRatio = `${number}:${number}`;
8
14
 
9
15
  declare type Category = {
@@ -44,7 +50,7 @@ export declare const EVENT_ITEM_CHANGE = "item-change";
44
50
  /**
45
51
  * Generates a URL for fetching the composition JSON for a given customer and vehicle.
46
52
  *
47
- * @param {string} customerToken - The CarCutter Customer Token (computed by hasing the Customer ID with SHA-256).
53
+ * @param {string} customerToken - The CarCutter Customer Token (computed by hashing the Customer ID with SHA-256).
48
54
  * @param {string} vin - The Vehicle Identification Number.
49
55
  * @returns {string} The URL to fetch the composition JSON.
50
56
  */
@@ -59,6 +65,7 @@ declare type Hotspot = {
59
65
  title: string;
60
66
  icon?: string;
61
67
  description?: string;
68
+ type?: "damage" | "feature";
62
69
  position: {
63
70
  x: number;
64
71
  y: number;
package/dist/index.js CHANGED
@@ -1,33 +1,36 @@
1
1
  "use client";
2
2
  import _ from "next/dynamic";
3
- import { D as r, c as o, E as t, d as P, g as A, f as C, k as I, j as W, i as l, h as n, e as L, a as i, b as D, W as V, l as m } from "./utils-CvBJsRf5.js";
4
- const a = _(
3
+ import { A, l as r, m as o, D as I, c as t, E as C, d as P, g as L, f as V, k as n, j as W, i as l, h as D, e as S, a as i, b as m, W as M, n as R } from "./utils-fWKvKx03.js";
4
+ const T = _(
5
5
  () => import("@car-cutter/react-webplayer").then((E) => E.WebPlayer),
6
6
  { ssr: !1 }
7
- ), e = _(
7
+ ), a = _(
8
8
  () => import("@car-cutter/react-webplayer").then((E) => E.WebPlayerCustomMedia),
9
9
  { ssr: !1 }
10
- ), O = _(
10
+ ), N = _(
11
11
  () => import("@car-cutter/react-webplayer").then((E) => E.WebPlayerIcon),
12
12
  { ssr: !1 }
13
13
  );
14
14
  export {
15
- r as DEFAULT_EVENT_PREFIX,
16
- o as EVENT_COMPOSITION_LOADED,
17
- t as EVENT_COMPOSITION_LOADING,
15
+ A as ANALYTICS_EVENT_IDENTIFY,
16
+ r as ANALYTICS_EVENT_PAGE,
17
+ o as ANALYTICS_EVENT_TRACK,
18
+ I as DEFAULT_EVENT_PREFIX,
19
+ t as EVENT_COMPOSITION_LOADED,
20
+ C as EVENT_COMPOSITION_LOADING,
18
21
  P as EVENT_COMPOSITION_LOAD_ERROR,
19
- A as EVENT_EXTEND_MODE_OFF,
20
- C as EVENT_EXTEND_MODE_ON,
21
- I as EVENT_GALLERY_CLOSE,
22
+ L as EVENT_EXTEND_MODE_OFF,
23
+ V as EVENT_EXTEND_MODE_ON,
24
+ n as EVENT_GALLERY_CLOSE,
22
25
  W as EVENT_GALLERY_OPEN,
23
26
  l as EVENT_HOTSPOTS_OFF,
24
- n as EVENT_HOTSPOTS_ON,
25
- L as EVENT_ITEM_CHANGE,
27
+ D as EVENT_HOTSPOTS_ON,
28
+ S as EVENT_ITEM_CHANGE,
26
29
  i as WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,
27
- D as WEB_PLAYER_ICON_WC_TAG,
28
- V as WEB_PLAYER_WC_TAG,
29
- a as WebPlayer,
30
- e as WebPlayerCustomMedia,
31
- O as WebPlayerIcon,
32
- m as generateCompositionUrl
30
+ m as WEB_PLAYER_ICON_WC_TAG,
31
+ M as WEB_PLAYER_WC_TAG,
32
+ T as WebPlayer,
33
+ a as WebPlayerCustomMedia,
34
+ N as WebPlayerIcon,
35
+ R as generateCompositionUrl
33
36
  };
package/dist/legacy.cjs CHANGED
@@ -1 +1 @@
1
- "use client";"use strict";var t=Object.create;var r=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var o=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var s=(E,O,T,A)=>{if(O&&typeof O=="object"||typeof O=="function")for(let e of I(O))!L.call(E,e)&&e!==T&&r(E,e,{get:()=>O[e],enumerable:!(A=C(O,e))||A.enumerable});return E};var N=(E,O,T)=>(T=E!=null?t(o(E)):{},s(O||!E||!E.__esModule?r(T,"default",{value:E,enumerable:!0}):T,E));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("next/dynamic"),_=require("./utils-CbTbWQZC.cjs"),V=P(()=>import("@car-cutter/react-webplayer/legacy").then(E=>E.WebPlayer),{ssr:!1}),W=P(()=>import("@car-cutter/react-webplayer/legacy").then(E=>E.WebPlayerCustomMedia),{ssr:!1}),a=P(()=>import("@car-cutter/react-webplayer/legacy").then(E=>E.WebPlayerIcon),{ssr:!1});exports.DEFAULT_EVENT_PREFIX=_.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=_.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=_.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=_.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=_.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=_.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=_.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=_.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=_.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=_.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=_.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=_.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=_.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=_.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=_.generateCompositionUrl;exports.WebPlayer=V;exports.WebPlayerCustomMedia=W;exports.WebPlayerIcon=a;
1
+ "use client";"use strict";var P=Object.create;var C=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var r=Object.getPrototypeOf,t=Object.prototype.hasOwnProperty;var S=(_,T,N,I)=>{if(T&&typeof T=="object"||typeof T=="function")for(let O of V(T))!t.call(_,O)&&O!==N&&C(_,O,{get:()=>T[O],enumerable:!(I=L(T,O))||I.enumerable});return _};var e=(_,T,N)=>(N=_!=null?P(r(_)):{},S(T||!_||!_.__esModule?C(N,"default",{value:_,enumerable:!0}):N,_));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("next/dynamic"),E=require("./utils-BpzJysIS.cjs"),o=A(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayer),{ssr:!1}),s=A(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayerCustomMedia),{ssr:!1}),D=A(()=>import("@car-cutter/react-webplayer/legacy").then(_=>_.WebPlayerIcon),{ssr:!1});exports.ANALYTICS_EVENT_IDENTIFY=E.ANALYTICS_EVENT_IDENTIFY;exports.ANALYTICS_EVENT_PAGE=E.ANALYTICS_EVENT_PAGE;exports.ANALYTICS_EVENT_TRACK=E.ANALYTICS_EVENT_TRACK;exports.DEFAULT_EVENT_PREFIX=E.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=E.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=E.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=E.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=E.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=E.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=E.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=E.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=E.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=E.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=E.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=E.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG;exports.WEB_PLAYER_ICON_WC_TAG=E.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=E.WEB_PLAYER_WC_TAG;exports.generateCompositionUrl=E.generateCompositionUrl;exports.WebPlayer=o;exports.WebPlayerCustomMedia=s;exports.WebPlayerIcon=D;
package/dist/legacy.d.ts CHANGED
@@ -7,6 +7,12 @@ import { WebPlayerIconProps as WebPlayerIconProps_2 } from '@car-cutter/react-we
7
7
  import { WebPlayerProps } from '@car-cutter/react-webplayer';
8
8
  import { WebPlayerProps as WebPlayerProps_2 } from '@car-cutter/react-webplayer/legacy';
9
9
 
10
+ export declare const ANALYTICS_EVENT_IDENTIFY = "analytics-identify";
11
+
12
+ export declare const ANALYTICS_EVENT_PAGE = "analytics-page";
13
+
14
+ export declare const ANALYTICS_EVENT_TRACK = "analytics-track";
15
+
10
16
  declare type AspectRatio = `${number}:${number}`;
11
17
 
12
18
  declare type Category = {
@@ -47,7 +53,7 @@ export declare const EVENT_ITEM_CHANGE = "item-change";
47
53
  /**
48
54
  * Generates a URL for fetching the composition JSON for a given customer and vehicle.
49
55
  *
50
- * @param {string} customerToken - The CarCutter Customer Token (computed by hasing the Customer ID with SHA-256).
56
+ * @param {string} customerToken - The CarCutter Customer Token (computed by hashing the Customer ID with SHA-256).
51
57
  * @param {string} vin - The Vehicle Identification Number.
52
58
  * @returns {string} The URL to fetch the composition JSON.
53
59
  */
@@ -62,6 +68,7 @@ declare type Hotspot = {
62
68
  title: string;
63
69
  icon?: string;
64
70
  description?: string;
71
+ type?: "damage" | "feature";
65
72
  position: {
66
73
  x: number;
67
74
  y: number;
package/dist/legacy.js CHANGED
@@ -1,35 +1,38 @@
1
1
  "use client";
2
2
  import _ from "next/dynamic";
3
- import { D as r, c as o, E as t, d as P, g as A, f as C, k as I, j as W, i as l, h as n, e as L, a as i, b as D, W as V, l as m } from "./utils-CvBJsRf5.js";
4
- const a = _(
3
+ import { A, l as r, m as o, D as I, c as t, E as C, d as P, g as L, f as V, k as n, j as W, i as l, h as D, e as S, a as i, b as m, W as M, n as R } from "./utils-fWKvKx03.js";
4
+ const T = _(
5
5
  () => import("@car-cutter/react-webplayer/legacy").then((E) => E.WebPlayer),
6
6
  { ssr: !1 }
7
- ), e = _(
7
+ ), a = _(
8
8
  () => import("@car-cutter/react-webplayer/legacy").then(
9
9
  (E) => E.WebPlayerCustomMedia
10
10
  ),
11
11
  { ssr: !1 }
12
- ), O = _(
12
+ ), N = _(
13
13
  () => import("@car-cutter/react-webplayer/legacy").then((E) => E.WebPlayerIcon),
14
14
  { ssr: !1 }
15
15
  );
16
16
  export {
17
- r as DEFAULT_EVENT_PREFIX,
18
- o as EVENT_COMPOSITION_LOADED,
19
- t as EVENT_COMPOSITION_LOADING,
17
+ A as ANALYTICS_EVENT_IDENTIFY,
18
+ r as ANALYTICS_EVENT_PAGE,
19
+ o as ANALYTICS_EVENT_TRACK,
20
+ I as DEFAULT_EVENT_PREFIX,
21
+ t as EVENT_COMPOSITION_LOADED,
22
+ C as EVENT_COMPOSITION_LOADING,
20
23
  P as EVENT_COMPOSITION_LOAD_ERROR,
21
- A as EVENT_EXTEND_MODE_OFF,
22
- C as EVENT_EXTEND_MODE_ON,
23
- I as EVENT_GALLERY_CLOSE,
24
+ L as EVENT_EXTEND_MODE_OFF,
25
+ V as EVENT_EXTEND_MODE_ON,
26
+ n as EVENT_GALLERY_CLOSE,
24
27
  W as EVENT_GALLERY_OPEN,
25
28
  l as EVENT_HOTSPOTS_OFF,
26
- n as EVENT_HOTSPOTS_ON,
27
- L as EVENT_ITEM_CHANGE,
29
+ D as EVENT_HOTSPOTS_ON,
30
+ S as EVENT_ITEM_CHANGE,
28
31
  i as WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,
29
- D as WEB_PLAYER_ICON_WC_TAG,
30
- V as WEB_PLAYER_WC_TAG,
31
- a as WebPlayer,
32
- e as WebPlayerCustomMedia,
33
- O as WebPlayerIcon,
34
- m as generateCompositionUrl
32
+ m as WEB_PLAYER_ICON_WC_TAG,
33
+ M as WEB_PLAYER_WC_TAG,
34
+ T as WebPlayer,
35
+ a as WebPlayerCustomMedia,
36
+ N as WebPlayerIcon,
37
+ R as generateCompositionUrl
35
38
  };
@@ -0,0 +1 @@
1
+ "use strict";const T="cc-webplayer",N="cc-webplayer-custom-media",o="cc-webplayer-icon",O="composition-loading",t="composition-loaded",A="composition-load-error",c="item-change",n="extend-mode-on",s="extend-mode-off",e="hotspots-on",I="hotspots-off",C="gallery-open",L="gallery-close",V="analytics-identify",S="analytics-page",a="analytics-track",i="cc-webplayer:";function D(E,_){return`https://cdn.car-cutter.com/gallery/${E}/${_}/composition_v3.json`}exports.ANALYTICS_EVENT_IDENTIFY=V;exports.ANALYTICS_EVENT_PAGE=S;exports.ANALYTICS_EVENT_TRACK=a;exports.DEFAULT_EVENT_PREFIX=i;exports.EVENT_COMPOSITION_LOADED=t;exports.EVENT_COMPOSITION_LOADING=O;exports.EVENT_COMPOSITION_LOAD_ERROR=A;exports.EVENT_EXTEND_MODE_OFF=s;exports.EVENT_EXTEND_MODE_ON=n;exports.EVENT_GALLERY_CLOSE=L;exports.EVENT_GALLERY_OPEN=C;exports.EVENT_HOTSPOTS_OFF=I;exports.EVENT_HOTSPOTS_ON=e;exports.EVENT_ITEM_CHANGE=c;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=N;exports.WEB_PLAYER_ICON_WC_TAG=o;exports.WEB_PLAYER_WC_TAG=T;exports.generateCompositionUrl=D;
@@ -0,0 +1,24 @@
1
+ const s = "cc-webplayer", _ = "cc-webplayer-custom-media", c = "cc-webplayer-icon", t = "composition-loading", a = "composition-loaded", n = "composition-load-error", T = "item-change", e = "extend-mode-on", N = "extend-mode-off", O = "hotspots-on", A = "hotspots-off", i = "gallery-open", l = "gallery-close", r = "analytics-identify", I = "analytics-page", p = "analytics-track", C = "cc-webplayer:";
2
+ function L(o, E) {
3
+ return `https://cdn.car-cutter.com/gallery/${o}/${E}/composition_v3.json`;
4
+ }
5
+ export {
6
+ r as A,
7
+ C as D,
8
+ t as E,
9
+ s as W,
10
+ _ as a,
11
+ c as b,
12
+ a as c,
13
+ n as d,
14
+ T as e,
15
+ e as f,
16
+ N as g,
17
+ O as h,
18
+ A as i,
19
+ i as j,
20
+ l as k,
21
+ I as l,
22
+ p as m,
23
+ L as n
24
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@car-cutter/next-webplayer",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "license": "Apache-2.0",
5
5
  "author": {
6
6
  "name": "CarCutter",
@@ -41,7 +41,7 @@
41
41
  "analyze": "vite-bundle-visualizer"
42
42
  },
43
43
  "dependencies": {
44
- "@car-cutter/react-webplayer": "3.0.0"
44
+ "@car-cutter/react-webplayer": "3.0.2"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "next": ">=10"
@@ -1 +0,0 @@
1
- "use strict";const O="cc-webplayer",o="cc-webplayer-custom-media",T="cc-webplayer-icon",N="composition-loading",t="composition-loaded",c="composition-load-error",n="item-change",e="extend-mode-on",s="extend-mode-off",A="hotspots-on",L="hotspots-off",C="gallery-open",I="gallery-close",V="cc-webplayer:";function D(E,_){return`https://cdn.car-cutter.com/gallery/${E}/${_}/composition_v3.json`}exports.DEFAULT_EVENT_PREFIX=V;exports.EVENT_COMPOSITION_LOADED=t;exports.EVENT_COMPOSITION_LOADING=N;exports.EVENT_COMPOSITION_LOAD_ERROR=c;exports.EVENT_EXTEND_MODE_OFF=s;exports.EVENT_EXTEND_MODE_ON=e;exports.EVENT_GALLERY_CLOSE=I;exports.EVENT_GALLERY_OPEN=C;exports.EVENT_HOTSPOTS_OFF=L;exports.EVENT_HOTSPOTS_ON=A;exports.EVENT_ITEM_CHANGE=n;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=o;exports.WEB_PLAYER_ICON_WC_TAG=T;exports.WEB_PLAYER_WC_TAG=O;exports.generateCompositionUrl=D;
@@ -1,21 +0,0 @@
1
- const s = "cc-webplayer", _ = "cc-webplayer-custom-media", c = "cc-webplayer-icon", t = "composition-loading", n = "composition-loaded", e = "composition-load-error", a = "item-change", O = "extend-mode-on", T = "extend-mode-off", N = "hotspots-on", r = "hotspots-off", i = "gallery-open", l = "gallery-close", p = "cc-webplayer:";
2
- function A(o, E) {
3
- return `https://cdn.car-cutter.com/gallery/${o}/${E}/composition_v3.json`;
4
- }
5
- export {
6
- p as D,
7
- t as E,
8
- s as W,
9
- _ as a,
10
- c as b,
11
- n as c,
12
- e as d,
13
- a as e,
14
- O as f,
15
- T as g,
16
- N as h,
17
- r as i,
18
- i as j,
19
- l as k,
20
- A as l
21
- };