@zealicsolutions/web-ui 0.3.179 → 0.3.181

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,4 +3,4 @@ import { TabGroupProps } from 'molecules';
3
3
  export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form, id, formData, setFormData, isMobile, metadata, }: Molecule & {
4
4
  tabsProps?: Pick<TabGroupProps<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
5
5
  isMobile?: boolean | undefined;
6
- }) => JSX.Element;
6
+ }) => JSX.Element | null;
@@ -1,12 +1,15 @@
1
+ import { ActionEventType } from 'containers/types/types';
1
2
  declare type UseStateListenerValueProps = {
3
+ stateListenerId?: string;
2
4
  isAction?: boolean;
3
- id: string;
4
5
  };
5
- export declare const useStateListenerValue: ({ id, isAction }: UseStateListenerValueProps) => {
6
+ export declare const useStateListenerValue: ({ stateListenerId, isAction, }: UseStateListenerValueProps) => {
6
7
  isStateDisabled: boolean;
7
8
  isStateVisible: boolean;
8
- trackerSteps: Record<string, {
9
- status?: string | undefined;
10
- }> | undefined;
9
+ stateValue?: undefined;
10
+ } | {
11
+ isStateDisabled: boolean;
12
+ isStateVisible: boolean;
13
+ stateValue: ActionEventType;
11
14
  };
12
15
  export {};
@@ -2,7 +2,7 @@ import { ContainerComponentProps, Molecule } from 'containers';
2
2
  import { InputFieldTypes } from 'fieldsConfiguration';
3
3
  import { PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
4
4
  import { Dispatch, SetStateAction } from 'react';
5
- import { AnyObject } from 'typescript';
5
+ import type { AnyObject } from 'typescript';
6
6
  import { GroupedStepItemsByStepContainer } from './utils';
7
7
  export declare type OrganismContextType = {
8
8
  items: (ContainerComponentProps | Molecule)[];
@@ -23,6 +23,8 @@ export declare type OrganismContextType = {
23
23
  validations?: PasswordRuleValidation[];
24
24
  editable?: boolean;
25
25
  isFormInEditMode?: boolean;
26
- organismMetadata?: AnyObject;
26
+ organismMetadata?: {
27
+ stateListenerId?: string;
28
+ } & AnyObject;
27
29
  };
28
30
  export declare const OrganismContext: import("react").Context<OrganismContextType>;
@@ -1,7 +1,8 @@
1
- import { ProcessStep, MetadataType } from 'containers';
1
+ import { MetadataType, ProcessStep } from 'containers';
2
+ export declare type ProcessTrackerOrientation = 'horizontal' | 'vertical';
2
3
  export declare type StepperProps = {
3
4
  steps: ProcessStep[];
4
- orientation: string;
5
+ orientation: ProcessTrackerOrientation;
5
6
  htmlElementId?: string;
6
7
  metadata: MetadataType;
7
8
  isMobile?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { ProcessTrackerStatus } from 'containers';
2
2
  import { CSSProperties } from 'styled-components';
3
- import { Callback, Nullable } from 'typescript';
3
+ import type { Callback, Nullable } from 'typescript';
4
4
  export declare type ProcessTrackerProps = {
5
5
  title?: Nullable<string>;
6
6
  description?: Nullable<string>;