@yoozsoft/yoozsoft-ng 3.1.4 → 4.0.0
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/README.md +11 -4
- package/assets/js/UTIF.js-master/LICENSE +21 -0
- package/assets/js/UTIF.js-master/README.md +72 -0
- package/assets/js/UTIF.js-master/UTIF.js +1763 -0
- package/assets/js/UTIF.js-master/package-lock.json +13 -0
- package/assets/styles/ys-layout.scss +21 -47
- package/assets/styles/ys-preloader.scss +12 -12
- package/datepicker/src/models/date-time-format.d.ts +0 -1
- package/datepicker/src/ys-datepicker/ys-datepicker.component.d.ts +7 -1
- package/directives/src/password-match/ys-password-match.directive.d.ts +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-datepicker.mjs +172 -162
- package/fesm2022/yoozsoft-yoozsoft-ng-datepicker.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-directives.mjs +6 -10
- package/fesm2022/yoozsoft-yoozsoft-ng-directives.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-file-upload.mjs +145 -0
- package/fesm2022/yoozsoft-yoozsoft-ng-file-upload.mjs.map +1 -0
- package/fesm2022/yoozsoft-yoozsoft-ng-footer.mjs +8 -15
- package/fesm2022/yoozsoft-yoozsoft-ng-footer.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-loading.mjs +16 -9
- package/fesm2022/yoozsoft-yoozsoft-ng-loading.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-navbar.mjs +36 -31
- package/fesm2022/yoozsoft-yoozsoft-ng-navbar.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-overlay.mjs +6 -8
- package/fesm2022/yoozsoft-yoozsoft-ng-overlay.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-password-strength.mjs +90 -62
- package/fesm2022/yoozsoft-yoozsoft-ng-password-strength.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-progress.mjs +17 -17
- package/fesm2022/yoozsoft-yoozsoft-ng-progress.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-select.mjs +64 -23
- package/fesm2022/yoozsoft-yoozsoft-ng-select.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-sidebar.mjs +50 -57
- package/fesm2022/yoozsoft-yoozsoft-ng-sidebar.mjs.map +1 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-tiff-viewer.mjs +150 -0
- package/fesm2022/yoozsoft-yoozsoft-ng-tiff-viewer.mjs.map +1 -0
- package/fesm2022/yoozsoft-yoozsoft-ng-toast.mjs +106 -0
- package/fesm2022/yoozsoft-yoozsoft-ng-toast.mjs.map +1 -0
- package/{toasts → file-upload}/index.d.ts +1 -1
- package/file-upload/public-api.d.ts +1 -0
- package/file-upload/src/ys-file-upload/ys-file-upload.component.d.ts +51 -0
- package/loading/src/ys-loading-mask/ys-loading-mask.component.d.ts +5 -2
- package/navbar/src/models/navbar-brand.d.ts +2 -0
- package/navbar/src/models/navbar-item.d.ts +1 -0
- package/navbar/src/ys-navbar/ys-navbar.component.d.ts +13 -12
- package/overlay/src/ys-overlay/ys-overlay.component.d.ts +1 -1
- package/package.json +26 -46
- package/password-strength/public-api.d.ts +1 -0
- package/password-strength/src/directives/index.d.ts +1 -0
- package/password-strength/src/directives/ys-password-strength.directive.d.ts +18 -0
- package/password-strength/src/models/strength-validation-feedback.d.ts +2 -0
- package/password-strength/src/ys-password-strength/ys-password-strength.component.d.ts +4 -5
- package/select/src/ys-select/ys-select.component.d.ts +14 -4
- package/sidebar/src/models/index.d.ts +0 -1
- package/sidebar/src/models/sidebar-item-active.d.ts +1 -0
- package/sidebar/src/services/sidebar.service.d.ts +7 -10
- package/sidebar/src/ys-sidebar/ys-sidebar.component.d.ts +13 -15
- package/tiff-viewer/index.d.ts +5 -0
- package/tiff-viewer/public-api.d.ts +1 -0
- package/tiff-viewer/src/ys-tiff-viewer/ys-tiff-viewer.component.d.ts +48 -0
- package/{layout → toast}/index.d.ts +1 -1
- package/toast/public-api.d.ts +3 -0
- package/{toasts/src/ys-toasts/ys-toasts.component.d.ts → toast/src/ys-toast/ys-toast.component.d.ts} +4 -4
- package/assets/images/user.jpg +0 -0
- package/assets/styles/ys-layout-pin.scss +0 -153
- package/esm2022/datepicker/public-api.mjs +0 -12
- package/esm2022/datepicker/src/models/date-range.mjs +0 -2
- package/esm2022/datepicker/src/models/date-time-format.mjs +0 -4
- package/esm2022/datepicker/src/models/index.mjs +0 -4
- package/esm2022/datepicker/src/models/jalali-date.mjs +0 -74
- package/esm2022/datepicker/src/services/index.mjs +0 -3
- package/esm2022/datepicker/src/services/ys-date-parser-formatter.service.mjs +0 -32
- package/esm2022/datepicker/src/services/ys-datepicker-i18n.service.mjs +0 -66
- package/esm2022/datepicker/src/ys-datepicker/ys-datepicker.component.mjs +0 -108
- package/esm2022/datepicker/src/ys-datepicker-persian/ys-datepicker-persian.component.mjs +0 -127
- package/esm2022/datepicker/src/ys-datepicker-popup/ys-datepicker-popup.component.mjs +0 -130
- package/esm2022/datepicker/src/ys-datepicker-popup-persian/ys-datepicker-popup-persian.component.mjs +0 -136
- package/esm2022/datepicker/src/ys-datepicker-range-popup/ys-datepicker-range-popup.component.mjs +0 -157
- package/esm2022/datepicker/src/ys-datepicker-range-popup-persian/ys-datepicker-range-popup-persian.component.mjs +0 -167
- package/esm2022/datepicker/yoozsoft-yoozsoft-ng-datepicker.mjs +0 -5
- package/esm2022/directives/public-api.mjs +0 -6
- package/esm2022/directives/src/password-match/ys-password-match.directive.mjs +0 -49
- package/esm2022/directives/yoozsoft-yoozsoft-ng-directives.mjs +0 -5
- package/esm2022/footer/public-api.mjs +0 -6
- package/esm2022/footer/src/models/footer-brand.mjs +0 -2
- package/esm2022/footer/src/models/index.mjs +0 -3
- package/esm2022/footer/src/models/social-network.mjs +0 -2
- package/esm2022/footer/src/ys-footer/ys-footer.component.mjs +0 -32
- package/esm2022/footer/yoozsoft-yoozsoft-ng-footer.mjs +0 -5
- package/esm2022/layout/public-api.mjs +0 -5
- package/esm2022/layout/src/ys-layout/ys-layout.component.mjs +0 -72
- package/esm2022/layout/yoozsoft-yoozsoft-ng-layout.mjs +0 -5
- package/esm2022/loading/public-api.mjs +0 -5
- package/esm2022/loading/src/ys-loading-mask/ys-loading-mask.component.mjs +0 -20
- package/esm2022/loading/yoozsoft-yoozsoft-ng-loading.mjs +0 -5
- package/esm2022/navbar/public-api.mjs +0 -6
- package/esm2022/navbar/src/models/index.mjs +0 -3
- package/esm2022/navbar/src/models/navbar-brand.mjs +0 -2
- package/esm2022/navbar/src/models/navbar-item.mjs +0 -2
- package/esm2022/navbar/src/ys-navbar/ys-navbar.component.mjs +0 -86
- package/esm2022/navbar/yoozsoft-yoozsoft-ng-navbar.mjs +0 -5
- package/esm2022/overlay/public-api.mjs +0 -5
- package/esm2022/overlay/src/ys-overlay/ys-overlay.component.mjs +0 -20
- package/esm2022/overlay/yoozsoft-yoozsoft-ng-overlay.mjs +0 -5
- package/esm2022/password-strength/public-api.mjs +0 -6
- package/esm2022/password-strength/src/models/index.mjs +0 -5
- package/esm2022/password-strength/src/models/regx.mjs +0 -7
- package/esm2022/password-strength/src/models/strength-validation-control.mjs +0 -2
- package/esm2022/password-strength/src/models/strength-validation-feedback.mjs +0 -25
- package/esm2022/password-strength/src/models/strength-validation-option.mjs +0 -25
- package/esm2022/password-strength/src/ys-password-strength/ys-password-strength.component.mjs +0 -69
- package/esm2022/password-strength/yoozsoft-yoozsoft-ng-password-strength.mjs +0 -5
- package/esm2022/progress/public-api.mjs +0 -6
- package/esm2022/progress/src/services/index.mjs +0 -2
- package/esm2022/progress/src/services/progress.service.mjs +0 -18
- package/esm2022/progress/src/ys-progress/ys-progress.component.mjs +0 -32
- package/esm2022/progress/yoozsoft-yoozsoft-ng-progress.mjs +0 -5
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/select/public-api.mjs +0 -5
- package/esm2022/select/src/ys-select/ys-select.component.mjs +0 -63
- package/esm2022/select/yoozsoft-yoozsoft-ng-select.mjs +0 -5
- package/esm2022/sidebar/public-api.mjs +0 -8
- package/esm2022/sidebar/src/models/index.mjs +0 -6
- package/esm2022/sidebar/src/models/sidebar-item-active.mjs +0 -2
- package/esm2022/sidebar/src/models/sidebar-item.mjs +0 -2
- package/esm2022/sidebar/src/models/sidebar-state.mjs +0 -2
- package/esm2022/sidebar/src/models/user-image.mjs +0 -2
- package/esm2022/sidebar/src/models/user-profile.mjs +0 -2
- package/esm2022/sidebar/src/services/index.mjs +0 -2
- package/esm2022/sidebar/src/services/sidebar.service.mjs +0 -39
- package/esm2022/sidebar/src/ys-sidebar/ys-sidebar.component.mjs +0 -68
- package/esm2022/sidebar/yoozsoft-yoozsoft-ng-sidebar.mjs +0 -5
- package/esm2022/toasts/public-api.mjs +0 -7
- package/esm2022/toasts/src/models/index.mjs +0 -3
- package/esm2022/toasts/src/models/toast-info.mjs +0 -2
- package/esm2022/toasts/src/models/toast-type.mjs +0 -8
- package/esm2022/toasts/src/services/index.mjs +0 -2
- package/esm2022/toasts/src/services/toast.service.mjs +0 -44
- package/esm2022/toasts/src/ys-toasts/ys-toasts.component.mjs +0 -53
- package/esm2022/toasts/yoozsoft-yoozsoft-ng-toasts.mjs +0 -5
- package/esm2022/yoozsoft-yoozsoft-ng.mjs +0 -5
- package/fesm2022/yoozsoft-yoozsoft-ng-layout.mjs +0 -83
- package/fesm2022/yoozsoft-yoozsoft-ng-layout.mjs.map +0 -1
- package/fesm2022/yoozsoft-yoozsoft-ng-toasts.mjs +0 -111
- package/fesm2022/yoozsoft-yoozsoft-ng-toasts.mjs.map +0 -1
- package/layout/public-api.d.ts +0 -1
- package/layout/src/ys-layout/ys-layout.component.d.ts +0 -24
- package/sidebar/src/models/sidebar-state.d.ts +0 -4
- package/toasts/public-api.d.ts +0 -3
- /package/{toasts → toast}/src/models/index.d.ts +0 -0
- /package/{toasts → toast}/src/models/toast-info.d.ts +0 -0
- /package/{toasts → toast}/src/models/toast-type.d.ts +0 -0
- /package/{toasts → toast}/src/services/index.d.ts +0 -0
- /package/{toasts → toast}/src/services/toast.service.d.ts +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "utif",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"lockfileVersion": 1,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"pako": {
|
|
8
|
+
"version": "1.0.6",
|
|
9
|
+
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz",
|
|
10
|
+
"integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg=="
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,68 +1,42 @@
|
|
|
1
|
-
.
|
|
1
|
+
.page-wrapper {
|
|
2
2
|
height: 100vh;
|
|
3
3
|
|
|
4
4
|
main {
|
|
5
5
|
padding-top: 3.5rem;
|
|
6
6
|
height: 100%;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
-webkit-transition: all 0.5s ease;
|
|
9
|
-
-moz-transition: all 0.5s ease;
|
|
10
|
-
-o-transition: all 0.5s ease;
|
|
11
|
-
transition: all 0.5s ease;
|
|
12
7
|
|
|
13
|
-
.
|
|
14
|
-
height: calc(100% - 3.5rem);
|
|
15
|
-
top: 3.5rem;
|
|
16
|
-
left: -260px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ys-page-content {
|
|
8
|
+
.page-content {
|
|
20
9
|
overflow: auto;
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.toggled-sidebar {
|
|
25
|
-
main {
|
|
26
|
-
@media (min-width: 768px) {
|
|
27
|
-
padding-left: 260px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ys-overlay {
|
|
31
|
-
display: block;
|
|
32
|
-
|
|
33
|
-
@media (min-width: 768px) {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
10
|
+
padding-left: 0;
|
|
37
11
|
}
|
|
38
12
|
|
|
39
13
|
.sidebar {
|
|
40
|
-
|
|
14
|
+
height: calc(100% - 3.5rem);
|
|
15
|
+
top: 3.5rem;
|
|
16
|
+
left: -300px;
|
|
41
17
|
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
18
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
right: -260px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
19
|
+
&.sidebar-toggled {
|
|
20
|
+
@media (min-width: 992px) {
|
|
21
|
+
.page-content {
|
|
22
|
+
padding-left: 300px;
|
|
23
|
+
}
|
|
53
24
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
@media (min-width: 768px) {
|
|
57
|
-
padding-left: unset !important;
|
|
58
|
-
padding-right: 260px;
|
|
25
|
+
.overlay {
|
|
26
|
+
display: none !important;
|
|
59
27
|
}
|
|
60
28
|
}
|
|
61
29
|
|
|
62
30
|
.sidebar {
|
|
63
|
-
left:
|
|
64
|
-
right: 0px;
|
|
31
|
+
left: 0;
|
|
65
32
|
}
|
|
66
33
|
}
|
|
67
34
|
}
|
|
68
35
|
}
|
|
36
|
+
|
|
37
|
+
.transition-ease {
|
|
38
|
+
-webkit-transition: all 0.5s ease;
|
|
39
|
+
-moz-transition: all 0.5s ease;
|
|
40
|
+
-o-transition: all 0.5s ease;
|
|
41
|
+
transition: all 0.5s ease;
|
|
42
|
+
}
|
|
@@ -14,33 +14,33 @@
|
|
|
14
14
|
animation-timing-function: ease-in-out;
|
|
15
15
|
animation-iteration-count: infinite;
|
|
16
16
|
}
|
|
17
|
-
.preloader .
|
|
17
|
+
.preloader .box-1 {
|
|
18
18
|
background: linear-gradient(-45deg, red, #d60c0c);
|
|
19
19
|
transform-origin: bottom center;
|
|
20
20
|
top: 4px;
|
|
21
21
|
left: 4px;
|
|
22
|
-
animation-name:
|
|
22
|
+
animation-name: box-1;
|
|
23
23
|
}
|
|
24
|
-
.preloader .
|
|
24
|
+
.preloader .box-2 {
|
|
25
25
|
background: linear-gradient(-45deg, #15c109, #29870d);
|
|
26
26
|
transform-origin: center left;
|
|
27
27
|
top: 4px;
|
|
28
28
|
right: 4px;
|
|
29
|
-
animation-name:
|
|
29
|
+
animation-name: box-2;
|
|
30
30
|
}
|
|
31
|
-
.preloader .
|
|
31
|
+
.preloader .box-3 {
|
|
32
32
|
background: linear-gradient(-45deg, #c300ff, #a808a8);
|
|
33
33
|
transform-origin: top center;
|
|
34
34
|
bottom: 4px;
|
|
35
35
|
right: 4px;
|
|
36
|
-
animation-name:
|
|
36
|
+
animation-name: box-3;
|
|
37
37
|
}
|
|
38
|
-
.preloader .
|
|
38
|
+
.preloader .box-4 {
|
|
39
39
|
background: linear-gradient(-45deg, #fc8e28, #ea7e0b);
|
|
40
40
|
transform-origin: center right;
|
|
41
41
|
bottom: 4px;
|
|
42
42
|
left: 4px;
|
|
43
|
-
animation-name:
|
|
43
|
+
animation-name: box-4;
|
|
44
44
|
}
|
|
45
45
|
@keyframes loader-container {
|
|
46
46
|
0%,
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
transform: rotate(360deg);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
@keyframes
|
|
66
|
+
@keyframes box-1 {
|
|
67
67
|
0%,
|
|
68
68
|
100%,
|
|
69
69
|
99% {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
transform: perspective(200px) rotateX(0);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
@keyframes
|
|
77
|
+
@keyframes box-2 {
|
|
78
78
|
0%,
|
|
79
79
|
100%,
|
|
80
80
|
11%,
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
transform: perspective(200px) rotateY(0);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
@keyframes
|
|
89
|
+
@keyframes box-3 {
|
|
90
90
|
0%,
|
|
91
91
|
100%,
|
|
92
92
|
22%,
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
transform: perspective(200px) rotateX(0);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
@keyframes
|
|
101
|
+
@keyframes box-4 {
|
|
102
102
|
0%,
|
|
103
103
|
100%,
|
|
104
104
|
33%,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { NgbCalendar, NgbDate, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { I18n } from '../services';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class YsDatepickerComponent implements ControlValueAccessor {
|
|
7
|
+
private i18N;
|
|
6
8
|
calendar: NgbCalendar;
|
|
7
9
|
today: NgbDate;
|
|
8
10
|
firstDayOfWeek: number;
|
|
9
11
|
weekend: number[];
|
|
12
|
+
private _language;
|
|
13
|
+
get language(): string;
|
|
14
|
+
set language(value: string);
|
|
10
15
|
isFooter: boolean;
|
|
11
16
|
todayLabel: string;
|
|
12
17
|
footer: TemplateRef<any> | null;
|
|
@@ -16,6 +21,7 @@ export declare class YsDatepickerComponent implements ControlValueAccessor {
|
|
|
16
21
|
disabled: boolean;
|
|
17
22
|
onChange: any;
|
|
18
23
|
onTouched: any;
|
|
24
|
+
constructor(i18N: I18n);
|
|
19
25
|
writeValue(obj: any): void;
|
|
20
26
|
registerOnChange(fn: any): void;
|
|
21
27
|
registerOnTouched(fn: any): void;
|
|
@@ -28,5 +34,5 @@ export declare class YsDatepickerComponent implements ControlValueAccessor {
|
|
|
28
34
|
valueChanged(newDate: NgbDateStruct | string | null): void;
|
|
29
35
|
setToday(): void;
|
|
30
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<YsDatepickerComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YsDatepickerComponent, "ys-datepicker", never, { "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "weekend": { "alias": "weekend"; "required": false; }; "isFooter": { "alias": "isFooter"; "required": false; }; "todayLabel": { "alias": "todayLabel"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YsDatepickerComponent, "ys-datepicker", never, { "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "weekend": { "alias": "weekend"; "required": false; }; "language": { "alias": "language"; "required": false; }; "isFooter": { "alias": "isFooter"; "required": false; }; "todayLabel": { "alias": "todayLabel"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
38
|
}
|
|
@@ -4,7 +4,7 @@ export declare class YsPasswordMatchDirective implements Validator {
|
|
|
4
4
|
matchWith: string;
|
|
5
5
|
validate(control: AbstractControl<any, any>): ValidationErrors | null;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<YsPasswordMatchDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<YsPasswordMatchDirective, "[
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<YsPasswordMatchDirective, "[ysPasswordMatch]", never, { "matchWith": { "alias": "passwordMatch"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Validate password and repeat password matching.
|