@masmarino/gabarit 0.2.0 → 0.3.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
|
@@ -3,7 +3,7 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { OnDestroy, TemplateRef, ElementRef, InjectionToken, Signal } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
|
|
6
|
-
declare const GABARIT_VERSION = "0.
|
|
6
|
+
declare const GABARIT_VERSION = "0.3.0";
|
|
7
7
|
|
|
8
8
|
declare class Icon {
|
|
9
9
|
private readonly sanitizer;
|
|
@@ -831,5 +831,75 @@ declare class Tooltip implements OnDestroy {
|
|
|
831
831
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Tooltip, "gbt-tooltip", ["gbtTooltip"], { "text": { "alias": "text"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
832
832
|
}
|
|
833
833
|
|
|
834
|
-
|
|
835
|
-
|
|
834
|
+
interface RadioOption<T = string> {
|
|
835
|
+
value: T;
|
|
836
|
+
label: string;
|
|
837
|
+
disabled?: boolean;
|
|
838
|
+
}
|
|
839
|
+
declare class RadioGroup<T = string> implements ControlValueAccessor {
|
|
840
|
+
id: _angular_core.InputSignal<string>;
|
|
841
|
+
label: _angular_core.InputSignal<string>;
|
|
842
|
+
options: _angular_core.InputSignal<RadioOption<T>[]>;
|
|
843
|
+
orientation: _angular_core.InputSignal<"vertical" | "horizontal">;
|
|
844
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
845
|
+
required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
846
|
+
errorMessage: _angular_core.InputSignal<string | null>;
|
|
847
|
+
protected readonly selected: _angular_core.WritableSignal<T | null>;
|
|
848
|
+
private readonly formDisabled;
|
|
849
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
850
|
+
private onChange;
|
|
851
|
+
private onTouched;
|
|
852
|
+
writeValue(value: T | null): void;
|
|
853
|
+
registerOnChange(fn: (value: T) => void): void;
|
|
854
|
+
registerOnTouched(fn: () => void): void;
|
|
855
|
+
setDisabledState(isDisabled: boolean): void;
|
|
856
|
+
protected isSelected(value: T): boolean;
|
|
857
|
+
protected selectOption(value: T): void;
|
|
858
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioGroup<any>, never>;
|
|
859
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioGroup<any>, "gbt-radio-group", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
declare class Switch implements ControlValueAccessor {
|
|
863
|
+
id: _angular_core.InputSignal<string>;
|
|
864
|
+
label: _angular_core.InputSignal<string>;
|
|
865
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
866
|
+
protected readonly checked: _angular_core.WritableSignal<boolean>;
|
|
867
|
+
private readonly formDisabled;
|
|
868
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
869
|
+
private onChange;
|
|
870
|
+
private onTouched;
|
|
871
|
+
writeValue(value: boolean): void;
|
|
872
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
873
|
+
registerOnTouched(fn: () => void): void;
|
|
874
|
+
setDisabledState(isDisabled: boolean): void;
|
|
875
|
+
protected onToggle(event: Event): void;
|
|
876
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Switch, never>;
|
|
877
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Switch, "gbt-switch", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
declare class Textarea implements ControlValueAccessor {
|
|
881
|
+
id: _angular_core.InputSignal<string>;
|
|
882
|
+
label: _angular_core.InputSignal<string>;
|
|
883
|
+
required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
884
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
885
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
886
|
+
errorMessage: _angular_core.InputSignal<string | null>;
|
|
887
|
+
rows: _angular_core.InputSignal<number>;
|
|
888
|
+
committed: _angular_core.OutputEmitterRef<string>;
|
|
889
|
+
protected readonly value: _angular_core.WritableSignal<string>;
|
|
890
|
+
private readonly formDisabled;
|
|
891
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
892
|
+
private onChange;
|
|
893
|
+
private onTouched;
|
|
894
|
+
writeValue(value: string): void;
|
|
895
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
896
|
+
registerOnTouched(fn: () => void): void;
|
|
897
|
+
setDisabledState(isDisabled: boolean): void;
|
|
898
|
+
protected onInput(event: Event): void;
|
|
899
|
+
protected onBlur(): void;
|
|
900
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Textarea, never>;
|
|
901
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Textarea, "gbt-textarea", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, { "committed": "committed"; }, never, never, true, never>;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
export { AppShell, BarChart, BarSeries, Button, CHART_CONTEXT, Card, ChartAxis, ChartEmpty, ChartFrame, ChartLegend, ChartTable, ChartTooltip, Checkbox, DimensionCard, FunnelChart, GABARIT_VERSION, GaugeBar, GbtInput, Icon, IconRegistry, LineChart, LineSeries, Menu, Modal, RadioGroup, SearchBar, Select, Sparkline, Switch, Tab, Table, Tabs, Textarea, TimelineChart, TimelineSeries, Toaster, Tooltip, areaPath, bandScale, formatCompact, formatDuration, formatNumber, formatPercent, linePath, linearScale, nearestIndex, niceTicks, niceXDomain, niceYDomain, timeScale, timeTicks };
|
|
905
|
+
export type { AxisSpec, BandScale, ChartBox, ChartInterval, ChartMargin, ChartPoint, ChartReader, ChartSeries, DimensionRow, FunnelStep, LegendEntry, LinearAxisSpec, Point, PointValue, RadioOption, Scale, SearchResultCategory, SelectOption, TableColumn, TimeTicks, TimeUnit, ToastItem, ToastVariant, ToasterPosition, TooltipPoint, TooltipPosition, TooltipRow };
|