@finema/core 1.4.213 → 1.4.214

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": "1.4.213",
3
+ "version": "1.4.214",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponen
2
2
  import { defu } from 'defu';
3
3
 
4
4
  const name = "@finema/core";
5
- const version = "1.4.213";
5
+ const version = "1.4.214";
6
6
 
7
7
  const colorModeOptions = {
8
8
  preference: "light"
@@ -43,7 +43,7 @@ import { type ISelectFieldProps } from '#core/components/Form/InputSelect/types'
43
43
  const emits = defineEmits(['change'])
44
44
  const props = withDefaults(defineProps<ISelectFieldProps>(), {
45
45
  searchablePlaceholder: 'ค้นหา...',
46
- searchable: () => true,
46
+ searchable: true,
47
47
  })
48
48
 
49
49
  const { value, wrapperProps, handleChange } = useFieldHOC<any>(props)
@@ -10,7 +10,7 @@ export interface ISelectFieldProps extends IFieldProps {
10
10
  loading?: boolean;
11
11
  uiMenu?: object | any;
12
12
  options: IOption[];
13
- searchable?: (q: string) => IOption[] | boolean;
13
+ searchable?: ((q: string) => PromiseLike<IOption[]>) | boolean;
14
14
  }
15
15
  export type ISelectField = IFormFieldBase<INPUT_TYPES.SELECT, ISelectFieldProps, {
16
16
  change?: (value: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.213",
3
+ "version": "1.4.214",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",