@zealicsolutions/web-ui 1.0.29 → 1.0.30-beta.0

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.
@@ -3,6 +3,5 @@ import { ValidationMode } from 'react-hook-form';
3
3
  export declare type FormContainerProps = PropsWithChildren<{
4
4
  mode?: keyof ValidationMode;
5
5
  id?: string;
6
- isTrigger?: boolean;
7
6
  }>;
8
7
  export declare const FormContainer: ({ mode, children, id }: FormContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"FormContainer.js","sources":["../../../../src/containers/FormContainer.tsx"],"sourcesContent":[null],"names":["ignore","enter","FormContainer","_a","_b","mode","children","id","methods","useForm","onStateChange","useStateModifierHandler","isDirty","formState","useEffect","type","_jsx","FormProvider","__assign","FormStepContextProvider"],"mappings":"udAWA,IAAMA,EAAS,CACbC,OAAO,GAGIC,EAAgB,SAACC,OAAEC,EAAiBD,EAAAE,KAAjBA,OAAI,IAAAD,EAAG,WAAUA,EAAEE,EAAQH,EAAAG,SAAEC,EAAEJ,EAAAI,GACvDC,EAAUC,EAAQ,CACtBJ,KAAIA,IAEEK,EAAkBC,kBAGXC,EACXJ,EAAOK,UAAAD,QASX,OAPAE,GAAU,WACJF,IAAYZ,EAAOC,QACrBS,EAAc,CAAEH,GAAEA,EAAEQ,KAAM,YAC1Bf,EAAOC,OAAQ,EAEnB,GAAG,CAACW,IAGFI,EAACC,EAAYC,EAAA,CAAA,EAAKV,EAAO,CAAAF,SACvBU,EAACG,EAAyB,CAAAb,SAAAA,MAGhC"}
1
+ {"version":3,"file":"FormContainer.js","sources":["../../../../src/containers/FormContainer.tsx"],"sourcesContent":[null],"names":["ignore","enter","FormContainer","_a","_b","mode","children","id","methods","useForm","onStateChange","useStateModifierHandler","isDirty","formState","useEffect","type","_jsx","FormProvider","__assign","FormStepContextProvider"],"mappings":"udAUA,IAAMA,EAAS,CACbC,OAAO,GAGIC,EAAgB,SAACC,OAAEC,EAAiBD,EAAAE,KAAjBA,OAAI,IAAAD,EAAG,WAAUA,EAAEE,EAAQH,EAAAG,SAAEC,EAAEJ,EAAAI,GACvDC,EAAUC,EAAQ,CACtBJ,KAAIA,IAEEK,EAAkBC,kBAGXC,EACXJ,EAAOK,UAAAD,QASX,OAPAE,GAAU,WACJF,IAAYZ,EAAOC,QACrBS,EAAc,CAAEH,GAAEA,EAAEQ,KAAM,YAC1Bf,EAAOC,OAAQ,EAEnB,GAAG,CAACW,IAGFI,EAACC,EAAYC,EAAA,CAAA,EAAKV,EAAO,CAAAF,SACvBU,EAACG,EAAyB,CAAAb,SAAAA,MAGhC"}
@@ -1,2 +1,2 @@
1
- import"../../contexts/FormStepContext/FormStepContext.js";import"react";import"../../contexts/ButtonActionsContext/ButtonActionsContext.js";import"../../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../../contexts/OrganismContext/OrganismContext.js";import{useStateContext as t}from"../../contexts/hooks/useStateContext.js";import"../../contexts/AccountButtonContext/AccountButtonContext.js";var o=function(){var o=t(),e=o.stateConfig,n=o.stateHandler,r=o.authenticated;return{onStateChange:function(t){var o,i=t.id,c=t.type;i&&(null==e?void 0:e[i])&&Object.prototype.hasOwnProperty.call(e[i],"interacted")&&r&&(null==n||n(((o={})[i]={interacted:c},o)))}}};export{o as useStateModifierHandler};
1
+ import"../../contexts/FormStepContext/FormStepContext.js";import"react";import"../../contexts/ButtonActionsContext/ButtonActionsContext.js";import"../../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../../contexts/OrganismContext/OrganismContext.js";import{useStateContext as t}from"../../contexts/hooks/useStateContext.js";import"../../contexts/AccountButtonContext/AccountButtonContext.js";var o=function(){var o=t(),e=o.stateConfig,n=o.stateHandler,r=o.authenticated;return{onStateChange:function(t){var o,i=t.id,c=t.type;console.log("onStateChange",{id:i,type:c}),i&&(null==e?void 0:e[i])&&Object.prototype.hasOwnProperty.call(e[i],"interacted")&&r&&(null==n||n(((o={})[i]={interacted:c},o)))}}};export{o as useStateModifierHandler};
2
2
  //# sourceMappingURL=useStateModifierHandler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStateModifierHandler.js","sources":["../../../../../src/containers/hooks/useStateModifierHandler.ts"],"sourcesContent":[null],"names":["useStateModifierHandler","_a","useStateContext","stateConfig","stateHandler","authenticated","onStateChange","id","type","Object","prototype","hasOwnProperty","call","interacted"],"mappings":"gaAGa,IAAAA,EAA0B,WAC/B,IAAAC,EAA+CC,IAA7CC,EAAWF,EAAAE,YAAEC,EAAYH,EAAAG,aAAEC,EAAaJ,EAAAI,cAWhD,MAAO,CAAEC,cATa,SAACL,SAAEM,EAAEN,EAAAM,GAAEC,EAAIP,EAAAO,KAE7BD,IACAJ,aAAW,EAAXA,EAAcI,KACdE,OAAOC,UAAUC,eAAeC,KAAKT,EAAYI,GAAK,eAE5BF,IAAeD,SAAAA,UAAkBG,GAAK,CAAEM,WAAYL,OAClF,EAGF"}
1
+ {"version":3,"file":"useStateModifierHandler.js","sources":["../../../../../src/containers/hooks/useStateModifierHandler.ts"],"sourcesContent":[null],"names":["useStateModifierHandler","_a","useStateContext","stateConfig","stateHandler","authenticated","onStateChange","id","type","console","log","Object","prototype","hasOwnProperty","call","interacted"],"mappings":"gaAGa,IAAAA,EAA0B,WAC/B,IAAAC,EAA+CC,IAA7CC,EAAWF,EAAAE,YAAEC,EAAYH,EAAAG,aAAEC,EAAaJ,EAAAI,cAahD,MAAO,CAAEC,cAXa,SAACL,SAAEM,EAAEN,EAAAM,GAAEC,EAAIP,EAAAO,KAC/BC,QAAQC,IAAI,gBAAiB,CAAEH,GAAEA,EAAEC,KAAIA,IAGrCD,IACAJ,aAAW,EAAXA,EAAcI,KACdI,OAAOC,UAAUC,eAAeC,KAAKX,EAAYI,GAAK,eAE5BF,IAAeD,SAAAA,UAAkBG,GAAK,CAAEQ,WAAYP,OAClF,EAGF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "1.0.29",
3
+ "version": "1.0.30-beta.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"