ngx-mat-tui-calendar 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,23 +1,129 @@
1
- # NgxMatTuiCalendar
2
1
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
2
+ ![ngx-mat-tui-calendar](https://user-images.githubusercontent.com/11559541/141514000-da6e6c8a-e00b-4f27-a8c2-b7f28538b2f0.png)
3
+
4
+ [![Development Status](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
5
+
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
+ [![GitHub stars](https://img.shields.io/github/stars/ron2015schmitt/ngx-mat-tui-calendar.svg)](https://github.com/ron2015schmitt/ngx-mat-tui-calendar/stargazers)
8
+ ![GitHub downloads all releases](https://img.shields.io/github/downloads/ron2015schmitt/ngx-mat-tui-calendar/total)
9
+ ![GitHub release (latest by date)](https://img.shields.io/github/v/release/ron2015schmitt/ngx-mat-tui-calendar)
10
+
11
+ ![npm](https://img.shields.io/npm/v/ngx-mat-tui-calendar?label=npm%20package)
12
+ ![npm downloads](https://img.shields.io/npm/dt/ngx-mat-tui-calendar?label=npm%20downloads)
13
+
14
+ # ngx-mat-tui-calendar
15
+
16
+ ![#f03c15](https://via.placeholder.com/15/f03c15/000000?text=+) `Work In Progress`
17
+ This project is an Angular, Material Design wrapper for the [Toast UI Calendar](https://github.com/nhn/tui.calendar).
18
+ * Material Design theming
19
+ * Material Design buttons and dialog
20
+ * Responsive to mobile devices
21
+ * Dark mode in progress...
22
+
23
+ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.3.
24
+
25
+ Using Angular 12 which requires node ^v14.15 (npm ^v6.14)
26
+
27
+ # UI
28
+ ## Month View
29
+
30
+ <img src="https://user-images.githubusercontent.com/11559541/141834376-3f815d1e-7e2b-4f2e-8540-f45303292cfb.png" width="70%" height="70%">
31
+
32
+ ## Week View
33
+ <img src="https://user-images.githubusercontent.com/11559541/141834444-89f511c0-8ada-4269-8490-c2864f481bc7.png" width="70%" height="70%">
34
+
35
+ ## Day View
36
+ <img src="https://user-images.githubusercontent.com/11559541/141834457-ec741af5-df67-4029-8830-c5b4fd356fff.png" width="70%" height="70%">
37
+
38
+ ## Event Editing Dialog
39
+ <img src="https://user-images.githubusercontent.com/11559541/141834468-3b3a81be-c4f5-4d76-8f29-88c193e1adba.JPG" width="70%" height="70%">
40
+
41
+ # Usage
42
+ ## Getting started
43
+
44
+ Install via npm:
45
+ ```bash
46
+ npm i --save ngx-mat-tui-calendar
47
+ ```
48
+ Next import the module into your app's ```app.module.ts```:
49
+ ```typescript
50
+ import {NgxMatTuiCalendarModule} from 'ngx-mat-tui-calendar';
51
+
52
+ @NgModule({
53
+ imports: [NgxMatTuiCalendarModule]
54
+ })
55
+
56
+ ```
57
+
58
+ Insert the following HTML into one of your app's template files
59
+ ```angular2html
60
+ <mat-tui-calendar></mat-tui-calendar>
61
+ ```
62
+
63
+ ## Demo Project
64
+
65
+ ## Stackblitz
66
+
67
+ # Documentation
68
+
69
+ ## MatTuiCalendar
70
+
71
+ Directive responsible for managing the timepicker popup and setting value to input
72
+
73
+ Selector: `mat-tui-calendar`
74
+
75
+ ```typescript
76
+ <mat-tui-calendar #tuiCalendar
77
+ (userCreatedSchedule)="onUserCreatedSchedule($event)"
78
+ (userUpdatedSchedule)="onUserUpdatedSchedule($event)"
79
+ (userDeletedSchedule)="onUserDeletedSchedule($event)"
80
+ [options]="options"
81
+ >
82
+ ```
83
+
84
+ ### Properties
85
+
86
+ | Name | Description |
87
+ |------|-------------|
88
+ | @Input()
89
+ ngxMatTimepicker: NgxMatTimepickerComponent | The timepicker that this input is associated with. |
90
+ | @Input()
91
+ color: ThemePalette | The material palette to use. |
92
+ | @Input()
93
+ disabled: boolean | Weather the timepicker popup should be disabled. |
94
+ | @Input()
95
+ value: string | Set a default value and time for a timepicker. The format of the time is in 12 hours notation `11:00 PM` or in 24 hours notation `23:00`. A Date string won't work. |
96
+ | @Input()
97
+ format: number | `12` or `24` . 12h/24h view for hour selection clock . `12` (AM/PM) format by default. |
98
+ | @Input()
99
+ min: string or DateTime | Set min time for timepicker (`11:15 pm` ) |
100
+ | @Input()
101
+ max: string or DateTime | Set max time for timepicker (`11:15 pm` ) |
102
+ | @Input()
103
+ disableClick: boolean | Set `true` to disable opening timepicker by clicking on the input |
104
+
105
+
106
+ # Development
107
+
108
+ ## Development server
109
+
110
+ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
4
111
 
5
112
  ## Code scaffolding
6
113
 
7
- Run `ng generate component component-name --project ngx-mat-tui-calendar` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-mat-tui-calendar`.
8
- > Note: Don't forget to add `--project ngx-mat-tui-calendar` or else it will be added to the default project in your `angular.json` file.
114
+ Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
9
115
 
10
116
  ## Build
11
117
 
12
- Run `ng build ngx-mat-tui-calendar` to build the project. The build artifacts will be stored in the `dist/` directory.
118
+ Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
13
119
 
14
- ## Publishing
120
+ ## Running unit tests
15
121
 
16
- After building your library with `ng build ngx-mat-tui-calendar`, go to the dist folder `cd dist/ngx-mat-tui-calendar` and run `npm publish`.
122
+ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
17
123
 
18
- ## Running unit tests
124
+ ## Running end-to-end tests
19
125
 
20
- Run `ng test ngx-mat-tui-calendar` to execute the unit tests via [Karma](https://karma-runner.github.io).
126
+ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
21
127
 
22
128
  ## Further help
23
129
 
@@ -46,17 +46,16 @@
46
46
  return NgxMatTuiCalendarComponent;
47
47
  }());
48
48
  NgxMatTuiCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
49
- NgxMatTuiCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NgxMatTuiCalendarComponent, selector: "ngx-mat-tui-calendar", ngImport: i0__namespace, template: "", styles: [""] });
49
+ NgxMatTuiCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NgxMatTuiCalendarComponent, selector: "ngx-mat-tui-calendar", ngImport: i0__namespace, template: "\n <p>\n ngx-mat-tui-calendar v0.0.11 works!\n </p>\n ", isInline: true });
50
50
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarComponent, decorators: [{
51
51
  type: i0.Component,
52
52
  args: [{
53
53
  selector: 'ngx-mat-tui-calendar',
54
- templateUrl: './ngx-mat-tui-calendar.component.html',
55
- styleUrls: ['./ngx-mat-tui-calendar.component.scss'],
54
+ template: "\n <p>\n ngx-mat-tui-calendar v0.0.11 works!\n </p>\n ",
55
+ styles: []
56
56
  }]
57
57
  }], ctorParameters: function () { return []; } });
58
58
 
59
- // import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';
60
59
  var NgxMatTuiCalendarModule = /** @class */ (function () {
61
60
  function NgxMatTuiCalendarModule() {
62
61
  }
@@ -70,7 +69,6 @@
70
69
  args: [{
71
70
  declarations: [
72
71
  NgxMatTuiCalendarComponent,
73
- // NgxMatTuiCalendarWrapperComponent,
74
72
  ],
75
73
  imports: [],
76
74
  exports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-mat-tui-calendar.umd.js","sources":["../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.service.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.component.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.component.html","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.module.ts","../../../projects/ngx-mat-tui-calendar/src/public-api.ts","../../../projects/ngx-mat-tui-calendar/src/ngx-mat-tui-calendar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NgxMatTuiCalendarService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'ngx-mat-tui-calendar',\n templateUrl: './ngx-mat-tui-calendar.component.html',\n styleUrls: ['./ngx-mat-tui-calendar.component.scss'],\n})\nexport class NgxMatTuiCalendarComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","","import { NgModule } from '@angular/core';\nimport { NgxMatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';\n// import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';\n\n\n@NgModule({\n declarations: [\n NgxMatTuiCalendarComponent,\n // NgxMatTuiCalendarWrapperComponent,\n ],\n imports: [\n ],\n exports: [\n NgxMatTuiCalendarComponent,\n ],\n entryComponents: [\n NgxMatTuiCalendarComponent,\n ],\n})\nexport class NgxMatTuiCalendarModule { }\n","/*\n * Public API Surface of ngx-mat-tui-calendar\n */\n\nexport * from './lib/ngx-mat-tui-calendar.service';\nexport * from './lib/ngx-mat-tui-calendar.component';\nexport * from './lib/ngx-mat-tui-calendar.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Injectable","Component","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;QAOE;SAAiB;;;gJAFN,wBAAwB;oJAAxB,wBAAwB,cAFvB,MAAM;sHAEP,wBAAwB;sBAHpCA,aAAU;uBAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;;QCKC;SAAiB;QAEjB,6CAAQ,GAAR;SACC;;;kJALU,0BAA0B;2HAA1B,0BAA0B,uECPvC,EAAA;sHDOa,0BAA0B;sBALtCC,YAAS;uBAAC;wBACT,QAAQ,EAAE,sBAAsB;wBAChC,WAAW,EAAE,uCAAuC;wBACpD,SAAS,EAAE,CAAC,uCAAuC,CAAC;qBACrD;;;IEJD;;QAiBA;;;;+IAAa,uBAAuB;gJAAvB,uBAAuB,iBAZhC,0BAA0B,aAM1B,0BAA0B;gJAMjB,uBAAuB,YATzB,EACR;sHAQU,uBAAuB;sBAdnCC,WAAQ;uBAAC;wBACR,YAAY,EAAE;4BACZ,0BAA0B;;yBAE3B;wBACD,OAAO,EAAE,EACR;wBACD,OAAO,EAAE;4BACP,0BAA0B;yBAC3B;wBACD,eAAe,EAAE;4BACf,0BAA0B;yBAC3B;qBACF;;;IClBD;;;;ICAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ngx-mat-tui-calendar.umd.js","sources":["../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.service.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.component.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.module.ts","../../../projects/ngx-mat-tui-calendar/src/public-api.ts","../../../projects/ngx-mat-tui-calendar/src/ngx-mat-tui-calendar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NgxMatTuiCalendarService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ngx-mat-tui-calendar',\r\n template: `\r\n <p>\r\n ngx-mat-tui-calendar v0.0.11 works!\r\n </p>\r\n `,\r\n styles: [\r\n ]\r\n})\r\nexport class NgxMatTuiCalendarComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { NgxMatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n NgxMatTuiCalendarComponent,\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n NgxMatTuiCalendarComponent,\r\n ],\r\n entryComponents: [\r\n NgxMatTuiCalendarComponent,\r\n ],\r\n})\r\nexport class NgxMatTuiCalendarModule { }\r\n","/*\n * Public API Surface of ngx-mat-tui-calendar\n */\n\nexport * from './lib/ngx-mat-tui-calendar.service';\nexport * from './lib/ngx-mat-tui-calendar.component';\nexport * from './lib/ngx-mat-tui-calendar.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Injectable","Component","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;QAOE;SAAiB;;;gJAFN,wBAAwB;oJAAxB,wBAAwB,cAFvB,MAAM;sHAEP,wBAAwB;sBAHpCA,aAAU;uBAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;;QCUC;SAAiB;QAEjB,6CAAQ,GAAR;SACC;;;kJALU,0BAA0B;2HAA1B,0BAA0B,uEAR3B,oEAIT;sHAIU,0BAA0B;sBAVtCC,YAAS;uBAAC;wBACT,QAAQ,EAAE,sBAAsB;wBAChC,QAAQ,EAAE,oEAIT;wBACD,MAAM,EAAE,EACP;qBACF;;;;QCKD;;;;+IAAa,uBAAuB;gJAAvB,uBAAuB,iBAXhC,0BAA0B,aAK1B,0BAA0B;gJAMjB,uBAAuB,YATzB,EACR;sHAQU,uBAAuB;sBAbnCC,WAAQ;uBAAC;wBACR,YAAY,EAAE;4BACZ,0BAA0B;yBAC3B;wBACD,OAAO,EAAE,EACR;wBACD,OAAO,EAAE;4BACP,0BAA0B;yBAC3B;wBACD,eAAe,EAAE;4BACf,0BAA0B;yBAC3B;qBACF;;;ICfD;;;;ICAA;;;;;;;;;;;;;;"}
@@ -6,13 +6,21 @@ export class NgxMatTuiCalendarComponent {
6
6
  }
7
7
  }
8
8
  NgxMatTuiCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- NgxMatTuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NgxMatTuiCalendarComponent, selector: "ngx-mat-tui-calendar", ngImport: i0, template: "", styles: [""] });
9
+ NgxMatTuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NgxMatTuiCalendarComponent, selector: "ngx-mat-tui-calendar", ngImport: i0, template: `
10
+ <p>
11
+ ngx-mat-tui-calendar v0.0.11 works!
12
+ </p>
13
+ `, isInline: true });
10
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarComponent, decorators: [{
11
15
  type: Component,
12
16
  args: [{
13
17
  selector: 'ngx-mat-tui-calendar',
14
- templateUrl: './ngx-mat-tui-calendar.component.html',
15
- styleUrls: ['./ngx-mat-tui-calendar.component.scss'],
18
+ template: `
19
+ <p>
20
+ ngx-mat-tui-calendar v0.0.11 works!
21
+ </p>
22
+ `,
23
+ styles: []
16
24
  }]
17
25
  }], ctorParameters: function () { return []; } });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1hdC10dWktY2FsZW5kYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW1hdC10dWktY2FsZW5kYXIvc3JjL2xpYi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbWF0LX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Component } from './ngx-mat-tui-calendar.component';
3
3
  import * as i0 from "@angular/core";
4
- // import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';
5
4
  export class NgxMatTuiCalendarModule {
6
5
  }
7
6
  NgxMatTuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -12,7 +11,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
12
11
  args: [{
13
12
  declarations: [
14
13
  NgxMatTuiCalendarComponent,
15
- // NgxMatTuiCalendarWrapperComponent,
16
14
  ],
17
15
  imports: [],
18
16
  exports: [
@@ -23,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
23
21
  ],
24
22
  }]
25
23
  }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1hdC10dWktY2FsZW5kYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW1hdC10dWktY2FsZW5kYXIvc3JjL2xpYi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQzs7QUFDOUUsNkhBQTZIO0FBaUI3SCxNQUFNLE9BQU8sdUJBQXVCOztxSEFBdkIsdUJBQXVCO3NIQUF2Qix1QkFBdUIsaUJBWmhDLDBCQUEwQixhQU0xQiwwQkFBMEI7c0hBTWpCLHVCQUF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ydHM6IFtcclxuICAgIE5neE1hdFR1aUNhbGVuZGFyQ29tcG9uZW50LFxyXG4gIF0sXHJcbiAgZW50cnlDb21wb25lbnRzOiBbXHJcbiAgICBOZ3hNYXRUdWlDYWxlbmRhckNvbXBvbmVudCxcclxuICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgTmd4TWF0VHVpQ2FsZW5kYXJNb2R1bGUgeyB9XHJcbiJdfQ==
@@ -19,17 +19,24 @@ class NgxMatTuiCalendarComponent {
19
19
  }
20
20
  }
21
21
  NgxMatTuiCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
22
- NgxMatTuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NgxMatTuiCalendarComponent, selector: "ngx-mat-tui-calendar", ngImport: i0, template: "", styles: [""] });
22
+ NgxMatTuiCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: NgxMatTuiCalendarComponent, selector: "ngx-mat-tui-calendar", ngImport: i0, template: `
23
+ <p>
24
+ ngx-mat-tui-calendar v0.0.11 works!
25
+ </p>
26
+ `, isInline: true });
23
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarComponent, decorators: [{
24
28
  type: Component,
25
29
  args: [{
26
30
  selector: 'ngx-mat-tui-calendar',
27
- templateUrl: './ngx-mat-tui-calendar.component.html',
28
- styleUrls: ['./ngx-mat-tui-calendar.component.scss'],
31
+ template: `
32
+ <p>
33
+ ngx-mat-tui-calendar v0.0.11 works!
34
+ </p>
35
+ `,
36
+ styles: []
29
37
  }]
30
38
  }], ctorParameters: function () { return []; } });
31
39
 
32
- // import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';
33
40
  class NgxMatTuiCalendarModule {
34
41
  }
35
42
  NgxMatTuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -40,7 +47,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
40
47
  args: [{
41
48
  declarations: [
42
49
  NgxMatTuiCalendarComponent,
43
- // NgxMatTuiCalendarWrapperComponent,
44
50
  ],
45
51
  imports: [],
46
52
  exports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-mat-tui-calendar.js","sources":["../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.service.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.component.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.component.html","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.module.ts","../../../projects/ngx-mat-tui-calendar/src/public-api.ts","../../../projects/ngx-mat-tui-calendar/src/ngx-mat-tui-calendar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NgxMatTuiCalendarService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'ngx-mat-tui-calendar',\n templateUrl: './ngx-mat-tui-calendar.component.html',\n styleUrls: ['./ngx-mat-tui-calendar.component.scss'],\n})\nexport class NgxMatTuiCalendarComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","","import { NgModule } from '@angular/core';\nimport { NgxMatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';\n// import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';\n\n\n@NgModule({\n declarations: [\n NgxMatTuiCalendarComponent,\n // NgxMatTuiCalendarWrapperComponent,\n ],\n imports: [\n ],\n exports: [\n NgxMatTuiCalendarComponent,\n ],\n entryComponents: [\n NgxMatTuiCalendarComponent,\n ],\n})\nexport class NgxMatTuiCalendarModule { }\n","/*\n * Public API Surface of ngx-mat-tui-calendar\n */\n\nexport * from './lib/ngx-mat-tui-calendar.service';\nexport * from './lib/ngx-mat-tui-calendar.component';\nexport * from './lib/ngx-mat-tui-calendar.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,wBAAwB;IAEnC,iBAAiB;;sHAFN,wBAAwB;0HAAxB,wBAAwB,cAFvB,MAAM;4FAEP,wBAAwB;kBAHpC,UAAU;mBAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;MCGY,0BAA0B;IAErC,iBAAiB;IAEjB,QAAQ;KACP;;wHALU,0BAA0B;4GAA1B,0BAA0B,4DCPvC,EAAA;4FDOa,0BAA0B;kBALtC,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,WAAW,EAAE,uCAAuC;oBACpD,SAAS,EAAE,CAAC,uCAAuC,CAAC;iBACrD;;;AEJD;MAiBa,uBAAuB;;qHAAvB,uBAAuB;sHAAvB,uBAAuB,iBAZhC,0BAA0B,aAM1B,0BAA0B;sHAMjB,uBAAuB,YATzB,EACR;4FAQU,uBAAuB;kBAdnC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,0BAA0B;;qBAE3B;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,0BAA0B;qBAC3B;oBACD,eAAe,EAAE;wBACf,0BAA0B;qBAC3B;iBACF;;;AClBD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"ngx-mat-tui-calendar.js","sources":["../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.service.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.component.ts","../../../projects/ngx-mat-tui-calendar/src/lib/ngx-mat-tui-calendar.module.ts","../../../projects/ngx-mat-tui-calendar/src/public-api.ts","../../../projects/ngx-mat-tui-calendar/src/ngx-mat-tui-calendar.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NgxMatTuiCalendarService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ngx-mat-tui-calendar',\r\n template: `\r\n <p>\r\n ngx-mat-tui-calendar v0.0.11 works!\r\n </p>\r\n `,\r\n styles: [\r\n ]\r\n})\r\nexport class NgxMatTuiCalendarComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { NgxMatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n NgxMatTuiCalendarComponent,\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n NgxMatTuiCalendarComponent,\r\n ],\r\n entryComponents: [\r\n NgxMatTuiCalendarComponent,\r\n ],\r\n})\r\nexport class NgxMatTuiCalendarModule { }\r\n","/*\n * Public API Surface of ngx-mat-tui-calendar\n */\n\nexport * from './lib/ngx-mat-tui-calendar.service';\nexport * from './lib/ngx-mat-tui-calendar.component';\nexport * from './lib/ngx-mat-tui-calendar.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,wBAAwB;IAEnC,iBAAiB;;sHAFN,wBAAwB;0HAAxB,wBAAwB,cAFvB,MAAM;4FAEP,wBAAwB;kBAHpC,UAAU;mBAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;MCQY,0BAA0B;IAErC,iBAAiB;IAEjB,QAAQ;KACP;;wHALU,0BAA0B;4GAA1B,0BAA0B,4DAR3B;;;;GAIT;4FAIU,0BAA0B;kBAVtC,SAAS;mBAAC;oBACT,QAAQ,EAAE,sBAAsB;oBAChC,QAAQ,EAAE;;;;GAIT;oBACD,MAAM,EAAE,EACP;iBACF;;;MCKY,uBAAuB;;qHAAvB,uBAAuB;sHAAvB,uBAAuB,iBAXhC,0BAA0B,aAK1B,0BAA0B;sHAMjB,uBAAuB,YATzB,EACR;4FAQU,uBAAuB;kBAbnC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,0BAA0B;qBAC3B;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,0BAA0B;qBAC3B;oBACD,eAAe,EAAE;wBACf,0BAA0B;qBAC3B;iBACF;;;ACfD;;;;ACAA;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-mat-tui-calendar",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ron2015schmitt/ngx-mat-tui-calendar.git"
@@ -21,6 +21,11 @@
21
21
  "dependencies": {
22
22
  "tslib": "^2.3.0"
23
23
  },
24
+ "browser": {
25
+ "fs": false,
26
+ "path": false,
27
+ "os": false
28
+ },
24
29
  "main": "bundles/ngx-mat-tui-calendar.umd.js",
25
30
  "module": "fesm2015/ngx-mat-tui-calendar.js",
26
31
  "es2015": "fesm2015/ngx-mat-tui-calendar.js",