@finema/core 1.4.212 → 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.212",
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.212";
5
+ const version = "1.4.214";
6
6
 
7
7
  const colorModeOptions = {
8
8
  preference: "light"
@@ -253,12 +253,7 @@ const module = defineNuxtModule({
253
253
  nuxt.options.vite = defu(
254
254
  {
255
255
  optimizeDeps: {
256
- include: [
257
- ...nuxt.options.vite?.optimizeDeps?.include || [],
258
- "quill",
259
- "@vueup/vue-quill",
260
- "@wdns/vue-code-block"
261
- ]
256
+ include: [...nuxt.options.vite?.optimizeDeps?.include || [], "@wdns/vue-code-block"]
262
257
  }
263
258
  },
264
259
  nuxt.options.vite
@@ -271,10 +266,6 @@ const module = defineNuxtModule({
271
266
  addPlugin({
272
267
  src: resolve(runtimeDir, "plugin")
273
268
  });
274
- addPlugin({
275
- src: resolve(runtimeDir, "quill.plugin"),
276
- mode: "client"
277
- });
278
269
  void addComponentsDir({
279
270
  path: resolve(runtimeDir, "components"),
280
271
  prefix: options.prefix,
@@ -2,7 +2,7 @@
2
2
  <FieldWrapper v-bind="wrapperProps">
3
3
  <USelectMenu
4
4
  :model-value="value"
5
- searchable
5
+ :searchable="searchable as any"
6
6
  :options="options"
7
7
  :placeholder="placeholder || label"
8
8
  :disabled="wrapperProps.isDisabled"
@@ -43,6 +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
47
  })
47
48
 
48
49
  const { value, wrapperProps, handleChange } = useFieldHOC<any>(props)
@@ -10,6 +10,7 @@ export interface ISelectFieldProps extends IFieldProps {
10
10
  loading?: boolean;
11
11
  uiMenu?: object | any;
12
12
  options: IOption[];
13
+ searchable?: ((q: string) => PromiseLike<IOption[]>) | boolean;
13
14
  }
14
15
  export type ISelectField = IFormFieldBase<INPUT_TYPES.SELECT, ISelectFieldProps, {
15
16
  change?: (value: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.212",
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",
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@nuxt/kit": "^3.13.1",
39
- "@nuxt/ui": "2.18.7",
40
- "@pinia/nuxt": "^0.5.4",
39
+ "@nuxt/ui": "2.19.2",
40
+ "@pinia/nuxt": "^0.7.0",
41
41
  "@tiptap/extension-image": "^2.8.0",
42
42
  "@tiptap/extension-link": "^2.8.0",
43
43
  "@tiptap/extension-text-align": "^2.8.0",
@@ -50,7 +50,6 @@
50
50
  "@vee-validate/nuxt": "^4.13.2",
51
51
  "@vee-validate/zod": "^4.13.2",
52
52
  "@vuepic/vue-datepicker": "^8.2.0",
53
- "@vueup/vue-quill": "^1.2.0",
54
53
  "@wdns/vue-code-block": "^2.3.3",
55
54
  "axios": "^1.7.2",
56
55
  "cheerio": "1.0.0-rc.12",
@@ -61,7 +60,6 @@
61
60
  "maska": "^2.1.11",
62
61
  "nuxt-lodash": "^2.5.3",
63
62
  "nuxt-security": "^1.2.2",
64
- "pinia": "^2.1.7",
65
63
  "qrcode.vue": "^3.4.1",
66
64
  "url-join": "^5.0.0",
67
65
  "zod": "^3.23.8",
@@ -76,7 +74,6 @@
76
74
  "@nuxt/test-utils": "^3.13.1",
77
75
  "@release-it/conventional-changelog": "^8.0.1",
78
76
  "@types/node": "^20.10.17",
79
- "@types/quill": "^2",
80
77
  "@vue/test-utils": "^2.4.6",
81
78
  "changelogen": "^0.5.5",
82
79
  "eslint": "^8.56.0",
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- import { defineNuxtPlugin } from "#app";
2
- import { QuillEditor } from "@vueup/vue-quill";
3
- export default defineNuxtPlugin((nuxtApp) => {
4
- nuxtApp.vueApp.component("QuillEditor", QuillEditor);
5
- });