frappe-ui 0.0.30 → 0.0.31
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/package.json +1 -1
- package/src/index.js +5 -1
- package/src/utils/resources.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -29,8 +29,12 @@ export { default as onOutsideClickDirective } from './directives/onOutsideClick.
|
|
|
29
29
|
// utilities
|
|
30
30
|
export { default as call, createCall } from './utils/call.js'
|
|
31
31
|
export { default as debounce } from './utils/debounce.js'
|
|
32
|
-
export { createResource } from './utils/resources.js'
|
|
33
32
|
export { default as pageMeta } from './utils/pageMeta.js'
|
|
33
|
+
export {
|
|
34
|
+
createResource,
|
|
35
|
+
createDocumentResource,
|
|
36
|
+
createListResource,
|
|
37
|
+
} from './utils/resources.js'
|
|
34
38
|
|
|
35
39
|
// plugin
|
|
36
40
|
export { default as FrappeUI } from './utils/plugin.js'
|
package/src/utils/resources.js
CHANGED
|
@@ -284,7 +284,7 @@ export function createDocumentResource(options, vm) {
|
|
|
284
284
|
return out
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
function createListResource(options, vm, getResource) {
|
|
287
|
+
export function createListResource(options, vm, getResource) {
|
|
288
288
|
if (!options.doctype) return
|
|
289
289
|
|
|
290
290
|
let cacheKey = getCacheKey(options.cache)
|