@gbmtech/aurora-ui 0.2.73 → 0.2.74

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.
Files changed (36) hide show
  1. package/dist/cjs/components/sidebar/app-layout.cjs +1 -1
  2. package/dist/cjs/components/sidebar/app-layout.cjs.map +1 -1
  3. package/dist/cjs/components/sidebar/app-layout.d.ts.map +1 -1
  4. package/dist/cjs/components/sidebar/index.cjs +1 -1
  5. package/dist/cjs/components/sidebar/index.cjs.map +1 -1
  6. package/dist/cjs/components/sidebar/intl/messages.cjs.map +1 -1
  7. package/dist/cjs/components/sidebar/intl/messages.d.ts +2 -1
  8. package/dist/cjs/components/sidebar/intl/messages.d.ts.map +1 -1
  9. package/dist/cjs/components/sidebar/nav-modules.cjs.map +1 -1
  10. package/dist/cjs/components/sidebar/nav-modules.d.ts +2 -2
  11. package/dist/cjs/components/sidebar/nav-modules.d.ts.map +1 -1
  12. package/dist/cjs/components/sidebar/nav-sub-item.cjs.map +1 -1
  13. package/dist/cjs/components/sidebar/nav-sub-item.d.ts +2 -2
  14. package/dist/cjs/components/sidebar/nav-sub-item.d.ts.map +1 -1
  15. package/dist/cjs/components/sidebar/nav-user.cjs.map +1 -1
  16. package/dist/cjs/components/sidebar/nav-user.d.ts +2 -2
  17. package/dist/cjs/components/sidebar/nav-user.d.ts.map +1 -1
  18. package/dist/esm/components/data-table/index.js +1 -2
  19. package/dist/esm/components/sidebar/app-layout.d.ts.map +1 -1
  20. package/dist/esm/components/sidebar/app-layout.js +1 -1
  21. package/dist/esm/components/sidebar/app-layout.js.map +1 -1
  22. package/dist/esm/components/sidebar/index.js +1 -1
  23. package/dist/esm/components/sidebar/intl/messages.d.ts +2 -1
  24. package/dist/esm/components/sidebar/intl/messages.d.ts.map +1 -1
  25. package/dist/esm/components/sidebar/intl/messages.js.map +1 -1
  26. package/dist/esm/components/sidebar/nav-modules.d.ts +2 -2
  27. package/dist/esm/components/sidebar/nav-modules.d.ts.map +1 -1
  28. package/dist/esm/components/sidebar/nav-modules.js.map +1 -1
  29. package/dist/esm/components/sidebar/nav-sub-item.d.ts +2 -2
  30. package/dist/esm/components/sidebar/nav-sub-item.d.ts.map +1 -1
  31. package/dist/esm/components/sidebar/nav-sub-item.js.map +1 -1
  32. package/dist/esm/components/sidebar/nav-user.d.ts +2 -2
  33. package/dist/esm/components/sidebar/nav-user.d.ts.map +1 -1
  34. package/dist/esm/components/sidebar/nav-user.js.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/esm/components/data-table/index.js.map +0 -1
@@ -1,3 +1,3 @@
1
1
  'use client'
2
- "use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(_,{a:_}),_},__webpack_require__.d=(e,_)=>{for(var a in _)__webpack_require__.o(_,a)&&!__webpack_require__.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:_[a]})},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AppLayout:()=>AppLayout});let jsx_runtime_namespaceObject=require("react/jsx-runtime"),link_namespaceObject=require("next/link");var link_default=__webpack_require__.n(link_namespaceObject);let external_logo_cjs_namespaceObject=require("./logo.cjs"),external_nav_modules_cjs_namespaceObject=require("./nav-modules.cjs"),external_nav_user_cjs_namespaceObject=require("./nav-user.cjs"),external_sidebar_cjs_namespaceObject=require("./sidebar.cjs");function AppLayout({user:e,modules:_,...a}){return(0,jsx_runtime_namespaceObject.jsxs)(external_sidebar_cjs_namespaceObject.Sidebar,{variant:"sidebar",...a,children:[(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarHeader,{children:(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarMenu,{children:(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarMenuItem,{children:(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarMenuButton,{size:"lg",asChild:!0,children:(0,jsx_runtime_namespaceObject.jsxs)(link_default(),{href:"/home",children:[(0,jsx_runtime_namespaceObject.jsx)("div",{className:"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground",children:(0,jsx_runtime_namespaceObject.jsx)(external_logo_cjs_namespaceObject.Logo,{})}),(0,jsx_runtime_namespaceObject.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,jsx_runtime_namespaceObject.jsx)("span",{className:"truncate font-medium",children:"GBM Tech & Control"}),(0,jsx_runtime_namespaceObject.jsx)("span",{className:"truncate text-gbm-gray text-sm",children:"by nstech"})]})]})})})})}),(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarContent,{children:(0,jsx_runtime_namespaceObject.jsx)(external_nav_modules_cjs_namespaceObject.NavModules,{modules:_})}),(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarFooter,{children:(0,jsx_runtime_namespaceObject.jsx)(external_nav_user_cjs_namespaceObject.NavUser,{user:e})})]})}for(var __webpack_i__ in exports.AppLayout=__webpack_exports__.AppLayout,__webpack_exports__)-1===["AppLayout"].indexOf(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0});
2
+ "use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(_,{a:_}),_},__webpack_require__.d=(e,_)=>{for(var r in _)__webpack_require__.o(_,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:_[r]})},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AppLayout:()=>AppLayout});let jsx_runtime_namespaceObject=require("react/jsx-runtime"),link_namespaceObject=require("next/link");var link_default=__webpack_require__.n(link_namespaceObject);let external_logo_cjs_namespaceObject=require("./logo.cjs"),external_sidebar_cjs_namespaceObject=require("./sidebar.cjs");function AppLayout({user:e,modules:_,...r}){return(0,jsx_runtime_namespaceObject.jsxs)(external_sidebar_cjs_namespaceObject.Sidebar,{variant:"sidebar",...r,children:[(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarHeader,{children:(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarMenu,{children:(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarMenuItem,{children:(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarMenuButton,{size:"lg",asChild:!0,children:(0,jsx_runtime_namespaceObject.jsxs)(link_default(),{href:"/home",children:[(0,jsx_runtime_namespaceObject.jsx)("div",{className:"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground",children:(0,jsx_runtime_namespaceObject.jsx)(external_logo_cjs_namespaceObject.Logo,{})}),(0,jsx_runtime_namespaceObject.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,jsx_runtime_namespaceObject.jsx)("span",{className:"truncate font-medium",children:"GBM Tech & Control"}),(0,jsx_runtime_namespaceObject.jsx)("span",{className:"truncate text-gbm-gray text-sm",children:"by nstech"})]})]})})})})}),(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarContent,{}),(0,jsx_runtime_namespaceObject.jsx)(external_sidebar_cjs_namespaceObject.SidebarFooter,{})]})}for(var __webpack_i__ in exports.AppLayout=__webpack_exports__.AppLayout,__webpack_exports__)-1===["AppLayout"].indexOf(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0});
3
3
  //# sourceMappingURL=app-layout.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\app-layout.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/app-layout.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport Link from 'next/link'\nimport type { ComponentProps } from 'react'\n\nimport { Module, User } from '@/types'\nimport { Logo } from './logo'\nimport { NavModules } from './nav-modules'\nimport { NavUser } from './nav-user'\nimport {\n Sidebar,\n SidebarContent,\n SidebarFooter,\n SidebarHeader,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n} from './sidebar'\n\ninterface AppLayoutProps extends ComponentProps<typeof Sidebar> {\n user: User\n modules: Module[]\n}\n\nfunction AppLayout({ user, modules, ...props }: AppLayoutProps) {\n return (\n <Sidebar variant=\"sidebar\" {...props}>\n <SidebarHeader>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton size=\"lg\" asChild>\n <Link href=\"/home\">\n <div className=\"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground\">\n <Logo />\n </div>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">\n GBM Tech & Control\n </span>\n <span className=\"truncate text-gbm-gray text-sm\">\n by nstech\n </span>\n </div>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n </SidebarMenu>\n </SidebarHeader>\n <SidebarContent>\n <NavModules modules={modules} />\n </SidebarContent>\n <SidebarFooter>\n <NavUser user={user} />\n </SidebarFooter>\n </Sidebar>\n )\n}\n\nexport { AppLayout }\n"],"names":["__webpack_require__","e","Object","Symbol","AppLayout","user","modules","props","Sidebar","SidebarHeader","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","Logo","SidebarContent","NavModules","SidebarFooter","NavUser"],"mappings":";+PACAA,CAAAA,oBAAoB,CAAC,CAAG,IACvB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,EAGxF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,IACpB,oBAAOG,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,+iBCkBA,SAASG,UAAU,CAAEC,KAAAA,CAAI,CAAEC,QAAAA,CAAO,CAAE,GAAGC,EAAuB,EAC5D,MACE,qCAACC,qCAAAA,OAAOA,CAAAA,CAAC,QAAQ,UAAW,GAAGD,CAAK,C,UAClC,oCAACE,qCAAAA,aAAaA,CAAAA,C,SACZ,oCAACC,qCAAAA,WAAWA,CAAAA,C,SACV,oCAACC,qCAAAA,eAAeA,CAAAA,C,SACd,oCAACC,qCAAAA,iBAAiBA,CAAAA,CAAC,KAAK,KAAK,QAAO,G,SAClC,qCAACC,eAAIA,CAAC,KAAK,Q,UACT,oCAAC,OAAI,UAAU,+G,SACb,oCAACC,kCAAAA,IAAIA,CAAAA,CAAAA,E,GAEP,qCAAC,OAAI,UAAU,8C,UACb,oCAAC,QAAK,UAAU,uB,SAAuB,oB,GAGvC,oCAAC,QAAK,UAAU,iC,SAAiC,W,iBAS7D,oCAACC,qCAAAA,cAAcA,CAAAA,C,SACb,oCAACC,yCAAAA,UAAUA,CAAAA,CAAC,QAASV,C,KAEvB,oCAACW,qCAAAA,aAAaA,CAAAA,C,SACZ,oCAACC,sCAAAA,OAAOA,CAAAA,CAAC,KAAMb,C,OAIvB,C"}
