ps-toolkit-ui 0.0.199 → 0.0.200

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.
@@ -144,10 +144,23 @@ export declare const strings: {
144
144
  FileSelected: string;
145
145
  Selected: string;
146
146
  Limit: string;
147
+ Today: string;
147
148
  SendCodeLimit: string;
148
149
  SendCodeError: string;
149
150
  CodeNotFound: string;
150
151
  Total: string;
152
+ Month1: string;
153
+ Month2: string;
154
+ Month3: string;
155
+ Month4: string;
156
+ Month5: string;
157
+ Month6: string;
158
+ Month7: string;
159
+ Month8: string;
160
+ Month9: string;
161
+ Month10: string;
162
+ Month11: string;
163
+ Month12: string;
151
164
  Day: string;
152
165
  HourP: string;
153
166
  MinuteP: string;
@@ -0,0 +1,26 @@
1
+ import { DayClass } from '../../classes/form.class';
2
+ import * as moment from 'jalali-moment';
3
+ import { PsToolkitUiConfigService } from '../../services/config.service';
4
+ export declare class CalendarComponent {
5
+ config: PsToolkitUiConfigService;
6
+ state: string;
7
+ months: any[];
8
+ active: moment.Moment;
9
+ previousDays: DayClass[];
10
+ nextDays: DayClass[];
11
+ days: DayClass[];
12
+ todayDay: number;
13
+ todayMonth: number;
14
+ todayYear: number;
15
+ l: (k: any, v?: any) => string;
16
+ constructor(config: PsToolkitUiConfigService);
17
+ changeState(s: string): void;
18
+ getYears(): number[];
19
+ getActiveMonth(): string;
20
+ add(c: number): void;
21
+ changeMonth(c: number): void;
22
+ changeYear(c: number): void;
23
+ setDate(): void;
24
+ isToday(m: moment.Moment, d: number): boolean;
25
+ setActive(m: any): void;
26
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import * as moment from 'jalali-moment';
3
+ export declare class ClockComponent implements OnInit, OnDestroy {
4
+ clockInterval: any;
5
+ clock: ElementRef;
6
+ active: moment.Moment;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ ngOnDestroy(): void;
10
+ clockUpdate(): void;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "0.0.199",
3
+ "version": "0.0.200",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"
@@ -3,6 +3,8 @@
3
3
  */
4
4
  export * from './public-api';
5
5
  export { SafeStylePipe as ɵi } from './lib/classes/safestyle.class';
6
+ export { CalendarComponent as ɵm } from './lib/components/calendar/calendar.component';
7
+ export { ClockComponent as ɵn } from './lib/components/clock/clock.component';
6
8
  export { FormHiddenComponent as ɵl } from './lib/components/form/hidden/form.hidden.component';
7
9
  export { FormSelectItemComponent as ɵa } from './lib/components/form/select/item/form.select.item.component';
8
10
  export { FormTreeItemComponent as ɵf } from './lib/components/form/tree/item/form.tree.item.component';