@finema/core 3.14.7 → 3.14.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.14.7",
3
+ "version": "3.14.9",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "3.14.7";
7
+ const version = "3.14.9";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -18,7 +18,7 @@
18
18
  :start-time="startTime"
19
19
  :teleport="teleport"
20
20
  :required="required"
21
- :flow="['calendar', 'time']"
21
+ :flow="flowCalendar"
22
22
  @update:model-value="onInput"
23
23
  >
24
24
  <template
@@ -127,6 +127,9 @@ const {
127
127
  const innerValue = ref();
128
128
  const breakpoints = useBreakpoints(breakpointsTailwind);
129
129
  const isMobile = breakpoints.smallerOrEqual("md");
130
+ const flowCalendar = computed(
131
+ () => props.autoApply && props.disabledTime ? ["calendar"] : ["calendar", "time"]
132
+ );
130
133
  const initializeValue = () => {
131
134
  const currentValue = value.value;
132
135
  if (currentValue) {
@@ -158,7 +161,6 @@ const format = (date) => {
158
161
  return TimeHelper.displayDateTime(date);
159
162
  };
160
163
  const onInput = (_value) => {
161
- console.log(_value);
162
164
  if (props.disabledTime && !props.isReturnISO) {
163
165
  value.value = TimeHelper.getDateFormTime(_value);
164
166
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.14.7",
3
+ "version": "3.14.9",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",