@webilix/ngx-helper-m3 0.0.13 → 0.0.15
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/webilix-ngx-helper-m3.mjs +171 -107
- package/fesm2022/webilix-ngx-helper-m3.mjs.map +1 -1
- package/lib/components/loader/ngx-helper-loader.component.d.ts +6 -3
- package/lib/components/progress/ngx-helper-progress.component.d.ts +20 -0
- package/ngx-helper-m3.css +57 -0
- package/package.json +4 -4
- package/public-api.d.ts +1 -0
@@ -1,13 +1,16 @@
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class NgxHelperLoaderComponent implements OnChanges {
|
3
|
+
export declare class NgxHelperLoaderComponent implements OnInit, OnChanges {
|
4
4
|
loaderSize: string;
|
5
5
|
loaderColor: string;
|
6
6
|
mode: 'SPINNER' | 'DOTS-SPINNER' | 'WHEEL-SPINNER';
|
7
7
|
size: number;
|
8
8
|
color: string;
|
9
9
|
padding?: string;
|
10
|
+
margin?: string;
|
11
|
+
ngOnInit(): void;
|
10
12
|
ngOnChanges(changes: SimpleChanges): void;
|
13
|
+
init(): void;
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperLoaderComponent, never>;
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxHelperLoaderComponent, "ngx-helper-loader", never, { "mode": { "alias": "mode"; "required":
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxHelperLoaderComponent, "ngx-helper-loader", never, { "mode": { "alias": "mode"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; }, {}, never, never, true, never>;
|
13
16
|
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class NgxHelperProgressComponent implements OnChanges {
|
4
|
+
private className;
|
5
|
+
borderRadiusCSS: string;
|
6
|
+
backgroundColorCSS: string;
|
7
|
+
value: number | {
|
8
|
+
done: number;
|
9
|
+
total: number;
|
10
|
+
};
|
11
|
+
align: 'LR' | 'RL' | 'TB' | 'BT';
|
12
|
+
borderRadius: string;
|
13
|
+
progressColor: string;
|
14
|
+
backgroundColor?: string;
|
15
|
+
size: string;
|
16
|
+
direction: 'H' | 'V';
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxHelperProgressComponent, never>;
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxHelperProgressComponent, "ngx-helper-progress", never, { "value": { "alias": "value"; "required": true; }; "align": { "alias": "align"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
20
|
+
}
|
package/ngx-helper-m3.css
CHANGED
@@ -503,6 +503,63 @@
|
|
503
503
|
}
|
504
504
|
}
|
505
505
|
|
506
|
+
/* NGX HELPER PROGRESS */
|
507
|
+
.ngx-helper-m3-progress {
|
508
|
+
display: block;
|
509
|
+
position: relative;
|
510
|
+
direction: rtl;
|
511
|
+
overflow: hidden;
|
512
|
+
|
513
|
+
.progress {
|
514
|
+
position: absolute;
|
515
|
+
transition: width 0.35s ease-out, height 0.35s ease-out;
|
516
|
+
}
|
517
|
+
|
518
|
+
.content {
|
519
|
+
position: relative;
|
520
|
+
}
|
521
|
+
}
|
522
|
+
|
523
|
+
.ngx-helper-m3-progress.LR,
|
524
|
+
.ngx-helper-m3-progress.RL {
|
525
|
+
.progress {
|
526
|
+
top: 0;
|
527
|
+
bottom: 0;
|
528
|
+
}
|
529
|
+
}
|
530
|
+
|
531
|
+
.ngx-helper-m3-progress.LR {
|
532
|
+
.progress {
|
533
|
+
left: 0;
|
534
|
+
}
|
535
|
+
}
|
536
|
+
|
537
|
+
.ngx-helper-m3-progress.RL {
|
538
|
+
.progress {
|
539
|
+
right: 0;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
.ngx-helper-m3-progress.TB,
|
544
|
+
.ngx-helper-m3-progress.BT {
|
545
|
+
.progress {
|
546
|
+
right: 0;
|
547
|
+
left: 0;
|
548
|
+
}
|
549
|
+
}
|
550
|
+
|
551
|
+
.ngx-helper-m3-progress.TB {
|
552
|
+
.progress {
|
553
|
+
top: 0;
|
554
|
+
}
|
555
|
+
}
|
556
|
+
|
557
|
+
.ngx-helper-m3-progress.BT {
|
558
|
+
.progress {
|
559
|
+
bottom: 0;
|
560
|
+
}
|
561
|
+
}
|
562
|
+
|
506
563
|
/* NGX HELPER VALUE BOX */
|
507
564
|
.ngx-helper-m3-value-box {
|
508
565
|
display: grid;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@webilix/ngx-helper-m3",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.15",
|
4
4
|
"author": "Ali Amirnezhad",
|
5
5
|
"description": "Helper library for Angular and Material 3",
|
6
6
|
"repository": {
|
@@ -20,9 +20,9 @@
|
|
20
20
|
},
|
21
21
|
"homepage": "https://github.com/webilix/ngx-helper-m3#readme",
|
22
22
|
"peerDependencies": {
|
23
|
-
"@angular/common": ">=19.0.
|
24
|
-
"@angular/core": ">=19.0.
|
25
|
-
"@angular/material": ">=19.0.
|
23
|
+
"@angular/common": ">=19.0.5",
|
24
|
+
"@angular/core": ">=19.0.5",
|
25
|
+
"@angular/material": ">=19.0.4",
|
26
26
|
"@webilix/helper-library": ">=6.0.2",
|
27
27
|
"@webilix/jalali-date-time": ">=2.0.5"
|
28
28
|
},
|
package/public-api.d.ts
CHANGED
@@ -6,6 +6,7 @@ export * from './lib/components/card/ngx-helper-card.interface';
|
|
6
6
|
export * from './lib/components/loader/ngx-helper-loader.component';
|
7
7
|
export * from './lib/components/page-group/ngx-helper-page-group.component';
|
8
8
|
export * from './lib/components/page-group/ngx-helper-page-group.interface';
|
9
|
+
export * from './lib/components/progress/ngx-helper-progress.component';
|
9
10
|
export * from './lib/components/section/ngx-helper-section-sticky.directive';
|
10
11
|
export * from './lib/components/section/ngx-helper-section.component';
|
11
12
|
export * from './lib/components/section/column/ngx-helper-section-column.component';
|