@axinom/mosaic-managed-workflow-integration 0.25.8-rc.0 → 0.25.8-rc.1

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.
Files changed (55) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +0 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/piral-extensions.d.ts +0 -9
  6. package/dist/piral-extensions.d.ts.map +1 -1
  7. package/dist/tsconfig.tsbuildinfo +1 -1
  8. package/package.json +4 -4
  9. package/src/index.ts +0 -1
  10. package/src/piral-extensions.ts +0 -30
  11. package/dist/video/index.d.ts +0 -5
  12. package/dist/video/index.d.ts.map +0 -1
  13. package/dist/video/index.js +0 -21
  14. package/dist/video/index.js.map +0 -1
  15. package/dist/video/types/index.d.ts +0 -5
  16. package/dist/video/types/index.d.ts.map +0 -1
  17. package/dist/video/types/index.js +0 -21
  18. package/dist/video/types/index.js.map +0 -1
  19. package/dist/video/types/video-extensions.d.ts +0 -8
  20. package/dist/video/types/video-extensions.d.ts.map +0 -1
  21. package/dist/video/types/video-extensions.js +0 -3
  22. package/dist/video/types/video-extensions.js.map +0 -1
  23. package/dist/video/types/video-route-resolvers.d.ts +0 -4
  24. package/dist/video/types/video-route-resolvers.d.ts.map +0 -1
  25. package/dist/video/types/video-route-resolvers.js +0 -3
  26. package/dist/video/types/video-route-resolvers.js.map +0 -1
  27. package/dist/video/types/video-select-explorer.d.ts +0 -95
  28. package/dist/video/types/video-select-explorer.d.ts.map +0 -1
  29. package/dist/video/types/video-select-explorer.js +0 -41
  30. package/dist/video/types/video-select-explorer.js.map +0 -1
  31. package/dist/video/types/video-select-field.d.ts +0 -20
  32. package/dist/video/types/video-select-field.d.ts.map +0 -1
  33. package/dist/video/types/video-select-field.js +0 -3
  34. package/dist/video/types/video-select-field.js.map +0 -1
  35. package/dist/video/video-cue-points.d.ts +0 -25
  36. package/dist/video/video-cue-points.d.ts.map +0 -1
  37. package/dist/video/video-cue-points.js +0 -18
  38. package/dist/video/video-cue-points.js.map +0 -1
  39. package/dist/video/video-extensions.d.ts +0 -7
  40. package/dist/video/video-extensions.d.ts.map +0 -1
  41. package/dist/video/video-extensions.js +0 -21
  42. package/dist/video/video-extensions.js.map +0 -1
  43. package/dist/video/video-station-names.d.ts +0 -4
  44. package/dist/video/video-station-names.d.ts.map +0 -1
  45. package/dist/video/video-station-names.js +0 -8
  46. package/dist/video/video-station-names.js.map +0 -1
  47. package/src/video/index.ts +0 -4
  48. package/src/video/types/index.ts +0 -4
  49. package/src/video/types/video-extensions.ts +0 -7
  50. package/src/video/types/video-route-resolvers.ts +0 -1
  51. package/src/video/types/video-select-explorer.ts +0 -98
  52. package/src/video/types/video-select-field.ts +0 -26
  53. package/src/video/video-cue-points.ts +0 -39
  54. package/src/video/video-extensions.tsx +0 -34
  55. package/src/video/video-station-names.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-managed-workflow-integration",
3
- "version": "0.25.8-rc.0",
3
+ "version": "0.25.8-rc.1",
4
4
  "description": "Shared types and helpers for integrating functionality provided by managed service workflows",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -23,8 +23,8 @@
23
23
  "lint": "eslint . --ext .ts,.tsx,.js --color --cache"
24
24
  },
