cortex-react-components 2.12.9 → 2.13.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.
- package/dist/{chunk-N3B3XNV3.mjs → chunk-2BRDNDUB.mjs} +1 -1
- package/dist/{chunk-M7NV6EFH.mjs → chunk-3HNU2NYP.mjs} +1 -1
- package/dist/{chunk-FKU4VQR6.mjs → chunk-3NRXQBBS.mjs} +1 -1
- package/dist/{chunk-NWISIJFD.mjs → chunk-3Y7QG6VP.mjs} +1 -1
- package/dist/{chunk-PK3OBSCB.mjs → chunk-5MWZTJYP.mjs} +1 -1
- package/dist/chunk-5NIEZE7A.mjs +4 -0
- package/dist/chunk-5ROLUQ45.mjs +4 -0
- package/dist/chunk-6LEH6XKI.mjs +4 -0
- package/dist/{chunk-5SHZBJ5R.mjs → chunk-75F3LJMX.mjs} +1 -1
- package/dist/{chunk-MXCW6SOT.mjs → chunk-7R47MHQE.mjs} +1 -1
- package/dist/{chunk-LJQPLE4S.mjs → chunk-AJQHGVZ5.mjs} +1 -1
- package/dist/chunk-ATBKMJU6.mjs +4 -0
- package/dist/{chunk-YKG4FNS4.mjs → chunk-C4RWEPVF.mjs} +1 -1
- package/dist/{chunk-OPLUKFRN.mjs → chunk-CXCDV7VP.mjs} +1 -1
- package/dist/{chunk-7GMAMIHM.mjs → chunk-CXOVEABI.mjs} +1 -1
- package/dist/chunk-DYIBFAK7.mjs +4 -0
- package/dist/{chunk-6XD4Y2YK.mjs → chunk-E5LTCCBN.mjs} +1 -1
- package/dist/{chunk-5WVFEIMC.mjs → chunk-EM3T2XYC.mjs} +1 -1
- package/dist/chunk-EZC3YWSQ.mjs +1 -0
- package/dist/{chunk-IF3425JX.mjs → chunk-FE7ZGUPU.mjs} +1 -1
- package/dist/chunk-FSCDCSVK.mjs +4 -0
- package/dist/{chunk-H3CJOE6S.mjs → chunk-GHOL5L32.mjs} +1 -1
- package/dist/{chunk-2RQDJ5XT.mjs → chunk-GTZJWMZR.mjs} +1 -1
- package/dist/chunk-I4GYQZGM.mjs +1 -0
- package/dist/chunk-J4QINTHR.mjs +4 -0
- package/dist/chunk-JCWFPKF3.mjs +4 -0
- package/dist/chunk-JDMIQLAZ.mjs +1 -0
- package/dist/{chunk-3C2IATPQ.mjs → chunk-JMIUGRDN.mjs} +1 -1
- package/dist/chunk-K5MJYNCD.mjs +4 -0
- package/dist/{chunk-5BV4MHV6.mjs → chunk-KG3MNGT6.mjs} +1 -1
- package/dist/chunk-KO6JUP2L.mjs +4 -0
- package/dist/{chunk-LJOWXPWW.mjs → chunk-LJXTXROJ.mjs} +1 -1
- package/dist/chunk-MDBYZZXI.mjs +1 -0
- package/dist/chunk-MFE4VZPC.mjs +4 -0
- package/dist/{chunk-HKGW6JI2.mjs → chunk-NINFDOV5.mjs} +1 -1
- package/dist/chunk-PMJGTB6S.mjs +4 -0
- package/dist/chunk-POIHYOIP.mjs +4 -0
- package/dist/chunk-R4SE63GR.mjs +4 -0
- package/dist/{chunk-255P6K5W.mjs → chunk-RGOKBIQ5.mjs} +1 -1
- package/dist/{chunk-67QPOSVV.mjs → chunk-RJGYVDOU.mjs} +1 -1
- package/dist/{chunk-XSX6S5UQ.mjs → chunk-RS4VD3ML.mjs} +1 -1
- package/dist/{chunk-24HD3Y56.mjs → chunk-RXUCV64J.mjs} +1 -1
- package/dist/chunk-SGK4ZXKR.mjs +4 -0
- package/dist/chunk-SNTLCFXF.mjs +4 -0
- package/dist/{chunk-GSOFCLPO.mjs → chunk-TTWEHUP5.mjs} +1 -1
- package/dist/{chunk-CBIULUZQ.mjs → chunk-TVTTUSWM.mjs} +1 -1
- package/dist/{chunk-SRUG246N.mjs → chunk-TXVA6XJT.mjs} +1 -1
- package/dist/chunk-UAEEBFHJ.mjs +4 -0
- package/dist/chunk-UBJT7MPU.mjs +4 -0
- package/dist/{chunk-CBV5NYAD.mjs → chunk-UXOUJ5YO.mjs} +1 -1
- package/dist/{chunk-ERJXTG6X.mjs → chunk-WIRQ5IRT.mjs} +1 -1
- package/dist/{chunk-LBUC4M6L.mjs → chunk-ZEALRBXW.mjs} +1 -1
- package/dist/chunk-ZKSZJI4F.mjs +4 -0
- package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +0 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/Foundary/AppSidebarLeft.css +1 -0
- package/dist/components/Foundary/AppSidebarLeft.d.ts +47 -0
- package/dist/components/Foundary/AppSidebarLeft.js +4 -0
- package/dist/components/Foundary/AppSidebarLeft.mjs +2 -0
- package/dist/components/Foundary/DashboardHeader.css +1 -0
- package/dist/components/Foundary/DashboardHeader.d.ts +8 -0
- package/dist/components/Foundary/DashboardHeader.js +4 -0
- package/dist/components/Foundary/DashboardHeader.mjs +1 -0
- package/dist/components/Foundary/DigitalColleageusLayout.css +1 -0
- package/dist/components/Foundary/DigitalColleageusLayout.d.ts +28 -0
- package/dist/components/Foundary/DigitalColleageusLayout.js +5 -0
- package/dist/components/Foundary/DigitalColleageusLayout.mjs +2 -0
- package/dist/components/Foundary/MainPage.css +1 -0
- package/dist/components/Foundary/MainPage.d.ts +3 -0
- package/dist/components/Foundary/MainPage.js +4 -0
- package/dist/components/Foundary/MainPage.mjs +2 -0
- package/dist/components/Foundary/ManagementSidebar.d.ts +8 -0
- package/dist/components/Foundary/ManagementSidebar.js +4 -0
- package/dist/components/Foundary/ManagementSidebar.mjs +2 -0
- package/dist/components/Foundary/Pages/dashboardpage.css +1 -0
- package/dist/components/Foundary/Pages/dashboardpage.d.ts +18 -0
- package/dist/components/Foundary/Pages/dashboardpage.js +5 -0
- package/dist/components/Foundary/Pages/dashboardpage.mjs +2 -0
- package/dist/components/Foundary/README-document-edit.js +238 -0
- package/dist/components/Foundary/README-document-edit.mjs +238 -0
- package/dist/components/Foundary/README-document-preview.js +210 -0
- package/dist/components/Foundary/README-document-preview.mjs +210 -0
- package/dist/components/Foundary/SearchableSelect.css +1 -0
- package/dist/components/Foundary/SearchableSelect.d.ts +16 -0
- package/dist/components/Foundary/SearchableSelect.js +4 -0
- package/dist/components/Foundary/SearchableSelect.mjs +1 -0
- package/dist/components/Foundary/Views/ColleaguesView.css +1 -0
- package/dist/components/Foundary/Views/ColleaguesView.d.ts +14 -0
- package/dist/components/Foundary/Views/ColleaguesView.js +5 -0
- package/dist/components/Foundary/Views/ColleaguesView.mjs +2 -0
- package/dist/components/Foundary/Views/KnowledgeView.css +1 -0
- package/dist/components/Foundary/Views/KnowledgeView.d.ts +11 -0
- package/dist/components/Foundary/Views/KnowledgeView.docs.js +308 -0
- package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +308 -0
- package/dist/components/Foundary/Views/KnowledgeView.js +5 -0
- package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -0
- package/dist/components/Foundary/Views/TeamsIndexView.css +1 -0
- package/dist/components/Foundary/Views/TeamsIndexView.d.ts +9 -0
- package/dist/components/Foundary/Views/TeamsIndexView.js +5 -0
- package/dist/components/Foundary/Views/TeamsIndexView.mjs +2 -0
- package/dist/components/Foundary/Views/index.css +1 -0
- package/dist/components/Foundary/Views/index.d.ts +7 -0
- package/dist/components/Foundary/Views/index.js +5 -0
- package/dist/components/Foundary/Views/index.mjs +1 -0
- package/dist/components/Foundary/colleague-card.css +1 -0
- package/dist/components/Foundary/colleague-card.d.ts +12 -0
- package/dist/components/Foundary/colleague-card.js +4 -0
- package/dist/components/Foundary/colleague-card.mjs +2 -0
- package/dist/components/Foundary/colleague-form.css +1 -0
- package/dist/components/Foundary/colleague-form.d.ts +14 -0
- package/dist/components/Foundary/colleague-form.js +4 -0
- package/dist/components/Foundary/colleague-form.mjs +2 -0
- package/dist/components/Foundary/colleague-type-selection.css +1 -0
- package/dist/components/Foundary/colleague-type-selection.d.ts +7 -0
- package/dist/components/Foundary/colleague-type-selection.js +4 -0
- package/dist/components/Foundary/colleague-type-selection.mjs +2 -0
- package/dist/components/Foundary/digital-colleague-clone.css +1 -0
- package/dist/components/Foundary/digital-colleague-clone.d.ts +9 -0
- package/dist/components/Foundary/digital-colleague-clone.js +4 -0
- package/dist/components/Foundary/digital-colleague-clone.mjs +2 -0
- package/dist/components/Foundary/digital-colleague-options.css +1 -0
- package/dist/components/Foundary/digital-colleague-options.d.ts +7 -0
- package/dist/components/Foundary/digital-colleague-options.js +4 -0
- package/dist/components/Foundary/digital-colleague-options.mjs +2 -0
- package/dist/components/Foundary/document-edit.css +1 -0
- package/dist/components/Foundary/document-edit.d.ts +10 -0
- package/dist/components/Foundary/document-edit.js +5 -0
- package/dist/components/Foundary/document-edit.mjs +2 -0
- package/dist/components/Foundary/document-preview-examples.css +1 -0
- package/dist/components/Foundary/document-preview-examples.d.ts +12 -0
- package/dist/components/Foundary/document-preview-examples.js +35 -0
- package/dist/components/Foundary/document-preview-examples.mjs +31 -0
- package/dist/components/Foundary/document-preview.css +1 -0
- package/dist/components/Foundary/document-preview.d.ts +18 -0
- package/dist/components/Foundary/document-preview.js +5 -0
- package/dist/components/Foundary/document-preview.mjs +2 -0
- package/dist/components/Foundary/index.css +1 -0
- package/dist/components/Foundary/index.d.ts +18 -0
- package/dist/components/Foundary/index.js +5 -0
- package/dist/components/Foundary/index.mjs +1 -0
- package/dist/components/Foundary/knowledge-browser.css +1 -0
- package/dist/components/Foundary/knowledge-browser.d.ts +13 -0
- package/dist/components/Foundary/knowledge-browser.js +5 -0
- package/dist/components/Foundary/knowledge-browser.mjs +2 -0
- package/dist/components/Foundary/knowledge-search.css +1 -0
- package/dist/components/Foundary/knowledge-search.d.ts +12 -0
- package/dist/components/Foundary/knowledge-search.js +5 -0
- package/dist/components/Foundary/knowledge-search.mjs +2 -0
- package/dist/components/Foundary/team-form.css +1 -0
- package/dist/components/Foundary/team-form.d.ts +24 -0
- package/dist/components/Foundary/team-form.js +5 -0
- package/dist/components/Foundary/team-form.mjs +2 -0
- package/dist/components/Foundary/test-data.d.ts +110 -0
- package/dist/components/Foundary/test-data.js +1 -0
- package/dist/components/Foundary/test-data.mjs +1 -0
- package/dist/components/Foundary/types.d.ts +939 -0
- package/dist/components/Foundary/types.js +1 -0
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +16 -16
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/index.js +18 -18
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4BDP6J3T.mjs +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
'use client'
|
|
4
|
+
|
|
5
|
+
"use strict";"use client";var Ve=Object.create;var $=Object.defineProperty;var Be=Object.getOwnPropertyDescriptor;var je=Object.getOwnPropertyNames;var De=Object.getPrototypeOf,We=Object.prototype.hasOwnProperty;var _e=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},ge=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of je(t))!We.call(e,a)&&a!==r&&$(e,a,{get:()=>t[a],enumerable:!(o=Be(t,a))||o.enumerable});return e};var P=(e,t,r)=>(r=e!=null?Ve(De(e)):{},ge(t||!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),Ke=e=>ge($({},"__esModule",{value:!0}),e);var Pt={};_e(Pt,{TeamForm:()=>Mt});module.exports=Ke(Pt);var W=require("react"),q=require("lucide-react");var Te=require("clsx");var te="-",Ue=e=>{let t=Oe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{let n=c.split(te);return n[0]===""&&n.length!==1&&n.shift(),ve(n,t)||$e(c)},getConflictingClassGroupIds:(c,n)=>{let i=r[c]||[];return n&&o[c]?[...i,...o[c]]:i}}},ve=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ve(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(te);return t.validators.find(({validator:c})=>c(s))?.classGroupId},he=/^\[(.+)\]$/,$e=e=>{if(he.test(e)){let t=he.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Oe=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Je(Object.entries(e.classGroups),r).forEach(([s,c])=>{ee(c,o,s,t)}),o},ee=(e,t,r,o)=>{e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:ye(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(qe(a)){ee(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,c])=>{ee(c,ye(t,s),r,o)})})},ye=(e,t)=>{let r=e;return t.split(te).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},qe=e=>e.isThemeGetter,Je=(e,t)=>t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([c,n])=>[t+c,n])):s);return[r,a]}):e,Xe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,a=(s,c)=>{r.set(s,c),t++,t>e&&(t=0,o=r,r=new Map)};return{get(s){let c=r.get(s);if(c!==void 0)return c;if((c=o.get(s))!==void 0)return a(s,c),c},set(s,c){r.has(s)?r.set(s,c):a(s,c)}}},xe="!",Ze=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,a=t[0],s=t.length,c=n=>{let i=[],m=0,u=0,v;for(let d=0;d<n.length;d++){let y=n[d];if(m===0){if(y===a&&(o||n.slice(d,d+s)===t)){i.push(n.slice(u,d)),u=d+s;continue}if(y==="/"){v=d;continue}}y==="["?m++:y==="]"&&m--}let x=i.length===0?n:n.substring(u),k=x.startsWith(xe),w=k?x.substring(1):x,g=v&&v>u?v-u:void 0;return{modifiers:i,hasImportantModifier:k,baseClassName:w,maybePostfixModifierPosition:g}};return r?n=>r({className:n,parseClassName:c}):c},Qe=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},Ye=e=>({cache:Xe(e.cacheSize),parseClassName:Ze(e),...Ue(e)}),et=/\s+/,tt=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=[],c=e.trim().split(et),n="";for(let i=c.length-1;i>=0;i-=1){let m=c[i],{modifiers:u,hasImportantModifier:v,baseClassName:x,maybePostfixModifierPosition:k}=r(m),w=!!k,g=o(w?x.substring(0,k):x);if(!g){if(!w){n=m+(n.length>0?" "+n:n);continue}if(g=o(x),!g){n=m+(n.length>0?" "+n:n);continue}w=!1}let d=Qe(u).join(":"),y=v?d+xe:d,C=y+g;if(s.includes(C))continue;s.push(C);let F=a(g,w);for(let z=0;z<F.length;++z){let _=F[z];s.push(y+_)}n=m+(n.length>0?" "+n:n)}return n};function rt(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=we(t))&&(o&&(o+=" "),o+=r);return o}var we=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=we(e[o]))&&(r&&(r+=" "),r+=t);return r};function ot(e,...t){let r,o,a,s=c;function c(i){let m=t.reduce((u,v)=>v(u),e());return r=Ye(m),o=r.cache.get,a=r.cache.set,s=n,n(i)}function n(i){let m=o(i);if(m)return m;let u=tt(i,r);return a(i,u),u}return function(){return s(rt.apply(null,arguments))}}var f=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ce=/^\[(?:([a-z-]+):)?(.+)\]$/i,st=/^\d+\/\d+$/,nt=new Set(["px","full","screen"]),at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,it=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ct=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>L(e)||nt.has(e)||st.test(e),N=e=>I(e,"length",yt),L=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>I(e,"number",L),V=e=>!!e&&Number.isInteger(Number(e)),pt=e=>e.endsWith("%")&&L(e.slice(0,-1)),l=e=>Ce.test(e),S=e=>at.test(e),ut=new Set(["length","size","percentage"]),mt=e=>I(e,ut,ke),ft=e=>I(e,"position",ke),bt=new Set(["image","url"]),gt=e=>I(e,bt,xt),ht=e=>I(e,"",vt),B=()=>!0,I=(e,t,r)=>{let o=Ce.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},yt=e=>it.test(e)&&!lt.test(e),ke=()=>!1,vt=e=>ct.test(e),xt=e=>dt.test(e);var wt=()=>{let e=f("colors"),t=f("spacing"),r=f("blur"),o=f("brightness"),a=f("borderColor"),s=f("borderRadius"),c=f("borderSpacing"),n=f("borderWidth"),i=f("contrast"),m=f("grayscale"),u=f("hueRotate"),v=f("invert"),x=f("gap"),k=f("gradientColorStops"),w=f("gradientColorStopPositions"),g=f("inset"),d=f("margin"),y=f("opacity"),C=f("padding"),F=f("saturate"),z=f("scale"),_=f("sepia"),ce=f("skew"),de=f("space"),pe=f("translate"),J=()=>["auto","contain","none"],X=()=>["auto","hidden","clip","visible","scroll"],Z=()=>["auto",l,t],b=()=>[l,t],ue=()=>["",T,N],K=()=>["auto",L,l],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",l],be=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[L,l];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[T,N],blur:["none","",S,l],brightness:R(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:b(),borderWidth:ue(),contrast:R(),grayscale:G(),hueRotate:R(),invert:G(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[pt,N],inset:Z(),margin:Z(),opacity:R(),padding:b(),saturate:R(),scale:R(),sepia:G(),skew:R(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":be()}],"break-before":[{"break-before":be()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...me(),l]}],overflow:[{overflow:X()}],"overflow-x":[{"overflow-x":X()}],"overflow-y":[{"overflow-y":X()}],overscroll:[{overscroll:J()}],"overscroll-x":[{"overscroll-x":J()}],"overscroll-y":[{"overscroll-y":J()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",V,l]}],basis:[{basis:Z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",V,l]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",V,l]},l]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[V,l]},l]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],Se:[{Se:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,N]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Y]}],"font-family":[{font:[B]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",L,Y]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",T,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",T,N]}],"underline-offset":[{"underline-offset":["auto",T,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[T,l]}],"outline-w":[{outline:[T,N]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[T,N]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,ht]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[F]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[V,l]}],"translate-x":[{"translate-x":[pe]}],"translate-y":[{"translate-y":[pe]}],"skew-x":[{"skew-x":[ce]}],"skew-y":[{"skew-y":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-Se":[{"scroll-Se":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[T,N,Y]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],Se:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-Se":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Re=ot(wt);function h(...e){return Re((0,Te.clsx)(e))}var Me=require("@radix-ui/react-slot"),Pe=require("class-variance-authority"),Ne=P(require("react")),Se=require("react/jsx-runtime"),Ct=(0,Pe.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),j=Ne.forwardRef(({asChild:e=!1,className:t,size:r,variant:o,...a},s)=>(0,Se.jsx)(e?Me.Slot:"button",{className:h(Ct({className:t,size:r,variant:o})),ref:s,...a}));j.displayName="Button";var A=P(require("react"));var re=A.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("div",{ref:r,className:h("rounded-xl border bg-card text-card-foreground shadow",e),...t}));re.displayName="Card";var oe=A.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("div",{ref:r,className:h("flex flex-col space-y-1.5 Se-6",e),...t}));oe.displayName="CardHeader";var se=A.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("div",{ref:r,className:h("font-semibold leading-none tracking-tight",e),...t}));se.displayName="CardTitle";var kt=A.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("div",{ref:r,className:h("text-sm text-muted-foreground",e),...t}));kt.displayName="CardDescription";var ne=A.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("div",{ref:r,className:h("Se-6 pt-0",e),...t}));ne.displayName="CardContent";var Rt=A.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("div",{ref:r,className:h("flex items-center Se-6 pt-0",e),...t}));Rt.displayName="CardFooter";var ze=P(require("react"));var ae=ze.forwardRef(({className:e,type:t,...r},o)=>(0,Se.jsx)("input",{type:t,className:h("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...r}));ae.displayName="Input";var Ee=P(require("react")),ie=P(require("@radix-ui/react-label"));var Tt=(0,Pe.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),M=Ee.forwardRef(({className:e,...t},r)=>(0,Se.jsx)(ie.Root,{ref:r,className:h(Tt(),e),...t}));M.displayName=ie.Root.displayName;var He=P(require("react")),O=He.forwardRef(({className:e,...t},r)=>(0,Se.jsx)("textarea",{className:h("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));O.displayName="Textarea";var Ge=P(require("react")),D=P(require("@radix-ui/react-switch"));var H=Ge.forwardRef(({className:e,...t},r)=>(0,Se.jsx)(D.Root,{className:h("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:r,children:(0,Se.jsx)(D.Thumb,{className:h("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));H.displayName=D.Root.displayName;function Mt({team:e,onSave:t,onCancel:r,isLoading:o=!1,title:a,submitLabel:s,cancelLabel:c="Cancel",readOnly:n=!1}){let[i,m]=(0,W.useState)({name:"",description:"",systemMsg:"",useProjects:!1,useKnowledge:!1,useFiles:!1,useChat:!1,...e}),[u,v]=(0,W.useState)(!n);(0,W.useEffect)(()=>{e&&m(e)},[e]);let x=d=>{d.preventDefault();let y={id:i.id||Date.now(),name:i.name,description:i.description||null,systemMsg:i.systemMsg||null,useProjects:i.useProjects||!1,useKnowledge:i.useKnowledge||!1,useFiles:i.useFiles||!1,useChat:i.useChat||!1,updatedAt:new Date().toISOString(),createdAt:i.createdAt||new Date().toISOString()};t(y)},k=d=>{d.preventDefault(),v(!u)},w=a||(u?e?"Edit Team":"Create New Team":"View Team"),g=s||(e?"Update Team":"Create Team");return(0,Se.jsxs)(re,{className:"m-8 w-full max-w-4xl mx-auto",children:[(0,Se.jsx)(oe,{children:(0,Se.jsxs)(se,{className:"flex items-center gap-2",children:[(0,Se.jsx)(q.Users,{className:"h-5 w-5"}),w]})}),(0,Se.jsx)(ne,{children:(0,Se.jsxs)("form",{onSubmit:x,className:"space-y-6",children:[(0,Se.jsxs)("div",{className:"space-y-4",children:[(0,Se.jsxs)("div",{className:"space-y-2",children:[(0,Se.jsx)(M,{htmlFor:"name",children:"Team Name *"}),(0,Se.jsx)(ae,{id:"name",value:i.name||"",onChange:d=>m({...i,name:d.target.value}),required:!0,disabled:o||!u,placeholder:"Enter team name..."})]}),(0,Se.jsxs)("div",{className:"space-y-2",children:[(0,Se.jsx)(M,{htmlFor:"description",children:"Description"}),(0,Se.jsx)(O,{id:"description",value:i.description||"",onChange:d=>m({...i,description:d.target.value}),rows:3,placeholder:"Brief description of this team...",disabled:o||!u})]}),(0,Se.jsxs)("div",{className:"space-y-2",children:[(0,Se.jsx)(M,{htmlFor:"systemMsg",children:"Ways of working"}),(0,Se.jsx)(O,{id:"systemMsg",value:i.systemMsg||"",onChange:d=>m({...i,systemMsg:d.target.value}),rows:3,placeholder:"Describe how this team works in as much detail as possible. Include processes, tools, systems, styles...",disabled:o||!u})]})]}),(0,Se.jsxs)("div",{className:"space-y-4",children:[(0,Se.jsx)("h3",{className:"text-lg font-semibold",children:"Team Configuration"}),(0,Se.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,Se.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Se.jsx)(H,{id:"useProjects",checked:i.useProjects||!1,onCheckedChange:d=>m({...i,useProjects:d}),disabled:o||!u}),(0,Se.jsx)(M,{htmlFor:"useProjects",children:"Enable Projects"})]}),(0,Se.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Se.jsx)(H,{id:"useKnowledge",checked:i.useKnowledge||!1,onCheckedChange:d=>m({...i,useKnowledge:d}),disabled:o||!u}),(0,Se.jsx)(M,{htmlFor:"useKnowledge",children:"Enable Knowledge Base"})]}),(0,Se.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Se.jsx)(H,{id:"useFiles",checked:i.useFiles||!1,onCheckedChange:d=>m({...i,useFiles:d}),disabled:o||!u}),(0,Se.jsx)(M,{htmlFor:"useFiles",children:"Enable File Management"})]}),(0,Se.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,Se.jsx)(H,{id:"useChat",checked:i.useChat||!1,onCheckedChange:d=>m({...i,useChat:d}),disabled:o||!u}),(0,Se.jsx)(M,{htmlFor:"useChat",children:"Enable Team Chat"})]})]})]}),(0,Se.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[(0,Se.jsx)(j,{type:"button",variant:"outline",onClick:r,disabled:o,children:u?c:"Close"}),u?(0,Se.jsx)(j,{type:"submit",disabled:o||!i.name?.trim(),children:o?"Saving...":g}):(0,Se.jsxs)(j,{type:"button",onClick:k,disabled:o,className:"gap-2",children:[(0,Se.jsx)(q.Edit,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}0&&(module.exports={TeamForm});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";import{a}from"../../chunk-UAEEBFHJ.mjs";import"../../chunk-YRMNCHFO.mjs";import"../../chunk-B4H6T2GP.mjs";import"../../chunk-TVZOULLL.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as TeamForm};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Project, Epic, Sprint, Task } from './types';
|
|
2
|
+
import { ProjectSummary, TeamSummary, Colleague, BusinessUnit, Reminder, RecentFile, DigitalColleague, SidebarItem, Notification } from './types';
|
|
3
|
+
export declare const mockSidebarItems: SidebarItem[];
|
|
4
|
+
export declare const mockNotifications: Notification[];
|
|
5
|
+
export declare const businessUnits: BusinessUnit[];
|
|
6
|
+
export declare const mockProjects: Project[];
|
|
7
|
+
export declare const mockProjectSummary: ProjectSummary[];
|
|
8
|
+
export declare const mockTeamSummary: TeamSummary[];
|
|
9
|
+
export declare const mockEpics: Epic[];
|
|
10
|
+
export declare const mockSprints: Sprint[];
|
|
11
|
+
export declare const mockTasks: Task[];
|
|
12
|
+
export declare const highDensityTasks: Task[];
|
|
13
|
+
export declare const extendedProjects: Project[];
|
|
14
|
+
export declare const emptyStateData: {
|
|
15
|
+
projects: {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
isSelected: boolean;
|
|
20
|
+
}[];
|
|
21
|
+
epics: never[];
|
|
22
|
+
sprints: {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
description: string;
|
|
26
|
+
startDate: Date;
|
|
27
|
+
endDate: Date;
|
|
28
|
+
isActive: boolean;
|
|
29
|
+
isSelected: boolean;
|
|
30
|
+
}[];
|
|
31
|
+
tasks: never[];
|
|
32
|
+
};
|
|
33
|
+
export declare const singleEpicData: {
|
|
34
|
+
epics: {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
color: string;
|
|
38
|
+
description: string;
|
|
39
|
+
confidence: "high";
|
|
40
|
+
phase: number;
|
|
41
|
+
startDate: Date;
|
|
42
|
+
endDate: Date;
|
|
43
|
+
progress: number;
|
|
44
|
+
isSelected: boolean;
|
|
45
|
+
}[];
|
|
46
|
+
tasks: Task[];
|
|
47
|
+
};
|
|
48
|
+
export declare const getTasksByStatus: (tasks: Task[], status: Task["status"]) => Task[];
|
|
49
|
+
export declare const getTasksByEpic: (tasks: Task[], epicId: string) => Task[];
|
|
50
|
+
export declare const getTasksBySprint: (tasks: Task[], sprintId: string) => Task[];
|
|
51
|
+
export declare const testScenarios: {
|
|
52
|
+
empty: {
|
|
53
|
+
initialProjects: {
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
description: string;
|
|
57
|
+
isSelected: boolean;
|
|
58
|
+
}[];
|
|
59
|
+
initialEpics: never[];
|
|
60
|
+
initialSprints: {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
description: string;
|
|
64
|
+
startDate: Date;
|
|
65
|
+
endDate: Date;
|
|
66
|
+
isActive: boolean;
|
|
67
|
+
isSelected: boolean;
|
|
68
|
+
}[];
|
|
69
|
+
initialTasks: never[];
|
|
70
|
+
};
|
|
71
|
+
default: {
|
|
72
|
+
initialProjects: Project[];
|
|
73
|
+
initialEpics: Epic[];
|
|
74
|
+
initialSprints: Sprint[];
|
|
75
|
+
initialTasks: Task[];
|
|
76
|
+
};
|
|
77
|
+
highDensity: {
|
|
78
|
+
initialProjects: Project[];
|
|
79
|
+
initialEpics: Epic[];
|
|
80
|
+
initialSprints: Sprint[];
|
|
81
|
+
initialTasks: Task[];
|
|
82
|
+
};
|
|
83
|
+
singleEpic: {
|
|
84
|
+
initialProjects: Project[];
|
|
85
|
+
initialEpics: {
|
|
86
|
+
id: string;
|
|
87
|
+
name: string;
|
|
88
|
+
color: string;
|
|
89
|
+
description: string;
|
|
90
|
+
confidence: "high";
|
|
91
|
+
phase: number;
|
|
92
|
+
startDate: Date;
|
|
93
|
+
endDate: Date;
|
|
94
|
+
progress: number;
|
|
95
|
+
isSelected: boolean;
|
|
96
|
+
}[];
|
|
97
|
+
initialSprints: Sprint[];
|
|
98
|
+
initialTasks: Task[];
|
|
99
|
+
};
|
|
100
|
+
multipleProjects: {
|
|
101
|
+
initialProjects: Project[];
|
|
102
|
+
initialEpics: Epic[];
|
|
103
|
+
initialSprints: Sprint[];
|
|
104
|
+
initialTasks: Task[];
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export declare const mockColleagues: Colleague[];
|
|
108
|
+
export declare const mockReminders: Reminder[];
|
|
109
|
+
export declare const mockFiles: RecentFile[];
|
|
110
|
+
export declare const mockDigitalColleagues: DigitalColleague[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var g=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var A=(t,a)=>{for(var n in a)g(t,n,{get:a[n],enumerable:!0})},b=(t,a,n,u)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of h(a))!y.call(t,r)&&r!==n&&g(t,r,{get:()=>a[r],enumerable:!(u=S(a,r))||u.enumerable});return t};var f=t=>b(g({},"__esModule",{value:!0}),t);var z={};A(z,{businessUnits:()=>T,emptyStateData:()=>d,extendedProjects:()=>D,getTasksByEpic:()=>P,getTasksBySprint:()=>I,getTasksByStatus:()=>j,highDensityTasks:()=>w,mockColleagues:()=>l,mockDigitalColleagues:()=>N,mockEpics:()=>p,mockFiles:()=>B,mockNotifications:()=>v,mockProjectSummary:()=>x,mockProjects:()=>o,mockReminders:()=>M,mockSidebarItems:()=>k,mockSprints:()=>s,mockTasks:()=>c,mockTeamSummary:()=>C,singleEpicData:()=>m,testScenarios:()=>L});module.exports=f(z);var e=require("lucide-react"),i=require("react/jsx-runtime");var k=[{id:"home",title:"Home",icon:(0,i.jsx)(e.Home,{}),isActive:!0},{id:"teams",title:"Teams",icon:(0,i.jsx)(e.Users,{}),maxItems:2,items:[{id:"design",title:"Design",url:"#"},{id:"marketing",title:"Marketing",url:"#"},{id:"finance",title:"Finance",url:"#"},{id:"engineering",title:"Engineering",url:"#"},{id:"sales",title:"Sales",url:"#"}]},{id:"projects",title:"Projects",icon:(0,i.jsx)(e.Layers,{}),badge:"4",maxItems:2,items:[{id:"active-projects",title:"Active Projects",url:"#",badge:"4"},{id:"archived",title:"Archived",url:"#"},{id:"templates",title:"Templates",url:"#"},{id:"drafts",title:"Drafts",url:"#"},{id:"shared",title:"Shared with Me",url:"#",badge:"2"}]},{id:"copilot",title:"Copilot",icon:(0,i.jsx)(e.Bot,{}),url:"/copilot"},{id:"knowledge",title:"Knowledge",icon:(0,i.jsx)(e.FileText,{}),url:"/knowledge"}],v=[{id:"1",title:"New comment on your post",description:"Alex Morgan commented on your 'Minimalist Logo Design' post.",time:"Just now",read:!1,type:"info",actionLabel:"View comment",onAction:()=>console.log("View comment clicked")},{id:"2",title:"Project deadline approaching",description:"The 'Website Redesign' project is due in 2 days.",time:"5 minutes ago",read:!1,type:"warning",actionLabel:"View project",onAction:()=>console.log("View project clicked")},{id:"3",title:"File shared with you",description:"Emma Thompson shared 'Brand Guidelines.pdf' with you.",time:"1 hour ago",read:!1,type:"info",actionLabel:"Open file",onAction:()=>console.log("Open file clicked")},{id:"4",title:"Update successful",description:"PixelMaster has been updated to version 2.4.0.",time:"3 hours ago",read:!0,type:"success",actionLabel:"See what's new",onAction:()=>console.log("See what's new clicked")},{id:"5",title:"Storage limit reached",description:"You've used 95% of your storage. Consider upgrading your plan.",time:"Yesterday",read:!0,type:"error",actionLabel:"Upgrade plan",onAction:()=>console.log("Upgrade plan clicked")},{id:"6",title:"Weekly summary",description:"Check out your activity summary for the past week.",time:"2 days ago",read:!0,type:"info",actionLabel:"View summary",onAction:()=>console.log("View summary clicked")},{id:"7",title:"New tutorial available",description:"A new tutorial on 'Advanced Animation Techniques' is now available.",time:"3 days ago",read:!0,type:"info",actionLabel:"Start learning",onAction:()=>console.log("Start learning clicked")}],T=[{id:"design",name:"Design",description:"Creative and visual design team",icon:(0,i.jsx)(e.Palette,{className:"h-4 w-4"}),color:"bg-purple-600",accentColor:"text-purple-600"},{id:"engineering",name:"Engineering",description:"Software development and technical teams",icon:(0,i.jsx)(e.Code,{className:"h-4 w-4"}),color:"bg-blue-600",accentColor:"text-blue-600"},{id:"marketing",name:"Marketing",description:"Brand, campaigns, and growth marketing",icon:(0,i.jsx)(e.TrendingUp,{className:"h-4 w-4"}),color:"bg-pink-600",accentColor:"text-pink-600"},{id:"sales",name:"Sales",description:"Revenue generation and customer acquisition",icon:(0,i.jsx)(e.DollarSign,{className:"h-4 w-4"}),color:"bg-green-600",accentColor:"text-green-600"},{id:"hr",name:"Human Resources",description:"People operations and talent management",icon:(0,i.jsx)(e.Users,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"},{id:"operations",name:"Operations",description:"Business operations and process optimization",icon:(0,i.jsx)(e.Wrench,{className:"h-4 w-4"}),color:"bg-indigo-600",accentColor:"text-indigo-600"},{id:"legal",name:"Legal",description:"Legal affairs and compliance",icon:(0,i.jsx)(e.Scale,{className:"h-4 w-4"}),color:"bg-slate-600",accentColor:"text-slate-600"},{id:"product",name:"Product",description:"Product strategy and management",icon:(0,i.jsx)(e.Package,{className:"h-4 w-4"}),color:"bg-violet-600",accentColor:"text-violet-600"},{id:"it",name:"IT Support",description:"Information technology and infrastructure",icon:(0,i.jsx)(e.Zap,{className:"h-4 w-4"}),color:"bg-cyan-600",accentColor:"text-cyan-600"},{id:"company",name:"Company",description:"Company-wide resources and information",icon:(0,i.jsx)(e.Building2,{className:"h-4 w-4"}),color:"bg-gray-600",accentColor:"text-gray-600"}],o=[{id:1,name:"E-commerce Platform",description:"Main customer-facing e-commerce application",createdAt:new Date().toString(),updatedAt:new Date().toString(),team:1},{id:2,name:"Admin Dashboard",description:"Internal administration and analytics dashboard",createdAt:new Date().toString(),updatedAt:new Date().toString(),team:1},{id:3,name:"Mobile App",description:"Native mobile application for iOS and Android",createdAt:new Date().toString(),updatedAt:new Date().toString(),team:1}],x=[{id:1,name:"Website Redesign",description:"Complete overhaul of company website",progress:75,dueDate:"June 15, 2025",members:4,files:23},{id:2,name:"Mobile App Launch",description:"Design and assets for new mobile application",progress:60,dueDate:"July 30, 2025",members:6,files:42},{id:3,name:"Brand Identity",description:"New brand guidelines and assets",progress:90,dueDate:"May 25, 2025",members:3,files:18},{id:4,name:"Marketing Campaign",description:"Summer promotion materials",progress:40,dueDate:"August 10, 2025",members:5,files:31}],C=[{id:"1",name:"Product Development",description:"Core product development team responsible for building and maintaining our main platform",humanColleagues:8,digitalColleagues:3,projects:5},{id:"2",name:"Design & UX",description:"Creative team focused on user experience design and visual identity",humanColleagues:5,digitalColleagues:2,projects:3},{id:"3",name:"Marketing",description:"Growth and marketing team driving customer acquisition and retention",humanColleagues:6,digitalColleagues:4,projects:7},{id:"4",name:"Data Science",description:"Analytics and machine learning team providing insights and intelligent features",humanColleagues:4,digitalColleagues:6,projects:2},{id:"5",name:"Customer Success",description:"Support and success team ensuring customer satisfaction and retention",humanColleagues:7,digitalColleagues:2,projects:4},{id:"6",name:"Operations",description:"Infrastructure and operations team maintaining system reliability and performance",humanColleagues:3,digitalColleagues:5,projects:3}],p=[{id:1,name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:2,name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:3,name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:4,name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()}],s=[{id:1,name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:2,name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:3,name:"Sprint 1",description:"Initial development phase",startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:4,name:"Sprint 2",description:"Feature development",startDate:new Date().toString(),endDate:new Date().toString(),createdAt:new Date().toString(),updatedAt:new Date().toString()}],c=[{id:1,name:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",dateLogged:new Date().toString(),index:1,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"John Doe"},createdAt:new Date().toString()},{id:2,name:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",dateLogged:new Date().toString(),index:2,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Jane Smith"},createdAt:new Date().toString()},{id:3,name:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",dateLogged:new Date().toString(),index:3,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Mike Johnson"},createdAt:new Date().toString()},{id:4,name:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",dateLogged:new Date().toString(),index:4,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Sarah Wilson"},createdAt:new Date().toString()},{id:5,name:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",dateLogged:new Date().toString(),index:5,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Alex Brown"},createdAt:new Date().toString()},{id:6,name:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",dateLogged:new Date().toString(),index:6,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Emma Davis"},createdAt:new Date().toString()},{id:7,name:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",dateLogged:new Date().toString(),index:7,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Tom Wilson"},createdAt:new Date().toString()}],w=[...c,{id:8,name:"Add search functionality",description:"Implement search across all dashboard widgets",status:"todo",priority:"medium",type:"story",dateLogged:new Date().toString(),index:8,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"1"},createdAt:new Date().toString()},{id:9,name:"Fix mobile responsive issues",description:"Resolve layout problems on mobile devices",status:"in-progress",priority:"high",type:"bug",dateLogged:new Date().toString(),index:9,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Taylor Swift"},createdAt:new Date().toString()},{id:10,name:"Implement dark mode",description:"Add dark theme support across the application",status:"review",priority:"low",type:"story",dateLogged:new Date().toString(),index:10,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Jordan Smith"},createdAt:new Date().toString()},{id:11,name:"API rate limiting",description:"Implement rate limiting for API endpoints",status:"done",priority:"high",type:"task",dateLogged:new Date().toString(),index:11,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Morgan Davis"},createdAt:new Date().toString()},{id:12,name:"User onboarding flow",description:"Create guided tour for new users",status:"todo",priority:"medium",type:"story",dateLogged:new Date().toString(),index:12,updatedAt:new Date().toString(),assignee:{relationTo:"users",value:"Casey Johnson"},createdAt:new Date().toString()}],D=[{id:4,name:"Analytics Platform",description:"Business intelligence and reporting system",createdAt:new Date().toString(),updatedAt:new Date().toString(),team:1},{id:5,name:"API Gateway",description:"Microservices API management layer",createdAt:new Date().toString(),updatedAt:new Date().toString(),team:1}],d={projects:[{id:"1",name:"Empty Project",description:"A project with no tasks",isSelected:!0}],epics:[],sprints:[{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0}],tasks:[]},m={epics:[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0}],tasks:c.filter(t=>typeof t.epic=="object"?t.epic?.id===1:t.epic===1)},j=(t,a)=>t.filter(n=>n.status===a),P=(t,a)=>t.filter(n=>typeof n.epic=="object"?n.epic?.id?.toString()===a:n.epic?.toString()===a),I=(t,a)=>t.filter(n=>typeof n.sprint=="object"?(n.sprint?.id||-1).toString()===a:n.sprint?.toString()===a),L={empty:{initialProjects:d.projects,initialEpics:d.epics,initialSprints:d.sprints,initialTasks:d.tasks},default:{initialProjects:o,initialEpics:p,initialSprints:s,initialTasks:c},highDensity:{initialProjects:o,initialEpics:p,initialSprints:s,initialTasks:w},singleEpic:{initialProjects:o,initialEpics:m.epics,initialSprints:s,initialTasks:m.tasks},multipleProjects:{initialProjects:D,initialEpics:p,initialSprints:s,initialTasks:c}},l=[{id:"1",type:"human",name:"Sarah Johnson",email:"sarah.johnson@company.com",createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:2,type:"digital",name:"CodeAssist Pro",createdAt:new Date().toString(),updatedAt:new Date().toString(),jobDescription:"AI-powered coding assistant that helps with code review, debugging, and documentation generation.",workInstructions:"Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",capabilities:[{relationTo:"mcpTools",value:1},{relationTo:"mcpTools",value:2}],knowledge:1,coreKnowledge:1,capabilityLevel:1},{id:"3",type:"human",name:"Michael Chen",email:"michael.chen@company.com",createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:4,type:"digital",name:"MarketingBot",createdAt:new Date().toString(),updatedAt:new Date().toString(),jobDescription:"Specialized AI assistant for marketing campaigns, content creation, and social media management.",workInstructions:"Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",capabilities:[{relationTo:"mcpTools",value:1},{relationTo:"mcpTools",value:2}],knowledge:1,coreKnowledge:1,capabilityLevel:1},{id:"5",type:"human",name:"Emily Rodriguez",email:"emily.rodriguez@company.com",createdAt:new Date().toString(),updatedAt:new Date().toString()},{id:6,type:"digital",name:"DataAnalyzer Pro",createdAt:new Date().toString(),updatedAt:new Date().toString(),jobDescription:"Advanced AI assistant specializing in data analysis, reporting, and business intelligence.",workInstructions:"Analyze complex datasets, generate insightful reports, create data visualizations, and provide actionable business recommendations.",capabilities:[{relationTo:"mcpTools",value:1},{relationTo:"mcpTools",value:2},{relationTo:"mcpTools",value:3}],knowledge:1,coreKnowledge:1,capabilityLevel:1},{id:7,type:"digital",name:"ProjectManager AI",createdAt:new Date().toString(),updatedAt:new Date().toString(),jobDescription:"Intelligent project management assistant that helps coordinate tasks, track progress, and manage timelines.",workInstructions:"Coordinate project activities, track milestones, manage resource allocation, and provide project status updates.",capabilities:[{relationTo:"mcpTools",value:1},{relationTo:"mcpTools",value:2},{relationTo:"mcpTools",value:4},{relationTo:"mcpTools",value:5}],knowledge:1,coreKnowledge:1,capabilityLevel:1},{id:8,type:"digital",name:"CustomerSupport Bot",createdAt:new Date().toString(),updatedAt:new Date().toString(),jobDescription:"AI-powered customer support assistant that handles inquiries, resolves issues, and escalates complex problems.",workInstructions:"Respond to customer inquiries, troubleshoot common issues, provide product information, and escalate complex cases to human agents.",capabilities:[{relationTo:"mcpTools",value:1},{relationTo:"mcpTools",value:2},{relationTo:"mcpTools",value:5}],knowledge:1,coreKnowledge:1,capabilityLevel:1}],M=[{id:1,title:"Review quarterly report",description:"Go through Q4 performance metrics and prepare summary for the team meeting",dueDate:new Date(2024,2,15).toString(),dueTime:"14:30",assignedColleague:l.find(t=>t.id==="2"&&t.type==="digital"),isRecurring:!1,createdAt:new Date(2024,2,10).toString(),updatedAt:new Date(2024,2,10).toString(),project:o[0]},{id:2,title:"Weekly team standup",description:"Join the weekly team synchronization meeting",dueDate:new Date(2024,2,18).toString(),dueTime:"10:00",assignedColleague:l.find(t=>t.id==="4"&&t.type==="digital"),createdAt:new Date(2024,2,11).toString(),updatedAt:new Date(2024,2,11).toString(),project:o[0]},{id:3,title:"Deploy to production",description:"Deploy the latest version to production environment",dueDate:new Date().toString(),dueTime:"16:00",assignedColleague:l.find(t=>t.id==="2"&&t.type==="digital"),createdAt:new Date().toString(),updatedAt:new Date().toString(),project:o[0]}],B=[{name:"Project_Requirements.docx",app:"Word",modified:"2 hours ago",icon:(0,i.jsx)(e.FileText,{className:"h-5 w-5 text-blue-500"}),shared:!0,size:"1.2 MB",collaborators:4},{name:"Sprint_Planning_Notes.pdf",app:"PDF Reader",modified:"1 day ago",icon:(0,i.jsx)(e.File,{className:"h-5 w-5 text-red-500"}),shared:!1,size:"245 KB",collaborators:0},{name:"UI_Mockups.fig",app:"Figma",modified:"3 days ago",icon:(0,i.jsx)(e.FileImage,{className:"h-5 w-5 text-purple-500"}),shared:!0,size:"5.7 MB",collaborators:6},{name:"Demo_Video.mp4",app:"Video Player",modified:"1 week ago",icon:(0,i.jsx)(e.FileVideo,{className:"h-5 w-5 text-green-500"}),shared:!1,size:"89 MB",collaborators:0},{name:"Meeting_Recording.m4a",app:"Audio Player",modified:"2 weeks ago",icon:(0,i.jsx)(e.Music,{className:"h-5 w-5 text-orange-500"}),shared:!0,size:"12 MB",collaborators:2}],N=l.filter(t=>t.type==="digital");0&&(module.exports={businessUnits,emptyStateData,extendedProjects,getTasksByEpic,getTasksBySprint,getTasksByStatus,highDensityTasks,mockColleagues,mockDigitalColleagues,mockEpics,mockFiles,mockNotifications,mockProjectSummary,mockProjects,mockReminders,mockSidebarItems,mockSprints,mockTasks,mockTeamSummary,singleEpicData,testScenarios});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunk-I4GYQZGM.mjs";import"../../chunk-YEKQJ4YC.mjs";export{c as businessUnits,l as emptyStateData,k as extendedProjects,o as getTasksByEpic,p as getTasksBySprint,n as getTasksByStatus,j as highDensityTasks,r as mockColleagues,u as mockDigitalColleagues,g as mockEpics,t as mockFiles,b as mockNotifications,e as mockProjectSummary,d as mockProjects,s as mockReminders,a as mockSidebarItems,h as mockSprints,i as mockTasks,f as mockTeamSummary,m as singleEpicData,q as testScenarios};
|