@stemy/ngx-utils 19.1.0 → 19.1.3
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.
|
@@ -12,12 +12,13 @@ export declare class DropListComponent implements OnChanges, ControlValueAccesso
|
|
|
12
12
|
labelField: string;
|
|
13
13
|
value: DropListId[];
|
|
14
14
|
context: DropListItem[];
|
|
15
|
+
prepareItem: (i: DropListItem) => void;
|
|
15
16
|
checkFn: DragEventHandler<boolean, "data">;
|
|
16
17
|
itemTemplate: TemplateRef<any>;
|
|
17
18
|
onChange: Function;
|
|
18
19
|
onTouched: Function;
|
|
19
20
|
valueMap: Record<DropListId, DropListItem>;
|
|
20
|
-
remove: (
|
|
21
|
+
remove: (index: number) => void;
|
|
21
22
|
constructor(cdr: ChangeDetectorRef);
|
|
22
23
|
onDragEnter(ev: DragEvent, elem: HTMLElement, data: any): void;
|
|
23
24
|
onDragLeave(ev: DragEvent, elem: HTMLElement): void;
|
|
@@ -29,6 +30,6 @@ export declare class DropListComponent implements OnChanges, ControlValueAccesso
|
|
|
29
30
|
writeValue(obj: any): void;
|
|
30
31
|
protected changeValue(value: DropListId[]): void;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropListComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropListComponent, "drop-list", never, { "disabled": { "alias": "disabled"; "required": false; }; "unique": { "alias": "unique"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "labelField": { "alias": "labelField"; "required": false; }; "value": { "alias": "value"; "required": false; }; "context": { "alias": "context"; "required": false; }; "checkFn": { "alias": "checkFn"; "required": false; }; }, {}, ["itemTemplate"], never, false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropListComponent, "drop-list", never, { "disabled": { "alias": "disabled"; "required": false; }; "unique": { "alias": "unique"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "labelField": { "alias": "labelField"; "required": false; }; "value": { "alias": "value"; "required": false; }; "context": { "alias": "context"; "required": false; }; "prepareItem": { "alias": "prepareItem"; "required": false; }; "checkFn": { "alias": "checkFn"; "required": false; }; }, {}, ["itemTemplate"], never, false, never>;
|
|
33
34
|
}
|
|
34
35
|
export {};
|
|
@@ -53,7 +53,7 @@ import { UnorderedListComponent } from "./components/unordered-list/unordered-li
|
|
|
53
53
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
|
|
54
54
|
export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
55
55
|
export declare const components: (typeof DropListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent)[];
|
|
56
|
-
export declare const providers: (typeof
|
|
56
|
+
export declare const providers: (typeof UniversalService | typeof StateService | typeof AuthGuard | typeof BaseHttpClient | typeof StorageService | typeof BaseHttpService | typeof WasmService | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof BaseToasterService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
|
|
57
57
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
58
58
|
useClass: typeof DragDropEventPlugin;
|
|
59
59
|
multi: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from "@angular/common/http";
|
|
2
2
|
export declare class FileUtils {
|
|
3
|
+
static readonly base64: RegExp;
|
|
3
4
|
static getExtension(file: File): string;
|
|
4
5
|
static getName(file: File): string;
|
|
5
6
|
static toFile(blob: Blob, fileName: string): File;
|
|
@@ -9,6 +10,8 @@ export declare class FileUtils {
|
|
|
9
10
|
static readFileAsText(file: Blob): Promise<string>;
|
|
10
11
|
static readFileAsBinaryString(file: Blob): Promise<string>;
|
|
11
12
|
static readFileAsDataURL(file: Blob): Promise<string>;
|
|
13
|
+
static base64ToBlob(base64: string, mimeType?: string): Blob;
|
|
14
|
+
static readBlobFromUrl(http: HttpClient, url: string): Promise<Blob>;
|
|
12
15
|
static readDataFromUrl(http: HttpClient, url: string): Promise<string>;
|
|
13
16
|
private static readFile;
|
|
14
17
|
}
|