pdap-design-system 3.0.0 → 3.1.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,9 @@ import { PdapFormProps } from './types';
107
107
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapFormProps>, {
108
108
  error: null;
109
109
  resetOn: string;
110
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
110
+ }>, {
111
+ setValues: <T extends Record<string, string>>(update: T) => void;
112
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
111
113
  change: (...args: any[]) => void;
112
114
  submit: (...args: any[]) => void;
113
115
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapFormProps>, {
@@ -0,0 +1,16 @@
1
+ interface Props {
2
+ recordType: string;
3
+ }
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {
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>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1 @@
1
+ export { default as RecordTypeIcon } from './RecordTypeIcon.vue';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Creates map with type inference
3
+ *
4
+ * UNUSED FOR NOW, but we may need it later
5
+ */
@@ -10,3 +10,4 @@ export { TileIcon } from './TileIcon';
10
10
  export { Dropdown } from './Dropdown';
11
11
  export { Breadcrumbs } from './Breadcrumbs';
12
12
  export { Spinner } from './Spinner';
13
+ export { RecordTypeIcon } from './RecordTypeIcon';