@mintplayer/ng-bootstrap 12.0.0 → 13.0.5

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 (167) hide show
  1. package/esm2020/index.mjs +3 -0
  2. package/esm2020/lib/components/accordion/accordion/accordion.component.mjs +20 -0
  3. package/esm2020/lib/components/accordion/accordion-tab/accordion-tab.component.mjs +27 -0
  4. package/esm2020/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.mjs +29 -0
  5. package/esm2020/lib/components/accordion/accordion.module.mjs +40 -0
  6. package/esm2020/lib/components/accordion/index.mjs +5 -0
  7. package/esm2020/lib/components/alert/alert/alert.component.mjs +23 -0
  8. package/esm2020/lib/components/alert/alert-close/alert-close.component.mjs +21 -0
  9. package/esm2020/lib/components/alert/alert.module.mjs +27 -0
  10. package/esm2020/lib/components/alert/index.mjs +4 -0
  11. package/esm2020/lib/components/calendar/calendar.component.mjs +61 -0
  12. package/esm2020/lib/components/calendar/calendar.module.mjs +38 -0
  13. package/esm2020/lib/components/calendar/index.mjs +3 -0
  14. package/esm2020/lib/components/card/card/card.component.mjs +18 -0
  15. package/esm2020/lib/components/card/card-header/card-header.component.mjs +15 -0
  16. package/esm2020/lib/components/card/card.module.mjs +27 -0
  17. package/esm2020/lib/components/card/index.mjs +4 -0
  18. package/esm2020/lib/components/carousel/carousel/carousel.component.mjs +65 -0
  19. package/esm2020/lib/components/carousel/carousel-image/carousel-image.directive.mjs +14 -0
  20. package/esm2020/lib/components/carousel/carousel.module.mjs +31 -0
  21. package/esm2020/lib/components/carousel/index.mjs +4 -0
  22. package/esm2020/lib/components/index.mjs +9 -0
  23. package/esm2020/lib/components/list-group/index.mjs +4 -0
  24. package/esm2020/lib/components/list-group/list-group/list-group.component.mjs +19 -0
  25. package/esm2020/lib/components/list-group/list-group-item/list-group-item.component.mjs +15 -0
  26. package/esm2020/lib/components/list-group/list-group.module.mjs +27 -0
  27. package/esm2020/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.mjs +38 -0
  28. package/esm2020/lib/components/navbar/index.mjs +10 -0
  29. package/esm2020/lib/components/navbar/nav-link/nav-link.directive.mjs +29 -0
  30. package/esm2020/lib/components/navbar/navbar/navbar.component.mjs +20 -0
  31. package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +33 -0
  32. package/esm2020/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.mjs +38 -0
  33. package/esm2020/lib/components/navbar/navbar-item/navbar-item.component.mjs +47 -0
  34. package/esm2020/lib/components/navbar/navbar-nav/navbar-nav.component.mjs +29 -0
  35. package/esm2020/lib/components/navbar/navbar.module.mjs +64 -0
  36. package/esm2020/lib/components/tab-control/index.mjs +4 -0
  37. package/esm2020/lib/components/tab-control/tab-control/tab-control.component.mjs +27 -0
  38. package/esm2020/lib/components/tab-control/tab-control.module.mjs +31 -0
  39. package/esm2020/lib/components/tab-control/tab-page/tab-page.component.mjs +25 -0
  40. package/esm2020/lib/enums/color.enum.mjs +15 -0
  41. package/esm2020/lib/enums/index.mjs +2 -0
  42. package/esm2020/lib/interfaces/date-day-of-month.mjs +2 -0
  43. package/esm2020/lib/interfaces/first-and-last-date.mjs +2 -0
  44. package/esm2020/lib/interfaces/week.mjs +2 -0
  45. package/esm2020/lib/pipes/month-name/month-name.module.mjs +26 -0
  46. package/esm2020/lib/pipes/month-name/month-name.pipe.mjs +16 -0
  47. package/esm2020/lib/pipes/uc-first/uc-first.module.mjs +26 -0
  48. package/esm2020/lib/pipes/uc-first/uc-first.pipe.mjs +16 -0
  49. package/esm2020/lib/pipes/weekday-name/weekday-name.module.mjs +26 -0
  50. package/esm2020/lib/pipes/weekday-name/weekday-name.pipe.mjs +16 -0
  51. package/esm2020/lib/services/calendar-month/calendar-month.service.mjs +82 -0
  52. package/esm2020/mintplayer-ng-bootstrap.mjs +5 -0
  53. package/fesm2015/mintplayer-ng-bootstrap.mjs +991 -0
  54. package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -0
  55. package/fesm2020/mintplayer-ng-bootstrap.mjs +982 -0
  56. package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -0
  57. package/lib/components/alert/alert/alert.component.d.ts +1 -0
  58. package/lib/components/alert/alert-close/alert-close.component.d.ts +4 -1
  59. package/lib/components/carousel/carousel/carousel.component.d.ts +18 -0
  60. package/lib/components/carousel/carousel-image/carousel-image.directive.d.ts +6 -0
  61. package/lib/components/carousel/carousel.module.d.ts +9 -0
  62. package/lib/components/carousel/index.d.ts +3 -0
  63. package/lib/components/index.d.ts +1 -0
  64. package/lib/components/navbar/dropdown-toggle/dropdown-toggle.directive.d.ts +13 -0
  65. package/lib/components/navbar/index.d.ts +3 -0
  66. package/lib/components/navbar/nav-link/nav-link.directive.d.ts +9 -0
  67. package/lib/components/navbar/navbar/navbar.component.d.ts +5 -4
  68. package/lib/components/navbar/navbar-content/navbar-content.directive.d.ts +14 -0
  69. package/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.d.ts +10 -4
  70. package/lib/components/navbar/navbar-item/navbar-item.component.d.ts +12 -5
  71. package/lib/components/navbar/navbar-nav/navbar-nav.component.d.ts +7 -2
  72. package/lib/components/navbar/navbar.module.d.ts +7 -2
  73. package/package.json +31 -15
  74. package/bundles/mintplayer-ng-bootstrap.umd.js +0 -1213
  75. package/bundles/mintplayer-ng-bootstrap.umd.js.map +0 -1
  76. package/esm2015/index.js +0 -3
  77. package/esm2015/index.js.map +0 -1
  78. package/esm2015/lib/components/accordion/accordion/accordion.component.js +0 -24
  79. package/esm2015/lib/components/accordion/accordion/accordion.component.js.map +0 -1
  80. package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js +0 -32
  81. package/esm2015/lib/components/accordion/accordion-tab/accordion-tab.component.js.map +0 -1
  82. package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js +0 -33
  83. package/esm2015/lib/components/accordion/accordion-tab-header/accordion-tab-header.component.js.map +0 -1
  84. package/esm2015/lib/components/accordion/accordion.module.js +0 -40
  85. package/esm2015/lib/components/accordion/accordion.module.js.map +0 -1
  86. package/esm2015/lib/components/accordion/index.js +0 -5
  87. package/esm2015/lib/components/accordion/index.js.map +0 -1
  88. package/esm2015/lib/components/alert/alert/alert.component.js +0 -25
  89. package/esm2015/lib/components/alert/alert/alert.component.js.map +0 -1
  90. package/esm2015/lib/components/alert/alert-close/alert-close.component.js +0 -19
  91. package/esm2015/lib/components/alert/alert-close/alert-close.component.js.map +0 -1
  92. package/esm2015/lib/components/alert/alert.module.js +0 -27
  93. package/esm2015/lib/components/alert/alert.module.js.map +0 -1
  94. package/esm2015/lib/components/alert/index.js +0 -4
  95. package/esm2015/lib/components/alert/index.js.map +0 -1
  96. package/esm2015/lib/components/calendar/calendar.component.js +0 -65
  97. package/esm2015/lib/components/calendar/calendar.component.js.map +0 -1
  98. package/esm2015/lib/components/calendar/calendar.module.js +0 -38
  99. package/esm2015/lib/components/calendar/calendar.module.js.map +0 -1
  100. package/esm2015/lib/components/calendar/index.js +0 -3
  101. package/esm2015/lib/components/calendar/index.js.map +0 -1
  102. package/esm2015/lib/components/card/card/card.component.js +0 -22
  103. package/esm2015/lib/components/card/card/card.component.js.map +0 -1
  104. package/esm2015/lib/components/card/card-header/card-header.component.js +0 -19
  105. package/esm2015/lib/components/card/card-header/card-header.component.js.map +0 -1
  106. package/esm2015/lib/components/card/card.module.js +0 -27
  107. package/esm2015/lib/components/card/card.module.js.map +0 -1
  108. package/esm2015/lib/components/card/index.js +0 -4
  109. package/esm2015/lib/components/card/index.js.map +0 -1
  110. package/esm2015/lib/components/index.js +0 -8
  111. package/esm2015/lib/components/index.js.map +0 -1
  112. package/esm2015/lib/components/list-group/index.js +0 -4
  113. package/esm2015/lib/components/list-group/index.js.map +0 -1
  114. package/esm2015/lib/components/list-group/list-group/list-group.component.js +0 -23
  115. package/esm2015/lib/components/list-group/list-group/list-group.component.js.map +0 -1
  116. package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js +0 -19
  117. package/esm2015/lib/components/list-group/list-group-item/list-group-item.component.js.map +0 -1
  118. package/esm2015/lib/components/list-group/list-group.module.js +0 -27
  119. package/esm2015/lib/components/list-group/list-group.module.js.map +0 -1
  120. package/esm2015/lib/components/navbar/index.js +0 -6
  121. package/esm2015/lib/components/navbar/index.js.map +0 -1
  122. package/esm2015/lib/components/navbar/navbar/navbar.component.js +0 -22
  123. package/esm2015/lib/components/navbar/navbar/navbar.component.js.map +0 -1
  124. package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js +0 -18
  125. package/esm2015/lib/components/navbar/navbar-dropdown/navbar-dropdown.component.js.map +0 -1
  126. package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js +0 -18
  127. package/esm2015/lib/components/navbar/navbar-item/navbar-item.component.js.map +0 -1
  128. package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js +0 -18
  129. package/esm2015/lib/components/navbar/navbar-nav/navbar-nav.component.js.map +0 -1
  130. package/esm2015/lib/components/navbar/navbar.module.js +0 -41
  131. package/esm2015/lib/components/navbar/navbar.module.js.map +0 -1
  132. package/esm2015/lib/components/tab-control/index.js +0 -4
  133. package/esm2015/lib/components/tab-control/index.js.map +0 -1
  134. package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js +0 -31
  135. package/esm2015/lib/components/tab-control/tab-control/tab-control.component.js.map +0 -1
  136. package/esm2015/lib/components/tab-control/tab-control.module.js +0 -31
  137. package/esm2015/lib/components/tab-control/tab-control.module.js.map +0 -1
  138. package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js +0 -29
  139. package/esm2015/lib/components/tab-control/tab-page/tab-page.component.js.map +0 -1
  140. package/esm2015/lib/enums/color.enum.js +0 -15
  141. package/esm2015/lib/enums/color.enum.js.map +0 -1
  142. package/esm2015/lib/enums/index.js +0 -2
  143. package/esm2015/lib/enums/index.js.map +0 -1
  144. package/esm2015/lib/interfaces/date-day-of-month.js +0 -2
  145. package/esm2015/lib/interfaces/date-day-of-month.js.map +0 -1
  146. package/esm2015/lib/interfaces/first-and-last-date.js +0 -2
  147. package/esm2015/lib/interfaces/first-and-last-date.js.map +0 -1
  148. package/esm2015/lib/interfaces/week.js +0 -2
  149. package/esm2015/lib/interfaces/week.js.map +0 -1
  150. package/esm2015/lib/pipes/month-name/month-name.module.js +0 -26
  151. package/esm2015/lib/pipes/month-name/month-name.module.js.map +0 -1
  152. package/esm2015/lib/pipes/month-name/month-name.pipe.js +0 -16
  153. package/esm2015/lib/pipes/month-name/month-name.pipe.js.map +0 -1
  154. package/esm2015/lib/pipes/uc-first/uc-first.module.js +0 -26
  155. package/esm2015/lib/pipes/uc-first/uc-first.module.js.map +0 -1
  156. package/esm2015/lib/pipes/uc-first/uc-first.pipe.js +0 -16
  157. package/esm2015/lib/pipes/uc-first/uc-first.pipe.js.map +0 -1
  158. package/esm2015/lib/pipes/weekday-name/weekday-name.module.js +0 -26
  159. package/esm2015/lib/pipes/weekday-name/weekday-name.module.js.map +0 -1
  160. package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js +0 -16
  161. package/esm2015/lib/pipes/weekday-name/weekday-name.pipe.js.map +0 -1
  162. package/esm2015/lib/services/calendar-month/calendar-month.service.js +0 -83
  163. package/esm2015/lib/services/calendar-month/calendar-month.service.js.map +0 -1
  164. package/esm2015/mintplayer-ng-bootstrap.js +0 -5
  165. package/esm2015/mintplayer-ng-bootstrap.js.map +0 -1
  166. package/fesm2015/mintplayer-ng-bootstrap.js +0 -770
  167. package/fesm2015/mintplayer-ng-bootstrap.js.map +0 -1
