@colijnit/sharedcomponents 1.0.27 → 1.0.29

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 (134) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +2714 -73
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +24 -0
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +25 -1
  6. package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +6 -5
  7. package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -0
  8. package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +32 -0
  9. package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +54 -0
  10. package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +43 -0
  11. package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -0
  12. package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +232 -0
  13. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -0
  14. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -0
  15. package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -0
  16. package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -0
  17. package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -0
  18. package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -0
  19. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -0
  20. package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -0
  21. package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -0
  22. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -0
  23. package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -0
  24. package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -0
  25. package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -0
  26. package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -0
  27. package/esm2015/lib/components/date-planning/date-planning.component.js +106 -0
  28. package/esm2015/lib/components/date-planning/date-planning.module.js +63 -0
  29. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +83 -54
  30. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +6 -3
  31. package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -0
  32. package/esm2015/lib/components/statusbar/statusbar.component.js +4 -2
  33. package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +7 -4
  34. package/esm2015/lib/enum/calendar-view.enum.js +8 -0
  35. package/esm2015/lib/enum/icon.enum.js +6 -1
  36. package/esm2015/lib/enum/month.enum.js +17 -0
  37. package/esm2015/lib/enum/thumb-three-way-state.js +19 -0
  38. package/esm2015/lib/enum/time-period.enum.js +11 -0
  39. package/esm2015/lib/model/agenda-event-per-day.model.js +6 -0
  40. package/esm2015/lib/model/agenda-event.model.js +8 -0
  41. package/esm2015/lib/model/agenda-null-objects.js +11 -0
  42. package/esm2015/lib/model/constant/all-months.js +17 -0
  43. package/esm2015/lib/model/date-range.js +5 -0
  44. package/esm2015/lib/model/day.model.js +7 -0
  45. package/esm2015/lib/model/icon-svg.js +6 -1
  46. package/esm2015/lib/model/month.model.js +11 -0
  47. package/esm2015/lib/model/time-window.bo.js +26 -0
  48. package/esm2015/lib/model/week.model.js +6 -0
  49. package/esm2015/lib/model/weekday.model.js +10 -0
  50. package/esm2015/lib/pipe/array-number.pipe.js +15 -0
  51. package/esm2015/lib/pipe/master-pipes.js +7 -0
  52. package/esm2015/lib/pipe/ucfirst.pipe.js +16 -0
  53. package/esm2015/lib/service/shared-connector.service.js +49 -1
  54. package/esm2015/lib/service/stock.service.js +16 -5
  55. package/esm2015/lib/utils/array-utils.js +24 -5
  56. package/esm2015/lib/utils/calendar.utils.js +69 -0
  57. package/esm2015/lib/utils/check-precision-and-scale-result.js +2 -0
  58. package/esm2015/lib/utils/check-within-stepped-bounds-result.js +2 -0
  59. package/esm2015/lib/utils/date-utils.js +264 -0
  60. package/esm2015/lib/utils/function/not-nill.function.js +5 -0
  61. package/esm2015/lib/utils/map-utils.js +41 -0
  62. package/esm2015/lib/utils/number-utils.js +390 -0
  63. package/esm2015/lib/utils/object-utils.js +278 -0
  64. package/esm2015/public-api.js +3 -1
  65. package/fesm2015/colijnit-sharedcomponents.js +2794 -99
  66. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  67. package/lib/components/circular-gauge/style/_layout.scss +3 -6
  68. package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -0
  69. package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +6 -0
  70. package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +17 -0
  71. package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +12 -0
  72. package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -0
  73. package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +47 -0
  74. package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -0
  75. package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -0
  76. package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -0
  77. package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -0
  78. package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -0
  79. package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +11 -0
  80. package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -0
  81. package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +8 -0
  82. package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -0
  83. package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -0
  84. package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -0
  85. package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -0
  86. package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -0
  87. package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -0
  88. package/lib/components/date-planning/date-planning.component.d.ts +25 -0
  89. package/lib/components/date-planning/date-planning.module.d.ts +2 -0
  90. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +24 -7
  91. package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -0
  92. package/lib/components/send-method-dialog/style/_layout.scss +5 -0
  93. package/lib/components/statusbar/statusbar.component.d.ts +2 -0
  94. package/lib/components/statusbar/style/_layout.scss +11 -0
  95. package/lib/components/tags/component/style/_layout.scss +67 -0
  96. package/lib/components/tags/component/style/_material-definition.scss +1 -0
  97. package/lib/components/tags/component/style/_theme.scss +8 -0
  98. package/lib/components/tags/component/style/material.scss +3 -0
  99. package/lib/components/tags/component/tag-join-label/style/_layout.scss +97 -0
  100. package/lib/components/tags/component/tag-join-label/style/_material-definition.scss +4 -0
  101. package/lib/components/tags/component/tag-join-label/style/_theme.scss +8 -0
  102. package/lib/components/tags/component/tag-join-label/style/material.scss +3 -0
  103. package/lib/enum/calendar-view.enum.d.ts +6 -0
  104. package/lib/enum/icon.enum.d.ts +5 -0
  105. package/lib/enum/month.enum.d.ts +14 -0
  106. package/lib/enum/thumb-three-way-state.d.ts +6 -0
  107. package/lib/enum/time-period.enum.d.ts +8 -0
  108. package/lib/model/agenda-event-per-day.model.d.ts +5 -0
  109. package/lib/model/agenda-event.model.d.ts +16 -0
  110. package/lib/model/agenda-null-objects.d.ts +10 -0
  111. package/lib/model/constant/all-months.d.ts +2 -0
  112. package/lib/model/date-range.d.ts +7 -0
  113. package/lib/model/day.model.d.ts +8 -0
  114. package/lib/model/month.model.d.ts +5 -0
  115. package/lib/model/time-window.bo.d.ts +13 -0
  116. package/lib/model/week.model.d.ts +4 -0
  117. package/lib/model/weekday.model.d.ts +16 -0
  118. package/lib/pipe/array-number.pipe.d.ts +4 -0
  119. package/lib/pipe/master-pipes.d.ts +1 -0
  120. package/lib/pipe/ucfirst.pipe.d.ts +4 -0
  121. package/lib/service/shared-connector.service.d.ts +4 -0
  122. package/lib/service/stock.service.d.ts +6 -2
  123. package/lib/style/_mixin.scss +5 -0
  124. package/lib/utils/array-utils.d.ts +6 -0
  125. package/lib/utils/calendar.utils.d.ts +10 -0
  126. package/lib/utils/check-precision-and-scale-result.d.ts +4 -0
  127. package/lib/utils/check-within-stepped-bounds-result.d.ts +8 -0
  128. package/lib/utils/date-utils.d.ts +44 -0
  129. package/lib/utils/function/not-nill.function.d.ts +1 -0
  130. package/lib/utils/map-utils.d.ts +16 -0
  131. package/lib/utils/number-utils.d.ts +125 -0
  132. package/lib/utils/object-utils.d.ts +40 -0
  133. package/package.json +1 -1
  134. package/public-api.d.ts +2 -0
