hight-orchestratorbot-components 1.16.0 → 1.16.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/index.d.ts +42 -0
- package/package.json +1 -1
- package/dist/index.iife.js +0 -149
- package/dist/index.iife.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -316,3 +316,45 @@ declare namespace Calendar {
|
|
|
316
316
|
var displayName: string;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
+
declare type ZodSchema = import("zod").ZodSchema;
|
|
320
|
+
|
|
321
|
+
type SelectOption = {
|
|
322
|
+
value: string | number;
|
|
323
|
+
label: string;
|
|
324
|
+
description?: string;
|
|
325
|
+
search?: string;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
type Tab = {
|
|
329
|
+
name?: string;
|
|
330
|
+
icon?: string;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
type StepperConfig = {
|
|
334
|
+
steps?: Array<BuilderTab>;
|
|
335
|
+
direction?: TabDirection;
|
|
336
|
+
hasBackButton?: boolean;
|
|
337
|
+
backButtonLabel?: string;
|
|
338
|
+
nextButtonLabel?: string;
|
|
339
|
+
hasNextButton?: boolean;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
type Styles = Record<string, string | number>;
|
|
343
|
+
|
|
344
|
+
type ValidationFieldOnChangeValue = string | number | Array<string | number>;
|
|
345
|
+
|
|
346
|
+
interface IValidationFieldProps {
|
|
347
|
+
label?: string;
|
|
348
|
+
hint?: string;
|
|
349
|
+
className?: string;
|
|
350
|
+
defaultValue?: ValidationFieldOnChangeValue;
|
|
351
|
+
elements?: Array<SelectOption>;
|
|
352
|
+
errorMessage?: string;
|
|
353
|
+
fieldType?: string;
|
|
354
|
+
zodSchema?: ZodSchema;
|
|
355
|
+
name: string;
|
|
356
|
+
type: "autocompleteField" | "selectField" | "textField" | "textareaField";
|
|
357
|
+
onChange: (value: ValidationFieldOnChangeValue) => void;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
type ValidationFormObject = Record<string, IValidationFieldProps>;
|