@yoozsoft/yoozsoft-ng 3.1.4 → 4.0.1

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.
Files changed (154) hide show
  1. package/README.md +11 -4
  2. package/assets/js/UTIF.js-master/LICENSE +21 -0
  3. package/assets/js/UTIF.js-master/README.md +72 -0
  4. package/assets/js/UTIF.js-master/UTIF.js +1763 -0
  5. package/assets/js/UTIF.js-master/package-lock.json +13 -0
  6. package/assets/styles/ys-layout.scss +21 -47
  7. package/assets/styles/ys-preloader-9.scss +254 -0
  8. package/assets/styles/ys-preloader.scss +12 -12
  9. package/datepicker/src/models/date-time-format.d.ts +0 -1
  10. package/datepicker/src/ys-datepicker/ys-datepicker.component.d.ts +7 -1
  11. package/directives/src/password-match/ys-password-match.directive.d.ts +1 -1
  12. package/fesm2022/yoozsoft-yoozsoft-ng-datepicker.mjs +172 -162
  13. package/fesm2022/yoozsoft-yoozsoft-ng-datepicker.mjs.map +1 -1
  14. package/fesm2022/yoozsoft-yoozsoft-ng-directives.mjs +6 -10
  15. package/fesm2022/yoozsoft-yoozsoft-ng-directives.mjs.map +1 -1
  16. package/fesm2022/yoozsoft-yoozsoft-ng-file-upload.mjs +145 -0
  17. package/fesm2022/yoozsoft-yoozsoft-ng-file-upload.mjs.map +1 -0
  18. package/fesm2022/yoozsoft-yoozsoft-ng-footer.mjs +8 -15
  19. package/fesm2022/yoozsoft-yoozsoft-ng-footer.mjs.map +1 -1
  20. package/fesm2022/yoozsoft-yoozsoft-ng-loading.mjs +16 -9
  21. package/fesm2022/yoozsoft-yoozsoft-ng-loading.mjs.map +1 -1
  22. package/fesm2022/yoozsoft-yoozsoft-ng-navbar.mjs +36 -31
  23. package/fesm2022/yoozsoft-yoozsoft-ng-navbar.mjs.map +1 -1
  24. package/fesm2022/yoozsoft-yoozsoft-ng-overlay.mjs +6 -8
  25. package/fesm2022/yoozsoft-yoozsoft-ng-overlay.mjs.map +1 -1
  26. package/fesm2022/yoozsoft-yoozsoft-ng-password-strength.mjs +90 -62
  27. package/fesm2022/yoozsoft-yoozsoft-ng-password-strength.mjs.map +1 -1
  28. package/fesm2022/yoozsoft-yoozsoft-ng-progress.mjs +17 -17
  29. package/fesm2022/yoozsoft-yoozsoft-ng-progress.mjs.map +1 -1
  30. package/fesm2022/yoozsoft-yoozsoft-ng-select.mjs +64 -23
  31. package/fesm2022/yoozsoft-yoozsoft-ng-select.mjs.map +1 -1
  32. package/fesm2022/yoozsoft-yoozsoft-ng-sidebar.mjs +50 -57
  33. package/fesm2022/yoozsoft-yoozsoft-ng-sidebar.mjs.map +1 -1
  34. package/fesm2022/yoozsoft-yoozsoft-ng-tiff-viewer.mjs +150 -0
  35. package/fesm2022/yoozsoft-yoozsoft-ng-tiff-viewer.mjs.map +1 -0
  36. package/fesm2022/yoozsoft-yoozsoft-ng-toast.mjs +106 -0
  37. package/fesm2022/yoozsoft-yoozsoft-ng-toast.mjs.map +1 -0
  38. package/{toasts → file-upload}/index.d.ts +1 -1
  39. package/file-upload/public-api.d.ts +1 -0
  40. package/file-upload/src/ys-file-upload/ys-file-upload.component.d.ts +51 -0
  41. package/loading/src/ys-loading-mask/ys-loading-mask.component.d.ts +5 -2
  42. package/navbar/src/models/navbar-brand.d.ts +2 -0
  43. package/navbar/src/models/navbar-item.d.ts +1 -0
  44. package/navbar/src/ys-navbar/ys-navbar.component.d.ts +13 -12
  45. package/overlay/src/ys-overlay/ys-overlay.component.d.ts +1 -1
  46. package/package.json +23 -43
  47. package/password-strength/public-api.d.ts +1 -0
  48. package/password-strength/src/directives/index.d.ts +1 -0
  49. package/password-strength/src/directives/ys-password-strength.directive.d.ts +18 -0
  50. package/password-strength/src/models/strength-validation-feedback.d.ts +2 -0
  51. package/password-strength/src/ys-password-strength/ys-password-strength.component.d.ts +4 -5
  52. package/select/src/ys-select/ys-select.component.d.ts +14 -4
  53. package/sidebar/src/models/index.d.ts +0 -1
  54. package/sidebar/src/models/sidebar-item-active.d.ts +1 -0
  55. package/sidebar/src/models/sidebar-item.d.ts +1 -1
  56. package/sidebar/src/services/sidebar.service.d.ts +7 -10
  57. package/sidebar/src/ys-sidebar/ys-sidebar.component.d.ts +13 -15
  58. package/tiff-viewer/index.d.ts +5 -0
  59. package/tiff-viewer/public-api.d.ts +1 -0
  60. package/tiff-viewer/src/ys-tiff-viewer/ys-tiff-viewer.component.d.ts +48 -0
  61. package/{layout → toast}/index.d.ts +1 -1
  62. package/toast/public-api.d.ts +3 -0
  63. package/{toasts/src/ys-toasts/ys-toasts.component.d.ts → toast/src/ys-toast/ys-toast.component.d.ts} +4 -4
  64. package/assets/images/user.jpg +0 -0
  65. package/assets/styles/ys-layout-pin.scss +0 -153
  66. package/esm2022/datepicker/public-api.mjs +0 -12
  67. package/esm2022/datepicker/src/models/date-range.mjs +0 -2
  68. package/esm2022/datepicker/src/models/date-time-format.mjs +0 -4
  69. package/esm2022/datepicker/src/models/index.mjs +0 -4
  70. package/esm2022/datepicker/src/models/jalali-date.mjs +0 -74
  71. package/esm2022/datepicker/src/services/index.mjs +0 -3
  72. package/esm2022/datepicker/src/services/ys-date-parser-formatter.service.mjs +0 -32
  73. package/esm2022/datepicker/src/services/ys-datepicker-i18n.service.mjs +0 -66
  74. package/esm2022/datepicker/src/ys-datepicker/ys-datepicker.component.mjs +0 -108
  75. package/esm2022/datepicker/src/ys-datepicker-persian/ys-datepicker-persian.component.mjs +0 -127
  76. package/esm2022/datepicker/src/ys-datepicker-popup/ys-datepicker-popup.component.mjs +0 -130
  77. package/esm2022/datepicker/src/ys-datepicker-popup-persian/ys-datepicker-popup-persian.component.mjs +0 -136
  78. package/esm2022/datepicker/src/ys-datepicker-range-popup/ys-datepicker-range-popup.component.mjs +0 -157
  79. package/esm2022/datepicker/src/ys-datepicker-range-popup-persian/ys-datepicker-range-popup-persian.component.mjs +0 -167
  80. package/esm2022/datepicker/yoozsoft-yoozsoft-ng-datepicker.mjs +0 -5
  81. package/esm2022/directives/public-api.mjs +0 -6
  82. package/esm2022/directives/src/password-match/ys-password-match.directive.mjs +0 -49
  83. package/esm2022/directives/yoozsoft-yoozsoft-ng-directives.mjs +0 -5
  84. package/esm2022/footer/public-api.mjs +0 -6
  85. package/esm2022/footer/src/models/footer-brand.mjs +0 -2
  86. package/esm2022/footer/src/models/index.mjs +0 -3
  87. package/esm2022/footer/src/models/social-network.mjs +0 -2
  88. package/esm2022/footer/src/ys-footer/ys-footer.component.mjs +0 -32
  89. package/esm2022/footer/yoozsoft-yoozsoft-ng-footer.mjs +0 -5
  90. package/esm2022/layout/public-api.mjs +0 -5
  91. package/esm2022/layout/src/ys-layout/ys-layout.component.mjs +0 -72
  92. package/esm2022/layout/yoozsoft-yoozsoft-ng-layout.mjs +0 -5
  93. package/esm2022/loading/public-api.mjs +0 -5
  94. package/esm2022/loading/src/ys-loading-mask/ys-loading-mask.component.mjs +0 -20
  95. package/esm2022/loading/yoozsoft-yoozsoft-ng-loading.mjs +0 -5
  96. package/esm2022/navbar/public-api.mjs +0 -6
  97. package/esm2022/navbar/src/models/index.mjs +0 -3
  98. package/esm2022/navbar/src/models/navbar-brand.mjs +0 -2
  99. package/esm2022/navbar/src/models/navbar-item.mjs +0 -2
  100. package/esm2022/navbar/src/ys-navbar/ys-navbar.component.mjs +0 -86
  101. package/esm2022/navbar/yoozsoft-yoozsoft-ng-navbar.mjs +0 -5
  102. package/esm2022/overlay/public-api.mjs +0 -5
  103. package/esm2022/overlay/src/ys-overlay/ys-overlay.component.mjs +0 -20
  104. package/esm2022/overlay/yoozsoft-yoozsoft-ng-overlay.mjs +0 -5
  105. package/esm2022/password-strength/public-api.mjs +0 -6
  106. package/esm2022/password-strength/src/models/index.mjs +0 -5
  107. package/esm2022/password-strength/src/models/regx.mjs +0 -7
  108. package/esm2022/password-strength/src/models/strength-validation-control.mjs +0 -2
  109. package/esm2022/password-strength/src/models/strength-validation-feedback.mjs +0 -25
  110. package/esm2022/password-strength/src/models/strength-validation-option.mjs +0 -25
  111. package/esm2022/password-strength/src/ys-password-strength/ys-password-strength.component.mjs +0 -69
  112. package/esm2022/password-strength/yoozsoft-yoozsoft-ng-password-strength.mjs +0 -5
  113. package/esm2022/progress/public-api.mjs +0 -6
  114. package/esm2022/progress/src/services/index.mjs +0 -2
  115. package/esm2022/progress/src/services/progress.service.mjs +0 -18
  116. package/esm2022/progress/src/ys-progress/ys-progress.component.mjs +0 -32
  117. package/esm2022/progress/yoozsoft-yoozsoft-ng-progress.mjs +0 -5
  118. package/esm2022/public-api.mjs +0 -5
  119. package/esm2022/select/public-api.mjs +0 -5
  120. package/esm2022/select/src/ys-select/ys-select.component.mjs +0 -63
  121. package/esm2022/select/yoozsoft-yoozsoft-ng-select.mjs +0 -5
  122. package/esm2022/sidebar/public-api.mjs +0 -8
  123. package/esm2022/sidebar/src/models/index.mjs +0 -6
  124. package/esm2022/sidebar/src/models/sidebar-item-active.mjs +0 -2
  125. package/esm2022/sidebar/src/models/sidebar-item.mjs +0 -2
  126. package/esm2022/sidebar/src/models/sidebar-state.mjs +0 -2
  127. package/esm2022/sidebar/src/models/user-image.mjs +0 -2
  128. package/esm2022/sidebar/src/models/user-profile.mjs +0 -2
  129. package/esm2022/sidebar/src/services/index.mjs +0 -2
  130. package/esm2022/sidebar/src/services/sidebar.service.mjs +0 -39
  131. package/esm2022/sidebar/src/ys-sidebar/ys-sidebar.component.mjs +0 -68
  132. package/esm2022/sidebar/yoozsoft-yoozsoft-ng-sidebar.mjs +0 -5
  133. package/esm2022/toasts/public-api.mjs +0 -7
  134. package/esm2022/toasts/src/models/index.mjs +0 -3
  135. package/esm2022/toasts/src/models/toast-info.mjs +0 -2
  136. package/esm2022/toasts/src/models/toast-type.mjs +0 -8
  137. package/esm2022/toasts/src/services/index.mjs +0 -2
  138. package/esm2022/toasts/src/services/toast.service.mjs +0 -44
  139. package/esm2022/toasts/src/ys-toasts/ys-toasts.component.mjs +0 -53
  140. package/esm2022/toasts/yoozsoft-yoozsoft-ng-toasts.mjs +0 -5
  141. package/esm2022/yoozsoft-yoozsoft-ng.mjs +0 -5
  142. package/fesm2022/yoozsoft-yoozsoft-ng-layout.mjs +0 -83
  143. package/fesm2022/yoozsoft-yoozsoft-ng-layout.mjs.map +0 -1
  144. package/fesm2022/yoozsoft-yoozsoft-ng-toasts.mjs +0 -111
  145. package/fesm2022/yoozsoft-yoozsoft-ng-toasts.mjs.map +0 -1
  146. package/layout/public-api.d.ts +0 -1
  147. package/layout/src/ys-layout/ys-layout.component.d.ts +0 -24
  148. package/sidebar/src/models/sidebar-state.d.ts +0 -4
  149. package/toasts/public-api.d.ts +0 -3
  150. /package/{toasts → toast}/src/models/index.d.ts +0 -0
  151. /package/{toasts → toast}/src/models/toast-info.d.ts +0 -0
  152. /package/{toasts → toast}/src/models/toast-type.d.ts +0 -0
  153. /package/{toasts → toast}/src/services/index.d.ts +0 -0
  154. /package/{toasts → toast}/src/services/toast.service.d.ts +0 -0
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@yoozsoft/yoozsoft-ng",
3
- "version": "3.1.4",
3
+ "version": "4.0.1",
4
4
  "peerDependencies": {
5
- "@angular/common": "^18.0.3",
6
- "@angular/core": "^18.0.3"
5
+ "@angular/common": "^19.0.0",
6
+ "@angular/core": "^19.0.0"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.3.0"
@@ -14,12 +14,14 @@
14
14
  "bootstrap",
15
15
  "ng-bootstrap",
16
16
  "components",
17
- "persian datepicker",
17
+ "persian-datepicker",
18
+ "file-upload",
18
19
  "navbar",
19
20
  "password-strength",
20
21
  "progress",
21
22
  "select",
22
23
  "sidebar",
24
+ "tiff-viewer",
23
25
  "toast"
24
26
  ],
