ngx-st-date-format 1.0.1 → 1.0.2

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.
@@ -0,0 +1,27 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { DateFormatPipe } from "./pipes/date-format.pipe";
3
+ import { DateTimeFormatPipe } from "./pipes/date-time-format.pipe";
4
+ import * as i0 from "@angular/core";
5
+ export class StDateFormatModule {
6
+ }
7
+ StDateFormatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ StDateFormatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, declarations: [DateFormatPipe,
9
+ DateTimeFormatPipe], exports: [DateFormatPipe,
10
+ DateTimeFormatPipe] });
11
+ StDateFormatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, providers: [], imports: [[]] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ imports: [],
16
+ declarations: [
17
+ DateFormatPipe,
18
+ DateTimeFormatPipe
19
+ ],
20
+ exports: [
21
+ DateFormatPipe,
22
+ DateTimeFormatPipe
23
+ ],
24
+ providers: []
25
+ }]
26
+ }] });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3QtZGF0ZS1mb3JtYXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXN0LWRhdGUtZm9ybWF0L3NyYy9saWIvc3QtZGF0ZS1mb3JtYXQubW9kdWxlLnRzIl0sIm5hbWVzIjp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uICAgICAgICBEYXRlRm9ybWF0UGlwZSxcclxuICAgICAgICBEYXRlVGltZUZvcm1hdFBpcGVcclxuICAgIF0sXHJcbiAgICBwcm92aWRlcnM6IFtdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTdERhdGVGb3JtYXRNb2R1bGUge1xyXG5cclxufVxyXG4iXX0=
@@ -3,5 +3,5 @@
3
3
  */
4
4
  export * from './lib/pipes/date-format.pipe';
5
5
  export * from './lib/pipes/date-time-format.pipe';
6
- export * from './lib/ngx-st-date-format.module';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1zdC1kYXRlLWZvcm1hdC9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtc3QtZGF0ZS1mb3JtYXRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcy9kYXRlLWZvcm1hdC5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BpcGVzL2RhdGUtdGltZS1mb3JtYXQucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9uZ3gtc3QtZGF0ZS1mb3JtYXQubW9kdWxlJztcbiJdfQ==
6
+ export * from './lib/st-date-format.module';
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1zdC1kYXRlLWZvcm1hdC9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIFB1YmxpYyBBUEkgU3VyZmFjZSBvZiBuZ3gtc3QtZGF0ZS1mb3JtYXRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcy9kYXRlLWZvcm1hdC5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3BpcGVzL2RhdGUtdGltZS1mb3JtYXQucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zdC1kYXRlLWZvcm1hdC5tb2R1bGUnO1xuIl19
@@ -29,14 +29,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
29
29
  }]
30
30
  }] });
31
31
 
32
- class NgxStDateFormatModule {
32
+ class StDateFormatModule {
33
33
  }
34
- NgxStDateFormatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
- NgxStDateFormatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, declarations: [DateFormatPipe,
34
+ StDateFormatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
+ StDateFormatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, declarations: [DateFormatPipe,
36
36
  DateTimeFormatPipe], exports: [DateFormatPipe,
37
37
  DateTimeFormatPipe] });
