pdm-ui-kit 0.1.12 → 0.1.14

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.
@@ -1,9 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare type PdmButtonGroupVariant = 'default' | 'orientation' | 'separator' | 'nested' | 'group';
2
+ export declare type PdmButtonGroupVariant = 'default' | 'group' | 'orientation' | 'separator';
3
+ export declare type PdmButtonGroupDirection = 'horizontal' | 'vertical';
3
4
  export declare class PdmButtonGroupComponent {
4
5
  variant: PdmButtonGroupVariant;
5
- items: string[];
6
+ direction: PdmButtonGroupDirection;
7
+ separated: boolean;
6
8
  className: string;
9
+ get rootClasses(): string[];
7
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PdmButtonGroupComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<PdmButtonGroupComponent, "pdm-button-group", never, { "variant": "variant"; "items": "items"; "className": "className"; }, {}, never, ["*"], false>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdmButtonGroupComponent, "pdm-button-group", never, { "variant": "variant"; "direction": "direction"; "separated": "separated"; "className": "className"; }, {}, never, ["*"], false>;
9
12
  }
@@ -4,9 +4,11 @@ export declare type PdmCarouselVariant = 'default' | 'sizes' | 'orientation' | '
4
4
  export declare class PdmCarouselComponent {
5
5
  variant: PdmCarouselVariant;
6
6
  className: string;
7
- slides: number[];
7
+ slides: Array<string | number>;
8
8
  startIndex: number;
9
9
  loop: boolean;
10
+ windowSize?: number;
11
+ showCounter: boolean;
10
12
  indexChange: EventEmitter<number>;
11
13
  private _index;
12
14
  ngOnInit(): void;
@@ -14,12 +16,13 @@ export declare class PdmCarouselComponent {
14
16
  get canPrev(): boolean;
15
17
  get canNext(): boolean;
16
18
  get maxIndex(): number;
17
- get visibleSlides(): number[];
19
+ get visibleSlides(): Array<string | number>;
20
+ get currentWindowSize(): number;
18
21
  onPrev(): void;
19
22
  onNext(): void;
20
23
  private setIndex;
21
24
  private normalizeIndex;
22
25
  private sliceWindow;
23
26
  static ɵfac: i0.ɵɵFactoryDeclaration<PdmCarouselComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<PdmCarouselComponent, "pdm-carousel", never, { "variant": "variant"; "className": "className"; "slides": "slides"; "startIndex": "startIndex"; "loop": "loop"; }, { "indexChange": "indexChange"; }, never, never, false>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdmCarouselComponent, "pdm-carousel", never, { "variant": "variant"; "className": "className"; "slides": "slides"; "startIndex": "startIndex"; "loop": "loop"; "windowSize": "windowSize"; "showCounter": "showCounter"; }, { "indexChange": "indexChange"; }, never, never, false>;
25
28
  }
@@ -23,6 +23,9 @@ export declare class PdmChartComponent {
23
23
  tooltipSecondaryLabel: string;
24
24
  tooltipSecondaryValue: string;
25
25
  pieLabels: string[];
26
+ tooltipHint: string;
27
+ radarMetricPrefix: string;
28
+ emptyLabel: string;
26
29
  get normalizedBars(): number[];
27
30
  get normalizedLine(): number[];
28
31
  get linePath(): string;
@@ -37,5 +40,5 @@ export declare class PdmChartComponent {
37
40
  get radarPoints(): string;
38
41
  get radialStrokeOffset(): number;
39
42
  static ɵfac: i0.ɵɵFactoryDeclaration<PdmChartComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<PdmChartComponent, "pdm-chart", never, { "type": "type"; "className": "className"; "title": "title"; "description": "description"; "desktopLabel": "desktopLabel"; "desktopValue": "desktopValue"; "mobileLabel": "mobileLabel"; "mobileValue": "mobileValue"; "labels": "labels"; "bars": "bars"; "line": "line"; "pie": "pie"; "radar": "radar"; "radialValue": "radialValue"; "radialLabel": "radialLabel"; "radialDescription": "radialDescription"; "tooltipTitle": "tooltipTitle"; "tooltipPrimaryLabel": "tooltipPrimaryLabel"; "tooltipPrimaryValue": "tooltipPrimaryValue"; "tooltipSecondaryLabel": "tooltipSecondaryLabel"; "tooltipSecondaryValue": "tooltipSecondaryValue"; "pieLabels": "pieLabels"; }, {}, never, never, false>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdmChartComponent, "pdm-chart", never, { "type": "type"; "className": "className"; "title": "title"; "description": "description"; "desktopLabel": "desktopLabel"; "desktopValue": "desktopValue"; "mobileLabel": "mobileLabel"; "mobileValue": "mobileValue"; "labels": "labels"; "bars": "bars"; "line": "line"; "pie": "pie"; "radar": "radar"; "radialValue": "radialValue"; "radialLabel": "radialLabel"; "radialDescription": "radialDescription"; "tooltipTitle": "tooltipTitle"; "tooltipPrimaryLabel": "tooltipPrimaryLabel"; "tooltipPrimaryValue": "tooltipPrimaryValue"; "tooltipSecondaryLabel": "tooltipSecondaryLabel"; "tooltipSecondaryValue": "tooltipSecondaryValue"; "pieLabels": "pieLabels"; "tooltipHint": "tooltipHint"; "radarMetricPrefix": "radarMetricPrefix"; "emptyLabel": "emptyLabel"; }, {}, never, never, false>;
41
44
  }
@@ -11,6 +11,12 @@ export declare class PdmDataTableComponent {
11
11
  className: string;
12
12
  filterPlaceholder: string;
13
13
  columnsLabel: string;
14
+ statusLabel: string;
15
+ emailLabel: string;
16
+ amountLabel: string;
17
+ previousLabel: string;
18
+ nextLabel: string;
19
+ emptyLabel: string;
14
20
  rows: PdmDataTableRow[];
15
21
  page: number;
16
22
  pageSize: number;
@@ -32,5 +38,5 @@ export declare class PdmDataTableComponent {
32
38
  next(): void;
33
39
  onAction(row: PdmDataTableRow): void;
34
40
  static ɵfac: i0.ɵɵFactoryDeclaration<PdmDataTableComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<PdmDataTableComponent, "pdm-data-table", never, { "className": "className"; "filterPlaceholder": "filterPlaceholder"; "columnsLabel": "columnsLabel"; "rows": "rows"; "page": "page"; "pageSize": "pageSize"; "query": "query"; }, { "queryChange": "queryChange"; "rowAction": "rowAction"; "pageChange": "pageChange"; "selectionChange": "selectionChange"; }, never, never, false>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdmDataTableComponent, "pdm-data-table", never, { "className": "className"; "filterPlaceholder": "filterPlaceholder"; "columnsLabel": "columnsLabel"; "statusLabel": "statusLabel"; "emailLabel": "emailLabel"; "amountLabel": "amountLabel"; "previousLabel": "previousLabel"; "nextLabel": "nextLabel"; "emptyLabel": "emptyLabel"; "rows": "rows"; "page": "page"; "pageSize": "pageSize"; "query": "query"; }, { "queryChange": "queryChange"; "rowAction": "rowAction"; "pageChange": "pageChange"; "selectionChange": "selectionChange"; }, never, never, false>;
36
42
  }
@@ -7,21 +7,26 @@ export declare class PdmDrawerComponent {
7
7
  className: string;
8
8
  title: string;
9
9
  description: string;
10
- value: number;
10
+ value: number | string;
11
11
  unit: string;
12
+ decrementLabel: string;
13
+ incrementLabel: string;
14
+ primaryLabel: string;
15
+ secondaryLabel: string;
12
16
  profileTitle: string;
13
17
  profileDescription: string;
14
18
  nameLabel: string;
15
19
  nameValue: string;
16
20
  usernameLabel: string;
17
21
  usernameValue: string;
22
+ responsivePrimaryLabel: string;
18
23
  openChange: EventEmitter<boolean>;
19
24
  primaryAction: EventEmitter<void>;
20
25
  secondaryAction: EventEmitter<void>;
21
- readonly bars: number[];
26
+ bars: number[];
22
27
  close(): void;
23
28
  onPrimaryAction(): void;
24
29
  onSecondaryAction(): void;
25
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PdmDrawerComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<PdmDrawerComponent, "pdm-drawer", never, { "open": "open"; "variant": "variant"; "className": "className"; "title": "title"; "description": "description"; "value": "value"; "unit": "unit"; "profileTitle": "profileTitle"; "profileDescription": "profileDescription"; "nameLabel": "nameLabel"; "nameValue": "nameValue"; "usernameLabel": "usernameLabel"; "usernameValue": "usernameValue"; }, { "openChange": "openChange"; "primaryAction": "primaryAction"; "secondaryAction": "secondaryAction"; }, never, never, false>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdmDrawerComponent, "pdm-drawer", never, { "open": "open"; "variant": "variant"; "className": "className"; "title": "title"; "description": "description"; "value": "value"; "unit": "unit"; "decrementLabel": "decrementLabel"; "incrementLabel": "incrementLabel"; "primaryLabel": "primaryLabel"; "secondaryLabel": "secondaryLabel"; "profileTitle": "profileTitle"; "profileDescription": "profileDescription"; "nameLabel": "nameLabel"; "nameValue": "nameValue"; "usernameLabel": "usernameLabel"; "usernameValue": "usernameValue"; "responsivePrimaryLabel": "responsivePrimaryLabel"; "bars": "bars"; }, { "openChange": "openChange"; "primaryAction": "primaryAction"; "secondaryAction": "secondaryAction"; }, never, never, false>;
27
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdm-ui-kit",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "PDM UI Kit Angular components",
5
5
  "author": "Corelusa",
6
6
  "license": "MIT",