@area8975/ui 0.1.1-dev.7 → 0.1.1-dev.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@area8975/ui",
3
- "version": "0.1.1-dev.7",
3
+ "version": "0.1.1-dev.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0",
@@ -429,6 +429,44 @@ export declare class UiLineChartComponent extends UiAxisChartBase {
429
429
  export declare const LineChartCurves: readonly ["straight", "smooth", "stepline"];
430
430
  /** @see {@link LineChartCurves} */
431
431
  export type LineChartCurve = typeof LineChartCurves[number];
432
+ /**
433
+ * Slices for showing how a whole splits into parts. Each category is a
434
+ * slice, only the first series is drawn. Best kept to a handful of slices,
435
+ * fold the small ones into "Other".
436
+ */
437
+ export declare class UiPieChartComponent extends UiAxisChartBase {
438
+ readonly variant: import("@angular/core").InputSignal<"pie" | "donut">;
439
+ /** Shown above the total in the middle of a donut. */
440
+ readonly totalLabel: import("@angular/core").InputSignal<string>;
441
+ protected readonly values: import("@angular/core").Signal<(number | null)[]>;
442
+ protected readonly isEmpty: import("@angular/core").Signal<boolean>;
443
+ protected readonly isMuted: import("@angular/core").Signal<boolean[]>;
444
+ protected readonly styles: import("@angular/core").Signal<ChartSeriesStyle[]>;
445
+ protected readonly legendItems: import("@angular/core").Signal<{
446
+ colour: string;
447
+ dashed: boolean;
448
+ name: string;
449
+ }[]>;
450
+ private readonly slices;
451
+ protected readonly chartOptions: import("@angular/core").Signal<ApexCharts.ApexOptions>;
452
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiPieChartComponent, never>;
453
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiPieChartComponent, "ui-pie-chart", never, {
454
+ "variant": {
455
+ "alias": "variant";
456
+ "required": false;
457
+ "isSignal": true;
458
+ };
459
+ "totalLabel": {
460
+ "alias": "totalLabel";
461
+ "required": false;
462
+ "isSignal": true;
463
+ };
464
+ }, {}, never, never, true, never>;
465
+ }
466
+ /** pie fills the whole circle, donut leaves a hole with the total in it. */
467
+ export declare const PieChartVariants: readonly ["pie", "donut"];
468
+ /** @see {@link PieChartVariants} */
469
+ export type PieChartVariant = typeof PieChartVariants[number];
432
470
  /** Native type values ui-input supports. File/checkbox/radio/range need their own components. */
433
471
  export declare const InputTypes: readonly ["text", "email", "tel", "url", "search", "password", "number", "date", "time", "datetime-local", "month", "week", "color"];
434
472
  /** @see {@link InputTypes} */
@@ -676,7 +714,7 @@ export declare class UiInputComponent<ValueType = string> {
676
714
  readonly name: import("@angular/core").InputSignal<string>;
677
715
  readonly placeholder: import("@angular/core").InputSignal<string>;
678
716
  readonly autocomplete: import("@angular/core").InputSignal<string>;
679
- readonly inputmode: import("@angular/core").InputSignal<"" | "none" | "text" | "search" | "numeric" | "email" | "tel" | "url" | "decimal">;
717
+ readonly inputmode: import("@angular/core").InputSignal<"" | "none" | "text" | "search" | "numeric" | "decimal" | "email" | "tel" | "url">;
680
718
  readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
681
719
  readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
682
720
  readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;