@masmarino/gabarit 1.0.2 → 1.1.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/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { OnDestroy, TemplateRef, ElementRef, InjectionToken, Signal } from '@ang
|
|
|
4
4
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
|
|
7
|
-
declare const GABARIT_VERSION = "1.0
|
|
7
|
+
declare const GABARIT_VERSION = "1.1.0";
|
|
8
8
|
|
|
9
9
|
declare class Icon {
|
|
10
10
|
private readonly sanitizer;
|
|
@@ -151,7 +151,7 @@ declare class Tag {
|
|
|
151
151
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tag, "gbt-tag", never, { "color": { "alias": "color"; "required": true; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "removed": "removed"; }, never, ["*"], true, never>;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
type EmptyStateIllustration = 'folder' | 'star' | 'checklist' | 'merge' | 'pipeline' | 'tag' | 'book';
|
|
154
|
+
type EmptyStateIllustration = 'folder' | 'star' | 'checklist' | 'merge' | 'pipeline' | 'tag' | 'book' | 'server';
|
|
155
155
|
declare class EmptyState {
|
|
156
156
|
illustration: _angular_core.InputSignal<EmptyStateIllustration>;
|
|
157
157
|
heading: _angular_core.InputSignal<string>;
|
|
@@ -349,9 +349,12 @@ declare class Drawer implements OnDestroy {
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
interface TableColumn<T> {
|
|
352
|
-
key:
|
|
352
|
+
key: string;
|
|
353
353
|
label: string;
|
|
354
354
|
format?: (row: T) => string;
|
|
355
|
+
cellTemplate?: TemplateRef<{
|
|
356
|
+
$implicit: T;
|
|
357
|
+
}>;
|
|
355
358
|
}
|
|
356
359
|
declare class Table<T extends object> {
|
|
357
360
|
data: _angular_core.InputSignal<T[]>;
|
|
@@ -1558,9 +1561,49 @@ declare class Stepper {
|
|
|
1558
1561
|
orientation: _angular_core.InputSignal<StepperOrientation>;
|
|
1559
1562
|
completedLabel: _angular_core.InputSignal<string>;
|
|
1560
1563
|
errorLabel: _angular_core.InputSignal<string>;
|
|
1564
|
+
interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1565
|
+
selectedIndex: _angular_core.ModelSignal<number | null>;
|
|
1566
|
+
selectedLabel: _angular_core.InputSignal<string>;
|
|
1567
|
+
protected select(index: number): void;
|
|
1568
|
+
protected isSelected(index: number): boolean;
|
|
1561
1569
|
protected statusOf(index: number): StepperStatus;
|
|
1562
1570
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Stepper, never>;
|
|
1563
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Stepper, "gbt-stepper", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "completedLabel": { "alias": "completedLabel"; "required": false; "isSignal": true; }; "errorLabel": { "alias": "errorLabel"; "required": false; "isSignal": true; }; }, { "activeIndex": "activeIndexChange"; }, never, never, true, never>;
|
|
1571
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Stepper, "gbt-stepper", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "completedLabel": { "alias": "completedLabel"; "required": false; "isSignal": true; }; "errorLabel": { "alias": "errorLabel"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; "isSignal": true; }; }, { "activeIndex": "activeIndexChange"; "selectedIndex": "selectedIndexChange"; }, never, never, true, never>;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
type JobGraphStatus = 'pending' | 'running' | 'success' | 'failed' | 'canceled';
|
|
1575
|
+
interface JobGraphJob {
|
|
1576
|
+
id: string;
|
|
1577
|
+
name: string;
|
|
1578
|
+
status: JobGraphStatus;
|
|
1579
|
+
durationLabel?: string;
|
|
1580
|
+
/** Names (not ids) of the jobs this job depends on; names are unique within a graph. */
|
|
1581
|
+
needs: string[];
|
|
1582
|
+
}
|
|
1583
|
+
interface JobGraphStage {
|
|
1584
|
+
name: string;
|
|
1585
|
+
jobs: JobGraphJob[];
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
interface GraphLink {
|
|
1589
|
+
key: string;
|
|
1590
|
+
d: string;
|
|
1591
|
+
done: boolean;
|
|
1592
|
+
}
|
|
1593
|
+
declare class JobGraph {
|
|
1594
|
+
stages: _angular_core.InputSignal<JobGraphStage[]>;
|
|
1595
|
+
selectedJobId: _angular_core.InputSignal<string | null>;
|
|
1596
|
+
statusLabels: _angular_core.InputSignal<Record<JobGraphStatus, string>>;
|
|
1597
|
+
needsLabel: _angular_core.InputSignal<string>;
|
|
1598
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
1599
|
+
jobSelected: _angular_core.OutputEmitterRef<string>;
|
|
1600
|
+
protected readonly links: _angular_core.WritableSignal<GraphLink[]>;
|
|
1601
|
+
private readonly graph;
|
|
1602
|
+
private readonly destroyRef;
|
|
1603
|
+
constructor();
|
|
1604
|
+
private measure;
|
|
1605
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JobGraph, never>;
|
|
1606
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JobGraph, "gbt-job-graph", never, { "stages": { "alias": "stages"; "required": true; "isSignal": true; }; "selectedJobId": { "alias": "selectedJobId"; "required": false; "isSignal": true; }; "statusLabels": { "alias": "statusLabels"; "required": false; "isSignal": true; }; "needsLabel": { "alias": "needsLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "jobSelected": "jobSelected"; }, never, never, true, never>;
|
|
1564
1607
|
}
|
|
1565
1608
|
|
|
1566
1609
|
declare function formatFileSize(bytes: number): string;
|
|
@@ -1679,5 +1722,5 @@ declare class Tree {
|
|
|
1679
1722
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tree, "gbt-tree", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandLabel": { "alias": "expandLabel"; "required": false; "isSignal": true; }; "collapseLabel": { "alias": "collapseLabel"; "required": false; "isSignal": true; }; }, { "selectedId": "selectedIdChange"; "expandedIds": "expandedIdsChange"; }, never, never, true, never>;
|
|
1680
1723
|
}
|
|
1681
1724
|
|
|
1682
|
-
export { Accordion, AccordionItem, Alert, AppShell, Autocomplete, Avatar, AvatarGroup, Badge, BarChart, BarSeries, Breadcrumb, Button, CHART_CONTEXT, Card, ChartAxis, ChartEmpty, ChartFrame, ChartLegend, ChartTable, ChartTooltip, Checkbox, ConfirmDangerModal, DatePicker, DateRangePicker, DescriptionList, DimensionCard, Divider, Drawer, EmptyState, FileUpload, FunnelChart, GABARIT_VERSION, GaugeBar, GbtInput, Icon, IconRegistry, LineChart, LineSeries, ListToolbar, Menu, Modal, NotificationDot, Pagination, PieChart, Popover, RadioGroup, SearchBar, SegmentedControl, Select, Skeleton, Slider, Sparkline, Spinner, Stepper, Switch, Tab, Table, Tabs, Tag, TagInput, Textarea, TimelineChart, TimelineSeries, Toaster, Tooltip, Tree, arcPath, areaPath, bandScale, formatCompact, formatDuration, formatNumber, formatPercent, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, timeScale, timeTicks };
|
|
1683
|
-
export type { AccordionMode, AlertVariant, Arc, AutocompleteSearchFn, AvatarGroupItem, AvatarSize, AxisSpec, BadgeVariant, BandScale, CalendarDay, ChartBox, ChartInterval, ChartMargin, ChartPoint, ChartReader, ChartSeries, DateRangeValue, DescriptionListEntry, DescriptionListLayout, DimensionRow, DividerOrientation, DrawerEdge, EmptyStateIllustration, FlatTreeNode, FunnelStep, LegendEntry, LinearAxisSpec, ListToolbarSortOption, NotificationDotVariant, PieSlice, Point, PointValue, PopoverAlign, RadioOption, Scale, SearchResultCategory, SegmentedControlOption, SelectOption, SkeletonVariant, SpinnerSize, StepperOrientation, StepperStatus, StepperStep, TableColumn, TimeTicks, TimeUnit, ToastItem, ToastVariant, ToasterPosition, TooltipPoint, TooltipPosition, TooltipRow, TreeNode, WeekStartsOn };
|
|
1725
|
+
export { Accordion, AccordionItem, Alert, AppShell, Autocomplete, Avatar, AvatarGroup, Badge, BarChart, BarSeries, Breadcrumb, Button, CHART_CONTEXT, Card, ChartAxis, ChartEmpty, ChartFrame, ChartLegend, ChartTable, ChartTooltip, Checkbox, ConfirmDangerModal, DatePicker, DateRangePicker, DescriptionList, DimensionCard, Divider, Drawer, EmptyState, FileUpload, FunnelChart, GABARIT_VERSION, GaugeBar, GbtInput, Icon, IconRegistry, JobGraph, LineChart, LineSeries, ListToolbar, Menu, Modal, NotificationDot, Pagination, PieChart, Popover, RadioGroup, SearchBar, SegmentedControl, Select, Skeleton, Slider, Sparkline, Spinner, Stepper, Switch, Tab, Table, Tabs, Tag, TagInput, Textarea, TimelineChart, TimelineSeries, Toaster, Tooltip, Tree, arcPath, areaPath, bandScale, formatCompact, formatDuration, formatNumber, formatPercent, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, timeScale, timeTicks };
|
|
1726
|
+
export type { AccordionMode, AlertVariant, Arc, AutocompleteSearchFn, AvatarGroupItem, AvatarSize, AxisSpec, BadgeVariant, BandScale, CalendarDay, ChartBox, ChartInterval, ChartMargin, ChartPoint, ChartReader, ChartSeries, DateRangeValue, DescriptionListEntry, DescriptionListLayout, DimensionRow, DividerOrientation, DrawerEdge, EmptyStateIllustration, FlatTreeNode, FunnelStep, JobGraphJob, JobGraphStage, JobGraphStatus, LegendEntry, LinearAxisSpec, ListToolbarSortOption, NotificationDotVariant, PieSlice, Point, PointValue, PopoverAlign, RadioOption, Scale, SearchResultCategory, SegmentedControlOption, SelectOption, SkeletonVariant, SpinnerSize, StepperOrientation, StepperStatus, StepperStep, TableColumn, TimeTicks, TimeUnit, ToastItem, ToastVariant, ToasterPosition, TooltipPoint, TooltipPosition, TooltipRow, TreeNode, WeekStartsOn };
|