@farris/ui-vue 1.8.5-beta.13 → 1.8.5-beta.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/ui-vue",
3
- "version": "1.8.5-beta.13",
3
+ "version": "1.8.5-beta.14",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Farris Vue, a Farris Design based Vue3 component library.",
6
6
  "keywords": [
@@ -38,6 +38,7 @@ export * from './utils/use-bem';
38
38
  export * from './utils/use-image-basepath';
39
39
  export * from './utils/locator-attrs';
40
40
  export * from './config';
41
+ export * from './text-box/use-input-expand';
41
42
  declare const _default: {
42
43
  install(app: App): void;
43
44
  register(componentMap: Record<string, any>, propsResolverMap: Record<string, any>, configResolverMap: Record<string, any>, resolverMap: Record<string, any>): void;
@@ -1,5 +1,5 @@
1
- import { Ref } from "vue";
2
- import { LookupHttpResult, LookupHttpService, TreeInfo } from "./types";
1
+ import { ComputedRef, Ref } from "vue";
2
+ import { LookupHttpResult, LookupHttpService, LookupRequestParams, TreeInfo } from "./types";
3
3
  import { LookupStates } from "./use-state";
4
4
  import { LookupPropsLike } from "../lookup.props";
5
5
  export declare const LOOKUP_HTTP_COMPOSITION = "F_LOOKUP_HTTP_COMPOSITION_TOKEN";
@@ -14,7 +14,10 @@ export interface UseHttpComposition {
14
14
  getChildNodes: (node: any) => Array<any>;
15
15
  lookupStates: LookupStates;
16
16
  httpService?: LookupHttpService;
17
- lookupRequest: () => ((uri: any, params: any) => Promise<LookupHttpResult>) | undefined;
17
+ /** 是否具备远程取数能力:自定义 loader > 注入的 httpService > 配置的 uri(历史用法) */
18
+ hasRemoteDataSource: ComputedRef<boolean>;
19
+ /** 取数函数:自定义 loader 或注入的 httpService.getData;两者均未提供时为 undefined */
20
+ lookupRequest: () => ((uri: string, params: LookupRequestParams) => Promise<LookupHttpResult>) | undefined;
18
21
  expandAllNodes: (treeNodes: any[], isNavigation?: boolean) => any[];
19
22
  getIdQueryParams: () => any;
20
23
  setTreeInfo: (resData: TreeInfo, isNavigation?: boolean) => void;