File tree Expand file tree Collapse file tree 5 files changed +32
-12
lines changed
nuxt/src/runtime/composables Expand file tree Collapse file tree 5 files changed +32
-12
lines changed Original file line number Diff line number Diff line change
1
+ import { useForm } from "@open-xamu-co/ui-common-helpers" ;
2
+
3
+ /**
4
+ * xamu form composable
5
+ */
6
+ export function useFormInput ( ) {
7
+ const { xamu } = useAppConfig ( ) ;
8
+
9
+ return useForm ( xamu ) ;
10
+ }
Original file line number Diff line number Diff line change
1
+ import { timeAgo } from "@open-xamu-co/ui-common-helpers" ;
2
+
3
+ /**
4
+ * Time ago composable
5
+ */
6
+ export function useTimeAgo ( date : Date ) {
7
+ const { xamu } = useAppConfig ( ) ;
8
+
9
+ const lang = xamu ?. lang || "en" ;
10
+ const country = xamu ?. country || "US" ;
11
+
12
+ return timeAgo ( date , `${ lang } -${ country } ` ) ;
13
+ }
Original file line number Diff line number Diff line change 85
85
"postcss-precision" : " vis97c/postcss-precision" ,
86
86
"postcss-preset-env" : " ^8.4.1" ,
87
87
"postcss-sort-media-queries" : " ^5.2.0" ,
88
- "sass" : " ^1.60 .0"
88
+ "sass" : " ^1.70 .0"
89
89
},
90
90
"engines" : {
91
91
"node" : " >=18" ,
103
103
"copyFilesSettings" : {
104
104
"whenFileExists" : " overwrite"
105
105
}
106
- }
106
+ }
Original file line number Diff line number Diff line change 30
30
31
31
& .#{utils .$prefix-default } --vertical {
32
32
max-height : 100% ;
33
- overflow-x : hidden ;
34
- overflow-y : auto ;
33
+ overflow : hidden auto ;
35
34
36
35
@layer defaults {
37
36
& {
45
44
// @modifier
46
45
& .#{utils .$prefix-default } --always {
47
46
max-width : 100% ;
48
- overflow-x : auto ;
49
- overflow-y : hidden ;
47
+ overflow : auto hidden ;
50
48
51
49
> * {
52
50
min-width : 100% ;
88
86
max-width : 100vw ;
89
87
height : auto ;
90
88
box-sizing : border-box ;
91
- overflow-x : auto ;
92
- overflow-y : hidden ;
89
+ overflow : hidden auto ;
93
90
padding-right : 0 ;
94
91
95
92
> * {
Original file line number Diff line number Diff line change @@ -11959,10 +11959,10 @@ sass-convert@^0.5.0:
11959
11959
through2 "^2.0.0"
11960
11960
which "^1.0.5"
11961
11961
11962
- sass@^1.60 .0:
11963
- version "1.69.5 "
11964
- resolved "https://registry.yarnpkg.com/sass/-/sass-1.69.5 .tgz#23e18d1c757a35f2e52cc81871060b9ad653dfde "
11965
- integrity sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ ==
11962
+ sass@^1.70 .0:
11963
+ version "1.70.0 "
11964
+ resolved "https://registry.yarnpkg.com/sass/-/sass-1.70.0 .tgz#761197419d97b5358cb25f9dd38c176a8a270a75 "
11965
+ integrity sha512-uUxNQ3zAHeAx5nRFskBnrWzDUJrrvpCPD5FNAoRvTi0WwremlheES3tg+56PaVtCs5QDRX5CBLxxKMDJMEa1WQ ==
11966
11966
dependencies:
11967
11967
chokidar ">=3.0.0 <4.0.0"
11968
11968
immutable "^4.0.0"
You can’t perform that action at this time.
0 commit comments