spiderly 19.8.0 → 19.8.2
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/fesm2022/spiderly.mjs +494 -387
- package/fesm2022/spiderly.mjs.map +1 -1
- package/lib/controls/spiderly-calendar/spiderly-calendar.component.d.ts +17 -3
- package/lib/controls/spiderly-editor/spiderly-editor.component.d.ts +2 -1
- package/lib/entities/editor-image-upload-result.d.ts +5 -0
- package/lib/services/helper-functions.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { BaseControl } from '../base-control';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
3
4
|
import { TranslocoService } from '@jsverse/transloco';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SpiderlyCalendarComponent extends BaseControl implements OnInit {
|
|
6
|
+
export declare class SpiderlyCalendarComponent extends BaseControl implements OnInit, OnDestroy {
|
|
6
7
|
protected translocoService: TranslocoService;
|
|
7
8
|
showTime: boolean;
|
|
9
|
+
dateOnly: boolean;
|
|
10
|
+
timeOnly: boolean;
|
|
11
|
+
internalControl: FormControl<Date>;
|
|
12
|
+
private syncing;
|
|
13
|
+
private subscriptions;
|
|
8
14
|
constructor(translocoService: TranslocoService);
|
|
9
15
|
ngOnInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
10
17
|
setDate(event: Date): void;
|
|
18
|
+
usesStringProxy(): boolean;
|
|
19
|
+
private applyFromOuter;
|
|
20
|
+
private applyToOuter;
|
|
21
|
+
private parseTimeOnly;
|
|
22
|
+
private formatDateOnly;
|
|
23
|
+
private formatTimeOnly;
|
|
24
|
+
private pad;
|
|
11
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderlyCalendarComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyCalendarComponent, "spiderly-calendar", never, { "showTime": { "alias": "showTime"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderlyCalendarComponent, "spiderly-calendar", never, { "showTime": { "alias": "showTime"; "required": false; }; "dateOnly": { "alias": "dateOnly"; "required": false; }; "timeOnly": { "alias": "timeOnly"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
27
|
}
|
|
@@ -3,11 +3,12 @@ import { BaseControl } from '../base-control';
|
|
|
3
3
|
import { TranslocoService } from '@jsverse/transloco';
|
|
4
4
|
import { Editor, EditorInitEvent } from 'primeng/editor';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
+
import { EditorImageUploadResult } from '../../entities/editor-image-upload-result';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SpiderlyEditorComponent extends BaseControl implements OnInit {
|
|
8
9
|
protected translocoService: TranslocoService;
|
|
9
10
|
editor: Editor;
|
|
10
|
-
uploadImageMethod: (formData: FormData) => Observable<
|
|
11
|
+
uploadImageMethod: (formData: FormData) => Observable<EditorImageUploadResult>;
|
|
11
12
|
objectId: number;
|
|
12
13
|
constructor(translocoService: TranslocoService);
|
|
13
14
|
ngOnInit(): void;
|
|
@@ -10,6 +10,7 @@ import { PrimengOption } from '../entities/primeng-option';
|
|
|
10
10
|
export declare function validatePrecisionScale(value: any, precision: number, scale: number, ignoreTrailingZeros: boolean): boolean;
|
|
11
11
|
export declare function getMimeTypeForFileName(fileName: string): string;
|
|
12
12
|
export declare function adjustColor(color: string, percent: number): string;
|
|
13
|
+
export declare function parseDateOnlyLocal(s: string): Date | null;
|
|
13
14
|
export declare function getHtmlImgDisplayString64(base64String: string): string;
|
|
14
15
|
export declare function nameof<TObject>(obj: TObject, key: keyof TObject): string;
|
|
15
16
|
export declare function nameof<TObject>(key: keyof TObject): string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export * from './lib/components/spiderly-panels/spiderly-panel/spiderly-panel.co
|
|
|
50
50
|
export * from './lib/components/spiderly-panels/spiderly-panels.module';
|
|
51
51
|
export * from './lib/entities/base-entity';
|
|
52
52
|
export * from './lib/entities/codebook';
|
|
53
|
+
export * from './lib/entities/editor-image-upload-result';
|
|
53
54
|
export * from './lib/entities/filter';
|
|
54
55
|
export * from './lib/entities/filter-rule';
|
|
55
56
|
export * from './lib/entities/filter-sort-meta';
|