1
+ {"version":3,"file":"components\\sidebar\\app-layout.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/app-layout.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport Link from 'next/link'\nimport type { ComponentProps } from 'react'\n\nimport { Module, User } from '@/types'\nimport { Logo } from './logo'\nimport {\n Sidebar,\n SidebarContent,\n SidebarFooter,\n SidebarHeader,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n} from './sidebar'\n\ninterface AppLayoutProps extends ComponentProps<typeof Sidebar> {\n user: User\n modules: Module[]\n}\n\nfunction AppLayout({ user, modules, ...props }: AppLayoutProps) {\n return (\n <Sidebar variant=\"sidebar\" {...props}>\n <SidebarHeader>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton size=\"lg\" asChild>\n <Link href=\"/home\">\n <div className=\"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground\">\n <Logo />\n </div>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">\n GBM Tech & Control\n </span>\n <span className=\"truncate text-gbm-gray text-sm\">\n by nstech\n </span>\n </div>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n </SidebarMenu>\n </SidebarHeader>\n <SidebarContent>{/* <NavModules modules={modules} /> */}</SidebarContent>\n <SidebarFooter>{/* <NavUser user={user} /> */}</SidebarFooter>\n </Sidebar>\n )\n}\n\nexport { AppLayout }\n"],"names":["__webpack_require__","e","Object","Symbol","AppLayout","user","modules","props","Sidebar","SidebarHeader","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","Logo","SidebarContent","SidebarFooter"],"mappings":";+PACAA,CAAAA,oBAAoB,CAAC,CAAG,IACvB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,EAGxF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,IACpB,oBAAOG,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,yaCgBA,SAASG,UAAU,CAAEC,KAAAA,CAAI,CAAEC,QAAAA,CAAO,CAAE,GAAGC,EAAuB,EAC5D,MACE,qCAACC,qCAAAA,OAAOA,CAAAA,CAAC,QAAQ,UAAW,GAAGD,CAAK,C,UAClC,oCAACE,qCAAAA,aAAaA,CAAAA,C,SACZ,oCAACC,qCAAAA,WAAWA,CAAAA,C,SACV,oCAACC,qCAAAA,eAAeA,CAAAA,C,SACd,oCAACC,qCAAAA,iBAAiBA,CAAAA,CAAC,KAAK,KAAK,QAAO,G,SAClC,qCAACC,eAAIA,CAAC,KAAK,Q,UACT,oCAAC,OAAI,UAAU,+G,SACb,oCAACC,kCAAAA,IAAIA,CAAAA,CAAAA,E,GAEP,qCAAC,OAAI,UAAU,8C,UACb,oCAAC,QAAK,UAAU,uB,SAAuB,oB,GAGvC,oCAAC,QAAK,UAAU,iC,SAAiC,W,iBAS7D,oCAACC,qCAAAA,cAAcA,CAAAA,CAAAA,GACf,oCAACC,qCAAAA,aAAaA,CAAAA,CAAAA,G,EAGpB,C"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/app-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAItC,OAAO,EACL,OAAO,EAOR,MAAM,WAAW,CAAA;AAElB,UAAU,cAAe,SAAQ,cAAc,CAAC,OAAO,OAAO,CAAC;IAC7D,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAgC7D;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"app-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/app-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EACL,OAAO,EAOR,MAAM,WAAW,CAAA;AAElB,UAAU,cAAe,SAAQ,cAAc,CAAC,OAAO,OAAO,CAAC;IAC7D,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CA4B7D;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_modules__={"@/components/sidebar/app-layout":function(e){e.exports=require("./app-layout.cjs")},"./logo":function(e){e.exports=require("./logo.cjs")},"./nav-modules":function(e){e.exports=require("./nav-modules.cjs")},"./nav-sub-item":function(e){e.exports=require("./nav-sub-item.cjs")},"./nav-user":function(e){e.exports=require("./nav-user.cjs")},"./sidebar-icons":function(e){e.exports=require("./sidebar-icons.cjs")},"./sidebar":function(e){e.exports=require("./sidebar.cjs")}},__webpack_module_cache__={};function __webpack_require__(e){var _=__webpack_module_cache__[e];if(void 0!==_)return _.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(_,{a:_}),_},__webpack_require__.d=(e,_)=>{for(var r in _)__webpack_require__.o(_,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:_[r]})},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};for(var __webpack_i__ in(()=>{__webpack_require__.r(__webpack_exports__);var e=__webpack_require__("./sidebar"),_={};for(var r in e)"default"!==r&&(_[r]=(function(_){return e[_]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var a=__webpack_require__("@/components/sidebar/app-layout"),_={};for(var r in a)"default"!==r&&(_[r]=(function(e){return a[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var u=__webpack_require__("./nav-modules"),_={};for(var r in u)"default"!==r&&(_[r]=(function(e){return u[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var o=__webpack_require__("./nav-sub-item"),_={};for(var r in o)"default"!==r&&(_[r]=(function(e){return o[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var i=__webpack_require__("./nav-user"),_={};for(var r in i)"default"!==r&&(_[r]=(function(e){return i[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var t=__webpack_require__("./sidebar-icons"),_={};for(var r in t)"default"!==r&&(_[r]=(function(e){return t[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var n=__webpack_require__("./logo"),_={};for(var r in n)"default"!==r&&(_[r]=(function(e){return n[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_)})(),__webpack_exports__)exports[__webpack_i__]=__webpack_exports__[__webpack_i__];Object.defineProperty(exports,"__esModule",{value:!0});
1
+ "use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_modules__={"@/components/sidebar/app-layout":function(e){e.exports=require("./app-layout.cjs")},"@/components/sidebar/logo":function(e){e.exports=require("./logo.cjs")},"@/components/sidebar/nav-modules":function(e){e.exports=require("./nav-modules.cjs")},"@/components/sidebar/nav-sub-item":function(e){e.exports=require("./nav-sub-item.cjs")},"@/components/sidebar/nav-user":function(e){e.exports=require("./nav-user.cjs")},"@/components/sidebar/sidebar-icons":function(e){e.exports=require("./sidebar-icons.cjs")},"./sidebar":function(e){e.exports=require("./sidebar.cjs")}},__webpack_module_cache__={};function __webpack_require__(e){var _=__webpack_module_cache__[e];if(void 0!==_)return _.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(_,{a:_}),_},__webpack_require__.d=(e,_)=>{for(var r in _)__webpack_require__.o(_,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:_[r]})},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};for(var __webpack_i__ in(()=>{__webpack_require__.r(__webpack_exports__);var e=__webpack_require__("./sidebar"),_={};for(var r in e)"default"!==r&&(_[r]=(function(_){return e[_]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var a=__webpack_require__("@/components/sidebar/app-layout"),_={};for(var r in a)"default"!==r&&(_[r]=(function(e){return a[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var o=__webpack_require__("@/components/sidebar/nav-modules"),_={};for(var r in o)"default"!==r&&(_[r]=(function(e){return o[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var n=__webpack_require__("@/components/sidebar/nav-sub-item"),_={};for(var r in n)"default"!==r&&(_[r]=(function(e){return n[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var i=__webpack_require__("@/components/sidebar/nav-user"),_={};for(var r in i)"default"!==r&&(_[r]=(function(e){return i[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var t=__webpack_require__("@/components/sidebar/sidebar-icons"),_={};for(var r in t)"default"!==r&&(_[r]=(function(e){return t[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_);var c=__webpack_require__("@/components/sidebar/logo"),_={};for(var r in c)"default"!==r&&(_[r]=(function(e){return c[e]}).bind(0,r));__webpack_require__.d(__webpack_exports__,_)})(),__webpack_exports__)exports[__webpack_i__]=__webpack_exports__[__webpack_i__];Object.defineProperty(exports,"__esModule",{value:!0});
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\index.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["__webpack_require__","e","Object","Symbol"],"mappings":"28BACAA,oBAAoB,CAAC,CAAG,AAAC,IACxB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGzF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,AAACC,IACrB,AAAkB,aAAlB,OAAOE,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E"}
1
+ {"version":3,"file":"components\\sidebar\\index.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["__webpack_require__","e","Object","Symbol"],"mappings":"0iCACAA,oBAAoB,CAAC,CAAG,AAAC,IACxB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGzF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,AAACC,IACrB,AAAkB,aAAlB,OAAOE,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\intl\\messages.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/intl/messages.ts"],"sourcesContent":["__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export const messages = {\n 'pt-br': {\n home: 'Página Inicial',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Sair',\n },\n 'en-us': {\n home: 'Home',\n modules: 'Modules',\n language: 'Language',\n 'sign-out': 'Sign Out',\n },\n es: {\n home: 'Página de inicio',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Desconectar',\n },\n}\n"],"names":["__webpack_require__","e","Object","Symbol","messages"],"mappings":"+PAAAA,CAAAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGzF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,AAACC,IACrB,AAAkB,aAAlB,OAAOE,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,yICNO,IAAMG,SAAW,CACtB,QAAS,CACP,KAAM,oBACN,QAAS,aACT,SAAU,SACV,WAAY,MACd,EACA,QAAS,CACP,KAAM,OACN,QAAS,UACT,SAAU,WACV,WAAY,UACd,EACA,GAAI,CACF,KAAM,sBACN,QAAS,aACT,SAAU,SACV,WAAY,aACd,CACF,E"}
1
+ {"version":3,"file":"components\\sidebar\\intl\\messages.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/intl/messages.ts"],"sourcesContent":["__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const messages = {\n 'pt-br': {\n home: 'Página Inicial',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Sair',\n },\n 'en-us': {\n home: 'Home',\n modules: 'Modules',\n language: 'Language',\n 'sign-out': 'Sign Out',\n },\n es: {\n home: 'Página de inicio',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Desconectar',\n },\n}\n\nexport { messages }\n"],"names":["__webpack_require__","e","Object","Symbol","messages"],"mappings":"+PAAAA,CAAAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGzF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,AAACC,IACrB,AAAkB,aAAlB,OAAOE,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,yICNA,IAAMG,SAAW,CACf,QAAS,CACP,KAAM,oBACN,QAAS,aACT,SAAU,SACV,WAAY,MACd,EACA,QAAS,CACP,KAAM,OACN,QAAS,UACT,SAAU,WACV,WAAY,UACd,EACA,GAAI,CACF,KAAM,sBACN,QAAS,aACT,SAAU,SACV,WAAY,aACd,CACF,E"}
@@ -1,4 +1,4 @@
1
- export declare const messages: {
1
+ declare const messages: {
2
2
  'pt-br': {
3
3
  home: string;
4
4
  modules: string;
@@ -18,4 +18,5 @@ export declare const messages: {
18
18
  'sign-out': string;
19
19
  };
20
20
  };
21
+ export { messages };
21
22
  //# sourceMappingURL=messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../src/components/sidebar/intl/messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAA"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../src/components/sidebar/intl/messages.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBb,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\nav-modules.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-modules.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight, House } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport { messages } from './intl/messages'\nimport { NavSubItem } from './nav-sub-item'\nimport {\n SidebarGroup,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n useSidebar,\n} from './sidebar'\nimport { SidebarIcons } from './sidebar-icons'\n\ninterface NavModulesProps {\n modules: Module[]\n}\n\nexport function NavModules({ modules }: NavModulesProps) {\n const { lang } = useSidebar()\n\n return (\n <SidebarGroup>\n <SidebarGroupLabel>{messages[lang].modules}</SidebarGroupLabel>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton asChild>\n <Link href=\"/home\">\n <House />\n <span>{messages[lang].home}</span>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n {modules.map(item => (\n <Collapsible key={item.id} asChild>\n <SidebarMenuItem>\n <CollapsibleTrigger asChild>\n <SidebarMenuButton tooltip={item.name}>\n <SidebarIcons icon={item.icon} />\n\n <span>{item.name}</span>\n <SidebarMenuAction\n className=\"group-data-[state=open]/menu-item:rotate-90\"\n asChild\n >\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n {item.submodules?.length && (\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules?.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n )}\n </SidebarMenuItem>\n </Collapsible>\n ))}\n </SidebarMenu>\n </SidebarGroup>\n )\n}\n"],"names":["__webpack_require__","e","Object","Symbol","NavModules","modules","lang","useSidebar","SidebarGroup","SidebarGroupLabel","messages","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","House","item","Collapsible","CollapsibleTrigger","SidebarIcons","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","NavSubItem"],"mappings":";+PACAA,CAAAA,oBAAoB,CAAC,CAAG,IACvB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,EAGxF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,IACpB,oBAAOG,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,wsBCuBO,SAASG,WAAW,CAAEC,QAAAA,CAAO,CAAmB,EACrD,GAAM,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,qCAAAA,UAAAA,IAEjB,MACE,qCAACC,qCAAAA,YAAYA,CAAAA,C,UACX,oCAACC,qCAAAA,iBAAiBA,CAAAA,C,SAAEC,6BAAAA,QAAQ,CAACJ,EAAK,CAAC,OAAO,GAC1C,qCAACK,qCAAAA,WAAWA,CAAAA,C,UACV,oCAACC,qCAAAA,eAAeA,CAAAA,C,SACd,oCAACC,qCAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,qCAACC,eAAIA,CAAC,KAAK,Q,UACT,oCAACC,sCAAAA,KAAKA,CAAAA,CAAAA,GACN,oCAAC,Q,SAAML,6BAAAA,QAAQ,CAACJ,EAAK,CAAC,IAAI,UAI/BD,EAAQ,GAAG,CAACW,GACX,oCAACC,kCAAAA,WAAWA,CAAAA,CAAe,QAAO,G,SAChC,qCAACL,qCAAAA,eAAeA,CAAAA,C,UACd,oCAACM,kCAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,qCAACL,qCAAAA,iBAAiBA,CAAAA,CAAC,QAASG,EAAK,IAAI,C,UACnC,oCAACG,2CAAAA,YAAYA,CAAAA,CAAC,KAAMH,EAAK,IAAI,GAE7B,oCAAC,Q,SAAMA,EAAK,IAAI,GAChB,oCAACI,qCAAAA,iBAAiBA,CAAAA,CAChB,UAAU,8CACV,QAAO,G,SAEP,qCAAC,O,UACC,oCAACC,sCAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,oCAAC,QAAK,UAAU,U,SAAU,Q,aAKjCL,EAAK,UAAU,EAAE,QAChB,oCAACM,kCAAAA,kBAAkBA,CAAAA,C,SACjB,oCAACC,qCAAAA,cAAcA,CAAAA,C,SACZP,EAAK,UAAU,EAAE,IAAIQ,GACpB,oCAACC,0CAAAA,UAAUA,CAAAA,CAAkB,KAAMD,C,EAAlBA,EAAQ,EAAE,E,SAtBrBR,EAAK,EAAE,G,KAiCnC,C"}
1
+ {"version":3,"file":"components\\sidebar\\nav-modules.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-modules.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight, House } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport { messages } from './intl/messages'\nimport { NavSubItem } from './nav-sub-item'\nimport {\n SidebarGroup,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n useSidebar,\n} from './sidebar'\nimport { SidebarIcons } from './sidebar-icons'\n\ninterface NavModulesProps {\n modules: Module[]\n}\n\nfunction NavModules({ modules }: NavModulesProps) {\n const { lang } = useSidebar()\n\n return (\n <SidebarGroup>\n <SidebarGroupLabel>{messages[lang].modules}</SidebarGroupLabel>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton asChild>\n <Link href=\"/home\">\n <House />\n <span>{messages[lang].home}</span>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n {modules.map(item => (\n <Collapsible key={item.id} asChild>\n <SidebarMenuItem>\n <CollapsibleTrigger asChild>\n <SidebarMenuButton tooltip={item.name}>\n <SidebarIcons icon={item.icon} />\n\n <span>{item.name}</span>\n <SidebarMenuAction\n className=\"group-data-[state=open]/menu-item:rotate-90\"\n asChild\n >\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n {item.submodules?.length && (\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules?.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n )}\n </SidebarMenuItem>\n </Collapsible>\n ))}\n </SidebarMenu>\n </SidebarGroup>\n )\n}\n\nexport { NavModules }\n"],"names":["__webpack_require__","e","Object","Symbol","NavModules","modules","lang","useSidebar","SidebarGroup","SidebarGroupLabel","messages","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","House","item","Collapsible","CollapsibleTrigger","SidebarIcons","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","NavSubItem"],"mappings":";+PACAA,CAAAA,oBAAoB,CAAC,CAAG,IACvB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,EAGxF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,IACpB,oBAAOG,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,wsBCuBA,SAASG,WAAW,CAAEC,QAAAA,CAAO,CAAmB,EAC9C,GAAM,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,qCAAAA,UAAAA,IAEjB,MACE,qCAACC,qCAAAA,YAAYA,CAAAA,C,UACX,oCAACC,qCAAAA,iBAAiBA,CAAAA,C,SAAEC,6BAAAA,QAAQ,CAACJ,EAAK,CAAC,OAAO,GAC1C,qCAACK,qCAAAA,WAAWA,CAAAA,C,UACV,oCAACC,qCAAAA,eAAeA,CAAAA,C,SACd,oCAACC,qCAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,qCAACC,eAAIA,CAAC,KAAK,Q,UACT,oCAACC,sCAAAA,KAAKA,CAAAA,CAAAA,GACN,oCAAC,Q,SAAML,6BAAAA,QAAQ,CAACJ,EAAK,CAAC,IAAI,UAI/BD,EAAQ,GAAG,CAACW,GACX,oCAACC,kCAAAA,WAAWA,CAAAA,CAAe,QAAO,G,SAChC,qCAACL,qCAAAA,eAAeA,CAAAA,C,UACd,oCAACM,kCAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,qCAACL,qCAAAA,iBAAiBA,CAAAA,CAAC,QAASG,EAAK,IAAI,C,UACnC,oCAACG,2CAAAA,YAAYA,CAAAA,CAAC,KAAMH,EAAK,IAAI,GAE7B,oCAAC,Q,SAAMA,EAAK,IAAI,GAChB,oCAACI,qCAAAA,iBAAiBA,CAAAA,CAChB,UAAU,8CACV,QAAO,G,SAEP,qCAAC,O,UACC,oCAACC,sCAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,oCAAC,QAAK,UAAU,U,SAAU,Q,aAKjCL,EAAK,UAAU,EAAE,QAChB,oCAACM,kCAAAA,kBAAkBA,CAAAA,C,SACjB,oCAACC,qCAAAA,cAAcA,CAAAA,C,SACZP,EAAK,UAAU,EAAE,IAAIQ,GACpB,oCAACC,0CAAAA,UAAUA,CAAAA,CAAkB,KAAMD,C,EAAlBA,EAAQ,EAAE,E,SAtBrBR,EAAK,EAAE,G,KAiCnC,C"}
@@ -2,6 +2,6 @@ import { Module } from '../../types';
2
2
  interface NavModulesProps {
3
3
  modules: Module[];
4
4
  }
5
- export declare function NavModules({ modules }: NavModulesProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function NavModules({ modules }: NavModulesProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavModules };
7
7
  //# sourceMappingURL=nav-modules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-modules.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-modules.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAehC,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe,2CAiDtD"}
1
+ {"version":3,"file":"nav-modules.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-modules.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAehC,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,iBAAS,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe,2CAiD/C;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\nav-sub-item.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-sub-item.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport {\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubItem,\n} from './sidebar'\n\ninterface NavItemProps {\n item: Module\n}\n\nexport function NavSubItem({ item }: NavItemProps) {\n if (!item.submodules?.length) {\n return (\n <SidebarMenuSubItem>\n <SidebarMenuButton\n className=\"data-[active=true]:bg-transparent\"\n asChild\n >\n <Link href={item.path}>{item.name}</Link>\n </SidebarMenuButton>\n </SidebarMenuSubItem>\n )\n }\n\n return (\n <SidebarMenuItem>\n <Collapsible className=\"group/collapsible [&[data-state=open]>button>div>svg:first-child]:rotate-90\">\n <CollapsibleTrigger asChild>\n <SidebarMenuButton>\n {item.name}\n <SidebarMenuAction asChild>\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n </Collapsible>\n </SidebarMenuItem>\n )\n}\n"],"names":["__webpack_require__","e","Object","Symbol","NavSubItem","item","SidebarMenuItem","Collapsible","CollapsibleTrigger","SidebarMenuButton","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","SidebarMenuSubItem","Link"],"mappings":";+PACAA,CAAAA,oBAAoB,CAAC,CAAG,IACvB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,EAGxF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,IACpB,oBAAOG,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,0fCiBO,SAASG,WAAW,CAAEC,KAAAA,CAAI,CAAgB,SAC/C,EAAU,UAAU,EAAE,OAcpB,oCAACC,qCAAAA,eAAeA,CAAAA,C,SACd,qCAACC,kCAAAA,WAAWA,CAAAA,CAAC,UAAU,8E,UACrB,oCAACC,kCAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,qCAACC,qCAAAA,iBAAiBA,CAAAA,C,UACfJ,EAAK,IAAI,CACV,oCAACK,qCAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,qCAAC,O,UACC,oCAACC,sCAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,oCAAC,QAAK,UAAU,U,SAAU,Q,aAKlC,oCAACC,kCAAAA,kBAAkBA,CAAAA,C,SACjB,oCAACC,qCAAAA,cAAcA,CAAAA,C,SACZR,EAAK,UAAU,CAAC,GAAG,CAACS,GACnB,oCAACV,WAAAA,CAA4B,KAAMU,C,EAAlBA,EAAQ,EAAE,E,UA5BnC,oCAACC,qCAAAA,kBAAkBA,CAAAA,C,SACjB,oCAACN,qCAAAA,iBAAiBA,CAAAA,CAChB,UAAU,oCACV,QAAO,G,SAEP,oCAACO,eAAIA,CAAC,KAAMX,EAAK,IAAI,C,SAAGA,EAAK,IAAI,MA8B3C,C"}
1
+ {"version":3,"file":"components\\sidebar\\nav-sub-item.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/compat_get_default_export","webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-sub-item.tsx"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport {\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubItem,\n} from './sidebar'\n\ninterface NavItemProps {\n item: Module\n}\n\nfunction NavSubItem({ item }: NavItemProps) {\n if (!item.submodules?.length) {\n return (\n <SidebarMenuSubItem>\n <SidebarMenuButton\n className=\"data-[active=true]:bg-transparent\"\n asChild\n >\n <Link href={item.path}>{item.name}</Link>\n </SidebarMenuButton>\n </SidebarMenuSubItem>\n )\n }\n\n return (\n <SidebarMenuItem>\n <Collapsible className=\"group/collapsible [&[data-state=open]>button>div>svg:first-child]:rotate-90\">\n <CollapsibleTrigger asChild>\n <SidebarMenuButton>\n {item.name}\n <SidebarMenuAction asChild>\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n </Collapsible>\n </SidebarMenuItem>\n )\n}\n\nexport { NavSubItem }\n"],"names":["__webpack_require__","e","Object","Symbol","NavSubItem","item","SidebarMenuItem","Collapsible","CollapsibleTrigger","SidebarMenuButton","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","SidebarMenuSubItem","Link"],"mappings":";+PACAA,CAAAA,oBAAoB,CAAC,CAAG,IACvB,IAAI,EAAS,GAAU,EAAO,UAAU,CACvC,IAAO,EAAO,OAAU,CACxB,IAAO,EAER,OADAA,oBAAoB,CAAC,CAAC,EAAQ,CAAE,EAAG,CAAO,GACnC,CACR,ECPAA,oBAAoB,CAAC,CAAG,CAACC,EAAS,KACjC,IAAI,IAAI,KAAO,EACLD,oBAAoB,CAAC,CAAC,EAAY,IAAQ,CAACA,oBAAoB,CAAC,CAACC,EAAS,IACzEC,OAAO,cAAc,CAACD,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,EAGxF,ECNAD,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAUE,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClFF,oBAAoB,CAAC,CAAG,IACpB,oBAAOG,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAACD,EAASE,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E,0fCiBA,SAASG,WAAW,CAAEC,KAAAA,CAAI,CAAgB,SACxC,EAAU,UAAU,EAAE,OAcpB,oCAACC,qCAAAA,eAAeA,CAAAA,C,SACd,qCAACC,kCAAAA,WAAWA,CAAAA,CAAC,UAAU,8E,UACrB,oCAACC,kCAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,qCAACC,qCAAAA,iBAAiBA,CAAAA,C,UACfJ,EAAK,IAAI,CACV,oCAACK,qCAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,qCAAC,O,UACC,oCAACC,sCAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,oCAAC,QAAK,UAAU,U,SAAU,Q,aAKlC,oCAACC,kCAAAA,kBAAkBA,CAAAA,C,SACjB,oCAACC,qCAAAA,cAAcA,CAAAA,C,SACZR,EAAK,UAAU,CAAC,GAAG,CAACS,GACnB,oCAACV,WAAAA,CAA4B,KAAMU,C,EAAlBA,EAAQ,EAAE,E,UA5BnC,oCAACC,qCAAAA,kBAAkBA,CAAAA,C,SACjB,oCAACN,qCAAAA,iBAAiBA,CAAAA,CAChB,UAAU,oCACV,QAAO,G,SAEP,oCAACO,eAAIA,CAAC,KAAMX,EAAK,IAAI,C,SAAGA,EAAK,IAAI,MA8B3C,C"}
@@ -2,6 +2,6 @@ import { Module } from '../../types';
2
2
  interface NavItemProps {
3
3
  item: Module;
4
4
  }
5
- export declare function NavSubItem({ item }: NavItemProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function NavSubItem({ item }: NavItemProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavSubItem };
7
7
  //# sourceMappingURL=nav-sub-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-sub-item.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-sub-item.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAShC,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY,2CAsChD"}
1
+ {"version":3,"file":"nav-sub-item.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-sub-item.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAShC,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY,2CAsCzC;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\nav-user.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-user.tsx"],"sourcesContent":["__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from '@/components/dropdown-menu'\nimport { ChevronsUpDown, Languages, LogOut, UserRound } from 'lucide-react'\n\nimport { Avatar, AvatarFallback, AvatarImage } from '@/components/avatar'\nimport type { User } from '@/types/user'\nimport { messages } from './intl/messages'\nimport {\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n useSidebar,\n} from './sidebar'\n\ninterface NavUser {\n user: User\n}\n\nexport function NavUser({ user }: NavUser) {\n const { isMobile, lang } = useSidebar()\n\n return (\n <SidebarMenu>\n <SidebarMenuItem>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <SidebarMenuButton\n size=\"lg\"\n className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground\"\n >\n <Avatar className=\"size-8 rounded-lg group-data-[collapsible=icon]:size-10\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">{user.name}</span>\n <span className=\"truncate text-gbm-gray text-xs\">\n {user.email}\n </span>\n </div>\n <ChevronsUpDown className=\"ml-auto size-4\" />\n </SidebarMenuButton>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n className=\"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg\"\n side={isMobile ? 'bottom' : 'right'}\n align=\"end\"\n sideOffset={4}\n >\n <DropdownMenuLabel className=\"p-0 font-normal\">\n <div className=\"flex items-center gap-2 px-1 py-1.5 text-left text-sm\">\n <Avatar className=\"h-8 w-8 rounded-lg\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-semibold\">{user.name}</span>\n <span className=\"truncate text-xs\">{user.email}</span>\n </div>\n </div>\n </DropdownMenuLabel>\n <DropdownMenuGroup>\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <Languages className=\"mr-2 size-4\" />\n {messages[lang].language}\n </DropdownMenuSubTrigger>\n <DropdownMenuSubContent>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/brazil.svg\" alt=\"\" />\n PT-BR\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/united-states.svg\" alt=\"\" />\n EN-US\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/spain.svg\" alt=\"\" />\n ES\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem asChild>\n <a href=\"/api/auth/sign-out\">\n <LogOut className=\"mr-2 size-4\" />\n {messages[lang]['sign-out']}\n </a>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarMenuItem>\n </SidebarMenu>\n )\n}\n"],"names":["__webpack_require__","e","Object","Symbol","NavUser","user","isMobile","lang","useSidebar","SidebarMenu","SidebarMenuItem","DropdownMenu","DropdownMenuTrigger","SidebarMenuButton","Avatar","AvatarImage","undefined","AvatarFallback","UserRound","ChevronsUpDown","DropdownMenuContent","DropdownMenuLabel","DropdownMenuGroup","DropdownMenuSub","DropdownMenuSubTrigger","Languages","messages","DropdownMenuSubContent","DropdownMenuItem","DropdownMenuSeparator","LogOut"],"mappings":"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"}
1
+ {"version":3,"file":"components\\sidebar\\nav-user.cjs","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object","webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-user.tsx"],"sourcesContent":["__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","\n\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from '@/components/dropdown-menu'\nimport { ChevronsUpDown, Languages, LogOut, UserRound } from 'lucide-react'\n\nimport { Avatar, AvatarFallback, AvatarImage } from '@/components/avatar'\nimport type { User } from '@/types/user'\nimport { messages } from './intl/messages'\nimport {\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n useSidebar,\n} from './sidebar'\n\ninterface NavUser {\n user: User\n}\n\nfunction NavUser({ user }: NavUser) {\n const { isMobile, lang } = useSidebar()\n\n return (\n <SidebarMenu>\n <SidebarMenuItem>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <SidebarMenuButton\n size=\"lg\"\n className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground\"\n >\n <Avatar className=\"size-8 rounded-lg group-data-[collapsible=icon]:size-10\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">{user.name}</span>\n <span className=\"truncate text-gbm-gray text-xs\">\n {user.email}\n </span>\n </div>\n <ChevronsUpDown className=\"ml-auto size-4\" />\n </SidebarMenuButton>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n className=\"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg\"\n side={isMobile ? 'bottom' : 'right'}\n align=\"end\"\n sideOffset={4}\n >\n <DropdownMenuLabel className=\"p-0 font-normal\">\n <div className=\"flex items-center gap-2 px-1 py-1.5 text-left text-sm\">\n <Avatar className=\"h-8 w-8 rounded-lg\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-semibold\">{user.name}</span>\n <span className=\"truncate text-xs\">{user.email}</span>\n </div>\n </div>\n </DropdownMenuLabel>\n <DropdownMenuGroup>\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <Languages className=\"mr-2 size-4\" />\n {messages[lang].language}\n </DropdownMenuSubTrigger>\n <DropdownMenuSubContent>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/brazil.svg\" alt=\"\" />\n PT-BR\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/united-states.svg\" alt=\"\" />\n EN-US\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/spain.svg\" alt=\"\" />\n ES\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem asChild>\n <a href=\"/api/auth/sign-out\">\n <LogOut className=\"mr-2 size-4\" />\n {messages[lang]['sign-out']}\n </a>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarMenuItem>\n </SidebarMenu>\n )\n}\n\nexport { NavUser }\n"],"names":["__webpack_require__","e","Object","Symbol","NavUser","user","isMobile","lang","useSidebar","SidebarMenu","SidebarMenuItem","DropdownMenu","DropdownMenuTrigger","SidebarMenuButton","Avatar","AvatarImage","undefined","AvatarFallback","UserRound","ChevronsUpDown","DropdownMenuContent","DropdownMenuLabel","DropdownMenuGroup","DropdownMenuSub","DropdownMenuSubTrigger","Languages","messages","DropdownMenuSubContent","DropdownMenuItem","DropdownMenuSeparator","LogOut"],"mappings":"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"}
@@ -2,6 +2,6 @@ import type { User } from '../../types/user';
2
2
  interface NavUser {
3
3
  user: User;
4
4
  }
5
- export declare function NavUser({ user }: NavUser): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function NavUser({ user }: NavUser): import("react/jsx-runtime").JSX.Element;
6
+ export { NavUser };
7
7
  //# sourceMappingURL=nav-user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-user.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-user.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AASxC,UAAU,OAAO;IACf,IAAI,EAAE,IAAI,CAAA;CACX;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,2CAiFxC"}
1
+ {"version":3,"file":"nav-user.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-user.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AASxC,UAAU,OAAO;IACf,IAAI,EAAE,IAAI,CAAA;CACX;AAED,iBAAS,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,2CAiFjC;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -1,2 +1 @@
1
- import*as t from"./data-table-date-filter.js";import*as a from"./data-table-faceted-filter.js";import*as e from"./data-table-pagination.js";import*as o from"./data-table-slider-filter.js";import*as r from"./data-table-view-options.js";export*from"./data-table-action-bar.js";export*from"./data-table-advanced-toolbar.js";export*from"./data-table-column-header.js";export*from"./data-table-filter-list.js";export*from"./data-table-filter-menu.js";export*from"./data-table-range-filter.js";export*from"./data-table-skeleton.js";export*from"./data-table-sort-list.js";export*from"./data-table-toolbar.js";export*from"./data-table.js";var n={"@/components/data-table/data-table-date-filter":function(a){a.exports=t},"@/components/data-table/data-table-faceted-filter":function(t){t.exports=a},"@/components/data-table/data-table-pagination":function(t){t.exports=e},"@/components/data-table/data-table-slider-filter":function(t){t.exports=o},"@/components/data-table/data-table-view-options":function(t){t.exports=r}},d={};function l(t){var a=d[t];if(void 0!==a)return a.exports;var e=d[t]={exports:{}};return n[t](e,e.exports,l),e.exports}l.d=(t,a)=>{for(var e in a)l.o(a,e)&&!l.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:a[e]})},l.o=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};l.r(i);var f=l("@/components/data-table/data-table-date-filter"),b={};for(var s in f)"default"!==s&&(b[s]=(function(t){return f[t]}).bind(0,s));l.d(i,b);var p=l("@/components/data-table/data-table-faceted-filter"),b={};for(var s in p)"default"!==s&&(b[s]=(function(t){return p[t]}).bind(0,s));l.d(i,b);var m=l("@/components/data-table/data-table-pagination"),b={};for(var s in m)"default"!==s&&(b[s]=(function(t){return m[t]}).bind(0,s));l.d(i,b);var c=l("@/components/data-table/data-table-slider-filter"),b={};for(var s in c)"default"!==s&&(b[s]=(function(t){return c[t]}).bind(0,s));l.d(i,b);var u=l("@/components/data-table/data-table-view-options"),b={};for(var s in u)"default"!==s&&(b[s]=(function(t){return u[t]}).bind(0,s));l.d(i,b);
2
- //# sourceMappingURL=index.js.map
1
+ import*as t from"./data-table-view-options.js";export*from"./data-table-action-bar.js";export*from"./data-table-advanced-toolbar.js";export*from"./data-table-column-header.js";export*from"./data-table-date-filter.js";export*from"./data-table-faceted-filter.js";export*from"./data-table-filter-list.js";export*from"./data-table-filter-menu.js";export*from"./data-table-pagination.js";export*from"./data-table-range-filter.js";export*from"./data-table-skeleton.js";export*from"./data-table-slider-filter.js";export*from"./data-table-sort-list.js";export*from"./data-table-toolbar.js";export*from"./data-table.js";var a={"@/components/data-table/data-table-view-options":function(a){a.exports=t}},e={};!function t(o){var r=e[o];if(void 0!==r)return r.exports;var l=e[o]={exports:{}};return a[o](l,l.exports,t),l.exports}("@/components/data-table/data-table-view-options");
@@ -1 +1 @@
1
- {"version":3,"file":"app-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/app-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAItC,OAAO,EACL,OAAO,EAOR,MAAM,WAAW,CAAA;AAElB,UAAU,cAAe,SAAQ,cAAc,CAAC,OAAO,OAAO,CAAC;IAC7D,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAgC7D;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"app-layout.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/app-layout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EACL,OAAO,EAOR,MAAM,WAAW,CAAA;AAElB,UAAU,cAAe,SAAQ,cAAc,CAAC,OAAO,OAAO,CAAC;IAC7D,IAAI,EAAE,IAAI,CAAA;IACV,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CA4B7D;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -1,3 +1,3 @@
1
1
  'use client'
2
- import*as e from"react/jsx-runtime";import*as r from"next/link";import*as s from"./logo.js";import*as t from"./nav-modules.js";import*as a from"./nav-user.js";import*as i from"./sidebar.js";function n({user:n,modules:d,...o}){return(0,e.jsxs)(i.Sidebar,{variant:"sidebar",...o,children:[(0,e.jsx)(i.SidebarHeader,{children:(0,e.jsx)(i.SidebarMenu,{children:(0,e.jsx)(i.SidebarMenuItem,{children:(0,e.jsx)(i.SidebarMenuButton,{size:"lg",asChild:!0,children:(0,e.jsxs)(r.default,{href:"/home",children:[(0,e.jsx)("div",{className:"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground",children:(0,e.jsx)(s.Logo,{})}),(0,e.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,e.jsx)("span",{className:"truncate font-medium",children:"GBM Tech & Control"}),(0,e.jsx)("span",{className:"truncate text-gbm-gray text-sm",children:"by nstech"})]})]})})})})}),(0,e.jsx)(i.SidebarContent,{children:(0,e.jsx)(t.NavModules,{modules:d})}),(0,e.jsx)(i.SidebarFooter,{children:(0,e.jsx)(a.NavUser,{user:n})})]})}export{n as AppLayout};
2
+ import*as e from"react/jsx-runtime";import*as r from"next/link";import*as s from"./logo.js";import*as t from"./sidebar.js";function i({user:i,modules:a,...n}){return(0,e.jsxs)(t.Sidebar,{variant:"sidebar",...n,children:[(0,e.jsx)(t.SidebarHeader,{children:(0,e.jsx)(t.SidebarMenu,{children:(0,e.jsx)(t.SidebarMenuItem,{children:(0,e.jsx)(t.SidebarMenuButton,{size:"lg",asChild:!0,children:(0,e.jsxs)(r.default,{href:"/home",children:[(0,e.jsx)("div",{className:"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground",children:(0,e.jsx)(s.Logo,{})}),(0,e.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,e.jsx)("span",{className:"truncate font-medium",children:"GBM Tech & Control"}),(0,e.jsx)("span",{className:"truncate text-gbm-gray text-sm",children:"by nstech"})]})]})})})})}),(0,e.jsx)(t.SidebarContent,{}),(0,e.jsx)(t.SidebarFooter,{})]})}export{i as AppLayout};
3
3
  //# sourceMappingURL=app-layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\app-layout.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/app-layout.tsx"],"sourcesContent":["\n\nimport Link from 'next/link'\nimport type { ComponentProps } from 'react'\n\nimport { Module, User } from '@/types'\nimport { Logo } from './logo'\nimport { NavModules } from './nav-modules'\nimport { NavUser } from './nav-user'\nimport {\n Sidebar,\n SidebarContent,\n SidebarFooter,\n SidebarHeader,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n} from './sidebar'\n\ninterface AppLayoutProps extends ComponentProps<typeof Sidebar> {\n user: User\n modules: Module[]\n}\n\nfunction AppLayout({ user, modules, ...props }: AppLayoutProps) {\n return (\n <Sidebar variant=\"sidebar\" {...props}>\n <SidebarHeader>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton size=\"lg\" asChild>\n <Link href=\"/home\">\n <div className=\"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground\">\n <Logo />\n </div>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">\n GBM Tech & Control\n </span>\n <span className=\"truncate text-gbm-gray text-sm\">\n by nstech\n </span>\n </div>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n </SidebarMenu>\n </SidebarHeader>\n <SidebarContent>\n <NavModules modules={modules} />\n </SidebarContent>\n <SidebarFooter>\n <NavUser user={user} />\n </SidebarFooter>\n </Sidebar>\n )\n}\n\nexport { AppLayout }\n"],"names":["AppLayout","user","modules","props","Sidebar","SidebarHeader","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","Logo","SidebarContent","NavModules","SidebarFooter","NavUser"],"mappings":";8LAwBA,SAASA,EAAU,CAAEC,KAAAA,CAAI,CAAEC,QAAAA,CAAO,CAAE,GAAGC,EAAuB,EAC5D,MACE,WAACC,EAAAA,OAAOA,CAAAA,CAAC,QAAQ,UAAW,GAAGD,CAAK,C,UAClC,UAACE,EAAAA,aAAaA,CAAAA,C,SACZ,UAACC,EAAAA,WAAWA,CAAAA,C,SACV,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,UAACC,EAAAA,iBAAiBA,CAAAA,CAAC,KAAK,KAAK,QAAO,G,SAClC,WAACC,EAAAA,OAAIA,CAAAA,CAAC,KAAK,Q,UACT,UAAC,OAAI,UAAU,+G,SACb,UAACC,EAAAA,IAAIA,CAAAA,CAAAA,E,GAEP,WAAC,OAAI,UAAU,8C,UACb,UAAC,QAAK,UAAU,uB,SAAuB,oB,GAGvC,UAAC,QAAK,UAAU,iC,SAAiC,W,iBAS7D,UAACC,EAAAA,cAAcA,CAAAA,C,SACb,UAACC,EAAAA,UAAUA,CAAAA,CAAC,QAASV,C,KAEvB,UAACW,EAAAA,aAAaA,CAAAA,C,SACZ,UAACC,EAAAA,OAAOA,CAAAA,CAAC,KAAMb,C,OAIvB,Q"}