38
- NgxStDateFormatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, providers: [], imports: [[]] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, decorators: [{
38
+ StDateFormatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, providers: [], imports: [[]] });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, decorators: [{
40
40
  type: NgModule,
41
41
  args: [{
42
42
  imports: [],
@@ -60,5 +60,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
60
60
  * Generated bundle index. Do not edit.
61
61
  */
62
62
 
63
- export { DateFormatPipe, DateTimeFormatPipe, NgxStDateFormatModule };
63
+ export { DateFormatPipe, DateTimeFormatPipe, StDateFormatModule };
64
64
  //# sourceMappingURL=ngx-st-date-format.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-st-date-format.mjs","sources":["../../../projects/ngx-st-date-format/src/lib/pipes/date-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/pipes/date-time-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/ngx-st-date-format.module.ts","../../../projects/ngx-st-date-format/src/public-api.ts","../../../projects/ngx-st-date-format/src/ngx-st-date-format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateFormatPipe',\r\n})\r\nexport class DateFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleDateString();\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateTimeFormatPipe',\r\n})\r\nexport class DateTimeFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleString();\r\n }\r\n}\r\n","import {NgModule} from \"@angular/core\";\r\nimport {DateFormatPipe} from \"./pipes/date-format.pipe\";\r\nimport {DateTimeFormatPipe} from \"./pipes/date-time-format.pipe\";\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n exports: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n providers: []\r\n})\r\nexport class NgxStDateFormatModule {\r\n\r\n}\r\n","/*\n * Public API Surface of ngx-st-date-format\n */\n\nexport * from './lib/pipes/date-format.pipe';\nexport * from './lib/pipes/date-time-format.pipe';\nexport * from './lib/ngx-st-date-format.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AACvB,IAAA,SAAS,CAAC,KAAa,EAAA;QACnB,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;KACxD;;2GAHQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;iBAC3B,CAAA;;;MCCY,kBAAkB,CAAA;AAC3B,IAAA,SAAS,CAAC,KAAa,EAAA;QACnB,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,CAAC;KACpD;;+GAHQ,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAlB,kBAAkB,EAAA,IAAA,EAAA,sBAAA,EAAA,CAAA,CAAA;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,sBAAsB;iBAC/B,CAAA;;;MCYY,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,iBAT1B,cAAc;AACd,QAAA,kBAAkB,aAGlB,cAAc;QACd,kBAAkB,CAAA,EAAA,CAAA,CAAA;mHAIb,qBAAqB,EAAA,SAAA,EAFnB,EAAE,EAAA,OAAA,EAAA,CATJ,EAAE,CAAA,EAAA,CAAA,CAAA;2FAWF,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAZjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE;wBACV,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-st-date-format.mjs","sources":["../../../projects/ngx-st-date-format/src/lib/pipes/date-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/pipes/date-time-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/st-date-format.module.ts","../../../projects/ngx-st-date-format/src/public-api.ts","../../../projects/ngx-st-date-format/src/ngx-st-date-format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateFormatPipe',\r\n})\r\nexport class DateFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleDateString();\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateTimeFormatPipe',\r\n})\r\nexport class DateTimeFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleString();\r\n }\r\n}\r\n","import {NgModule} from \"@angular/core\";\r\nimport {DateFormatPipe} from \"./pipes/date-format.pipe\";\r\nimport {DateTimeFormatPipe} from \"./pipes/date-time-format.pipe\";\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n exports: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n providers: []\r\n})\r\nexport class StDateFormatModule {\r\n\r\n}\r\n","/*\n * Public API Surface of ngx-st-date-format\n */\n\nexport * from './lib/pipes/date-format.pipe';\nexport * from './lib/pipes/date-time-format.pipe';\nexport * from './lib/st-date-format.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AACvB,IAAA,SAAS,CAAC,KAAa,EAAA;QACnB,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;KACxD;;2GAHQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;iBAC3B,CAAA;;;MCCY,kBAAkB,CAAA;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i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
29
29
  }]
30
30
  }] });
31
31
 
32
- class NgxStDateFormatModule {
32
+ class StDateFormatModule {
33
33
  }
34
- NgxStDateFormatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
- NgxStDateFormatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, declarations: [DateFormatPipe,
34
+ StDateFormatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
35
+ StDateFormatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, declarations: [DateFormatPipe,
36
36
  DateTimeFormatPipe], exports: [DateFormatPipe,
37
37
  DateTimeFormatPipe] });
