@cuby-ui/core 0.0.548 → 0.0.550
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/esm2022/i18n/en.json +7 -0
- package/esm2022/i18n/index.mjs +5 -0
- package/esm2022/i18n/ru.json +7 -0
- package/esm2022/index.mjs +3 -1
- package/esm2022/pipes/index.mjs +2 -0
- package/esm2022/pipes/time.pipe.mjs +62 -0
- package/fesm2022/cuby-ui-core-en-DoKU5zDf.mjs +11 -0
- package/fesm2022/cuby-ui-core-en-DoKU5zDf.mjs.map +1 -0
- package/fesm2022/cuby-ui-core-ru-quLEyA0a.mjs +11 -0
- package/fesm2022/cuby-ui-core-ru-quLEyA0a.mjs.map +1 -0
- package/fesm2022/cuby-ui-core.mjs +64 -2
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/i18n/index.d.ts +2 -0
- package/index.d.ts +2 -0
- package/package.json +4 -4
- package/pipes/index.d.ts +1 -0
- package/pipes/time.pipe.d.ts +14 -0
package/i18n/index.d.ts
ADDED
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.550",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"@angular/elements": ">=18.0.0",
|
|
8
8
|
"@angular/forms": ">=18.0.0",
|
|
9
|
-
"@cuby-ui/api": "^0.0.
|
|
10
|
-
"@cuby-ui/cdk": "^0.0.
|
|
11
|
-
"@cuby-ui/icons": "^0.0.
|
|
9
|
+
"@cuby-ui/api": "^0.0.550",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.550",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.550",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
package/pipes/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './time.pipe';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TimePipe implements PipeTransform {
|
|
4
|
+
private readonly translocoService;
|
|
5
|
+
private readonly FORMAT_TOKEN_REGEX;
|
|
6
|
+
private readonly lang;
|
|
7
|
+
transform(value: Date | string, format?: string, withEmpty?: boolean): string;
|
|
8
|
+
private getValues;
|
|
9
|
+
private getTimeString;
|
|
10
|
+
private getTimeUnit;
|
|
11
|
+
private getTime;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimePipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimePipe, "time", false>;
|
|
14
|
+
}
|