@taiga-ui/core 3.0.0-rc.2 → 3.0.0-rc.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.
- package/bundles/taiga-ui-core-components-button.umd.js +56 -37
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +0 -7
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +77 -0
- package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +1 -0
- package/bundles/taiga-ui-core-pipes.umd.js +10 -4
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +31 -4
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/components/button/button-options.d.ts +1 -1
- package/components/button/button.component.d.ts +9 -3
- package/constants/index.d.ts +0 -1
- package/esm2015/components/button/button-options.js +1 -1
- package/esm2015/components/button/button.component.js +32 -15
- package/esm2015/components/notification/notification.component.js +3 -3
- package/esm2015/components/root/root.component.js +1 -1
- package/esm2015/constants/index.js +1 -2
- package/esm2015/pipes/format-date/format-date.module.js +16 -0
- package/esm2015/pipes/format-date/format-date.pipe.js +24 -0
- package/esm2015/pipes/format-date/index.js +3 -0
- package/esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js +5 -0
- package/esm2015/pipes/index.js +2 -1
- package/esm2015/services/format-date.service.js +26 -0
- package/esm2015/services/index.js +2 -1
- package/fesm2015/taiga-ui-core-components-button.js +32 -15
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +2 -2
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js +2 -8
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-date.js +44 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.js.map +1 -0
- package/fesm2015/taiga-ui-core-pipes.js +1 -0
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +27 -4
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/package.json +4 -4
- package/pipes/format-date/format-date.module.d.ts +7 -0
- package/pipes/format-date/format-date.pipe.d.ts +11 -0
- package/pipes/format-date/index.d.ts +2 -0
- package/pipes/format-date/package.json +10 -0
- package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +5 -0
- package/pipes/index.d.ts +1 -0
- package/services/format-date.service.d.ts +9 -0
- package/services/index.d.ts +1 -0
- package/constants/version.d.ts +0 -1
- package/esm2015/constants/version.js +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.5",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"repository": "https://github.com/tinkoff/taiga-ui",
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@taiga-ui/i18n": "^3.0.0-rc.
|
|
18
|
+
"@taiga-ui/i18n": "^3.0.0-rc.5",
|
|
19
19
|
"tslib": "^2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@angular/router": ">=9.0.0",
|
|
28
28
|
"@ng-web-apis/common": ">=2.0.0",
|
|
29
29
|
"@ng-web-apis/mutation-observer": ">=2.0.0",
|
|
30
|
-
"@taiga-ui/cdk": ">=3.0.0-rc.
|
|
31
|
-
"@taiga-ui/i18n": ">=3.0.0-rc.
|
|
30
|
+
"@taiga-ui/cdk": ">=3.0.0-rc.5",
|
|
31
|
+
"@taiga-ui/i18n": ">=3.0.0-rc.5",
|
|
32
32
|
"@tinkoff/ng-event-plugins": ">=3.0.0",
|
|
33
33
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
34
34
|
"rxjs": ">=6.0.0"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./format-date.pipe";
|
|
3
|
+
export declare class TuiFormatDatePipeModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatDatePipeModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiFormatDatePipeModule, [typeof i1.TuiFormatDatePipe], never, [typeof i1.TuiFormatDatePipe]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiFormatDatePipeModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TuiFormatDateService } from '@taiga-ui/core/services';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TuiFormatDatePipe implements PipeTransform {
|
|
6
|
+
private readonly service;
|
|
7
|
+
constructor(service: TuiFormatDateService);
|
|
8
|
+
transform(timestampOrDate: number | Date): Observable<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatDatePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatDatePipe, "tuiFormatDate">;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../../bundles/taiga-ui-core-pipes-format-date.umd.js",
|
|
3
|
+
"module": "../../fesm2015/taiga-ui-core-pipes-format-date.js",
|
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-core-pipes-format-date.js",
|
|
5
|
+
"esm2015": "../../esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js",
|
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-core-pipes-format-date.js",
|
|
7
|
+
"typings": "taiga-ui-core-pipes-format-date.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@taiga-ui/core/pipes/format-date"
|
|
10
|
+
}
|
package/pipes/index.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TuiFormatDateService {
|
|
4
|
+
protected readonly locale: string;
|
|
5
|
+
constructor(locale: string);
|
|
6
|
+
format(timestamp: number): Observable<string>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatDateService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TuiFormatDateService>;
|
|
9
|
+
}
|
package/services/index.d.ts
CHANGED
package/constants/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const VERSION = "3.0.0-rc.2";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated: use {@link TUI_VERSION}
|
|
3
|
-
* TODO: remove in v3.0
|
|
4
|
-
*/
|
|
5
|
-
import { TUI_VERSION } from '@taiga-ui/cdk';
|
|
6
|
-
export const VERSION = TUI_VERSION;
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29uc3RhbnRzL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBQ0gsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUUxQyxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsV0FBVyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAZGVwcmVjYXRlZDogdXNlIHtAbGluayBUVUlfVkVSU0lPTn1cbiAqIFRPRE86IHJlbW92ZSBpbiB2My4wXG4gKi9cbmltcG9ydCB7VFVJX1ZFUlNJT059IGZyb20gJ0B0YWlnYS11aS9jZGsnO1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IFRVSV9WRVJTSU9OO1xuIl19
|