@viswa-test/creative-workspace-ui-component 0.0.8 → 0.0.9

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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("lucide-react"),r=require("react"),a=require("./AssignReminderLevels.js"),n=require("./AssignReminderTest.js"),t=require("./components/ReviewStatus.js"),_=require("./components/CustomDatePicker.js"),l=require("./styles/AssignReminderWrapperStyles.js"),E=[{tabName:"Assignees & Approvers",tabIcon:s.jsxs("svg",e.__assign({width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},{children:[s.jsx("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),s.jsx("circle",{cx:"9",cy:"7",r:"4"}),s.jsx("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),s.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}))},{tabName:"Manage Reminders",tabIcon:s.jsx(i.Bell,{size:15})},{tabName:"Review Status",tabIcon:s.jsx(i.ClipboardList,{size:15})}];exports.AssignReminderWrapper=function(o){var S,R,d=o.metadata,A=void 0===d?{}:d,c=o.reviewData,u=void 0===c?{}:c,D=o.levels,v=o.setLevels,p=o.requireFinalApproval,L=o.setRequireFinalApproval,g=o.approvalDueDate,I=o.setApprovalDueDate,N=o.onClose,T=o.onSave,P=o.onValidationError,j=(null===(S=A.tabData)||void 0===S?void 0:S.length)?A.tabData:E,h=r.useState(j[0].tabName),x=h[0],m=h[1],y=(R=x.toLowerCase()).includes("reminder")?"reminders":R.includes("review")?"review":"assignees",F=r.useState(D||n.INITIAL_LEVELS),b=F[0],M=F[1],W=r.useState(p||!1),U=W[0],G=W[1],Y=r.useState(g||null),C=Y[0],f=Y[1],q=v&&D?D:b,w=v||M,B=L&&void 0!==p?p:U,k=L||G,z=I&&void 0!==g?g:C,V=I||f,H=A.wrapperTitle||"Assign Redline and Manage Reminders",O=A.wrapperSubTitle||"Sec 4.1 - Technical Security Information",X=A.wrapperPriority||"High",J=A.wrapperPriorityStyles||{backgroundColor:"#DC262618",color:"#DC2626",border:"1px solid #DC262640"};return s.jsx("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.overlay},{children:s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.modal},{children:[s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.header},{children:[s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.headerLeft},{children:[s.jsx("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.modalTitle},{children:H})),s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineRow},{children:[s.jsx("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineName},{children:O})),s.jsx("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineBadge),J)},{children:X}))]}))]})),s.jsx("button",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.closeBtn,onClick:N},{children:s.jsx(i.X,{size:20,color:"#6B7280"})}))]})),s.jsx("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tabBar},{children:j.map(function(i){return s.jsxs("button",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tab),x===i.tabName?l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tabActive:{}),onClick:function(){return m(i.tabName)}},{children:[i.tabIcon," ",i.tabName]}),i.tabName)})})),s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.body},{children:["assignees"===y&&s.jsxs(s.Fragment,{children:[!1!==A.showFinalApprovalDueDate&&s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateBar},{children:[s.jsxs("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateLabel},{children:["Final Approval due date ",s.jsx("sup",e.__assign({style:{color:"#DC2626",marginLeft:2}},{children:"*"}))]})),s.jsx("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateInputWrap},{children:s.jsx(_.default,{value:z?z.toISOString().slice(0,10):"",onChange:V})})),s.jsxs("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.requiredToProceeed},{children:[s.jsx(i.CircleAlert,{size:14,color:"#6B7280"})," Required to proceed"]}))]})),s.jsx(a.AssignReminderLevels,{levels:q,requireFinalApproval:B,setLevels:w,setRequireFinalApproval:k,fetchUsers:n.mockFetchUsers,onValidationError:P})]}),"reminders"===y&&s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.reminderPlaceholder},{children:[s.jsx(i.Bell,{size:32,color:"#D1D5DB"}),s.jsx("p",e.__assign({style:{color:"#9CA3AF",marginTop:12,fontSize:14}},{children:"Reminder settings coming soon…"}))]})),"review"===y&&s.jsx(t.default,{levels:q,reviewData:u})]})),s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.footer},{children:[s.jsx("button",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.clearBtn,onClick:function(){w(n.INITIAL_LEVELS.map(function(s){return e.__assign(e.__assign({},s),{assignees:[],dueDate:null})})),k(!1),V(null),null==N||N()}},{children:"Clear"})),s.jsx("button",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.saveBtn,onClick:function(){null==T||T({levels:q,requireFinalApproval:B,finalApprovalDueDate:z,activeTab:y})}},{children:"Save Changes"}))]}))]}))}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("lucide-react"),r=require("react"),a=require("./AssignReminderLevels.js"),n=require("./AssignReminderTest.js"),t=require("./components/ReviewStatus.js"),_=require("./components/CustomDatePicker.js"),l=require("./styles/AssignReminderWrapperStyles.js"),E=[{tabName:"Assignees & Approvers",tabIcon:s.jsxs("svg",e.__assign({width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},{children:[s.jsx("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),s.jsx("circle",{cx:"9",cy:"7",r:"4"}),s.jsx("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),s.jsx("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}))},{tabName:"Manage Reminders",tabIcon:s.jsx(i.Bell,{size:15})},{tabName:"Review Status",tabIcon:s.jsx(i.ClipboardList,{size:15})}];exports.AssignReminderWrapper=function(o){var S,R,d=o.metadata,A=void 0===d?{}:d,c=o.reviewData,u=void 0===c?{}:c,D=o.levels,v=o.setLevels,p=o.requireFinalApproval,L=o.setRequireFinalApproval,g=o.approvalDueDate,I=o.setApprovalDueDate,N=o.onClose,T=o.fetchUsers,P=o.onSave,j=o.onValidationError,h=(null===(S=A.tabData)||void 0===S?void 0:S.length)?A.tabData:E,x=r.useState(h[0].tabName),m=x[0],y=x[1],F=(R=m.toLowerCase()).includes("reminder")?"reminders":R.includes("review")?"review":"assignees",b=r.useState(D||n.INITIAL_LEVELS),M=b[0],W=b[1],U=r.useState(p||!1),G=U[0],Y=U[1],C=r.useState(g||null),f=C[0],q=C[1],w=v&&D?D:M,B=v||W,k=L&&void 0!==p?p:G,z=L||Y,V=I&&void 0!==g?g:f,H=I||q,O=A.wrapperTitle||"Assign Redline and Manage Reminders",X=A.wrapperSubTitle||"Sec 4.1 - Technical Security Information",J=A.wrapperPriority||"High",K=A.wrapperPriorityStyles||{backgroundColor:"#DC262618",color:"#DC2626",border:"1px solid #DC262640"};return s.jsx("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.overlay},{children:s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.modal},{children:[s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.header},{children:[s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.headerLeft},{children:[s.jsx("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.modalTitle},{children:O})),s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineRow},{children:[s.jsx("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineName},{children:X})),s.jsx("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineBadge),K)},{children:J}))]}))]})),s.jsx("button",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.closeBtn,onClick:N},{children:s.jsx(i.X,{size:20,color:"#6B7280"})}))]})),s.jsx("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tabBar},{children:h.map(function(i){return s.jsxs("button",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tab),m===i.tabName?l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tabActive:{}),onClick:function(){return y(i.tabName)}},{children:[i.tabIcon," ",i.tabName]}),i.tabName)})})),s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.body},{children:["assignees"===F&&s.jsxs(s.Fragment,{children:[!1!==A.showFinalApprovalDueDate&&s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateBar},{children:[s.jsxs("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateLabel},{children:["Final Approval due date ",s.jsx("sup",e.__assign({style:{color:"#DC2626",marginLeft:2}},{children:"*"}))]})),s.jsx("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateInputWrap},{children:s.jsx(_.default,{value:V?V.toISOString().slice(0,10):"",onChange:H})})),s.jsxs("span",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.requiredToProceeed},{children:[s.jsx(i.CircleAlert,{size:14,color:"#6B7280"})," Required to proceed"]}))]})),s.jsx(a.AssignReminderLevels,{levels:w,requireFinalApproval:k,setLevels:B,setRequireFinalApproval:z,fetchUsers:T||n.mockFetchUsers,onValidationError:j})]}),"reminders"===F&&s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.reminderPlaceholder},{children:[s.jsx(i.Bell,{size:32,color:"#D1D5DB"}),s.jsx("p",e.__assign({style:{color:"#9CA3AF",marginTop:12,fontSize:14}},{children:"Reminder settings coming soon…"}))]})),"review"===F&&s.jsx(t.default,{levels:w,reviewData:u})]})),s.jsxs("div",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.footer},{children:[s.jsx("button",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.clearBtn,onClick:function(){B(n.INITIAL_LEVELS.map(function(s){return e.__assign(e.__assign({},s),{assignees:[],dueDate:null})})),z(!1),H(null),null==N||N()}},{children:"Clear"})),s.jsx("button",e.__assign({style:l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.saveBtn,onClick:function(){null==P||P({levels:w,requireFinalApproval:k,finalApprovalDueDate:V,activeTab:F})}},{children:"Save Changes"}))]}))]}))}))};
2
2
  //# sourceMappingURL=AssignReminderWrapper.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as i,Fragment as t}from"react/jsx-runtime";import{Bell as l,ClipboardList as a,X as n,CircleAlert as o}from"lucide-react";import{useState as s}from"react";import{AssignReminderLevels as d}from"./AssignReminderLevels.js";import{INITIAL_LEVELS as c,mockFetchUsers as p}from"./AssignReminderTest.js";import v from"./components/ReviewStatus.js";import u from"./components/CustomDatePicker.js";import{DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES as m}from"./styles/AssignReminderWrapperStyles.js";var h=[{tabName:"Assignees & Approvers",tabIcon:r("svg",e({width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},{children:[i("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),i("circle",{cx:"9",cy:"7",r:"4"}),i("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),i("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}))},{tabName:"Manage Reminders",tabIcon:i(l,{size:15})},{tabName:"Review Status",tabIcon:i(a,{size:15})}];function y(a){var y,b,D=a.metadata,f=void 0===D?{}:D,g=a.reviewData,A=void 0===g?{}:g,C=a.levels,w=a.setLevels,R=a.requireFinalApproval,S=a.setRequireFinalApproval,B=a.approvalDueDate,N=a.setApprovalDueDate,k=a.onClose,F=a.onSave,T=a.onValidationError,j=(null===(y=f.tabData)||void 0===y?void 0:y.length)?f.tabData:h,q=s(j[0].tabName),I=q[0],L=q[1],z=(b=I.toLowerCase()).includes("reminder")?"reminders":b.includes("review")?"review":"assignees",x=s(C||c),M=x[0],P=x[1],W=s(R||!1),E=W[0],H=W[1],V=s(B||null),_=V[0],O=V[1],U=w&&C?C:M,G=w||P,J=S&&void 0!==R?R:E,K=S||H,Q=N&&void 0!==B?B:_,X=N||O,Y=f.wrapperTitle||"Assign Redline and Manage Reminders",Z=f.wrapperSubTitle||"Sec 4.1 - Technical Security Information",$=f.wrapperPriority||"High",ee=f.wrapperPriorityStyles||{backgroundColor:"#DC262618",color:"#DC2626",border:"1px solid #DC262640"};return i("div",e({style:m.overlay},{children:r("div",e({style:m.modal},{children:[r("div",e({style:m.header},{children:[r("div",e({style:m.headerLeft},{children:[i("span",e({style:m.modalTitle},{children:Y})),r("div",e({style:m.redlineRow},{children:[i("span",e({style:m.redlineName},{children:Z})),i("span",e({style:e(e({},m.redlineBadge),ee)},{children:$}))]}))]})),i("button",e({style:m.closeBtn,onClick:k},{children:i(n,{size:20,color:"#6B7280"})}))]})),i("div",e({style:m.tabBar},{children:j.map(function(i){return r("button",e({style:e(e({},m.tab),I===i.tabName?m.tabActive:{}),onClick:function(){return L(i.tabName)}},{children:[i.tabIcon," ",i.tabName]}),i.tabName)})})),r("div",e({style:m.body},{children:["assignees"===z&&r(t,{children:[!1!==f.showFinalApprovalDueDate&&r("div",e({style:m.dueDateBar},{children:[r("span",e({style:m.dueDateLabel},{children:["Final Approval due date ",i("sup",e({style:{color:"#DC2626",marginLeft:2}},{children:"*"}))]})),i("div",e({style:m.dueDateInputWrap},{children:i(u,{value:Q?Q.toISOString().slice(0,10):"",onChange:X})})),r("span",e({style:m.requiredToProceeed},{children:[i(o,{size:14,color:"#6B7280"})," Required to proceed"]}))]})),i(d,{levels:U,requireFinalApproval:J,setLevels:G,setRequireFinalApproval:K,fetchUsers:p,onValidationError:T})]}),"reminders"===z&&r("div",e({style:m.reminderPlaceholder},{children:[i(l,{size:32,color:"#D1D5DB"}),i("p",e({style:{color:"#9CA3AF",marginTop:12,fontSize:14}},{children:"Reminder settings coming soon…"}))]})),"review"===z&&i(v,{levels:U,reviewData:A})]})),r("div",e({style:m.footer},{children:[i("button",e({style:m.clearBtn,onClick:function(){G(c.map(function(r){return e(e({},r),{assignees:[],dueDate:null})})),K(!1),X(null),null==k||k()}},{children:"Clear"})),i("button",e({style:m.saveBtn,onClick:function(){null==F||F({levels:U,requireFinalApproval:J,finalApprovalDueDate:Q,activeTab:z})}},{children:"Save Changes"}))]}))]}))}))}export{y as AssignReminderWrapper};
1
+ import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as i,Fragment as t}from"react/jsx-runtime";import{Bell as l,ClipboardList as a,X as n,CircleAlert as o}from"lucide-react";import{useState as s}from"react";import{AssignReminderLevels as d}from"./AssignReminderLevels.js";import{INITIAL_LEVELS as c,mockFetchUsers as p}from"./AssignReminderTest.js";import v from"./components/ReviewStatus.js";import u from"./components/CustomDatePicker.js";import{DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES as m}from"./styles/AssignReminderWrapperStyles.js";var h=[{tabName:"Assignees & Approvers",tabIcon:r("svg",e({width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},{children:[i("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),i("circle",{cx:"9",cy:"7",r:"4"}),i("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),i("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}))},{tabName:"Manage Reminders",tabIcon:i(l,{size:15})},{tabName:"Review Status",tabIcon:i(a,{size:15})}];function y(a){var y,b,f=a.metadata,D=void 0===f?{}:f,g=a.reviewData,A=void 0===g?{}:g,C=a.levels,w=a.setLevels,R=a.requireFinalApproval,S=a.setRequireFinalApproval,B=a.approvalDueDate,N=a.setApprovalDueDate,k=a.onClose,F=a.fetchUsers,T=a.onSave,j=a.onValidationError,q=(null===(y=D.tabData)||void 0===y?void 0:y.length)?D.tabData:h,I=s(q[0].tabName),L=I[0],z=I[1],x=(b=L.toLowerCase()).includes("reminder")?"reminders":b.includes("review")?"review":"assignees",M=s(C||c),P=M[0],W=M[1],E=s(R||!1),H=E[0],U=E[1],V=s(B||null),_=V[0],O=V[1],G=w&&C?C:P,J=w||W,K=S&&void 0!==R?R:H,Q=S||U,X=N&&void 0!==B?B:_,Y=N||O,Z=D.wrapperTitle||"Assign Redline and Manage Reminders",$=D.wrapperSubTitle||"Sec 4.1 - Technical Security Information",ee=D.wrapperPriority||"High",re=D.wrapperPriorityStyles||{backgroundColor:"#DC262618",color:"#DC2626",border:"1px solid #DC262640"};return i("div",e({style:m.overlay},{children:r("div",e({style:m.modal},{children:[r("div",e({style:m.header},{children:[r("div",e({style:m.headerLeft},{children:[i("span",e({style:m.modalTitle},{children:Z})),r("div",e({style:m.redlineRow},{children:[i("span",e({style:m.redlineName},{children:$})),i("span",e({style:e(e({},m.redlineBadge),re)},{children:ee}))]}))]})),i("button",e({style:m.closeBtn,onClick:k},{children:i(n,{size:20,color:"#6B7280"})}))]})),i("div",e({style:m.tabBar},{children:q.map(function(i){return r("button",e({style:e(e({},m.tab),L===i.tabName?m.tabActive:{}),onClick:function(){return z(i.tabName)}},{children:[i.tabIcon," ",i.tabName]}),i.tabName)})})),r("div",e({style:m.body},{children:["assignees"===x&&r(t,{children:[!1!==D.showFinalApprovalDueDate&&r("div",e({style:m.dueDateBar},{children:[r("span",e({style:m.dueDateLabel},{children:["Final Approval due date ",i("sup",e({style:{color:"#DC2626",marginLeft:2}},{children:"*"}))]})),i("div",e({style:m.dueDateInputWrap},{children:i(u,{value:X?X.toISOString().slice(0,10):"",onChange:Y})})),r("span",e({style:m.requiredToProceeed},{children:[i(o,{size:14,color:"#6B7280"})," Required to proceed"]}))]})),i(d,{levels:G,requireFinalApproval:K,setLevels:J,setRequireFinalApproval:Q,fetchUsers:F||p,onValidationError:j})]}),"reminders"===x&&r("div",e({style:m.reminderPlaceholder},{children:[i(l,{size:32,color:"#D1D5DB"}),i("p",e({style:{color:"#9CA3AF",marginTop:12,fontSize:14}},{children:"Reminder settings coming soon…"}))]})),"review"===x&&i(v,{levels:G,reviewData:A})]})),r("div",e({style:m.footer},{children:[i("button",e({style:m.clearBtn,onClick:function(){J(c.map(function(r){return e(e({},r),{assignees:[],dueDate:null})})),Q(!1),Y(null),null==k||k()}},{children:"Clear"})),i("button",e({style:m.saveBtn,onClick:function(){null==T||T({levels:G,requireFinalApproval:K,finalApprovalDueDate:X,activeTab:x})}},{children:"Save Changes"}))]}))]}))}))}export{y as AssignReminderWrapper};
2
2
  //# sourceMappingURL=AssignReminderWrapper.js.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  import { AssignReminderWrapperProps } from "./types/types";
3
- declare function AssignReminderWrapper({ metadata, reviewData, levels, setLevels, requireFinalApproval, setRequireFinalApproval, approvalDueDate, setApprovalDueDate, onClose, onSave, onValidationError, }: AssignReminderWrapperProps): React.JSX.Element;
3
+ declare function AssignReminderWrapper({ metadata, reviewData, levels, setLevels, requireFinalApproval, setRequireFinalApproval, approvalDueDate, setApprovalDueDate, onClose, fetchUsers, onSave, onValidationError, }: AssignReminderWrapperProps): React.JSX.Element;
4
4
  export { AssignReminderWrapper };
5
5
  //# sourceMappingURL=AssignReminderWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssignReminderWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/AssignReminders/AssignReminderWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,0BAA0B,EAAyB,MAAM,eAAe,CAAC;AAmBlF,iBAAS,qBAAqB,CAAC,EAC3B,QAAa,EACb,UAAe,EACf,MAAM,EACN,SAAS,EACT,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,OAAO,EACP,MAAM,EACN,iBAAiB,GACpB,EAAE,0BAA0B,qBA4I5B;AAED,OAAO,EAAC,qBAAqB,EAAC,CAAC"}
1
+ {"version":3,"file":"AssignReminderWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/AssignReminders/AssignReminderWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,EAAE,0BAA0B,EAAyB,MAAM,eAAe,CAAC;AAmBlF,iBAAS,qBAAqB,CAAC,EAC3B,QAAa,EACb,UAAe,EACf,MAAM,EACN,SAAS,EACT,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,OAAO,EACP,UAAU,EACV,MAAM,EACN,iBAAiB,GACpB,EAAE,0BAA0B,qBA4I5B;AAED,OAAO,EAAC,qBAAqB,EAAC,CAAC"}
@@ -46,6 +46,7 @@ export interface AssignReminderWrapperProps {
46
46
  levels?: Level[];
47
47
  requireFinalApproval?: boolean;
48
48
  approvalDueDate?: Date | null;
49
+ fetchUsers: FetchUsersFunction;
49
50
  setRequireFinalApproval?: React.Dispatch<React.SetStateAction<boolean>>;
50
51
  setApprovalDueDate?: React.Dispatch<React.SetStateAction<Date | null>>;
51
52
  setLevels?: React.Dispatch<React.SetStateAction<Level[]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/AssignReminders/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEzD,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,GAAG,CAAC;IACR,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,WAAW;IACx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M,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;AAEpE,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACxD"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/AssignReminders/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;AAEzD,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,GAAG,CAAC;IACR,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,KAAK;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;CAC9B;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;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Ac,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;AAEpE,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACxD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viswa-test/creative-workspace-ui-component",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "author": "Viswa Koduru",
5
5
  "description": "",
6
6
  "license": "MIT",