dfh-ui-library 1.13.163 → 1.14.1
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.
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Accommodation/AccommodationDynamic_stories.d.ts +7 -0
- package/dist/cjs/types/components/ButtonGroupFormGen/ButtonGroupFormGen.d.ts +3 -4
- package/dist/cjs/types/components/ButtonGroupFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/index.d.ts +0 -1
- package/dist/{esm/types/components/FormElements → cjs/types/components}/CheckBoxFormGen/CheckBoxFormGen.d.ts +1 -1
- package/dist/cjs/types/components/Datepicker/DatePickerFormGen.d.ts +7 -2
- package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputTextGroupFormGenstories.d.ts +7 -0
- package/dist/cjs/types/components/TextAreaFormGen/TextAreaFormGen.d.ts +23 -0
- package/dist/cjs/types/shared/models/components/base.model.d.ts +1 -0
- package/dist/cjs/types/shared/models/components/common.model.d.ts +1 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Accommodation/AccommodationDynamic_stories.d.ts +7 -0
- package/dist/esm/types/components/ButtonGroupFormGen/ButtonGroupFormGen.d.ts +3 -4
- package/dist/esm/types/components/ButtonGroupFormGen/index.d.ts +0 -1
- package/dist/esm/types/components/ButtonGroupWithInputsFormGen/index.d.ts +0 -1
- package/dist/{cjs/types/components/FormElements → esm/types/components}/CheckBoxFormGen/CheckBoxFormGen.d.ts +1 -1
- package/dist/esm/types/components/Datepicker/DatePickerFormGen.d.ts +7 -2
- package/dist/esm/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputTextGroupFormGenstories.d.ts +7 -0
- package/dist/esm/types/components/TextAreaFormGen/TextAreaFormGen.d.ts +23 -0
- package/dist/esm/types/shared/models/components/base.model.d.ts +1 -0
- package/dist/esm/types/shared/models/components/common.model.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/types/components/ButtonGroupFormGen/ButtonGroupFormGenV2.d.ts +0 -3
- package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/ButtonGroupWithInputsFormGenV2.d.ts +0 -3
- package/dist/cjs/types/components/Datepicker/DatePickerFormGenV2.d.ts +0 -10
- package/dist/esm/types/components/ButtonGroupFormGen/ButtonGroupFormGenV2.d.ts +0 -3
- package/dist/esm/types/components/ButtonGroupWithInputsFormGen/ButtonGroupWithInputsFormGenV2.d.ts +0 -3
- package/dist/esm/types/components/Datepicker/DatePickerFormGenV2.d.ts +0 -10
- /package/dist/cjs/types/components/{FormElements/CheckBoxFormGen → CheckBoxFormGen}/index.d.ts +0 -0
- /package/dist/esm/types/components/{FormElements/CheckBoxFormGen → CheckBoxFormGen}/index.d.ts +0 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { Meta } from "@storybook/react";
|
3
|
+
import { DynamicInputMultiProps } from "../../shared/models/components/common.model";
|
4
|
+
import AccommodationDynamic from "./AccommodationDynamic";
|
5
|
+
declare const meta: Meta<typeof AccommodationDynamic>;
|
6
|
+
export default meta;
|
7
|
+
export declare const Story: (args: DynamicInputMultiProps) => React.JSX.Element;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import React from
|
2
|
-
import { FormGenButtonGroupProps } from
|
3
|
-
|
4
|
-
export default ButtonGroupFormGen;
|
1
|
+
import React from 'react';
|
2
|
+
import { FormGenButtonGroupProps } from '../../shared/models/components/common.model';
|
3
|
+
export default function ButtonGroupFormGen({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, additionalClasses, selected, viewMode, previousData, tooltip, }: FormGenButtonGroupProps): React.JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import { ICheckboxFormGenProps } from "
|
2
|
+
import { ICheckboxFormGenProps } from "../../shared/models/components/base.model";
|
3
3
|
declare const CheckBoxFormGen: React.FC<ICheckboxFormGenProps>;
|
4
4
|
export default CheckBoxFormGen;
|
@@ -1,5 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import '../../shared/customCss/react-datepicker.css';
|
3
3
|
import { CustomDatePickerProps } from '../../shared/models/components/common.model';
|
4
|
-
|
5
|
-
|
4
|
+
interface CustomDatePickerPropsV2 extends Omit<CustomDatePickerProps, 'selected'> {
|
5
|
+
selected?: {
|
6
|
+
value?: Date | string | null;
|
7
|
+
} | null;
|
8
|
+
}
|
9
|
+
declare const DatePickerFormGenV2: React.FC<CustomDatePickerPropsV2>;
|
10
|
+
export default DatePickerFormGenV2;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Meta } from '@storybook/react';
|
3
|
+
import { DynamicInputMultiProps } from '../../shared/models/components/common.model';
|
4
|
+
import DynamicDualInputTextGroupFormGen from './DynamicDualInputTextGroupFormGen';
|
5
|
+
declare const meta: Meta<typeof DynamicDualInputTextGroupFormGen>;
|
6
|
+
export default meta;
|
7
|
+
export declare const Story: (args: DynamicInputMultiProps) => React.JSX.Element;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { selectedValue } from '../../shared/models/components/common.model';
|
3
|
+
interface TextAreaFormGenProps {
|
4
|
+
id?: string;
|
5
|
+
label?: string;
|
6
|
+
value?: string;
|
7
|
+
onChange?: (value: string) => void;
|
8
|
+
error?: string;
|
9
|
+
additionalErrorClasses?: string;
|
10
|
+
additionalClasses?: string;
|
11
|
+
viewMode?: boolean;
|
12
|
+
previousData?: {
|
13
|
+
lastEditedDate?: string;
|
14
|
+
answerLabel: string;
|
15
|
+
};
|
16
|
+
tooltip?: string;
|
17
|
+
maxLength?: number;
|
18
|
+
rows?: number;
|
19
|
+
readOnly?: boolean;
|
20
|
+
selected?: selectedValue;
|
21
|
+
}
|
22
|
+
export default function TextAreaFormGen({ id, label, value, onChange, error, additionalErrorClasses, additionalClasses, viewMode, previousData, tooltip, maxLength, rows, readOnly, selected, }: TextAreaFormGenProps): React.JSX.Element;
|
23
|
+
export {};
|
@@ -360,6 +360,7 @@ export interface ICheckboxProps extends AdditionalClassesProp {
|
|
360
360
|
export interface ICheckboxFormGenProps extends AdditionalClassesProp {
|
361
361
|
onSelect?: (checked: {
|
362
362
|
isChecked: boolean;
|
363
|
+
value?: string | boolean;
|
363
364
|
}) => void;
|
364
365
|
selected?: {
|
365
366
|
isChecked: boolean;
|
package/dist/index.d.ts
CHANGED
@@ -145,6 +145,7 @@ interface ImagePreviewProps {
|
|
145
145
|
defaultImageUrl?: string;
|
146
146
|
isAddEditPatient?: boolean;
|
147
147
|
isLoading?: boolean;
|
148
|
+
isAutoResize?: boolean;
|
148
149
|
}
|
149
150
|
interface ImageInputProps {
|
150
151
|
imageUrl?: string;
|
@@ -1757,7 +1758,7 @@ declare const ButtonGroupWithInputs: React__default.FC<ButtonGroupProps>;
|
|
1757
1758
|
|
1758
1759
|
declare const ButtonGroupWithUpload: React__default.FC<ButtonGroupWithUploadProps>;
|
1759
1760
|
|
1760
|
-
declare
|
1761
|
+
declare function ButtonGroupFormGen({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, additionalClasses, selected, viewMode, previousData, tooltip, }: FormGenButtonGroupProps): React__default.JSX.Element;
|
1761
1762
|
|
1762
1763
|
declare const ButtonGroupWithMultiSelectFormGen: React__default.FC<FormGenButtonGroupMultiSelectProps>;
|
1763
1764
|
|
package/package.json
CHANGED
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { FormGenButtonGroupProps } from '../../shared/models/components/common.model';
|
3
|
-
export default function ButtonGroupFormGenV2({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, additionalClasses, selected, viewMode, previousData, tooltip, }: FormGenButtonGroupProps): React.JSX.Element;
|
package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/ButtonGroupWithInputsFormGenV2.d.ts
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { FormGenButtonGroupProps } from '../../shared/models/components/common.model';
|
3
|
-
export default function ButtonGroupWithInputsFormGenV2({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, selected, inputObjects, orderBy, additionalClasses, secondaryComponentsVisible, viewMode, previousData, tooltip, }: FormGenButtonGroupProps): React.JSX.Element;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import '../../shared/customCss/react-datepicker.css';
|
3
|
-
import { CustomDatePickerProps } from '../../shared/models/components/common.model';
|
4
|
-
interface CustomDatePickerPropsV2 extends Omit<CustomDatePickerProps, 'selected'> {
|
5
|
-
selected?: {
|
6
|
-
value?: Date | string | null;
|
7
|
-
} | null;
|
8
|
-
}
|
9
|
-
declare const DatePickerFormGenV2: React.FC<CustomDatePickerPropsV2>;
|
10
|
-
export default DatePickerFormGenV2;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { FormGenButtonGroupProps } from '../../shared/models/components/common.model';
|
3
|
-
export default function ButtonGroupFormGenV2({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, additionalClasses, selected, viewMode, previousData, tooltip, }: FormGenButtonGroupProps): React.JSX.Element;
|
package/dist/esm/types/components/ButtonGroupWithInputsFormGen/ButtonGroupWithInputsFormGenV2.d.ts
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { FormGenButtonGroupProps } from '../../shared/models/components/common.model';
|
3
|
-
export default function ButtonGroupWithInputsFormGenV2({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, selected, inputObjects, orderBy, additionalClasses, secondaryComponentsVisible, viewMode, previousData, tooltip, }: FormGenButtonGroupProps): React.JSX.Element;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import '../../shared/customCss/react-datepicker.css';
|
3
|
-
import { CustomDatePickerProps } from '../../shared/models/components/common.model';
|
4
|
-
interface CustomDatePickerPropsV2 extends Omit<CustomDatePickerProps, 'selected'> {
|
5
|
-
selected?: {
|
6
|
-
value?: Date | string | null;
|
7
|
-
} | null;
|
8
|
-
}
|
9
|
-
declare const DatePickerFormGenV2: React.FC<CustomDatePickerPropsV2>;
|
10
|
-
export default DatePickerFormGenV2;
|
/package/dist/cjs/types/components/{FormElements/CheckBoxFormGen → CheckBoxFormGen}/index.d.ts
RENAMED
File without changes
|
/package/dist/esm/types/components/{FormElements/CheckBoxFormGen → CheckBoxFormGen}/index.d.ts
RENAMED
File without changes
|