@@ -13,15 +13,12 @@
13
13
  }
14
14
 
15
15
  .annotation {
16
+ display: flex;
17
+ justify-content: start;
16
18
  font-family: $circular-gauge-annotation-font-family;
17
19
  font-size: $circular-gauge-annotation-font-size;
18
20
  font-weight: $circular-gauge-annotation-font-weight;
19
- display: flex;
20
- justify-content: center;
21
- align-items: center;
22
- position: absolute;
23
- top: -1px;
24
- left: -7px;
21
+ padding-top: $circular-gauge-annotation-padding-top;
25
22
  }
26
23
  }
27
24
  }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { LanguageCode } from "../../../../enum/language-code.enum";
3
+ import { AgendaEvent } from "../../../../model/agenda-event.model";
4
+ import { AgendaEventPerDay } from "../../../../model/agenda-event-per-day.model";
5
+ import { IconCacheService } from "../../../../service/icon-cache.service";
6
+ export declare abstract class AgendaBaseViewComponent {
7
+ protected readonly locale: LanguageCode;
8
+ iconCacheService: IconCacheService;
9
+ set selectedDate(value: Date);
10
+ set eventsPerDay(value: AgendaEventPerDay[]);
11
+ eventChecked: EventEmitter<AgendaEvent>;
12
+ get selectedDate(): Date;
13
+ get eventsPerDate(): AgendaEventPerDay[];
14
+ private _selectedDate;
15
+ private _eventsPerDay;
16
+ constructor(locale: LanguageCode, iconCacheService: IconCacheService);
17
+ protected prepareViewData(): void;
18
+ protected getEventsFromDate(date: Date): AgendaEvent[];
19
+ private _dateIsSet;
20
+ private _eventsAreSet;
21
+ }
@@ -0,0 +1,6 @@
1
+ import { AgendaEvent } from "../../../../model/agenda-event.model";
2
+ import { AgendaBaseViewComponent } from "./agenda-base-view.component";
3
+ export declare class AgendaDayViewComponent extends AgendaBaseViewComponent {
4
+ events: AgendaEvent[];
5
+ protected prepareViewData(): void;
6
+ }
@@ -0,0 +1,17 @@
1
+ import { ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from "@angular/core";
2
+ import { AgendaEvent } from "../../../../model/agenda-event.model";
3
+ import { Icon } from "../../../../enum/icon.enum";
4
+ import { IconCacheService } from "../../../../service/icon-cache.service";
5
+ export declare class AgendaEventComponent implements OnInit, OnDestroy {
6
+ private _elementRef;
7
+ private _renderer;
8
+ iconCacheService: IconCacheService;
9
+ readonly icons: typeof Icon;
10
+ event: AgendaEvent;
11
+ halfHourHeight: number;
12
+ eventChecked: EventEmitter<AgendaEvent>;
13
+ constructor(_elementRef: ElementRef, _renderer: Renderer2, iconCacheService: IconCacheService);
14
+ ngOnDestroy(): void;
15
+ ngOnInit(): void;
16
+ checkEvent(event: MouseEvent): void;
17
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
3
+ import { AgendaEvent } from "../../../../model/agenda-event.model";
4
+ export declare class AgendaEventsComponent {
5
+ readonly viewTypes: typeof CalendarView;
6
+ view: CalendarView;
7
+ type: string;
8
+ events: AgendaEvent[];
9
+ halfHourHeight: number;
10
+ readonly eventChecked: EventEmitter<AgendaEvent>;
11
+ constructor();
12
+ }
@@ -0,0 +1,18 @@
1
+ import { ElementRef, OnDestroy, Renderer2 } from "@angular/core";
2
+ export declare class AgendaHalfHourCellComponent implements OnDestroy {
3
+ private _renderer;
4
+ currentTimeElement: ElementRef;
5
+ set date(value: Date);
6
+ get date(): Date;
7
+ showLabel: boolean;
8
+ showCurrentTime: boolean;
9
+ currentTimeTop: number;
10
+ id: string;
11
+ private _date;
12
+ private _id;
13
+ constructor(_renderer: Renderer2);
14
+ ngOnDestroy(): void;
15
+ private _checkDate;
16
+ private _checkWorkingDayStart;
17
+ private _positionCurrentTime;
18
+ }
@@ -0,0 +1,47 @@
1
+ import { AfterContentChecked, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2 } from "@angular/core";
2
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
3
+ import { LanguageCode } from "../../../../enum/language-code.enum";
4
+ import { Weekday } from "../../../../model/weekday.model";
5
+ import { Day } from "../../../../model/day.model";
6
+ import { Icon } from "../../../../enum/icon.enum";
7
+ import { AgendaEventPerDay } from "../../../../model/agenda-event-per-day.model";
8
+ import { IconCacheService } from "../../../../service/icon-cache.service";
9
+ export declare class AgendaHeaderComponent implements OnInit, OnDestroy, AfterContentChecked {
10
+ private readonly _locale;
11
+ private _elementRef;
12
+ private _renderer;
13
+ private _ngZone;
14
+ iconCacheService: IconCacheService;
15
+ readonly icons: typeof Icon;
16
+ readonly viewTypes: typeof CalendarView;
17
+ private readonly scrollbarWidth;
18
+ set selectedDate(value: Date);
19
+ get selectedDate(): Date;
20
+ view: CalendarView;
21
+ set firstAvailableDate(value: Date);
22
+ get firstAvailableDate(): Date;
23
+ set eventsPerDay(value: AgendaEventPerDay[]);
24
+ viewChange: EventEmitter<CalendarView>;
25
+ selectedDateChange: EventEmitter<Date>;
26
+ rangeChange: EventEmitter<Date>;
27
+ weekDays: Weekday[];
28
+ day: Day;
29
+ showBackButton: boolean;
30
+ private _selectedDate;
31
+ private _firstAvailableDate;
32
+ private _eventsPerDay;
33
+ constructor(_locale: LanguageCode, _elementRef: ElementRef, _renderer: Renderer2, _ngZone: NgZone, iconCacheService: IconCacheService);
34
+ ngOnDestroy(): void;
35
+ ngOnInit(): void;
36
+ ngAfterContentChecked(): void;
37
+ subUnit(): void;
38
+ addUnit(): void;
39
+ setUnit(weekDay: Weekday): void;
40
+ changeTheView(view: CalendarView): void;
41
+ private _onResize;
42
+ /**
43
+ * Need to resize the host component to size it's fixed positioned child through css
44
+ */
45
+ private _resizeHost;
46
+ private _prepareHeaderData;
47
+ }
@@ -0,0 +1,9 @@
1
+ export declare class AgendaHourCellComponent {
2
+ onlyLabels: boolean;
3
+ noLabels: boolean;
4
+ set date(value: Date);
5
+ get date(): Date;
6
+ datePlushalfHour: Date;
7
+ private _date;
8
+ private _setNextHalfHour;
9
+ }
@@ -0,0 +1,8 @@
1
+ export declare class AgendaHourViewLabelsComponent {
2
+ set date(value: Date);
3
+ noLabels: boolean;
4
+ readonly datesByTheHour: Date[];
5
+ get date(): Date;
6
+ private _date;
7
+ private _prepareViewData;
8
+ }
@@ -0,0 +1,7 @@
1
+ export declare class AgendaHourViewComponent {
2
+ set date(value: Date);
3
+ readonly datesByTheHour: Date[];
4
+ get date(): Date;
5
+ private _date;
6
+ private _prepareViewData;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { AgendaBaseViewComponent } from "./agenda-base-view.component";
2
+ import { Month } from "../../../../model/month.model";
3
+ import { Weekday } from "../../../../model/weekday.model";
4
+ import { Week } from "../../../../model/week.model";
5
+ export declare class AgendaMonthViewComponent extends AgendaBaseViewComponent {
6
+ month: Month;
7
+ firstWeekDays: Weekday[];
8
+ weeks: Week[];
9
+ protected prepareViewData(): void;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { AgendaEvent } from "../../../../model/agenda-event.model";
3
+ import { Icon } from "../../../../enum/icon.enum";
4
+ import { IconCacheService } from "../../../../service/icon-cache.service";
5
+ export declare class AgendaSelectEventComponent {
6
+ iconCacheService: IconCacheService;
7
+ readonly icons: typeof Icon;
8
+ event: AgendaEvent;
9
+ eventChecked: EventEmitter<AgendaEvent>;
10
+ constructor(iconCacheService: IconCacheService);
11
+ checkEvent(event: MouseEvent): void;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
3
+ import { AgendaEvent } from "../../../../model/agenda-event.model";
4
+ import { AgendaEventPerDay } from "../../../../model/agenda-event-per-day.model";
5
+ export declare class AgendaViewComponent {
6
+ view: CalendarView;
7
+ selectedDate: Date;
8
+ eventsPerDay: AgendaEventPerDay[];
9
+ readonly eventChecked: EventEmitter<AgendaEvent>;
10
+ readonly viewTypes: typeof CalendarView;
11
+ }
@@ -0,0 +1,10 @@
1
+ import { AgendaBaseViewComponent } from "./agenda-base-view.component";
2
+ import { Icon } from "../../../../enum/icon.enum";
3
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
4
+ import { Week } from "../../../../model/week.model";
5
+ export declare class AgendaWeekSelectViewComponent extends AgendaBaseViewComponent {
6
+ view: CalendarView;
7
+ week: Week;
8
+ readonly icons: typeof Icon;
9
+ protected prepareViewData(): void;
10
+ }
@@ -0,0 +1,8 @@
1
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
2
+ import { Week } from "../../../../model/week.model";
3
+ import { AgendaBaseViewComponent } from "./agenda-base-view.component";
4
+ export declare class AgendaWeekViewComponent extends AgendaBaseViewComponent {
5
+ view: CalendarView;
6
+ week: Week;
7
+ protected prepareViewData(): void;
8
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
3
+ import { ThumbThreeWayState } from "../../../../enum/thumb-three-way-state";
4
+ export declare class ViewSelectComponent {
5
+ private readonly _viewsToThumb;
6
+ selectedView: CalendarView;
7
+ selectedViewChange: EventEmitter<CalendarView>;
8
+ get modelAsThumbState(): ThumbThreeWayState;
9
+ constructor();
10
+ onThumbStateChange(thumbState: ThumbThreeWayState): void;
11
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter, OnInit } from "@angular/core";
2
+ export declare class CalendarAllMonthsComponent implements OnInit {
3
+ month: number;
4
+ shortDescriptions: boolean;
5
+ monthChange: EventEmitter<number>;
6
+ months: string[];
7
+ constructor();
8
+ ngOnInit(): void;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter, OnInit } from "@angular/core";
2
+ export declare class CalendarAllYearsComponent implements OnInit {
3
+ year: number;
4
+ readonly yearChange: EventEmitter<number>;
5
+ years: number[];
6
+ constructor();
7
+ ngOnInit(): void;
8
+ private _determineStart;
9
+ }
@@ -0,0 +1,23 @@
1
+ import { DoCheck, EventEmitter } from "@angular/core";
2
+ import { Icon } from "../../../../enum/icon.enum";
3
+ import { IconCacheService } from "../../../../service/icon-cache.service";
4
+ export declare class CalendarHeaderComponent implements DoCheck {
5
+ iconCacheService: IconCacheService;
6
+ selectedDate: Date;
7
+ readonly selectedDateChange: EventEmitter<Date>;
8
+ readonly icons: typeof Icon;
9
+ showMonthYearSelect: boolean;
10
+ expanded: boolean;
11
+ currentMonth: string;
12
+ currentYear: number;
13
+ selectedMonth: number;
14
+ selectedYear: number;
15
+ constructor(iconCacheService: IconCacheService);
16
+ ngDoCheck(): void;
17
+ subMonth(): void;
18
+ addMonth(): void;
19
+ hideMonthYearSelection(): void;
20
+ setNewMonth(month: number): void;
21
+ setNewYear(year: number): void;
22
+ changeMonthYear(): void;
23
+ }
@@ -0,0 +1,31 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
3
+ import { LanguageCode } from "../../../../enum/language-code.enum";
4
+ declare type DateStamp = {
5
+ day: number;
6
+ inMonth: boolean;
7
+ timestamp: number;
8
+ week: number;
9
+ selected: boolean;
10
+ };
11
+ export declare class CalendarViewComponent {
12
+ private readonly _locale;
13
+ set view(value: CalendarView);
14
+ get view(): CalendarView;
15
+ set selectedDate(value: Date);
16
+ get selectedDate(): Date;
17
+ selectedDateChange: EventEmitter<Date>;
18
+ trackByStamp: Function;
19
+ trackByWeek: Function;
20
+ weekDayLabel: string[];
21
+ weeks: DateStamp[][];
22
+ private _selectedDate;
23
+ private _view;
24
+ constructor(_locale: LanguageCode);
25
+ onDateClick(date: DateStamp): void;
26
+ private _setLabels;
27
+ private _prepareWeeks;
28
+ private _selectDays;
29
+ private _resetSelection;
30
+ }
31
+ export {};
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { CalendarView } from "../../../../enum/calendar-view.enum";
3
+ export declare class CalendarComponent {
4
+ view: CalendarView;
5
+ selectedDate: Date;
6
+ days: Date[];
7
+ selectedDateChange: EventEmitter<Date>;
8
+ constructor();
9
+ changeSelectedDate(date: Date): void;
10
+ }
@@ -0,0 +1,25 @@
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from "@angular/core";
2
+ import { CalendarView } from "@syncfusion/ej2-angular-calendars";
3
+ export declare class DatePlanningComponent {
4
+ private _changeDetector;
5
+ private renderer;
6
+ calendarNavigation: boolean;
7
+ showButton: boolean;
8
+ selectedDate: Date;
9
+ firstAvailableDate: Date;
10
+ buttonLabel: string;
11
+ eventsPerDay: any;
12
+ view: CalendarView;
13
+ readonly eventChecked: EventEmitter<any>;
14
+ readonly selectedDateChange: EventEmitter<Date>;
15
+ readonly rangeChange: EventEmitter<Date>;
16
+ readonly viewChange: EventEmitter<CalendarView>;
17
+ readonly buttonClick: EventEmitter<MouseEvent>;
18
+ dayStart: ElementRef;
19
+ days: Date[];
20
+ private _selectedDate;
21
+ constructor(_changeDetector: ChangeDetectorRef, renderer: Renderer2);
22
+ doChangeSelectedDate(date: Date, rangeChanged?: boolean): void;
23
+ doChangeView(view: CalendarView): void;
24
+ scrollToDayStart(): void;
25
+ }
@@ -0,0 +1,2 @@
1
+ export declare class DatePlanningModule {
2
+ }
@@ -1,14 +1,14 @@
1
- import { ChangeDetectorRef, EventEmitter, OnDestroy } from "@angular/core";
1
+ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
2
  import { Icon } from "../../enum/icon.enum";
3
3
  import { IconCacheService } from "../../service/icon-cache.service";
4
4
  import { SendOption } from "./enums/send-option";
5
5
  import { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
6
6
  import { StockService } from "../../service/stock.service";
7
- import { StockStickersPrintLayouts } from "@colijnit/sharedapi/build/model/report/stock-stickers-print-layouts.bo";
8
7
  import { CoDropDownListFields } from "../stock/stock-transfer/co-drop-down-list-fields.interface";
9
8
  import { OptionsService } from "../../service/options.service";
10
9
  import { DictionaryService } from "../../service/dictionary.service";
11
- export declare class SendMethodDialogComponent implements OnDestroy {
10
+ import { SendMethodParams } from "./send-method-params.interface";
11
+ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
12
12
  iconCacheService: IconCacheService;
13
13
  stockService: StockService;
14
14
  private _optionsService;
@@ -21,8 +21,8 @@ export declare class SendMethodDialogComponent implements OnDestroy {
21
21
  showPdfOption: boolean;
22
22
  showXmlOption: boolean;
23
23
  showPrintPriceStickers: boolean;
24
- showPrintStockStickers: boolean;
25
24
  priceListCodeData: any;
25
+ transactionUUID: string;
26
26
  sendOptions: {
27
27
  option: SendOption;
28
28
  iconName: Icon;
@@ -32,31 +32,48 @@ export declare class SendMethodDialogComponent implements OnDestroy {
32
32
  showPrinterSelections: boolean;
33
33
  showExitButton: boolean;
34
34
  defaultPrinter: Printer;
35
- printTemplates: StockStickersPrintLayouts[];
35
+ printTemplates: any[];
36
36
  printTemplatesField: CoDropDownListFields;
37
+ emailLayoutField: CoDropDownListFields;
37
38
  priceListDataField: CoDropDownListFields;
38
39
  upAndLoaded: boolean;
39
- emails: any[];
40
40
  models: boolean[];
41
- layouts: any[];
42
41
  selectedLayout: 'Layout 1';
43
42
  showDialog: boolean;
44
43
  headerTitle: string;
45
44
  printerList: Printer[];
45
+ relationId: number;
46
+ emailAdresses: any[];
47
+ emailLayouts: any[];
48
+ printLayouts: any[];
49
+ defaultSendMethod: any;
50
+ defaultEmailAdresses: any;
51
+ isDocSignEnabled: boolean;
52
+ docSign: boolean;
46
53
  set articleData(data: any);
47
54
  startSignatureClicked: EventEmitter<any>;
55
+ sendEmailClicked: EventEmitter<any>;
48
56
  printButtonClicked: EventEmitter<any>;
57
+ emailLayoutClicked: EventEmitter<any>;
49
58
  showClass(): boolean;
59
+ printTemplatesClicked: EventEmitter<any>;
60
+ defaultSendMethodClicked: EventEmitter<any>;
61
+ printLayoutParams: EventEmitter<SendMethodParams>;
62
+ sendMethodParams: SendMethodParams;
50
63
  private _subscriptions;
51
64
  constructor(iconCacheService: IconCacheService, stockService: StockService, _optionsService: OptionsService, _dictionary: DictionaryService, _changeDetector: ChangeDetectorRef);
65
+ ngOnInit(): void;
52
66
  ngOnDestroy(): void;
53
67
  getPrinters(): Promise<void>;
54
68
  closeDialogClick(): void;
55
69
  handleSignatureStart(): void;
70
+ sendEmail(): void;
56
71
  handlePrintClicked(): void;
57
72
  togglePrinterSelection(): void;
58
73
  onPrinterClicked(printer: any): void;
59
74
  getPrintTemplates(): any;
75
+ getDefaultSendMethod(): void;
76
+ getDefaultEmailLayouts(): Promise<void>;
60
77
  private _handleSettingsLoaded;
61
78
  private _initConnection;
62
79
  }
@@ -0,0 +1,13 @@
1
+ export interface SendMethodParams {
2
+ goodId?: number;
3
+ warehouse?: number;
4
+ location?: string;
5
+ batch?: string;
6
+ serial?: string;
7
+ amount?: number;
8
+ reportId?: number;
9
+ printerName?: string;
10
+ priceListCode?: string;
11
+ goodIds?: number[];
12
+ name?: string;
13
+ }
@@ -110,6 +110,11 @@
110
110
  width: 75px;
111
111
  }
112
112
 
113
+ .send-button {
114
+ display: flex;
115
+ justify-content: center;
116
+ }
117
+
113
118
  .standard-printer-wrapper {
114
119
  width: 100%;
115
120
  margin: 15px 0 15px;
@@ -3,10 +3,12 @@ export interface StatusbarData {
3
3
  label: string;
4
4
  percentage: number;
5
5
  count?: number;
6
+ totalCount?: number;
6
7
  }
7
8
  export declare class StatusbarComponent {
8
9
  set statusbarData(value: StatusbarData[]);
9
10
  get statusbarData(): StatusbarData[];
11
+ focusedStatusIndex: number;
10
12
  statusbarClick: EventEmitter<void>;
11
13
  showClass(): boolean;
12
14
  constructor();
@@ -17,6 +17,7 @@
17
17
  display: flex;
18
18
  flex-direction: row;
19
19
  justify-content: center;
20
+ align-items: center;
20
21
  }
21
22
 
22
23
  .status-description-popup{
@@ -57,5 +58,15 @@
57
58
  }
58
59
  }
59
60
  }
61
+
62
+ co-linear-gauge {
63
+ &.focused-status {
64
+ div {
65
+ width: 18px;
66
+ height: 18px;
67
+ max-width: none;
68
+ }
69
+ }
70
+ }
60
71
  }
61
72
  }
@@ -0,0 +1,67 @@
1
+ @import "../../../../style/mixin";
2
+
3
+ @include export-module('sc-tags-layout') {
4
+ .sc-tags {
5
+ position: relative;
6
+ flex-shrink: 0;
7
+ width: 100%;
8
+ max-height: 210px;
9
+
10
+ .content-wrapper {
11
+ display: flex;
12
+ flex-wrap: wrap;
13
+ padding-top: 5px;
14
+ }
15
+
16
+ collapseable {
17
+ width: 100%;
18
+ }
19
+
20
+ tag-label {
21
+ margin-bottom: 5px;
22
+ }
23
+
24
+ .tag-wrapper {
25
+ display: inline-block;
26
+ }
27
+
28
+ .tag-join-wrapper {
29
+ display: inline-block;
30
+ width: 50%;
31
+ }
32
+
33
+ .tag-list-wrapper {
34
+ padding: 1px;
35
+ display: flex;
36
+ flex-wrap: wrap;
37
+ overflow: auto;
38
+ }
39
+
40
+ .footer {
41
+ padding-top: 10px;
42
+ }
43
+
44
+ default-ok-cancel-buttons {
45
+ padding: 20px 0 10px;
46
+ }
47
+
48
+ input {
49
+ display: none;
50
+ }
51
+
52
+ .tags-available {
53
+ height: 400px;
54
+ width: 300px;
55
+
56
+ treeview {
57
+ width: 100%;
58
+ height: calc(400px - #{$collapseable-header-height});
59
+ }
60
+ }
61
+
62
+ .tags-joined {
63
+ height: 400px;
64
+ width: 600px;
65
+ }
66
+ }
67
+ }
@@ -0,0 +1 @@
1
+ $collapseable-header-height: 40px;
@@ -0,0 +1,8 @@
1
+ @import "../../../../style/mixin";
2
+ @import "./material-definition";
3
+
4
+ @include export-module('sc-tags-theme') {
5
+ .sc-tags {
6
+
7
+ }
8
+ }
@@ -0,0 +1,3 @@
1
+ @import "./material-definition";
2
+ @import "./layout";
3
+ @import "./theme";