@finema/core 2.42.1 → 2.42.3
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
-
<Datepicker
|
|
4
|
-
v-model="innerValue"
|
|
5
|
-
:teleport="teleport"
|
|
6
|
-
:disabled="wrapperProps.disabled"
|
|
7
|
-
:cancel-text="appConfig.core?.locale === 'th' ? '\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01' : 'Cancel'"
|
|
8
|
-
:select-text="appConfig.core?.locale === 'th' ? '\u0E15\u0E01\u0E25\u0E07' : 'Select'"
|
|
9
|
-
:locale="appConfig.core?.locale"
|
|
10
|
-
time-picker
|
|
11
|
-
:placeholder="wrapperProps.placeholder"
|
|
12
|
-
:format="format"
|
|
13
|
-
:min-time="minTime"
|
|
14
|
-
:max-time="maxTime"
|
|
15
|
-
:start-time="startTime"
|
|
16
|
-
:required="required"
|
|
17
|
-
:enable-seconds="enableSeconds"
|
|
18
|
-
@update:model-value="onChange"
|
|
19
|
-
>
|
|
20
|
-
<template #dp-input="{ value: innerValue }">
|
|
21
|
-
<Input
|
|
22
|
-
:trailing-icon="innerValue ? void 0 : 'i-heroicons-clock'"
|
|
23
|
-
type="text"
|
|
24
|
-
:disabled="wrapperProps.disabled"
|
|
25
|
-
:model-value="innerValue"
|
|
26
|
-
:placeholder="wrapperProps.placeholder"
|
|
27
|
-
:readonly="true"
|
|
2
|
+
<FieldWrapper v-bind="wrapperProps">
|
|
3
|
+
<Datepicker
|
|
4
|
+
v-model="innerValue"
|
|
5
|
+
:teleport="teleport"
|
|
6
|
+
:disabled="wrapperProps.disabled"
|
|
7
|
+
:cancel-text="appConfig.core?.locale === 'th' ? '\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01' : 'Cancel'"
|
|
8
|
+
:select-text="appConfig.core?.locale === 'th' ? '\u0E15\u0E01\u0E25\u0E07' : 'Select'"
|
|
9
|
+
:locale="appConfig.core?.locale"
|
|
10
|
+
time-picker
|
|
11
|
+
:placeholder="wrapperProps.placeholder"
|
|
12
|
+
:format="format"
|
|
13
|
+
:min-time="minTime"
|
|
14
|
+
:max-time="maxTime"
|
|
15
|
+
:start-time="startTime"
|
|
16
|
+
:required="required"
|
|
17
|
+
:enable-seconds="enableSeconds"
|
|
18
|
+
@update:model-value="onChange"
|
|
19
|
+
>
|
|
20
|
+
<template #dp-input="{ value: innerValue }">
|
|
21
|
+
<Input
|
|
22
|
+
:trailing-icon="innerValue ? void 0 : 'i-heroicons-clock'"
|
|
23
|
+
type="text"
|
|
24
|
+
:disabled="wrapperProps.disabled"
|
|
25
|
+
:model-value="innerValue"
|
|
26
|
+
:placeholder="wrapperProps.placeholder"
|
|
27
|
+
:readonly="true"
|
|
28
28
|
:ui="{
|
|
29
29
|
base: 'cursor-pointer select-none',
|
|
30
30
|
trailingIcon: 'cursor-pointer'
|
|
31
|
-
}"
|
|
32
|
-
/>
|
|
33
|
-
</template>
|
|
34
|
-
<template #clear-icon="{ clear }">
|
|
35
|
-
<Icon
|
|
36
|
-
:name="clearIcon"
|
|
31
|
+
}"
|
|
32
|
+
/>
|
|
33
|
+
</template>
|
|
34
|
+
<template #clear-icon="{ clear }">
|
|
35
|
+
<Icon
|
|
36
|
+
:name="clearIcon"
|
|
37
37
|
:class="theme.clearIcon({
|
|
38
38
|
class: [ui?.clearIcon]
|
|
39
|
-
})"
|
|
40
|
-
@click.stop="clear"
|
|
41
|
-
/>
|
|
42
|
-
</template>
|
|
43
|
-
</Datepicker>
|
|
44
|
-
</FieldWrapper>
|
|
39
|
+
})"
|
|
40
|
+
@click.stop="clear"
|
|
41
|
+
/>
|
|
42
|
+
</template>
|
|
43
|
+
</Datepicker>
|
|
44
|
+
</FieldWrapper>
|
|
45
45
|
</template>
|
|
46
46
|
|
|
47
47
|
<script setup>
|
|
@@ -58,7 +58,7 @@ const props = defineProps({
|
|
|
58
58
|
startTime: { type: Object, required: false },
|
|
59
59
|
format: { type: String, required: false },
|
|
60
60
|
enableSeconds: { type: Boolean, required: false, default: false },
|
|
61
|
-
teleport: { type: [Boolean, String], required: false, skipCheck: true, default:
|
|
61
|
+
teleport: { type: [Boolean, String], required: false, skipCheck: true, default: true },
|
|
62
62
|
form: { type: Object, required: false },
|
|
63
63
|
name: { type: String, required: true },
|
|
64
64
|
errorMessage: { type: String, required: false },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finema/core",
|
|
3
|
-
"version": "2.42.
|
|
3
|
+
"version": "2.42.3",
|
|
4
4
|
"repository": "https://gitlab.finema.co/finema/ui-kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Finema Dev Core Team",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@iconify-json/ph": "^1.2.2",
|
|
45
45
|
"@iconify-json/svg-spinners": "^1.2.2",
|
|
46
46
|
"@nuxt/kit": "^4.0.2",
|
|
47
|
-
"@nuxt/ui": "^4.0.
|
|
47
|
+
"@nuxt/ui": "^4.0.1",
|
|
48
48
|
"@pinia/nuxt": "^0.11.0",
|
|
49
49
|
"@tailwindcss/typography": "^0.5.0-alpha.3",
|
|
50
50
|
"@tiptap/extension-image": "^3.0.7",
|
|
@@ -93,4 +93,4 @@
|
|
|
93
93
|
"lint-staged": {
|
|
94
94
|
"*": "eslint --fix --quiet"
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
}
|