pdap-design-system 3.1.0-beta.38 → 3.1.0-beta.39

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.
@@ -0,0 +1,85 @@
1
+ declare const _default: <T>(__VLS_props: {
2
+ onOnInput?: ((...args: any[]) => any) | undefined;
3
+ onOnFocus?: ((...args: any[]) => any) | undefined;
4
+ onOnBlur?: ((...args: any[]) => any) | undefined;
5
+ onSelectItem?: ((...args: any[]) => any) | undefined;
6
+ id: string;
7
+ placeholder?: string | undefined;
8
+ items: T[] | undefined;
9
+ formatItemForDisplay?: ((item: T) => string) | undefined;
10
+ error?: string | undefined;
11
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
12
+ attrs: any;
13
+ emit: (event: "onInput" | "onFocus" | "onBlur" | "selectItem", ...args: any[]) => void;
14
+ slots: {
15
+ label?(_: {}): any;
16
+ error?(_: {}): any;
17
+ item?(_: T): any;
18
+ "not-found"?(_: {}): any;
19
+ };
20
+ } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
21
+ boldMatchText: (text: string) => string;
22
+ clearInput: () => void;
23
+ focusInput: () => void;
24
+ readonly value: string;
25
+ }>) => void) | undefined, __VLS_setup?: Promise<{
26
+ props: {
27
+ onOnInput?: ((...args: any[]) => any) | undefined;
28
+ onOnFocus?: ((...args: any[]) => any) | undefined;
29
+ onOnBlur?: ((...args: any[]) => any) | undefined;
30
+ onSelectItem?: ((...args: any[]) => any) | undefined;
31
+ id: string;
32
+ placeholder?: string | undefined;
33
+ items: T[] | undefined;
34
+ formatItemForDisplay?: ((item: T) => string) | undefined;
35
+ error?: string | undefined;
36
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
37
+ expose(exposed: import("vue").ShallowUnwrapRef<{
38
+ boldMatchText: (text: string) => string;
39
+ clearInput: () => void;
40
+ focusInput: () => void;
41
+ readonly value: string;
42
+ }>): void;
43
+ attrs: any;
44
+ slots: {
45
+ label?(_: {}): any;
46
+ error?(_: {}): any;
47
+ item?(_: T): any;
48
+ "not-found"?(_: {}): any;
49
+ };
50
+ emit: (event: "onInput" | "onFocus" | "onBlur" | "selectItem", ...args: any[]) => void;
51
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }> & {
54
+ __ctx?: {
55
+ props: {
56
+ onOnInput?: ((...args: any[]) => any) | undefined;
57
+ onOnFocus?: ((...args: any[]) => any) | undefined;
58
+ onOnBlur?: ((...args: any[]) => any) | undefined;
59
+ onSelectItem?: ((...args: any[]) => any) | undefined;
60
+ id: string;
61
+ placeholder?: string | undefined;
62
+ items: T[] | undefined;
63
+ formatItemForDisplay?: ((item: T) => string) | undefined;
64
+ error?: string | undefined;
65
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
66
+ expose(exposed: import("vue").ShallowUnwrapRef<{
67
+ boldMatchText: (text: string) => string;
68
+ clearInput: () => void;
69
+ focusInput: () => void;
70
+ readonly value: string;
71
+ }>): void;
72
+ attrs: any;
73
+ slots: {
74
+ label?(_: {}): any;
75
+ error?(_: {}): any;
76
+ item?(_: T): any;
77
+ "not-found"?(_: {}): any;
78
+ };
79
+ emit: (event: "onInput" | "onFocus" | "onBlur" | "selectItem", ...args: any[]) => void;
80
+ } | undefined;
81
+ };
82
+ export default _default;
83
+ type __VLS_Prettify<T> = {
84
+ [K in keyof T]: T[K];
85
+ } & {};
@@ -0,0 +1 @@
1
+ export { default as AsyncTypeahead } from './AsyncTypeahead.vue';
@@ -0,0 +1,7 @@
1
+ export interface PdapAsyncTypeaheadProps<T> {
2
+ id: string;
3
+ placeholder?: string;
4
+ items: T[] | undefined;
5
+ formatItemForDisplay?: (item: T) => string;
6
+ error?: string;
7
+ }
@@ -53,8 +53,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
53
  }>>> & {
54
54
  onOnError?: ((args_0: PdapErrorEmitted) => any) | undefined;
55
55
  }, {
56
- params: Record<string, string>;
57
56
  onError: (error: Error, target?: ComponentPublicInstance | null | undefined, info?: string | undefined) => void;
57
+ params: Record<string, string>;
58
58
  component: string;
59
59
  }, {}>, {
60
60
  default?(_: {}): any;
@@ -113,8 +113,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
113
113
  }>, {
114
114
  setValues: <T extends Record<string, string>>(update: T) => void;
115
115
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
- change: (...args: any[]) => void;
117
116
  submit: (...args: any[]) => void;
117
+ change: (...args: any[]) => void;
118
118
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapFormProps>, {
119
119
  error: null;
120
120
  resetOn: string;
@@ -14,9 +14,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
14
  custom: ((value: unknown) => boolean) | ((value: unknown) => boolean);
15
15
  } | undefined>, Record<PropertyKey, unknown>>>;
16
16
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- change: (...args: any[]) => void;
18
17
  error: (...args: any[]) => void;
19
18
  submit: (...args: any[]) => void;
19
+ change: (...args: any[]) => void;
20
20
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapFormPropsV2>>> & {
21
21
  onChange?: ((...args: any[]) => any) | undefined;
22
22
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -20,3 +20,4 @@ export { Dropdown } from './Dropdown';
20
20
  export { Breadcrumbs } from './Breadcrumbs';
21
21
  export { Spinner } from './Spinner';
22
22
  export { RecordTypeIcon } from './RecordTypeIcon';
23
+ export { AsyncTypeahead } from './AsyncTypeahead';
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;