@@ -1,26 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MonthNamePipe } from './month-name.pipe';
4
- import * as i0 from "@angular/core";
5
- export class BsMonthNamePipeModule {
6
- }
7
- BsMonthNamePipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- BsMonthNamePipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, declarations: [MonthNamePipe], imports: [CommonModule], exports: [MonthNamePipe] });
9
- BsMonthNamePipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, imports: [[
10
- CommonModule
11
- ]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsMonthNamePipeModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [
16
- MonthNamePipe
17
- ],
18
- imports: [
19
- CommonModule
20
- ],
21
- exports: [
22
- MonthNamePipe
23
- ]
24
- }]
25
- }] });
26
- //# sourceMappingURL=month-name.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"month-name.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/pipes/month-name/month-name.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;;AAalD,MAAM,OAAO,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAT9B,aAAa,aAGb,YAAY,aAGZ,aAAa;mHAGJ,qBAAqB,YAPvB;YACP,YAAY;SACb;2FAKU,qBAAqB;kBAXjC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,aAAa;qBACd;oBACD,OAAO,EAAE;wBACP,YAAY;qBACb;oBACD,OAAO,EAAE;wBACP,aAAa;qBACd;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MonthNamePipe } from './month-name.pipe';\n\n@NgModule({\n declarations: [\n MonthNamePipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n MonthNamePipe\n ]\n})\nexport class BsMonthNamePipeModule { }\n"]}
@@ -1,16 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class MonthNamePipe {
4
- transform(date, ...args) {
5
- return date.toLocaleString("default", { month: 'long' });
6
- }
7
- }
8
- MonthNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: MonthNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
9
- MonthNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: MonthNamePipe, name: "monthName" });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: MonthNamePipe, decorators: [{
11
- type: Pipe,
12
- args: [{
13
- name: 'monthName'
14
- }]
15
- }] });
16
- //# sourceMappingURL=month-name.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"month-name.pipe.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/pipes/month-name/month-name.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAKpD,MAAM,OAAO,aAAa;IAExB,SAAS,CAAC,IAAU,EAAE,GAAG,IAAW;QAClC,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;;0GAJU,aAAa;wGAAb,aAAa;2FAAb,aAAa;kBAHzB,IAAI;mBAAC;oBACJ,IAAI,EAAE,WAAW;iBAClB","sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'monthName'\n})\nexport class MonthNamePipe implements PipeTransform {\n\n transform(date: Date, ...args: any[]) {\n return date.toLocaleString(\"default\", { month: 'long' });\n }\n\n}\n"]}
@@ -1,26 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { UcFirstPipe } from './uc-first.pipe';
4
- import * as i0 from "@angular/core";
5
- export class BsUcFirstPipeModule {
6
- }
7
- BsUcFirstPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- BsUcFirstPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, declarations: [UcFirstPipe], imports: [CommonModule], exports: [UcFirstPipe] });
9
- BsUcFirstPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, imports: [[
10
- CommonModule
11
- ]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsUcFirstPipeModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [
16
- UcFirstPipe
17
- ],
18
- imports: [
19
- CommonModule
20
- ],
21
- exports: [
22
- UcFirstPipe
23
- ]
24
- }]
25
- }] });
26
- //# sourceMappingURL=uc-first.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uc-first.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/pipes/uc-first/uc-first.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;;AAa9C,MAAM,OAAO,mBAAmB;;gHAAnB,mBAAmB;iHAAnB,mBAAmB,iBAT5B,WAAW,aAGX,YAAY,aAGZ,WAAW;iHAGF,mBAAmB,YAPrB;YACP,YAAY;SACb;2FAKU,mBAAmB;kBAX/B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,WAAW;qBACZ;oBACD,OAAO,EAAE;wBACP,YAAY;qBACb;oBACD,OAAO,EAAE;wBACP,WAAW;qBACZ;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { UcFirstPipe } from './uc-first.pipe';\n\n@NgModule({\n declarations: [\n UcFirstPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n UcFirstPipe\n ]\n})\nexport class BsUcFirstPipeModule { }\n"]}
@@ -1,16 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class UcFirstPipe {
4
- transform(value, ...args) {
5
- return value[0].toUpperCase() + value.slice(1);
6
- }
7
- }
8
- UcFirstPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: UcFirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
9
- UcFirstPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: UcFirstPipe, name: "ucFirst" });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: UcFirstPipe, decorators: [{
11
- type: Pipe,
12
- args: [{
13
- name: 'ucFirst'
14
- }]
15
- }] });
16
- //# sourceMappingURL=uc-first.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uc-first.pipe.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/pipes/uc-first/uc-first.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAKpD,MAAM,OAAO,WAAW;IAEtB,SAAS,CAAC,KAAa,EAAE,GAAG,IAAW;QACrC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACjD,CAAC;;wGAJU,WAAW;sGAAX,WAAW;2FAAX,WAAW;kBAHvB,IAAI;mBAAC;oBACJ,IAAI,EAAE,SAAS;iBAChB","sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'ucFirst'\n})\nexport class UcFirstPipe implements PipeTransform {\n\n transform(value: string, ...args: any[]) {\n return value[0].toUpperCase() + value.slice(1);\n }\n\n}\n"]}
@@ -1,26 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { WeekdayNamePipe } from './weekday-name.pipe';
4
- import * as i0 from "@angular/core";
5
- export class BsWeekdayNameModule {
6
- }
7
- BsWeekdayNameModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- BsWeekdayNameModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, declarations: [WeekdayNamePipe], imports: [CommonModule], exports: [WeekdayNamePipe] });
9
- BsWeekdayNameModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, imports: [[
10
- CommonModule
11
- ]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsWeekdayNameModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [
16
- WeekdayNamePipe
17
- ],
18
- imports: [
19
- CommonModule
20
- ],
21
- exports: [
22
- WeekdayNamePipe
23
- ]
24
- }]
25
- }] });
26
- //# sourceMappingURL=weekday-name.module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"weekday-name.module.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/pipes/weekday-name/weekday-name.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAetD,MAAM,OAAO,mBAAmB;;gHAAnB,mBAAmB;iHAAnB,mBAAmB,iBAT5B,eAAe,aAGf,YAAY,aAGZ,eAAe;iHAGN,mBAAmB,YAPrB;YACP,YAAY;SACb;2FAKU,mBAAmB;kBAX/B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,eAAe;qBAChB;oBACD,OAAO,EAAE;wBACP,YAAY;qBACb;oBACD,OAAO,EAAE;wBACP,eAAe;qBAChB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { WeekdayNamePipe } from './weekday-name.pipe';\n\n\n\n@NgModule({\n declarations: [\n WeekdayNamePipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WeekdayNamePipe\n ]\n})\nexport class BsWeekdayNameModule { }\n"]}
@@ -1,16 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class WeekdayNamePipe {
4
- transform(date, ...args) {
5
- return date.toLocaleString("default", { weekday: 'short' });
6
- }
7
- }
8
- WeekdayNamePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: WeekdayNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
9
- WeekdayNamePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: WeekdayNamePipe, name: "weekdayName" });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: WeekdayNamePipe, decorators: [{
11
- type: Pipe,
12
- args: [{
13
- name: 'weekdayName'
14
- }]
15
- }] });
16
- //# sourceMappingURL=weekday-name.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"weekday-name.pipe.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/pipes/weekday-name/weekday-name.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAKpD,MAAM,OAAO,eAAe;IAE1B,SAAS,CAAC,IAAU,EAAE,GAAG,IAAW;QAClC,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;;4GAJU,eAAe;0GAAf,eAAe;2FAAf,eAAe;kBAH3B,IAAI;mBAAC;oBACJ,IAAI,EAAE,aAAa;iBACpB","sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'weekdayName'\n})\nexport class WeekdayNamePipe implements PipeTransform {\n\n transform(date: Date, ...args: any[]): unknown {\n return date.toLocaleString(\"default\", { weekday: 'short' });\n }\n\n}\n"]}
@@ -1,83 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class BsCalendarMonthService {
4
- constructor() {
5
- }
6
- getWeeks(month) {
7
- let firstAndLast = this.getFirstAndLastDayOfMonth(month);
8
- let days = this.dateDiff(firstAndLast.first, firstAndLast.last) + 1;
9
- let allDays = [
10
- ...this.generateList(this.dayOfWeekMondayBased(firstAndLast.first)).map(d => null),
11
- ...this.generateList(days).map(d => {
12
- return {
13
- date: new Date(firstAndLast.first.getFullYear(), firstAndLast.first.getMonth(), firstAndLast.first.getDate() + d),
14
- dayOfMonth: d + 1,
15
- };
16
- }),
17
- ...this.generateList(6 - this.dayOfWeekMondayBased(firstAndLast.last)).map(d => null),
18
- ];
19
- let weeks = this.chunk(allDays, 7);
20
- let weeksMapped = weeks.map((w, i) => {
21
- var _a;
22
- return {
23
- number: this.weekOfYear(new Date(month.getFullYear(), month.getMonth(), (_a = w.find(d => d !== null)) === null || _a === void 0 ? void 0 : _a.dayOfMonth)),
24
- week: w
25
- };
26
- });
27
- return weeksMapped;
28
- }
29
- generateList(count) {
30
- return [...Array(count).keys()];
31
- }
32
- dayOfWeekMondayBased(date) {
33
- let d = date.getDay() - 1;
34
- if (d < 0) {
35
- return 6;
36
- }
37
- else {
38
- return d;
39
- }
40
- }
41
- weekOfYear(date) {
42
- let dateClone = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
43
- dateClone.setUTCDate(dateClone.getUTCDate() + 4 - (dateClone.getUTCDay() || 7));
44
- let yearStart = new Date(Date.UTC(dateClone.getUTCFullYear(), 0, 1));
45
- let utcDiff = this.toUTC(dateClone) - this.toUTC(yearStart);
46
- return Math.ceil((utcDiff / (1000 * 60 * 60 * 24) + 1) / 7);
47
- }
48
- getFirstAndLastDayOfMonth(date) {
49
- return {
50
- first: new Date(date.getFullYear(), date.getMonth(), 1),
51
- last: new Date(date.getFullYear(), date.getMonth() + 1, 0)
52
- };
53
- }
54
- dateDiff(date1, date2) {
55
- const utc1 = this.toUTC(date1);
56
- const utc2 = this.toUTC(date2);
57
- const msPerDay = 1000 * 60 * 60 * 24;
58
- return Math.floor((utc2 - utc1) / msPerDay);
59
- }
60
- dayOfYear(date) {
61
- const start = new Date(date.getFullYear(), 0, 0);
62
- return this.dateDiff(start, date);
63
- }
64
- toUTC(date) {
65
- return Date.UTC(date.getFullYear(), date.getMonth(), date.getDate());
66
- }
67
- chunk(items, size) {
68
- let result = [];
69
- for (let i = 0; i < items.length; i += size) {
70
- result.push(items.slice(i, i + size));
71
- }
72
- return result;
73
- }
74
- }
75
- BsCalendarMonthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarMonthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
76
- BsCalendarMonthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarMonthService, providedIn: 'root' });
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.0", ngImport: i0, type: BsCalendarMonthService, decorators: [{
78
- type: Injectable,
79
- args: [{
80
- providedIn: 'root'
81
- }]
82
- }], ctorParameters: function () { return []; } });
83
- //# sourceMappingURL=calendar-month.service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"calendar-month.service.js","sourceRoot":"","sources":["../../../../../../../libs/mintplayer-ng-bootstrap/src/lib/services/calendar-month/calendar-month.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;AAQ3C,MAAM,OAAO,sBAAsB;IAEjC;IACA,CAAC;IAEM,QAAQ,CAAC,KAAW;QACzB,IAAI,YAAY,GAAG,IAAI,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC;QACzD,IAAI,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpE,IAAI,OAAO,GAA8B;YACvC,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC;YAClF,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;gBACjC,OAAO;oBACL,IAAI,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,EAAE,YAAY,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;oBACjH,UAAU,EAAE,CAAC,GAAG,CAAC;iBAClB,CAAC;YACJ,CAAC,CAAC;YACF,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,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pC,CAAC;IAED,KAAK,CAAC,IAAU;QACd,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAI,KAAU,EAAE,IAAY;QAC/B,IAAI,MAAM,GAAU,EAAE,CAAC;QACvB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,IAAI,EAAE;YAC3C,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;SACvC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;;mHA9EU,sBAAsB;uHAAtB,sBAAsB,cAFrB,MAAM;2FAEP,sBAAsB;kBAHlC,UAAU;mBAAC;oBACV,UAAU,EAAE,MAAM;iBACnB","sourcesContent":["import { Injectable } from '@angular/core';\nimport { DateDayOfMonth } from '../../interfaces/date-day-of-month';\nimport { FirstAndLastDate } from '../../interfaces/first-and-last-date';\nimport { Week } from '../../interfaces/week';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BsCalendarMonthService {\n\n constructor() {\n }\n\n public getWeeks(month: Date) {\n let firstAndLast = this.getFirstAndLastDayOfMonth(month);\n let days = this.dateDiff(firstAndLast.first, firstAndLast.last) + 1;\n let allDays: (DateDayOfMonth | null)[] = [\n ...this.generateList(this.dayOfWeekMondayBased(firstAndLast.first)).map(d => null),\n ...this.generateList(days).map(d => {\n return {\n date: new Date(firstAndLast.first.getFullYear(), firstAndLast.first.getMonth(), firstAndLast.first.getDate() + d),\n dayOfMonth: d + 1,\n };\n }),\n ...this.generateList(6 - this.dayOfWeekMondayBased(firstAndLast.last)).map(d => null),\n ];\n let weeks = this.chunk(allDays, 7);\n let weeksMapped = weeks.map<Week>((w, i) => {\n return {\n number: this.weekOfYear(new Date(month.getFullYear(), month.getMonth(), w.find(d => d !== null)?.dayOfMonth)),\n week: w\n }\n });\n return weeksMapped;\n }\n \n generateList(count: number) {\n return [...Array(count).keys()];\n }\n\n dayOfWeekMondayBased(date: Date) {\n let d = date.getDay() - 1;\n if (d < 0) {\n return 6;\n } else {\n return d;\n }\n }\n\n weekOfYear(date: Date) {\n let dateClone = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));\n dateClone.setUTCDate(dateClone.getUTCDate() + 4 - (dateClone.getUTCDay() || 7));\n let yearStart = new Date(Date.UTC(dateClone.getUTCFullYear(), 0, 1));\n let utcDiff = this.toUTC(dateClone) - this.toUTC(yearStart);\n return Math.ceil((utcDiff / (1000 * 60 * 60 * 24) + 1) / 7);\n }\n\n getFirstAndLastDayOfMonth(date: Date) {\n return <FirstAndLastDate>{\n first: new Date(date.getFullYear(), date.getMonth(), 1),\n last: new Date(date.getFullYear(), date.getMonth() + 1, 0)\n };\n }\n\n dateDiff(date1: Date, date2: Date) {\n const utc1 = this.toUTC(date1);\n const utc2 = this.toUTC(date2);\n const msPerDay = 1000 * 60 * 60 * 24;\n return Math.floor((utc2 - utc1) / msPerDay);\n }\n\n dayOfYear(date: Date) {\n const start = new Date(date.getFullYear(), 0, 0);\n return this.dateDiff(start, date);\n }\n\n toUTC(date: Date) {\n return Date.UTC(date.getFullYear(), date.getMonth(), date.getDate());\n }\n\n chunk<T>(items: T[], size: number) {\n let result: T[][] = [];\n for (let i = 0; i < items.length; i += size) {\n result.push(items.slice(i, i + size));\n }\n return result;\n }\n}\n"]}
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=mintplayer-ng-bootstrap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-bootstrap.js","sourceRoot":"","sources":["../../../../libs/mintplayer-ng-bootstrap/src/mintplayer-ng-bootstrap.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}