akeyless-client-commons 1.1.94 → 1.1.95
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/components/index.css.map +1 -1
- package/dist/components/index.d.mts +15 -2
- package/dist/components/index.d.ts +15 -2
- package/dist/components/index.js +248 -129
- package/dist/components/index.mjs +234 -119
- package/dist/types/index.d.mts +14 -2
- package/dist/types/index.d.ts +14 -2
- package/package.json +1 -1
package/dist/types/index.d.mts
CHANGED
|
@@ -175,6 +175,16 @@ interface InputElement extends BaseElementProps {
|
|
|
175
175
|
placeholder?: string;
|
|
176
176
|
props?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
177
177
|
}
|
|
178
|
+
interface DateInputElement extends BaseElementProps {
|
|
179
|
+
type: "dateInput";
|
|
180
|
+
defaultValue?: string;
|
|
181
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
182
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
183
|
+
value?: string;
|
|
184
|
+
placeholder?: string;
|
|
185
|
+
props?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
186
|
+
calendarIconClassName?: string;
|
|
187
|
+
}
|
|
178
188
|
interface TextAreaElement extends BaseElementProps {
|
|
179
189
|
type: "textarea";
|
|
180
190
|
defaultValue?: string;
|
|
@@ -279,6 +289,8 @@ interface FormSeparatorProps {
|
|
|
279
289
|
}
|
|
280
290
|
interface InputContainerProps extends Partial<InputElement> {
|
|
281
291
|
}
|
|
292
|
+
interface DateInputContainerProps extends Partial<DateInputElement> {
|
|
293
|
+
}
|
|
282
294
|
interface SelectContainerProps extends Partial<SelectElement> {
|
|
283
295
|
}
|
|
284
296
|
interface TextAreaContainerProps extends Partial<TextAreaElement> {
|
|
@@ -297,7 +309,7 @@ interface DurationInputProps extends BaseElementProps {
|
|
|
297
309
|
hideLabels?: boolean;
|
|
298
310
|
options?: DurationInputOption[];
|
|
299
311
|
}
|
|
300
|
-
type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
|
|
312
|
+
type FormElement = InputElement | DateInputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
|
|
301
313
|
interface ModularFormProps {
|
|
302
314
|
submitFunction: (form: React.FormEvent<HTMLFormElement>, clickEvent?: MouseEvent) => Promise<void>;
|
|
303
315
|
elements: FormElement[];
|
|
@@ -349,4 +361,4 @@ interface DatePickerProps {
|
|
|
349
361
|
calendarClassName?: string;
|
|
350
362
|
}
|
|
351
363
|
|
|
352
|
-
export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
|
|
364
|
+
export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DateInputContainerProps, DateInputElement, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -175,6 +175,16 @@ interface InputElement extends BaseElementProps {
|
|
|
175
175
|
placeholder?: string;
|
|
176
176
|
props?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
177
177
|
}
|
|
178
|
+
interface DateInputElement extends BaseElementProps {
|
|
179
|
+
type: "dateInput";
|
|
180
|
+
defaultValue?: string;
|
|
181
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
182
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
183
|
+
value?: string;
|
|
184
|
+
placeholder?: string;
|
|
185
|
+
props?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
186
|
+
calendarIconClassName?: string;
|
|
187
|
+
}
|
|
178
188
|
interface TextAreaElement extends BaseElementProps {
|
|
179
189
|
type: "textarea";
|
|
180
190
|
defaultValue?: string;
|
|
@@ -279,6 +289,8 @@ interface FormSeparatorProps {
|
|
|
279
289
|
}
|
|
280
290
|
interface InputContainerProps extends Partial<InputElement> {
|
|
281
291
|
}
|
|
292
|
+
interface DateInputContainerProps extends Partial<DateInputElement> {
|
|
293
|
+
}
|
|
282
294
|
interface SelectContainerProps extends Partial<SelectElement> {
|
|
283
295
|
}
|
|
284
296
|
interface TextAreaContainerProps extends Partial<TextAreaElement> {
|
|
@@ -297,7 +309,7 @@ interface DurationInputProps extends BaseElementProps {
|
|
|
297
309
|
hideLabels?: boolean;
|
|
298
310
|
options?: DurationInputOption[];
|
|
299
311
|
}
|
|
300
|
-
type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
|
|
312
|
+
type FormElement = InputElement | DateInputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
|
|
301
313
|
interface ModularFormProps {
|
|
302
314
|
submitFunction: (form: React.FormEvent<HTMLFormElement>, clickEvent?: MouseEvent) => Promise<void>;
|
|
303
315
|
elements: FormElement[];
|
|
@@ -349,4 +361,4 @@ interface DatePickerProps {
|
|
|
349
361
|
calendarClassName?: string;
|
|
350
362
|
}
|
|
351
363
|
|
|
352
|
-
export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
|
|
364
|
+
export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DateInputContainerProps, DateInputElement, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
|