25
25
  "devDependencies": {
26
- "@axinom/mosaic-portal": "^0.41.8-rc.0",
27
- "@axinom/mosaic-ui": "^0.65.0-rc.0",
26
+ "@axinom/mosaic-portal": "^0.41.8-rc.1",
27
+ "@axinom/mosaic-ui": "^0.65.0-rc.1",
28
28
  "@types/react": "^17",
29
29
  "@types/react-dom": "^17",
30
30
  "eslint": "^8.35.0",
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "51cebd936bdc8ab8ca7ef6f35a1152ba64c0fefa"
45
+ "gitHead": "e0d14e838bd4adb3476dd12bfaab15588d8dfa1e"
46
46
  }
package/src/index.ts CHANGED
@@ -5,4 +5,3 @@ export * from './image';
5
5
  export { initializeIntegrationLib } from './initialize';
6
6
  export * from './localization';
7
7
  export * from './piral-extensions';
8
- export * from './video';
@@ -4,42 +4,12 @@ import {
4
4
  ImageSelectExplorerProps,
5
5
  ImageSelectFieldProps,
6
6
  } from './image';
7
- import {
8
- VideoDetailsStationDynamicSegments,
9
- VideoSelectExplorerProps,
10
- VideoSelectFieldProps,
11
- VideoStationNames,
12
- } from './video';
13
7
 
14
8
  declare module '@axinom/mosaic-portal' {
15
- // Piral custom extension slot map
16
9
  export interface PiralCustomExtensionSlotMap {
17
10
  'image-cover': ImageCoverProps;
18
11
  'image-select-field': ImageSelectFieldProps;
19
12
  'image-preview': ImagePreviewProps;
20
13
  'image-select-explorer': ImageSelectExplorerProps;
21
- 'video-select-explorer': VideoSelectExplorerProps;
22
- 'video-select-field': VideoSelectFieldProps;
23
- }
24
-
25
- //#region route resolvers for video stations
26
- // video details station resolver registration
27
- interface RegistrationFunction {
28
- (
29
- station: VideoStationNames.VideoDetails,
30
- resolver: (
31
- dynamicRouteSegments: VideoDetailsStationDynamicSegments,
32
- ) => void,
33
- ): string | undefined;
34
14
  }
35
- // video details station resolver function
36
- interface ResolverFunction {
37
- (
38
- station: VideoStationNames.VideoDetails,
39
- dynamicRouteSegments: VideoDetailsStationDynamicSegments,
40
- ): string | undefined;
41
- }
42
- //#endregion
43
-
44
- //#endregion
45
15
  }