1
+ {"version":3,"file":"components\\sidebar\\app-layout.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/app-layout.tsx"],"sourcesContent":["\n\nimport Link from 'next/link'\nimport type { ComponentProps } from 'react'\n\nimport { Module, User } from '@/types'\nimport { Logo } from './logo'\nimport {\n Sidebar,\n SidebarContent,\n SidebarFooter,\n SidebarHeader,\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n} from './sidebar'\n\ninterface AppLayoutProps extends ComponentProps<typeof Sidebar> {\n user: User\n modules: Module[]\n}\n\nfunction AppLayout({ user, modules, ...props }: AppLayoutProps) {\n return (\n <Sidebar variant=\"sidebar\" {...props}>\n <SidebarHeader>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton size=\"lg\" asChild>\n <Link href=\"/home\">\n <div className=\"flex aspect-square size-10 items-center justify-center rounded-lg bg-gbm-sky text-sidebar-primary-foreground\">\n <Logo />\n </div>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">\n GBM Tech & Control\n </span>\n <span className=\"truncate text-gbm-gray text-sm\">\n by nstech\n </span>\n </div>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n </SidebarMenu>\n </SidebarHeader>\n <SidebarContent>{/* <NavModules modules={modules} /> */}</SidebarContent>\n <SidebarFooter>{/* <NavUser user={user} /> */}</SidebarFooter>\n </Sidebar>\n )\n}\n\nexport { AppLayout }\n"],"names":["AppLayout","user","modules","props","Sidebar","SidebarHeader","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","Logo","SidebarContent","SidebarFooter"],"mappings":";2HAsBA,SAASA,EAAU,CAAEC,KAAAA,CAAI,CAAEC,QAAAA,CAAO,CAAE,GAAGC,EAAuB,EAC5D,MACE,WAACC,EAAAA,OAAOA,CAAAA,CAAC,QAAQ,UAAW,GAAGD,CAAK,C,UAClC,UAACE,EAAAA,aAAaA,CAAAA,C,SACZ,UAACC,EAAAA,WAAWA,CAAAA,C,SACV,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,UAACC,EAAAA,iBAAiBA,CAAAA,CAAC,KAAK,KAAK,QAAO,G,SAClC,WAACC,EAAAA,OAAIA,CAAAA,CAAC,KAAK,Q,UACT,UAAC,OAAI,UAAU,+G,SACb,UAACC,EAAAA,IAAIA,CAAAA,CAAAA,E,GAEP,WAAC,OAAI,UAAU,8C,UACb,UAAC,QAAK,UAAU,uB,SAAuB,oB,GAGvC,UAAC,QAAK,UAAU,iC,SAAiC,W,iBAS7D,UAACC,EAAAA,cAAcA,CAAAA,CAAAA,GACf,UAACC,EAAAA,aAAaA,CAAAA,CAAAA,G,EAGpB,Q"}
@@ -1 +1 @@
1
- import*as r from"./sidebar.js";export*from"./app-layout.js";export*from"./nav-modules.js";export*from"./nav-sub-item.js";export*from"./nav-user.js";export*from"./sidebar-icons.js";export*from"./logo.js";var o={"./sidebar":function(o){o.exports=r}},s={};!function r(e){var t=s[e];if(void 0!==t)return t.exports;var p=s[e]={exports:{}};return o[e](p,p.exports,r),p.exports}("./sidebar");
1
+ export*from"./sidebar.js";export*from"./app-layout.js";export*from"./nav-modules.js";export*from"./nav-sub-item.js";export*from"./nav-user.js";export*from"./sidebar-icons.js";export*from"./logo.js";
@@ -1,4 +1,4 @@
1
- export declare const messages: {
1
+ declare const messages: {
2
2
  'pt-br': {
3
3
  home: string;
4
4
  modules: string;
@@ -18,4 +18,5 @@ export declare const messages: {
18
18
  'sign-out': string;
19
19
  };
20
20
  };
21
+ export { messages };
21
22
  //# sourceMappingURL=messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../src/components/sidebar/intl/messages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBpB,CAAA"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../src/components/sidebar/intl/messages.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;CAmBb,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\intl\\messages.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/intl/messages.ts"],"sourcesContent":["export const messages = {\n 'pt-br': {\n home: 'Página Inicial',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Sair',\n },\n 'en-us': {\n home: 'Home',\n modules: 'Modules',\n language: 'Language',\n 'sign-out': 'Sign Out',\n },\n es: {\n home: 'Página de inicio',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Desconectar',\n },\n}\n"],"names":["messages"],"mappings":"AAAO,IAAMA,EAAW,CACtB,QAAS,CACP,KAAM,oBACN,QAAS,aACT,SAAU,SACV,WAAY,MACd,EACA,QAAS,CACP,KAAM,OACN,QAAS,UACT,SAAU,WACV,WAAY,UACd,EACA,GAAI,CACF,KAAM,sBACN,QAAS,aACT,SAAU,SACV,WAAY,aACd,CACF,S"}
1
+ {"version":3,"file":"components\\sidebar\\intl\\messages.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/intl/messages.ts"],"sourcesContent":["const messages = {\n 'pt-br': {\n home: 'Página Inicial',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Sair',\n },\n 'en-us': {\n home: 'Home',\n modules: 'Modules',\n language: 'Language',\n 'sign-out': 'Sign Out',\n },\n es: {\n home: 'Página de inicio',\n modules: 'Módulos',\n language: 'Idioma',\n 'sign-out': 'Desconectar',\n },\n}\n\nexport { messages }\n"],"names":["messages"],"mappings":"AAAA,IAAMA,EAAW,CACf,QAAS,CACP,KAAM,oBACN,QAAS,aACT,SAAU,SACV,WAAY,MACd,EACA,QAAS,CACP,KAAM,OACN,QAAS,UACT,SAAU,WACV,WAAY,UACd,EACA,GAAI,CACF,KAAM,sBACN,QAAS,aACT,SAAU,SACV,WAAY,aACd,CACF,S"}
@@ -2,6 +2,6 @@ import { Module } from '../../types';
2
2
  interface NavModulesProps {
3
3
  modules: Module[];
4
4
  }
5
- export declare function NavModules({ modules }: NavModulesProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function NavModules({ modules }: NavModulesProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavModules };
7
7
  //# sourceMappingURL=nav-modules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-modules.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-modules.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAehC,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe,2CAiDtD"}
1
+ {"version":3,"file":"nav-modules.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-modules.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAehC,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,iBAAS,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe,2CAiD/C;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\nav-modules.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-modules.tsx"],"sourcesContent":["\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight, House } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport { messages } from './intl/messages'\nimport { NavSubItem } from './nav-sub-item'\nimport {\n SidebarGroup,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n useSidebar,\n} from './sidebar'\nimport { SidebarIcons } from './sidebar-icons'\n\ninterface NavModulesProps {\n modules: Module[]\n}\n\nexport function NavModules({ modules }: NavModulesProps) {\n const { lang } = useSidebar()\n\n return (\n <SidebarGroup>\n <SidebarGroupLabel>{messages[lang].modules}</SidebarGroupLabel>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton asChild>\n <Link href=\"/home\">\n <House />\n <span>{messages[lang].home}</span>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n {modules.map(item => (\n <Collapsible key={item.id} asChild>\n <SidebarMenuItem>\n <CollapsibleTrigger asChild>\n <SidebarMenuButton tooltip={item.name}>\n <SidebarIcons icon={item.icon} />\n\n <span>{item.name}</span>\n <SidebarMenuAction\n className=\"group-data-[state=open]/menu-item:rotate-90\"\n asChild\n >\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n {item.submodules?.length && (\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules?.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n )}\n </SidebarMenuItem>\n </Collapsible>\n ))}\n </SidebarMenu>\n </SidebarGroup>\n )\n}\n"],"names":["NavModules","modules","lang","useSidebar","SidebarGroup","SidebarGroupLabel","messages","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","House","item","Collapsible","CollapsibleTrigger","SidebarIcons","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","NavSubItem"],"mappings":";0RA6BO,SAASA,EAAW,CAAEC,QAAAA,CAAO,CAAmB,EACrD,GAAM,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,EAAAA,UAAAA,IAEjB,MACE,WAACC,EAAAA,YAAYA,CAAAA,C,UACX,UAACC,EAAAA,iBAAiBA,CAAAA,C,SAAEC,EAAAA,QAAQ,CAACJ,EAAK,CAAC,OAAO,GAC1C,WAACK,EAAAA,WAAWA,CAAAA,C,UACV,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,UAACC,EAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,WAACC,EAAAA,OAAIA,CAAAA,CAAC,KAAK,Q,UACT,UAACC,EAAAA,KAAKA,CAAAA,CAAAA,GACN,UAAC,Q,SAAML,EAAAA,QAAQ,CAACJ,EAAK,CAAC,IAAI,UAI/BD,EAAQ,GAAG,CAACW,GACX,UAACC,EAAAA,WAAWA,CAAAA,CAAe,QAAO,G,SAChC,WAACL,EAAAA,eAAeA,CAAAA,C,UACd,UAACM,EAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,WAACL,EAAAA,iBAAiBA,CAAAA,CAAC,QAASG,EAAK,IAAI,C,UACnC,UAACG,EAAAA,YAAYA,CAAAA,CAAC,KAAMH,EAAK,IAAI,GAE7B,UAAC,Q,SAAMA,EAAK,IAAI,GAChB,UAACI,EAAAA,iBAAiBA,CAAAA,CAChB,UAAU,8CACV,QAAO,G,SAEP,WAAC,O,UACC,UAACC,EAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,UAAC,QAAK,UAAU,U,SAAU,Q,aAKjCL,EAAK,UAAU,EAAE,QAChB,UAACM,EAAAA,kBAAkBA,CAAAA,C,SACjB,UAACC,EAAAA,cAAcA,CAAAA,C,SACZP,EAAK,UAAU,EAAE,IAAIQ,GACpB,UAACC,EAAAA,UAAUA,CAAAA,CAAkB,KAAMD,C,EAAlBA,EAAQ,EAAE,E,SAtBrBR,EAAK,EAAE,G,KAiCnC,Q"}
1
+ {"version":3,"file":"components\\sidebar\\nav-modules.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-modules.tsx"],"sourcesContent":["\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight, House } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport { messages } from './intl/messages'\nimport { NavSubItem } from './nav-sub-item'\nimport {\n SidebarGroup,\n SidebarGroupLabel,\n SidebarMenu,\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n useSidebar,\n} from './sidebar'\nimport { SidebarIcons } from './sidebar-icons'\n\ninterface NavModulesProps {\n modules: Module[]\n}\n\nfunction NavModules({ modules }: NavModulesProps) {\n const { lang } = useSidebar()\n\n return (\n <SidebarGroup>\n <SidebarGroupLabel>{messages[lang].modules}</SidebarGroupLabel>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton asChild>\n <Link href=\"/home\">\n <House />\n <span>{messages[lang].home}</span>\n </Link>\n </SidebarMenuButton>\n </SidebarMenuItem>\n {modules.map(item => (\n <Collapsible key={item.id} asChild>\n <SidebarMenuItem>\n <CollapsibleTrigger asChild>\n <SidebarMenuButton tooltip={item.name}>\n <SidebarIcons icon={item.icon} />\n\n <span>{item.name}</span>\n <SidebarMenuAction\n className=\"group-data-[state=open]/menu-item:rotate-90\"\n asChild\n >\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n {item.submodules?.length && (\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules?.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n )}\n </SidebarMenuItem>\n </Collapsible>\n ))}\n </SidebarMenu>\n </SidebarGroup>\n )\n}\n\nexport { NavModules }\n"],"names":["NavModules","modules","lang","useSidebar","SidebarGroup","SidebarGroupLabel","messages","SidebarMenu","SidebarMenuItem","SidebarMenuButton","Link","House","item","Collapsible","CollapsibleTrigger","SidebarIcons","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","NavSubItem"],"mappings":";0RA6BA,SAASA,EAAW,CAAEC,QAAAA,CAAO,CAAmB,EAC9C,GAAM,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,EAAAA,UAAAA,IAEjB,MACE,WAACC,EAAAA,YAAYA,CAAAA,C,UACX,UAACC,EAAAA,iBAAiBA,CAAAA,C,SAAEC,EAAAA,QAAQ,CAACJ,EAAK,CAAC,OAAO,GAC1C,WAACK,EAAAA,WAAWA,CAAAA,C,UACV,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,UAACC,EAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,WAACC,EAAAA,OAAIA,CAAAA,CAAC,KAAK,Q,UACT,UAACC,EAAAA,KAAKA,CAAAA,CAAAA,GACN,UAAC,Q,SAAML,EAAAA,QAAQ,CAACJ,EAAK,CAAC,IAAI,UAI/BD,EAAQ,GAAG,CAACW,GACX,UAACC,EAAAA,WAAWA,CAAAA,CAAe,QAAO,G,SAChC,WAACL,EAAAA,eAAeA,CAAAA,C,UACd,UAACM,EAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,WAACL,EAAAA,iBAAiBA,CAAAA,CAAC,QAASG,EAAK,IAAI,C,UACnC,UAACG,EAAAA,YAAYA,CAAAA,CAAC,KAAMH,EAAK,IAAI,GAE7B,UAAC,Q,SAAMA,EAAK,IAAI,GAChB,UAACI,EAAAA,iBAAiBA,CAAAA,CAChB,UAAU,8CACV,QAAO,G,SAEP,WAAC,O,UACC,UAACC,EAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,UAAC,QAAK,UAAU,U,SAAU,Q,aAKjCL,EAAK,UAAU,EAAE,QAChB,UAACM,EAAAA,kBAAkBA,CAAAA,C,SACjB,UAACC,EAAAA,cAAcA,CAAAA,C,SACZP,EAAK,UAAU,EAAE,IAAIQ,GACpB,UAACC,EAAAA,UAAUA,CAAAA,CAAkB,KAAMD,C,EAAlBA,EAAQ,EAAE,E,SAtBrBR,EAAK,EAAE,G,KAiCnC,Q"}
@@ -2,6 +2,6 @@ import { Module } from '../../types';
2
2
  interface NavItemProps {
3
3
  item: Module;
4
4
  }
