design-angular-kit 19.0.0 → 20.0.0

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 (130) hide show
  1. package/README.md +26 -1
  2. package/fesm2022/design-angular-kit.mjs +442 -474
  3. package/fesm2022/design-angular-kit.mjs.map +1 -1
  4. package/index.d.ts +3986 -3
  5. package/package.json +8 -8
  6. package/schematics/ng-add/setup-project.spec.js +1 -1
  7. package/lib/abstracts/abstract-form.component.d.ts +0 -89
  8. package/lib/abstracts/abstract.component.d.ts +0 -30
  9. package/lib/components/core/accordion/accordion.component.d.ts +0 -18
  10. package/lib/components/core/alert/alert.component.d.ts +0 -44
  11. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +0 -29
  12. package/lib/components/core/avatar/avatar-extra-text.directive.d.ts +0 -6
  13. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +0 -20
  14. package/lib/components/core/avatar/avatar-presence.directive.d.ts +0 -17
  15. package/lib/components/core/avatar/avatar-status.directive.d.ts +0 -17
  16. package/lib/components/core/avatar/avatar-wrapper.directive.d.ts +0 -9
  17. package/lib/components/core/avatar/avatar.directive.d.ts +0 -33
  18. package/lib/components/core/avatar/avatar.module.d.ts +0 -13
  19. package/lib/components/core/badge/badge.directive.d.ts +0 -23
  20. package/lib/components/core/button/button.directive.d.ts +0 -48
  21. package/lib/components/core/callout/callout.component.d.ts +0 -50
  22. package/lib/components/core/card/card.component.d.ts +0 -69
  23. package/lib/components/core/carousel/carousel/carousel.component.d.ts +0 -65
  24. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +0 -15
  25. package/lib/components/core/carousel/carousel.module.d.ts +0 -8
  26. package/lib/components/core/chip/chip.component.d.ts +0 -76
  27. package/lib/components/core/collapse/collapse.component.d.ts +0 -67
  28. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +0 -12
  29. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +0 -5
  30. package/lib/components/core/dimmer/dimmer.component.d.ts +0 -24
  31. package/lib/components/core/dimmer/dimmer.module.d.ts +0 -9
  32. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +0 -94
  33. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +0 -46
  34. package/lib/components/core/dropdown/dropdown.module.d.ts +0 -8
  35. package/lib/components/core/forward/forward.directive.d.ts +0 -14
  36. package/lib/components/core/link/link.component.d.ts +0 -35
  37. package/lib/components/core/list/list/list.component.d.ts +0 -24
  38. package/lib/components/core/list/list-item/list-item.component.d.ts +0 -44
  39. package/lib/components/core/list/list.module.d.ts +0 -8
  40. package/lib/components/core/modal/modal.component.d.ts +0 -135
  41. package/lib/components/core/notifications/notifications.component.d.ts +0 -45
  42. package/lib/components/core/pagination/pagination.component.d.ts +0 -92
  43. package/lib/components/core/popover/popover.directive.d.ts +0 -99
  44. package/lib/components/core/progress-bar/progress-bar.component.d.ts +0 -31
  45. package/lib/components/core/progress-button/progress-button.component.d.ts +0 -21
  46. package/lib/components/core/spinner/spinner.component.d.ts +0 -24
  47. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +0 -130
  48. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +0 -24
  49. package/lib/components/core/steppers/steppers.module.d.ts +0 -8
  50. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +0 -60
  51. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +0 -38
  52. package/lib/components/core/tab/tab.module.d.ts +0 -8
  53. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +0 -72
  54. package/lib/components/core/table/sort/sort.directive.d.ts +0 -53
  55. package/lib/components/core/table/table.component.d.ts +0 -60
  56. package/lib/components/core/table/table.module.d.ts +0 -9
  57. package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +0 -79
  58. package/lib/components/core/timeline/timeline.component.d.ts +0 -21
  59. package/lib/components/core/timeline/timeline.module.d.ts +0 -8
  60. package/lib/components/core/tooltip/tooltip.directive.d.ts +0 -82
  61. package/lib/components/core/video-player/video-player-i18n.model.d.ts +0 -179
  62. package/lib/components/core/video-player/video-player-i18n.service.d.ts +0 -17
  63. package/lib/components/core/video-player/video-player.component.d.ts +0 -46
  64. package/lib/components/core/video-player/video-player.config.d.ts +0 -68
  65. package/lib/components/core/video-player/video-player.cookie.d.ts +0 -6
  66. package/lib/components/core/video-player/video-player.model.d.ts +0 -44
  67. package/lib/components/core/video-player/video-player.module.d.ts +0 -7
  68. package/lib/components/form/autocomplete/autocomplete.component.d.ts +0 -75
  69. package/lib/components/form/checkbox/checkbox.component.d.ts +0 -41
  70. package/lib/components/form/form.module.d.ts +0 -19
  71. package/lib/components/form/input/input.component.d.ts +0 -95
  72. package/lib/components/form/password-input/password-input.component.d.ts +0 -80
  73. package/lib/components/form/radio-button/radio-button.component.d.ts +0 -38
  74. package/lib/components/form/range/range.component.d.ts +0 -42
  75. package/lib/components/form/rating/rating.component.d.ts +0 -24
  76. package/lib/components/form/search/search.component.d.ts +0 -59
  77. package/lib/components/form/select/select.component.d.ts +0 -36
  78. package/lib/components/form/textarea/textarea.component.d.ts +0 -34
  79. package/lib/components/form/transfer/store/transfer.reducers.d.ts +0 -103
  80. package/lib/components/form/transfer/store/transfer.state.d.ts +0 -18
  81. package/lib/components/form/transfer/store/transfer.store.d.ts +0 -23
  82. package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +0 -48
  83. package/lib/components/form/transfer/transfer.component.d.ts +0 -75
  84. package/lib/components/form/transfer/transfer.model.d.ts +0 -6
  85. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +0 -60
  86. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +0 -62
  87. package/lib/components/navigation/back-button/back-button.component.d.ts +0 -47
  88. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +0 -50
  89. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -28
  90. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +0 -23
  91. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +0 -8
  92. package/lib/components/navigation/footer/footer.component.d.ts +0 -6
  93. package/lib/components/navigation/header/header.component.d.ts +0 -39
  94. package/lib/components/navigation/megamenu/megamenu.component.d.ts +0 -22
  95. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +0 -19
  96. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +0 -5
  97. package/lib/components/navigation/navbar/navbar.module.d.ts +0 -8
  98. package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +0 -16
  99. package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +0 -7
  100. package/lib/components/navigation/navscroll/navscroll.component.d.ts +0 -47
  101. package/lib/components/navigation/navscroll/navscroll.model.d.ts +0 -15
  102. package/lib/components/navigation/navscroll/navscroll.store.d.ts +0 -16
  103. package/lib/components/navigation/navscroll/navscroll.utils.d.ts +0 -6
  104. package/lib/components/navigation/sidebar/sidebar.component.d.ts +0 -26
  105. package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +0 -17
  106. package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +0 -24
  107. package/lib/components/navigation/skiplink/skiplink.module.d.ts +0 -8
  108. package/lib/components/utils/error-page/error-page.component.d.ts +0 -44
  109. package/lib/components/utils/icon/icon.component.d.ts +0 -53
  110. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +0 -27
  111. package/lib/design-angular-kit.module.d.ts +0 -55
  112. package/lib/enums/colors.enums.d.ts +0 -10
  113. package/lib/enums/sizes.enum.d.ts +0 -7
  114. package/lib/interfaces/core.d.ts +0 -77
  115. package/lib/interfaces/design-angular-kit-config.d.ts +0 -30
  116. package/lib/interfaces/form.d.ts +0 -67
  117. package/lib/interfaces/icon.d.ts +0 -4
  118. package/lib/interfaces/sortable-table.d.ts +0 -33
  119. package/lib/interfaces/utils.d.ts +0 -10
  120. package/lib/pipes/date-ago.pipe.d.ts +0 -17
  121. package/lib/pipes/duration.pipe.d.ts +0 -35
  122. package/lib/pipes/mark-matching-text.pipe.d.ts +0 -18
  123. package/lib/provide-design-angular-kit.d.ts +0 -7
  124. package/lib/services/notification/notification.service.d.ts +0 -63
  125. package/lib/utils/coercion.d.ts +0 -14
  126. package/lib/utils/date-utils.d.ts +0 -79
  127. package/lib/utils/file-utils.d.ts +0 -32
  128. package/lib/utils/regex.d.ts +0 -34
  129. package/lib/validators/it-validators.d.ts +0 -70
  130. package/public_api.d.ts +0 -106
