@annalib/anna-core 30.0.1 → 30.0.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/esm2022/public-api.mjs +1 -2
- package/fesm2022/annalib-anna-core.mjs +1 -49
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2022/lib/anna-core-shared-lib/components/anna-circular-progress/anna-circular-progress.component.mjs +0 -52
- package/lib/anna-core-shared-lib/components/anna-circular-progress/anna-circular-progress.component.d.ts +0 -20
|
@@ -16,14 +16,14 @@ export declare class AnnaDateTimeFormatService {
|
|
|
16
16
|
addZero(time: any): any;
|
|
17
17
|
sortByTimeAscending(a: any, b: any): number;
|
|
18
18
|
sortByTimeDescending(a: any, b: any): number;
|
|
19
|
-
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean):
|
|
19
|
+
compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 0 | 1 | -1;
|
|
20
20
|
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
21
21
|
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
22
22
|
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
23
23
|
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
24
24
|
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
25
25
|
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
26
|
-
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string):
|
|
26
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 0 | 1 | -1;
|
|
27
27
|
convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
|
|
28
28
|
getBroadcastWeek(startDate: any, format?: string): {
|
|
29
29
|
start: dayjs.Dayjs;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./lib/anna-core.module";
|
|
2
2
|
export * from "./lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component";
|
|
3
|
-
export * from "./lib/anna-core-shared-lib/components/anna-circular-progress/anna-circular-progress.component";
|
|
4
3
|
export * from "./lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component";
|
|
5
4
|
export * from "./lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
|
|
6
5
|
export * from "./lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component";
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from "@angular/common";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ElementRef, Input, Renderer2 } from "@angular/core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class AnnaCircularProgressComponent {
|
|
6
|
-
constructor(el, renderer) {
|
|
7
|
-
this.el = el;
|
|
8
|
-
this.renderer = renderer;
|
|
9
|
-
this.percent = 0;
|
|
10
|
-
this.radius = 22;
|
|
11
|
-
this.outerStrokeWidth = 5;
|
|
12
|
-
this.innerStrokeWidth = 5;
|
|
13
|
-
this.outerStrokeColor = "#268bff";
|
|
14
|
-
this.innerStrokeColor = "#d5d5d5";
|
|
15
|
-
this.animationDuration = 0;
|
|
16
|
-
this.circumference = 0;
|
|
17
|
-
}
|
|
18
|
-
ngOnChanges() {
|
|
19
|
-
this.updateCircumference();
|
|
20
|
-
this.applyAnimationDuration();
|
|
21
|
-
}
|
|
22
|
-
updateCircumference() {
|
|
23
|
-
this.circumference = 2 * Math.PI * (this.radius - this.outerStrokeWidth / 2);
|
|
24
|
-
}
|
|
25
|
-
applyAnimationDuration() {
|
|
26
|
-
const progressBar = this.el.nativeElement.querySelector(".custom-progress-bar");
|
|
27
|
-
if (progressBar) {
|
|
28
|
-
this.renderer.setStyle(progressBar, "transition", `stroke-dashoffset ${this.animationDuration}ms ease`);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AnnaCircularProgressComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AnnaCircularProgressComponent, isStandalone: true, selector: "anna-core-circular-progress", inputs: { percent: "percent", radius: "radius", outerStrokeWidth: "outerStrokeWidth", innerStrokeWidth: "innerStrokeWidth", outerStrokeColor: "outerStrokeColor", innerStrokeColor: "innerStrokeColor", animationDuration: "animationDuration" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"custom-progress-wrapper\"\n [ngStyle]=\"{ width: radius * 2 + 1 + 'px', height: radius * 2 + 1 + 'px' }\"\n>\n <svg\n class=\"custom-progress-circle\"\n [attr.viewBox]=\"'0 0 ' + radius * 2 + ' ' + radius * 2\"\n >\n <!-- Background circle -->\n <circle\n class=\"custom-progress-bg\"\n [attr.cx]=\"radius\"\n [attr.cy]=\"radius\"\n [attr.r]=\"radius - outerStrokeWidth / 2\"\n [attr.stroke-width]=\"outerStrokeWidth\"\n [attr.stroke]=\"innerStrokeColor\"\n [attr.fill]=\"'none'\"\n ></circle>\n\n <!-- Progress circle -->\n <circle\n class=\"custom-progress-bar\"\n [attr.cx]=\"radius\"\n [attr.cy]=\"radius\"\n [attr.r]=\"radius - outerStrokeWidth / 2\"\n [attr.stroke-width]=\"outerStrokeWidth\"\n [attr.stroke]=\"outerStrokeColor\"\n [attr.fill]=\"'none'\"\n [attr.stroke-dasharray]=\"circumference\"\n [attr.stroke-dashoffset]=\"circumference - (percent / 100) * circumference\"\n [attr.transform]=\"'rotate(' + radius + ' ' + radius + ')'\"\n ></circle>\n </svg>\n</div>\n", styles: [".custom-progress-wrapper{position:relative;display:flex}.custom-progress-circle{width:100%;height:100%;transform:rotate(-90deg)}.custom-progress-bar{stroke-linecap:round;transition:stroke-dashoffset .3s ease}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AnnaCircularProgressComponent, decorators: [{
|
|
35
|
-
type: Component,
|
|
36
|
-
args: [{ selector: "anna-core-circular-progress", standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"custom-progress-wrapper\"\n [ngStyle]=\"{ width: radius * 2 + 1 + 'px', height: radius * 2 + 1 + 'px' }\"\n>\n <svg\n class=\"custom-progress-circle\"\n [attr.viewBox]=\"'0 0 ' + radius * 2 + ' ' + radius * 2\"\n >\n <!-- Background circle -->\n <circle\n class=\"custom-progress-bg\"\n [attr.cx]=\"radius\"\n [attr.cy]=\"radius\"\n [attr.r]=\"radius - outerStrokeWidth / 2\"\n [attr.stroke-width]=\"outerStrokeWidth\"\n [attr.stroke]=\"innerStrokeColor\"\n [attr.fill]=\"'none'\"\n ></circle>\n\n <!-- Progress circle -->\n <circle\n class=\"custom-progress-bar\"\n [attr.cx]=\"radius\"\n [attr.cy]=\"radius\"\n [attr.r]=\"radius - outerStrokeWidth / 2\"\n [attr.stroke-width]=\"outerStrokeWidth\"\n [attr.stroke]=\"outerStrokeColor\"\n [attr.fill]=\"'none'\"\n [attr.stroke-dasharray]=\"circumference\"\n [attr.stroke-dashoffset]=\"circumference - (percent / 100) * circumference\"\n [attr.transform]=\"'rotate(' + radius + ' ' + radius + ')'\"\n ></circle>\n </svg>\n</div>\n", styles: [".custom-progress-wrapper{position:relative;display:flex}.custom-progress-circle{width:100%;height:100%;transform:rotate(-90deg)}.custom-progress-bar{stroke-linecap:round;transition:stroke-dashoffset .3s ease}\n"] }]
|
|
37
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { percent: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], radius: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], outerStrokeWidth: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], innerStrokeWidth: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], outerStrokeColor: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], innerStrokeColor: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], animationDuration: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYS1jaXJjdWxhci1wcm9ncmVzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbm5hLWNvcmUvc3JjL2xpYi9hbm5hLWNvcmUtc2hhcmVkLWxpYi9jb21wb25lbnRzL2FubmEtY2lyY3VsYXItcHJvZ3Jlc3MvYW5uYS1jaXJjdWxhci1wcm9ncmVzcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbm5hLWNvcmUvc3JjL2xpYi9hbm5hLWNvcmUtc2hhcmVkLWxpYi9jb21wb25lbnRzL2FubmEtY2lyY3VsYXItcHJvZ3Jlc3MvYW5uYS1jaXJjdWxhci1wcm9ncmVzcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saU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gICAgICAgICAgIFthdHRyLnN0cm9rZS13aWR0aF09XCJvdXRlclN0cm9rZVdpZHRoXCJcbiAgICAgICAgICAgIFthdHRyLnN0cm9rZV09XCJpbm5lclN0cm9rZUNvbG9yXCJcbiAgICAgICAgICAgIFthdHRyLmZpbGxdPVwiJ25vbmUnXCJcbiAgICAgICAgPjwvY2lyY2xlPlxuXG4gICAgICAgIDwhLS0gUHJvZ3Jlc3MgY2lyY2xlIC0tPlxuICAgICAgICA8Y2lyY2xlXG4gICAgICAgICAgICBjbGFzcz1cImN1c3RvbS1wcm9ncmVzcy1iYXJcIlxuICAgICAgICAgICAgW2F0dHIuY3hdPVwicmFkaXVzXCJcbiAgICAgICAgICAgIFthdHRyLmN5XT1cInJhZGl1c1wiXG4gICAgICAgICAgICBbYXR0ci5yXT1cInJhZGl1cyAtIG91dGVyU3Ryb2tlV2lkdGggLyAyXCJcbiAgICAgICAgICAgIFthdHRyLnN0cm9rZS13aWR0aF09XCJvdXRlclN0cm9rZVdpZHRoXCJcbiAgICAgICAgICAgIFthdHRyLnN0cm9rZV09XCJvdXRlclN0cm9rZUNvbG9yXCJcbiAgICAgICAgICAgIFthdHRyLmZpbGxdPVwiJ25vbmUnXCJcbiAgICAgICAgICAgIFthdHRyLnN0cm9rZS1kYXNoYXJyYXldPVwiY2lyY3VtZmVyZW5jZVwiXG4gICAgICAgICAgICBbYXR0ci5zdHJva2UtZGFzaG9mZnNldF09XCJjaXJjdW1mZXJlbmNlIC0gKHBlcmNlbnQgLyAxMDApICogY2lyY3VtZmVyZW5jZVwiXG4gICAgICAgICAgICBbYXR0ci50cmFuc2Zvcm1dPVwiJ3JvdGF0ZSgnICsgcmFkaXVzICsgJyAnICsgcmFkaXVzICsgJyknXCJcbiAgICAgICAgPjwvY2lyY2xlPlxuICAgIDwvc3ZnPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, Renderer2 } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaCircularProgressComponent implements OnChanges {
|
|
4
|
-
private el;
|
|
5
|
-
private renderer;
|
|
6
|
-
percent: number;
|
|
7
|
-
radius: number;
|
|
8
|
-
outerStrokeWidth: number;
|
|
9
|
-
innerStrokeWidth: number;
|
|
10
|
-
outerStrokeColor: string;
|
|
11
|
-
innerStrokeColor: string;
|
|
12
|
-
animationDuration: number;
|
|
13
|
-
circumference: number;
|
|
14
|
-
constructor(el: ElementRef, renderer: Renderer2);
|
|
15
|
-
ngOnChanges(): void;
|
|
16
|
-
updateCircumference(): void;
|
|
17
|
-
applyAnimationDuration(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCircularProgressComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaCircularProgressComponent, "anna-core-circular-progress", never, { "percent": { "alias": "percent"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; "outerStrokeWidth": { "alias": "outerStrokeWidth"; "required": false; }; "innerStrokeWidth": { "alias": "innerStrokeWidth"; "required": false; }; "outerStrokeColor": { "alias": "outerStrokeColor"; "required": false; }; "innerStrokeColor": { "alias": "innerStrokeColor"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|