5
- export declare function NavSubItem({ item }: NavItemProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function NavSubItem({ item }: NavItemProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavSubItem };
7
7
  //# sourceMappingURL=nav-sub-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-sub-item.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-sub-item.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAShC,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY,2CAsChD"}
1
+ {"version":3,"file":"nav-sub-item.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-sub-item.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAShC,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE,YAAY,2CAsCzC;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\nav-sub-item.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-sub-item.tsx"],"sourcesContent":["\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport {\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubItem,\n} from './sidebar'\n\ninterface NavItemProps {\n item: Module\n}\n\nexport function NavSubItem({ item }: NavItemProps) {\n if (!item.submodules?.length) {\n return (\n <SidebarMenuSubItem>\n <SidebarMenuButton\n className=\"data-[active=true]:bg-transparent\"\n asChild\n >\n <Link href={item.path}>{item.name}</Link>\n </SidebarMenuButton>\n </SidebarMenuSubItem>\n )\n }\n\n return (\n <SidebarMenuItem>\n <Collapsible className=\"group/collapsible [&[data-state=open]>button>div>svg:first-child]:rotate-90\">\n <CollapsibleTrigger asChild>\n <SidebarMenuButton>\n {item.name}\n <SidebarMenuAction asChild>\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n </Collapsible>\n </SidebarMenuItem>\n )\n}\n"],"names":["NavSubItem","item","SidebarMenuItem","Collapsible","CollapsibleTrigger","SidebarMenuButton","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","SidebarMenuSubItem","Link"],"mappings":";4KAuBO,SAASA,EAAW,CAAEC,KAAAA,CAAI,CAAgB,SAC/C,EAAU,UAAU,EAAE,OAcpB,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,WAACC,EAAAA,WAAWA,CAAAA,CAAC,UAAU,8E,UACrB,UAACC,EAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,WAACC,EAAAA,iBAAiBA,CAAAA,C,UACfJ,EAAK,IAAI,CACV,UAACK,EAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,WAAC,O,UACC,UAACC,EAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,UAAC,QAAK,UAAU,U,SAAU,Q,aAKlC,UAACC,EAAAA,kBAAkBA,CAAAA,C,SACjB,UAACC,EAAAA,cAAcA,CAAAA,C,SACZR,EAAK,UAAU,CAAC,GAAG,CAACS,GACnB,UAACV,EAAAA,CAA4B,KAAMU,C,EAAlBA,EAAQ,EAAE,E,UA5BnC,UAACC,EAAAA,kBAAkBA,CAAAA,C,SACjB,UAACN,EAAAA,iBAAiBA,CAAAA,CAChB,UAAU,oCACV,QAAO,G,SAEP,UAACO,EAAAA,OAAIA,CAAAA,CAAC,KAAMX,EAAK,IAAI,C,SAAGA,EAAK,IAAI,MA8B3C,Q"}
1
+ {"version":3,"file":"components\\sidebar\\nav-sub-item.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-sub-item.tsx"],"sourcesContent":["\n\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from '@radix-ui/react-collapsible'\nimport { ChevronRight } from 'lucide-react'\nimport Link from 'next/link'\n\nimport { Module } from '@/types'\nimport {\n SidebarMenuAction,\n SidebarMenuButton,\n SidebarMenuItem,\n SidebarMenuSub,\n SidebarMenuSubItem,\n} from './sidebar'\n\ninterface NavItemProps {\n item: Module\n}\n\nfunction NavSubItem({ item }: NavItemProps) {\n if (!item.submodules?.length) {\n return (\n <SidebarMenuSubItem>\n <SidebarMenuButton\n className=\"data-[active=true]:bg-transparent\"\n asChild\n >\n <Link href={item.path}>{item.name}</Link>\n </SidebarMenuButton>\n </SidebarMenuSubItem>\n )\n }\n\n return (\n <SidebarMenuItem>\n <Collapsible className=\"group/collapsible [&[data-state=open]>button>div>svg:first-child]:rotate-90\">\n <CollapsibleTrigger asChild>\n <SidebarMenuButton>\n {item.name}\n <SidebarMenuAction asChild>\n <div>\n <ChevronRight className=\"transition-transform\" />\n <span className=\"sr-only\">Toggle</span>\n </div>\n </SidebarMenuAction>\n </SidebarMenuButton>\n </CollapsibleTrigger>\n <CollapsibleContent>\n <SidebarMenuSub>\n {item.submodules.map(subItem => (\n <NavSubItem key={subItem.id} item={subItem} />\n ))}\n </SidebarMenuSub>\n </CollapsibleContent>\n </Collapsible>\n </SidebarMenuItem>\n )\n}\n\nexport { NavSubItem }\n"],"names":["NavSubItem","item","SidebarMenuItem","Collapsible","CollapsibleTrigger","SidebarMenuButton","SidebarMenuAction","ChevronRight","CollapsibleContent","SidebarMenuSub","subItem","SidebarMenuSubItem","Link"],"mappings":";4KAuBA,SAASA,EAAW,CAAEC,KAAAA,CAAI,CAAgB,SACxC,EAAU,UAAU,EAAE,OAcpB,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,WAACC,EAAAA,WAAWA,CAAAA,CAAC,UAAU,8E,UACrB,UAACC,EAAAA,kBAAkBA,CAAAA,CAAC,QAAO,G,SACzB,WAACC,EAAAA,iBAAiBA,CAAAA,C,UACfJ,EAAK,IAAI,CACV,UAACK,EAAAA,iBAAiBA,CAAAA,CAAC,QAAO,G,SACxB,WAAC,O,UACC,UAACC,EAAAA,YAAYA,CAAAA,CAAC,UAAU,sB,GACxB,UAAC,QAAK,UAAU,U,SAAU,Q,aAKlC,UAACC,EAAAA,kBAAkBA,CAAAA,C,SACjB,UAACC,EAAAA,cAAcA,CAAAA,C,SACZR,EAAK,UAAU,CAAC,GAAG,CAACS,GACnB,UAACV,EAAAA,CAA4B,KAAMU,C,EAAlBA,EAAQ,EAAE,E,UA5BnC,UAACC,EAAAA,kBAAkBA,CAAAA,C,SACjB,UAACN,EAAAA,iBAAiBA,CAAAA,CAChB,UAAU,oCACV,QAAO,G,SAEP,UAACO,EAAAA,OAAIA,CAAAA,CAAC,KAAMX,EAAK,IAAI,C,SAAGA,EAAK,IAAI,MA8B3C,Q"}
@@ -2,6 +2,6 @@ import type { User } from '../../types/user';
2
2
  interface NavUser {
3
3
  user: User;
4
4
  }
