@viswa-test/creative-workspace-ui-component 0.0.15 → 0.0.17
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/cjs/components/AssignReminders/AssignReminderLevels.js +1 -1
- package/dist/cjs/components/AssignReminders/AssignReminderTest.js +1 -1
- package/dist/cjs/components/AssignReminders/AssignReminderWrapper.js +1 -1
- package/dist/components/AssignReminders/AssignReminderLevels.js +1 -1
- package/dist/components/AssignReminders/AssignReminderTest.js +1 -1
- package/dist/components/AssignReminders/AssignReminderWrapper.js +1 -1
- package/dist/types/components/AssignReminders/AssignReminderLevels.d.ts.map +1 -1
- package/dist/types/components/AssignReminders/AssignReminderWrapper.d.ts +1 -1
- package/dist/types/components/AssignReminders/AssignReminderWrapper.d.ts.map +1 -1
- package/dist/types/components/AssignReminders/types/types.d.ts +3 -1
- package/dist/types/components/AssignReminders/types/types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),s=require("react"),i=require("lucide-react"),t=require("./AssignLevelAccordions.js"),r=require("./components/CustomCheckbox.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),s=require("react"),i=require("lucide-react"),t=require("./AssignLevelAccordions.js"),r=require("./components/CustomCheckbox.js"),a=require("./assets/FileCheckCorner.js"),l=require("./styles/AssignReminderStyles.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(s),c=function(e){switch(e){case 0:return n.jsx(i.Edit2,{size:16});case 1:return n.jsx(i.FileCheck,{size:16});case 2:return n.jsx(i.User,{size:16});default:return n.jsx(i.CheckSquare,{size:16})}},_=[{label:"Edit",icon:n.jsx(i.PenLine,{size:14})},{label:"Approve",icon:n.jsx(i.UserRoundCheck,{size:14})},{label:"Edit & Approve",icon:n.jsx(a.default,{})},{label:"Notify",icon:n.jsx(i.Bell,{size:14})}];exports.AssignReminderLevels=function(s){var a=s.title,o=s.levels,d=void 0===o?[]:o,p=s.requireFinalApproval,g=void 0!==p&&p,f=s.additionalInfo,v=s.setLevels,x=s.setRequireFinalApproval,h=s.fetchUsers,j=s.accessLevelOptions,A=void 0===j?_:j,S=s.customInfoIcon,y=s.onValidationError,E=s.customStyles,L=void 0===E?{}:E,m=s.totalLevels,I=u.default.useState(!1),D=I[0],b=I[1],F=u.default.useMemo(function(){return Array.from({length:null!=m?m:3},function(e,n){var s;return null!==(s=d[n])&&void 0!==s?s:{title:"Level ".concat(n+1),headerName:"L ".concat(n+1),isMandatory:!1,dueDate:null,assignees:[],hasDueDate:!0}})},[d,m]);return n.jsxs("div",e.__assign({style:e.__assign({padding:"8px",display:"flex",flexDirection:"column",gap:"18px"},L.container)},{children:[n.jsxs("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_STYLES.header),L.levelsHeader)},{children:[n.jsx("span",{children:null!=a?a:"Assignee Levels"}),n.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_STYLES.infoIconWrapper),L.infoIconWrapper),onMouseEnter:function(){return b(!0)},onMouseLeave:function(){return b(!1)}},{children:[null!=S?S:n.jsx(i.InfoIcon,{width:18,height:18}),n.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_STYLES.tooltip),L.tooltip),D?e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_STYLES.tooltipVisible),L.tooltipVisible):{})},{children:f||n.jsxs("span",{children:[n.jsx("b",{children:"How it works:"}),n.jsx("br",{}),"Level 1 is required by default, Enable Level 2 and Level 3 to add sequential approval steps for the review"]})}))]}))]})),n.jsx("div",e.__assign({style:e.__assign({display:"flex",flexDirection:"column",gap:"16px"},L.accordionsContainer)},{children:(d.length>0?d:F).map(function(s,i){return n.jsx(t.default,{level:s,id:String(i),accessLevelOptions:A,fetchUsers:h,onToggleMandatory:function(){return n=i,void(null==v||v(function(s){return s.map(function(s,i){return i===n?e.__assign(e.__assign({},s),{isMandatory:!s.isMandatory}):s})}));var n},onDueDateChange:function(n){return function(n,s){var i;if(n>0&&s){var t=null===(i=d[n-1])||void 0===i?void 0:i.dueDate;if(t&&s<t)return void(null==y||y("Level ".concat(n+1," due date cannot be before Level ").concat(n," due date")))}null==v||v(function(i){return i.map(function(i,t){return t===n?e.__assign(e.__assign({},i),{dueDate:s}):i})})}(i,n)},onAssigneesChange:function(n){return s=i,t=n,void(null==v||v(function(n){return n.map(function(n,i){return i===s?e.__assign(e.__assign({},n),{assignees:t}):n})}));var s,t},onTitleChange:function(n){return function(n,s){null==v||v(function(i){return i.map(function(i,t){return t===n?e.__assign(e.__assign({},i),{title:s}):i})})}(i,n)}},i)})})),n.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_STYLES.finalApprovalBox),L.finalApprovalBox)},{children:[n.jsx(r.default,{getter:g,setter:null!=x?x:function(){}}),n.jsxs("div",e.__assign({style:e.__assign({display:"flex",flexDirection:"column",alignItems:"baseline",fontSize:"14px",fontWeight:400},L.finalApprovalTextWrapper)},{children:[n.jsx("span",e.__assign({style:e.__assign({fontWeight:500},L.finalApprovalTitle)},{children:"Require Final Approval"})),n.jsx("span",e.__assign({style:L.finalApprovalDesc},{children:"After all assignees approve, you (the owner) will be notified to give final sign-off before the redline is settled."}))]}))]})),n.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_STYLES.currentApprovalFlow),L.currentApprovalFlow)},{children:[n.jsx("span",e.__assign({style:e.__assign({fontSize:"14px",fontWeight:600},L.currentApprovalFlowTitle)},{children:"Current Approval Flow"})),n.jsx("div",e.__assign({style:e.__assign({display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap",marginTop:"4px"},L.approvalFlowItemsWrapper)},{children:d.map(function(s,t){var r,a=(null===(r=s.assignees)||void 0===r?void 0:r.map(function(e){return e.name}).join(", "))||"No users assigned",l=s.title||"Level ".concat(t+1);return n.jsxs(u.default.Fragment,{children:[n.jsxs("div",e.__assign({style:e.__assign({display:"flex",alignItems:"center",gap:"6px",fontSize:"14px",fontWeight:500,color:"#374151"},L.approvalFlowItem),title:l},{children:[c(t),n.jsx("span",{children:a})]})),t<d.length-1&&n.jsx(i.ArrowRight,{size:16,color:"#9CA3AF"})]},t)})}))]}))]}))};
|
|
2
2
|
//# sourceMappingURL=AssignReminderLevels.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0})
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../_virtual/_tslib.js"),require("react/jsx-runtime"),require("react"),require("./AssignReminderLevels.js");exports.INITIAL_LEVELS=[{headerName:"L1",title:"Initial Review",isMandatory:!0,hasDueDate:!0,dueDate:null,assignees:[]},{headerName:"L2",title:"Manager Approval",isMandatory:!1,hasDueDate:!0,dueDate:null,assignees:[]},{headerName:"L3",title:"Final Sign-off",isMandatory:!1,hasDueDate:!1,dueDate:null,assignees:[]}];
|
|
2
2
|
//# sourceMappingURL=AssignReminderTest.js.map
|
|
@@ -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"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("lucide-react"),a=require("react"),_=require("./AssignReminderLevels.js"),n=require("./AssignReminderTest.js"),r=require("./components/ReviewStatus.js"),t=require("./components/CustomDatePicker.js"),l=require("./styles/AssignReminderWrapperStyles.js"),o=[{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(d){var E,S,R=d.metadata,g=void 0===R?{}:R,c=d.reviewData,A=void 0===c?{}:c,u=d.levels,D=d.setLevels,v=d.requireFinalApproval,L=d.setRequireFinalApproval,p=d.approvalDueDate,I=d.setApprovalDueDate,N=d.onClose,T=d.fetchUsers,P=d.onSave,h=d.onValidationError,j=d.totalLevels,x=d.customStyles,m=void 0===x?{}:x,b=d.isSaving,y=void 0!==b&&b,F=(null===(E=g.tabData)||void 0===E?void 0:E.length)?g.tabData:o,f=a.useState(F[0].tabName),M=f[0],W=f[1],U=(S=M.toLowerCase()).includes("reminder")?"reminders":S.includes("review")?"review":"assignees",G=a.useState(u||n.INITIAL_LEVELS),Y=G[0],B=G[1],C=a.useState(v||!1),q=C[0],w=C[1],k=a.useState(p||null),z=k[0],V=k[1];a.useEffect(function(){u&&B(u)},[u]),a.useEffect(function(){void 0!==v&&w(v)},[v]),a.useEffect(function(){void 0!==p&&V(p)},[p]);var H=g.wrapperTitle||"Assign Redline and Manage Reminders",O=g.wrapperSubTitle||"Sec 4.1 - Technical Security Information",X=g.wrapperPriority||"High",J=g.wrapperPriorityStyles||{backgroundColor:"#DC262618",color:"#DC2626",border:"1px solid #DC262640"};return s.jsx("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.overlay),m.overlay)},{children:s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.modal),m.modal)},{children:[s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.header),m.header)},{children:[s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.headerLeft),m.headerLeft)},{children:[s.jsx("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.modalTitle),m.modalTitle)},{children:H})),s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineRow),m.redlineRow)},{children:[s.jsx("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineName),m.redlineName)},{children:O})),s.jsx("span",e.__assign({style:e.__assign(e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.redlineBadge),J),m.redlineBadge)},{children:X}))]}))]})),s.jsx("button",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.closeBtn),m.closeBtn),onClick:N},{children:s.jsx(i.X,{size:20,color:"#6B7280"})}))]})),s.jsx("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tabBar),m.tabBar)},{children:F.map(function(i){var a=M===i.tabName;return s.jsxs("button",e.__assign({style:e.__assign(e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tab),m.tab),a?e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.tabActive),m.tabActive):{}),onClick:function(){return W(i.tabName)}},{children:[i.tabIcon," ",i.tabName]}),i.tabName)})})),s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.body),m.body)},{children:["assignees"===U&&s.jsxs(s.Fragment,{children:[!1!==g.showFinalApprovalDueDate&&s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateBar),m.dueDateBar)},{children:[s.jsxs("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateLabel),m.dueDateLabel)},{children:["Final Approval due date ",s.jsx("sup",e.__assign({style:{color:"#DC2626",marginLeft:2}},{children:"*"}))]})),s.jsx("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.dueDateInputWrap),m.dueDateInputWrap)},{children:s.jsx(t.default,{value:z?z.toISOString().slice(0,10):"",onChange:V})})),s.jsxs("span",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.requiredToProceeed),m.requiredToProceeed)},{children:[s.jsx(i.CircleAlert,{size:14,color:"#6B7280"})," Required to proceed"]}))]})),s.jsx(_.AssignReminderLevels,{levels:Y,totalLevels:j,requireFinalApproval:q,setLevels:B,setRequireFinalApproval:w,fetchUsers:T,onValidationError:h,customStyles:m})]}),"reminders"===U&&s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.reminderPlaceholder),m.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"===U&&s.jsx(r.default,{levels:Y,reviewData:A})]})),s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.footer),m.footer)},{children:[s.jsx("button",e.__assign({style:e.__assign(e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.clearBtn),m.clearBtn),y?m.actionBtnDisabled:{}),onClick:function(){B(n.INITIAL_LEVELS.map(function(s){return e.__assign(e.__assign({},s),{assignees:[],dueDate:null})})),w(!1),V(null)},disabled:y},{children:"Clear"})),s.jsx("button",e.__assign({style:e.__assign(e.__assign(e.__assign({},l.DEFAULT_ASSIGN_REMINDER_WRAPPER_STYLES.saveBtn),m.saveBtn),y?m.actionBtnDisabled:{}),onClick:function(){null==D||D(Y),null==L||L(q),null==I||I(z),null==P||P({levels:Y,requireFinalApproval:q,finalApprovalDueDate:z,activeTab:U})},disabled:y},{children:"Save Changes"}))]}))]}))}))};
|
|
2
2
|
//# sourceMappingURL=AssignReminderWrapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"../../_virtual/_tslib.js";import{jsx as n,jsxs as t}from"react/jsx-runtime";import i from"react";import{PenLine as r,UserRoundCheck as l,Bell as o,InfoIcon as a,ArrowRight as s,CheckSquare as
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsx as n,jsxs as t}from"react/jsx-runtime";import i from"react";import{PenLine as r,UserRoundCheck as l,Bell as o,InfoIcon as a,ArrowRight as s,CheckSquare as c,User as p,FileCheck as u,Edit2 as d}from"lucide-react";import f from"./AssignLevelAccordions.js";import v from"./components/CustomCheckbox.js";import m from"./assets/FileCheckCorner.js";import{DEFAULT_ASSIGN_REMINDER_STYLES as h}from"./styles/AssignReminderStyles.js";var g=function(e){switch(e){case 0:return n(d,{size:16});case 1:return n(u,{size:16});case 2:return n(p,{size:16});default:return n(c,{size:16})}},y=[{label:"Edit",icon:n(r,{size:14})},{label:"Approve",icon:n(l,{size:14})},{label:"Edit & Approve",icon:n(m,{})},{label:"Notify",icon:n(o,{size:14})}];function x(r){var l=r.title,o=r.levels,c=void 0===o?[]:o,p=r.requireFinalApproval,u=void 0!==p&&p,d=r.additionalInfo,m=r.setLevels,x=r.setRequireFinalApproval,A=r.fetchUsers,b=r.accessLevelOptions,L=void 0===b?y:b,w=r.customInfoIcon,F=r.onValidationError,z=r.customStyles,D=void 0===z?{}:z,C=r.totalLevels,I=i.useState(!1),W=I[0],j=I[1],M=i.useMemo(function(){return Array.from({length:null!=C?C:3},function(e,n){var t;return null!==(t=c[n])&&void 0!==t?t:{title:"Level ".concat(n+1),headerName:"L ".concat(n+1),isMandatory:!1,dueDate:null,assignees:[],hasDueDate:!0}})},[c,C]);return t("div",e({style:e({padding:"8px",display:"flex",flexDirection:"column",gap:"18px"},D.container)},{children:[t("span",e({style:e(e({},h.header),D.levelsHeader)},{children:[n("span",{children:null!=l?l:"Assignee Levels"}),t("div",e({style:e(e({},h.infoIconWrapper),D.infoIconWrapper),onMouseEnter:function(){return j(!0)},onMouseLeave:function(){return j(!1)}},{children:[null!=w?w:n(a,{width:18,height:18}),n("div",e({style:e(e(e({},h.tooltip),D.tooltip),W?e(e({},h.tooltipVisible),D.tooltipVisible):{})},{children:d||t("span",{children:[n("b",{children:"How it works:"}),n("br",{}),"Level 1 is required by default, Enable Level 2 and Level 3 to add sequential approval steps for the review"]})}))]}))]})),n("div",e({style:e({display:"flex",flexDirection:"column",gap:"16px"},D.accordionsContainer)},{children:(c.length>0?c:M).map(function(t,i){return n(f,{level:t,id:String(i),accessLevelOptions:L,fetchUsers:A,onToggleMandatory:function(){return n=i,void(null==m||m(function(t){return t.map(function(t,i){return i===n?e(e({},t),{isMandatory:!t.isMandatory}):t})}));var n},onDueDateChange:function(n){return function(n,t){var i;if(n>0&&t){var r=null===(i=c[n-1])||void 0===i?void 0:i.dueDate;if(r&&t<r)return void(null==F||F("Level ".concat(n+1," due date cannot be before Level ").concat(n," due date")))}null==m||m(function(i){return i.map(function(i,r){return r===n?e(e({},i),{dueDate:t}):i})})}(i,n)},onAssigneesChange:function(n){return t=i,r=n,void(null==m||m(function(n){return n.map(function(n,i){return i===t?e(e({},n),{assignees:r}):n})}));var t,r},onTitleChange:function(n){return function(n,t){null==m||m(function(i){return i.map(function(i,r){return r===n?e(e({},i),{title:t}):i})})}(i,n)}},i)})})),t("div",e({style:e(e({},h.finalApprovalBox),D.finalApprovalBox)},{children:[n(v,{getter:u,setter:null!=x?x:function(){}}),t("div",e({style:e({display:"flex",flexDirection:"column",alignItems:"baseline",fontSize:"14px",fontWeight:400},D.finalApprovalTextWrapper)},{children:[n("span",e({style:e({fontWeight:500},D.finalApprovalTitle)},{children:"Require Final Approval"})),n("span",e({style:D.finalApprovalDesc},{children:"After all assignees approve, you (the owner) will be notified to give final sign-off before the redline is settled."}))]}))]})),t("div",e({style:e(e({},h.currentApprovalFlow),D.currentApprovalFlow)},{children:[n("span",e({style:e({fontSize:"14px",fontWeight:600},D.currentApprovalFlowTitle)},{children:"Current Approval Flow"})),n("div",e({style:e({display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap",marginTop:"4px"},D.approvalFlowItemsWrapper)},{children:c.map(function(r,l){var o,a=(null===(o=r.assignees)||void 0===o?void 0:o.map(function(e){return e.name}).join(", "))||"No users assigned",p=r.title||"Level ".concat(l+1);return t(i.Fragment,{children:[t("div",e({style:e({display:"flex",alignItems:"center",gap:"6px",fontSize:"14px",fontWeight:500,color:"#374151"},D.approvalFlowItem),title:p},{children:[g(l),n("span",{children:a})]})),l<c.length-1&&n(s,{size:16,color:"#9CA3AF"})]},l)})}))]}))]}))}export{x as AssignReminderLevels};
|
|
2
2
|
//# sourceMappingURL=AssignReminderLevels.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../../_virtual/_tslib.js";import"react/jsx-runtime";import"react";import"./AssignReminderLevels.js";var e=[{headerName:"L1",title:"Initial Review",isMandatory:!0,hasDueDate:!0,dueDate:null,assignees:[]},{headerName:"L2",title:"Manager Approval",isMandatory:!1,hasDueDate:!0,dueDate:null,assignees:[]},{headerName:"L3",title:"Final Sign-off",isMandatory:!1,hasDueDate:!1,dueDate:null,assignees:[]}];export{e as INITIAL_LEVELS};
|
|
2
2
|
//# sourceMappingURL=AssignReminderTest.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as r,jsx as t,Fragment as i}from"react/jsx-runtime";import{Bell as a,ClipboardList as l,X as n,CircleAlert as o}from"lucide-react";import{useState as s,useEffect as d}from"react";import{AssignReminderLevels as c}from"./AssignReminderLevels.js";import{INITIAL_LEVELS as v}from"./AssignReminderTest.js";import p 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:[t("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),t("circle",{cx:"9",cy:"7",r:"4"}),t("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),t("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}))},{tabName:"Manage Reminders",tabIcon:t(a,{size:15})},{tabName:"Review Status",tabIcon:t(l,{size:15})}];function b(l){var b,y,f=l.metadata,D=void 0===f?{}:f,g=l.reviewData,A=void 0===g?{}:g,B=l.levels,w=l.setLevels,C=l.requireFinalApproval,S=l.setRequireFinalApproval,R=l.approvalDueDate,L=l.setApprovalDueDate,N=l.onClose,T=l.fetchUsers,k=l.onSave,q=l.onValidationError,F=l.totalLevels,I=l.customStyles,j=void 0===I?{}:I,P=l.isSaving,z=void 0!==P&&P,x=(null===(b=D.tabData)||void 0===b?void 0:b.length)?D.tabData:h,M=s(x[0].tabName),W=M[0],E=M[1],H=(y=W.toLowerCase()).includes("reminder")?"reminders":y.includes("review")?"review":"assignees",U=s(B||v),V=U[0],_=U[1],O=s(C||!1),G=O[0],J=O[1],K=s(R||null),Q=K[0],X=K[1];d(function(){B&&_(B)},[B]),d(function(){void 0!==C&&J(C)},[C]),d(function(){void 0!==R&&X(R)},[R]);var Y=D.wrapperTitle||"Assign Redline and Manage Reminders",Z=D.wrapperSubTitle||"Sec 4.1 - Technical Security Information",$=D.wrapperPriority||"High",ee=D.wrapperPriorityStyles||{backgroundColor:"#DC262618",color:"#DC2626",border:"1px solid #DC262640"};return t("div",e({style:e(e({},m.overlay),j.overlay)},{children:r("div",e({style:e(e({},m.modal),j.modal)},{children:[r("div",e({style:e(e({},m.header),j.header)},{children:[r("div",e({style:e(e({},m.headerLeft),j.headerLeft)},{children:[t("span",e({style:e(e({},m.modalTitle),j.modalTitle)},{children:Y})),r("div",e({style:e(e({},m.redlineRow),j.redlineRow)},{children:[t("span",e({style:e(e({},m.redlineName),j.redlineName)},{children:Z})),t("span",e({style:e(e(e({},m.redlineBadge),ee),j.redlineBadge)},{children:$}))]}))]})),t("button",e({style:e(e({},m.closeBtn),j.closeBtn),onClick:N},{children:t(n,{size:20,color:"#6B7280"})}))]})),t("div",e({style:e(e({},m.tabBar),j.tabBar)},{children:x.map(function(t){var i=W===t.tabName;return r("button",e({style:e(e(e({},m.tab),j.tab),i?e(e({},m.tabActive),j.tabActive):{}),onClick:function(){return E(t.tabName)}},{children:[t.tabIcon," ",t.tabName]}),t.tabName)})})),r("div",e({style:e(e({},m.body),j.body)},{children:["assignees"===H&&r(i,{children:[!1!==D.showFinalApprovalDueDate&&r("div",e({style:e(e({},m.dueDateBar),j.dueDateBar)},{children:[r("span",e({style:e(e({},m.dueDateLabel),j.dueDateLabel)},{children:["Final Approval due date ",t("sup",e({style:{color:"#DC2626",marginLeft:2}},{children:"*"}))]})),t("div",e({style:e(e({},m.dueDateInputWrap),j.dueDateInputWrap)},{children:t(u,{value:Q?Q.toISOString().slice(0,10):"",onChange:X})})),r("span",e({style:e(e({},m.requiredToProceeed),j.requiredToProceeed)},{children:[t(o,{size:14,color:"#6B7280"})," Required to proceed"]}))]})),t(c,{levels:V,totalLevels:F,requireFinalApproval:G,setLevels:_,setRequireFinalApproval:J,fetchUsers:T,onValidationError:q,customStyles:j})]}),"reminders"===H&&r("div",e({style:e(e({},m.reminderPlaceholder),j.reminderPlaceholder)},{children:[t(a,{size:32,color:"#D1D5DB"}),t("p",e({style:{color:"#9CA3AF",marginTop:12,fontSize:14}},{children:"Reminder settings coming soon…"}))]})),"review"===H&&t(p,{levels:V,reviewData:A})]})),r("div",e({style:e(e({},m.footer),j.footer)},{children:[t("button",e({style:e(e(e({},m.clearBtn),j.clearBtn),z?j.actionBtnDisabled:{}),onClick:function(){_(v.map(function(r){return e(e({},r),{assignees:[],dueDate:null})})),J(!1),X(null)},disabled:z},{children:"Clear"})),t("button",e({style:e(e(e({},m.saveBtn),j.saveBtn),z?j.actionBtnDisabled:{}),onClick:function(){null==w||w(V),null==S||S(G),null==L||L(Q),null==k||k({levels:V,requireFinalApproval:G,finalApprovalDueDate:Q,activeTab:H})},disabled:z},{children:"Save Changes"}))]}))]}))}))}export{b as AssignReminderWrapper};
|
|
2
2
|
//# sourceMappingURL=AssignReminderWrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssignReminderLevels.d.ts","sourceRoot":"","sources":["../../../../src/components/AssignReminders/AssignReminderLevels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,yBAAyB,EAAS,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"AssignReminderLevels.d.ts","sourceRoot":"","sources":["../../../../src/components/AssignReminders/AssignReminderLevels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,yBAAyB,EAAS,MAAM,eAAe,CAAC;AAsBjE,iBAAS,oBAAoB,CAAC,EAC1B,KAAK,EACL,MAAW,EACX,oBAA4B,EAC5B,cAAc,EACd,SAAS,EACT,uBAAuB,EACvB,UAAU,EACV,kBAAiD,EACjD,cAAc,EACd,iBAAiB,EACjB,YAAiB,EACjB,WAAW,GACd,EAAE,yBAAyB,qBAsN3B;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -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, fetchUsers, onSave, onValidationError, totalLevels, }: AssignReminderWrapperProps): React.JSX.Element;
|
|
3
|
+
declare function AssignReminderWrapper({ metadata, reviewData, levels, setLevels, requireFinalApproval, setRequireFinalApproval, approvalDueDate, setApprovalDueDate, onClose, fetchUsers, onSave, onValidationError, totalLevels, customStyles, isSaving, }: 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,
|
|
1
|
+
{"version":3,"file":"AssignReminderWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/AssignReminders/AssignReminderWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,0BAA0B,EAAyB,MAAM,eAAe,CAAC;AAoBlF,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,EACjB,WAAW,EACX,YAAiB,EACjB,QAAgB,GACnB,EAAE,0BAA0B,qBAmL5B;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -54,6 +54,8 @@ export interface AssignReminderWrapperProps {
|
|
|
54
54
|
onClose?: () => void;
|
|
55
55
|
onValidationError?: (message: string) => void;
|
|
56
56
|
onSave?: (payload: SavePayload) => void;
|
|
57
|
+
customStyles?: Record<string, React.CSSProperties>;
|
|
58
|
+
isSaving?: boolean;
|
|
57
59
|
}
|
|
58
60
|
export interface AssignReminderLevelsProps {
|
|
59
61
|
title?: string;
|
|
@@ -66,7 +68,7 @@ export interface AssignReminderLevelsProps {
|
|
|
66
68
|
accessLevelOptions?: DropdownOption[];
|
|
67
69
|
onValidationError?: (message: string) => void;
|
|
68
70
|
customInfoIcon?: React.ReactNode;
|
|
69
|
-
customStyles?:
|
|
71
|
+
customStyles?: Record<string, React.CSSProperties>;
|
|
70
72
|
totalLevels?: number;
|
|
71
73
|
}
|
|
72
74
|
export interface LevelAccordionProps {
|
|
@@ -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,SA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E,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CAC1D;AAED,MAAM,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viswa-test/creative-workspace-ui-component",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"author": "Viswa Koduru",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dist"
|
|
25
25
|
],
|
|
26
26
|
"scripts": {
|
|
27
|
-
"start": "craco start",
|
|
27
|
+
"start": "PORT=3007 craco start",
|
|
28
28
|
"build": "rollup -c && npm run copy:styles",
|
|
29
29
|
"copy:styles": "mkdir -p dist/features/lsc-guidelines dist/cjs/features/lsc-guidelines && cp src/features/lsc-guidelines/theme.css dist/features/lsc-guidelines/theme.css && cp src/features/lsc-guidelines/theme.css dist/cjs/features/lsc-guidelines/theme.css",
|
|
30
30
|
"tsupBuild": "tsup src/index.ts",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"typescript": "4.9.5"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
|
-
"@e-llm-studio/requirement-ai": "^0.0.
|
|
125
|
+
"@e-llm-studio/requirement-ai": "^0.0.173",
|
|
126
126
|
"lucide-react": "^0.474.0",
|
|
127
127
|
"primeicons": "^7.0.0",
|
|
128
128
|
"primereact": "^10.9.7",
|