@progress-chef/platform-shared-components 0.0.43 → 0.0.44
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/esm2022/lib/atoms/avatar/avatar.component.mjs +3 -3
- package/esm2022/lib/atoms/breadcrumb/breadcrumb.component.mjs +2 -2
- package/esm2022/lib/atoms/button/button.component.mjs +4 -4
- package/esm2022/lib/atoms/button-group/button-group.component.mjs +3 -3
- package/esm2022/lib/atoms/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/lib/atoms/drag-and-drop/drag-and-drop.component.mjs +13 -26
- package/esm2022/lib/atoms/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/lib/atoms/dropdowntree/dropdowntree.component.mjs +3 -3
- package/esm2022/lib/atoms/expansion-panel/expansion-panel.component.mjs +3 -3
- package/esm2022/lib/atoms/label/label.component.mjs +2 -2
- package/esm2022/lib/atoms/multi-select-dropdown/multi-select-dropdown.component.mjs +2 -2
- package/esm2022/lib/atoms/radio-button/radio-button.component.mjs +2 -2
- package/esm2022/lib/atoms/slider/slider.component.mjs +3 -3
- package/esm2022/lib/atoms/text-area/text-area.component.mjs +30 -8
- package/esm2022/lib/atoms/text-area/text-area.module.mjs +6 -6
- package/esm2022/lib/atoms/timescheduler/timescheduler.component.mjs +2 -2
- package/esm2022/lib/atoms/typography/TypographyType.mjs +1 -1
- package/esm2022/lib/atoms/typography/typography.component.mjs +40 -20
- package/esm2022/lib/molecules/card/card-header/card-header.component.mjs +3 -3
- package/esm2022/lib/molecules/card/card.component.mjs +2 -2
- package/esm2022/lib/molecules/dialog/confirmation-dialog/confirmation-dialog.component.mjs +68 -0
- package/esm2022/lib/molecules/dialog/dialog-titlebar/dialog-titlebar.component.mjs +2 -2
- package/esm2022/lib/molecules/dialog/dialog.module.mjs +14 -7
- package/esm2022/lib/molecules/grid/grid-form/grid-form.component.mjs +3 -3
- package/esm2022/lib/molecules/grid/grid.component.mjs +3 -3
- package/esm2022/lib/molecules/grid-pagination/grid-pagination.component.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/progress-chef-platform-shared-components.mjs +189 -94
- package/fesm2022/progress-chef-platform-shared-components.mjs.map +1 -1
- package/lib/atoms/drag-and-drop/drag-and-drop.component.d.ts +3 -3
- package/lib/atoms/text-area/text-area.component.d.ts +11 -3
- package/lib/atoms/text-area/text-area.module.d.ts +1 -1
- package/lib/atoms/typography/TypographyType.d.ts +1 -1
- package/lib/molecules/dialog/confirmation-dialog/confirmation-dialog.component.d.ts +19 -0
- package/lib/molecules/dialog/dialog.module.d.ts +7 -5
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -7,7 +7,8 @@ export declare class DragAndDropComponent implements AfterViewInit {
|
|
|
7
7
|
dragDropContainerIndexAttribute: string;
|
|
8
8
|
dragDropItemIndexAttribute: string;
|
|
9
9
|
dragHandleClassSelector: string;
|
|
10
|
-
listData: any;
|
|
10
|
+
set listData(value: any);
|
|
11
|
+
private _listData;
|
|
11
12
|
emitListChangeEv: EventEmitter<any>;
|
|
12
13
|
dragTargetContainer: any;
|
|
13
14
|
dropTargetContainer: any;
|
|
@@ -19,8 +20,7 @@ export declare class DragAndDropComponent implements AfterViewInit {
|
|
|
19
20
|
onDrop(e: DropTargetEvent): void;
|
|
20
21
|
setElement(target: HTMLDivElement, selector: any, attribute: string): number;
|
|
21
22
|
updateData(fromCollection: any[], fromIndex: number, toIndex: number, dataFromCollection: any): void;
|
|
22
|
-
calculateDestinationIndex(e: any,
|
|
23
|
-
isDroppedInLowerHalf: (ev: DropTargetEvent) => boolean;
|
|
23
|
+
calculateDestinationIndex(e: any, fromIndex: any): number;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropComponent, never>;
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<DragAndDropComponent, "lib-drag-and-drop", never, { "dragDropContainerClassSelector": { "alias": "dragDropContainerClassSelector"; "required": false; }; "dragDropItemClassSelector": { "alias": "dragDropItemClassSelector"; "required": false; }; "dragDropContainerIndexAttribute": { "alias": "dragDropContainerIndexAttribute"; "required": false; }; "dragDropItemIndexAttribute": { "alias": "dragDropItemIndexAttribute"; "required": false; }; "dragHandleClassSelector": { "alias": "dragHandleClassSelector"; "required": false; }; "listData": { "alias": "listData"; "required": false; }; }, { "emitListChangeEv": "emitListChangeEv"; }, never, ["*"], false, never>;
|
|
26
26
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { ThemesService } from '@progress-chef/platform-themes-service';
|
|
4
|
+
import { TextAreaComponent } from '@progress/kendo-angular-inputs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
6
|
+
export declare class TextareaComponent {
|
|
6
7
|
private themesService;
|
|
8
|
+
textarea: TextAreaComponent | undefined;
|
|
7
9
|
placeholder: string;
|
|
8
10
|
resizable: 'vertical' | 'horizontal' | 'both';
|
|
9
11
|
rows: number;
|
|
@@ -11,9 +13,15 @@ export declare class TextAreaComponent {
|
|
|
11
13
|
width: string;
|
|
12
14
|
value: string;
|
|
13
15
|
control: FormControl;
|
|
16
|
+
set focus(value: any);
|
|
17
|
+
private _focus;
|
|
14
18
|
inputChange: EventEmitter<string>;
|
|
19
|
+
emitOnBlur: EventEmitter<string>;
|
|
20
|
+
emitOnFocus: EventEmitter<string>;
|
|
15
21
|
constructor(themesService: ThemesService);
|
|
16
22
|
emitValueChange(ev: string): void;
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
onBlur(): void;
|
|
24
|
+
onFocus(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "lib-text-area", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "width": { "alias": "width"; "required": false; }; "value": { "alias": "value"; "required": false; }; "control": { "alias": "control"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; }, { "inputChange": "inputChange"; "emitOnBlur": "emitOnBlur"; "emitOnFocus": "emitOnFocus"; }, never, never, false, never>;
|
|
19
27
|
}
|
|
@@ -5,6 +5,6 @@ import * as i3 from "@progress/kendo-angular-inputs";
|
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
export declare class TextAreaModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TextAreaModule, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TextAreaModule, [typeof i1.TextareaComponent], [typeof i2.CommonModule, typeof i3.InputsModule, typeof i4.ReactiveFormsModule], [typeof i1.TextareaComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<TextAreaModule>;
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TypographyType = '
|
|
1
|
+
export type TypographyType = 'H1_MULISH_36_BOLD' | 'H1_MULISH_36_REGULAR' | 'H1_MULISH_36_LIGHT' | 'H2_MULISH_24_BOLD' | 'H2_MULISH_24_REGULAR' | 'H2_MULISH_24_LIGHT' | 'H3_MULISH_18_BOLD' | 'H3_MULISH_18_REGULAR' | 'H3_MULISH_18_LIGHT' | 'H4_MULISH_14_BOLD' | 'H5_MULISH_14_REGULAR' | 'H6_MULISH_14_LIGHT' | 'P_MULISH_16_BOLD' | 'P_MULISH_16_REGULAR' | 'P_MULISH_16_REGULAR_ITALIC' | 'P_MULISH_16_LIGHT' | 'P_MULISH_16_LIGHT_ITALIC' | 'P_MULISH_14_BOLD' | 'P_MULISH_14_REGULAR' | 'P_MULISH_14_REGULAR_ITALIC' | 'P_MULISH_14_LIGHT' | 'P_MULISH_14_LIGHT_ITALIC' | 'SMALL_MULISH_12_BOLD' | 'SMALL_MULISH_12_REGULAR' | 'SMALL_MULISH_12_REGULAR_ITALIC' | 'SMALL_MULISH_12_LIGHT' | 'SMALL_MULISH_12_LIGHT_ITALIC' | 'BASE_TEXT_MULISH';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ConfirmationDialogComponent implements OnChanges {
|
|
4
|
+
confirmationDialogCloseEvent: EventEmitter<any>;
|
|
5
|
+
popupEvent: EventEmitter<any>;
|
|
6
|
+
title: string;
|
|
7
|
+
btnText: string;
|
|
8
|
+
type: string;
|
|
9
|
+
dialogInfoText: string;
|
|
10
|
+
dialogConfirmationText: string;
|
|
11
|
+
fillMode: 'solid' | 'flat' | 'outline' | 'clear' | 'link' | 'none';
|
|
12
|
+
themeColor: 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|
|
13
|
+
primaryButtonLabel: string;
|
|
14
|
+
dialogClose(): void;
|
|
15
|
+
eventClicked(): void;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "lib-confirmation-dialog", never, { "title": { "alias": "title"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dialogInfoText": { "alias": "dialogInfoText"; "required": false; }; "dialogConfirmationText": { "alias": "dialogConfirmationText"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; }, { "confirmationDialogCloseEvent": "confirmationDialogCloseEvent"; "popupEvent": "popupEvent"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -2,12 +2,14 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./dialog.component";
|
|
3
3
|
import * as i2 from "./dialog-titlebar/dialog-titlebar.component";
|
|
4
4
|
import * as i3 from "./dialog-actions/dialog-actions.component";
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "@
|
|
7
|
-
import * as i6 from "@progress/kendo-angular-
|
|
8
|
-
import * as i7 from "
|
|
5
|
+
import * as i4 from "./confirmation-dialog/confirmation-dialog.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@progress/kendo-angular-dialog";
|
|
8
|
+
import * as i7 from "@progress/kendo-angular-buttons";
|
|
9
|
+
import * as i8 from "../../atoms/typography/typography.module";
|
|
10
|
+
import * as i9 from "../../atoms/button/button.module";
|
|
9
11
|
export declare class DialogModule {
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof i1.DialogComponent, typeof i2.DialogTitlebarComponent, typeof i3.DialogActionsComponent], [typeof
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, [typeof i1.DialogComponent, typeof i2.DialogTitlebarComponent, typeof i3.DialogActionsComponent, typeof i4.ConfirmationDialogComponent], [typeof i5.CommonModule, typeof i6.DialogsModule, typeof i7.ButtonsModule, typeof i8.TypographyModule, typeof i9.ButtonModule], [typeof i1.DialogComponent, typeof i2.DialogTitlebarComponent, typeof i3.DialogActionsComponent, typeof i4.ConfirmationDialogComponent]>;
|
|
12
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
|
|
13
15
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export * from './lib/molecules/card/card-header/card-header.component';
|
|
|
89
89
|
export * from './lib/molecules/card/card.component';
|
|
90
90
|
export * from './lib/molecules/dialog/dialog-actions/dialog-actions.component';
|
|
91
91
|
export * from './lib/molecules/dialog/dialog-titlebar/dialog-titlebar.component';
|
|
92
|
+
export * from './lib/molecules/dialog/confirmation-dialog/confirmation-dialog.component';
|
|
92
93
|
export * from './lib/molecules/dialog/dialog.component';
|
|
93
94
|
export * from './lib/molecules/grid-layout/grid-layout-item/grid-layout-item.component';
|
|
94
95
|
export * from './lib/molecules/grid-layout/grid-layout.component';
|