@@ -1,5 +0,0 @@
1
- export * from './types';
2
- export * from './video-cue-points';
3
- export * from './video-extensions';
4
- export * from './video-station-names';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/video/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC"}
@@ -1,21 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
18
- __exportStar(require("./video-cue-points"), exports);
19
- __exportStar(require("./video-extensions"), exports);
20
- __exportStar(require("./video-station-names"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/video/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,qDAAmC;AACnC,qDAAmC;AACnC,wDAAsC"}
@@ -1,5 +0,0 @@
1
- export * from './video-extensions';
2
- export * from './video-route-resolvers';
3
- export * from './video-select-explorer';
4
- export * from './video-select-field';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/video/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
@@ -1,21 +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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./video-extensions"), exports);
18
- __exportStar(require("./video-route-resolvers"), exports);
19
- __exportStar(require("./video-select-explorer"), exports);
20
- __exportStar(require("./video-select-field"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/video/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,0DAAwC;AACxC,0DAAwC;AACxC,uDAAqC"}
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { VideoSelectExplorerProps } from './video-select-explorer';
3
- import { VideoSelectFieldProps } from './video-select-field';
4
- export interface VideoExtensions {
5
- VideoSelectExplorer: React.FC<VideoSelectExplorerProps>;
6
- VideoSelectField: React.FC<VideoSelectFieldProps>;
7
- }
8
- //# sourceMappingURL=video-extensions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-extensions.d.ts","sourceRoot":"","sources":["../../../src/video/types/video-extensions.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC;IACxD,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC;CACnD"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=video-extensions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-extensions.js","sourceRoot":"","sources":["../../../src/video/types/video-extensions.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export type VideoDetailsStationDynamicSegments = {
2
- videoId: string;
3
- } | string;
4
- //# sourceMappingURL=video-route-resolvers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-route-resolvers.d.ts","sourceRoot":"","sources":["../../../src/video/types/video-route-resolvers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kCAAkC,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=video-route-resolvers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-route-resolvers.js","sourceRoot":"","sources":["../../../src/video/types/video-route-resolvers.ts"],"names":[],"mappings":""}
@@ -1,95 +0,0 @@
1
- import { FilterValues, ItemSelection } from '@axinom/mosaic-ui';
2
- import { Datetime, ID, Maybe } from '../../common';
3
- export interface VideoSelectExplorerProps {
4
- /** Optional Title shown in page header (default: 'Videos') */
5
- title?: string;
6
- /** Whether or not the selection of multiple items is allowed (default: false) */
7
- allowBulkSelect?: boolean;
8
- /** IDs of items which will be excluded from the explorer. Can be used to remove already selected items. */
9
- excludeItems?: ID[];
10
- /** Unique identifier used to store states related to explorer */
11
- stationKey?: string;
12
- /** In multiselect mode, whether the Select All button will be displayed. This is currently not fully supported. (default: false) */
13
- enableSelectAll?: boolean;
14
- /** A set of initial filter values which the Explorer will use. (default: empty) */
15
- predefinedFilterValues?: FilterValues<Video>;
16
- /**
17
- * Callback called when the user finished the selection.
18
- * The IDs of the selected item (or items) will be passed as argument to the callback.
19
- */
20
- onSelection: (selection: ItemSelection<Video>) => void;
21
- /** Callback called when the user cancels the selection */
22
- onCancel?: () => void;
23
- }
24
- export interface Video {
25
- /** The ID of the video. */
26
- id: ID;
27
- /** The title of the video. */
28
- title: string;
29
- /** Indicates whether the video is protected. */
30
- isProtected: boolean;
31
- /** The encoding state of the video. */
32
- encodingState: EncodingState;
33
- /** The audio languages of the video. */
34
- audioLanguages: Maybe<string>[];
35
- /** The caption languages of the video. */
36
- captionLanguages: Maybe<string>[];
37
- /** The subtitle languages of the video. */
38
- subtitleLanguages: Maybe<string>[];
39
- /** The length of the video in seconds. */
40
- lengthInSeconds?: Maybe<number>;
41
- /** Indicates whether the video is archived. */
42
- isArchived: boolean;
43
- /** The created date of the video. */
44
- createdDate: Datetime;
45
- /** The updated date of the video. */
46
- updatedDate: Datetime;
47
- /** The full file name of the video source. */
48
- sourceFullFileName?: Maybe<string>;
49
- /** The preview status of the video. */
50
- previewStatus: PreviewStatus;
51
- /** The output format of the video. */
52
- outputFormat: OutputFormat;
53
- /** The tags associated with the video. */
54
- videosTags: {
55
- nodes: VideosTag[];
56
- };
57
- }
58
- export declare enum EncodingState {
59
- /** Waiting */
60
- Waiting = "WAITING",
61
- /** In progress */
62
- InProgress = "IN_PROGRESS",
63
- /** Ready */
64
- Ready = "READY",
65
- /** Error */
66
- Error = "ERROR",
67
- /** Not started */
68
- NotStarted = "NOT_STARTED",
69
- /** Initializing */
70
- Initializing = "INITIALIZING"
71
- }
72
- export declare enum OutputFormat {
73
- /** HLS */
74
- Hls = "HLS",
75
- /** DASH */
76
- Dash = "DASH",
77
- /** DASH & HLS */
78
- DashHls = "DASH_HLS",
79
- /** CMAF */
80
- Cmaf = "CMAF",
81
- /** DASH On Demand */
82
- DashOnDemand = "DASH_ON_DEMAND"
83
- }
84
- export declare enum PreviewStatus {
85
- /** Not previewed */
86
- NotPreviewed = "NOT_PREVIEWED",
87
- /** Not approved */
88
- NotApproved = "NOT_APPROVED",
89
- /** Approved */
90
- Approved = "APPROVED"
91
- }
92
- export interface VideosTag {
93
- name: string;
94
- }
95
- //# sourceMappingURL=video-select-explorer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-select-explorer.d.ts","sourceRoot":"","sources":["../../../src/video/types/video-select-explorer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,wBAAwB;IACvC,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,2GAA2G;IAC3G,YAAY,CAAC,EAAE,EAAE,EAAE,CAAC;IACpB,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oIAAoI;IACpI,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,mFAAmF;IACnF,sBAAsB,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;IAC7C;;;OAGG;IACH,WAAW,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC;IACvD,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,KAAK;IACpB,2BAA2B;IAC3B,EAAE,EAAE,EAAE,CAAC;IACP,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,aAAa,EAAE,aAAa,CAAC;IAC7B,wCAAwC;IACxC,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,0CAA0C;IAC1C,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IAClC,2CAA2C;IAC3C,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;IACnC,0CAA0C;IAC1C,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,+CAA+C;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,qCAAqC;IACrC,WAAW,EAAE,QAAQ,CAAC;IACtB,qCAAqC;IACrC,WAAW,EAAE,QAAQ,CAAC;IACtB,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,uCAAuC;IACvC,aAAa,EAAE,aAAa,CAAC;IAC7B,sCAAsC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC3B,0CAA0C;IAC1C,UAAU,EAAE;QAAE,KAAK,EAAE,SAAS,EAAE,CAAA;KAAE,CAAC;CACpC;AAED,oBAAY,aAAa;IACvB,cAAc;IACd,OAAO,YAAY;IACnB,kBAAkB;IAClB,UAAU,gBAAgB;IAC1B,YAAY;IACZ,KAAK,UAAU;IACf,YAAY;IACZ,KAAK,UAAU;IACf,kBAAkB;IAClB,UAAU,gBAAgB;IAC1B,mBAAmB;IACnB,YAAY,iBAAiB;CAC9B;AAED,oBAAY,YAAY;IACtB,UAAU;IACV,GAAG,QAAQ;IACX,WAAW;IACX,IAAI,SAAS;IACb,iBAAiB;IACjB,OAAO,aAAa;IACpB,WAAW;IACX,IAAI,SAAS;IACb,qBAAqB;IACrB,YAAY,mBAAmB;CAChC;AAED,oBAAY,aAAa;IACvB,oBAAoB;IACpB,YAAY,kBAAkB;IAC9B,mBAAmB;IACnB,WAAW,iBAAiB;IAC5B,eAAe;IACf,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreviewStatus = exports.OutputFormat = exports.EncodingState = void 0;
4
- var EncodingState;
5
- (function (EncodingState) {
6
- /** Waiting */
7
- EncodingState["Waiting"] = "WAITING";
8
- /** In progress */
9
- EncodingState["InProgress"] = "IN_PROGRESS";
10
- /** Ready */
11
- EncodingState["Ready"] = "READY";
12
- /** Error */
13
- EncodingState["Error"] = "ERROR";
14
- /** Not started */
15
- EncodingState["NotStarted"] = "NOT_STARTED";
16
- /** Initializing */
17
- EncodingState["Initializing"] = "INITIALIZING";
18
- })(EncodingState = exports.EncodingState || (exports.EncodingState = {}));
19
- var OutputFormat;
20
- (function (OutputFormat) {
21
- /** HLS */
22
- OutputFormat["Hls"] = "HLS";
23
- /** DASH */
24
- OutputFormat["Dash"] = "DASH";
25
- /** DASH & HLS */
26
- OutputFormat["DashHls"] = "DASH_HLS";
27
- /** CMAF */
28
- OutputFormat["Cmaf"] = "CMAF";
29
- /** DASH On Demand */
30
- OutputFormat["DashOnDemand"] = "DASH_ON_DEMAND";
31
- })(OutputFormat = exports.OutputFormat || (exports.OutputFormat = {}));
32
- var PreviewStatus;
33
- (function (PreviewStatus) {
34
- /** Not previewed */
35
- PreviewStatus["NotPreviewed"] = "NOT_PREVIEWED";
36
- /** Not approved */
37
- PreviewStatus["NotApproved"] = "NOT_APPROVED";
38
- /** Approved */
39
- PreviewStatus["Approved"] = "APPROVED";
40
- })(PreviewStatus = exports.PreviewStatus || (exports.PreviewStatus = {}));
41
- //# sourceMappingURL=video-select-explorer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-select-explorer.js","sourceRoot":"","sources":["../../../src/video/types/video-select-explorer.ts"],"names":[],"mappings":";;;AA0DA,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,cAAc;IACd,oCAAmB,CAAA;IACnB,kBAAkB;IAClB,2CAA0B,CAAA;IAC1B,YAAY;IACZ,gCAAe,CAAA;IACf,YAAY;IACZ,gCAAe,CAAA;IACf,kBAAkB;IAClB,2CAA0B,CAAA;IAC1B,mBAAmB;IACnB,8CAA6B,CAAA;AAC/B,CAAC,EAbW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAaxB;AAED,IAAY,YAWX;AAXD,WAAY,YAAY;IACtB,UAAU;IACV,2BAAW,CAAA;IACX,WAAW;IACX,6BAAa,CAAA;IACb,iBAAiB;IACjB,oCAAoB,CAAA;IACpB,WAAW;IACX,6BAAa,CAAA;IACb,qBAAqB;IACrB,+CAA+B,CAAA;AACjC,CAAC,EAXW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAWvB;AAED,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oBAAoB;IACpB,+CAA8B,CAAA;IAC9B,mBAAmB;IACnB,6CAA4B,CAAA;IAC5B,eAAe;IACf,sCAAqB,CAAA;AACvB,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB"}
@@ -1,20 +0,0 @@
1
- import { BaseFormControl, BaseInputEvents, FilterValues } from '@axinom/mosaic-ui';
2
- import { ID } from '../../common';
3
- import { Video } from './video-select-explorer';
4
- export interface VideoSelectFieldProps extends BaseFormControl, BaseInputEvents {
5
- /** Current value the form control has */
6
- value?: ID[];
7
- /** Maximum number of items which can be assigned */
8
- maxItems?: number;
9
- /** Label to be displayed */
10
- label: string;
11
- /** Default tag to filter results by */
12
- defaultFilterTag?: string;
13
- /** Raised when the value has changed */
14
- onChange: (event: unknown) => void;
15
- /** Controls the sticky option of the video list */
16
- isSticky?: boolean;
17
- /** Default filter values for integrated video select explorer */
18
- predefinedFilterValues?: FilterValues<Video>;
19
- }
20
- //# sourceMappingURL=video-select-field.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-select-field.d.ts","sourceRoot":"","sources":["../../../src/video/types/video-select-field.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,eAAe,EACf,YAAY,EACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,MAAM,WAAW,qBACf,SAAQ,eAAe,EACrB,eAAe;IACjB,yCAAyC;IACzC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC;IACb,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wCAAwC;IACxC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,sBAAsB,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC9C"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=video-select-field.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-select-field.js","sourceRoot":"","sources":["../../../src/video/types/video-select-field.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- import { ID, Maybe } from '../common';
2
- import { EncodingState } from './types';
3
- export interface VideoServiceCuePoints {
4
- __typename?: 'CuePoint';
5
- id: ID;
6
- timeInSeconds: number;
7
- }
8
- export interface VideoData {
9
- __typename?: 'Video';
10
- id: ID;
11
- lengthInSeconds?: Maybe<number>;
12
- encodingState: EncodingState;
13
- cuePoints: {
14
- __typename?: 'CuePointsConnection';
15
- nodes: VideoServiceCuePoints[];
16
- };
17
- }
18
- /**
19
- * Returns the video cue points data for the given video IDs.
20
- * This method depends on the `initializeIntegrationLib` function being called before.
21
- * @param id The video IDs for which to fetch the cue points data.
22
- * @param cuePointTypeKeys Optional array of cue point type keys that will be used as filter for the returend cue points. If not set, will return all cue points.
23
- */
24
- export declare const getVideoCuePointsData: (id: ID[], cuePointTypeKeys?: string[]) => Promise<VideoData[]>;
25
- //# sourceMappingURL=video-cue-points.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-cue-points.d.ts","sourceRoot":"","sources":["../../src/video/video-cue-points.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,WAAW,qBAAqB;IACpC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,EAAE,EAAE,EAAE,CAAC;IACP,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,EAAE,EAAE,EAAE,CAAC;IACP,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE;QACT,UAAU,CAAC,EAAE,qBAAqB,CAAC;QACnC,KAAK,EAAE,qBAAqB,EAAE,CAAC;KAChC,CAAC;CACH;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,CAClC,EAAE,EAAE,EAAE,EAAE,EACR,gBAAgB,CAAC,EAAE,MAAM,EAAE,KACxB,OAAO,CAAC,SAAS,EAAE,CAQvB,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getVideoCuePointsData = void 0;
4
- const initialize_1 = require("../initialize");
5
- /**
6
- * Returns the video cue points data for the given video IDs.
7
- * This method depends on the `initializeIntegrationLib` function being called before.
8
- * @param id The video IDs for which to fetch the cue points data.
9
- * @param cuePointTypeKeys Optional array of cue point type keys that will be used as filter for the returend cue points. If not set, will return all cue points.
10
- */
11
- const getVideoCuePointsData = (id, cuePointTypeKeys) => {
12
- if (initialize_1.piletApi === undefined) {
13
- throw new Error('The pilet API is not initialized. Please call `initializeIntegrationLib` before using this function.');
14
- }
15
- return initialize_1.piletApi.getData('video-cue-points-data')(id, cuePointTypeKeys);
16
- };
17
- exports.getVideoCuePointsData = getVideoCuePointsData;
18
- //# sourceMappingURL=video-cue-points.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-cue-points.js","sourceRoot":"","sources":["../../src/video/video-cue-points.ts"],"names":[],"mappings":";;;AACA,8CAAyC;AAoBzC;;;;;GAKG;AACI,MAAM,qBAAqB,GAGN,CAAC,EAAE,EAAE,gBAAgB,EAAE,EAAE;IACnD,IAAI,qBAAQ,KAAK,SAAS,EAAE;QAC1B,MAAM,IAAI,KAAK,CACb,sGAAsG,CACvG,CAAC;KACH;IAED,OAAO,qBAAQ,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;AACzE,CAAC,CAAC;AAXW,QAAA,qBAAqB,yBAWhC"}
@@ -1,7 +0,0 @@
1
- import { PiletApi } from '@axinom/mosaic-portal';
2
- import { VideoExtensions } from './types';
3
- /**
4
- * Returns an object containing Extension components for the shared extensions provided by the video service.
5
- */
6
- export declare const bindVideoExtensions: (app: PiletApi) => VideoExtensions;
7
- //# sourceMappingURL=video-extensions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-extensions.d.ts","sourceRoot":"","sources":["../../src/video/video-extensions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,OAAO,EACL,eAAe,EAGhB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAS,QAAQ,KAAG,eAqBnD,CAAC"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.bindVideoExtensions = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const common_1 = require("../common");
9
- /**
10
- * Returns an object containing Extension components for the shared extensions provided by the video service.
11
- */
12
- const bindVideoExtensions = (app) => {
13
- const VideoSelectExplorer = (props) => (react_1.default.createElement(app.Extension, { name: "video-select-explorer", empty: (0, common_1.generateExtensionDefaultValue)('Video'), params: props }));
14
- const VideoSelectField = (props) => (react_1.default.createElement(app.Extension, { name: "video-select-field", empty: (0, common_1.generateExtensionDefaultValue)('Video'), params: props }));
15
- return {
16
- VideoSelectExplorer,
17
- VideoSelectField,
18
- };
19
- };
20
- exports.bindVideoExtensions = bindVideoExtensions;
21
- //# sourceMappingURL=video-extensions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-extensions.js","sourceRoot":"","sources":["../../src/video/video-extensions.tsx"],"names":[],"mappings":";;;;;;AACA,kDAA0B;AAC1B,sCAA0D;AAO1D;;GAEG;AACI,MAAM,mBAAmB,GAAG,CAAC,GAAa,EAAmB,EAAE;IACpE,MAAM,mBAAmB,GAAuC,CAAC,KAAK,EAAE,EAAE,CAAC,CACzE,8BAAC,GAAG,CAAC,SAAS,IACZ,IAAI,EAAC,uBAAuB,EAC5B,KAAK,EAAE,IAAA,sCAA6B,EAAC,OAAO,CAAC,EAC7C,MAAM,EAAE,KAAK,GACb,CACH,CAAC;IAEF,MAAM,gBAAgB,GAAoC,CAAC,KAAK,EAAE,EAAE,CAAC,CACnE,8BAAC,GAAG,CAAC,SAAS,IACZ,IAAI,EAAC,oBAAoB,EACzB,KAAK,EAAE,IAAA,sCAA6B,EAAC,OAAO,CAAC,EAC7C,MAAM,EAAE,KAAK,GACb,CACH,CAAC;IAEF,OAAO;QACL,mBAAmB;QACnB,gBAAgB;KACjB,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,mBAAmB,uBAqB9B"}
@@ -1,4 +0,0 @@
1
- export declare enum VideoStationNames {
2
- VideoDetails = "video-details"
3
- }
4
- //# sourceMappingURL=video-station-names.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-station-names.d.ts","sourceRoot":"","sources":["../../src/video/video-station-names.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,YAAY,kBAAkB;CAC/B"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VideoStationNames = void 0;
4
- var VideoStationNames;
5
- (function (VideoStationNames) {
6
- VideoStationNames["VideoDetails"] = "video-details";
7
- })(VideoStationNames = exports.VideoStationNames || (exports.VideoStationNames = {}));
8
- //# sourceMappingURL=video-station-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-station-names.js","sourceRoot":"","sources":["../../src/video/video-station-names.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,mDAA8B,CAAA;AAChC,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B"}
@@ -1,4 +0,0 @@
1
- export * from './types';
2
- export * from './video-cue-points';
3
- export * from './video-extensions';
4
- export * from './video-station-names';
@@ -1,4 +0,0 @@
1
- export * from './video-extensions';
2
- export * from './video-route-resolvers';
3
- export * from './video-select-explorer';
4
- export * from './video-select-field';
@@ -1,7 +0,0 @@
1
- import { VideoSelectExplorerProps } from './video-select-explorer';
2
- import { VideoSelectFieldProps } from './video-select-field';
3
-
4
- export interface VideoExtensions {
5
- VideoSelectExplorer: React.FC<VideoSelectExplorerProps>;
6
- VideoSelectField: React.FC<VideoSelectFieldProps>;
7
- }
@@ -1 +0,0 @@
1
- export type VideoDetailsStationDynamicSegments = { videoId: string } | string;
@@ -1,98 +0,0 @@
1
- import { FilterValues, ItemSelection } from '@axinom/mosaic-ui';
2
- import { Datetime, ID, Maybe } from '../../common';
3
-
4
- export interface VideoSelectExplorerProps {
5
- /** Optional Title shown in page header (default: 'Videos') */
6
- title?: string;
7
- /** Whether or not the selection of multiple items is allowed (default: false) */
8
- allowBulkSelect?: boolean;
9
- /** IDs of items which will be excluded from the explorer. Can be used to remove already selected items. */
10
- excludeItems?: ID[];
11
- /** Unique identifier used to store states related to explorer */
12
- stationKey?: string;
13
- /** In multiselect mode, whether the Select All button will be displayed. This is currently not fully supported. (default: false) */
14
- enableSelectAll?: boolean;
15
- /** A set of initial filter values which the Explorer will use. (default: empty) */
16
- predefinedFilterValues?: FilterValues<Video>;
17
- /**
18
- * Callback called when the user finished the selection.
19
- * The IDs of the selected item (or items) will be passed as argument to the callback.
20
- */
21
- onSelection: (selection: ItemSelection<Video>) => void;
22
- /** Callback called when the user cancels the selection */
23
- onCancel?: () => void;
24
- }
25
-
26
- export interface Video {
27
- /** The ID of the video. */
28
- id: ID;
29
- /** The title of the video. */
30
- title: string;
31
- /** Indicates whether the video is protected. */
32
- isProtected: boolean;
33
- /** The encoding state of the video. */
34
- encodingState: EncodingState;
35
- /** The audio languages of the video. */
36
- audioLanguages: Maybe<string>[];
37
- /** The caption languages of the video. */
38
- captionLanguages: Maybe<string>[];
39
- /** The subtitle languages of the video. */
40
- subtitleLanguages: Maybe<string>[];
41
- /** The length of the video in seconds. */
42
- lengthInSeconds?: Maybe<number>;
43
- /** Indicates whether the video is archived. */
44
- isArchived: boolean;
45
- /** The created date of the video. */
46
- createdDate: Datetime;
47
- /** The updated date of the video. */
48
- updatedDate: Datetime;
49
- /** The full file name of the video source. */
50
- sourceFullFileName?: Maybe<string>;
51
- /** The preview status of the video. */
52
- previewStatus: PreviewStatus;
53
- /** The output format of the video. */
54
- outputFormat: OutputFormat;
55
- /** The tags associated with the video. */
56
- videosTags: { nodes: VideosTag[] };
57
- }
58
-
59
- export enum EncodingState {
60
- /** Waiting */
61
- Waiting = 'WAITING',
62
- /** In progress */
63
- InProgress = 'IN_PROGRESS',
64
- /** Ready */
65
- Ready = 'READY',
66
- /** Error */
67
- Error = 'ERROR',
68
- /** Not started */
69
- NotStarted = 'NOT_STARTED',
70
- /** Initializing */
71
- Initializing = 'INITIALIZING',
72
- }
73
-
74
- export enum OutputFormat {
75
- /** HLS */
76
- Hls = 'HLS',
77
- /** DASH */
78
- Dash = 'DASH',
79
- /** DASH & HLS */
80
- DashHls = 'DASH_HLS',
81
- /** CMAF */
82
- Cmaf = 'CMAF',
83
- /** DASH On Demand */
84
- DashOnDemand = 'DASH_ON_DEMAND',
85
- }
86
-
87
- export enum PreviewStatus {
88
- /** Not previewed */
89
- NotPreviewed = 'NOT_PREVIEWED',
90
- /** Not approved */
91
- NotApproved = 'NOT_APPROVED',
92
- /** Approved */
93
- Approved = 'APPROVED',
94
- }
95
-
96
- export interface VideosTag {
97
- name: string;
98
- }
@@ -1,26 +0,0 @@
1
- import {
2
- BaseFormControl,
3
- BaseInputEvents,
4
- FilterValues,
5
- } from '@axinom/mosaic-ui';
6
- import { ID } from '../../common';
7
- import { Video } from './video-select-explorer';
8
-
9
- export interface VideoSelectFieldProps
10
- extends BaseFormControl,
11
- BaseInputEvents {
12
- /** Current value the form control has */
13
- value?: ID[];
14
- /** Maximum number of items which can be assigned */
15
- maxItems?: number;
16
- /** Label to be displayed */
17
- label: string;
18
- /** Default tag to filter results by */
19
- defaultFilterTag?: string;
20
- /** Raised when the value has changed */
21
- onChange: (event: unknown) => void;
22
- /** Controls the sticky option of the video list */
23
- isSticky?: boolean;
24
- /** Default filter values for integrated video select explorer */
25
- predefinedFilterValues?: FilterValues<Video>;
26
- }