pdap-design-system 3.2.2 → 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,12 +1,18 @@
1
1
  import { PdapSelectOption as Option, PdapInputSelectProps } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
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_WithDefaults<__VLS_TypePropsToOption<PdapInputSelectProps>, {
3
9
  combobox: boolean;
4
10
  placeholder: string;
5
11
  position: string;
6
12
  filter: (searchText: any, options: any) => any;
7
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
14
  change: (...args: any[]) => void;
9
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
15
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapInputSelectProps>, {
10
16
  combobox: boolean;
11
17
  placeholder: string;
12
18
  position: string;
@@ -18,13 +24,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
24
  placeholder: string;
19
25
  position: "top" | "bottom";
20
26
  combobox: boolean;
21
- }, {}>, {
22
- label?(_: {}): any;
23
- error?(_: {}): any;
24
- }>;
27
+ }, {}>, __VLS_Slots>;
25
28
  export default _default;
29
+ type __VLS_WithDefaults<P, D> = {
30
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
31
+ default: D[K];
32
+ }> : P[K];
33
+ };
26
34
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
35
+ type __VLS_TypePropsToOption<T> = {
28
36
  [K in keyof T]-?: {} extends Pick<T, K> ? {
29
37
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
38
  } : {
@@ -32,16 +40,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
32
40
  required: true;
33
41
  };
34
42
  };
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
- type __VLS_WithTemplateSlots<T, S> = T & {
43
+ type __VLS_WithSlots<T, S> = T & {
44
44
  new (): {
45
45
  $slots: S;
46
46
  };
47
47
  };
48
+ type __VLS_PrettifyLocal<T> = {
49
+ [K in keyof T]: T[K];
50
+ } & {};
@@ -1,10 +1,16 @@
1
1
  import { PdapInputSelectProps } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
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_WithDefaults<__VLS_TypePropsToOption<PdapInputSelectProps>, {
3
9
  placeholder: string;
4
10
  position: string;
5
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
12
  change: (...args: any[]) => void;
7
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputSelectProps>, {
13
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapInputSelectProps>, {
8
14
  placeholder: string;
9
15
  position: string;
10
16
  }>>> & {
@@ -12,13 +18,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
18
  }, {
13
19
  placeholder: string;
14
20
  position: "top" | "bottom";
15
- }, {}>, {
16
- label?(_: {}): any;
17
- error?(_: {}): any;
18
- }>;
21
+ }, {}>, __VLS_Slots>;
19
22
  export default _default;
23
+ type __VLS_WithDefaults<P, D> = {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
25
+ default: D[K];
26
+ }> : P[K];
27
+ };
20
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
29
+ type __VLS_TypePropsToOption<T> = {
22
30
  [K in keyof T]-?: {} extends Pick<T, K> ? {
23
31
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
32
  } : {
@@ -26,16 +34,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
26
34
  required: true;
27
35
  };
28
36
  };
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
- type __VLS_WithTemplateSlots<T, S> = T & {
37
+ type __VLS_WithSlots<T, S> = T & {
38
38
  new (): {
39
39
  $slots: S;
40
40
  };
41
41
  };
42
+ type __VLS_PrettifyLocal<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
@@ -1,11 +1,14 @@
1
1
  import { PdapInputTextProps } from './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,17 +1,25 @@
1
1
  import { PdapInputTextAreaProps } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapInputTextAreaProps>, {
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_WithDefaults<__VLS_TypePropsToOption<PdapInputTextAreaProps>, {
3
9
  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<PdapInputTextAreaProps>, {
10
+ }>, {}, 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<PdapInputTextAreaProps>, {
5
11
  placeholder: string;
6
12
  }>>>, {
7
13
  placeholder: string;
8
- }, {}>, {
9
- label?(_: {}): any;
10
- error?(_: {}): any;
11
- }>;
14
+ }, {}>, __VLS_Slots>;
12
15
  export default _default;
16
+ type __VLS_WithDefaults<P, D> = {
17
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
18
+ default: D[K];
19
+ }> : P[K];
20
+ };
13
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
22
+ type __VLS_TypePropsToOption<T> = {
15
23
  [K in keyof T]-?: {} extends Pick<T, K> ? {
16
24
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
25
  } : {
@@ -19,16 +27,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
19
27
  required: true;
20
28
  };
21
29
  };
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 & {
30
+ type __VLS_WithSlots<T, S> = T & {
31
31
  new (): {
32
32
  $slots: S;
33
33
  };
34
34
  };
35
+ type __VLS_PrettifyLocal<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
@@ -12,11 +12,11 @@
12
12
  * | `'prod'` | `'https://data-sources.pdap.io'` |
13
13
  *
14
14
  */
15
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
16
16
  baseUrlForRedirect: string;
17
17
  }>, {
18
18
  baseUrlForRedirect: string;
19
- }>, {}, 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<{
19
+ }>, {}, 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<{
20
20
  baseUrlForRedirect: string;
21
21
  }>, {
22
22
  baseUrlForRedirect: string;
@@ -24,8 +24,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
24
24
  baseUrlForRedirect: string;
25
25
  }, {}>;
26
26
  export default _default;
27
+ type __VLS_WithDefaults<P, D> = {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
29
+ default: D[K];
30
+ }> : P[K];
31
+ };
27
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
33
+ type __VLS_TypePropsToOption<T> = {
29
34
  [K in keyof T]-?: {} extends Pick<T, K> ? {
30
35
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
36
  } : {
@@ -33,11 +38,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
33
38
  required: true;
34
39
  };
35
40
  };
36
- type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
- default: D[K];
39
- }> : P[K];
40
- };
41
- type __VLS_Prettify<T> = {
41
+ type __VLS_PrettifyLocal<T> = {
42
42
  [K in keyof T]: T[K];
43
43
  } & {};
@@ -1,12 +1,12 @@
1
1
  interface Props {
2
2
  recordType: string;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {
5
5
  recordTypesToIcons: import("vue").Ref<Map<string, import("@fortawesome/fontawesome-common-types").IconDefinition>>;
6
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
6
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
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
  } : {
@@ -5,25 +5,30 @@ import { PdapSpinnerProps } from './types';
5
5
  *
6
6
  * @preserve
7
7
  */
8
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapSpinnerProps>, {
8
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapSpinnerProps>, {
9
9
  color: string;
10
10
  size: number;
11
11
  text: string;
12
12
  show: boolean;
13
- }>, {}, 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<PdapSpinnerProps>, {
13
+ }>, {}, 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<PdapSpinnerProps>, {
14
14
  color: string;
15
15
  size: number;
16
16
  text: string;
17
17
  show: boolean;
18
18
  }>>>, {
19
- text: string;
20
19
  color: string;
21
20
  size: number;
21
+ text: string;
22
22
  show: boolean;
23
23
  }, {}>;
24
24
  export default _default;
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
25
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
31
+ type __VLS_TypePropsToOption<T> = {
27
32
  [K in keyof T]-?: {} extends Pick<T, K> ? {
28
33
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
34
  } : {
@@ -31,11 +36,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
31
36
  required: true;
32
37
  };
33
38
  };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
39
+ type __VLS_PrettifyLocal<T> = {
40
40
  [K in keyof T]: T[K];
41
41
  } & {};
@@ -2,10 +2,10 @@ import { PdapTileIconProps } from './types';
2
2
  /**
3
3
  * @deprecated unused
4
4
  */
5
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapTileIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapTileIconProps>>>, {}, {}>;
5
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<PdapTileIconProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PdapTileIconProps>>>, {}, {}>;
6
6
  export default _default;
7
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
8
+ type __VLS_TypePropsToOption<T> = {
9
9
  [K in keyof T]-?: {} extends Pick<T, K> ? {
10
10
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
11
  } : {