pimelon-ui 0.1.210 → 0.1.211

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.
@@ -25,6 +25,7 @@ import FormLabel from '../../src/components/FormLabel.vue'
25
25
  import debounce from '../../src/utils/debounce'
26
26
  // @ts-ignore - Vue SFC without explicit types
27
27
  import { createResource } from '../../src/resources'
28
+ import { melonRequest } from '../../src/utils/melonRequest'
28
29
  import type { LinkProps, SelectOption } from './types'
29
30
  import LucidePlus from '~icons/lucide/plus'
30
31
 
@@ -53,6 +54,7 @@ const options = createResource({
53
54
  filters: props.filters,
54
55
  },
55
56
  method: 'POST',
57
+ resourceFetcher: melonRequest,
56
58
  transform: (data: SelectOption[]) => {
57
59
  return data.map((doc) => ({
58
60
  label: doc.label || doc.value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pimelon-ui",
3
- "version": "0.1.210",
3
+ "version": "0.1.211",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.ts",
6
6
  "type": "module",