pdm-ui-kit 0.1.35 → 0.1.37
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/esm2020/lib/components/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/lib/components/dialog/dialog.component.mjs +56 -14
- package/esm2020/lib/components/pagination/pagination.component.mjs +9 -63
- package/fesm2015/pdm-ui-kit.mjs +65 -77
- package/fesm2015/pdm-ui-kit.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit.mjs +65 -77
- package/fesm2020/pdm-ui-kit.mjs.map +1 -1
- package/lib/components/dialog/dialog.component.d.ts +14 -6
- package/lib/components/pagination/pagination.component.d.ts +4 -12
- package/package.json +1 -1
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare type PdmDialogVariant = 'default' | 'custom-close';
|
|
4
|
+
export declare type PdmDialogSize = 'desktop' | 'mobile' | 'mobile-fullscreen';
|
|
5
|
+
export declare type PdmDialogFooterAlign = 'right' | 'full-width' | 'left';
|
|
4
6
|
export declare class PdmDialogComponent {
|
|
5
7
|
open: boolean;
|
|
6
8
|
variant: PdmDialogVariant;
|
|
9
|
+
size: PdmDialogSize;
|
|
7
10
|
title: string;
|
|
8
11
|
description: string;
|
|
9
12
|
closeOnBackdrop: boolean;
|
|
10
13
|
closeOnEsc: boolean;
|
|
11
14
|
showCloseButton: boolean;
|
|
15
|
+
showHeader: boolean;
|
|
16
|
+
showFooter: boolean;
|
|
12
17
|
primaryActionText: string;
|
|
13
18
|
secondaryActionText: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
linkValue: string;
|
|
19
|
+
alignFooter: PdmDialogFooterAlign;
|
|
20
|
+
headerClassName: string;
|
|
21
|
+
bodyClassName: string;
|
|
22
|
+
footerClassName: string;
|
|
19
23
|
className: string;
|
|
20
24
|
openChange: EventEmitter<boolean>;
|
|
21
25
|
primaryAction: EventEmitter<void>;
|
|
@@ -25,6 +29,10 @@ export declare class PdmDialogComponent {
|
|
|
25
29
|
onPrimaryAction(): void;
|
|
26
30
|
onSecondaryAction(): void;
|
|
27
31
|
onBackdropClick(): void;
|
|
32
|
+
get panelClassName(): string;
|
|
33
|
+
get bodyWrapperClassName(): string;
|
|
34
|
+
get headerWrapperClassName(): string;
|
|
35
|
+
get footerWrapperClassName(): string;
|
|
28
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdmDialogComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PdmDialogComponent, "pdm-dialog", never, { "open": "open"; "variant": "variant"; "title": "title"; "description": "description"; "closeOnBackdrop": "closeOnBackdrop"; "closeOnEsc": "closeOnEsc"; "showCloseButton": "showCloseButton"; "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdmDialogComponent, "pdm-dialog", never, { "open": "open"; "variant": "variant"; "size": "size"; "title": "title"; "description": "description"; "closeOnBackdrop": "closeOnBackdrop"; "closeOnEsc": "closeOnEsc"; "showCloseButton": "showCloseButton"; "showHeader": "showHeader"; "showFooter": "showFooter"; "primaryActionText": "primaryActionText"; "secondaryActionText": "secondaryActionText"; "alignFooter": "alignFooter"; "headerClassName": "headerClassName"; "bodyClassName": "bodyClassName"; "footerClassName": "footerClassName"; "className": "className"; }, { "openChange": "openChange"; "primaryAction": "primaryAction"; "secondaryAction": "secondaryAction"; }, never, ["*"], false>;
|
|
30
38
|
}
|
|
@@ -2,20 +2,12 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import type { PdmNativeSelectOption } from '../native-select/native-select.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PdmPaginationComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private _rowsPerPage;
|
|
9
|
-
get page(): number;
|
|
10
|
-
set page(value: number | string);
|
|
11
|
-
get pageCount(): number;
|
|
12
|
-
set pageCount(value: number | string);
|
|
13
|
-
get maxVisible(): number;
|
|
14
|
-
set maxVisible(value: number | string);
|
|
5
|
+
page: number;
|
|
6
|
+
pageCount: number;
|
|
7
|
+
maxVisible: number;
|
|
15
8
|
className: string;
|
|
16
9
|
rowsPerPageLabel: string;
|
|
17
|
-
|
|
18
|
-
set rowsPerPage(value: number | string);
|
|
10
|
+
rowsPerPage: number;
|
|
19
11
|
rowsPerPageOptions: number[];
|
|
20
12
|
pageChange: EventEmitter<number>;
|
|
21
13
|
rowsPerPageChange: EventEmitter<number>;
|