@neutron.co.id/operasional-interfaces 1.3.0-beta.1 → 1.3.0-beta.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.
- package/build/index.cjs +81 -1097
- package/build/index.mjs +81 -1097
- package/build/style.css +11 -11
- package/package.json +2 -2
- package/build/types/utils/date/index.d.ts +0 -11
- package/build/types/utils/date/util.date.d.ts +0 -20
- package/build/types/utils/index.d.ts +0 -1
package/build/style.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
#view-checkIns[data-v-
|
|
2
|
+
#view-checkIns[data-v-3ba48e60] {
|
|
3
3
|
|
|
4
4
|
height: 100%
|
|
5
5
|
}
|
|
6
|
-
#view-checkIns .wrapper[data-v-
|
|
6
|
+
#view-checkIns .wrapper[data-v-3ba48e60] {
|
|
7
7
|
|
|
8
8
|
height: 100%
|
|
9
9
|
}
|
|
10
|
-
#view-checkIns .header[data-v-
|
|
10
|
+
#view-checkIns .header[data-v-3ba48e60] {
|
|
11
11
|
|
|
12
12
|
display: flex;
|
|
13
13
|
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
|
|
24
24
|
padding-bottom: 0.5rem
|
|
25
25
|
}
|
|
26
|
-
#view-checkIns .header .start[data-v-
|
|
26
|
+
#view-checkIns .header .start[data-v-3ba48e60] {
|
|
27
27
|
|
|
28
28
|
line-height: 1.25
|
|
29
29
|
}
|
|
30
|
-
#view-checkIns .header .title[data-v-
|
|
30
|
+
#view-checkIns .header .title[data-v-3ba48e60] {
|
|
31
31
|
|
|
32
32
|
font-weight: 700
|
|
33
33
|
}
|
|
34
|
-
#view-checkIns .header .description[data-v-
|
|
34
|
+
#view-checkIns .header .description[data-v-3ba48e60] {
|
|
35
35
|
|
|
36
36
|
font-size: 0.875rem;
|
|
37
37
|
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
|
|
40
40
|
color: rgb(161 161 170 / var(--tw-text-opacity))
|
|
41
41
|
}
|
|
42
|
-
#view-checkIns .buttons[data-v-
|
|
42
|
+
#view-checkIns .buttons[data-v-3ba48e60] {
|
|
43
43
|
|
|
44
44
|
display: flex;
|
|
45
45
|
|
|
46
46
|
align-items: center
|
|
47
47
|
}
|
|
48
|
-
#view-checkIns .buttons[data-v-
|
|
48
|
+
#view-checkIns .buttons[data-v-3ba48e60] > :not([hidden]) ~ :not([hidden]) {
|
|
49
49
|
|
|
50
50
|
--tw-space-x-reverse: 0;
|
|
51
51
|
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
|
|
54
54
|
margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))
|
|
55
55
|
}
|
|
56
|
-
#view-checkIns .buttons[data-v-
|
|
56
|
+
#view-checkIns .buttons[data-v-3ba48e60] {
|
|
57
57
|
|
|
58
58
|
padding-right: 0.25rem
|
|
59
59
|
}
|
|
60
|
-
#view-checkIns .summary[data-v-
|
|
60
|
+
#view-checkIns .summary[data-v-3ba48e60] {
|
|
61
61
|
|
|
62
62
|
padding-bottom: 0.5rem
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.neu-checkIn-single[data-v-
|
|
65
|
+
.neu-checkIn-single[data-v-2e2803fb] {
|
|
66
66
|
display: block
|
|
67
67
|
}
|
|
68
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.3.0-beta.
|
|
3
|
+
"version": "1.3.0-beta.2",
|
|
4
4
|
"description": "Interface library of Neutron.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"build":
|
|
136
|
+
"build": 65
|
|
137
137
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import 'dayjs/locale/en';
|
|
2
|
-
export declare class DateUtil {
|
|
3
|
-
static format(date?: string | Date, dateFormat?: string, locale?: string): string | undefined;
|
|
4
|
-
static formatRange({ startedAt, endedAt, locale, useTime, }: {
|
|
5
|
-
startedAt?: Date | null;
|
|
6
|
-
endedAt?: Date | null;
|
|
7
|
-
locale?: 'en' | 'id';
|
|
8
|
-
useTime?: boolean;
|
|
9
|
-
}): any;
|
|
10
|
-
}
|
|
11
|
-
export * from './util.date';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import 'dayjs/locale/id';
|
|
2
|
-
export declare function formatDate(date: string | Date, dateFormat?: string): string | undefined;
|
|
3
|
-
export declare class PeriodUtil {
|
|
4
|
-
static getStartOfDay(date: string): Date;
|
|
5
|
-
static getEndOfDay(date: string): Date;
|
|
6
|
-
static getPeriodFilter(keyStart: string, startedAt: string, keyEnd?: string, endedAt?: string): ({
|
|
7
|
-
[x: string]: {
|
|
8
|
-
$gte: Date;
|
|
9
|
-
};
|
|
10
|
-
} | {
|
|
11
|
-
[x: string]: {
|
|
12
|
-
$lte: Date;
|
|
13
|
-
};
|
|
14
|
-
})[];
|
|
15
|
-
static getPastPeriodFilter(key: string, startedAt: string): {
|
|
16
|
-
[x: string]: {
|
|
17
|
-
$lt: Date;
|
|
18
|
-
};
|
|
19
|
-
}[];
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './date';
|