38
- NgxStDateFormatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, providers: [], imports: [[]] });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, decorators: [{
38
+ StDateFormatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, providers: [], imports: [[]] });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: StDateFormatModule, decorators: [{
40
40
  type: NgModule,
41
41
  args: [{
42
42
  imports: [],
@@ -60,5 +60,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
60
60
  * Generated bundle index. Do not edit.
61
61
  */
62
62
 
63
- export { DateFormatPipe, DateTimeFormatPipe, NgxStDateFormatModule };
63
+ export { DateFormatPipe, DateTimeFormatPipe, StDateFormatModule };
64
64
  //# sourceMappingURL=ngx-st-date-format.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-st-date-format.mjs","sources":["../../../projects/ngx-st-date-format/src/lib/pipes/date-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/pipes/date-time-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/ngx-st-date-format.module.ts","../../../projects/ngx-st-date-format/src/public-api.ts","../../../projects/ngx-st-date-format/src/ngx-st-date-format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateFormatPipe',\r\n})\r\nexport class DateFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleDateString();\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateTimeFormatPipe',\r\n})\r\nexport class DateTimeFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleString();\r\n }\r\n}\r\n","import {NgModule} from \"@angular/core\";\r\nimport {DateFormatPipe} from \"./pipes/date-format.pipe\";\r\nimport {DateTimeFormatPipe} from \"./pipes/date-time-format.pipe\";\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n exports: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n providers: []\r\n})\r\nexport class NgxStDateFormatModule {\r\n\r\n}\r\n","/*\n * Public API Surface of ngx-st-date-format\n */\n\nexport * from './lib/pipes/date-format.pipe';\nexport * from './lib/pipes/date-time-format.pipe';\nexport * from './lib/ngx-st-date-format.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AACvB,IAAA,SAAS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BAAqB,EAAA,SAAA,EAFnB,EAAE,EAAA,OAAA,EAAA,CATJ,EAAE,CAAA,EAAA,CAAA,CAAA;2FAWF,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAZjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE;wBACV,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-st-date-format.mjs","sources":["../../../projects/ngx-st-date-format/src/lib/pipes/date-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/pipes/date-time-format.pipe.ts","../../../projects/ngx-st-date-format/src/lib/st-date-format.module.ts","../../../projects/ngx-st-date-format/src/public-api.ts","../../../projects/ngx-st-date-format/src/ngx-st-date-format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateFormatPipe',\r\n})\r\nexport class DateFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleDateString();\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'stDateTimeFormatPipe',\r\n})\r\nexport class DateTimeFormatPipe implements PipeTransform {\r\n transform(value: string) {\r\n return value && new Date(value).toLocaleString();\r\n }\r\n}\r\n","import {NgModule} from \"@angular/core\";\r\nimport {DateFormatPipe} from \"./pipes/date-format.pipe\";\r\nimport {DateTimeFormatPipe} from \"./pipes/date-time-format.pipe\";\r\n\r\n@NgModule({\r\n imports: [],\r\n declarations: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n exports: [\r\n DateFormatPipe,\r\n DateTimeFormatPipe\r\n ],\r\n providers: []\r\n})\r\nexport class StDateFormatModule {\r\n\r\n}\r\n","/*\n * Public API Surface of ngx-st-date-format\n */\n\nexport * from './lib/pipes/date-format.pipe';\nexport * from './lib/pipes/date-time-format.pipe';\nexport * from './lib/st-date-format.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,cAAc,CAAA;AACvB,IAAA,SAAS,CAAC,KAAa,EAAA;QACnB,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,kBAAkB,EAAE,CAAC;KACxD;;2GAHQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA,CAAA;;;MCCY,kBAAkB,CAAA;AAC3B,IAAA,SAAS,CAAC,KAAa,EAAA;QACnB,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,CAAC;KACpD;;+GAHQ,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAlB,kBAAkB,EAAA,IAAA,EAAA,sBAAA,EAAA,CAAA,CAAA;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,sBAAsB;AAC/B,iBAAA,CAAA;;;MCYY,kBAAkB,CAAA;;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,iBATvB,cAAc;AACd,QAAA,kBAAkB,aAGlB,cAAc;QACd,kBAAkB,CAAA,EAAA,CAAA,CAAA;gHAIb,kBAAkB,EAAA,SAAA,EAFhB,EAAE,EAAA,OAAA,EAAA,CATJ,EAAE,CAAA,EAAA,CAAA,CAAA;2FAWF,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE;wBACV,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,cAAc;wBACd,kBAAkB;AACrB,qBAAA;AACD,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pipes/date-format.pipe";
3
+ import * as i2 from "./pipes/date-time-format.pipe";
4
+ export declare class StDateFormatModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<StDateFormatModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StDateFormatModule, [typeof i1.DateFormatPipe, typeof i2.DateTimeFormatPipe], never, [typeof i1.DateFormatPipe, typeof i2.DateTimeFormatPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<StDateFormatModule>;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-st-date-format",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0"
package/public-api.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './lib/pipes/date-format.pipe';
2
2
  export * from './lib/pipes/date-time-format.pipe';
3
- export * from './lib/ngx-st-date-format.module';
3
+ export * from './lib/st-date-format.module';
@@ -1,27 +0,0 @@
1
- import { NgModule } from "@angular/core";
2
- import { DateFormatPipe } from "./pipes/date-format.pipe";
3
- import { DateTimeFormatPipe } from "./pipes/date-time-format.pipe";
4
- import * as i0 from "@angular/core";
5
- export class NgxStDateFormatModule {
6
- }
7
- NgxStDateFormatModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- NgxStDateFormatModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, declarations: [DateFormatPipe,
9
- DateTimeFormatPipe], exports: [DateFormatPipe,
10
- DateTimeFormatPipe] });
11
- NgxStDateFormatModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, providers: [], imports: [[]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: NgxStDateFormatModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- imports: [],
16
- declarations: [
17
- DateFormatPipe,
18
- DateTimeFormatPipe
19
- ],
20
- exports: [
21
- DateFormatPipe,
22
- DateTimeFormatPipe
23
- ],
24
- providers: []
25
- }]
26
- }] });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0LWRhdGUtZm9ybWF0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zdC1kYXRlLWZvcm1hdC9zcmMvbGliL25neC1zdC1kYXRlLWZvcm1hdC5tb2R1bG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AgZXhwb3J0czogW1xyXG4gICAgICAgIERhdGVGb3JtYXRQaXBlLFxyXG4gICAgICAgIERhdGVUaW1lRm9ybWF0UGlwZVxyXG4gICAgXSxcclxuICAgIHByb3ZpZGVyczogW11cclxufSlcclxuZXhwb3J0IGNsYXNzIE5neFN0RGF0ZUZvcm1hdE1vZHVsZSB7XHJcblxyXG59XHJcbiJdfQ==
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pipes/date-format.pipe";
3
- import * as i2 from "./pipes/date-time-format.pipe";
4
- export declare class NgxStDateFormatModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxStDateFormatModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgxStDateFormatModule, [typeof i1.DateFormatPipe, typeof i2.DateTimeFormatPipe], never, [typeof i1.DateFormatPipe, typeof i2.DateTimeFormatPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<NgxStDateFormatModule>;
8
- }