pdap-design-system 3.1.0-beta.5 → 3.1.0-beta.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,6 @@
1
1
  import { PdapInputCheckboxProps } from './types';
2
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?(_: {
4
- class: string;
5
- }): any;
3
+ error?(_: {}): any;
6
4
  label?(_: {}): any;
7
5
  }>;
8
6
  export default _default;
@@ -1,9 +1,7 @@
1
1
  import { PdapInputTextProps } from '../InputText/types';
2
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
- error?(_: {
4
- class: string;
5
- }): any;
6
3
  label?(_: {}): any;
4
+ error?(_: {}): any;
7
5
  }>;
8
6
  export default _default;
9
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,34 @@
1
+ import { PdapInputSelectProps } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
3
+ placeholder: string;
4
+ }>, {}, 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<PdapInputSelectProps>, {
5
+ placeholder: string;
6
+ }>>>, {
7
+ placeholder: string;
8
+ }, {}>, {
9
+ label?(_: {}): any;
10
+ error?(_: {}): any;
11
+ }>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_Prettify<T> = {
28
+ [K in keyof T]: T[K];
29
+ } & {};
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1 @@
1
+ export { default as InputSelect } from './PdapInputSelect.vue';
@@ -0,0 +1,11 @@
1
+ export interface PdapSelectOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface PdapInputSelectProps {
6
+ id: string;
7
+ label?: string;
8
+ name: string;
9
+ placeholder?: string;
10
+ options: PdapSelectOption[];
11
+ }
@@ -1,9 +1,7 @@
1
1
  import { PdapInputTextProps } from './types';
2
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
- error?(_: {
4
- class: string;
5
- }): any;
6
3
  label?(_: {}): any;
4
+ error?(_: {}): any;
7
5
  }>;
8
6
  export default _default;
9
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;