keevo-components 2.0.269 → 2.0.270
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/components/kv-image-upload-new/kv-image-upload-new.component.mjs +140 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/keevo-components.mjs +134 -1
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-image-upload-new/kv-image-upload-new.component.d.ts +32 -0
- package/lib/components/kv-select-cards/kv-select-cards.component.d.ts +1 -1
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvImageUploadComponentNew {
|
|
4
|
+
private notificationService;
|
|
5
|
+
private imageCutterService;
|
|
6
|
+
file: File | null;
|
|
7
|
+
fileSrc: import("@angular/core").ModelSignal<string | ArrayBuffer | null>;
|
|
8
|
+
widthComponent: import("@angular/core").InputSignal<string>;
|
|
9
|
+
heightComponent: import("@angular/core").InputSignal<string>;
|
|
10
|
+
maxHeightImage: import("@angular/core").InputSignal<string>;
|
|
11
|
+
description: import("@angular/core").InputSignal<string | undefined>;
|
|
12
|
+
cutImage: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
cutWidth: import("@angular/core").InputSignal<number>;
|
|
14
|
+
cutHeight: import("@angular/core").InputSignal<number>;
|
|
15
|
+
cutCircle: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
maintainAspectRatio: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
fileEmit: import("@angular/core").OutputEmitterRef<File>;
|
|
18
|
+
deleteEmit: import("@angular/core").OutputEmitterRef<void>;
|
|
19
|
+
fileInput: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
20
|
+
onDragOver(event: DragEvent): void;
|
|
21
|
+
onDragLeave(event: DragEvent): void;
|
|
22
|
+
onDrop(event: DragEvent): void;
|
|
23
|
+
onFileSelected(event: Event): void;
|
|
24
|
+
triggerClick(): void;
|
|
25
|
+
handleFile(file: File): void;
|
|
26
|
+
base64ToFile(base64String: string, fileName: string): File;
|
|
27
|
+
addDragOverClass(event: DragEvent): void;
|
|
28
|
+
removeDragOverClass(event: DragEvent): void;
|
|
29
|
+
deleteImage(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvImageUploadComponentNew, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvImageUploadComponentNew, "kv-image-upload-new", never, { "fileSrc": { "alias": "fileSrc"; "required": false; "isSignal": true; }; "widthComponent": { "alias": "widthComponent"; "required": false; "isSignal": true; }; "heightComponent": { "alias": "heightComponent"; "required": false; "isSignal": true; }; "maxHeightImage": { "alias": "maxHeightImage"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "cutImage": { "alias": "cutImage"; "required": false; "isSignal": true; }; "cutWidth": { "alias": "cutWidth"; "required": false; "isSignal": true; }; "cutHeight": { "alias": "cutHeight"; "required": false; "isSignal": true; }; "cutCircle": { "alias": "cutCircle"; "required": false; "isSignal": true; }; "maintainAspectRatio": { "alias": "maintainAspectRatio"; "required": false; "isSignal": true; }; }, { "fileSrc": "fileSrcChange"; "fileEmit": "fileEmit"; "deleteEmit": "deleteEmit"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -8,7 +8,7 @@ export interface SelectCardOption {
|
|
|
8
8
|
export declare class KvSelectCardsComponent {
|
|
9
9
|
options: import("@angular/core").InputSignal<SelectCardOption[]>;
|
|
10
10
|
selection: import("@angular/core").ModelSignal<any>;
|
|
11
|
-
layout: import("@angular/core").InputSignal<"
|
|
11
|
+
layout: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
12
12
|
select(option: SelectCardOption): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvSelectCardsComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvSelectCardsComponent, "kv-select-cards", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; }, never, never, true, never>;
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class KvStepperComponent {
|
|
5
5
|
panels: KvStepperPanel[];
|
|
6
6
|
activeStep: number;
|
|
7
|
-
orientation: import("@angular/core").InputSignal<"
|
|
7
|
+
orientation: import("@angular/core").InputSignal<"vertical" | "horizontal">;
|
|
8
8
|
buttonsAlign: import("@angular/core").InputSignal<"center" | "start" | "end">;
|
|
9
9
|
linear: import("@angular/core").InputSignal<boolean>;
|
|
10
10
|
activeStepChange: EventEmitter<number>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -338,3 +338,4 @@ export * from './lib/components/kv-file-upload-new/kv-file-upload-new.component'
|
|
|
338
338
|
export * from './lib/components/kv-accordion/kv-accordion.component';
|
|
339
339
|
export * from './lib/components/kv-card-color/kv-card-color.component';
|
|
340
340
|
export * from './lib/components/kv-progress-bar-new/kv-progress-bar-new.component';
|
|
341
|
+
export * from './lib/components/kv-image-upload-new/kv-image-upload-new.component';
|