5
- export declare function NavUser({ user }: NavUser): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function NavUser({ user }: NavUser): import("react/jsx-runtime").JSX.Element;
6
+ export { NavUser };
7
7
  //# sourceMappingURL=nav-user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-user.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-user.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AASxC,UAAU,OAAO;IACf,IAAI,EAAE,IAAI,CAAA;CACX;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,2CAiFxC"}
1
+ {"version":3,"file":"nav-user.d.ts","sourceRoot":"","sources":["../../../../src/components/sidebar/nav-user.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AASxC,UAAU,OAAO;IACf,IAAI,EAAE,IAAI,CAAA;CACX;AAED,iBAAS,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,2CAiFjC;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"components\\sidebar\\nav-user.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-user.tsx"],"sourcesContent":["\n\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from '@/components/dropdown-menu'\nimport { ChevronsUpDown, Languages, LogOut, UserRound } from 'lucide-react'\n\nimport { Avatar, AvatarFallback, AvatarImage } from '@/components/avatar'\nimport type { User } from '@/types/user'\nimport { messages } from './intl/messages'\nimport {\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n useSidebar,\n} from './sidebar'\n\ninterface NavUser {\n user: User\n}\n\nexport function NavUser({ user }: NavUser) {\n const { isMobile, lang } = useSidebar()\n\n return (\n <SidebarMenu>\n <SidebarMenuItem>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <SidebarMenuButton\n size=\"lg\"\n className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground\"\n >\n <Avatar className=\"size-8 rounded-lg group-data-[collapsible=icon]:size-10\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">{user.name}</span>\n <span className=\"truncate text-gbm-gray text-xs\">\n {user.email}\n </span>\n </div>\n <ChevronsUpDown className=\"ml-auto size-4\" />\n </SidebarMenuButton>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n className=\"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg\"\n side={isMobile ? 'bottom' : 'right'}\n align=\"end\"\n sideOffset={4}\n >\n <DropdownMenuLabel className=\"p-0 font-normal\">\n <div className=\"flex items-center gap-2 px-1 py-1.5 text-left text-sm\">\n <Avatar className=\"h-8 w-8 rounded-lg\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-semibold\">{user.name}</span>\n <span className=\"truncate text-xs\">{user.email}</span>\n </div>\n </div>\n </DropdownMenuLabel>\n <DropdownMenuGroup>\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <Languages className=\"mr-2 size-4\" />\n {messages[lang].language}\n </DropdownMenuSubTrigger>\n <DropdownMenuSubContent>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/brazil.svg\" alt=\"\" />\n PT-BR\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/united-states.svg\" alt=\"\" />\n EN-US\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/spain.svg\" alt=\"\" />\n ES\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem asChild>\n <a href=\"/api/auth/sign-out\">\n <LogOut className=\"mr-2 size-4\" />\n {messages[lang]['sign-out']}\n </a>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarMenuItem>\n </SidebarMenu>\n )\n}\n"],"names":["NavUser","user","isMobile","lang","useSidebar","SidebarMenu","SidebarMenuItem","DropdownMenu","DropdownMenuTrigger","SidebarMenuButton","Avatar","AvatarImage","undefined","AvatarFallback","UserRound","ChevronsUpDown","DropdownMenuContent","DropdownMenuLabel","DropdownMenuGroup","DropdownMenuSub","DropdownMenuSubTrigger","Languages","messages","DropdownMenuSubContent","DropdownMenuItem","DropdownMenuSeparator","LogOut"],"mappings":";4MA8BO,SAASA,EAAQ,CAAEC,KAAAA,CAAI,CAAW,EACvC,GAAM,CAAEC,SAAAA,CAAQ,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,EAAAA,UAAAA,IAE3B,MACE,UAACC,EAAAA,WAAWA,CAAAA,C,SACV,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,WAACC,EAAAA,YAAYA,CAAAA,C,UACX,UAACC,EAAAA,mBAAmBA,CAAAA,CAAC,QAAO,G,SAC1B,WAACC,EAAAA,iBAAiBA,CAAAA,CAChB,KAAK,KACL,UAAU,uF,UAEV,WAACC,EAAAA,MAAMA,CAAAA,CAAC,UAAU,0D,UAChB,UAACC,EAAAA,WAAWA,CAAAA,CAAC,IAAKC,OAAW,IAAKX,EAAK,IAAI,GAC3C,UAACY,EAAAA,cAAcA,CAAAA,CAAC,UAAU,a,SACxB,UAACC,EAAAA,SAASA,CAAAA,CAAC,UAAU,Q,QAGzB,WAAC,OAAI,UAAU,8C,UACb,UAAC,QAAK,UAAU,uB,SAAwBb,EAAK,IAAI,GACjD,UAAC,QAAK,UAAU,iC,SACbA,EAAK,KAAK,MAGf,UAACc,EAAAA,cAAcA,CAAAA,CAAC,UAAU,gB,QAG9B,WAACC,EAAAA,mBAAmBA,CAAAA,CAClB,UAAU,8DACV,KAAMd,EAAW,SAAW,QAC5B,MAAM,MACN,WAAY,E,UAEZ,UAACe,EAAAA,iBAAiBA,CAAAA,CAAC,UAAU,kB,SAC3B,WAAC,OAAI,UAAU,wD,UACb,WAACP,EAAAA,MAAMA,CAAAA,CAAC,UAAU,qB,UAChB,UAACC,EAAAA,WAAWA,CAAAA,CAAC,IAAKC,OAAW,IAAKX,EAAK,IAAI,GAC3C,UAACY,EAAAA,cAAcA,CAAAA,CAAC,UAAU,a,SACxB,UAACC,EAAAA,SAASA,CAAAA,CAAC,UAAU,Q,QAGzB,WAAC,OAAI,UAAU,8C,UACb,UAAC,QAAK,UAAU,yB,SAA0Bb,EAAK,IAAI,GACnD,UAAC,QAAK,UAAU,mB,SAAoBA,EAAK,KAAK,WAIpD,UAACiB,EAAAA,iBAAiBA,CAAAA,C,SAChB,WAACC,EAAAA,eAAeA,CAAAA,C,UACd,WAACC,EAAAA,sBAAsBA,CAAAA,C,UACrB,UAACC,EAAAA,SAASA,CAAAA,CAAC,UAAU,a,GACpBC,EAAAA,QAAQ,CAACnB,EAAK,CAAC,QAAQ,C,GAE1B,WAACoB,EAAAA,sBAAsBA,CAAAA,C,UACrB,WAACC,EAAAA,gBAAgBA,CAAAA,CAAC,UAAU,Q,UAC1B,UAAC,OAAI,IAAI,cAAc,IAAI,E,GAAK,Q,GAGlC,WAACA,EAAAA,gBAAgBA,CAAAA,CAAC,UAAU,Q,UAC1B,UAAC,OAAI,IAAI,qBAAqB,IAAI,E,GAAK,Q,GAGzC,WAACA,EAAAA,gBAAgBA,CAAAA,CAAC,UAAU,Q,UAC1B,UAAC,OAAI,IAAI,aAAa,IAAI,E,GAAK,K,WAMvC,UAACC,EAAAA,qBAAqBA,CAAAA,CAAAA,GACtB,UAACD,EAAAA,gBAAgBA,CAAAA,CAAC,QAAO,G,SACvB,WAAC,KAAE,KAAK,qB,UACN,UAACE,EAAAA,MAAMA,CAAAA,CAAC,UAAU,a,GACjBJ,EAAAA,QAAQ,CAACnB,EAAK,CAAC,WAAW,C,cAQ3C,Q"}
1
+ {"version":3,"file":"components\\sidebar\\nav-user.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/sidebar/nav-user.tsx"],"sourcesContent":["\n\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n} from '@/components/dropdown-menu'\nimport { ChevronsUpDown, Languages, LogOut, UserRound } from 'lucide-react'\n\nimport { Avatar, AvatarFallback, AvatarImage } from '@/components/avatar'\nimport type { User } from '@/types/user'\nimport { messages } from './intl/messages'\nimport {\n SidebarMenu,\n SidebarMenuButton,\n SidebarMenuItem,\n useSidebar,\n} from './sidebar'\n\ninterface NavUser {\n user: User\n}\n\nfunction NavUser({ user }: NavUser) {\n const { isMobile, lang } = useSidebar()\n\n return (\n <SidebarMenu>\n <SidebarMenuItem>\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <SidebarMenuButton\n size=\"lg\"\n className=\"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground\"\n >\n <Avatar className=\"size-8 rounded-lg group-data-[collapsible=icon]:size-10\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-medium\">{user.name}</span>\n <span className=\"truncate text-gbm-gray text-xs\">\n {user.email}\n </span>\n </div>\n <ChevronsUpDown className=\"ml-auto size-4\" />\n </SidebarMenuButton>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n className=\"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg\"\n side={isMobile ? 'bottom' : 'right'}\n align=\"end\"\n sideOffset={4}\n >\n <DropdownMenuLabel className=\"p-0 font-normal\">\n <div className=\"flex items-center gap-2 px-1 py-1.5 text-left text-sm\">\n <Avatar className=\"h-8 w-8 rounded-lg\">\n <AvatarImage src={undefined} alt={user.name} />\n <AvatarFallback className=\"rounded-lg\">\n <UserRound className=\"size-4\" />\n </AvatarFallback>\n </Avatar>\n <div className=\"grid flex-1 text-left text-sm leading-tight\">\n <span className=\"truncate font-semibold\">{user.name}</span>\n <span className=\"truncate text-xs\">{user.email}</span>\n </div>\n </div>\n </DropdownMenuLabel>\n <DropdownMenuGroup>\n <DropdownMenuSub>\n <DropdownMenuSubTrigger>\n <Languages className=\"mr-2 size-4\" />\n {messages[lang].language}\n </DropdownMenuSubTrigger>\n <DropdownMenuSubContent>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/brazil.svg\" alt=\"\" />\n PT-BR\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/united-states.svg\" alt=\"\" />\n EN-US\n </DropdownMenuItem>\n <DropdownMenuItem className=\"gap-2\">\n <img src=\"/spain.svg\" alt=\"\" />\n ES\n </DropdownMenuItem>\n </DropdownMenuSubContent>\n </DropdownMenuSub>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuItem asChild>\n <a href=\"/api/auth/sign-out\">\n <LogOut className=\"mr-2 size-4\" />\n {messages[lang]['sign-out']}\n </a>\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n </SidebarMenuItem>\n </SidebarMenu>\n )\n}\n\nexport { NavUser }\n"],"names":["NavUser","user","isMobile","lang","useSidebar","SidebarMenu","SidebarMenuItem","DropdownMenu","DropdownMenuTrigger","SidebarMenuButton","Avatar","AvatarImage","undefined","AvatarFallback","UserRound","ChevronsUpDown","DropdownMenuContent","DropdownMenuLabel","DropdownMenuGroup","DropdownMenuSub","DropdownMenuSubTrigger","Languages","messages","DropdownMenuSubContent","DropdownMenuItem","DropdownMenuSeparator","LogOut"],"mappings":";4MA8BA,SAASA,EAAQ,CAAEC,KAAAA,CAAI,CAAW,EAChC,GAAM,CAAEC,SAAAA,CAAQ,CAAEC,KAAAA,CAAI,CAAE,CAAGC,GAAAA,EAAAA,UAAAA,IAE3B,MACE,UAACC,EAAAA,WAAWA,CAAAA,C,SACV,UAACC,EAAAA,eAAeA,CAAAA,C,SACd,WAACC,EAAAA,YAAYA,CAAAA,C,UACX,UAACC,EAAAA,mBAAmBA,CAAAA,CAAC,QAAO,G,SAC1B,WAACC,EAAAA,iBAAiBA,CAAAA,CAChB,KAAK,KACL,UAAU,uF,UAEV,WAACC,EAAAA,MAAMA,CAAAA,CAAC,UAAU,0D,UAChB,UAACC,EAAAA,WAAWA,CAAAA,CAAC,IAAKC,OAAW,IAAKX,EAAK,IAAI,GAC3C,UAACY,EAAAA,cAAcA,CAAAA,CAAC,UAAU,a,SACxB,UAACC,EAAAA,SAASA,CAAAA,CAAC,UAAU,Q,QAGzB,WAAC,OAAI,UAAU,8C,UACb,UAAC,QAAK,UAAU,uB,SAAwBb,EAAK,IAAI,GACjD,UAAC,QAAK,UAAU,iC,SACbA,EAAK,KAAK,MAGf,UAACc,EAAAA,cAAcA,CAAAA,CAAC,UAAU,gB,QAG9B,WAACC,EAAAA,mBAAmBA,CAAAA,CAClB,UAAU,8DACV,KAAMd,EAAW,SAAW,QAC5B,MAAM,MACN,WAAY,E,UAEZ,UAACe,EAAAA,iBAAiBA,CAAAA,CAAC,UAAU,kB,SAC3B,WAAC,OAAI,UAAU,wD,UACb,WAACP,EAAAA,MAAMA,CAAAA,CAAC,UAAU,qB,UAChB,UAACC,EAAAA,WAAWA,CAAAA,CAAC,IAAKC,OAAW,IAAKX,EAAK,IAAI,GAC3C,UAACY,EAAAA,cAAcA,CAAAA,CAAC,UAAU,a,SACxB,UAACC,EAAAA,SAASA,CAAAA,CAAC,UAAU,Q,QAGzB,WAAC,OAAI,UAAU,8C,UACb,UAAC,QAAK,UAAU,yB,SAA0Bb,EAAK,IAAI,GACnD,UAAC,QAAK,UAAU,mB,SAAoBA,EAAK,KAAK,WAIpD,UAACiB,EAAAA,iBAAiBA,CAAAA,C,SAChB,WAACC,EAAAA,eAAeA,CAAAA,C,UACd,WAACC,EAAAA,sBAAsBA,CAAAA,C,UACrB,UAACC,EAAAA,SAASA,CAAAA,CAAC,UAAU,a,GACpBC,EAAAA,QAAQ,CAACnB,EAAK,CAAC,QAAQ,C,GAE1B,WAACoB,EAAAA,sBAAsBA,CAAAA,C,UACrB,WAACC,EAAAA,gBAAgBA,CAAAA,CAAC,UAAU,Q,UAC1B,UAAC,OAAI,IAAI,cAAc,IAAI,E,GAAK,Q,GAGlC,WAACA,EAAAA,gBAAgBA,CAAAA,CAAC,UAAU,Q,UAC1B,UAAC,OAAI,IAAI,qBAAqB,IAAI,E,GAAK,Q,GAGzC,WAACA,EAAAA,gBAAgBA,CAAAA,CAAC,UAAU,Q,UAC1B,UAAC,OAAI,IAAI,aAAa,IAAI,E,GAAK,K,WAMvC,UAACC,EAAAA,qBAAqBA,CAAAA,CAAAA,GACtB,UAACD,EAAAA,gBAAgBA,CAAAA,CAAC,QAAO,G,SACvB,WAAC,KAAE,KAAK,qB,UACN,UAACE,EAAAA,MAAMA,CAAAA,CAAC,UAAU,a,GACjBJ,EAAAA,QAAQ,CAACnB,EAAK,CAAC,WAAW,C,cAQ3C,Q"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gbmtech/aurora-ui",
3
- "version": "0.2.73",
3
+ "version": "0.2.74",
4
4
  "main": "./dist/cjs/index.cjs",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"components\\data-table\\index.js","sources":["webpack://@gbmtech/aurora-ui/webpack/runtime/define_property_getters","webpack://@gbmtech/aurora-ui/webpack/runtime/has_own_property","webpack://@gbmtech/aurora-ui/webpack/runtime/make_namespace_object"],"sourcesContent":["__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["Object","Symbol"],"mappings":"gnCAAA,EAAoB,CAAC,CAAG,CAAC,EAAS,KACjC,IAAI,IAAI,KAAO,EACL,EAAoB,CAAC,CAAC,EAAY,IAAQ,CAAC,EAAoB,CAAC,CAAC,EAAS,IACzEA,OAAO,cAAc,CAAC,EAAS,EAAK,CAAE,WAAY,GAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGzF,ECNA,EAAoB,CAAC,CAAG,CAAC,EAAK,IAAUA,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClF,EAAoB,CAAC,CAAG,AAAC,IACrB,AAAkB,aAAlB,OAAOC,QAA0BA,OAAO,WAAW,EACrDD,OAAO,cAAc,CAAC,EAASC,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtED,OAAO,cAAc,CAAC,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,E"}