25
27
  "license": "MIT",
@@ -31,81 +33,59 @@
31
33
  },
32
34
  ".": {
33
35
  "types": "./index.d.ts",
34
- "esm2022": "./esm2022/yoozsoft-yoozsoft-ng.mjs",
35
- "esm": "./esm2022/yoozsoft-yoozsoft-ng.mjs",
36
36
  "default": "./fesm2022/yoozsoft-yoozsoft-ng.mjs"
37
37
  },
38
38
  "./datepicker": {
39
39
  "types": "./datepicker/index.d.ts",
40
- "esm2022": "./esm2022/datepicker/yoozsoft-yoozsoft-ng-datepicker.mjs",
41
- "esm": "./esm2022/datepicker/yoozsoft-yoozsoft-ng-datepicker.mjs",
42
40
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-datepicker.mjs"
43
41
  },
44
- "./footer": {
45
- "types": "./footer/index.d.ts",
46
- "esm2022": "./esm2022/footer/yoozsoft-yoozsoft-ng-footer.mjs",
47
- "esm": "./esm2022/footer/yoozsoft-yoozsoft-ng-footer.mjs",
48
- "default": "./fesm2022/yoozsoft-yoozsoft-ng-footer.mjs"
42
+ "./file-upload": {
43
+ "types": "./file-upload/index.d.ts",
44
+ "default": "./fesm2022/yoozsoft-yoozsoft-ng-file-upload.mjs"
49
45
  },
50
46
  "./directives": {
51
47
  "types": "./directives/index.d.ts",
52
- "esm2022": "./esm2022/directives/yoozsoft-yoozsoft-ng-directives.mjs",
53
- "esm": "./esm2022/directives/yoozsoft-yoozsoft-ng-directives.mjs",
54
48
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-directives.mjs"
55
49
  },
56
50
  "./loading": {
57
51
  "types": "./loading/index.d.ts",
58
- "esm2022": "./esm2022/loading/yoozsoft-yoozsoft-ng-loading.mjs",
59
- "esm": "./esm2022/loading/yoozsoft-yoozsoft-ng-loading.mjs",
60
52
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-loading.mjs"
61
53
  },
62
- "./layout": {
63
- "types": "./layout/index.d.ts",
64
- "esm2022": "./esm2022/layout/yoozsoft-yoozsoft-ng-layout.mjs",
65
- "esm": "./esm2022/layout/yoozsoft-yoozsoft-ng-layout.mjs",
66
- "default": "./fesm2022/yoozsoft-yoozsoft-ng-layout.mjs"
54
+ "./footer": {
55
+ "types": "./footer/index.d.ts",
56
+ "default": "./fesm2022/yoozsoft-yoozsoft-ng-footer.mjs"
67
57
  },
68
58
  "./navbar": {
69
59
  "types": "./navbar/index.d.ts",
70
- "esm2022": "./esm2022/navbar/yoozsoft-yoozsoft-ng-navbar.mjs",
71
- "esm": "./esm2022/navbar/yoozsoft-yoozsoft-ng-navbar.mjs",
72
60
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-navbar.mjs"
73
61
  },
74
62
  "./overlay": {
75
63
  "types": "./overlay/index.d.ts",
76
- "esm2022": "./esm2022/overlay/yoozsoft-yoozsoft-ng-overlay.mjs",
77
- "esm": "./esm2022/overlay/yoozsoft-yoozsoft-ng-overlay.mjs",
78
64
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-overlay.mjs"
79
65
  },
80
66
  "./password-strength": {
81
67
  "types": "./password-strength/index.d.ts",
82
- "esm2022": "./esm2022/password-strength/yoozsoft-yoozsoft-ng-password-strength.mjs",
83
- "esm": "./esm2022/password-strength/yoozsoft-yoozsoft-ng-password-strength.mjs",
84
68
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-password-strength.mjs"
85
69
  },
86
- "./progress": {
87
- "types": "./progress/index.d.ts",
88
- "esm2022": "./esm2022/progress/yoozsoft-yoozsoft-ng-progress.mjs",
89
- "esm": "./esm2022/progress/yoozsoft-yoozsoft-ng-progress.mjs",
90
- "default": "./fesm2022/yoozsoft-yoozsoft-ng-progress.mjs"
91
- },
92
70
  "./select": {
93
71
  "types": "./select/index.d.ts",
94
- "esm2022": "./esm2022/select/yoozsoft-yoozsoft-ng-select.mjs",
95
- "esm": "./esm2022/select/yoozsoft-yoozsoft-ng-select.mjs",
96
72
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-select.mjs"
97
73
  },
74
+ "./progress": {
75
+ "types": "./progress/index.d.ts",
76
+ "default": "./fesm2022/yoozsoft-yoozsoft-ng-progress.mjs"
77
+ },
98
78
  "./sidebar": {
99
79
  "types": "./sidebar/index.d.ts",
100
- "esm2022": "./esm2022/sidebar/yoozsoft-yoozsoft-ng-sidebar.mjs",
101
- "esm": "./esm2022/sidebar/yoozsoft-yoozsoft-ng-sidebar.mjs",
102
80
  "default": "./fesm2022/yoozsoft-yoozsoft-ng-sidebar.mjs"
103
81
  },
104
- "./toasts": {
105
- "types": "./toasts/index.d.ts",
106
- "esm2022": "./esm2022/toasts/yoozsoft-yoozsoft-ng-toasts.mjs",
107
- "esm": "./esm2022/toasts/yoozsoft-yoozsoft-ng-toasts.mjs",
108
- "default": "./fesm2022/yoozsoft-yoozsoft-ng-toasts.mjs"
82
+ "./tiff-viewer": {
83
+ "types": "./tiff-viewer/index.d.ts",
84
+ "default": "./fesm2022/yoozsoft-yoozsoft-ng-tiff-viewer.mjs"
85
+ },
86
+ "./toast": {
87
+ "types": "./toast/index.d.ts",
88
+ "default": "./fesm2022/yoozsoft-yoozsoft-ng-toast.mjs"
109
89
  }
110
90
  }
111
91
  }
@@ -1,2 +1,3 @@
1
+ export * from './src/directives';
1
2
  export * from './src/models';
2
3
  export * from './src/ys-password-strength/ys-password-strength.component';
@@ -0,0 +1 @@
1
+ export * from './ys-password-strength.directive';
@@ -0,0 +1,18 @@
1
+ import { ElementRef, Injector, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { NgControl } from '@angular/forms';
3
+ import { StrengthValidationFeedback, StrengthValidationOption } from '../models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class YsPasswordStrengthDirective implements OnInit {
6
+ private el;
7
+ private viewContainerRef;
8
+ private injector;
9
+ private control;
10
+ passwordHelp: string | null;
11
+ displayFeedback: boolean;
12
+ feedback: StrengthValidationFeedback | null;
13
+ options?: StrengthValidationOption;
14
+ constructor(el: ElementRef, viewContainerRef: ViewContainerRef, injector: Injector, control: NgControl);
15
+ ngOnInit(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<YsPasswordStrengthDirective, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<YsPasswordStrengthDirective, "[ysPasswordStrength]", never, { "passwordHelp": { "alias": "passwordHelp"; "required": false; }; "displayFeedback": { "alias": "displayFeedback"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
@@ -1,10 +1,12 @@
1
1
  export declare class StrengthValidationFeedback {
2
+ required?: string;
2
3
  uppercase?: string;
3
4
  lowercase?: string;
4
5
  digit?: string;
5
6
  nonAlphanumeric?: string;
6
7
  minLength?: string;
7
8
  constructor(options?: {
9
+ required?: string;
8
10
  uppercase?: string;
9
11
  lowercase?: string;
10
12
  digit?: string;
@@ -1,14 +1,13 @@
1
1
  import { StrengthValidationControl, StrengthValidationFeedback } from '../models';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class YsPasswordStrengthComponent {
4
+ passwordHelp: string | null;
5
+ displayFeedback: boolean;
6
+ feedback: StrengthValidationFeedback | null;
4
7
  private minLengthRegx;
5
8
  private _control?;
6
9
  get control(): StrengthValidationControl | undefined;
7
10
  set control(value: StrengthValidationControl | undefined);
8
- passwordHelp: string | null;
9
- displayFeedback: boolean;
10
- feedback: StrengthValidationFeedback | null;
11
- constructor();
12
11
  get requiredOptionsLength(): number;
13
12
  get hasUppercase(): boolean;
14
13
  get hasLowercase(): boolean;
@@ -18,5 +17,5 @@ export declare class YsPasswordStrengthComponent {
18
17
  get strengthMeter(): number;
19
18
  get strengthStyleClass(): string;
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<YsPasswordStrengthComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<YsPasswordStrengthComponent, "ys-password-strength", never, { "control": { "alias": "control"; "required": false; }; "passwordHelp": { "alias": "passwordHelp"; "required": false; }; "displayFeedback": { "alias": "displayFeedback"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<YsPasswordStrengthComponent, "ys-password-strength", never, { "passwordHelp": { "alias": "passwordHelp"; "required": false; }; "displayFeedback": { "alias": "displayFeedback"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
22
21
  }
@@ -1,21 +1,31 @@
1
1
  import { ControlValueAccessor } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class YsSelectComponent implements ControlValueAccessor {
4
+ /**ُSelect element id */
5
+ id: string;
4
6
  options: any[];
7
+ /**Name of field to display in option title */
5
8
  optionLabel: string;
6
9
  placeholder?: string;
7
10
  styleClass?: string;
11
+ invalid?: boolean;
12
+ invalidStyleClass?: string;
13
+ valid?: boolean;
14
+ validStyleClass?: string;
15
+ multiple?: boolean;
16
+ /**Display clear button */
17
+ isClear?: boolean;
8
18
  isDisabled: boolean;
9
19
  onChange: any;
10
20
  onTouched: any;
11
- private val?;
12
- get value(): any;
13
- set value(val: any);
21
+ value?: any;
14
22
  writeValue(obj: any): void;
15
23
  registerOnChange(fn: any): void;
16
24
  registerOnTouched(fn: any): void;
17
25
  setDisabledState?(isDisabled: boolean): void;
26
+ onModelChange(option: any): void;
18
27
  clearValue(): void;
28
+ isObject(item: any): boolean;
19
29
  static ɵfac: i0.ɵɵFactoryDeclaration<YsSelectComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<YsSelectComponent, "ys-select", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<YsSelectComponent, "ys-select", never, { "id": { "alias": "id"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidStyleClass": { "alias": "invalidStyleClass"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "validStyleClass": { "alias": "validStyleClass"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "isClear": { "alias": "isClear"; "required": false; }; }, {}, never, never, true, never>;
21
31
  }
@@ -1,5 +1,4 @@
1
1
  export * from './sidebar-item';
2
2
  export * from './sidebar-item-active';
3
- export * from './sidebar-state';
4
3
  export * from './user-image';
5
4
  export * from './user-profile';
@@ -1,5 +1,6 @@
1
1
  import { SidebarItem } from "./sidebar-item";
2
2
  export interface SidebarItemActive extends SidebarItem {
3
+ items?: SidebarItemActive[];
3
4
  isActive?: boolean;
4
5
  isOpen?: boolean;
5
6
  }
@@ -1,7 +1,7 @@
1
1
  export interface SidebarItem {
2
2
  id?: number;
3
3
  label?: string;
4
- routerLink?: any[];
4
+ routerLink?: string | any[];
5
5
  iconClass?: string;
6
6
  badgeLabel?: string;
7
7
  badgeStyleClass?: string;
@@ -1,16 +1,13 @@
1
- import { SidebarState } from '../models/sidebar-state';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class SidebarService {
4
- private _sidebarPinned$;
5
- private _sidebarToggled$;
6
- private _sidebar$;
7
- get sidebarPinned$(): import("rxjs").Observable<boolean>;
8
- get sidebarToggled$(): import("rxjs").Observable<boolean>;
9
- get sidebar$(): import("rxjs").Observable<boolean>;
3
+ constructor();
4
+ private _isSidebarToggled$;
5
+ private _isSidebar$;
6
+ get isSidebarToggled$(): import("rxjs").Observable<boolean>;
7
+ get isSidebar$(): import("rxjs").Observable<boolean>;
10
8
  toggleSidebar(): void;
11
- toggleSidebarPin(): void;
12
- setSidebar(value: boolean): void;
13
- get sidebarState(): SidebarState;
9
+ setIsSidebar(isSidebar: boolean): void;
10
+ get sidebarState(): boolean;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
15
12
  static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
16
13
  }
@@ -1,26 +1,24 @@
1
- import { AfterViewInit } from '@angular/core';
1
+ import { OnDestroy } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
- import { SidebarItem, UserProfile } from '../models';
4
- import { SidebarItemActive } from '../models/sidebar-item-active';
5
- import { SidebarService } from '../services';
3
+ import { SidebarItem, SidebarItemActive, UserProfile } from '../models';
6
4
  import * as i0 from "@angular/core";
7
- export declare class YsSidebarComponent implements AfterViewInit {
5
+ export declare class YsSidebarComponent implements OnDestroy {
8
6
  private router;
9
- private sidebarService;
10
- items: SidebarItemActive[];
7
+ private subscription;
8
+ private currentItem?;
9
+ private currentItemState;
10
+ private _items;
11
+ get items(): SidebarItemActive[];
12
+ set items(value: SidebarItem[]);
11
13
  profile: UserProfile | null;
12
14
  styleClass?: string;
13
15
  itemsStyleClass?: string;
14
- overlay: boolean;
15
- constructor(router: Router, sidebarService: SidebarService);
16
- ngAfterViewInit(): void;
17
- get sidebarToggled(): boolean;
16
+ constructor(router: Router);
17
+ ngOnDestroy(): void;
18
18
  get fullName(): string;
19
19
  openItem(item: SidebarItemActive): void;
20
20
  isDropdown(item: SidebarItem): boolean;
21
- toggleSidebar(): void;
22
- currentItem: SidebarItemActive | null;
23
- onRouterLinkActive(event: any, item: SidebarItemActive): void;
21
+ onRouterLinkActive(isActive: boolean, item: SidebarItemActive): void;
24
22
  static ɵfac: i0.ɵɵFactoryDeclaration<YsSidebarComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<YsSidebarComponent, "ys-sidebar", never, { "items": { "alias": "items"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "itemsStyleClass": { "alias": "itemsStyleClass"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; }, {}, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<YsSidebarComponent, "ys-sidebar", never, { "items": { "alias": "items"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "itemsStyleClass": { "alias": "itemsStyleClass"; "required": false; }; }, {}, never, never, true, never>;
26
24
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@yoozsoft/yoozsoft-ng/tiff-viewer" />
5
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ export * from './src/ys-tiff-viewer/ys-tiff-viewer.component';
@@ -0,0 +1,48 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class YsTiffViewerComponent {
3
+ private canvas;
4
+ private context;
5
+ /**image file directories */
6
+ private IFDs;
7
+ private currentIFDIndex;
8
+ isDecoding: boolean;
9
+ private _buffer?;
10
+ /**Uint8Array source */
11
+ /**ArrayBuffer containing TIFF or EXIF data */
12
+ get buffer(): ArrayBuffer | File | Blob | undefined;
13
+ set buffer(value: ArrayBuffer | File | Blob | undefined);
14
+ _currentPageReportTemplate?: string;
15
+ /**Current page report template */
16
+ get currentPageReportTemplate(): string | undefined;
17
+ set currentPageReportTemplate(value: string | undefined);
18
+ /**Canvas container style class */
19
+ styleClass?: string;
20
+ /**Message displayed before filling the input buffer */
21
+ message?: string;
22
+ /**First button icon class */
23
+ firstIconClass: string;
24
+ /**Previous button icon class */
25
+ previousIconClass: string;
26
+ /**Next button icon class */
27
+ nextIconClass: string;
28
+ /**Last button icon class */
29
+ lastIconClass: string;
30
+ get isIFDs(): boolean;
31
+ get isFirstImage(): boolean;
32
+ get isLastImage(): boolean;
33
+ /**
34
+ * Convert buffer to an array of "IFDs" (image file directories)
35
+ * @param buffer ArrayBuffer containing TIFF or EXIF data
36
+ * @returns
37
+ */
38
+ convertSource(buffer: ArrayBuffer | File | Blob | undefined): Promise<void>;
39
+ putImage(index: number): void;
40
+ first(): void;
41
+ previous(): void;
42
+ next(): void;
43
+ last(): void;
44
+ getAsByteArray(blob: Blob): Promise<Uint8Array>;
45
+ readFile(blob: Blob): Promise<ArrayBuffer>;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<YsTiffViewerComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<YsTiffViewerComponent, "ys-tiff-viewer", never, { "buffer": { "alias": "buffer"; "required": false; }; "currentPageReportTemplate": { "alias": "currentPageReportTemplate"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "message": { "alias": "message"; "required": false; }; "firstIconClass": { "alias": "firstIconClass"; "required": false; }; "previousIconClass": { "alias": "previousIconClass"; "required": false; }; "nextIconClass": { "alias": "nextIconClass"; "required": false; }; "lastIconClass": { "alias": "lastIconClass"; "required": false; }; }, {}, never, never, true, never>;
48
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- /// <amd-module name="@yoozsoft/yoozsoft-ng/layout" />
4
+ /// <amd-module name="@yoozsoft/yoozsoft-ng/toast" />
5
5
  export * from './public-api';
@@ -0,0 +1,3 @@
1
+ export * from '../toast/src/models';
2
+ export * from '../toast/src/services';
3
+ export * from './src/ys-toast/ys-toast.component';
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, OnInit } from '@angular/core';
2
- import { ToastService } from '../services';
2
+ import { ToastService } from '../../../toast/src/services';
3
3
  import * as i0 from "@angular/core";
4
- export declare class YsToastsComponent implements OnInit {
4
+ export declare class YsToastComponent implements OnInit {
5
5
  toastService: ToastService;
6
6
  _elementRef: ElementRef<HTMLElement>;
7
7
  autohide: boolean;
@@ -18,6 +18,6 @@ export declare class YsToastsComponent implements OnInit {
18
18
  private get hostElement();
19
19
  private setPlacement;
20
20
  isTemplate(toast: any): boolean;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<YsToastsComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<YsToastsComponent, "ys-toasts", never, { "autohide": { "alias": "autohide"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, true, never>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<YsToastComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<YsToastComponent, "ys-toast", never, { "autohide": { "alias": "autohide"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, true, never>;
23
23
  }
Binary file
@@ -1,153 +0,0 @@
1
- @-webkit-keyframes fadeIn {
2
- from {
3
- opacity: 0;
4
- }
5
- to {
6
- opacity: 1;
7
- }
8
- }
9
- @keyframes fadeIn {
10
- from {
11
- opacity: 0;
12
- }
13
- to {
14
- opacity: 1;
15
- }
16
- }
17
-
18
- .ys-page-wrapper {
19
- height: 100% !important;
20
-
21
- main {
22
- padding-top: 3.5rem;
23
- height: 100vh;
24
- overflow: auto;
25
- -webkit-transition: all 0.5s ease;
26
- -moz-transition: all 0.5s ease;
27
- -o-transition: all 0.5s ease;
28
- transition: all 0.5s ease;
29
-
30
- @media (max-width: 768px) {
31
- .sidebar {
32
- height: calc(100% - 3.5rem);
33
- top: 3.5rem;
34
- }
35
- }
36
-
37
- .ys-page-content {
38
- overflow: auto;
39
- }
40
-
41
- .ys-overlay {
42
- position: fixed;
43
- top: 0;
44
- right: 0;
45
- bottom: 0;
46
- left: 0;
47
- z-index: 100;
48
- opacity: 0.5;
49
- display: none;
50
- // -webkit-animation: fadeIn 1s;
51
- // animation: fadeIn 1s;
52
-
53
- &.show {
54
- display: block;
55
-
56
- @media (min-width: 768px) {
57
- display: none;
58
- }
59
- }
60
- }
61
- }
62
-
63
- &.pinned-sidebar {
64
- @media (min-width: 768px) {
65
- .sidebar {
66
- width: 70px;
67
-
68
- .sidebar-profile {
69
- .user-picture {
70
- width: 40px !important;
71
- height: 40px !important;
72
- }
73
- }
74
-
75
- .profile-details {
76
- display: none;
77
- opacity: 0;
78
- }
79
-
80
- .sidebar-menu {
81
- .dropdown-toggle::after {
82
- display: none !important;
83
- }
84
-
85
- .nav-link {
86
- justify-content: center;
87
- span {
88
- display: none;
89
- opacity: 0;
90
- }
91
- }
92
- .nav-sub-item {
93
- display: none !important;
94
- }
95
- }
96
- }
97
- }
98
- }
99
-
100
- &.toggled-sidebar {
101
- main {
102
- .ys-overlay {
103
- display: block;
104
- opacity: 1;
105
-
106
- @media (min-width: 768px) {
107
- display: none;
108
- }
109
- }
110
- }
111
-
112
- @media (max-width: 768px) {
113
- .sidebar {
114
- left: 0;
115
- }
116
- }
117
-
118
- // @media (min-width: 768px) {
119
- // .sidebar {
120
- // width: 70px;
121
-
122
- // .sidebar-profile {
123
- // .user-picture {
124
- // width: 40px !important;
125
- // height: 40px !important;
126
- // }
127
- // }
128
-
129
- // .profile-details {
130
- // display: none;
131
- // opacity: 0;
132
- // }
133
-
134
- // .sidebar-menu {
135
- // .dropdown-toggle::after {
136
- // display: none !important;
137
- // }
138
-
139
- // .nav-link {
140
- // justify-content: center;
141
- // span {
142
- // display: none;
143
- // opacity: 0;
144
- // }
145
- // }
146
- // .nav-sub-item {
147
- // display: none !important;
148
- // }
149
- // }
150
- // }
151
- // }
152
- }
153
- }
@@ -1,12 +0,0 @@
1
- /*
2
- * Public API Surface of ys-datepicker
3
- */
4
- export * from './src/models';
5
- export * from './src/services';
6
- export * from './src/ys-datepicker/ys-datepicker.component';
7
- export * from './src/ys-datepicker-persian/ys-datepicker-persian.component';
8
- export * from './src/ys-datepicker-popup-persian/ys-datepicker-popup-persian.component';
9
- export * from './src/ys-datepicker-popup/ys-datepicker-popup.component';
10
- export * from './src/ys-datepicker-range-popup-persian/ys-datepicker-range-popup-persian.component';
11
- export * from './src/ys-datepicker-range-popup/ys-datepicker-range-popup.component';
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3lvb3pzb2Z0L3lvb3pzb2Z0LW5nL2RhdGVwaWNrZXIvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLDZEQUE2RCxDQUFDO0FBQzVFLGNBQWMse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ldHVybiAoXCIwXCIgKyAocyArIDEpKS5zbGljZSgtMik7IH1cclxufVxyXG4iXX0=
@@ -1,4 +0,0 @@
1
- export * from './date-range';
2
- export * from './date-time-format';
3
- export * from './jalali-date';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy95b296c29mdC95b296c29mdC1uZy9kYXRlcGlja2VyL3NyYy9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGF0ZS1yYW5nZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vZGF0ZS10aW1lLWZvcm1hdCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vamFsYWxpLWRhdGUnO1xyXG4iXX0=