@bagelink/vue 1.1.6-beta.1 → 1.1.8-beta.1
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/dist/types/timeago.d.ts +9 -9
- package/dist/types/timeago.d.ts.map +1 -1
- package/package.json +1 -2
- package/src/types/timeago.ts +9 -8
- package/tsconfig.json +0 -59
package/dist/types/timeago.d.ts
CHANGED
|
@@ -7,16 +7,16 @@ export interface LanguageTranslations {
|
|
|
7
7
|
[key: string]: TranslationValue;
|
|
8
8
|
}
|
|
9
9
|
export type AvailableTimeLanguages = 'en' | 'es' | 'fr' | 'he';
|
|
10
|
-
export type DayFormatTypes = 'DD' | 'DDD' | 'DDDD'
|
|
11
|
-
export type MonthFormatTypes = 'MM' | 'MMM' | 'MMMM'
|
|
12
|
-
export type YearFormatTypes = 'YY' | 'YYYY'
|
|
13
|
-
export type HourFormatTypes = 'HH'
|
|
14
|
-
export type MinuteFormatTypes = 'mm'
|
|
15
|
-
export type SecondFormatTypes = 'ss'
|
|
16
|
-
export type MillisecondFormatTypes = 'sss'
|
|
17
|
-
export type AmPmFormatTypes = 'AmPm'
|
|
10
|
+
export type DayFormatTypes = 'DD' | 'DDD' | 'DDDD';
|
|
11
|
+
export type MonthFormatTypes = 'MM' | 'MMM' | 'MMMM';
|
|
12
|
+
export type YearFormatTypes = 'YY' | 'YYYY';
|
|
13
|
+
export type HourFormatTypes = 'HH';
|
|
14
|
+
export type MinuteFormatTypes = 'mm';
|
|
15
|
+
export type SecondFormatTypes = 'ss';
|
|
16
|
+
export type MillisecondFormatTypes = 'sss';
|
|
17
|
+
export type AmPmFormatTypes = 'AmPm';
|
|
18
18
|
export type DateFormatSeparatorTypes = '/' | '-' | ' ' | ':' | '.';
|
|
19
|
-
export type CommonDateFormats = 'DD.MM.YY' | 'DD.MM.YYYY' | 'DD/MM/YY' | 'DD/MM/YYYY' | 'MM.DD.YY' | 'MM.DD.YYYY' | 'MM/DD/YY' | 'MM/DD/YYYY' | 'YYYY-MM-DD' | 'YY-MM-DD' | 'DD MMM YYYY' | 'DD MMMM YYYY' | 'DDD, DD MMM' | 'DDDD, DD MMMM' | 'MMM DD' | 'MMMM DD';
|
|
19
|
+
export type CommonDateFormats = `${DayFormatTypes}${DateFormatSeparatorTypes}${MonthFormatTypes}${DateFormatSeparatorTypes}${YearFormatTypes}` | 'DD.MM.YY' | 'DD.MM.YYYY' | 'DD/MM/YY' | 'DD/MM/YYYY' | 'MM.DD.YY' | 'MM.DD.YYYY' | 'MM/DD/YY' | 'MM/DD/YYYY' | 'YYYY-MM-DD' | 'YY-MM-DD' | 'DD MMM YYYY' | 'DD MMMM YYYY' | 'DDD, DD MMM' | 'DDDD, DD MMMM' | 'MMM DD' | 'MMMM DD';
|
|
20
20
|
export type CommonTimeFormats = 'HH:mm' | 'HH:mm:ss' | 'HH:mm:ss:sss' | 'HH:MM' | 'HH:mm AmPm';
|
|
21
21
|
export type CommonDateTimeFormats = `${CommonDateFormats} ${CommonTimeFormats}` | `${CommonTimeFormats}, ${CommonDateFormats}` | 'YYYY-MM-DD HH:MM';
|
|
22
22
|
export type DateTimeAcceptedFormats = CommonDateFormats | CommonTimeFormats | CommonDateTimeFormats;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeago.d.ts","sourceRoot":"","sources":["../../src/types/timeago.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEhD,MAAM,WAAW,oBAAoB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAA;CAC/B;AAED,MAAM,MAAM,sBAAsB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE9D,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,KAAK,GAAG,MAA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iBAAiB,GAC1B,OAAO,GAAG,UAAU,GAAG,cAAc,GACrC,OAAO,GACP,YAAY,CAAA;AAGf,MAAM,MAAM,qBAAqB,GAC9B,GAAG,iBAAiB,IAAI,iBAAiB,EAAE,GAC3C,GAAG,iBAAiB,KAAK,iBAAiB,EAAE,GAC5C,kBAAkB,CAAA;AAGrB,MAAM,MAAM,uBAAuB,GAChC,iBAAiB,GACjB,iBAAiB,GACjB,qBAAqB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.8-beta.1",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"files": [
|
|
49
49
|
"dist",
|
|
50
50
|
"src",
|
|
51
|
-
"./tsconfig.json",
|
|
52
51
|
"./vite.config.ts"
|
|
53
52
|
],
|
|
54
53
|
"devDependencies": {
|
package/src/types/timeago.ts
CHANGED
|
@@ -11,19 +11,20 @@ export interface LanguageTranslations {
|
|
|
11
11
|
|
|
12
12
|
export type AvailableTimeLanguages = 'en' | 'es' | 'fr' | 'he'
|
|
13
13
|
|
|
14
|
-
export type DayFormatTypes = 'DD' | 'DDD' | 'DDDD'
|
|
15
|
-
export type MonthFormatTypes = 'MM' | 'MMM' | 'MMMM'
|
|
16
|
-
export type YearFormatTypes = 'YY' | 'YYYY'
|
|
17
|
-
export type HourFormatTypes = 'HH'
|
|
18
|
-
export type MinuteFormatTypes = 'mm'
|
|
19
|
-
export type SecondFormatTypes = 'ss'
|
|
20
|
-
export type MillisecondFormatTypes = 'sss'
|
|
21
|
-
export type AmPmFormatTypes = 'AmPm'
|
|
14
|
+
export type DayFormatTypes = 'DD' | 'DDD' | 'DDDD'
|
|
15
|
+
export type MonthFormatTypes = 'MM' | 'MMM' | 'MMMM'
|
|
16
|
+
export type YearFormatTypes = 'YY' | 'YYYY'
|
|
17
|
+
export type HourFormatTypes = 'HH'
|
|
18
|
+
export type MinuteFormatTypes = 'mm'
|
|
19
|
+
export type SecondFormatTypes = 'ss'
|
|
20
|
+
export type MillisecondFormatTypes = 'sss'
|
|
21
|
+
export type AmPmFormatTypes = 'AmPm'
|
|
22
22
|
|
|
23
23
|
export type DateFormatSeparatorTypes = '/' | '-' | ' ' | ':' | '.'
|
|
24
24
|
|
|
25
25
|
// Common predefined formats instead of template literals
|
|
26
26
|
export type CommonDateFormats =
|
|
27
|
+
| `${DayFormatTypes}${DateFormatSeparatorTypes}${MonthFormatTypes}${DateFormatSeparatorTypes}${YearFormatTypes}`
|
|
27
28
|
| 'DD.MM.YY' | 'DD.MM.YYYY' | 'DD/MM/YY' | 'DD/MM/YYYY' // European style
|
|
28
29
|
| 'MM.DD.YY' | 'MM.DD.YYYY' | 'MM/DD/YY' | 'MM/DD/YYYY' // US style
|
|
29
30
|
| 'YYYY-MM-DD' | 'YY-MM-DD' // ISO style
|
package/tsconfig.json
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "ESNext",
|
|
5
|
-
"baseUrl": ".",
|
|
6
|
-
"rootDir": "..",
|
|
7
|
-
"module": "ESNext",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"jsx": "preserve",
|
|
10
|
-
"strictFunctionTypes": true,
|
|
11
|
-
"strictNullChecks": true,
|
|
12
|
-
"moduleResolution": "Bundler",
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"isolatedModules": true,
|
|
15
|
-
"esModuleInterop": true,
|
|
16
|
-
"noUnusedLocals": true,
|
|
17
|
-
"skipDefaultLibCheck": true,
|
|
18
|
-
"skipLibCheck": true,
|
|
19
|
-
"sourceMap": true,
|
|
20
|
-
"declaration": true,
|
|
21
|
-
"declarationMap": true,
|
|
22
|
-
"useDefineForClassFields": true,
|
|
23
|
-
"allowSyntheticDefaultImports": true,
|
|
24
|
-
"forceConsistentCasingInFileNames": true,
|
|
25
|
-
"lib": [
|
|
26
|
-
"ESNext",
|
|
27
|
-
"DOM"
|
|
28
|
-
],
|
|
29
|
-
"types": [
|
|
30
|
-
"vite/client",
|
|
31
|
-
"vitest/globals",
|
|
32
|
-
"@vue-macros/reactivity-transform/macros-global"
|
|
33
|
-
],
|
|
34
|
-
"paths": {
|
|
35
|
-
"@bagelink/sdk": [
|
|
36
|
-
"../sdk/src/index.ts"
|
|
37
|
-
],
|
|
38
|
-
"@bagelink/vue": [
|
|
39
|
-
"./src/index.ts"
|
|
40
|
-
],
|
|
41
|
-
"@bagelink/vue/*": [
|
|
42
|
-
"./vue/src/*"
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"include": [
|
|
47
|
-
"env.d.ts",
|
|
48
|
-
"**/**/*.ts",
|
|
49
|
-
"**/**/*.vue",
|
|
50
|
-
"**/**/*.d.ts",
|
|
51
|
-
"./vite.config.ts",
|
|
52
|
-
"src/directives/pattern",
|
|
53
|
-
],
|
|
54
|
-
"exclude": [
|
|
55
|
-
"./tests",
|
|
56
|
-
"./vite.config.ts",
|
|
57
|
-
"./vitest.config.ts"
|
|
58
|
-
]
|
|
59
|
-
}
|