design-angular-kit 1.3.0 → 1.3.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/esm2022/lib/components/core/video-player/video-player.component.mjs +39 -41
- package/esm2022/lib/design-angular-kit.module.mjs +2 -2
- package/esm2022/lib/interfaces/icon.mjs +14 -1
- package/fesm2022/design-angular-kit.mjs +6040 -6029
- package/fesm2022/design-angular-kit.mjs.map +1 -1
- package/lib/components/core/video-player/video-player.component.d.ts +8 -10
- package/lib/interfaces/icon.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import Player from 'video.js/dist/types/player';
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import type Player from 'video.js/dist/types/player';
|
|
4
3
|
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
5
4
|
import { VideoPlayerI18nService } from './video-player-i18n.service';
|
|
6
5
|
import { VideoPlayerConfigService } from './video-player.config';
|
|
@@ -14,7 +13,7 @@ declare enum ViewType {
|
|
|
14
13
|
* Video Player
|
|
15
14
|
* @description Component that allows playing a video.
|
|
16
15
|
*/
|
|
17
|
-
export declare class ItVideoPlayerComponent extends ItAbstractComponent implements OnInit
|
|
16
|
+
export declare class ItVideoPlayerComponent extends ItAbstractComponent implements OnInit {
|
|
18
17
|
#private;
|
|
19
18
|
private config;
|
|
20
19
|
/**
|
|
@@ -25,16 +24,15 @@ export declare class ItVideoPlayerComponent extends ItAbstractComponent implemen
|
|
|
25
24
|
acceptOveralyRef?: ElementRef<HTMLDivElement>;
|
|
26
25
|
acceptOverlayableRef?: ElementRef<HTMLDivElement>;
|
|
27
26
|
chrRememberRef?: ElementRef<HTMLInputElement>;
|
|
28
|
-
player
|
|
27
|
+
player: Player | null;
|
|
29
28
|
readonly viewTypes: typeof ViewType;
|
|
30
|
-
readonly viewType
|
|
31
|
-
readonly cookieAccepted
|
|
29
|
+
readonly viewType: import("@angular/core").WritableSignal<ViewType | undefined>;
|
|
30
|
+
readonly cookieAccepted: import("@angular/core").WritableSignal<boolean>;
|
|
32
31
|
protected readonly i18nService: VideoPlayerI18nService;
|
|
33
|
-
private
|
|
32
|
+
private ngZone;
|
|
33
|
+
private injector;
|
|
34
34
|
constructor(config: VideoPlayerConfigService);
|
|
35
35
|
ngOnInit(): Promise<void>;
|
|
36
|
-
ngAfterViewInit(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
36
|
acceptCookieHandler(): void;
|
|
39
37
|
private initVideoPlayer;
|
|
40
38
|
private setVideoPlayer;
|
package/lib/interfaces/icon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
|
|
2
2
|
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
|
|
3
3
|
export type IconName = (typeof IconNameArray)[number];
|
|
4
|
-
export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bookmark", "box", "burger", "calendar", "camera", "card", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "code-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-json", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-txt", "file-video", "file-xml", "behance", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "moodle", "moodle-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "threads", "threads-square", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "designers-italia", "team-digitale"];
|
|
4
|
+
export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bluesky", "bookmark", "box", "burger", "calendar", "camera", "car", "card", "cart", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "code-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "sign", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-docx", "file-json", "file-image", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-signed", "file-txt", "file-video", "file-xlsx", "file-xml", "behance", "android-square", "android", "apple-square", "apple", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "moodle", "moodle-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "threads", "threads-square", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "spotify", "designers-italia", "team-digitale"];
|
package/package.json
CHANGED