@@ -1,53 +0,0 @@
1
- import { EventEmitter, OnChanges, OnDestroy } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { ItSortable, ItSortDefaultOptions, ItSortEvent, SortDirection } from '../../../../interfaces/sortable-table';
4
- import * as i0 from "@angular/core";
5
- export declare class ItSortDirective implements OnChanges, OnDestroy {
6
- private _defaultOptions?;
7
- /** The id of the most recently sorted ItSortable. */
8
- active?: string;
9
- /**
10
- * The direction to set when an MatSortable is initially sorted.
11
- * May be overridden by the MatSortable's sort start.
12
- */
13
- start: SortDirection;
14
- /** The sort direction of the currently active ItSortable. */
15
- get direction(): SortDirection;
16
- set direction(direction: SortDirection);
17
- private _direction;
18
- /**
19
- * Whether to disable the user from clearing the sort by finishing the sort direction cycle.
20
- * May be overridden by the ItSortable's disable clear input.
21
- */
22
- disableSortClear?: boolean;
23
- /** Whether the sortable is disabled. */
24
- sortDisabled: boolean;
25
- /** Event emitted when the user changes either the active sort or sort direction. */
26
- readonly sortChange: EventEmitter<ItSortEvent>;
27
- readonly sortDirectiveClass = "it-sort";
28
- /** Collection of all registered sortables that this directive manages. */
29
- protected sortables: Map<string, ItSortable>;
30
- /** Used to notify any child components listening to state changes. */
31
- readonly _stateChanges: Subject<void>;
32
- constructor(_defaultOptions?: ItSortDefaultOptions | undefined);
33
- /**
34
- * Register function to be used by the contained ItSortables. Adds the ItSortable to the
35
- * collection of ItSortables.
36
- */
37
- register(sortable: ItSortable): void;
38
- /**
39
- * Unregister function to be used by the contained ItSortables. Removes the ItSortable from the
40
- * collection of contained ItSortables.
41
- */
42
- deregister(sortable: ItSortable): void;
43
- /** Sets the active sort id and determines the new sort direction. */
44
- sort(sortable: ItSortable): void;
45
- /** Returns the next sort direction of the active sortable, checking for potential overrides. */
46
- getNextSortDirection(sortable: ItSortable): SortDirection;
47
- ngOnChanges(): void;
48
- ngOnDestroy(): void;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<ItSortDirective, [{ optional: true; }]>;
50
- static ɵdir: i0.ɵɵDirectiveDeclaration<ItSortDirective, "[itSort]", ["itSort"], { "active": { "alias": "itSortActive"; "required": false; }; "start": { "alias": "itSortStart"; "required": false; }; "direction": { "alias": "itSortDirection"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, true, never>;
51
- static ngAcceptInputType_disableSortClear: unknown;
52
- static ngAcceptInputType_sortDisabled: unknown;
53
- }
@@ -1,60 +0,0 @@
1
- import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from '../../../interfaces/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../../utils/coercion";
4
- export declare class ItTableComponent {
5
- /**
6
- * Table color
7
- */
8
- color: TableColor | undefined;
9
- /**
10
- * Head table color
11
- */
12
- headColor: TableHeadColor | undefined;
13
- /**
14
- * Use vertical alignment classes to realign where needed.
15
- */
16
- alignment: VerticalAlignment | undefined;
17
- /**
18
- * Use .table-striped to add zebra stripes to each table row contained in <tbody>.
19
- * @default false
20
- */
21
- striped?: boolean;
22
- /**
23
- * Add .table-hover to enable hover state on table rows contained in <tbody>.
24
- * @default false
25
- */
26
- hover?: boolean;
27
- /**
28
- * Add .table-bordered to have borders on all sides of the table and on all cells.
29
- * @default false
30
- */
31
- bordered?: boolean;
32
- /**
33
- * Add the .table-borderless class for a borderless table.
34
- * @default false
35
- */
36
- borderless?: boolean;
37
- /**
38
- * Add .table-sm to make tables more compact by halving the cell padding.
39
- * @efault false
40
- */
41
- compact?: boolean;
42
- /**
43
- * To render the <caption> on top of the table
44
- * @default false
45
- */
46
- captionTop?: boolean;
47
- /**
48
- * Responsive tables allow you to scroll tables horizontally with ease.
49
- * @default responsive
50
- */
51
- responsive: TableResponsive;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<ItTableComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<ItTableComponent, "it-table", never, { "color": { "alias": "color"; "required": false; }; "headColor": { "alias": "headColor"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "captionTop": { "alias": "captionTop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], true, never>;
54
- static ngAcceptInputType_striped: i1.BooleanInput;
55
- static ngAcceptInputType_hover: i1.BooleanInput;
56
- static ngAcceptInputType_bordered: i1.BooleanInput;
57
- static ngAcceptInputType_borderless: i1.BooleanInput;
58
- static ngAcceptInputType_compact: i1.BooleanInput;
59
- static ngAcceptInputType_captionTop: i1.BooleanInput;
60
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table.component";
3
- import * as i2 from "./sort/sort.directive";
4
- import * as i3 from "./sort/sort-header/sort-header.component";
5
- export declare class ItTableModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ItTableModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItTableModule, never, [typeof i1.ItTableComponent, typeof i2.ItSortDirective, typeof i3.ItSortHeaderComponent], [typeof i1.ItTableComponent, typeof i2.ItSortDirective, typeof i3.ItSortHeaderComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<ItTableModule>;
9
- }
@@ -1,79 +0,0 @@
1
- import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
2
- import { TimelinePINType } from '../../../../interfaces/core';
3
- import { IconName } from '../../../../interfaces/icon';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../../../../utils/coercion";
6
- /**
7
- * Timeline Item
8
- * @description Represents a single event for Timeline component.
9
- */
10
- export declare class ItTimelineItemComponent extends ItAbstractComponent {
11
- /**
12
- * Timeline element title
13
- */
14
- title: string;
15
- /**
16
- * Timeline element text
17
- */
18
- text: string;
19
- /**
20
- * Timeline element signature
21
- */
22
- signature: string | undefined;
23
- /**
24
- * Timeline element reference date
25
- */
26
- eventDate: Date | undefined;
27
- /**
28
- * Timeline element reference date format
29
- * @default dd/MM/yyyy
30
- */
31
- dateFormat: string;
32
- /**
33
- * Timeline element PIN text
34
- */
35
- pinText: string | undefined;
36
- /**
37
- * Timeline element PIN type
38
- * @default none
39
- */
40
- pinType: TimelinePINType | undefined;
41
- /**
42
- * Timeline element PIN icon
43
- * @default code-circle
44
- */
45
- pinIcon: IconName | undefined;
46
- /**
47
- * Timeline element PIN icon
48
- * @default code-circle
49
- */
50
- pinIconTitle: string | undefined;
51
- /**
52
- * Timeline element category label
53
- */
54
- categoryLabel: string | undefined;
55
- /**
56
- * Timeline element date label
57
- */
58
- dateLabel: string | undefined;
59
- /**
60
- * Timeline element category title
61
- */
62
- categoryTitle: string | undefined;
63
- /**
64
- * Timeline element category link
65
- */
66
- categoryLink: string | undefined;
67
- /**
68
- * Timeline element show detail link
69
- * @default false
70
- */
71
- showReadMore: boolean;
72
- /** Timeline element detail link
73
- * @default #
74
- */
75
- readMoreLink: string | undefined;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineItemComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<ItTimelineItemComponent, "it-timeline-item", never, { "title": { "alias": "title"; "required": true; }; "text": { "alias": "text"; "required": true; }; "signature": { "alias": "signature"; "required": false; }; "eventDate": { "alias": "eventDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "pinText": { "alias": "pinText"; "required": true; }; "pinType": { "alias": "pinType"; "required": false; }; "pinIcon": { "alias": "pinIcon"; "required": false; }; "pinIconTitle": { "alias": "pinIconTitle"; "required": false; }; "categoryLabel": { "alias": "categoryLabel"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "categoryTitle": { "alias": "categoryTitle"; "required": false; }; "categoryLink": { "alias": "categoryLink"; "required": false; }; "showReadMore": { "alias": "showReadMore"; "required": false; }; "readMoreLink": { "alias": "readMoreLink"; "required": false; }; }, {}, never, never, true, never>;
78
- static ngAcceptInputType_showReadMore: i1.BooleanInput;
79
- }
@@ -1,21 +0,0 @@
1
- import { ItAbstractComponent } from '../../../abstracts/abstract.component';
2
- import { TimelineElement } from '../../../interfaces/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Timeline
6
- * @description Build timeline for chronological representation of events.
7
- */
8
- export declare class ItTimelineComponent extends ItAbstractComponent {
9
- /**
10
- * Timeline elements array
11
- * @default []
12
- */
13
- timelineElements: TimelineElement[];
14
- /**
15
- * Default date format for timeline element reference date
16
- * @default dd/MM/yyyy
17
- */
18
- dateFormat: string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ItTimelineComponent, "it-timeline", never, { "timelineElements": { "alias": "timelineElements"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
21
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./timeline.component";
3
- import * as i2 from "./timeline-item/timeline-item.component";
4
- export declare class ItTimelineModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItTimelineModule, never, [typeof i1.ItTimelineComponent, typeof i2.ItTimelineItemComponent], [typeof i1.ItTimelineComponent, typeof i2.ItTimelineItemComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<ItTimelineModule>;
8
- }
@@ -1,82 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
- import { ElementPlacement } from '../../../interfaces/core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../../../utils/coercion";
5
- export declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
6
- private readonly _elementRef;
7
- /**
8
- * Define the tooltip title
9
- * @param title the tooltip title
10
- */
11
- set title(title: string | undefined);
12
- /**
13
- * Define the tooltip placement
14
- * @param placement
15
- */
16
- set tooltipPlacement(placement: ElementPlacement);
17
- /**
18
- * Indicates whether the title contains html
19
- * @param html true if contain html
20
- */
21
- set tooltipHtml(html: boolean);
22
- /**
23
- * This event fires immediately when the show method is called.
24
- */
25
- showEvent: EventEmitter<Event>;
26
- /**
27
- * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
28
- */
29
- shownEvent: EventEmitter<Event>;
30
- /**
31
- * This event fires immediately when the hide method is called.
32
- */
33
- hideEvent: EventEmitter<Event>;
34
- /**
35
- * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
36
- */
37
- hiddenEvent: EventEmitter<Event>;
38
- /**
39
- * This event fires after the show event when the tooltip template has been added to the DOM.
40
- */
41
- insertedEvent: EventEmitter<Event>;
42
- private readonly element;
43
- private tooltip?;
44
- constructor(_elementRef: ElementRef);
45
- ngAfterViewInit(): void;
46
- ngOnDestroy(): void;
47
- /**
48
- * Shows the tooltip of an item.
49
- */
50
- show(): void;
51
- /**
52
- * Hide the tooltip of an element.
53
- */
54
- hide(): void;
55
- /**
56
- * Activate / Deactivate the tooltip of an element
57
- */
58
- toggle(): void;
59
- /**
60
- * Hides and destroys the tooltip of an element.
61
- */
62
- dispose(): void;
63
- /**
64
- * Gives the tooltip of an element a chance to be shown.
65
- */
66
- enable(): void;
67
- /**
68
- * Removes the ability to show the tooltip of an element.
69
- */
70
- disable(): void;
71
- /**
72
- * Toggles the possibility that the tooltip of an element is shown or hidden.
73
- */
74
- toggleEnabled(): void;
75
- /**
76
- * Updates the position of an element's tooltip.
77
- */
78
- update(): void;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<ItTooltipDirective, never>;
80
- static ɵdir: i0.ɵɵDirectiveDeclaration<ItTooltipDirective, "[itTooltip]", ["itTooltip"], { "title": { "alias": "itTooltip"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipHtml": { "alias": "tooltipHtml"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
81
- static ngAcceptInputType_tooltipHtml: i1.BooleanInput;
82
- }
@@ -1,179 +0,0 @@
1
- interface VideoJsTranslation {
2
- 'Audio Player': string;
3
- 'Video Player': string;
4
- Play: string;
5
- Pause: string;
6
- Replay: string;
7
- 'Current Time': string;
8
- Duration: string;
9
- 'Remaining Time': string;
10
- 'Stream Type': string;
11
- LIVE: string;
12
- Loaded: string;
13
- Progress: string;
14
- 'Progress Bar': string;
15
- 'progress bar timing: currentTime={1} duration={2}': string;
16
- Fullscreen: string;
17
- 'Exit Fullscreen': string;
18
- Mute: string;
19
- Unmute: string;
20
- 'Playback Rate': string;
21
- Subtitles: string;
22
- 'subtitles off': string;
23
- Captions: string;
24
- 'captions off': string;
25
- Chapters: string;
26
- Descriptions: string;
27
- 'descriptions off': string;
28
- 'Audio Track': string;
29
- 'Volume Level': string;
30
- 'You aborted the media playback': string;
31
- 'A network error caused the media download to fail part-way.': string;
32
- 'The media could not be loaded, either because the server or network failed or because the format is not supported.': string;
33
- 'The media playback was aborted due to a corruption problem or because the media used features your browser did not support.': string;
34
- 'No compatible source was found for this media.': string;
35
- 'The media is encrypted and we do not have the keys to decrypt it.': string;
36
- 'Play Video': string;
37
- Close: string;
38
- 'Close Modal Dialog': string;
39
- 'Modal Window': string;
40
- 'This is a modal window': string;
41
- 'This modal can be closed by pressing the Escape key or activating the close button.': string;
42
- ', opens captions settings dialog': string;
43
- ', opens subtitles settings dialog': string;
44
- ', opens descriptions settings dialog': string;
45
- ', selected': string;
46
- 'captions settings': string;
47
- 'subtitles settings': string;
48
- 'descriptions settings': string;
49
- Text: string;
50
- White: string;
51
- Black: string;
52
- Red: string;
53
- Green: string;
54
- Blue: string;
55
- Yellow: string;
56
- Magenta: string;
57
- Cyan: string;
58
- Background: string;
59
- Window: string;
60
- Transparent: string;
61
- 'Semi-Transparent': string;
62
- Opaque: string;
63
- 'Font Size': string;
64
- 'Text Edge Style': string;
65
- None: string;
66
- Uniform: string;
67
- 'Drop shadow': string;
68
- 'Font Family': string;
69
- 'Proportional Sans-Serif': string;
70
- 'Monospace Sans-Serif': string;
71
- 'Proportional Serif': string;
72
- 'Monospace Serif': string;
73
- 'Small Caps': string;
74
- Reset: string;
75
- 'restore all settings to the default values': string;
76
- Done: string;
77
- 'Caption Settings Dialog': string;
78
- 'Beginning of dialog window. Escape will cancel and close the window.': string;
79
- 'End of dialog window.': string;
80
- '{1} is loading.': string;
81
- 'Exit Picture-in-Picture': string;
82
- 'Picture-in-Picture': string;
83
- Color: string;
84
- Opacity: string;
85
- 'Text Background': string;
86
- 'Caption Area Background': string;
87
- 'Skip forward {1} seconds': string;
88
- 'Skip backward {1} seconds': string;
89
- }
90
- interface VideoPlayerTranslations {
91
- 'audio-player': string;
92
- 'video-player': string;
93
- play: string;
94
- pause: string;
95
- replay: string;
96
- 'current-time': string;
97
- duration: string;
98
- 'remaining-time': string;
99
- 'stream-type': string;
100
- live: string;
101
- loaded: string;
102
- progress: string;
103
- 'progress-bar': string;
104
- 'progress-bar-timing:-currenttime={1}-duration={2}': string;
105
- fullscreen: string;
106
- 'exit-fullscreen': string;
107
- mute: string;
108
- unmute: string;
109
- 'playback-rate': string;
110
- subtitles: string;
111
- 'subtitles-off': string;
112
- captions: string;
113
- 'captions-off': string;
114
- chapters: string;
115
- descriptions: string;
116
- 'descriptions-off': string;
117
- 'audio-track': string;
118
- 'volume-level': string;
119
- 'you-aborted-the-media-playback': string;
120
- 'a-network-error-caused-the-media-download-to-fail-part-way.': string;
121
- 'the-media-could-not-be-loaded,-either-because-the-server-or-network-failed-or-because-the-format-is-not-supported.': string;
122
- 'the-media-playback-was-aborted-due-to-a-corruption-problem-or-because-the-media-used-features-your-browser-did-not-support.': string;
123
- 'no-compatible-source-was-found-for-this-media.': string;
124
- 'the-media-is-encrypted-and-we-do-not-have-the-keys-to-decrypt-it.': string;
125
- 'play-video': string;
126
- close: string;
127
- 'close-modal-dialog': string;
128
- 'modal-window': string;
129
- 'this-is-a-modal-window': string;
130
- 'this-modal-can-be-closed-by-pressing-the-escape-key-or-activating-the-close-button.': string;
131
- ',-opens-captions-settings-dialog': string;
132
- ',-opens-subtitles-settings-dialog': string;
133
- ',-opens-descriptions-settings-dialog': string;
134
- ',-selected': string;
135
- 'captions-settings': string;
136
- 'subtitles-settings': string;
137
- 'descriptions-settings': string;
138
- text: string;
139
- white: string;
140
- black: string;
141
- red: string;
142
- green: string;
143
- blue: string;
144
- yellow: string;
145
- magenta: string;
146
- cyan: string;
147
- background: string;
148
- window: string;
149
- transparent: string;
150
- 'semi-transparent': string;
151
- opaque: string;
152
- 'font-size': string;
153
- 'text-edge-style': string;
154
- none: string;
155
- uniform: string;
156
- 'drop-shadow': string;
157
- 'font-family': string;
158
- 'proportional-sans-serif': string;
159
- 'monospace-sans-serif': string;
160
- 'proportional-serif': string;
161
- 'monospace-serif': string;
162
- 'small-caps': string;
163
- reset: string;
164
- 'restore-all-settings-to-the-default-values': string;
165
- done: string;
166
- 'caption-settings-dialog': string;
167
- 'beginning-of-dialog-window.-escape-will-cancel-and-close-the-window.': string;
168
- 'end-of-dialog-window.': string;
169
- '{1}-is-loading.': string;
170
- 'exit-picture-in-picture': string;
171
- 'picture-in-picture': string;
172
- color: string;
173
- opacity: string;
174
- 'text-background': string;
175
- 'caption-area-background': string;
176
- 'skip-forward-{1}-seconds': string;
177
- 'skip-backward-{1}-seconds': string;
178
- }
179
- export type { VideoJsTranslation, VideoPlayerTranslations };
@@ -1,17 +0,0 @@
1
- import { DestroyRef } from '@angular/core';
2
- import Player from 'video.js/dist/types/player';
3
- import { VideoJsTranslation } from './video-player-i18n.model';
4
- import * as i0 from "@angular/core";
5
- export declare class VideoPlayerI18nService {
6
- #private;
7
- init(player: Player, destroyRef: DestroyRef): void;
8
- getLanguage(): {
9
- languages: {
10
- [x: string]: VideoJsTranslation;
11
- };
12
- language: string;
13
- };
14
- private getTranslations;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerI18nService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<VideoPlayerI18nService>;
17
- }
@@ -1,46 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import type Player from 'video.js/dist/types/player';
3
- import { ItAbstractComponent } from '../../../abstracts/abstract.component';
4
- import { VideoPlayerI18nService } from './video-player-i18n.service';
5
- import { VideoPlayerConfigService } from './video-player.config';
6
- import { ItVideoPlayerOptions } from './video-player.model';
7
- import * as i0 from "@angular/core";
8
- declare enum ViewType {
9
- Default = "DEFAULT",
10
- Overlay = "OVERLAY"
11
- }
12
- /**
13
- * Video Player
14
- * @description Component that allows playing a video.
15
- */
16
- export declare class ItVideoPlayerComponent extends ItAbstractComponent implements OnInit {
17
- #private;
18
- private config;
19
- /**
20
- * Options for video player configuration
21
- */
22
- options: ItVideoPlayerOptions;
23
- videoPlayerRef?: ElementRef<HTMLVideoElement>;
24
- acceptOveralyRef?: ElementRef<HTMLDivElement>;
25
- acceptOverlayableRef?: ElementRef<HTMLDivElement>;
26
- chrRememberRef?: ElementRef<HTMLInputElement>;
27
- player: Player | null;
28
- readonly viewTypes: typeof ViewType;
29
- readonly viewType: import("@angular/core").WritableSignal<ViewType | undefined>;
30
- readonly cookieAccepted: import("@angular/core").WritableSignal<boolean>;
31
- protected readonly i18nService: VideoPlayerI18nService;
32
- private ngZone;
33
- private injector;
34
- constructor(config: VideoPlayerConfigService);
35
- ngOnInit(): Promise<void>;
36
- acceptCookieHandler(): void;
37
- private initVideoPlayer;
38
- private setVideoPlayer;
39
- private setViewType;
40
- private hideOverlay;
41
- private rememberHandler;
42
- private setVideoAttributes;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<ItVideoPlayerComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<ItVideoPlayerComponent, "it-video-player", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, ["[transcriptionTitle]", "[transcriptionText]"], true, never>;
45
- }
46
- export {};
@@ -1,68 +0,0 @@
1
- import { ItVideoPlayerOptions } from './video-player.model';
2
- import * as i0 from "@angular/core";
3
- export type Tech = 'html5' | 'youtube';
4
- export declare class VideoPlayerConfigService {
5
- #private;
6
- configureTech({ tech }: {
7
- tech: Tech;
8
- }): Promise<void>;
9
- mergeConfig(o: ItVideoPlayerOptions): {
10
- preload: "" | "auto" | "none" | "metadata";
11
- techOrder: string[];
12
- tracks: {
13
- kind: string;
14
- lang: string;
15
- src: string;
16
- label: string;
17
- default?: true;
18
- }[];
19
- tech: string;
20
- autoplay?: boolean | ("any" | "play" | "muted");
21
- controls?: boolean;
22
- fluid?: boolean;
23
- loop?: boolean;
24
- muted?: boolean;
25
- poster?: string;
26
- sources: import("./video-player.model").Source[];
27
- captions?: import("./video-player.model").Caption[];
28
- chapters?: import("./video-player.model").Chapter[];
29
- languages: {
30
- [x: string]: import("./video-player-i18n.model").VideoJsTranslation;
31
- };
32
- language: string;
33
- } | {
34
- sources: (import("./video-player.model").Source & {
35
- type: "video/youtube";
36
- })[];
37
- tech: string;
38
- youtube: {
39
- ytControls: number;
40
- rel: number;
41
- fs: number;
42
- modestbranding: number;
43
- };
44
- preload: "" | "auto" | "none" | "metadata";
45
- techOrder: string[];
46
- tracks: {
47
- kind: string;
48
- lang: string;
49
- src: string;
50
- label: string;
51
- default?: true;
52
- }[];
53
- autoplay?: boolean | ("any" | "play" | "muted");
54
- controls?: boolean;
55
- fluid?: boolean;
56
- loop?: boolean;
57
- muted?: boolean;
58
- poster?: string;
59
- captions?: import("./video-player.model").Caption[];
60
- chapters?: import("./video-player.model").Chapter[];
61
- languages: {
62
- [x: string]: import("./video-player-i18n.model").VideoJsTranslation;
63
- };
64
- language: string;
65
- };
66
- static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerConfigService, never>;
67
- static ɵprov: i0.ɵɵInjectableDeclaration<VideoPlayerConfigService>;
68
- }
@@ -1,6 +0,0 @@
1
- declare const cookies: {
2
- rememberChoice: (service: string, remember: boolean) => void;
3
- isChoiceRemembered: (service: string) => boolean;
4
- clearAllRememberedChoices: () => void;
5
- };
6
- export { cookies };