@omnifyjp/ui 0.4.5 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +379 -133
- package/dist/chunk-2ZIFL2X3.js +189 -0
- package/dist/chunk-2ZIFL2X3.js.map +1 -0
- package/dist/chunk-5BL4VFRJ.js +57 -0
- package/dist/chunk-5BL4VFRJ.js.map +1 -0
- package/dist/chunk-5D3OAVOZ.js +91 -0
- package/dist/chunk-5D3OAVOZ.js.map +1 -0
- package/dist/chunk-DTM76EJD.js +235 -0
- package/dist/chunk-DTM76EJD.js.map +1 -0
- package/dist/chunk-EJEVW4RO.js +49 -0
- package/dist/chunk-EJEVW4RO.js.map +1 -0
- package/dist/chunk-O25D7DCP.js +72 -0
- package/dist/chunk-O25D7DCP.js.map +1 -0
- package/dist/chunk-OY3PSPA5.js +661 -0
- package/dist/chunk-OY3PSPA5.js.map +1 -0
- package/dist/chunk-RSCXIS4D.js +37 -0
- package/dist/chunk-RSCXIS4D.js.map +1 -0
- package/dist/chunk-SHHZRZMM.js +83 -0
- package/dist/chunk-SHHZRZMM.js.map +1 -0
- package/dist/chunk-X57K24P3.js +224 -0
- package/dist/chunk-X57K24P3.js.map +1 -0
- package/dist/chunk-XDXGUPCR.js +123 -0
- package/dist/chunk-XDXGUPCR.js.map +1 -0
- package/dist/components/AppShell.d.ts +27 -0
- package/dist/components/AppShell.js +11 -0
- package/dist/components/AppShell.js.map +1 -0
- package/dist/components/Header.d.ts +11 -0
- package/dist/components/Header.js +6 -0
- package/dist/components/Header.js.map +1 -0
- package/dist/components/OrganizationSelector.d.ts +8 -0
- package/dist/components/OrganizationSelector.js +4 -0
- package/dist/components/OrganizationSelector.js.map +1 -0
- package/dist/components/OrganizationSetupModal.d.ts +5 -0
- package/dist/components/OrganizationSetupModal.js +4 -0
- package/dist/components/OrganizationSetupModal.js.map +1 -0
- package/dist/components/PageContainer.d.ts +105 -0
- package/dist/components/PageContainer.js +3 -0
- package/dist/components/PageContainer.js.map +1 -0
- package/dist/components/ServiceMenu.d.ts +11 -0
- package/dist/components/ServiceMenu.js +3 -0
- package/dist/components/ServiceMenu.js.map +1 -0
- package/dist/components/Sidebar.d.ts +11 -0
- package/dist/components/Sidebar.js +5 -0
- package/dist/components/Sidebar.js.map +1 -0
- package/dist/components/accordion.d.ts +70 -37
- package/dist/components/accordion.js +1 -2
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/alert-dialog.d.ts +1 -56
- package/dist/components/alert-dialog.js +1 -3
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.d.ts +1 -68
- package/dist/components/alert.js +1 -2
- package/dist/components/alert.js.map +1 -1
- package/dist/components/aspect-ratio.d.ts +1 -23
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/aspect-ratio.js.map +1 -1
- package/dist/components/avatar.d.ts +1 -48
- package/dist/components/avatar.js +1 -2
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.d.ts +1 -52
- package/dist/components/badge.js +1 -2
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.d.ts +1 -50
- package/dist/components/breadcrumb.js +1 -2
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/button.d.ts +1 -81
- package/dist/components/button.js +1 -2
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar-category-badge.d.ts +1 -24
- package/dist/components/calendar-category-badge.js +1 -3
- package/dist/components/calendar-category-badge.js.map +1 -1
- package/dist/components/calendar-event-chip.d.ts +1 -41
- package/dist/components/calendar-event-chip.js +1 -2
- package/dist/components/calendar-event-chip.js.map +1 -1
- package/dist/components/calendar-event-sheet.d.ts +1 -68
- package/dist/components/calendar-event-sheet.js +1 -7
- package/dist/components/calendar-event-sheet.js.map +1 -1
- package/dist/components/calendar-mini.d.ts +1 -65
- package/dist/components/calendar-mini.js +1 -4
- package/dist/components/calendar-mini.js.map +1 -1
- package/dist/components/calendar-toolbar.d.ts +1 -58
- package/dist/components/calendar-toolbar.js +1 -5
- package/dist/components/calendar-toolbar.js.map +1 -1
- package/dist/components/calendar.d.ts +1 -19
- package/dist/components/calendar.js +1 -3
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.d.ts +1 -43
- package/dist/components/card.js +1 -2
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.d.ts +1 -53
- package/dist/components/carousel.js +1 -3
- package/dist/components/carousel.js.map +1 -1
- package/dist/components/chart.d.ts +1 -103
- package/dist/components/chart.js +1 -2
- package/dist/components/chart.js.map +1 -1
- package/dist/components/checkbox.d.ts +1 -24
- package/dist/components/checkbox.js +1 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts +1 -28
- package/dist/components/collapsible.js +1 -1
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/color-picker.d.ts +1 -35
- package/dist/components/color-picker.js +1 -5
- package/dist/components/color-picker.js.map +1 -1
- package/dist/components/combobox.d.ts +1 -98
- package/dist/components/combobox.js +1 -6
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/command.d.ts +1 -63
- package/dist/components/command.js +1 -3
- package/dist/components/command.js.map +1 -1
- package/dist/components/context-menu.d.ts +1 -70
- package/dist/components/context-menu.js +1 -2
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/date-picker.d.ts +1 -71
- package/dist/components/date-picker.js +1 -5
- package/dist/components/date-picker.js.map +1 -1
- package/dist/components/dialog.d.ts +1 -58
- package/dist/components/dialog.js +1 -2
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/drawer.d.ts +1 -60
- package/dist/components/drawer.js +1 -2
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.d.ts +1 -76
- package/dist/components/dropdown-menu.js +1 -2
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/file-upload.d.ts +1 -44
- package/dist/components/file-upload.js +1 -3
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/form.d.ts +1 -67
- package/dist/components/form.js +1 -3
- package/dist/components/form.js.map +1 -1
- package/dist/components/hover-card.d.ts +1 -43
- package/dist/components/hover-card.js +1 -2
- package/dist/components/hover-card.js.map +1 -1
- package/dist/components/input-otp.d.ts +1 -38
- package/dist/components/input-otp.js +1 -2
- package/dist/components/input-otp.js.map +1 -1
- package/dist/components/input.d.ts +1 -38
- package/dist/components/input.js +1 -2
- package/dist/components/input.js.map +1 -1
- package/dist/components/label.d.ts +1 -20
- package/dist/components/label.js +1 -2
- package/dist/components/label.js.map +1 -1
- package/dist/components/menubar.d.ts +1 -82
- package/dist/components/menubar.js +1 -2
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/navigation-menu.d.ts +1 -64
- package/dist/components/navigation-menu.js +1 -2
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/pagination.d.ts +1 -59
- package/dist/components/pagination.js +1 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/password-input.d.ts +1 -32
- package/dist/components/password-input.js +1 -3
- package/dist/components/password-input.js.map +1 -1
- package/dist/components/permission-grid.d.ts +1 -67
- package/dist/components/permission-grid.js +1 -3
- package/dist/components/permission-grid.js.map +1 -1
- package/dist/components/popover.d.ts +1 -37
- package/dist/components/popover.js +1 -2
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress.d.ts +1 -20
- package/dist/components/progress.js +1 -2
- package/dist/components/progress.js.map +1 -1
- package/dist/components/radio-group.d.ts +1 -38
- package/dist/components/radio-group.js +1 -2
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/rating.d.ts +1 -35
- package/dist/components/rating.js +1 -2
- package/dist/components/rating.js.map +1 -1
- package/dist/components/resizable.d.ts +1 -36
- package/dist/components/resizable.js +1 -2
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/scope-tree.d.ts +1 -78
- package/dist/components/scope-tree.js +1 -3
- package/dist/components/scope-tree.js.map +1 -1
- package/dist/components/scope-type-badge.d.ts +1 -35
- package/dist/components/scope-type-badge.js +1 -3
- package/dist/components/scope-type-badge.js.map +1 -1
- package/dist/components/scroll-area.d.ts +1 -29
- package/dist/components/scroll-area.js +1 -2
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.d.ts +1 -52
- package/dist/components/select.js +1 -2
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.d.ts +1 -24
- package/dist/components/separator.js +1 -2
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.d.ts +1 -51
- package/dist/components/sheet.js +1 -2
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/skeleton.d.ts +1 -25
- package/dist/components/skeleton.js +1 -2
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/slider.d.ts +1 -24
- package/dist/components/slider.js +1 -2
- package/dist/components/slider.js.map +1 -1
- package/dist/components/slug-input.d.ts +1 -50
- package/dist/components/slug-input.js +1 -4
- package/dist/components/slug-input.js.map +1 -1
- package/dist/components/sonner.d.ts +1 -22
- package/dist/components/sonner.js +1 -1
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/stage-type-badge.d.ts +1 -30
- package/dist/components/stage-type-badge.js +1 -3
- package/dist/components/stage-type-badge.js.map +1 -1
- package/dist/components/switch.d.ts +1 -26
- package/dist/components/switch.js +1 -2
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.d.ts +1 -57
- package/dist/components/table.js +1 -2
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.d.ts +1 -39
- package/dist/components/tabs.js +1 -2
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/tag-input.d.ts +1 -40
- package/dist/components/tag-input.js +1 -3
- package/dist/components/tag-input.js.map +1 -1
- package/dist/components/textarea.d.ts +1 -21
- package/dist/components/textarea.js +1 -2
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/time-picker.d.ts +1 -57
- package/dist/components/time-picker.js +1 -6
- package/dist/components/time-picker.js.map +1 -1
- package/dist/components/toggle-group.d.ts +1 -45
- package/dist/components/toggle-group.js +1 -3
- package/dist/components/toggle-group.js.map +1 -1
- package/dist/components/toggle.d.ts +1 -31
- package/dist/components/toggle.js +1 -2
- package/dist/components/toggle.js.map +1 -1
- package/dist/components/tooltip.d.ts +1 -34
- package/dist/components/tooltip.js +1 -2
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/workflow-category-badge.d.ts +1 -32
- package/dist/components/workflow-category-badge.js +1 -3
- package/dist/components/workflow-category-badge.js.map +1 -1
- package/dist/components/workflow-diagram.d.ts +1 -63
- package/dist/components/workflow-diagram.js +1 -3
- package/dist/components/workflow-diagram.js.map +1 -1
- package/dist/components/workflow-status-badge.d.ts +1 -30
- package/dist/components/workflow-status-badge.js +1 -3
- package/dist/components/workflow-status-badge.js.map +1 -1
- package/dist/components/workflow-stepper.d.ts +1 -52
- package/dist/components/workflow-stepper.js +1 -2
- package/dist/components/workflow-stepper.js.map +1 -1
- package/dist/contexts/OrganizationContext.d.ts +26 -0
- package/dist/contexts/OrganizationContext.js +3 -0
- package/dist/contexts/OrganizationContext.js.map +1 -0
- package/dist/contexts/ThemeContext.d.ts +14 -0
- package/dist/contexts/ThemeContext.js +3 -0
- package/dist/contexts/ThemeContext.js.map +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -3
- package/dist/hooks/use-mobile.js +1 -1
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/hooks/useDateFormat.d.ts +28 -0
- package/dist/hooks/useDateFormat.js +4 -0
- package/dist/hooks/useDateFormat.js.map +1 -0
- package/dist/i18n.d.ts +38 -0
- package/dist/i18n.js +3 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +13 -109
- package/dist/index.js +11 -70
- package/dist/lib/types.d.ts +1 -0
- package/dist/lib/types.js +3 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/utils.d.ts +1 -5
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/types.d.ts +89 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +31 -70
- package/dist/chunk-2C2HRGM7.js +0 -51
- package/dist/chunk-2C2HRGM7.js.map +0 -1
- package/dist/chunk-2TUWDXAC.js +0 -196
- package/dist/chunk-2TUWDXAC.js.map +0 -1
- package/dist/chunk-34ARZSNP.js +0 -63
- package/dist/chunk-34ARZSNP.js.map +0 -1
- package/dist/chunk-35DNN46W.js +0 -13
- package/dist/chunk-35DNN46W.js.map +0 -1
- package/dist/chunk-35U6QG4P.js +0 -116
- package/dist/chunk-35U6QG4P.js.map +0 -1
- package/dist/chunk-36YYHIJU.js +0 -52
- package/dist/chunk-36YYHIJU.js.map +0 -1
- package/dist/chunk-3EOHW4QN.js +0 -35
- package/dist/chunk-3EOHW4QN.js.map +0 -1
- package/dist/chunk-3UPBCOS4.js +0 -39
- package/dist/chunk-3UPBCOS4.js.map +0 -1
- package/dist/chunk-3VU56V66.js +0 -41
- package/dist/chunk-3VU56V66.js.map +0 -1
- package/dist/chunk-55E7D2HR.js +0 -99
- package/dist/chunk-55E7D2HR.js.map +0 -1
- package/dist/chunk-67YUL2ZS.js +0 -53
- package/dist/chunk-67YUL2ZS.js.map +0 -1
- package/dist/chunk-6DIDQ4TB.js +0 -131
- package/dist/chunk-6DIDQ4TB.js.map +0 -1
- package/dist/chunk-6GWVQB3Q.js +0 -155
- package/dist/chunk-6GWVQB3Q.js.map +0 -1
- package/dist/chunk-75WZR6HF.js +0 -44
- package/dist/chunk-75WZR6HF.js.map +0 -1
- package/dist/chunk-7IRLBU2I.js +0 -114
- package/dist/chunk-7IRLBU2I.js.map +0 -1
- package/dist/chunk-7RMTPT6O.js +0 -99
- package/dist/chunk-7RMTPT6O.js.map +0 -1
- package/dist/chunk-7XH3MGBR.js +0 -128
- package/dist/chunk-7XH3MGBR.js.map +0 -1
- package/dist/chunk-A3BB5ZOC.js +0 -77
- package/dist/chunk-A3BB5ZOC.js.map +0 -1
- package/dist/chunk-B434PORR.js +0 -239
- package/dist/chunk-B434PORR.js.map +0 -1
- package/dist/chunk-BAQWGQJG.js +0 -106
- package/dist/chunk-BAQWGQJG.js.map +0 -1
- package/dist/chunk-BRSM3SZP.js +0 -46
- package/dist/chunk-BRSM3SZP.js.map +0 -1
- package/dist/chunk-C34KSTWA.js +0 -43
- package/dist/chunk-C34KSTWA.js.map +0 -1
- package/dist/chunk-C5NZAOA7.js +0 -54
- package/dist/chunk-C5NZAOA7.js.map +0 -1
- package/dist/chunk-CUZR4JWM.js +0 -23
- package/dist/chunk-CUZR4JWM.js.map +0 -1
- package/dist/chunk-DGPY4WP3.js +0 -11
- package/dist/chunk-DGPY4WP3.js.map +0 -1
- package/dist/chunk-EWBCV7VA.js +0 -65
- package/dist/chunk-EWBCV7VA.js.map +0 -1
- package/dist/chunk-F2ZJLKDP.js +0 -119
- package/dist/chunk-F2ZJLKDP.js.map +0 -1
- package/dist/chunk-FLWMT4DB.js +0 -66
- package/dist/chunk-FLWMT4DB.js.map +0 -1
- package/dist/chunk-FRKG7JQY.js +0 -48
- package/dist/chunk-FRKG7JQY.js.map +0 -1
- package/dist/chunk-G7HTZBUR.js +0 -187
- package/dist/chunk-G7HTZBUR.js.map +0 -1
- package/dist/chunk-HWTW64R5.js +0 -90
- package/dist/chunk-HWTW64R5.js.map +0 -1
- package/dist/chunk-IAWKX5W4.js +0 -219
- package/dist/chunk-IAWKX5W4.js.map +0 -1
- package/dist/chunk-INLM7UJC.js +0 -238
- package/dist/chunk-INLM7UJC.js.map +0 -1
- package/dist/chunk-JAJMM32I.js +0 -18
- package/dist/chunk-JAJMM32I.js.map +0 -1
- package/dist/chunk-JJSVA3TH.js +0 -61
- package/dist/chunk-JJSVA3TH.js.map +0 -1
- package/dist/chunk-JLTBUACL.js +0 -121
- package/dist/chunk-JLTBUACL.js.map +0 -1
- package/dist/chunk-JRU2QX7T.js +0 -38
- package/dist/chunk-JRU2QX7T.js.map +0 -1
- package/dist/chunk-JXGRW2MR.js +0 -17
- package/dist/chunk-JXGRW2MR.js.map +0 -1
- package/dist/chunk-KTBOZ4NE.js +0 -93
- package/dist/chunk-KTBOZ4NE.js.map +0 -1
- package/dist/chunk-LMT327XH.js +0 -56
- package/dist/chunk-LMT327XH.js.map +0 -1
- package/dist/chunk-LTTNCAAA.js +0 -138
- package/dist/chunk-LTTNCAAA.js.map +0 -1
- package/dist/chunk-LVZNNIK4.js +0 -111
- package/dist/chunk-LVZNNIK4.js.map +0 -1
- package/dist/chunk-MJLFJPUG.js +0 -143
- package/dist/chunk-MJLFJPUG.js.map +0 -1
- package/dist/chunk-MZ2P566X.js +0 -65
- package/dist/chunk-MZ2P566X.js.map +0 -1
- package/dist/chunk-N47H4MHX.js +0 -41
- package/dist/chunk-N47H4MHX.js.map +0 -1
- package/dist/chunk-NNJTKHCE.js +0 -160
- package/dist/chunk-NNJTKHCE.js.map +0 -1
- package/dist/chunk-NPL2R5LD.js +0 -171
- package/dist/chunk-NPL2R5LD.js.map +0 -1
- package/dist/chunk-NU56GKGM.js +0 -44
- package/dist/chunk-NU56GKGM.js.map +0 -1
- package/dist/chunk-P3M5TZD2.js +0 -24
- package/dist/chunk-P3M5TZD2.js.map +0 -1
- package/dist/chunk-PGWNOZDX.js +0 -28
- package/dist/chunk-PGWNOZDX.js.map +0 -1
- package/dist/chunk-QB3UWRZH.js +0 -92
- package/dist/chunk-QB3UWRZH.js.map +0 -1
- package/dist/chunk-R2CDE5DO.js +0 -33
- package/dist/chunk-R2CDE5DO.js.map +0 -1
- package/dist/chunk-RQNZDWY3.js +0 -65
- package/dist/chunk-RQNZDWY3.js.map +0 -1
- package/dist/chunk-S6PDRGR5.js +0 -109
- package/dist/chunk-S6PDRGR5.js.map +0 -1
- package/dist/chunk-TGYQ3AKH.js +0 -95
- package/dist/chunk-TGYQ3AKH.js.map +0 -1
- package/dist/chunk-THQUH6WX.js +0 -81
- package/dist/chunk-THQUH6WX.js.map +0 -1
- package/dist/chunk-TJMK2KBE.js +0 -112
- package/dist/chunk-TJMK2KBE.js.map +0 -1
- package/dist/chunk-TTH7TWVX.js +0 -30
- package/dist/chunk-TTH7TWVX.js.map +0 -1
- package/dist/chunk-USIHM7FV.js +0 -211
- package/dist/chunk-USIHM7FV.js.map +0 -1
- package/dist/chunk-VVYSAGB3.js +0 -104
- package/dist/chunk-VVYSAGB3.js.map +0 -1
- package/dist/chunk-WD5KZE25.js +0 -25
- package/dist/chunk-WD5KZE25.js.map +0 -1
- package/dist/chunk-WL4ZO2H3.js +0 -33
- package/dist/chunk-WL4ZO2H3.js.map +0 -1
- package/dist/chunk-WRCHR4AK.js +0 -23
- package/dist/chunk-WRCHR4AK.js.map +0 -1
- package/dist/chunk-XOJJBNDX.js +0 -33
- package/dist/chunk-XOJJBNDX.js.map +0 -1
- package/dist/chunk-XUVLD65E.js +0 -617
- package/dist/chunk-XUVLD65E.js.map +0 -1
- package/dist/chunk-YBMEQZX7.js +0 -164
- package/dist/chunk-YBMEQZX7.js.map +0 -1
- package/dist/chunk-Z2QAABLM.js +0 -86
- package/dist/chunk-Z2QAABLM.js.map +0 -1
- package/dist/chunk-ZHEKDP5X.js +0 -41
- package/dist/chunk-ZHEKDP5X.js.map +0 -1
- package/dist/chunk-ZPMXRW2A.js +0 -63
- package/dist/chunk-ZPMXRW2A.js.map +0 -1
- package/dist/chunk-ZYEGBF7G.js +0 -25
- package/dist/chunk-ZYEGBF7G.js.map +0 -1
- package/dist/components/sidebar.d.ts +0 -169
- package/dist/components/sidebar.js +0 -11
- package/dist/components/sidebar.js.map +0 -1
- package/dist/types-CBVkScfB.d.ts +0 -84
- package/src/styles/fonts.css +0 -0
- package/src/styles/index.css +0 -3
- package/src/styles/tailwind.css +0 -4
- package/src/styles/theme.css +0 -461
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** Supported workflow categories with built-in icon and color mappings. */
|
|
4
|
-
type WorkflowCategory = 'leave' | 'expense' | 'purchase' | 'contract' | 'document' | 'other';
|
|
5
|
-
interface WorkflowCategoryBadgeProps {
|
|
6
|
-
/** The category key. Determines the icon and color. */
|
|
7
|
-
category: WorkflowCategory;
|
|
8
|
-
/** The displayed label text. Defaults to a capitalized version of the category. */
|
|
9
|
-
label?: string;
|
|
10
|
-
/** Optional additional className. */
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* WorkflowCategoryBadge renders a badge with an icon and color for a workflow category.
|
|
15
|
-
*
|
|
16
|
-
* Each category has a dedicated icon and color scheme:
|
|
17
|
-
* - leave: Calendar (blue)
|
|
18
|
-
* - expense: Receipt (green)
|
|
19
|
-
* - purchase: ShoppingCart (amber)
|
|
20
|
-
* - contract: FileSignature (purple)
|
|
21
|
-
* - document: FileText (cyan)
|
|
22
|
-
* - other: MoreHorizontal (muted)
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* <WorkflowCategoryBadge category="expense" />
|
|
27
|
-
* <WorkflowCategoryBadge category="leave" label="Annual Leave" />
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
declare function WorkflowCategoryBadge({ category, label, className }: WorkflowCategoryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
31
|
-
|
|
32
|
-
export { type WorkflowCategory, WorkflowCategoryBadge, type WorkflowCategoryBadgeProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-category-badge';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '../chunk-A3BB5ZOC.js';
|
|
3
|
-
import '../chunk-DGPY4WP3.js';
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-category-badge';
|
|
4
2
|
//# sourceMappingURL=workflow-category-badge.js.map
|
|
5
3
|
//# sourceMappingURL=workflow-category-badge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-category-badge.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-category-badge.js","sourcesContent":[]}
|
|
@@ -1,63 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Supported stage types for the workflow diagram. Each type has a dedicated
|
|
5
|
-
* icon (CheckCircle, Eye, Bell, GitBranch) and color.
|
|
6
|
-
*/
|
|
7
|
-
type WorkflowDiagramStageType = 'approval' | 'review' | 'notification' | 'conditional';
|
|
8
|
-
/** A single stage in the workflow diagram. */
|
|
9
|
-
interface WorkflowDiagramStage {
|
|
10
|
-
/** Unique identifier for this stage. */
|
|
11
|
-
id: string;
|
|
12
|
-
/** Display name shown on the stage card. */
|
|
13
|
-
name: string;
|
|
14
|
-
/** Stage type that determines the icon and color. */
|
|
15
|
-
type: WorkflowDiagramStageType;
|
|
16
|
-
/** List of user IDs assigned as approvers. Count is displayed on the card. */
|
|
17
|
-
approverIds: string[];
|
|
18
|
-
/** Numeric order used to sort stages left-to-right. */
|
|
19
|
-
order: number;
|
|
20
|
-
}
|
|
21
|
-
/** User-visible labels for the workflow diagram. All have English defaults. */
|
|
22
|
-
interface WorkflowDiagramLabels {
|
|
23
|
-
/** Label shown above stage name for each stage type */
|
|
24
|
-
approval?: string;
|
|
25
|
-
review?: string;
|
|
26
|
-
notification?: string;
|
|
27
|
-
conditional?: string;
|
|
28
|
-
/** Text for the approver count (e.g. "approvers") */
|
|
29
|
-
approvers?: string;
|
|
30
|
-
}
|
|
31
|
-
interface WorkflowDiagramProps {
|
|
32
|
-
/** Ordered list of stages to display. Will be sorted by `order`. */
|
|
33
|
-
stages: WorkflowDiagramStage[];
|
|
34
|
-
/** The id of the currently active stage. Highlighted with a blue border. */
|
|
35
|
-
currentStageId?: string;
|
|
36
|
-
/** User-visible labels with English defaults. */
|
|
37
|
-
labels?: WorkflowDiagramLabels;
|
|
38
|
-
/** Optional additional className for the root container. */
|
|
39
|
-
className?: string;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* WorkflowDiagram renders a horizontal flow of workflow stages as cards
|
|
43
|
-
* connected by arrows.
|
|
44
|
-
*
|
|
45
|
-
* Each stage card displays an icon based on stage type, the stage name,
|
|
46
|
-
* and an optional approver count. The current stage is highlighted with
|
|
47
|
-
* a blue border.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```tsx
|
|
51
|
-
* <WorkflowDiagram
|
|
52
|
-
* stages={[
|
|
53
|
-
* { id: "s1", name: "Manager Review", type: "review", approverIds: ["u1"], order: 1 },
|
|
54
|
-
* { id: "s2", name: "Final Approval", type: "approval", approverIds: ["u2", "u3"], order: 2 },
|
|
55
|
-
* ]}
|
|
56
|
-
* currentStageId="s1"
|
|
57
|
-
* labels={{ approvers: "approvers" }}
|
|
58
|
-
* />
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
|
-
declare function WorkflowDiagram({ stages, currentStageId, labels, className, }: WorkflowDiagramProps): react_jsx_runtime.JSX.Element;
|
|
62
|
-
|
|
63
|
-
export { WorkflowDiagram, type WorkflowDiagramLabels, type WorkflowDiagramProps, type WorkflowDiagramStage, type WorkflowDiagramStageType };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-diagram';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '../chunk-Z2QAABLM.js';
|
|
3
|
-
import '../chunk-DGPY4WP3.js';
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-diagram';
|
|
4
2
|
//# sourceMappingURL=workflow-diagram.js.map
|
|
5
3
|
//# sourceMappingURL=workflow-diagram.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-diagram.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-diagram.js","sourcesContent":[]}
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** Common workflow instance statuses with built-in styling. */
|
|
4
|
-
type WorkflowStatus = 'pending' | 'in-progress' | 'approved' | 'rejected' | 'cancelled';
|
|
5
|
-
interface WorkflowStatusBadgeProps {
|
|
6
|
-
/** The status key. Must be one of the predefined statuses. */
|
|
7
|
-
status: WorkflowStatus;
|
|
8
|
-
/** The displayed label text. Defaults to a capitalized version of the status. */
|
|
9
|
-
label?: string;
|
|
10
|
-
/** Optional additional className. */
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* WorkflowStatusBadge renders a color-coded badge for a workflow instance status.
|
|
15
|
-
*
|
|
16
|
-
* - pending: blue
|
|
17
|
-
* - in-progress: amber
|
|
18
|
-
* - approved: green
|
|
19
|
-
* - rejected: red
|
|
20
|
-
* - cancelled: muted
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```tsx
|
|
24
|
-
* <WorkflowStatusBadge status="approved" />
|
|
25
|
-
* <WorkflowStatusBadge status="in-progress" label="In Review" />
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
declare function WorkflowStatusBadge({ status, label, className }: WorkflowStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
export { type WorkflowStatus, WorkflowStatusBadge, type WorkflowStatusBadgeProps };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-status-badge';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '../chunk-A3BB5ZOC.js';
|
|
3
|
-
import '../chunk-DGPY4WP3.js';
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-status-badge';
|
|
4
2
|
//# sourceMappingURL=workflow-status-badge.js.map
|
|
5
3
|
//# sourceMappingURL=workflow-status-badge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-status-badge.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-status-badge.js","sourcesContent":[]}
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** A single stage in the workflow stepper. */
|
|
4
|
-
interface WorkflowStepperStage {
|
|
5
|
-
/** Unique identifier for this stage. */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Display name shown below the stage circle. */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Numeric order used to sort stages left-to-right. */
|
|
10
|
-
order: number;
|
|
11
|
-
}
|
|
12
|
-
/** A history entry representing a completed (or rejected) stage. */
|
|
13
|
-
interface WorkflowStepperHistoryEntry {
|
|
14
|
-
/** The stage ID this history entry applies to. */
|
|
15
|
-
stageId: string;
|
|
16
|
-
/** The decision made at this stage. "rejected" stages render in red. */
|
|
17
|
-
decision: 'approved' | 'rejected' | 'skipped' | (string & {});
|
|
18
|
-
}
|
|
19
|
-
interface WorkflowStepperProps {
|
|
20
|
-
/** Ordered list of stages to display. Will be sorted by `order`. */
|
|
21
|
-
stages: WorkflowStepperStage[];
|
|
22
|
-
/** History of completed stages. Used to determine which stages are done. */
|
|
23
|
-
history: WorkflowStepperHistoryEntry[];
|
|
24
|
-
/** The id of the currently active stage. */
|
|
25
|
-
currentStageId: string;
|
|
26
|
-
/** Optional additional className for the root container. */
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* WorkflowStepper displays a horizontal progression of workflow stages.
|
|
31
|
-
*
|
|
32
|
-
* Each stage is shown as a numbered circle. Completed stages show a checkmark
|
|
33
|
-
* (green for approved, red for rejected). The current stage pulses with a blue
|
|
34
|
-
* highlight. Stages are connected by a horizontal line that turns green once
|
|
35
|
-
* the preceding stage is completed.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```tsx
|
|
39
|
-
* <WorkflowStepper
|
|
40
|
-
* stages={[
|
|
41
|
-
* { id: "s1", name: "Submit", order: 1 },
|
|
42
|
-
* { id: "s2", name: "Review", order: 2 },
|
|
43
|
-
* { id: "s3", name: "Approve", order: 3 },
|
|
44
|
-
* ]}
|
|
45
|
-
* history={[{ stageId: "s1", decision: "approved" }]}
|
|
46
|
-
* currentStageId="s2"
|
|
47
|
-
* />
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
declare function WorkflowStepper({ stages, history, currentStageId, className, }: WorkflowStepperProps): react_jsx_runtime.JSX.Element;
|
|
51
|
-
|
|
52
|
-
export { WorkflowStepper, type WorkflowStepperHistoryEntry, type WorkflowStepperProps, type WorkflowStepperStage };
|
|
1
|
+
export * from '@omnifyjp/ui-components/components/workflow-stepper';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-stepper.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"workflow-stepper.js","sourcesContent":[]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { Organization, Branch } from '../types.js';
|
|
4
|
+
import 'lucide-react';
|
|
5
|
+
|
|
6
|
+
interface OrganizationContextType {
|
|
7
|
+
organizations: Organization[];
|
|
8
|
+
branches: Branch[];
|
|
9
|
+
selectedOrganization: Organization | null;
|
|
10
|
+
selectedBranch: Branch | null;
|
|
11
|
+
setSelectedOrganization: (org: Organization | null) => void;
|
|
12
|
+
setSelectedBranch: (branch: Branch | null) => void;
|
|
13
|
+
getBranchesByOrg: (orgId: string) => Branch[];
|
|
14
|
+
isSetupComplete: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface OrganizationProviderProps {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
organizations?: Organization[];
|
|
19
|
+
branches?: Branch[];
|
|
20
|
+
onOrganizationChange?: (org: Organization) => void;
|
|
21
|
+
onBranchChange?: (branch: Branch) => void;
|
|
22
|
+
}
|
|
23
|
+
declare function OrganizationProvider({ children, organizations, branches, onOrganizationChange, onBranchChange, }: OrganizationProviderProps): react_jsx_runtime.JSX.Element;
|
|
24
|
+
declare function useOrganization(): OrganizationContextType;
|
|
25
|
+
|
|
26
|
+
export { OrganizationProvider, useOrganization };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"OrganizationContext.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type Theme = 'light' | 'dark' | 'system';
|
|
5
|
+
interface ThemeContextType {
|
|
6
|
+
theme: Theme;
|
|
7
|
+
setTheme: (theme: Theme) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function ThemeProvider({ children }: {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}): react_jsx_runtime.JSX.Element;
|
|
12
|
+
declare function useTheme(): ThemeContextType;
|
|
13
|
+
|
|
14
|
+
export { type Theme, ThemeProvider, useTheme };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"ThemeContext.js"}
|
package/dist/hooks/use-mobile.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"use-mobile.js"}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"use-mobile.js","sourcesContent":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Locale } from 'date-fns';
|
|
2
|
+
import { SupportedLanguage } from '../i18n.js';
|
|
3
|
+
import 'i18next';
|
|
4
|
+
|
|
5
|
+
type SupportedTimezone = 'Asia/Ho_Chi_Minh' | 'Asia/Tokyo' | 'America/New_York' | 'America/Los_Angeles' | 'Europe/London' | 'UTC';
|
|
6
|
+
declare const timezoneLabels: Record<SupportedTimezone, string>;
|
|
7
|
+
/**
|
|
8
|
+
* Hook that provides date formatting utilities.
|
|
9
|
+
* Reads the current language from i18next automatically.
|
|
10
|
+
*/
|
|
11
|
+
declare function useDateFormat(): {
|
|
12
|
+
language: SupportedLanguage;
|
|
13
|
+
timezone: SupportedTimezone;
|
|
14
|
+
setLanguage: (lang: SupportedLanguage) => void;
|
|
15
|
+
setTimezone: (tz: SupportedTimezone) => void;
|
|
16
|
+
formatDate: (date: Date | string) => string;
|
|
17
|
+
formatDateTime: (date: Date | string) => string;
|
|
18
|
+
formatRelativeTime: (date: Date | string) => string;
|
|
19
|
+
formatShortDate: (date: Date | string) => string;
|
|
20
|
+
formatMonthYear: (date: Date | string) => string;
|
|
21
|
+
formatDayOfWeek: (date: Date | string) => string;
|
|
22
|
+
formatDateLong: (date: Date | string) => string;
|
|
23
|
+
dateFnsLocale: Locale;
|
|
24
|
+
localeTag: string;
|
|
25
|
+
languageNames: Record<SupportedLanguage, string>;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { type SupportedTimezone, timezoneLabels, useDateFormat };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"useDateFormat.js"}
|
package/dist/i18n.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as i18next from 'i18next';
|
|
2
|
+
import i18next__default from 'i18next';
|
|
3
|
+
export { default, default as i18n } from 'i18next';
|
|
4
|
+
|
|
5
|
+
type SupportedLanguage = 'vi' | 'en' | 'ja';
|
|
6
|
+
declare const languageNames: Record<SupportedLanguage, string>;
|
|
7
|
+
interface InitOmnifyI18nOptions {
|
|
8
|
+
/** Add service-specific namespace translations */
|
|
9
|
+
namespaces?: Record<string, Record<string, Record<string, unknown>>>;
|
|
10
|
+
/** Override shell translation keys */
|
|
11
|
+
overrides?: Record<string, Record<string, string>>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Initialize Omnify i18n for a service.
|
|
15
|
+
* Call this once in your service's entry point.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* import { initOmnifyI18n } from '@omnifyjp/ui';
|
|
20
|
+
* import pmVi from './locales/vi.json';
|
|
21
|
+
* import pmEn from './locales/en.json';
|
|
22
|
+
*
|
|
23
|
+
* initOmnifyI18n({
|
|
24
|
+
* namespaces: { pm: { vi: pmVi, en: pmEn } },
|
|
25
|
+
* overrides: {
|
|
26
|
+
* vi: { 'common.save': 'Lưu hồ sơ' },
|
|
27
|
+
* }
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
declare function initOmnifyI18n(options?: InitOmnifyI18nOptions): void;
|
|
32
|
+
/**
|
|
33
|
+
* Change the current language.
|
|
34
|
+
* Persists to localStorage and updates i18next.
|
|
35
|
+
*/
|
|
36
|
+
declare function changeLanguage(lang: SupportedLanguage): Promise<i18next.TFunction<"translation", undefined>>;
|
|
37
|
+
|
|
38
|
+
export { type InitOmnifyI18nOptions, type SupportedLanguage, changeLanguage, initOmnifyI18n, languageNames };
|
package/dist/i18n.js
ADDED
package/dist/i18n.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"i18n.js"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,113 +1,17 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './components/collapsible.js';
|
|
15
|
-
export { ColorPicker } from './components/color-picker.js';
|
|
16
|
-
export { Combobox, ComboboxOption, MultiCombobox } from './components/combobox.js';
|
|
17
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './components/command.js';
|
|
18
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './components/context-menu.js';
|
|
19
|
-
export { DatePicker, DateRangePicker } from './components/date-picker.js';
|
|
20
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/dialog.js';
|
|
21
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/drawer.js';
|
|
22
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './components/dropdown-menu.js';
|
|
23
|
-
export { FileUpload } from './components/file-upload.js';
|
|
24
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './components/form.js';
|
|
25
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/hover-card.js';
|
|
26
|
-
export { Input, InputProps, inputVariants } from './components/input.js';
|
|
27
|
-
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './components/input-otp.js';
|
|
28
|
-
export { PasswordInput, PasswordInputProps } from './components/password-input.js';
|
|
29
|
-
export { Label, LabelProps } from './components/label.js';
|
|
30
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './components/menubar.js';
|
|
31
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './components/navigation-menu.js';
|
|
32
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/pagination.js';
|
|
33
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './components/popover.js';
|
|
34
|
-
export { Progress, ProgressProps } from './components/progress.js';
|
|
35
|
-
export { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from './components/radio-group.js';
|
|
36
|
-
export { Rating } from './components/rating.js';
|
|
37
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './components/resizable.js';
|
|
38
|
-
export { ScrollArea, ScrollBar } from './components/scroll-area.js';
|
|
39
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './components/select.js';
|
|
40
|
-
export { Separator, SeparatorProps } from './components/separator.js';
|
|
41
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './components/sheet.js';
|
|
42
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './components/sidebar.js';
|
|
43
|
-
export { Skeleton, SkeletonProps } from './components/skeleton.js';
|
|
44
|
-
export { Slider, SliderProps } from './components/slider.js';
|
|
45
|
-
export { Toaster } from './components/sonner.js';
|
|
46
|
-
export { Switch, SwitchProps } from './components/switch.js';
|
|
47
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './components/table.js';
|
|
48
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/tabs.js';
|
|
49
|
-
export { TagInput } from './components/tag-input.js';
|
|
50
|
-
export { Textarea, TextareaProps } from './components/textarea.js';
|
|
51
|
-
export { TimeInput, TimePicker } from './components/time-picker.js';
|
|
52
|
-
export { Toggle, ToggleProps, toggleVariants } from './components/toggle.js';
|
|
53
|
-
export { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from './components/toggle-group.js';
|
|
54
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './components/tooltip.js';
|
|
55
|
-
export { CalendarCategory, CalendarMini, CalendarMiniLabels, CalendarMiniProps } from './components/calendar-mini.js';
|
|
56
|
-
export { CalendarEventChip, CalendarEventChipEvent, CalendarEventChipProps } from './components/calendar-event-chip.js';
|
|
57
|
-
export { CalendarEventSheet, CalendarEventSheetEvent, CalendarEventSheetLabels, CalendarEventSheetProps } from './components/calendar-event-sheet.js';
|
|
58
|
-
export { CalendarToolbar, CalendarToolbarLabels, CalendarToolbarProps, CalendarView } from './components/calendar-toolbar.js';
|
|
59
|
-
export { CalendarCategoryBadge, CalendarCategoryBadgeProps } from './components/calendar-category-badge.js';
|
|
60
|
-
export { WorkflowStepper, WorkflowStepperHistoryEntry, WorkflowStepperProps, WorkflowStepperStage } from './components/workflow-stepper.js';
|
|
61
|
-
export { WorkflowDiagram, WorkflowDiagramLabels, WorkflowDiagramProps, WorkflowDiagramStage, WorkflowDiagramStageType } from './components/workflow-diagram.js';
|
|
62
|
-
export { WorkflowStatus, WorkflowStatusBadge, WorkflowStatusBadgeProps } from './components/workflow-status-badge.js';
|
|
63
|
-
export { WorkflowCategory, WorkflowCategoryBadge, WorkflowCategoryBadgeProps } from './components/workflow-category-badge.js';
|
|
64
|
-
export { StageType, StageTypeBadge, StageTypeBadgeProps } from './components/stage-type-badge.js';
|
|
65
|
-
export { PermissionDefinition, PermissionGrid, PermissionGridLabels, PermissionGridProps, PermissionModule, buildPermissionId } from './components/permission-grid.js';
|
|
66
|
-
export { ScopeTree, ScopeTreeBadge, ScopeTreeLabels, ScopeTreeNode, ScopeTreeProps, ScopeTreeSelectedScope } from './components/scope-tree.js';
|
|
67
|
-
export { ScopeTypeBadge, ScopeTypeBadgeProps, ScopeTypeBadgeStyles } from './components/scope-type-badge.js';
|
|
68
|
-
export { SlugInput, SlugInputLabels, SlugInputProps, generateSlug } from './components/slug-input.js';
|
|
69
|
-
export { U as UIColor, a as UISize, b as UIVariant } from './types-CBVkScfB.js';
|
|
70
|
-
export { cn } from './lib/utils.js';
|
|
71
|
-
export { useIsMobile } from './hooks/use-mobile.js';
|
|
1
|
+
export { AppShell } from './components/AppShell.js';
|
|
2
|
+
export { Sidebar } from './components/Sidebar.js';
|
|
3
|
+
export { Header } from './components/Header.js';
|
|
4
|
+
export { ServiceMenu } from './components/ServiceMenu.js';
|
|
5
|
+
export { OrganizationSelector } from './components/OrganizationSelector.js';
|
|
6
|
+
export { OrganizationSetupModal } from './components/OrganizationSetupModal.js';
|
|
7
|
+
export { FullWidthPageContainer, PageContainer, PageContainerProps, SplitPageContainer, StandardPageContainer } from './components/PageContainer.js';
|
|
8
|
+
export { Theme, ThemeProvider, useTheme } from './contexts/ThemeContext.js';
|
|
9
|
+
export { OrganizationProvider, useOrganization } from './contexts/OrganizationContext.js';
|
|
10
|
+
export { InitOmnifyI18nOptions, SupportedLanguage, changeLanguage, initOmnifyI18n, languageNames } from './i18n.js';
|
|
11
|
+
export { SupportedTimezone, timezoneLabels, useDateFormat } from './hooks/useDateFormat.js';
|
|
12
|
+
export { Branch, Organization, ServiceCategory, ServiceItem, ShellConfig, SidebarMenuItem } from './types.js';
|
|
13
|
+
export { default as i18n } from 'i18next';
|
|
72
14
|
import 'react/jsx-runtime';
|
|
73
15
|
import 'react';
|
|
74
|
-
import '@radix-ui/react-accordion';
|
|
75
|
-
import 'class-variance-authority/types';
|
|
76
|
-
import 'class-variance-authority';
|
|
77
|
-
import '@radix-ui/react-alert-dialog';
|
|
78
|
-
import '@radix-ui/react-aspect-ratio';
|
|
79
|
-
import '@radix-ui/react-avatar';
|
|
80
|
-
import 'react-day-picker';
|
|
81
|
-
import 'embla-carousel-react';
|
|
82
|
-
import 'recharts';
|
|
83
|
-
import '@radix-ui/react-checkbox';
|
|
84
|
-
import '@radix-ui/react-collapsible';
|
|
85
|
-
import 'cmdk';
|
|
86
|
-
import '@radix-ui/react-context-menu';
|
|
87
16
|
import 'date-fns';
|
|
88
|
-
import '@radix-ui/react-dialog';
|
|
89
|
-
import 'vaul';
|
|
90
|
-
import '@radix-ui/react-dropdown-menu';
|
|
91
|
-
import 'react-hook-form';
|
|
92
|
-
import '@radix-ui/react-label';
|
|
93
|
-
import '@radix-ui/react-slot';
|
|
94
|
-
import '@radix-ui/react-hover-card';
|
|
95
|
-
import 'input-otp';
|
|
96
|
-
import '@radix-ui/react-menubar';
|
|
97
|
-
import '@radix-ui/react-navigation-menu';
|
|
98
|
-
import '@radix-ui/react-popover';
|
|
99
|
-
import '@radix-ui/react-progress';
|
|
100
|
-
import '@radix-ui/react-radio-group';
|
|
101
|
-
import 'react-resizable-panels';
|
|
102
|
-
import '@radix-ui/react-scroll-area';
|
|
103
|
-
import '@radix-ui/react-select';
|
|
104
|
-
import '@radix-ui/react-separator';
|
|
105
|
-
import '@radix-ui/react-slider';
|
|
106
|
-
import 'sonner';
|
|
107
|
-
import '@radix-ui/react-switch';
|
|
108
|
-
import '@radix-ui/react-tabs';
|
|
109
|
-
import '@radix-ui/react-toggle';
|
|
110
|
-
import '@radix-ui/react-toggle-group';
|
|
111
|
-
import '@radix-ui/react-tooltip';
|
|
112
17
|
import 'lucide-react';
|
|
113
|
-
import 'clsx';
|
package/dist/index.js
CHANGED
|
@@ -1,72 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-C5NZAOA7.js';
|
|
13
|
-
export { useIsMobile } from './chunk-WRCHR4AK.js';
|
|
14
|
-
export { Skeleton } from './chunk-JXGRW2MR.js';
|
|
15
|
-
export { Slider } from './chunk-EWBCV7VA.js';
|
|
16
|
-
export { SlugInput, generateSlug } from './chunk-75WZR6HF.js';
|
|
17
|
-
export { Toaster } from './chunk-CUZR4JWM.js';
|
|
18
|
-
export { StageTypeBadge } from './chunk-ZHEKDP5X.js';
|
|
19
|
-
export { Progress } from './chunk-R2CDE5DO.js';
|
|
20
|
-
export { RadioGroup, RadioGroupItem } from './chunk-BRSM3SZP.js';
|
|
21
|
-
export { Rating } from './chunk-35U6QG4P.js';
|
|
22
|
-
export { ResizableHandle, ResizablePanel, ResizablePanelGroup } from './chunk-FRKG7JQY.js';
|
|
23
|
-
export { ScopeTree } from './chunk-BAQWGQJG.js';
|
|
24
|
-
export { ScopeTypeBadge } from './chunk-N47H4MHX.js';
|
|
25
|
-
export { ScrollArea, ScrollBar } from './chunk-JJSVA3TH.js';
|
|
26
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from './chunk-NNJTKHCE.js';
|
|
27
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from './chunk-INLM7UJC.js';
|
|
28
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from './chunk-YBMEQZX7.js';
|
|
29
|
-
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './chunk-7IRLBU2I.js';
|
|
30
|
-
export { PasswordInput } from './chunk-3UPBCOS4.js';
|
|
31
|
-
export { PermissionGrid, buildPermissionId } from './chunk-TJMK2KBE.js';
|
|
32
|
-
export { DatePicker, DateRangePicker } from './chunk-HWTW64R5.js';
|
|
33
|
-
export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './chunk-7XH3MGBR.js';
|
|
34
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from './chunk-IAWKX5W4.js';
|
|
35
|
-
export { FileUpload } from './chunk-G7HTZBUR.js';
|
|
36
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } from './chunk-LVZNNIK4.js';
|
|
37
|
-
export { Label } from './chunk-P3M5TZD2.js';
|
|
38
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger } from './chunk-JRU2QX7T.js';
|
|
39
|
-
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from './chunk-RQNZDWY3.js';
|
|
40
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from './chunk-2TUWDXAC.js';
|
|
41
|
-
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from './chunk-B434PORR.js';
|
|
42
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-3EOHW4QN.js';
|
|
43
|
-
export { ColorPicker } from './chunk-MJLFJPUG.js';
|
|
44
|
-
export { Input, inputVariants } from './chunk-3VU56V66.js';
|
|
45
|
-
export { Combobox, MultiCombobox } from './chunk-NPL2R5LD.js';
|
|
46
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from './chunk-C34KSTWA.js';
|
|
47
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from './chunk-6GWVQB3Q.js';
|
|
48
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './chunk-F2ZJLKDP.js';
|
|
49
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from './chunk-USIHM7FV.js';
|
|
50
|
-
export { CalendarEventChip } from './chunk-TTH7TWVX.js';
|
|
51
|
-
export { CalendarEventSheet } from './chunk-THQUH6WX.js';
|
|
52
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from './chunk-JLTBUACL.js';
|
|
53
|
-
export { CalendarCategoryBadge } from './chunk-JAJMM32I.js';
|
|
54
|
-
export { CalendarMini } from './chunk-KTBOZ4NE.js';
|
|
55
|
-
export { Checkbox } from './chunk-WL4ZO2H3.js';
|
|
56
|
-
export { Separator } from './chunk-PGWNOZDX.js';
|
|
57
|
-
export { CalendarToolbar } from './chunk-36YYHIJU.js';
|
|
58
|
-
export { ToggleGroup, ToggleGroupItem } from './chunk-ZPMXRW2A.js';
|
|
59
|
-
export { Toggle, toggleVariants } from './chunk-NU56GKGM.js';
|
|
60
|
-
export { Calendar } from './chunk-QB3UWRZH.js';
|
|
61
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-Z2QAABLM.js';
|
|
62
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from './chunk-34ARZSNP.js';
|
|
63
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from './chunk-LTTNCAAA.js';
|
|
64
|
-
export { Button, buttonVariants } from './chunk-55E7D2HR.js';
|
|
65
|
-
export { Alert, AlertDescription, AlertTitle } from './chunk-TGYQ3AKH.js';
|
|
66
|
-
export { AspectRatio } from './chunk-35DNN46W.js';
|
|
67
|
-
export { Avatar, AvatarFallback, AvatarImage } from './chunk-67YUL2ZS.js';
|
|
68
|
-
export { Badge, badgeVariants } from './chunk-A3BB5ZOC.js';
|
|
69
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from './chunk-7RMTPT6O.js';
|
|
70
|
-
export { cn } from './chunk-DGPY4WP3.js';
|
|
1
|
+
export { timezoneLabels, useDateFormat } from './chunk-XDXGUPCR.js';
|
|
2
|
+
export { AppShell } from './chunk-RSCXIS4D.js';
|
|
3
|
+
export { ThemeProvider, useTheme } from './chunk-EJEVW4RO.js';
|
|
4
|
+
export { changeLanguage, i18n, initOmnifyI18n, languageNames } from './chunk-OY3PSPA5.js';
|
|
5
|
+
export { Header } from './chunk-5D3OAVOZ.js';
|
|
6
|
+
export { OrganizationSetupModal } from './chunk-2ZIFL2X3.js';
|
|
7
|
+
export { FullWidthPageContainer, PageContainer, SplitPageContainer, StandardPageContainer } from './chunk-O25D7DCP.js';
|
|
8
|
+
export { ServiceMenu } from './chunk-5BL4VFRJ.js';
|
|
9
|
+
export { Sidebar } from './chunk-X57K24P3.js';
|
|
10
|
+
export { OrganizationSelector } from './chunk-DTM76EJD.js';
|
|
11
|
+
export { OrganizationProvider, useOrganization } from './chunk-SHHZRZMM.js';
|
|
71
12
|
//# sourceMappingURL=index.js.map
|
|
72
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@omnifyjp/ui-components/lib/types';
|