pdap-design-system 3.2.1 → 3.2.3

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.
Files changed (28) hide show
  1. package/dist/components/AsyncTypeahead/AsyncTypeahead.vue.d.ts +28 -19
  2. package/dist/components/Button/PdapButton.vue.d.ts +13 -13
  3. package/dist/components/Dropdown/PdapDropdown.vue.d.ts +16 -15
  4. package/dist/components/ErrorBoundary/PdapErrorBoundary.vue.d.ts +14 -14
  5. package/dist/components/Form/PdapForm.vue.d.ts +13 -13
  6. package/dist/components/FormV2/PdapFormV2.vue.d.ts +11 -8
  7. package/dist/components/Header/PdapHeader.vue.d.ts +9 -9
  8. package/dist/components/Input/Checkbox/InputCheckbox.vue.d.ts +3 -3
  9. package/dist/components/Input/PdapInput.vue.d.ts +8 -8
  10. package/dist/components/Input/Text/InputText.vue.d.ts +3 -3
  11. package/dist/components/InputCheckbox/PdapInputCheckbox.vue.d.ts +9 -6
  12. package/dist/components/InputDatePicker/PdapInputDatePicker.vue.d.ts +9 -6
  13. package/dist/components/InputPassword/PdapInputPassword.vue.d.ts +9 -6
  14. package/dist/components/InputRadio/PdapInputRadio.vue.d.ts +4 -4
  15. package/dist/components/InputRadioGroup/PdapInputRadioGroup.vue.d.ts +11 -9
  16. package/dist/components/InputSelect/PdapInputSelect.vue.d.ts +19 -16
  17. package/dist/components/InputSelectMulti/PdapInputSelectMulti.vue.d.ts +19 -16
  18. package/dist/components/InputText/PdapInputText.vue.d.ts +9 -6
  19. package/dist/components/InputTextArea/PdapInputTextArea.vue.d.ts +19 -16
  20. package/dist/components/QuickSearchForm/QuickSearchForm.vue.d.ts +9 -9
  21. package/dist/components/RecordTypeIcon/RecordTypeIcon.vue.d.ts +3 -3
  22. package/dist/components/Spinner/PdapSpinner.vue.d.ts +10 -10
  23. package/dist/components/TileIcon/TileIcon.vue.d.ts +2 -2
  24. package/dist/index.cjs +7 -7
  25. package/dist/index.css +1 -0
  26. package/dist/index.js +6491 -5996
  27. package/package.json +10 -10
  28. package/dist/styles.css +0 -1
