@mintplayer/ng-bootstrap 22.28.0 → 22.29.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.
- package/_bootstrap.scss +4 -101
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs +62 -30
- package/fesm2022/mintplayer-ng-bootstrap-a11y.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs +71 -64
- package/fesm2022/mintplayer-ng-bootstrap-accordion.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs +50 -46
- package/fesm2022/mintplayer-ng-bootstrap-calendar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs +65 -94
- package/fesm2022/mintplayer-ng-bootstrap-card.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs +122 -97
- package/fesm2022/mintplayer-ng-bootstrap-carousel.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs +80 -133
- package/fesm2022/mintplayer-ng-bootstrap-charts-hierarchy.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs +31 -19
- package/fesm2022/mintplayer-ng-bootstrap-charts-sparkline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs +41 -46
- package/fesm2022/mintplayer-ng-bootstrap-charts-trend.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs +76 -37
- package/fesm2022/mintplayer-ng-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs +37 -82
- package/fesm2022/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-color-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs +150 -824
- package/fesm2022/mintplayer-ng-bootstrap-datatable.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs +172 -118
- package/fesm2022/mintplayer-ng-bootstrap-datepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs +180 -142
- package/fesm2022/mintplayer-ng-bootstrap-datetime-picker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs +66 -116
- package/fesm2022/mintplayer-ng-bootstrap-dock.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs +41 -46
- package/fesm2022/mintplayer-ng-bootstrap-dropdown-menu.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs +80 -204
- package/fesm2022/mintplayer-ng-bootstrap-file-manager.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs +32 -17
- package/fesm2022/mintplayer-ng-bootstrap-input-group.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs +220 -20
- package/fesm2022/mintplayer-ng-bootstrap-machine.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs +98 -129
- package/fesm2022/mintplayer-ng-bootstrap-multi-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs +144 -265
- package/fesm2022/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs +133 -217
- package/fesm2022/mintplayer-ng-bootstrap-otp-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs +46 -25
- package/fesm2022/mintplayer-ng-bootstrap-pagination.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs +166 -93
- package/fesm2022/mintplayer-ng-bootstrap-phone-input.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs +148 -231
- package/fesm2022/mintplayer-ng-bootstrap-query-builder.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs +133 -94
- package/fesm2022/mintplayer-ng-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs +2 -2
- package/fesm2022/mintplayer-ng-bootstrap-range.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs +76 -7
- package/fesm2022/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs +766 -812
- package/fesm2022/mintplayer-ng-bootstrap-ribbon.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs +206 -180
- package/fesm2022/mintplayer-ng-bootstrap-scheduler.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs +202 -141
- package/fesm2022/mintplayer-ng-bootstrap-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs +113 -59
- package/fesm2022/mintplayer-ng-bootstrap-shell.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs +133 -76
- package/fesm2022/mintplayer-ng-bootstrap-signature-pad.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs +60 -87
- package/fesm2022/mintplayer-ng-bootstrap-splitter.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs +86 -83
- package/fesm2022/mintplayer-ng-bootstrap-tab-control.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs +1 -2
- package/fesm2022/mintplayer-ng-bootstrap-table.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs +38 -34
- package/fesm2022/mintplayer-ng-bootstrap-theming.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs +177 -147
- package/fesm2022/mintplayer-ng-bootstrap-timeline.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs +200 -94
- package/fesm2022/mintplayer-ng-bootstrap-timepicker.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs +186 -233
- package/fesm2022/mintplayer-ng-bootstrap-tree-select.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs +58 -136
- package/fesm2022/mintplayer-ng-bootstrap-treeview.mjs.map +1 -1
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs +22 -16
- package/fesm2022/mintplayer-ng-bootstrap-typeahead.mjs.map +1 -1
- package/package.json +11 -9
- package/types/mintplayer-ng-bootstrap-a11y.d.ts +40 -21
- package/types/mintplayer-ng-bootstrap-accordion.d.ts +36 -33
- package/types/mintplayer-ng-bootstrap-calendar.d.ts +39 -16
- package/types/mintplayer-ng-bootstrap-card.d.ts +25 -33
- package/types/mintplayer-ng-bootstrap-carousel.d.ts +70 -55
- package/types/mintplayer-ng-bootstrap-charts-hierarchy.d.ts +65 -45
- package/types/mintplayer-ng-bootstrap-charts-sparkline.d.ts +12 -3
- package/types/mintplayer-ng-bootstrap-charts-trend.d.ts +34 -19
- package/types/mintplayer-ng-bootstrap-checkbox.d.ts +34 -8
- package/types/mintplayer-ng-bootstrap-code-snippet.d.ts +32 -59
- package/types/mintplayer-ng-bootstrap-datatable.d.ts +217 -422
- package/types/mintplayer-ng-bootstrap-datepicker.d.ts +77 -29
- package/types/mintplayer-ng-bootstrap-datetime-picker.d.ts +83 -51
- package/types/mintplayer-ng-bootstrap-dock.d.ts +57 -38
- package/types/mintplayer-ng-bootstrap-dropdown-menu.d.ts +25 -30
- package/types/mintplayer-ng-bootstrap-file-manager.d.ts +61 -81
- package/types/mintplayer-ng-bootstrap-input-group.d.ts +17 -12
- package/types/mintplayer-ng-bootstrap-machine.d.ts +112 -4
- package/types/mintplayer-ng-bootstrap-multi-range.d.ts +53 -27
- package/types/mintplayer-ng-bootstrap-navbar.d.ts +88 -164
- package/types/mintplayer-ng-bootstrap-otp-input.d.ts +63 -30
- package/types/mintplayer-ng-bootstrap-pagination.d.ts +23 -7
- package/types/mintplayer-ng-bootstrap-phone-input.d.ts +77 -47
- package/types/mintplayer-ng-bootstrap-query-builder.d.ts +95 -98
- package/types/mintplayer-ng-bootstrap-radio.d.ts +68 -35
- package/types/mintplayer-ng-bootstrap-rating.d.ts +27 -2
- package/types/mintplayer-ng-bootstrap-ribbon.d.ts +546 -220
- package/types/mintplayer-ng-bootstrap-scheduler.d.ts +82 -197
- package/types/mintplayer-ng-bootstrap-select.d.ts +113 -53
- package/types/mintplayer-ng-bootstrap-shell.d.ts +59 -33
- package/types/mintplayer-ng-bootstrap-signature-pad.d.ts +63 -27
- package/types/mintplayer-ng-bootstrap-splitter.d.ts +45 -56
- package/types/mintplayer-ng-bootstrap-tab-control.d.ts +47 -26
- package/types/mintplayer-ng-bootstrap-table.d.ts +1 -2
- package/types/mintplayer-ng-bootstrap-theming.d.ts +19 -18
- package/types/mintplayer-ng-bootstrap-timeline.d.ts +287 -117
- package/types/mintplayer-ng-bootstrap-timepicker.d.ts +100 -27
- package/types/mintplayer-ng-bootstrap-tree-select.d.ts +188 -94
- package/types/mintplayer-ng-bootstrap-treeview.d.ts +74 -59
- package/types/mintplayer-ng-bootstrap-typeahead.d.ts +3 -0
- package/src/styles/utilities/cursor.scss +0 -12
- package/src/styles/utilities/overflow.scss +0 -12
- package/src/styles/utilities/white-space.scss +0 -12
- package/src/styles/utilities/width.scss +0 -14
|
@@ -1,134 +1,304 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TimelineItem,
|
|
3
|
-
export { TimelineAlign, TimelineConnectorContext, TimelineItem, TimelineItemClickDetail, TimelineItemContext, TimelineOrientation, TimelineSelectable, TimelineSelectionChangeDetail, TimelineSide, resolveSides } from '@mintplayer/
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
6
|
-
import { MpTimeline } from '@mintplayer/web-components/timeline';
|
|
1
|
+
import * as _mintplayer_ui_core_timeline from '@mintplayer/ui-core/timeline';
|
|
2
|
+
import { TimelineItem, TimelineKeys, TimelineItemClickDetail, TimelineSelectionChangeDetail, TimelineItemContext, TimelineConnectorContext } from '@mintplayer/ui-core/timeline';
|
|
3
|
+
export { TimelineAlign, TimelineConnectorContext, TimelineItem, TimelineItemClickDetail, TimelineItemContext, TimelineOrientation, TimelineSelectable, TimelineSelectionChangeDetail, TimelineSide, resolveSides } from '@mintplayer/ui-core/timeline';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
7
6
|
|
|
8
|
-
/**
|
|
9
|
-
* Context for the per-item template directives. The `$implicit` is the item, so
|
|
10
|
-
* `*bsTimelineContent="let item"` binds the item; named context vars expose the
|
|
11
|
-
* resolved layout state.
|
|
12
|
-
*/
|
|
13
|
-
interface BsTimelineItemContext {
|
|
14
|
-
$implicit: TimelineItem;
|
|
15
|
-
/** Position in the items array. */
|
|
16
|
-
index: number;
|
|
17
|
-
/** Position in the rendered order (differs from index under reverse). */
|
|
18
|
-
visualIndex: number;
|
|
19
|
-
isFirst: boolean;
|
|
20
|
-
isLast: boolean;
|
|
21
|
-
orientation: TimelineOrientation;
|
|
22
|
-
side: TimelineSide;
|
|
23
|
-
}
|
|
24
|
-
/** Context for the connector template (the segment trailing this item). */
|
|
25
|
-
interface BsTimelineConnectorContext {
|
|
26
|
-
/** The item the connector trails. */
|
|
27
|
-
$implicit: TimelineItem;
|
|
28
|
-
/** The next item (undefined for the last). */
|
|
29
|
-
toItem?: TimelineItem;
|
|
30
|
-
index: number;
|
|
31
|
-
orientation: TimelineOrientation;
|
|
32
|
-
}
|
|
33
|
-
/** Custom bullet / marker template. */
|
|
7
|
+
/** The `marker` slot of `<bs-timeline>`: `<ng-template bsTimelineMarker>` or `*bsTimelineMarker`. */
|
|
34
8
|
declare class BsTimelineMarkerDirective {
|
|
35
|
-
readonly templateRef: TemplateRef<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
9
|
+
readonly templateRef: TemplateRef<{
|
|
10
|
+
item: TimelineItem;
|
|
11
|
+
ctx: TimelineItemContext;
|
|
12
|
+
} & {
|
|
13
|
+
$implicit: {
|
|
14
|
+
item: TimelineItem;
|
|
15
|
+
ctx: TimelineItemContext;
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
static ngTemplateContextGuard(_dir: BsTimelineMarkerDirective, ctx: unknown): ctx is {
|
|
19
|
+
item: TimelineItem;
|
|
20
|
+
ctx: TimelineItemContext;
|
|
21
|
+
} & {
|
|
22
|
+
$implicit: {
|
|
23
|
+
item: TimelineItem;
|
|
24
|
+
ctx: TimelineItemContext;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineMarkerDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineMarkerDirective, "[bsTimelineMarker]", never, {}, {}, never, never, true, never>;
|
|
39
29
|
}
|
|
40
|
-
/**
|
|
41
|
-
declare class
|
|
42
|
-
readonly templateRef: TemplateRef<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
/** The `heading` slot of `<bs-timeline>`: `<ng-template bsTimelineHeading>` or `*bsTimelineHeading`. */
|
|
31
|
+
declare class BsTimelineHeadingDirective {
|
|
32
|
+
readonly templateRef: TemplateRef<{
|
|
33
|
+
item: TimelineItem;
|
|
34
|
+
ctx: TimelineItemContext;
|
|
35
|
+
} & {
|
|
36
|
+
$implicit: {
|
|
37
|
+
item: TimelineItem;
|
|
38
|
+
ctx: TimelineItemContext;
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
41
|
+
static ngTemplateContextGuard(_dir: BsTimelineHeadingDirective, ctx: unknown): ctx is {
|
|
42
|
+
item: TimelineItem;
|
|
43
|
+
ctx: TimelineItemContext;
|
|
44
|
+
} & {
|
|
45
|
+
$implicit: {
|
|
46
|
+
item: TimelineItem;
|
|
47
|
+
ctx: TimelineItemContext;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineHeadingDirective, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineHeadingDirective, "[bsTimelineHeading]", never, {}, {}, never, never, true, never>;
|
|
46
52
|
}
|
|
47
|
-
/**
|
|
53
|
+
/** The `timestamp` slot of `<bs-timeline>`: `<ng-template bsTimelineTimestamp>` or `*bsTimelineTimestamp`. */
|
|
48
54
|
declare class BsTimelineTimestampDirective {
|
|
49
|
-
readonly templateRef: TemplateRef<
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
readonly templateRef: TemplateRef<{
|
|
56
|
+
item: TimelineItem;
|
|
57
|
+
ctx: TimelineItemContext;
|
|
58
|
+
} & {
|
|
59
|
+
$implicit: {
|
|
60
|
+
item: TimelineItem;
|
|
61
|
+
ctx: TimelineItemContext;
|
|
62
|
+
};
|
|
63
|
+
}>;
|
|
64
|
+
static ngTemplateContextGuard(_dir: BsTimelineTimestampDirective, ctx: unknown): ctx is {
|
|
65
|
+
item: TimelineItem;
|
|
66
|
+
ctx: TimelineItemContext;
|
|
67
|
+
} & {
|
|
68
|
+
$implicit: {
|
|
69
|
+
item: TimelineItem;
|
|
70
|
+
ctx: TimelineItemContext;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineTimestampDirective, never>;
|
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineTimestampDirective, "[bsTimelineTimestamp]", never, {}, {}, never, never, true, never>;
|
|
53
75
|
}
|
|
54
|
-
/**
|
|
55
|
-
declare class BsTimelineContentDirective {
|
|
56
|
-
readonly templateRef: TemplateRef<BsTimelineItemContext>;
|
|
57
|
-
static ngTemplateContextGuard(_d: BsTimelineContentDirective, ctx: unknown): ctx is BsTimelineItemContext;
|
|
58
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTimelineContentDirective, never>;
|
|
59
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsTimelineContentDirective, "[bsTimelineContent]", never, {}, {}, never, never, true, never>;
|
|
60
|
-
}
|
|
61
|
-
/** Custom opposite-region template. */
|
|
76
|
+
/** The `opposite` slot of `<bs-timeline>`: `<ng-template bsTimelineOpposite>` or `*bsTimelineOpposite`. */
|
|
62
77
|
declare class BsTimelineOppositeDirective {
|
|
63
|
-
readonly templateRef: TemplateRef<
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
78
|
+
readonly templateRef: TemplateRef<{
|
|
79
|
+
item: TimelineItem;
|
|
80
|
+
ctx: TimelineItemContext;
|
|
81
|
+
} & {
|
|
82
|
+
$implicit: {
|
|
83
|
+
item: TimelineItem;
|
|
84
|
+
ctx: TimelineItemContext;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
static ngTemplateContextGuard(_dir: BsTimelineOppositeDirective, ctx: unknown): ctx is {
|
|
88
|
+
item: TimelineItem;
|
|
89
|
+
ctx: TimelineItemContext;
|
|
90
|
+
} & {
|
|
91
|
+
$implicit: {
|
|
92
|
+
item: TimelineItem;
|
|
93
|
+
ctx: TimelineItemContext;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineOppositeDirective, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineOppositeDirective, "[bsTimelineOpposite]", never, {}, {}, never, never, true, never>;
|
|
98
|
+
}
|
|
99
|
+
/** The `content` slot of `<bs-timeline>`: `<ng-template bsTimelineContent>` or `*bsTimelineContent`. */
|
|
100
|
+
declare class BsTimelineContentDirective {
|
|
101
|
+
readonly templateRef: TemplateRef<{
|
|
102
|
+
item: TimelineItem;
|
|
103
|
+
ctx: TimelineItemContext;
|
|
104
|
+
} & {
|
|
105
|
+
$implicit: {
|
|
106
|
+
item: TimelineItem;
|
|
107
|
+
ctx: TimelineItemContext;
|
|
108
|
+
};
|
|
109
|
+
}>;
|
|
110
|
+
static ngTemplateContextGuard(_dir: BsTimelineContentDirective, ctx: unknown): ctx is {
|
|
111
|
+
item: TimelineItem;
|
|
112
|
+
ctx: TimelineItemContext;
|
|
113
|
+
} & {
|
|
114
|
+
$implicit: {
|
|
115
|
+
item: TimelineItem;
|
|
116
|
+
ctx: TimelineItemContext;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineContentDirective, never>;
|
|
120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineContentDirective, "[bsTimelineContent]", never, {}, {}, never, never, true, never>;
|
|
67
121
|
}
|
|
68
|
-
/**
|
|
122
|
+
/** The `connector` slot of `<bs-timeline>`: `<ng-template bsTimelineConnector>` or `*bsTimelineConnector`. */
|
|
69
123
|
declare class BsTimelineConnectorDirective {
|
|
70
|
-
readonly templateRef: TemplateRef<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
124
|
+
readonly templateRef: TemplateRef<{
|
|
125
|
+
item: TimelineItem;
|
|
126
|
+
ctx: TimelineConnectorContext;
|
|
127
|
+
} & {
|
|
128
|
+
$implicit: {
|
|
129
|
+
item: TimelineItem;
|
|
130
|
+
ctx: TimelineConnectorContext;
|
|
131
|
+
};
|
|
132
|
+
}>;
|
|
133
|
+
static ngTemplateContextGuard(_dir: BsTimelineConnectorDirective, ctx: unknown): ctx is {
|
|
134
|
+
item: TimelineItem;
|
|
135
|
+
ctx: TimelineConnectorContext;
|
|
136
|
+
} & {
|
|
137
|
+
$implicit: {
|
|
138
|
+
item: TimelineItem;
|
|
139
|
+
ctx: TimelineConnectorContext;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineConnectorDirective, never>;
|
|
143
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineConnectorDirective, "[bsTimelineConnector]", never, {}, {}, never, never, true, never>;
|
|
74
144
|
}
|
|
75
|
-
|
|
76
145
|
/**
|
|
77
|
-
*
|
|
146
|
+
* A sequence of events along a connecting line, vertical or horizontal (#437).
|
|
78
147
|
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
148
|
+
* Give it `items`, and restyle each region of a row through the `marker`, `heading`,
|
|
149
|
+
* `timestamp`, `opposite`, `content` and `connector` slots; or put timeline items inside.
|
|
150
|
+
* Layout is CSS, so the server render is already laid out. `selectable` makes it a listbox
|
|
151
|
+
* with a roving tab stop (`selectedIds` is two-way); `activatable` makes click-only rows
|
|
152
|
+
* keyboard-reachable buttons. An `aria-label` names it.
|
|
83
153
|
*/
|
|
84
154
|
declare class BsTimelineComponent {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
readonly
|
|
96
|
-
/**
|
|
97
|
-
readonly
|
|
98
|
-
/**
|
|
99
|
-
readonly
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
155
|
+
#private;
|
|
156
|
+
/** The host element. */
|
|
157
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
158
|
+
readonly items: i0.InputSignal<readonly TimelineItem[] | null | undefined>;
|
|
159
|
+
readonly orientation: i0.InputSignal<_mintplayer_ui_core_timeline.TimelineOrientation>;
|
|
160
|
+
readonly align: i0.InputSignal<_mintplayer_ui_core_timeline.TimelineAlign>;
|
|
161
|
+
readonly reverse: i0.InputSignalWithTransform<boolean, unknown>;
|
|
162
|
+
readonly selectable: i0.InputSignal<_mintplayer_ui_core_timeline.TimelineSelectable>;
|
|
163
|
+
readonly activatable: i0.InputSignalWithTransform<boolean, unknown>;
|
|
164
|
+
readonly selectedIds: i0.ModelSignal<TimelineKeys>;
|
|
165
|
+
readonly inputLabel: i0.InputSignal<string | null>;
|
|
166
|
+
/** An enabled row was clicked, or activated with Enter/Space when only activatable. */
|
|
167
|
+
readonly itemclick: i0.OutputEmitterRef<TimelineItemClickDetail>;
|
|
168
|
+
/** The selection changed: the selected, added and removed items. */
|
|
169
|
+
readonly selectionchanged: i0.OutputEmitterRef<TimelineSelectionChangeDetail>;
|
|
170
|
+
/** The keys of the selected rows. */
|
|
171
|
+
readonly selectedidschange: i0.OutputEmitterRef<TimelineKeys>;
|
|
172
|
+
private readonly markerSlot;
|
|
173
|
+
private readonly headingSlot;
|
|
174
|
+
private readonly timestampSlot;
|
|
175
|
+
private readonly oppositeSlot;
|
|
176
|
+
private readonly contentSlot;
|
|
177
|
+
private readonly connectorSlot;
|
|
178
|
+
/** The template's named slots. */
|
|
179
|
+
protected readonly slots: i0.Signal<{
|
|
180
|
+
marker: TemplateRef<{
|
|
181
|
+
item: TimelineItem;
|
|
182
|
+
ctx: TimelineItemContext;
|
|
183
|
+
} & {
|
|
184
|
+
$implicit: {
|
|
185
|
+
item: TimelineItem;
|
|
186
|
+
ctx: TimelineItemContext;
|
|
187
|
+
};
|
|
188
|
+
}> | undefined;
|
|
189
|
+
heading: TemplateRef<{
|
|
190
|
+
item: TimelineItem;
|
|
191
|
+
ctx: TimelineItemContext;
|
|
192
|
+
} & {
|
|
193
|
+
$implicit: {
|
|
194
|
+
item: TimelineItem;
|
|
195
|
+
ctx: TimelineItemContext;
|
|
196
|
+
};
|
|
197
|
+
}> | undefined;
|
|
198
|
+
timestamp: TemplateRef<{
|
|
199
|
+
item: TimelineItem;
|
|
200
|
+
ctx: TimelineItemContext;
|
|
201
|
+
} & {
|
|
202
|
+
$implicit: {
|
|
203
|
+
item: TimelineItem;
|
|
204
|
+
ctx: TimelineItemContext;
|
|
205
|
+
};
|
|
206
|
+
}> | undefined;
|
|
207
|
+
opposite: TemplateRef<{
|
|
208
|
+
item: TimelineItem;
|
|
209
|
+
ctx: TimelineItemContext;
|
|
210
|
+
} & {
|
|
211
|
+
$implicit: {
|
|
212
|
+
item: TimelineItem;
|
|
213
|
+
ctx: TimelineItemContext;
|
|
214
|
+
};
|
|
215
|
+
}> | undefined;
|
|
216
|
+
content: TemplateRef<{
|
|
217
|
+
item: TimelineItem;
|
|
218
|
+
ctx: TimelineItemContext;
|
|
219
|
+
} & {
|
|
220
|
+
$implicit: {
|
|
221
|
+
item: TimelineItem;
|
|
222
|
+
ctx: TimelineItemContext;
|
|
223
|
+
};
|
|
224
|
+
}> | undefined;
|
|
225
|
+
connector: TemplateRef<{
|
|
226
|
+
item: TimelineItem;
|
|
227
|
+
ctx: TimelineConnectorContext;
|
|
228
|
+
} & {
|
|
229
|
+
$implicit: {
|
|
230
|
+
item: TimelineItem;
|
|
231
|
+
ctx: TimelineConnectorContext;
|
|
232
|
+
};
|
|
233
|
+
}> | undefined;
|
|
234
|
+
}>;
|
|
235
|
+
/** The template's props. */
|
|
236
|
+
protected readonly props: i0.Signal<{
|
|
237
|
+
view: _mintplayer_ui_core_timeline.TimelineView;
|
|
238
|
+
}>;
|
|
239
|
+
constructor();
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineComponent, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTimelineComponent, "bs-timeline", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "reverse": { "alias": "reverse"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "activatable": { "alias": "activatable"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "itemclick": "itemclick"; "selectionchanged": "selectionchanged"; "selectedidschange": "selectedidschange"; }, ["markerSlot", "headingSlot", "timestampSlot", "oppositeSlot", "contentSlot", "connectorSlot"], ["*"], true, never>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** The `marker` slot of `<bs-timeline-item>`: `<ng-template bsTimelineItemMarker>` or `*bsTimelineItemMarker`. */
|
|
245
|
+
declare class BsTimelineItemMarkerDirective {
|
|
246
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
247
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineItemMarkerDirective, never>;
|
|
248
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineItemMarkerDirective, "[bsTimelineItemMarker]", never, {}, {}, never, never, true, never>;
|
|
249
|
+
}
|
|
250
|
+
/** The `heading` slot of `<bs-timeline-item>`: `<ng-template bsTimelineItemHeading>` or `*bsTimelineItemHeading`. */
|
|
251
|
+
declare class BsTimelineItemHeadingDirective {
|
|
252
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineItemHeadingDirective, never>;
|
|
254
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineItemHeadingDirective, "[bsTimelineItemHeading]", never, {}, {}, never, never, true, never>;
|
|
255
|
+
}
|
|
256
|
+
/** The `opposite` slot of `<bs-timeline-item>`: `<ng-template bsTimelineItemOpposite>` or `*bsTimelineItemOpposite`. */
|
|
257
|
+
declare class BsTimelineItemOppositeDirective {
|
|
258
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
259
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineItemOppositeDirective, never>;
|
|
260
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineItemOppositeDirective, "[bsTimelineItemOpposite]", never, {}, {}, never, never, true, never>;
|
|
261
|
+
}
|
|
262
|
+
/** The `connector` slot of `<bs-timeline-item>`: `<ng-template bsTimelineItemConnector>` or `*bsTimelineItemConnector`. */
|
|
263
|
+
declare class BsTimelineItemConnectorDirective {
|
|
264
|
+
readonly templateRef: TemplateRef<unknown>;
|
|
265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineItemConnectorDirective, never>;
|
|
266
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsTimelineItemConnectorDirective, "[bsTimelineItemConnector]", never, {}, {}, never, never, true, never>;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* One declarative timeline event. `itemTitle`, `description` and `time` fill its regions;
|
|
270
|
+
* the `heading`, `opposite`, `marker` and `connector` slots and its content replace them.
|
|
271
|
+
* `itemId` is its selection key.
|
|
272
|
+
*/
|
|
273
|
+
declare class BsTimelineItemComponent {
|
|
274
|
+
#private;
|
|
275
|
+
/** The host element. */
|
|
276
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
277
|
+
readonly itemId: i0.InputSignal<string | null | undefined>;
|
|
278
|
+
readonly itemTitle: i0.InputSignal<string | null | undefined>;
|
|
279
|
+
readonly description: i0.InputSignal<string | null | undefined>;
|
|
280
|
+
readonly time: i0.InputSignal<string | null | undefined>;
|
|
281
|
+
readonly icon: i0.InputSignal<string | null | undefined>;
|
|
282
|
+
readonly color: i0.InputSignal<string | null | undefined>;
|
|
283
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
284
|
+
private readonly markerSlot;
|
|
285
|
+
private readonly headingSlot;
|
|
286
|
+
private readonly oppositeSlot;
|
|
287
|
+
private readonly connectorSlot;
|
|
288
|
+
/** The template's named slots. */
|
|
289
|
+
protected readonly slots: i0.Signal<{
|
|
290
|
+
marker: TemplateRef<unknown> | undefined;
|
|
291
|
+
heading: TemplateRef<unknown> | undefined;
|
|
292
|
+
opposite: TemplateRef<unknown> | undefined;
|
|
293
|
+
connector: TemplateRef<unknown> | undefined;
|
|
294
|
+
}>;
|
|
295
|
+
/** The template's props. */
|
|
296
|
+
protected readonly props: i0.Signal<{
|
|
297
|
+
view: _mintplayer_ui_core_timeline.TimelineItemView;
|
|
298
|
+
}>;
|
|
114
299
|
constructor();
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
* attribute is always a string, so a numeric id is keyed as its string form;
|
|
118
|
-
* an id-less item is keyed by its position.
|
|
119
|
-
*/
|
|
120
|
-
private keyFor;
|
|
121
|
-
protected idAttr(item: TimelineItem): string | number | null;
|
|
122
|
-
protected timeAttr(item: TimelineItem): string | null;
|
|
123
|
-
protected ctx(item: TimelineItem, index: number): BsTimelineItemContext;
|
|
124
|
-
protected connectorCtx(item: TimelineItem, index: number): BsTimelineConnectorContext;
|
|
125
|
-
protected onItemClick(event: Event): void;
|
|
126
|
-
protected onSelectionChange(event: Event): void;
|
|
127
|
-
/** Maps the element's selected keys back onto the consumer's own items. */
|
|
128
|
-
private boundItems;
|
|
129
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTimelineComponent, never>;
|
|
130
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTimelineComponent, "bs-timeline", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "reverse": { "alias": "reverse"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "activatable": { "alias": "activatable"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "itemClick": "itemClick"; }, ["markerTpl", "titleTpl", "timestampTpl", "contentTpl", "oppositeTpl", "connectorTpl"], ["*"], true, never>;
|
|
300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTimelineItemComponent, never>;
|
|
301
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTimelineItemComponent, "bs-timeline-item", never, { "itemId": { "alias": "itemId"; "required": false; "isSignal": true; }; "itemTitle": { "alias": "itemTitle"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["markerSlot", "headingSlot", "oppositeSlot", "connectorSlot"], ["*"], true, never>;
|
|
131
302
|
}
|
|
132
303
|
|
|
133
|
-
export { BsTimelineComponent, BsTimelineConnectorDirective, BsTimelineContentDirective, BsTimelineMarkerDirective, BsTimelineOppositeDirective, BsTimelineTimestampDirective
|
|
134
|
-
export type { BsTimelineConnectorContext, BsTimelineItemContext };
|
|
304
|
+
export { BsTimelineComponent, BsTimelineConnectorDirective, BsTimelineContentDirective, BsTimelineHeadingDirective, BsTimelineItemComponent, BsTimelineItemConnectorDirective, BsTimelineItemHeadingDirective, BsTimelineItemMarkerDirective, BsTimelineItemOppositeDirective, BsTimelineMarkerDirective, BsTimelineOppositeDirective, BsTimelineTimestampDirective };
|
|
@@ -1,39 +1,112 @@
|
|
|
1
|
+
import * as _mintplayer_ui_core_timepicker from '@mintplayer/ui-core/timepicker';
|
|
2
|
+
import { TimeListMethods, TimepickerMethods } from '@mintplayer/ui-core/timepicker';
|
|
3
|
+
export { Hour12Mode, TimeListLabels, TimeStep, TimepickerLabels } from '@mintplayer/ui-core/timepicker';
|
|
1
4
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
5
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
3
6
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
|
-
import
|
|
5
|
-
export * from '@mintplayer/web-components/timepicker';
|
|
7
|
+
import * as i2 from '@mintplayer/ng-bootstrap/a11y';
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
readonly
|
|
9
|
+
/**
|
|
10
|
+
* A listbox of time slots (#437): one real button per option, a roving tabindex, the APG keymap
|
|
11
|
+
* (arrows, Home/End, PageUp/PageDown one hour). Bounds are minutes from midnight.
|
|
12
|
+
* With JavaScript off the slots render inert.
|
|
13
|
+
*/
|
|
14
|
+
declare class BsTimeListComponent {
|
|
15
|
+
#private;
|
|
16
|
+
/** The host element. */
|
|
17
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
18
|
+
readonly selectedTime: _angular_core.ModelSignal<Date | null>;
|
|
19
|
+
readonly step: _angular_core.InputSignalWithTransform<_mintplayer_ui_core_timepicker.TimeStep, unknown>;
|
|
20
|
+
readonly minMinutes: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
21
|
+
readonly maxMinutes: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
22
|
+
readonly hour12: _angular_core.InputSignal<_mintplayer_ui_core_timepicker.Hour12Mode>;
|
|
23
|
+
readonly locale: _angular_core.InputSignal<string | null>;
|
|
24
|
+
readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_timepicker.TimeListLabels> | null>;
|
|
25
|
+
/** A slot chosen by click, Enter or Space. */
|
|
26
|
+
readonly selectedtimechange: _angular_core.OutputEmitterRef<Date>;
|
|
27
|
+
/** The template's props. */
|
|
28
|
+
protected readonly props: _angular_core.Signal<{
|
|
29
|
+
view: _mintplayer_ui_core_timepicker.TimeListView;
|
|
30
|
+
}>;
|
|
31
|
+
constructor();
|
|
32
|
+
/** Focus the roving slot. */
|
|
33
|
+
focusList(...args: Parameters<TimeListMethods['focusList']>): ReturnType<TimeListMethods['focusList']>;
|
|
34
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTimeListComponent, never>;
|
|
35
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTimeListComponent, "bs-time-list", never, { "selectedTime": { "alias": "selectedTime"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "minMinutes": { "alias": "minMinutes"; "required": false; "isSignal": true; }; "maxMinutes": { "alias": "maxMinutes"; "required": false; "isSignal": true; }; "hour12": { "alias": "hour12"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "selectedTime": "selectedTimeChange"; "selectedtimechange": "selectedtimechange"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The `ControlValueAccessor` and `Validator` of `bs-timepicker` (a host
|
|
40
|
+
* directive of the generated component, see `timepicker.angular.ts`). A bound
|
|
41
|
+
* form control drives the picked time through `viewValue`; a pick reaches the
|
|
42
|
+
* form through the component's `selectedTime` model, which a form write never
|
|
43
|
+
* echoes. A null form value clears the field.
|
|
44
|
+
*
|
|
45
|
+
* Validation compares times of day: `min` (`{ min, actual }`) and `max`
|
|
46
|
+
* (`{ max, actual }`).
|
|
47
|
+
*/
|
|
48
|
+
declare class BsTimepickerValueAccessor implements ControlValueAccessor, Validator, OnInit {
|
|
49
|
+
private readonly injector;
|
|
50
|
+
private readonly destroyRef;
|
|
51
|
+
private component?;
|
|
52
|
+
/** A form control drives the time: its `viewValue` wins over the `selectedTime` input. */
|
|
53
|
+
readonly bound: _angular_core.WritableSignal<boolean>;
|
|
54
|
+
readonly viewValue: _angular_core.WritableSignal<Date | null>;
|
|
55
|
+
readonly disabled: _angular_core.WritableSignal<boolean>;
|
|
21
56
|
private onChange;
|
|
22
|
-
|
|
57
|
+
onTouched: () => void;
|
|
23
58
|
private onValidatorChange;
|
|
24
|
-
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
|
-
onSelectedTimeChange(event: Event): void;
|
|
27
|
-
onOpened(): void;
|
|
28
|
-
onClosed(): void;
|
|
29
|
-
writeValue(value: Date | null | undefined): void;
|
|
59
|
+
ngOnInit(): void;
|
|
30
60
|
registerOnChange(fn: (value: Date | null) => void): void;
|
|
31
61
|
registerOnTouched(fn: () => void): void;
|
|
62
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
63
|
+
writeValue(value: Date | null | undefined): void;
|
|
32
64
|
setDisabledState(isDisabled: boolean): void;
|
|
33
65
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
34
|
-
|
|
66
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTimepickerValueAccessor, never>;
|
|
67
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BsTimepickerValueAccessor, never, never, {}, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* A time field with a slot-list popup (#437).
|
|
72
|
+
*
|
|
73
|
+
* With JavaScript off it is a native time field that submits `name` as HH:MM. Once hydrated the
|
|
74
|
+
* field becomes a readonly display, a button opens the list in a native popover, and a hidden
|
|
75
|
+
* input carries the submitted value.
|
|
76
|
+
*/
|
|
77
|
+
declare class BsTimepickerComponent {
|
|
78
|
+
#private;
|
|
79
|
+
/** The host element. */
|
|
80
|
+
readonly elementRef: ElementRef<HTMLElement>;
|
|
81
|
+
readonly selectedTime: _angular_core.ModelSignal<Date | null>;
|
|
82
|
+
readonly step: _angular_core.InputSignalWithTransform<_mintplayer_ui_core_timepicker.TimeStep, unknown>;
|
|
83
|
+
readonly min: _angular_core.InputSignal<Date | null>;
|
|
84
|
+
readonly max: _angular_core.InputSignal<Date | null>;
|
|
85
|
+
readonly hour12: _angular_core.InputSignal<_mintplayer_ui_core_timepicker.Hour12Mode>;
|
|
86
|
+
readonly locale: _angular_core.InputSignal<string | null>;
|
|
87
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
88
|
+
readonly placeholder: _angular_core.InputSignal<string | null>;
|
|
89
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
90
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
91
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
92
|
+
readonly inputLabel: _angular_core.InputSignal<string | null>;
|
|
93
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
94
|
+
readonly labels: _angular_core.InputSignal<Partial<_mintplayer_ui_core_timepicker.TimepickerLabels> | null>;
|
|
95
|
+
/** A slot picked in the list, or a time typed into the field before hydration. */
|
|
96
|
+
readonly selectedtimechange: _angular_core.OutputEmitterRef<Date>;
|
|
97
|
+
/** The popup opened (true) or closed (false). */
|
|
98
|
+
readonly openchange: _angular_core.OutputEmitterRef<boolean>;
|
|
99
|
+
/** The template's props. */
|
|
100
|
+
protected readonly props: _angular_core.Signal<{
|
|
101
|
+
view: _mintplayer_ui_core_timepicker.TimepickerView;
|
|
102
|
+
}>;
|
|
103
|
+
constructor();
|
|
104
|
+
/** Open the list (ignored when disabled). */
|
|
105
|
+
open(...args: Parameters<TimepickerMethods['open']>): ReturnType<TimepickerMethods['open']>;
|
|
106
|
+
/** Close the list. */
|
|
107
|
+
close(...args: Parameters<TimepickerMethods['close']>): ReturnType<TimepickerMethods['close']>;
|
|
35
108
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BsTimepickerComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTimepickerComponent, "bs-timepicker", never, { "selectedTime": { "alias": "selectedTime"; "required": false; "isSignal": true; }; "
|
|
109
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BsTimepickerComponent, "bs-timepicker", never, { "selectedTime": { "alias": "selectedTime"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "hour12": { "alias": "hour12"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "inputLabel": { "alias": "inputLabel"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; }, { "selectedTime": "selectedTimeChange"; "selectedtimechange": "selectedtimechange"; "openchange": "openchange"; }, never, never, true, [{ directive: typeof BsTimepickerValueAccessor; inputs: {}; outputs: {}; }, { directive: typeof i2.BsControlValidityDirective; inputs: { "errorMessages": "errorMessages"; }; outputs: {}; }]>;
|
|
37
110
|
}
|
|
38
111
|
|
|
39
|
-
export { BsTimepickerComponent };
|
|
112
|
+
export { BsTimeListComponent, BsTimepickerComponent, BsTimepickerValueAccessor };
|