zek 16.1.16 → 16.1.18

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.
@@ -3,6 +3,12 @@ import { BooleanInput } from '../../components';
3
3
  import { PrintType } from '../../models/print.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ZekEditToolbar {
6
+ private _showSave;
7
+ get showSave(): BooleanInput;
8
+ set showSave(v: BooleanInput);
9
+ private _showCancel;
10
+ get showCancel(): BooleanInput;
11
+ set showCancel(v: BooleanInput);
6
12
  printType: typeof PrintType;
7
13
  private _showExport;
8
14
  get showExport(): BooleanInput;
@@ -11,7 +17,7 @@ export declare class ZekEditToolbar {
11
17
  get showPrint(): BooleanInput;
12
18
  set showPrint(v: BooleanInput);
13
19
  private _readOnly;
14
- get readOnly(): boolean;
20
+ get readOnly(): BooleanInput;
15
21
  set readOnly(v: BooleanInput);
16
22
  onSave: EventEmitter<any>;
17
23
  onCancel: EventEmitter<any>;
@@ -21,5 +27,5 @@ export declare class ZekEditToolbar {
21
27
  onExport: EventEmitter<number>;
22
28
  exportExcel(): void;
23
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ZekEditToolbar, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<ZekEditToolbar, "zek-edit-toolbar", never, { "showExport": { "alias": "showExport"; "required": false; }; "showPrint": { "alias": "showPrint"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; "onPrint": "onPrint"; "onExport": "onExport"; }, never, ["*"], true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZekEditToolbar, "zek-edit-toolbar", never, { "showSave": { "alias": "showSave"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showExport": { "alias": "showExport"; "required": false; }; "showPrint": { "alias": "showPrint"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; "onPrint": "onPrint"; "onExport": "onExport"; }, never, ["*"], true, never>;
25
31
  }
@@ -16,7 +16,7 @@ export declare enum Color {
16
16
  Dark = 8
17
17
  }
18
18
  export declare class BootstrapHelper {
19
- static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-secondary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-info text-dark" | "bg-dark text-white";
19
+ static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-dark text-white" | "bg-secondary text-white" | "bg-info text-dark";
20
20
  static cssIcon(type: ComponentType): string | null;
21
21
  static cssButton(type: ComponentType): string;
22
22
  static cssAlert(type?: AlertType | null): string;
@@ -5,4 +5,6 @@ export declare class StringHelper {
5
5
  static tryTrim(val: string | undefined | null): string | null | undefined;
6
6
  static ifNullEmpty(value?: string | null): string;
7
7
  static join(val: string | undefined | null, separator: string, part: string | undefined | null): string | null | undefined;
8
+ static trim(val: string | null, ch: string): string | null;
9
+ static trimAny(val: string | null, chars: string): string | null;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "16.1.16",
3
+ "version": "16.1.18",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0"