@@ -1,7 +1,7 @@
1
1
  declare const _default: <T>(__VLS_props: {
2
- onOnInput?: ((...args: any[]) => any) | undefined;
3
2
  onOnFocus?: ((...args: any[]) => any) | undefined;
4
3
  onOnBlur?: ((...args: any[]) => any) | undefined;
4
+ onOnInput?: ((...args: any[]) => any) | undefined;
5
5
  onSelectItem?: ((...args: any[]) => any) | undefined;
6
6
  id: string;
7
7
  placeholder?: string | undefined;
@@ -11,13 +11,16 @@ declare const _default: <T>(__VLS_props: {
11
11
  position?: "top" | "bottom" | undefined;
12
12
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
13
13
  attrs: any;
14
- emit: (event: "onInput" | "onFocus" | "onBlur" | "selectItem", ...args: any[]) => void;
15
14
  slots: {
16
- label?(_: {}): any;
17
- error?(_: {}): any;
18
- item?(_: T): any;
19
- "not-found"?(_: {}): any;
15
+ label?: ((props: {}) => any) | undefined;
16
+ } & {
17
+ error?: ((props: {}) => any) | undefined;
18
+ } & {
19
+ item?: ((props: T) => any) | undefined;
20
+ } & {
21
+ 'not-found'?: ((props: {}) => any) | undefined;
20
22
  };
23
+ emit: (event: "onFocus" | "onBlur" | "onInput" | "selectItem", ...args: any[]) => void;
21
24
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
22
25
  boldMatchText: (text: string) => string;
23
26
  clearInput: () => void;
@@ -25,9 +28,9 @@ declare const _default: <T>(__VLS_props: {
25
28
  readonly value: string;
26
29
  }>) => void) | undefined, __VLS_setup?: Promise<{
27
30
  props: {
28
- onOnInput?: ((...args: any[]) => any) | undefined;
29
31
  onOnFocus?: ((...args: any[]) => any) | undefined;
30
32
  onOnBlur?: ((...args: any[]) => any) | undefined;
33
+ onOnInput?: ((...args: any[]) => any) | undefined;
31
34
  onSelectItem?: ((...args: any[]) => any) | undefined;
32
35
  id: string;
33
36
  placeholder?: string | undefined;
@@ -44,20 +47,23 @@ declare const _default: <T>(__VLS_props: {
44
47
  }>): void;
45
48
  attrs: any;
46
49
  slots: {
47
- label?(_: {}): any;
48
- error?(_: {}): any;
49
- item?(_: T): any;
50
- "not-found"?(_: {}): any;
50
+ label?: ((props: {}) => any) | undefined;
51
+ } & {
52
+ error?: ((props: {}) => any) | undefined;
53
+ } & {
54
+ item?: ((props: T) => any) | undefined;
55
+ } & {
56
+ 'not-found'?: ((props: {}) => any) | undefined;
51
57
  };
52
- emit: (event: "onInput" | "onFocus" | "onBlur" | "selectItem", ...args: any[]) => void;
58
+ emit: (event: "onFocus" | "onBlur" | "onInput" | "selectItem", ...args: any[]) => void;
53
59
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
60
  [key: string]: any;
55
61
  }> & {
56
62
  __ctx?: {
57
63
  props: {
58
- onOnInput?: ((...args: any[]) => any) | undefined;
59
64
  onOnFocus?: ((...args: any[]) => any) | undefined;
60
65
  onOnBlur?: ((...args: any[]) => any) | undefined;
66
+ onOnInput?: ((...args: any[]) => any) | undefined;
61
67
  onSelectItem?: ((...args: any[]) => any) | undefined;
62
68
  id: string;
63
69
  placeholder?: string | undefined;
@@ -74,15 +80,18 @@ declare const _default: <T>(__VLS_props: {
74
80
  }>): void;
75
81
  attrs: any;
76
82
  slots: {
77
- label?(_: {}): any;
78
- error?(_: {}): any;
79
- item?(_: T): any;
80
- "not-found"?(_: {}): any;
83
+ label?: ((props: {}) => any) | undefined;
84
+ } & {
85
+ error?: ((props: {}) => any) | undefined;
86
+ } & {
87
+ item?: ((props: T) => any) | undefined;
88
+ } & {
89
+ 'not-found'?: ((props: {}) => any) | undefined;
81
90
  };
82
- emit: (event: "onInput" | "onFocus" | "onBlur" | "selectItem", ...args: any[]) => void;
91
+ emit: (event: "onFocus" | "onBlur" | "onInput" | "selectItem", ...args: any[]) => void;
83
92
  } | undefined;
84
93
  };
85
94
  export default _default;
86
- type __VLS_Prettify<T> = {
95
+ type __VLS_PrettifyLocal<T> = {
87
96
  [K in keyof T]: T[K];
88
97
  } & {};
@@ -8,21 +8,26 @@ import { PdapButtonProps } from './types';
8
8
  * @prop {boolean} isLoading loading state of button
9
9
  *
10
10
  */
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapButtonProps>, {
11
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapButtonProps>, {
12
12
  intent: string;
13
13
  isLoading: boolean;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapButtonProps>, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapButtonProps>, {
15
15
  intent: string;
16
16
  isLoading: boolean;
17
17
  }>>>, {
18
18
  intent: "primary" | "secondary" | "tertiary";
19
19
  isLoading: boolean;
20
20
  }, {}>, {
21
- default?(_: {}): any;
21
+ default?: ((props: {}) => any) | undefined;
22
22
  }>;
23
23
  export default _default;
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
24
29
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToRuntimeProps<T> = {
30
+ type __VLS_TypePropsToOption<T> = {
26
31
  [K in keyof T]-?: {} extends Pick<T, K> ? {
27
32
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
33
  } : {
@@ -30,16 +35,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
30
35
  required: true;
31
36
  };
32
37
  };
33
- type __VLS_WithDefaults<P, D> = {
34
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
- default: D[K];
36
- }> : P[K];
37
- };
38
- type __VLS_Prettify<T> = {
39
- [K in keyof T]: T[K];
40
- } & {};
41
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
42
39
  new (): {
43
40
  $slots: S;
44
41
  };
45
42
  };
43
+ type __VLS_PrettifyLocal<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -9,14 +9,14 @@ import { PdapDropdownProps, PdapDropdownTriggerType } from './types';
9
9
  * @prop {PdapDropdownTriggerType} triggerType `'press' | 'hover'`
10
10
  *
11
11
  */
12
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapDropdownProps>, {
12
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapDropdownProps>, {
13
13
  defaultOpen: boolean;
14
14
  disabled: boolean;
15
15
  triggerOn: PdapDropdownTriggerType;
16
16
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
17
  press: (...args: any[]) => void;
18
18
  "update:open": (...args: any[]) => void;
19
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapDropdownProps>, {
19
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapDropdownProps>, {
20
20
  defaultOpen: boolean;
21
21
  disabled: boolean;
22
22
  triggerOn: PdapDropdownTriggerType;
@@ -24,16 +24,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  onPress?: ((...args: any[]) => any) | undefined;
25
25
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
26
26
  }, {
27
- defaultOpen: boolean;
28
27
  disabled: boolean;
28
+ defaultOpen: boolean;
29
29
  triggerOn: PdapDropdownTriggerType;
30
30
  }, {}>, {
31
- trigger?(_: {}): any;
32
- content?(_: {}): any;
31
+ trigger?: ((props: {}) => any) | undefined;
32
+ } & {
33
+ content?: ((props: {}) => any) | undefined;
33
34
  }>;
34
35
  export default _default;
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
35
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToRuntimeProps<T> = {
42
+ type __VLS_TypePropsToOption<T> = {
37
43
  [K in keyof T]-?: {} extends Pick<T, K> ? {
38
44
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
45
  } : {
@@ -41,16 +47,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
41
47
  required: true;
42
48
  };
43
49
  };
44
- type __VLS_WithDefaults<P, D> = {
45
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
- default: D[K];
47
- }> : P[K];
48
- };
49
- type __VLS_Prettify<T> = {
50
- [K in keyof T]: T[K];
51
- } & {};
52
- type __VLS_WithTemplateSlots<T, S> = T & {
50
+ type __VLS_WithSlots<T, S> = T & {
53
51
  new (): {
54
52
  $slots: S;
55
53
  };
56
54
  };
55
+ type __VLS_PrettifyLocal<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
@@ -40,13 +40,13 @@ import { PdapErrorBoundaryProps, PdapErrorEmitted } from './types';
40
40
  </ErrorBoundary>
41
41
  *
42
42
  */
43
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapErrorBoundaryProps>, {
43
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapErrorBoundaryProps>, {
44
44
  component: string;
45
45
  onError: undefined;
46
46
  params: undefined;
47
47
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
48
  onError: (args_0: PdapErrorEmitted) => void;
49
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapErrorBoundaryProps>, {
49
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapErrorBoundaryProps>, {
50
50
  component: string;
51
51
  onError: undefined;
52
52
  params: undefined;
@@ -54,14 +54,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
54
54
  onOnError?: ((args_0: PdapErrorEmitted) => any) | undefined;
55
55
  }, {
56
56
  onError: (error: Error, target?: ComponentPublicInstance | null | undefined, info?: string | undefined) => void;
57
- params: Record<string, string>;
58
57
  component: string;
58
+ params: Record<string, string>;
59
59
  }, {}>, {
60
- default?(_: {}): any;
60
+ default?: ((props: {}) => any) | undefined;
61
61
  }>;
62
62
  export default _default;
63
+ type __VLS_WithDefaults<P, D> = {
64
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
65
+ default: D[K];
66
+ }> : P[K];
67
+ };
63
68
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
- type __VLS_TypePropsToRuntimeProps<T> = {
69
+ type __VLS_TypePropsToOption<T> = {
65
70
  [K in keyof T]-?: {} extends Pick<T, K> ? {
66
71
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
67
72
  } : {
@@ -69,16 +74,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
69
74
  required: true;
70
75
  };
71
76
  };
72
- type __VLS_WithDefaults<P, D> = {
73
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
74
- default: D[K];
75
- }> : P[K];
76
- };
77
- type __VLS_Prettify<T> = {
78
- [K in keyof T]: T[K];
79
- } & {};
80
- type __VLS_WithTemplateSlots<T, S> = T & {
77
+ type __VLS_WithSlots<T, S> = T & {
81
78
  new (): {
82
79
  $slots: S;
83
80
  };
84
81
  };
82
+ type __VLS_PrettifyLocal<T> = {
83
+ [K in keyof T]: T[K];
84
+ } & {};
@@ -107,7 +107,7 @@ import { PdapFormProps } from './types';
107
107
  *}
108
108
  * </scriptt>
109
109
  */
110
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapFormProps>, {
110
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapFormProps>, {
111
111
  error: null;
112
112
  resetOn: string;
113
113
  }>, {
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
115
115
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
116
116
  submit: (...args: any[]) => void;
117
117
  change: (...args: any[]) => void;
118
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapFormProps>, {
118
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapFormProps>, {
119
119
  error: null;
120
120
  resetOn: string;
121
121
  }>>> & {
@@ -125,11 +125,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
125
125
  error: string | null;
126
126
  resetOn: boolean | "submit";
127
127
  }, {}>, {
128
- default?(_: {}): any;
128
+ default?: ((props: {}) => any) | undefined;
129
129
  }>;
130
130
  export default _default;
131
+ type __VLS_WithDefaults<P, D> = {
132
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
133
+ default: D[K];
134
+ }> : P[K];
135
+ };
131
136
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
132
- type __VLS_TypePropsToRuntimeProps<T> = {
137
+ type __VLS_TypePropsToOption<T> = {
133
138
  [K in keyof T]-?: {} extends Pick<T, K> ? {
134
139
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
135
140
  } : {
@@ -137,16 +142,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
137
142
  required: true;
138
143
  };
139
144
  };
140
- type __VLS_WithDefaults<P, D> = {
141
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
142
- default: D[K];
143
- }> : P[K];
144
- };
145
- type __VLS_Prettify<T> = {
146
- [K in keyof T]: T[K];
147
- } & {};
148
- type __VLS_WithTemplateSlots<T, S> = T & {
145
+ type __VLS_WithSlots<T, S> = T & {
149
146
  new (): {
150
147
  $slots: S;
151
148
  };
152
149
  };
150
+ type __VLS_PrettifyLocal<T> = {
151
+ [K in keyof T]: T[K];
152
+ } & {};
@@ -1,7 +1,13 @@
1
1
  import { PdapFormPropsV2 } from './types';
2
2
  declare const values: import("vue").Ref<Record<PropertyKey, unknown>>;
3
3
  declare function setValues(val: Partial<typeof values.value>): void;
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapFormPropsV2>, {
4
+ declare var __VLS_1: {}, __VLS_3: {};
5
+ type __VLS_Slots = {} & {
6
+ error?: (props: typeof __VLS_1) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_3) => any;
9
+ };
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<PdapFormPropsV2>, {
5
11
  setValues: typeof setValues;
6
12
  v$: import("vue").Ref<import("@vuelidate/core").Validation<Record<string, {
7
13
  password: any;
@@ -17,17 +23,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
17
23
  error: (...args: any[]) => void;
18
24
  submit: (...args: any[]) => void;
19
25
  change: (...args: any[]) => void;
20
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapFormPropsV2>>> & {
26
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapFormPropsV2>>> & {
21
27
  onChange?: ((...args: any[]) => any) | undefined;
22
28
  onSubmit?: ((...args: any[]) => any) | undefined;
23
29
  onError?: ((...args: any[]) => any) | undefined;
24
- }, {}, {}>, {
25
- error?(_: {}): any;
26
- default?(_: {}): any;
27
- }>;
30
+ }, {}, {}>, __VLS_Slots>;
28
31
  export default _default;
29
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToRuntimeProps<T> = {
33
+ type __VLS_TypePropsToOption<T> = {
31
34
  [K in keyof T]-?: {} extends Pick<T, K> ? {
32
35
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
36
  } : {
@@ -35,7 +38,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
35
38
  required: true;
36
39
  };
37
40
  };
38
- type __VLS_WithTemplateSlots<T, S> = T & {
41
+ type __VLS_WithSlots<T, S> = T & {
39
42
  new (): {
40
43
  $slots: S;
41
44
  };
@@ -10,16 +10,21 @@ import { PdapHeaderProps } from './types';
10
10
  * The `Header` component does not require any props to be passed. But keep in mind that it is responsible for rendering the `Nav` component. Consuming applications will need to `provide` an array of nav links -- **there are no defaults for this**, you must `provide` these links either 1\. in a layout component (see example below), at the route level, or at the app level. This allows for flexibility in which links are rendered on which routes
11
11
  *
12
12
  */
13
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapHeaderProps>, {
13
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapHeaderProps>, {
14
14
  logoAnchorPath: string;
15
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapHeaderProps>, {
15
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapHeaderProps>, {
16
16
  logoAnchorPath: string;
17
17
  }>>>, {
18
18
  logoAnchorPath: string;
19
19
  }, {}>;
20
20
  export default _default;
21
+ type __VLS_WithDefaults<P, D> = {
22
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
23
+ default: D[K];
24
+ }> : P[K];
25
+ };
21
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
27
+ type __VLS_TypePropsToOption<T> = {
23
28
  [K in keyof T]-?: {} extends Pick<T, K> ? {
24
29
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
30
  } : {
@@ -27,11 +32,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
27
32
  required: true;
28
33
  };
29
34
  };
30
- type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
- default: D[K];
33
- }> : P[K];
34
- };
35
- type __VLS_Prettify<T> = {
35
+ type __VLS_PrettifyLocal<T> = {
36
36
  [K in keyof T]: T[K];
37
37
  } & {};
@@ -1,12 +1,12 @@
1
1
  import { PdapInputCheckboxProps } from '../types';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapInputCheckboxProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<PdapInputCheckboxProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  input: (val: Event) => void;
4
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapInputCheckboxProps>>> & {
4
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapInputCheckboxProps>>> & {
5
5
  onInput?: ((val: Event) => any) | undefined;
6
6
  }, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
9
+ type __VLS_TypePropsToOption<T> = {
10
10
  [K in keyof T]-?: {} extends Pick<T, K> ? {
11
11
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
12
  } : {
@@ -1,8 +1,13 @@
1
1
  import { PdapInputProps, PdapInputCheckboxProps, PdapInputTextProps } from './types';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputTextProps>, {}>>> | Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputCheckboxProps>, {}>>>, {} | {}, {}>;
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapInputProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapInputTextProps>, {}>>> | Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapInputCheckboxProps>, {}>>>, {} | {}, {}>;
3
3
  export default _default;
4
+ type __VLS_WithDefaults<P, D> = {
5
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
6
+ default: D[K];
7
+ }> : P[K];
8
+ };
4
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
- type __VLS_TypePropsToRuntimeProps<T> = {
10
+ type __VLS_TypePropsToOption<T> = {
6
11
  [K in keyof T]-?: {} extends Pick<T, K> ? {
7
12
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
13
  } : {
@@ -10,11 +15,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
10
15
  required: true;
11
16
  };
12
17
  };
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
18
+ type __VLS_PrettifyLocal<T> = {
19
19
  [K in keyof T]: T[K];
20
20
  } & {};
@@ -1,12 +1,12 @@
1
1
  import { PdapInputTextProps } from '../types';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapInputTextProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<PdapInputTextProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  input: (val: Event) => void;
4
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapInputTextProps>>> & {
4
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapInputTextProps>>> & {
5
5
  onInput?: ((val: Event) => any) | undefined;
6
6
  }, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
9
+ type __VLS_TypePropsToOption<T> = {
10
10
  [K in keyof T]-?: {} extends Pick<T, K> ? {
11
11
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
12
  } : {
@@ -1,11 +1,14 @@
1
1
  import { PdapInputCheckboxProps } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapInputCheckboxProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapInputCheckboxProps>>>, {}, {}>, {
3
- error?(_: {}): any;
4
- label?(_: {}): any;
5
- }>;
2
+ declare var __VLS_1: {}, __VLS_3: {};
3
+ type __VLS_Slots = {} & {
4
+ error?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ label?: (props: typeof __VLS_3) => any;
7
+ };
8
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<PdapInputCheckboxProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapInputCheckboxProps>>>, {}, {}>, __VLS_Slots>;
6
9
  export default _default;
7
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
11
+ type __VLS_TypePropsToOption<T> = {
9
12
  [K in keyof T]-?: {} extends Pick<T, K> ? {
10
13
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
14
  } : {
@@ -13,7 +16,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
13
16
  required: true;
14
17
  };
15
18
  };
16
- type __VLS_WithTemplateSlots<T, S> = T & {
19
+ type __VLS_WithSlots<T, S> = T & {
17
20
  new (): {
18
21
  $slots: S;
19
22
  };
@@ -1,12 +1,15 @@
1
1
  import '@vuepic/vue-datepicker/dist/main.css';
2
2
  import { PdapDatePickerProps } from './types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapDatePickerProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapDatePickerProps>>>, {}, {}>, {
4
- label?(_: {}): any;
5
- error?(_: {}): any;
6
- }>;
3
+ declare var __VLS_1: {}, __VLS_3: {};
4
+ type __VLS_Slots = {} & {
5
+ label?: (props: typeof __VLS_1) => any;
6
+ } & {
7
+ error?: (props: typeof __VLS_3) => any;
8
+ };
9
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<PdapDatePickerProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapDatePickerProps>>>, {}, {}>, __VLS_Slots>;
7
10
  export default _default;
8
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToRuntimeProps<T> = {
12
+ type __VLS_TypePropsToOption<T> = {
10
13
  [K in keyof T]-?: {} extends Pick<T, K> ? {
11
14
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
15
  } : {
@@ -14,7 +17,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
14
17
  required: true;
15
18
  };
16
19
  };
17
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
18
21
  new (): {
19
22
  $slots: S;
20
23
  };
@@ -1,11 +1,14 @@
1
1
  import { PdapInputTextProps } from '../InputText/types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapInputTextProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapInputTextProps>>>, {}, {}>, {
3
- label?(_: {}): any;
4
- error?(_: {}): any;
5
- }>;
2
+ declare var __VLS_1: {}, __VLS_3: {};
3
+ type __VLS_Slots = {} & {
4
+ label?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ error?: (props: typeof __VLS_3) => any;
7
+ };
8
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<PdapInputTextProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapInputTextProps>>>, {}, {}>, __VLS_Slots>;
6
9
  export default _default;
7
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
11
+ type __VLS_TypePropsToOption<T> = {
9
12
  [K in keyof T]-?: {} extends Pick<T, K> ? {
10
13
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
14
  } : {
@@ -13,7 +16,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
13
16
  required: true;
14
17
  };
15
18
  };
16
- type __VLS_WithTemplateSlots<T, S> = T & {
19
+ type __VLS_WithSlots<T, S> = T & {
17
20
  new (): {
18
21
  $slots: S;
19
22
  };
@@ -1,10 +1,10 @@
1
1
  import { PdapInputRadioProps } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapInputRadioProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapInputRadioProps>>>, {}, {}>, {
3
- label?(_: {}): any;
2
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<PdapInputRadioProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapInputRadioProps>>>, {}, {}>, {
3
+ label?: ((props: {}) => any) | undefined;
4
4
  }>;
5
5
  export default _default;
6
6
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
- type __VLS_TypePropsToRuntimeProps<T> = {
7
+ type __VLS_TypePropsToOption<T> = {
8
8
  [K in keyof T]-?: {} extends Pick<T, K> ? {
9
9
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
10
10
  } : {
@@ -12,7 +12,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
12
12
  required: true;
13
13
  };
14
14
  };
15
- type __VLS_WithTemplateSlots<T, S> = T & {
15
+ type __VLS_WithSlots<T, S> = T & {
16
16
  new (): {
17
17
  $slots: S;
18
18
  };
@@ -1,14 +1,16 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ type __VLS_Props = {
2
2
  name: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- name: string;
5
- }>>>, {}, {}>, {
6
- error?(_: {}): any;
7
- default?(_: {}): any;
8
- }>;
3
+ };
4
+ declare var __VLS_1: {}, __VLS_3: {};
5
+ type __VLS_Slots = {} & {
6
+ error?: (props: typeof __VLS_1) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_3) => any;
9
+ };
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>, __VLS_Slots>;
9
11
  export default _default;
10
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
13
+ type __VLS_TypePropsToOption<T> = {
12
14
  [K in keyof T]-?: {} extends Pick<T, K> ? {
13
15
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
16
  } : {
@@ -16,7 +18,7 @@ type __VLS_TypePropsToRuntimeProps<T> = {
16
18
  required: true;
17
19
  };
18
20
  };
19
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
20
22
  new (): {
21
23
  $slots: S;
22
24
  };