ngx-mat-tui-calendar 0.0.6 → 0.0.10

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,129 +1,23 @@
1
+ # NgxMatTuiCalendar
1
2
 
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.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
111
4
 
112
5
  ## Code scaffolding
113
6
 
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`.
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.
115
9
 
116
10
  ## Build
117
11
 
118
- Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
12
+ Run `ng build ngx-mat-tui-calendar` to build the project. The build artifacts will be stored in the `dist/` directory.
119
13
 
120
- ## Running unit tests
14
+ ## Publishing
121
15
 
122
- Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
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`.
123
17
 
124
- ## Running end-to-end tests
18
+ ## Running unit tests
125
19
 
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.
20
+ Run `ng test ngx-mat-tui-calendar` to execute the unit tests via [Karma](https://karma-runner.github.io).
127
21
 
128
22
  ## Further help
129
23
 
@@ -0,0 +1,100 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('ngx-mat-tui-calendar', ['exports', '@angular/core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["ngx-mat-tui-calendar"] = {}, global.ng.core));
5
+ })(this, (function (exports, i0) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+
27
+ var NgxMatTuiCalendarService = /** @class */ (function () {
28
+ function NgxMatTuiCalendarService() {
29
+ }
30
+ return NgxMatTuiCalendarService;
31
+ }());
32
+ NgxMatTuiCalendarService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
33
+ NgxMatTuiCalendarService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarService, providedIn: 'root' });
34
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarService, decorators: [{
35
+ type: i0.Injectable,
36
+ args: [{
37
+ providedIn: 'root'
38
+ }]
39
+ }], ctorParameters: function () { return []; } });
40
+
41
+ var NgxMatTuiCalendarComponent = /** @class */ (function () {
42
+ function NgxMatTuiCalendarComponent() {
43
+ }
44
+ NgxMatTuiCalendarComponent.prototype.ngOnInit = function () {
45
+ };
46
+ return NgxMatTuiCalendarComponent;
47
+ }());
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: [""] });
50
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarComponent, decorators: [{
51
+ type: i0.Component,
52
+ args: [{
53
+ selector: 'ngx-mat-tui-calendar',
54
+ templateUrl: './ngx-mat-tui-calendar.component.html',
55
+ styleUrls: ['./ngx-mat-tui-calendar.component.scss'],
56
+ }]
57
+ }], ctorParameters: function () { return []; } });
58
+
59
+ // import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';
60
+ var NgxMatTuiCalendarModule = /** @class */ (function () {
61
+ function NgxMatTuiCalendarModule() {
62
+ }
63
+ return NgxMatTuiCalendarModule;
64
+ }());
65
+ NgxMatTuiCalendarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
66
+ NgxMatTuiCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarModule, declarations: [NgxMatTuiCalendarComponent], exports: [NgxMatTuiCalendarComponent] });
67
+ NgxMatTuiCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarModule, imports: [[]] });
68
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: NgxMatTuiCalendarModule, decorators: [{
69
+ type: i0.NgModule,
70
+ args: [{
71
+ declarations: [
72
+ NgxMatTuiCalendarComponent,
73
+ // NgxMatTuiCalendarWrapperComponent,
74
+ ],
75
+ imports: [],
76
+ exports: [
77
+ NgxMatTuiCalendarComponent,
78
+ ],
79
+ entryComponents: [
80
+ NgxMatTuiCalendarComponent,
81
+ ],
82
+ }]
83
+ }] });
84
+
85
+ /*
86
+ * Public API Surface of ngx-mat-tui-calendar
87
+ */
88
+
89
+ /**
90
+ * Generated bundle index. Do not edit.
91
+ */
92
+
93
+ exports.NgxMatTuiCalendarComponent = NgxMatTuiCalendarComponent;
94
+ exports.NgxMatTuiCalendarModule = NgxMatTuiCalendarModule;
95
+ exports.NgxMatTuiCalendarService = NgxMatTuiCalendarService;
96
+
97
+ Object.defineProperty(exports, '__esModule', { value: true });
98
+
99
+ }));
100
+ //# sourceMappingURL=ngx-mat-tui-calendar.umd.js.map
@@ -0,0 +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;;;;;;;;;;;;;;"}
@@ -0,0 +1,18 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class NgxMatTuiCalendarComponent {
4
+ constructor() { }
5
+ ngOnInit() {
6
+ }
7
+ }
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: [""] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarComponent, decorators: [{
11
+ type: Component,
12
+ args: [{
13
+ selector: 'ngx-mat-tui-calendar',
14
+ templateUrl: './ngx-mat-tui-calendar.component.html',
15
+ styleUrls: ['./ngx-mat-tui-calendar.component.scss'],
16
+ }]
17
+ }], ctorParameters: function () { return []; } });
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1hdC10dWktY2FsZW5kYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW1hdC10dWktY2FsZW5kYXIvc3JjL2xpYi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbWF0LXR1aS1jYWxlbmRhci9zcmMvbGliL25neC1tYXQtdHVpLWNhbGVuZGFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7O0FBT2xELE1BQU0sT0FBTywwQkFBMEI7SUFFckMsZ0JBQWdCLENBQUM7SUFFakIsUUFBUTtJQUNSLENBQUM7O3dIQUxVLDBCQUEwQjs0R0FBMUIsMEJBQTBCLDREQ1B2QyxFQUFBOzRGRE9hLDBCQUEwQjtrQkFMdEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsc0JBQXNCO29CQUNoQyxXQUFXLEVBQUUsdUNBQXVDO29CQUNwRCxTQUFTLEVBQUUsQ0FBQyx1Q0FBdUMsQ0FBQztpQkFDckQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICduZ3gtbWF0LXR1aS1jYWxlbmRhcicsXG4gIHRlbXBsYXRlVXJsOiAnLi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL25neC1tYXQtdHVpLWNhbGVuZGFyLmNvbXBvbmVudC5zY3NzJ10sXG59KVxuZXhwb3J0IGNsYXNzIE5neE1hdFR1aUNhbGVuZGFyQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICB9XG5cbn1cbiIsIiJdfQ==
@@ -0,0 +1,26 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { NgxMatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';
3
+ import * as i0 from "@angular/core";
4
+ // import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';
5
+ export class NgxMatTuiCalendarModule {
6
+ }
7
+ NgxMatTuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ NgxMatTuiCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, declarations: [NgxMatTuiCalendarComponent], exports: [NgxMatTuiCalendarComponent] });
9
+ NgxMatTuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, imports: [[]] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ NgxMatTuiCalendarComponent,
15
+ // NgxMatTuiCalendarWrapperComponent,
16
+ ],
17
+ imports: [],
18
+ exports: [
19
+ NgxMatTuiCalendarComponent,
20
+ ],
21
+ entryComponents: [
22
+ NgxMatTuiCalendarComponent,
23
+ ],
24
+ }]
25
+ }] });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1hdC10dWktY2FsZW5kYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW1hdC10dWktY2FsZW5kYXIvc3JjL2xpYi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQzs7QUFDOUUsNkhBQTZIO0FBaUI3SCxNQUFNLE9BQU8sdUJBQXVCOztxSEFBdkIsdUJBQXVCO3NIQUF2Qix1QkFBdUIsaUJBWmhDLDBCQUEwQixhQU0xQiwwQkFBMEI7c0hBTWpCLHVCQUF1QixZQVR6QixFQUNSOzRGQVFVLHVCQUF1QjtrQkFkbkMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osMEJBQTBCO3dCQUMxQixxQ0FBcUM7cUJBQ3RDO29CQUNELE9BQU8sRUFBRSxFQUNSO29CQUNELE9BQU8sRUFBRTt3QkFDUCwwQkFBMEI7cUJBQzNCO29CQUNELGVBQWUsRUFBRTt3QkFDZiwwQkFBMEI7cUJBQzNCO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IE5neE1hdFR1aUNhbGVuZGFyQ29tcG9uZW50IH0gZnJvbSAnLi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5jb21wb25lbnQnO1xuLy8gaW1wb3J0IHsgTmd4TWF0VHVpQ2FsZW5kYXJXcmFwcGVyQ29tcG9uZW50IH0gZnJvbSAnLi9uZ3gtbWF0LXR1aS1jYWxlbmRhci13cmFwcGVyL25neC1tYXQtdHVpLWNhbGVuZGFyLXdyYXBwZXIuY29tcG9uZW50JztcblxuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBOZ3hNYXRUdWlDYWxlbmRhckNvbXBvbmVudCxcbiAgICAvLyBOZ3hNYXRUdWlDYWxlbmRhcldyYXBwZXJDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIE5neE1hdFR1aUNhbGVuZGFyQ29tcG9uZW50LFxuICBdLFxuICBlbnRyeUNvbXBvbmVudHM6IFtcbiAgICBOZ3hNYXRUdWlDYWxlbmRhckNvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgTmd4TWF0VHVpQ2FsZW5kYXJNb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,14 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class NgxMatTuiCalendarService {
4
+ constructor() { }
5
+ }
6
+ NgxMatTuiCalendarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
+ NgxMatTuiCalendarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarService, providedIn: 'root' });
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarService, decorators: [{
9
+ type: Injectable,
10
+ args: [{
11
+ providedIn: 'root'
12
+ }]
13
+ }], ctorParameters: function () { return []; } });
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1hdC10dWktY2FsZW5kYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1tYXQtdHVpLWNhbGVuZGFyL3NyYy9saWIvbmd4LW1hdC10dWktY2FsZW5kYXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUszQyxNQUFNLE9BQU8sd0JBQXdCO0lBRW5DLGdCQUFnQixDQUFDOztzSEFGTix3QkFBd0I7MEhBQXhCLHdCQUF3QixjQUZ2QixNQUFNOzRGQUVQLHdCQUF3QjtrQkFIcEMsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIE5neE1hdFR1aUNhbGVuZGFyU2VydmljZSB7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cbn1cbiJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LW1hdC10dWktY2FsZW5kYXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbWF0LXR1aS1jYWxlbmRhci9zcmMvbmd4LW1hdC10dWktY2FsZW5kYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Public API Surface of ngx-mat-tui-calendar
3
+ */
4
+ export * from './lib/ngx-mat-tui-calendar.service';
5
+ export * from './lib/ngx-mat-tui-calendar.component';
6
+ export * from './lib/ngx-mat-tui-calendar.module';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1tYXQtdHVpLWNhbGVuZGFyL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1tYXQtdHVpLWNhbGVuZGFyXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LW1hdC10dWktY2FsZW5kYXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtbWF0LXR1aS1jYWxlbmRhci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LW1hdC10dWktY2FsZW5kYXIubW9kdWxlJztcbiJdfQ==
@@ -0,0 +1,64 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, NgModule } from '@angular/core';
3
+
4
+ class NgxMatTuiCalendarService {
5
+ constructor() { }
6
+ }
7
+ NgxMatTuiCalendarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8
+ NgxMatTuiCalendarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarService, providedIn: 'root' });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarService, decorators: [{
10
+ type: Injectable,
11
+ args: [{
12
+ providedIn: 'root'
13
+ }]
14
+ }], ctorParameters: function () { return []; } });
15
+
16
+ class NgxMatTuiCalendarComponent {
17
+ constructor() { }
18
+ ngOnInit() {
19
+ }
20
+ }
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: [""] });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarComponent, decorators: [{
24
+ type: Component,
25
+ args: [{
26
+ selector: 'ngx-mat-tui-calendar',
27
+ templateUrl: './ngx-mat-tui-calendar.component.html',
28
+ styleUrls: ['./ngx-mat-tui-calendar.component.scss'],
29
+ }]
30
+ }], ctorParameters: function () { return []; } });
31
+
32
+ // import { NgxMatTuiCalendarWrapperComponent } from './ngx-mat-tui-calendar-wrapper/ngx-mat-tui-calendar-wrapper.component';
33
+ class NgxMatTuiCalendarModule {
34
+ }
35
+ NgxMatTuiCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ NgxMatTuiCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, declarations: [NgxMatTuiCalendarComponent], exports: [NgxMatTuiCalendarComponent] });
37
+ NgxMatTuiCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, imports: [[]] });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: NgxMatTuiCalendarModule, decorators: [{
39
+ type: NgModule,
40
+ args: [{
41
+ declarations: [
42
+ NgxMatTuiCalendarComponent,
43
+ // NgxMatTuiCalendarWrapperComponent,
44
+ ],
45
+ imports: [],
46
+ exports: [
47
+ NgxMatTuiCalendarComponent,
48
+ ],
49
+ entryComponents: [
50
+ NgxMatTuiCalendarComponent,
51
+ ],
52
+ }]
53
+ }] });
54
+
55
+ /*
56
+ * Public API Surface of ngx-mat-tui-calendar
57
+ */
58
+
59
+ /**
60
+ * Generated bundle index. Do not edit.
61
+ */
62
+
63
+ export { NgxMatTuiCalendarComponent, NgxMatTuiCalendarModule, NgxMatTuiCalendarService };
64
+ //# sourceMappingURL=ngx-mat-tui-calendar.js.map
@@ -0,0 +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;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgxMatTuiCalendarComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatTuiCalendarComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgxMatTuiCalendarComponent, "ngx-mat-tui-calendar", never, {}, {}, never, never>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ngx-mat-tui-calendar.component";
3
+ export declare class NgxMatTuiCalendarModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatTuiCalendarModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NgxMatTuiCalendarModule, [typeof i1.NgxMatTuiCalendarComponent], never, [typeof i1.NgxMatTuiCalendarComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgxMatTuiCalendarModule>;
7
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NgxMatTuiCalendarService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatTuiCalendarService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgxMatTuiCalendarService>;
6
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-mat-tui-calendar" />
5
+ export * from './public-api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-mat-tui-calendar",
3
- "version": "0.0.6",
3
+ "version": "0.0.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ron2015schmitt/ngx-mat-tui-calendar.git"
@@ -20,5 +20,12 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "tslib": "^2.3.0"
23
- }
24
- }
23
+ },
24
+ "main": "bundles/ngx-mat-tui-calendar.umd.js",
25
+ "module": "fesm2015/ngx-mat-tui-calendar.js",
26
+ "es2015": "fesm2015/ngx-mat-tui-calendar.js",
27
+ "esm2015": "esm2015/ngx-mat-tui-calendar.js",
28
+ "fesm2015": "fesm2015/ngx-mat-tui-calendar.js",
29
+ "typings": "ngx-mat-tui-calendar.d.ts",
30
+ "sideEffects": false
31
+ }
@@ -1,7 +1,3 @@
1
- /*
2
- * Public API Surface of ngx-mat-tui-calendar
3
- */
4
-
5
- export * from './lib/ngx-mat-tui-calendar.service';
6
- export * from './lib/ngx-mat-tui-calendar.component';
7
- export * from './lib/ngx-mat-tui-calendar.module';
1
+ export * from './lib/ngx-mat-tui-calendar.service';
2
+ export * from './lib/ngx-mat-tui-calendar.component';
3
+ export * from './lib/ngx-mat-tui-calendar.module';
package/karma.conf.js DELETED
@@ -1,44 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- jasmine: {
17
- // you can add configuration options for Jasmine here
18
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
- // for example, you can disable the random execution with `random: false`
20
- // or set a specific seed with `seed: 4321`
21
- },
22
- clearContext: false // leave Jasmine Spec Runner output visible in browser
23
- },
24
- jasmineHtmlReporter: {
25
- suppressAll: true // removes the duplicated traces
26
- },
27
- coverageReporter: {
28
- dir: require('path').join(__dirname, '../../coverage/ngx-mat-tui-calendar'),
29
- subdir: '.',
30
- reporters: [
31
- { type: 'html' },
32
- { type: 'text-summary' }
33
- ]
34
- },
35
- reporters: ['progress', 'kjhtml'],
36
- port: 9876,
37
- colors: true,
38
- logLevel: config.LOG_INFO,
39
- autoWatch: true,
40
- browsers: ['Chrome'],
41
- singleRun: false,
42
- restartOnFileChange: true
43
- });
44
- };
package/ng-package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/ngx-mat-tui-calendar",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { MatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';
4
-
5
- describe('MatTuiCalendarComponent', () => {
6
- let component: MatTuiCalendarComponent;
7
- let fixture: ComponentFixture<MatTuiCalendarComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ MatTuiCalendarComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(MatTuiCalendarComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,20 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'mat-tui-calendar',
5
- template: `
6
- <p>
7
- mat-tui-calendar works!
8
- </p>
9
- `,
10
- styles: [
11
- ]
12
- })
13
- export class MatTuiCalendarComponent implements OnInit {
14
-
15
- constructor() { }
16
-
17
- ngOnInit(): void {
18
- }
19
-
20
- }
@@ -1,17 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { MatTuiCalendarComponent } from './ngx-mat-tui-calendar.component';
3
-
4
- @NgModule({
5
- declarations: [
6
- MatTuiCalendarComponent,
7
- ],
8
- imports: [
9
- ],
10
- exports: [
11
- MatTuiCalendarComponent,
12
- ],
13
- entryComponents: [
14
- MatTuiCalendarComponent,
15
- ],
16
- })
17
- export class NgxMatTuiCalendarModule { }
@@ -1,16 +0,0 @@
1
- import { TestBed } from '@angular/core/testing';
2
-
3
- import { NgxMatTuiCalendarService } from './ngx-mat-tui-calendar.service';
4
-
5
- describe('NgxMatTuiCalendarService', () => {
6
- let service: NgxMatTuiCalendarService;
7
-
8
- beforeEach(() => {
9
- TestBed.configureTestingModule({});
10
- service = TestBed.inject(NgxMatTuiCalendarService);
11
- });
12
-
13
- it('should be created', () => {
14
- expect(service).toBeTruthy();
15
- });
16
- });
@@ -1,9 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
-
3
- @Injectable({
4
- providedIn: 'root'
5
- })
6
- export class NgxMatTuiCalendarService {
7
-
8
- constructor() { }
9
- }
package/src/test.ts DELETED
@@ -1,28 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js';
4
- import 'zone.js/testing';
5
- import { getTestBed } from '@angular/core/testing';
6
- import {
7
- BrowserDynamicTestingModule,
8
- platformBrowserDynamicTesting
9
- } from '@angular/platform-browser-dynamic/testing';
10
-
11
- declare const require: {
12
- context(path: string, deep?: boolean, filter?: RegExp): {
13
- keys(): string[];
14
- <T>(id: string): T;
15
- };
16
- };
17
-
18
- // First, initialize the Angular testing environment.
19
- getTestBed().initTestEnvironment(
20
- BrowserDynamicTestingModule,
21
- platformBrowserDynamicTesting(),
22
- { teardown: { destroyAfterEach: true }},
23
- );
24
-
25
- // Then we find all the tests.
26
- const context = require.context('./', true, /\.spec\.ts$/);
27
- // And load the modules.
28
- context.keys().map(context);
package/tsconfig.lib.json DELETED
@@ -1,20 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/lib",
6
- "target": "es2015",
7
- "declaration": true,
8
- "declarationMap": true,
9
- "inlineSources": true,
10
- "types": [],
11
- "lib": [
12
- "dom",
13
- "es2018"
14
- ]
15
- },
16
- "exclude": [
17
- "src/test.ts",
18
- "**/*.spec.ts"
19
- ]
20
- }
@@ -1,10 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "./tsconfig.lib.json",
4
- "compilerOptions": {
5
- "declarationMap": false
6
- },
7
- "angularCompilerOptions": {
8
- "compilationMode": "partial"
9
- }
10
- }
@@ -1,17 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/spec",
6
- "types": [
7
- "jasmine"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
- "include": [
14
- "**/*.spec.ts",
15
- "**/*.d.ts"
16
- ]
17
- }