@rytass/bpm-core-react 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +56 -0
- package/dist/AdminDelegationsView.css +1 -0
- package/dist/AdminOrgsView.css +1 -0
- package/dist/AdminUsersView.css +1 -0
- package/dist/DelegationsView.css +1 -0
- package/dist/InstanceDetailView.css +1 -0
- package/dist/LoginView.css +1 -0
- package/dist/SettingsNotificationsView.css +1 -0
- package/dist/admin-pickers.css +1 -0
- package/dist/app-navigation.css +1 -0
- package/dist/approval-instance-list-page.css +1 -0
- package/dist/auth-provider.css +1 -0
- package/dist/chunks/AdminDelegationsView-CqNmlVWx.cjs +2 -0
- package/dist/chunks/AdminDelegationsView-CqNmlVWx.cjs.map +1 -0
- package/dist/chunks/AdminDelegationsView-DydMZ9ED.js +642 -0
- package/dist/chunks/AdminDelegationsView-DydMZ9ED.js.map +1 -0
- package/dist/chunks/AdminOrgsView-DZaVAbaQ.js +1945 -0
- package/dist/chunks/AdminOrgsView-DZaVAbaQ.js.map +1 -0
- package/dist/chunks/AdminOrgsView-bSsIyMvk.cjs +2 -0
- package/dist/chunks/AdminOrgsView-bSsIyMvk.cjs.map +1 -0
- package/dist/chunks/AdminUsersView-C0oO05Br.js +215 -0
- package/dist/chunks/AdminUsersView-C0oO05Br.js.map +1 -0
- package/dist/chunks/AdminUsersView-DlArLlIr.cjs +2 -0
- package/dist/chunks/AdminUsersView-DlArLlIr.cjs.map +1 -0
- package/dist/chunks/CcView-BsVsya5F.cjs +2 -0
- package/dist/chunks/CcView-BsVsya5F.cjs.map +1 -0
- package/dist/chunks/CcView-Bv0GzA5C.js +19 -0
- package/dist/chunks/CcView-Bv0GzA5C.js.map +1 -0
- package/dist/chunks/DashboardView-Dk1ZQmmk.js +11 -0
- package/dist/chunks/DashboardView-Dk1ZQmmk.js.map +1 -0
- package/dist/chunks/DashboardView-_0zh-rxT.cjs +2 -0
- package/dist/chunks/DashboardView-_0zh-rxT.cjs.map +1 -0
- package/dist/chunks/DelegationsView-DQUqOUV5.js +569 -0
- package/dist/chunks/DelegationsView-DQUqOUV5.js.map +1 -0
- package/dist/chunks/DelegationsView-pKeFV2LN.cjs +2 -0
- package/dist/chunks/DelegationsView-pKeFV2LN.cjs.map +1 -0
- package/dist/chunks/FormBuilderView-BKtyW55e.cjs +3 -0
- package/dist/chunks/FormBuilderView-BKtyW55e.cjs.map +1 -0
- package/dist/chunks/FormBuilderView-CvChAvgD.js +1300 -0
- package/dist/chunks/FormBuilderView-CvChAvgD.js.map +1 -0
- package/dist/chunks/FormRendererView-BwVsH2eX.cjs +2 -0
- package/dist/chunks/FormRendererView-BwVsH2eX.cjs.map +1 -0
- package/dist/chunks/FormRendererView-DrHsuSVo.js +220 -0
- package/dist/chunks/FormRendererView-DrHsuSVo.js.map +1 -0
- package/dist/chunks/FormsView-DYEuik8W.js +185 -0
- package/dist/chunks/FormsView-DYEuik8W.js.map +1 -0
- package/dist/chunks/FormsView-RjJEkIfZ.cjs +2 -0
- package/dist/chunks/FormsView-RjJEkIfZ.cjs.map +1 -0
- package/dist/chunks/InboxView-DDWwmWhA.cjs +2 -0
- package/dist/chunks/InboxView-DDWwmWhA.cjs.map +1 -0
- package/dist/chunks/InboxView-YSoyrYLk.js +291 -0
- package/dist/chunks/InboxView-YSoyrYLk.js.map +1 -0
- package/dist/chunks/InstanceDetailView-C-A-LOCG.js +1519 -0
- package/dist/chunks/InstanceDetailView-C-A-LOCG.js.map +1 -0
- package/dist/chunks/InstanceDetailView-l_kNDCz2.cjs +2 -0
- package/dist/chunks/InstanceDetailView-l_kNDCz2.cjs.map +1 -0
- package/dist/chunks/InstanceNewView-B5hz-FWd.js +190 -0
- package/dist/chunks/InstanceNewView-B5hz-FWd.js.map +1 -0
- package/dist/chunks/InstanceNewView-CdCsxQIu.cjs +2 -0
- package/dist/chunks/InstanceNewView-CdCsxQIu.cjs.map +1 -0
- package/dist/chunks/LoginView-BED07v-7.cjs +2 -0
- package/dist/chunks/LoginView-BED07v-7.cjs.map +1 -0
- package/dist/chunks/LoginView-a1iu3cfc.js +157 -0
- package/dist/chunks/LoginView-a1iu3cfc.js.map +1 -0
- package/dist/chunks/RootClientView-rXJt4TDd.cjs +2 -0
- package/dist/chunks/RootClientView-rXJt4TDd.cjs.map +1 -0
- package/dist/chunks/RootClientView-wAkXUEZw.js +34 -0
- package/dist/chunks/RootClientView-wAkXUEZw.js.map +1 -0
- package/dist/chunks/SearchView-CgXPssgE.cjs +2 -0
- package/dist/chunks/SearchView-CgXPssgE.cjs.map +1 -0
- package/dist/chunks/SearchView-WXMbZwRw.js +19 -0
- package/dist/chunks/SearchView-WXMbZwRw.js.map +1 -0
- package/dist/chunks/SentView-BTDoFBrG.cjs +2 -0
- package/dist/chunks/SentView-BTDoFBrG.cjs.map +1 -0
- package/dist/chunks/SentView-CdOL92Rq.js +19 -0
- package/dist/chunks/SentView-CdOL92Rq.js.map +1 -0
- package/dist/chunks/SettingsNotificationsView-B6F6fa7U.js +194 -0
- package/dist/chunks/SettingsNotificationsView-B6F6fa7U.js.map +1 -0
- package/dist/chunks/SettingsNotificationsView-Bnz0CmoJ.cjs +2 -0
- package/dist/chunks/SettingsNotificationsView-Bnz0CmoJ.cjs.map +1 -0
- package/dist/chunks/TemplateCategoriesView-CgZciaSd.js +382 -0
- package/dist/chunks/TemplateCategoriesView-CgZciaSd.js.map +1 -0
- package/dist/chunks/TemplateCategoriesView-U0stGUBc.cjs +2 -0
- package/dist/chunks/TemplateCategoriesView-U0stGUBc.cjs.map +1 -0
- package/dist/chunks/TemplateDesignerView-A38DyYD4.cjs +51 -0
- package/dist/chunks/TemplateDesignerView-A38DyYD4.cjs.map +1 -0
- package/dist/chunks/TemplateDesignerView-Dffx-VZ-.js +2272 -0
- package/dist/chunks/TemplateDesignerView-Dffx-VZ-.js.map +1 -0
- package/dist/chunks/TemplateVersionsView-6sVQbBem.js +110 -0
- package/dist/chunks/TemplateVersionsView-6sVQbBem.js.map +1 -0
- package/dist/chunks/TemplateVersionsView-CMqw3ieU.cjs +2 -0
- package/dist/chunks/TemplateVersionsView-CMqw3ieU.cjs.map +1 -0
- package/dist/chunks/TemplatesView-BLj9f-XI.js +380 -0
- package/dist/chunks/TemplatesView-BLj9f-XI.js.map +1 -0
- package/dist/chunks/TemplatesView-DIOQTUUl.cjs +2 -0
- package/dist/chunks/TemplatesView-DIOQTUUl.cjs.map +1 -0
- package/dist/chunks/admin-pickers-Btvij1at.cjs +2 -0
- package/dist/chunks/admin-pickers-Btvij1at.cjs.map +1 -0
- package/dist/chunks/admin-pickers-DLlG_1du.js +140 -0
- package/dist/chunks/admin-pickers-DLlG_1du.js.map +1 -0
- package/dist/chunks/app-navigation-CATITRM7.js +263 -0
- package/dist/chunks/app-navigation-CATITRM7.js.map +1 -0
- package/dist/chunks/app-navigation-DAC5gFbG.cjs +2 -0
- package/dist/chunks/app-navigation-DAC5gFbG.cjs.map +1 -0
- package/dist/chunks/approval-instance-list-page-B6vAGvOb.js +278 -0
- package/dist/chunks/approval-instance-list-page-B6vAGvOb.js.map +1 -0
- package/dist/chunks/approval-instance-list-page-DIAmwhvl.cjs +2 -0
- package/dist/chunks/approval-instance-list-page-DIAmwhvl.cjs.map +1 -0
- package/dist/chunks/auth-provider-D2P-qWmY.cjs +2 -0
- package/dist/chunks/auth-provider-D2P-qWmY.cjs.map +1 -0
- package/dist/chunks/auth-provider-TTO9eNZV.js +83 -0
- package/dist/chunks/auth-provider-TTO9eNZV.js.map +1 -0
- package/dist/chunks/bpm-form-field-Bc6k4ZEO.cjs +2 -0
- package/dist/chunks/bpm-form-field-Bc6k4ZEO.cjs.map +1 -0
- package/dist/chunks/bpm-form-field-Cao0rMol.js +17 -0
- package/dist/chunks/bpm-form-field-Cao0rMol.js.map +1 -0
- package/dist/chunks/dashboard-page-BsW8t104.js +115 -0
- package/dist/chunks/dashboard-page-BsW8t104.js.map +1 -0
- package/dist/chunks/dashboard-page-udYhnyMW.cjs +2 -0
- package/dist/chunks/dashboard-page-udYhnyMW.cjs.map +1 -0
- package/dist/chunks/form-name-modal-C3OEvkCV.js +64 -0
- package/dist/chunks/form-name-modal-C3OEvkCV.js.map +1 -0
- package/dist/chunks/form-name-modal-uZCHbtRH.cjs +2 -0
- package/dist/chunks/form-name-modal-uZCHbtRH.cjs.map +1 -0
- package/dist/chunks/format-date-time-BQyH5U8z.cjs +2 -0
- package/dist/chunks/format-date-time-BQyH5U8z.cjs.map +1 -0
- package/dist/chunks/format-date-time-CB-LxzqT.js +9 -0
- package/dist/chunks/format-date-time-CB-LxzqT.js.map +1 -0
- package/dist/chunks/router-adapter-BdHZXLS3.js +23 -0
- package/dist/chunks/router-adapter-BdHZXLS3.js.map +1 -0
- package/dist/chunks/router-adapter-BybHrCNP.cjs +2 -0
- package/dist/chunks/router-adapter-BybHrCNP.cjs.map +1 -0
- package/dist/chunks/templates.module-B5bg_goX.js +8 -0
- package/dist/chunks/templates.module-B5bg_goX.js.map +1 -0
- package/dist/chunks/templates.module-ClRnQQX4.cjs +2 -0
- package/dist/chunks/templates.module-ClRnQQX4.cjs.map +1 -0
- package/dist/components/admin-pickers.d.ts +65 -0
- package/dist/components/app-navigation.d.ts +34 -0
- package/dist/components/approval-instance-list-page.d.ts +18 -0
- package/dist/components/bpm-form-field.d.ts +10 -0
- package/dist/components/dashboard-page.d.ts +10 -0
- package/dist/components/notification-drawer.d.ts +10 -0
- package/dist/components/org-unit-tree-draft-editor.d.ts +24 -0
- package/dist/components/pdf-preview.d.ts +12 -0
- package/dist/dashboard-page.css +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +209 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/auth-provider.d.ts +37 -0
- package/dist/lib/format-date-time.d.ts +5 -0
- package/dist/lib/notification-drawer-provider.d.ts +26 -0
- package/dist/lib/notification-unread-provider.d.ts +24 -0
- package/dist/lib/org-tree-draft.d.ts +27 -0
- package/dist/lib/providers.d.ts +30 -0
- package/dist/lib/router-adapter.d.ts +47 -0
- package/dist/pages/admin/delegations/AdminDelegationsClientView.cjs +2 -0
- package/dist/pages/admin/delegations/AdminDelegationsClientView.cjs.map +1 -0
- package/dist/pages/admin/delegations/AdminDelegationsClientView.d.ts +3 -0
- package/dist/pages/admin/delegations/AdminDelegationsClientView.js +28 -0
- package/dist/pages/admin/delegations/AdminDelegationsClientView.js.map +1 -0
- package/dist/pages/admin/delegations/index.cjs +2 -0
- package/dist/pages/admin/delegations/index.cjs.map +1 -0
- package/dist/pages/admin/delegations/index.d.ts +4 -0
- package/dist/pages/admin/delegations/index.js +14 -0
- package/dist/pages/admin/delegations/index.js.map +1 -0
- package/dist/pages/admin/orgs/AdminOrgsClientView.cjs +2 -0
- package/dist/pages/admin/orgs/AdminOrgsClientView.cjs.map +1 -0
- package/dist/pages/admin/orgs/AdminOrgsClientView.d.ts +3 -0
- package/dist/pages/admin/orgs/AdminOrgsClientView.js +28 -0
- package/dist/pages/admin/orgs/AdminOrgsClientView.js.map +1 -0
- package/dist/pages/admin/orgs/index.cjs +2 -0
- package/dist/pages/admin/orgs/index.cjs.map +1 -0
- package/dist/pages/admin/orgs/index.d.ts +4 -0
- package/dist/pages/admin/orgs/index.js +14 -0
- package/dist/pages/admin/orgs/index.js.map +1 -0
- package/dist/pages/admin/users/AdminUsersClientView.cjs +2 -0
- package/dist/pages/admin/users/AdminUsersClientView.cjs.map +1 -0
- package/dist/pages/admin/users/AdminUsersClientView.d.ts +3 -0
- package/dist/pages/admin/users/AdminUsersClientView.js +28 -0
- package/dist/pages/admin/users/AdminUsersClientView.js.map +1 -0
- package/dist/pages/admin/users/index.cjs +2 -0
- package/dist/pages/admin/users/index.cjs.map +1 -0
- package/dist/pages/admin/users/index.d.ts +4 -0
- package/dist/pages/admin/users/index.js +14 -0
- package/dist/pages/admin/users/index.js.map +1 -0
- package/dist/pages/cc/CcClientView.cjs +2 -0
- package/dist/pages/cc/CcClientView.cjs.map +1 -0
- package/dist/pages/cc/CcClientView.d.ts +7 -0
- package/dist/pages/cc/CcClientView.js +28 -0
- package/dist/pages/cc/CcClientView.js.map +1 -0
- package/dist/pages/cc/index.cjs +2 -0
- package/dist/pages/cc/index.cjs.map +1 -0
- package/dist/pages/cc/index.d.ts +16 -0
- package/dist/pages/cc/index.js +11 -0
- package/dist/pages/cc/index.js.map +1 -0
- package/dist/pages/dashboard/DashboardClientView.cjs +2 -0
- package/dist/pages/dashboard/DashboardClientView.cjs.map +1 -0
- package/dist/pages/dashboard/DashboardClientView.d.ts +9 -0
- package/dist/pages/dashboard/DashboardClientView.js +28 -0
- package/dist/pages/dashboard/DashboardClientView.js.map +1 -0
- package/dist/pages/dashboard/index.cjs +2 -0
- package/dist/pages/dashboard/index.cjs.map +1 -0
- package/dist/pages/dashboard/index.d.ts +16 -0
- package/dist/pages/dashboard/index.js +11 -0
- package/dist/pages/dashboard/index.js.map +1 -0
- package/dist/pages/delegations/DelegationsClientView.cjs +2 -0
- package/dist/pages/delegations/DelegationsClientView.cjs.map +1 -0
- package/dist/pages/delegations/DelegationsClientView.d.ts +3 -0
- package/dist/pages/delegations/DelegationsClientView.js +28 -0
- package/dist/pages/delegations/DelegationsClientView.js.map +1 -0
- package/dist/pages/delegations/index.cjs +2 -0
- package/dist/pages/delegations/index.cjs.map +1 -0
- package/dist/pages/delegations/index.d.ts +4 -0
- package/dist/pages/delegations/index.js +14 -0
- package/dist/pages/delegations/index.js.map +1 -0
- package/dist/pages/forms/FormsClientView.cjs +2 -0
- package/dist/pages/forms/FormsClientView.cjs.map +1 -0
- package/dist/pages/forms/FormsClientView.d.ts +10 -0
- package/dist/pages/forms/FormsClientView.js +28 -0
- package/dist/pages/forms/FormsClientView.js.map +1 -0
- package/dist/pages/forms/builder/FormBuilderClientView.cjs +2 -0
- package/dist/pages/forms/builder/FormBuilderClientView.cjs.map +1 -0
- package/dist/pages/forms/builder/FormBuilderClientView.d.ts +11 -0
- package/dist/pages/forms/builder/FormBuilderClientView.js +28 -0
- package/dist/pages/forms/builder/FormBuilderClientView.js.map +1 -0
- package/dist/pages/forms/builder/index.cjs +2 -0
- package/dist/pages/forms/builder/index.cjs.map +1 -0
- package/dist/pages/forms/builder/index.d.ts +23 -0
- package/dist/pages/forms/builder/index.js +15 -0
- package/dist/pages/forms/builder/index.js.map +1 -0
- package/dist/pages/forms/index.cjs +2 -0
- package/dist/pages/forms/index.cjs.map +1 -0
- package/dist/pages/forms/index.d.ts +17 -0
- package/dist/pages/forms/index.js +14 -0
- package/dist/pages/forms/index.js.map +1 -0
- package/dist/pages/inbox/InboxClientView.cjs +2 -0
- package/dist/pages/inbox/InboxClientView.cjs.map +1 -0
- package/dist/pages/inbox/InboxClientView.d.ts +9 -0
- package/dist/pages/inbox/InboxClientView.js +28 -0
- package/dist/pages/inbox/InboxClientView.js.map +1 -0
- package/dist/pages/inbox/index.cjs +2 -0
- package/dist/pages/inbox/index.cjs.map +1 -0
- package/dist/pages/inbox/index.d.ts +16 -0
- package/dist/pages/inbox/index.js +11 -0
- package/dist/pages/inbox/index.js.map +1 -0
- package/dist/pages/instances/detail/InstanceDetailClientView.cjs +2 -0
- package/dist/pages/instances/detail/InstanceDetailClientView.cjs.map +1 -0
- package/dist/pages/instances/detail/InstanceDetailClientView.d.ts +9 -0
- package/dist/pages/instances/detail/InstanceDetailClientView.js +28 -0
- package/dist/pages/instances/detail/InstanceDetailClientView.js.map +1 -0
- package/dist/pages/instances/detail/index.cjs +2 -0
- package/dist/pages/instances/detail/index.cjs.map +1 -0
- package/dist/pages/instances/detail/index.d.ts +23 -0
- package/dist/pages/instances/detail/index.js +12 -0
- package/dist/pages/instances/detail/index.js.map +1 -0
- package/dist/pages/instances/new/InstanceNewClientView.cjs +2 -0
- package/dist/pages/instances/new/InstanceNewClientView.cjs.map +1 -0
- package/dist/pages/instances/new/InstanceNewClientView.d.ts +8 -0
- package/dist/pages/instances/new/InstanceNewClientView.js +28 -0
- package/dist/pages/instances/new/InstanceNewClientView.js.map +1 -0
- package/dist/pages/instances/new/index.cjs +2 -0
- package/dist/pages/instances/new/index.cjs.map +1 -0
- package/dist/pages/instances/new/index.d.ts +16 -0
- package/dist/pages/instances/new/index.js +11 -0
- package/dist/pages/instances/new/index.js.map +1 -0
- package/dist/pages/login/LoginClientView.cjs +2 -0
- package/dist/pages/login/LoginClientView.cjs.map +1 -0
- package/dist/pages/login/LoginClientView.d.ts +11 -0
- package/dist/pages/login/LoginClientView.js +29 -0
- package/dist/pages/login/LoginClientView.js.map +1 -0
- package/dist/pages/login/index.cjs +2 -0
- package/dist/pages/login/index.cjs.map +1 -0
- package/dist/pages/login/index.d.ts +17 -0
- package/dist/pages/login/index.js +14 -0
- package/dist/pages/login/index.js.map +1 -0
- package/dist/pages/root/RootClientView.cjs +1 -0
- package/dist/pages/root/RootClientView.d.ts +8 -0
- package/dist/pages/root/RootClientView.js +2 -0
- package/dist/pages/root/index.cjs +2 -0
- package/dist/pages/root/index.cjs.map +1 -0
- package/dist/pages/root/index.d.ts +16 -0
- package/dist/pages/root/index.js +11 -0
- package/dist/pages/root/index.js.map +1 -0
- package/dist/pages/search/SearchClientView.cjs +2 -0
- package/dist/pages/search/SearchClientView.cjs.map +1 -0
- package/dist/pages/search/SearchClientView.d.ts +7 -0
- package/dist/pages/search/SearchClientView.js +28 -0
- package/dist/pages/search/SearchClientView.js.map +1 -0
- package/dist/pages/search/index.cjs +2 -0
- package/dist/pages/search/index.cjs.map +1 -0
- package/dist/pages/search/index.d.ts +16 -0
- package/dist/pages/search/index.js +11 -0
- package/dist/pages/search/index.js.map +1 -0
- package/dist/pages/sent/SentClientView.cjs +2 -0
- package/dist/pages/sent/SentClientView.cjs.map +1 -0
- package/dist/pages/sent/SentClientView.d.ts +7 -0
- package/dist/pages/sent/SentClientView.js +28 -0
- package/dist/pages/sent/SentClientView.js.map +1 -0
- package/dist/pages/sent/index.cjs +2 -0
- package/dist/pages/sent/index.cjs.map +1 -0
- package/dist/pages/sent/index.d.ts +16 -0
- package/dist/pages/sent/index.js +11 -0
- package/dist/pages/sent/index.js.map +1 -0
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.cjs +2 -0
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.cjs.map +1 -0
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.d.ts +3 -0
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.js +28 -0
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.js.map +1 -0
- package/dist/pages/settings/notifications/index.cjs +2 -0
- package/dist/pages/settings/notifications/index.cjs.map +1 -0
- package/dist/pages/settings/notifications/index.d.ts +4 -0
- package/dist/pages/settings/notifications/index.js +14 -0
- package/dist/pages/settings/notifications/index.js.map +1 -0
- package/dist/pages/templates/TemplatesClientView.cjs +2 -0
- package/dist/pages/templates/TemplatesClientView.cjs.map +1 -0
- package/dist/pages/templates/TemplatesClientView.d.ts +3 -0
- package/dist/pages/templates/TemplatesClientView.js +28 -0
- package/dist/pages/templates/TemplatesClientView.js.map +1 -0
- package/dist/pages/templates/categories/TemplateCategoriesClientView.cjs +2 -0
- package/dist/pages/templates/categories/TemplateCategoriesClientView.cjs.map +1 -0
- package/dist/pages/templates/categories/TemplateCategoriesClientView.d.ts +3 -0
- package/dist/pages/templates/categories/TemplateCategoriesClientView.js +28 -0
- package/dist/pages/templates/categories/TemplateCategoriesClientView.js.map +1 -0
- package/dist/pages/templates/categories/index.cjs +2 -0
- package/dist/pages/templates/categories/index.cjs.map +1 -0
- package/dist/pages/templates/categories/index.d.ts +4 -0
- package/dist/pages/templates/categories/index.js +14 -0
- package/dist/pages/templates/categories/index.js.map +1 -0
- package/dist/pages/templates/designer/TemplateDesignerClientView.cjs +2 -0
- package/dist/pages/templates/designer/TemplateDesignerClientView.cjs.map +1 -0
- package/dist/pages/templates/designer/TemplateDesignerClientView.d.ts +3 -0
- package/dist/pages/templates/designer/TemplateDesignerClientView.js +28 -0
- package/dist/pages/templates/designer/TemplateDesignerClientView.js.map +1 -0
- package/dist/pages/templates/designer/index.cjs +2 -0
- package/dist/pages/templates/designer/index.cjs.map +1 -0
- package/dist/pages/templates/designer/index.d.ts +10 -0
- package/dist/pages/templates/designer/index.js +15 -0
- package/dist/pages/templates/designer/index.js.map +1 -0
- package/dist/pages/templates/index.cjs +2 -0
- package/dist/pages/templates/index.cjs.map +1 -0
- package/dist/pages/templates/index.d.ts +4 -0
- package/dist/pages/templates/index.js +14 -0
- package/dist/pages/templates/index.js.map +1 -0
- package/dist/pages/templates/versions/TemplateVersionsClientView.cjs +2 -0
- package/dist/pages/templates/versions/TemplateVersionsClientView.cjs.map +1 -0
- package/dist/pages/templates/versions/TemplateVersionsClientView.d.ts +3 -0
- package/dist/pages/templates/versions/TemplateVersionsClientView.js +28 -0
- package/dist/pages/templates/versions/TemplateVersionsClientView.js.map +1 -0
- package/dist/pages/templates/versions/index.cjs +2 -0
- package/dist/pages/templates/versions/index.cjs.map +1 -0
- package/dist/pages/templates/versions/index.d.ts +10 -0
- package/dist/pages/templates/versions/index.js +15 -0
- package/dist/pages/templates/versions/index.js.map +1 -0
- package/dist/templates.css +1 -0
- package/dist/views/admin/delegations/AdminDelegationsView.d.ts +5 -0
- package/dist/views/admin/delegations/index.cjs +1 -0
- package/dist/views/admin/delegations/index.d.ts +1 -0
- package/dist/views/admin/delegations/index.js +2 -0
- package/dist/views/admin/orgs/AdminOrgsView.d.ts +5 -0
- package/dist/views/admin/orgs/index.cjs +1 -0
- package/dist/views/admin/orgs/index.d.ts +1 -0
- package/dist/views/admin/orgs/index.js +2 -0
- package/dist/views/admin/users/AdminUsersView.d.ts +5 -0
- package/dist/views/admin/users/index.cjs +1 -0
- package/dist/views/admin/users/index.d.ts +1 -0
- package/dist/views/admin/users/index.js +2 -0
- package/dist/views/cc/CcView.d.ts +9 -0
- package/dist/views/cc/index.cjs +1 -0
- package/dist/views/cc/index.d.ts +1 -0
- package/dist/views/cc/index.js +2 -0
- package/dist/views/dashboard/DashboardView.d.ts +9 -0
- package/dist/views/dashboard/index.cjs +1 -0
- package/dist/views/dashboard/index.d.ts +1 -0
- package/dist/views/dashboard/index.js +2 -0
- package/dist/views/delegations/DelegationsView.d.ts +5 -0
- package/dist/views/delegations/index.cjs +1 -0
- package/dist/views/delegations/index.d.ts +1 -0
- package/dist/views/delegations/index.js +2 -0
- package/dist/views/forms/FormsView.d.ts +4 -0
- package/dist/views/forms/builder/FormBuilderView.d.ts +9 -0
- package/dist/views/forms/builder/index.cjs +1 -0
- package/dist/views/forms/builder/index.d.ts +1 -0
- package/dist/views/forms/builder/index.js +2 -0
- package/dist/views/forms/builder/json-code-editor.d.ts +11 -0
- package/dist/views/forms/form-name-modal.d.ts +12 -0
- package/dist/views/forms/index.cjs +1 -0
- package/dist/views/forms/index.d.ts +1 -0
- package/dist/views/forms/index.js +2 -0
- package/dist/views/forms/renderer/FormRendererView.d.ts +19 -0
- package/dist/views/forms/renderer/index.cjs +1 -0
- package/dist/views/forms/renderer/index.d.ts +1 -0
- package/dist/views/forms/renderer/index.js +2 -0
- package/dist/views/inbox/InboxView.d.ts +9 -0
- package/dist/views/inbox/index.cjs +1 -0
- package/dist/views/inbox/index.d.ts +1 -0
- package/dist/views/inbox/index.js +2 -0
- package/dist/views/instances/detail/InstanceDetailView.d.ts +12 -0
- package/dist/views/instances/detail/index.cjs +1 -0
- package/dist/views/instances/detail/index.d.ts +1 -0
- package/dist/views/instances/detail/index.js +2 -0
- package/dist/views/instances/new/InstanceNewView.d.ts +15 -0
- package/dist/views/instances/new/index.cjs +1 -0
- package/dist/views/instances/new/index.d.ts +1 -0
- package/dist/views/instances/new/index.js +2 -0
- package/dist/views/login/LoginView.d.ts +47 -0
- package/dist/views/login/index.cjs +1 -0
- package/dist/views/login/index.d.ts +1 -0
- package/dist/views/login/index.js +2 -0
- package/dist/views/root/RootView.d.ts +12 -0
- package/dist/views/root/index.d.ts +1 -0
- package/dist/views/search/SearchView.d.ts +9 -0
- package/dist/views/search/index.cjs +1 -0
- package/dist/views/search/index.d.ts +1 -0
- package/dist/views/search/index.js +2 -0
- package/dist/views/sent/SentView.d.ts +9 -0
- package/dist/views/sent/index.cjs +1 -0
- package/dist/views/sent/index.d.ts +1 -0
- package/dist/views/sent/index.js +2 -0
- package/dist/views/settings/notifications/SettingsNotificationsView.d.ts +5 -0
- package/dist/views/settings/notifications/index.cjs +1 -0
- package/dist/views/settings/notifications/index.d.ts +1 -0
- package/dist/views/settings/notifications/index.js +2 -0
- package/dist/views/templates/TemplatesView.d.ts +5 -0
- package/dist/views/templates/categories/TemplateCategoriesView.d.ts +5 -0
- package/dist/views/templates/categories/index.cjs +1 -0
- package/dist/views/templates/categories/index.d.ts +1 -0
- package/dist/views/templates/categories/index.js +2 -0
- package/dist/views/templates/designer/TemplateDesignerView.d.ts +6 -0
- package/dist/views/templates/designer/index.cjs +1 -0
- package/dist/views/templates/designer/index.d.ts +1 -0
- package/dist/views/templates/designer/index.js +2 -0
- package/dist/views/templates/index.cjs +1 -0
- package/dist/views/templates/index.d.ts +1 -0
- package/dist/views/templates/index.js +2 -0
- package/dist/views/templates/template-name-modal.d.ts +22 -0
- package/dist/views/templates/versions/TemplateVersionsView.d.ts +6 -0
- package/dist/views/templates/versions/index.cjs +1 -0
- package/dist/views/templates/versions/index.d.ts +1 -0
- package/dist/views/templates/versions/index.js +2 -0
- package/package.json +272 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/pages/forms/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport FormsClientView from './FormsClientView';\n\n/**\n * Next.js metadata for the BPM forms list page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '表單管理 | BPM Admin',\n description: '建立、編輯與管理 BPM 表單定義版本。',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM forms list screen.\n *\n * Consumer usage in `app/forms/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/forms';\n * ```\n */\nexport default function FormsPage(): ReactElement {\n return <FormsClientView />;\n}\n"],"mappings":";;;AAQA,IAAa,IAAqB;CAChC,OAAO;CACP,aAAa;AACf;AAWA,SAAwB,IAA0B;CAChD,OAAO,kBAAC,GAAD,CAAkB,CAAA;AAC3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../chunks/InboxView-DDWwmWhA.cjs");let n=require("react"),r=require("react/jsx-runtime"),i=require("next/navigation");function a(a={}){let o=(0,i.useRouter)(),s=(0,i.usePathname)(),c=(0,i.useSearchParams)();return(0,r.jsx)(e.t,{value:(0,n.useMemo)(()=>({pathname:s,push:e=>o.push(e),replace:e=>o.replace(e),back:()=>o.back(),searchParams:()=>new URLSearchParams(c?.toString()??``)}),[o,s,c]),children:(0,r.jsx)(t.t,{...a})})}exports.default=a;
|
|
2
|
+
//# sourceMappingURL=InboxClientView.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxClientView.cjs","names":[],"sources":["../../../src/pages/inbox/InboxClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../lib/router-adapter';\nimport { InboxView, type InboxViewProps } from '../../views/inbox/InboxView';\n\n/**\n * Next.js App Router client shim for `<InboxView />`. Reads\n * `next/navigation` hooks and feeds them through the framework-agnostic\n * {@link RouterAdapter}. The host layout is expected to mount\n * `<AuthProvider>`.\n */\nexport default function InboxClientView(\n props: InboxViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <InboxView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"4SAgBA,SAAwB,EACtB,EAAwB,CAAC,EACX,CACd,IAAM,GAAA,EAAA,EAAA,WAAuB,EACvB,GAAA,EAAA,EAAA,aAAuB,EACvB,GAAA,EAAA,EAAA,iBAA+B,EAcrC,OACE,EAAA,EAAA,KAAC,EAAA,EAAD,CAAuB,OAAA,EAAA,EAAA,cAZhB,CACL,WACA,KAAO,GAAuB,EAAW,KAAK,CAAI,EAClD,QAAU,GAAuB,EAAW,QAAQ,CAAI,EACxD,SAAkB,EAAW,KAAK,EAClC,iBACE,IAAI,gBAAgB,GAAc,SAAS,GAAK,EAAE,CACtD,GACA,CAAC,EAAY,EAAU,CAAY,CAIL,YAC5B,EAAA,EAAA,KAAC,EAAA,EAAD,CAAW,GAAI,CAAQ,CAAA,CACF,CAAA,CAE3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { InboxViewProps } from '../../views/inbox/InboxView';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js App Router client shim for `<InboxView />`. Reads
|
|
5
|
+
* `next/navigation` hooks and feeds them through the framework-agnostic
|
|
6
|
+
* {@link RouterAdapter}. The host layout is expected to mount
|
|
7
|
+
* `<AuthProvider>`.
|
|
8
|
+
*/
|
|
9
|
+
export default function InboxClientView(props?: InboxViewProps): ReactElement;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
+
import { t } from "../../chunks/InboxView-YSoyrYLk.js";
|
|
4
|
+
import { useMemo as n } from "react";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { usePathname as i, useRouter as a, useSearchParams as o } from "next/navigation";
|
|
7
|
+
//#region src/pages/inbox/InboxClientView.tsx
|
|
8
|
+
function s(s = {}) {
|
|
9
|
+
let c = a(), l = i(), u = o();
|
|
10
|
+
return /* @__PURE__ */ r(e, {
|
|
11
|
+
value: n(() => ({
|
|
12
|
+
pathname: l,
|
|
13
|
+
push: (e) => c.push(e),
|
|
14
|
+
replace: (e) => c.replace(e),
|
|
15
|
+
back: () => c.back(),
|
|
16
|
+
searchParams: () => new URLSearchParams(u?.toString() ?? "")
|
|
17
|
+
}), [
|
|
18
|
+
c,
|
|
19
|
+
l,
|
|
20
|
+
u
|
|
21
|
+
]),
|
|
22
|
+
children: /* @__PURE__ */ r(t, { ...s })
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { s as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=InboxClientView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxClientView.js","names":[],"sources":["../../../src/pages/inbox/InboxClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../lib/router-adapter';\nimport { InboxView, type InboxViewProps } from '../../views/inbox/InboxView';\n\n/**\n * Next.js App Router client shim for `<InboxView />`. Reads\n * `next/navigation` hooks and feeds them through the framework-agnostic\n * {@link RouterAdapter}. The host layout is expected to mount\n * `<AuthProvider>`.\n */\nexport default function InboxClientView(\n props: InboxViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <InboxView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAgBA,SAAwB,EACtB,IAAwB,CAAC,GACX;CACd,IAAM,IAAa,EAAU,GACvB,IAAW,EAAY,GACvB,IAAe,EAAgB;CAcrC,OACE,kBAAC,GAAD;EAAuB,OAbT,SACP;GACL;GACA,OAAO,MAAuB,EAAW,KAAK,CAAI;GAClD,UAAU,MAAuB,EAAW,QAAQ,CAAI;GACxD,YAAkB,EAAW,KAAK;GAClC,oBACE,IAAI,gBAAgB,GAAc,SAAS,KAAK,EAAE;EACtD,IACA;GAAC;GAAY;GAAU;EAAY,CAIL;YAC5B,kBAAC,GAAD,EAAW,GAAI,EAAQ,CAAA;CACF,CAAA;AAE3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./InboxClientView.cjs");let t=require("react/jsx-runtime");var n={title:`我的待簽 | BPM Admin`};function r(){return(0,t.jsx)(e.default,{})}exports.default=r,exports.metadata=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../src/pages/inbox/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport InboxClientView from './InboxClientView';\n\n/**\n * Next.js metadata for the BPM inbox page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '我的待簽 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM inbox. Usage in\n * `app/inbox/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/inbox';\n * ```\n */\nexport default function InboxPage(): ReactElement {\n return <InboxClientView />;\n}\n"],"mappings":"2KAQA,IAAa,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwB,GAA0B,CAChD,OAAO,EAAA,EAAA,KAAC,EAAA,QAAD,CAAkB,CAAA,CAC3B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js metadata for the BPM inbox page. Consumers re-export this
|
|
5
|
+
* alongside the default page component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const metadata: Metadata;
|
|
8
|
+
/**
|
|
9
|
+
* Drop-in Next.js App Router page for the BPM inbox. Usage in
|
|
10
|
+
* `app/inbox/page.tsx`:
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* export { default, metadata } from '@rytass/bpm-core-react/pages/inbox';
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export default function InboxPage(): ReactElement;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import e from "./InboxClientView.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/pages/inbox/index.tsx
|
|
4
|
+
var n = { title: "我的待簽 | BPM Admin" };
|
|
5
|
+
function r() {
|
|
6
|
+
return /* @__PURE__ */ t(e, {});
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default, n as metadata };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/pages/inbox/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport InboxClientView from './InboxClientView';\n\n/**\n * Next.js metadata for the BPM inbox page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '我的待簽 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM inbox. Usage in\n * `app/inbox/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/inbox';\n * ```\n */\nexport default function InboxPage(): ReactElement {\n return <InboxClientView />;\n}\n"],"mappings":";;;AAQA,IAAa,IAAqB,EAChC,OAAO,mBACT;AAUA,SAAwB,IAA0B;CAChD,OAAO,kBAAC,GAAD,CAAkB,CAAA;AAC3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../../chunks/InstanceDetailView-l_kNDCz2.cjs");let n=require("react"),r=require("react/jsx-runtime"),i=require("next/navigation");function a(a){let o=(0,i.useRouter)(),s=(0,i.usePathname)(),c=(0,i.useSearchParams)();return(0,r.jsx)(e.t,{value:(0,n.useMemo)(()=>({pathname:s,push:e=>o.push(e),replace:e=>o.replace(e),back:()=>o.back(),searchParams:()=>new URLSearchParams(c?.toString()??``)}),[o,s,c]),children:(0,r.jsx)(t.t,{...a})})}exports.default=a;
|
|
2
|
+
//# sourceMappingURL=InstanceDetailClientView.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceDetailClientView.cjs","names":[],"sources":["../../../../src/pages/instances/detail/InstanceDetailClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../../lib/router-adapter';\nimport {\n InstanceDetailView,\n type InstanceDetailViewProps,\n} from '../../../views/instances/detail/InstanceDetailView';\n\n/**\n * Next.js App Router client shim for `<InstanceDetailView />`. Bridges\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.\n * The host page Server Component is expected to resolve `params.id` and\n * pass it through as `instanceId`.\n */\nexport default function InstanceDetailClientView(\n props: InstanceDetailViewProps,\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <InstanceDetailView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"2TAmBA,SAAwB,EACtB,EACc,CACd,IAAM,GAAA,EAAA,EAAA,WAAuB,EACvB,GAAA,EAAA,EAAA,aAAuB,EACvB,GAAA,EAAA,EAAA,iBAA+B,EAcrC,OACE,EAAA,EAAA,KAAC,EAAA,EAAD,CAAuB,OAAA,EAAA,EAAA,cAZhB,CACL,WACA,KAAO,GAAuB,EAAW,KAAK,CAAI,EAClD,QAAU,GAAuB,EAAW,QAAQ,CAAI,EACxD,SAAkB,EAAW,KAAK,EAClC,iBACE,IAAI,gBAAgB,GAAc,SAAS,GAAK,EAAE,CACtD,GACA,CAAC,EAAY,EAAU,CAAY,CAIL,YAC5B,EAAA,EAAA,KAAC,EAAA,EAAD,CAAoB,GAAI,CAAQ,CAAA,CACX,CAAA,CAE3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { InstanceDetailViewProps } from '../../../views/instances/detail/InstanceDetailView';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js App Router client shim for `<InstanceDetailView />`. Bridges
|
|
5
|
+
* `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.
|
|
6
|
+
* The host page Server Component is expected to resolve `params.id` and
|
|
7
|
+
* pass it through as `instanceId`.
|
|
8
|
+
*/
|
|
9
|
+
export default function InstanceDetailClientView(props: InstanceDetailViewProps): ReactElement;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "../../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
+
import { t } from "../../../chunks/InstanceDetailView-C-A-LOCG.js";
|
|
4
|
+
import { useMemo as n } from "react";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { usePathname as i, useRouter as a, useSearchParams as o } from "next/navigation";
|
|
7
|
+
//#region src/pages/instances/detail/InstanceDetailClientView.tsx
|
|
8
|
+
function s(s) {
|
|
9
|
+
let c = a(), l = i(), u = o();
|
|
10
|
+
return /* @__PURE__ */ r(e, {
|
|
11
|
+
value: n(() => ({
|
|
12
|
+
pathname: l,
|
|
13
|
+
push: (e) => c.push(e),
|
|
14
|
+
replace: (e) => c.replace(e),
|
|
15
|
+
back: () => c.back(),
|
|
16
|
+
searchParams: () => new URLSearchParams(u?.toString() ?? "")
|
|
17
|
+
}), [
|
|
18
|
+
c,
|
|
19
|
+
l,
|
|
20
|
+
u
|
|
21
|
+
]),
|
|
22
|
+
children: /* @__PURE__ */ r(t, { ...s })
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { s as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=InstanceDetailClientView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceDetailClientView.js","names":[],"sources":["../../../../src/pages/instances/detail/InstanceDetailClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../../lib/router-adapter';\nimport {\n InstanceDetailView,\n type InstanceDetailViewProps,\n} from '../../../views/instances/detail/InstanceDetailView';\n\n/**\n * Next.js App Router client shim for `<InstanceDetailView />`. Bridges\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.\n * The host page Server Component is expected to resolve `params.id` and\n * pass it through as `instanceId`.\n */\nexport default function InstanceDetailClientView(\n props: InstanceDetailViewProps,\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <InstanceDetailView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAmBA,SAAwB,EACtB,GACc;CACd,IAAM,IAAa,EAAU,GACvB,IAAW,EAAY,GACvB,IAAe,EAAgB;CAcrC,OACE,kBAAC,GAAD;EAAuB,OAbT,SACP;GACL;GACA,OAAO,MAAuB,EAAW,KAAK,CAAI;GAClD,UAAU,MAAuB,EAAW,QAAQ,CAAI;GACxD,YAAkB,EAAW,KAAK;GAClC,oBACE,IAAI,gBAAgB,GAAc,SAAS,KAAK,EAAE;EACtD,IACA;GAAC;GAAY;GAAU;EAAY,CAIL;YAC5B,kBAAC,GAAD,EAAoB,GAAI,EAAQ,CAAA;CACX,CAAA;AAE3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./InstanceDetailClientView.cjs");let t=require("react/jsx-runtime");var n={title:`案件詳情 | BPM Admin`};async function r({params:n}){let{id:r}=await n;return(0,t.jsx)(e.default,{instanceId:r})}exports.default=r,exports.metadata=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../src/pages/instances/detail/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport InstanceDetailClientView from './InstanceDetailClientView';\n\n/**\n * Next.js metadata for the BPM instance detail page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件詳情 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM instance detail screen.\n * Accepts the standard App Router `params: Promise<{ id: string }>` shape\n * and forwards the resolved `id` into the client view as `instanceId`.\n *\n * Usage in `app/instances/[id]/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/detail';\n * ```\n */\nexport default async function InstanceDetailPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id: instanceId } = await params;\n\n return <InstanceDetailClientView instanceId={instanceId} />;\n}\n"],"mappings":"oLAQA,IAAa,EAAqB,CAChC,MAAO,kBACT,EAaA,eAA8B,EAAmB,CAC/C,UAGwB,CACxB,GAAM,CAAE,GAAI,GAAe,MAAM,EAEjC,OAAO,EAAA,EAAA,KAAC,EAAA,QAAD,CAAsC,YAAa,CAAA,CAC5D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js metadata for the BPM instance detail page. Consumers re-export
|
|
5
|
+
* this alongside the default page component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const metadata: Metadata;
|
|
8
|
+
/**
|
|
9
|
+
* Drop-in Next.js App Router page for the BPM instance detail screen.
|
|
10
|
+
* Accepts the standard App Router `params: Promise<{ id: string }>` shape
|
|
11
|
+
* and forwards the resolved `id` into the client view as `instanceId`.
|
|
12
|
+
*
|
|
13
|
+
* Usage in `app/instances/[id]/page.tsx`:
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* export { default, metadata } from '@rytass/bpm-core-react/pages/instances/detail';
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export default function InstanceDetailPage({ params, }: {
|
|
20
|
+
readonly params: Promise<{
|
|
21
|
+
readonly id: string;
|
|
22
|
+
}>;
|
|
23
|
+
}): Promise<ReactElement>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "./InstanceDetailClientView.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/pages/instances/detail/index.tsx
|
|
4
|
+
var n = { title: "案件詳情 | BPM Admin" };
|
|
5
|
+
async function r({ params: n }) {
|
|
6
|
+
let { id: r } = await n;
|
|
7
|
+
return /* @__PURE__ */ t(e, { instanceId: r });
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as default, n as metadata };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/pages/instances/detail/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport InstanceDetailClientView from './InstanceDetailClientView';\n\n/**\n * Next.js metadata for the BPM instance detail page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件詳情 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM instance detail screen.\n * Accepts the standard App Router `params: Promise<{ id: string }>` shape\n * and forwards the resolved `id` into the client view as `instanceId`.\n *\n * Usage in `app/instances/[id]/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/detail';\n * ```\n */\nexport default async function InstanceDetailPage({\n params,\n}: {\n readonly params: Promise<{ readonly id: string }>;\n}): Promise<ReactElement> {\n const { id: instanceId } = await params;\n\n return <InstanceDetailClientView instanceId={instanceId} />;\n}\n"],"mappings":";;;AAQA,IAAa,IAAqB,EAChC,OAAO,mBACT;AAaA,eAA8B,EAAmB,EAC/C,aAGwB;CACxB,IAAM,EAAE,IAAI,MAAe,MAAM;CAEjC,OAAO,kBAAC,GAAD,EAAsC,cAAa,CAAA;AAC5D"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../../chunks/InstanceNewView-CdCsxQIu.cjs");let n=require("react"),r=require("react/jsx-runtime"),i=require("next/navigation");function a(a={}){let o=(0,i.useRouter)(),s=(0,i.usePathname)(),c=(0,i.useSearchParams)();return(0,r.jsx)(e.t,{value:(0,n.useMemo)(()=>({pathname:s,push:e=>o.push(e),replace:e=>o.replace(e),back:()=>o.back(),searchParams:()=>new URLSearchParams(c?.toString()??``)}),[o,s,c]),children:(0,r.jsx)(t.t,{...a})})}exports.default=a;
|
|
2
|
+
//# sourceMappingURL=InstanceNewClientView.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceNewClientView.cjs","names":[],"sources":["../../../../src/pages/instances/new/InstanceNewClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../../lib/router-adapter';\nimport {\n InstanceNewView,\n type InstanceNewViewProps,\n} from '../../../views/instances/new/InstanceNewView';\n\n/**\n * Next.js App Router client shim for `<InstanceNewView />`. Wires\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}\n * so the launch form picks up `?templateId=` from the URL.\n */\nexport default function InstanceNewClientView(\n props: InstanceNewViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <InstanceNewView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"wTAkBA,SAAwB,EACtB,EAA8B,CAAC,EACjB,CACd,IAAM,GAAA,EAAA,EAAA,WAAuB,EACvB,GAAA,EAAA,EAAA,aAAuB,EACvB,GAAA,EAAA,EAAA,iBAA+B,EAcrC,OACE,EAAA,EAAA,KAAC,EAAA,EAAD,CAAuB,OAAA,EAAA,EAAA,cAZhB,CACL,WACA,KAAO,GAAuB,EAAW,KAAK,CAAI,EAClD,QAAU,GAAuB,EAAW,QAAQ,CAAI,EACxD,SAAkB,EAAW,KAAK,EAClC,iBACE,IAAI,gBAAgB,GAAc,SAAS,GAAK,EAAE,CACtD,GACA,CAAC,EAAY,EAAU,CAAY,CAIL,YAC5B,EAAA,EAAA,KAAC,EAAA,EAAD,CAAiB,GAAI,CAAQ,CAAA,CACR,CAAA,CAE3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { InstanceNewViewProps } from '../../../views/instances/new/InstanceNewView';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js App Router client shim for `<InstanceNewView />`. Wires
|
|
5
|
+
* `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}
|
|
6
|
+
* so the launch form picks up `?templateId=` from the URL.
|
|
7
|
+
*/
|
|
8
|
+
export default function InstanceNewClientView(props?: InstanceNewViewProps): ReactElement;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "../../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
+
import { t } from "../../../chunks/InstanceNewView-B5hz-FWd.js";
|
|
4
|
+
import { useMemo as n } from "react";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { usePathname as i, useRouter as a, useSearchParams as o } from "next/navigation";
|
|
7
|
+
//#region src/pages/instances/new/InstanceNewClientView.tsx
|
|
8
|
+
function s(s = {}) {
|
|
9
|
+
let c = a(), l = i(), u = o();
|
|
10
|
+
return /* @__PURE__ */ r(e, {
|
|
11
|
+
value: n(() => ({
|
|
12
|
+
pathname: l,
|
|
13
|
+
push: (e) => c.push(e),
|
|
14
|
+
replace: (e) => c.replace(e),
|
|
15
|
+
back: () => c.back(),
|
|
16
|
+
searchParams: () => new URLSearchParams(u?.toString() ?? "")
|
|
17
|
+
}), [
|
|
18
|
+
c,
|
|
19
|
+
l,
|
|
20
|
+
u
|
|
21
|
+
]),
|
|
22
|
+
children: /* @__PURE__ */ r(t, { ...s })
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { s as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=InstanceNewClientView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceNewClientView.js","names":[],"sources":["../../../../src/pages/instances/new/InstanceNewClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../../lib/router-adapter';\nimport {\n InstanceNewView,\n type InstanceNewViewProps,\n} from '../../../views/instances/new/InstanceNewView';\n\n/**\n * Next.js App Router client shim for `<InstanceNewView />`. Wires\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}\n * so the launch form picks up `?templateId=` from the URL.\n */\nexport default function InstanceNewClientView(\n props: InstanceNewViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <InstanceNewView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAkBA,SAAwB,EACtB,IAA8B,CAAC,GACjB;CACd,IAAM,IAAa,EAAU,GACvB,IAAW,EAAY,GACvB,IAAe,EAAgB;CAcrC,OACE,kBAAC,GAAD;EAAuB,OAbT,SACP;GACL;GACA,OAAO,MAAuB,EAAW,KAAK,CAAI;GAClD,UAAU,MAAuB,EAAW,QAAQ,CAAI;GACxD,YAAkB,EAAW,KAAK;GAClC,oBACE,IAAI,gBAAgB,GAAc,SAAS,KAAK,EAAE;EACtD,IACA;GAAC;GAAY;GAAU;EAAY,CAIL;YAC5B,kBAAC,GAAD,EAAiB,GAAI,EAAQ,CAAA;CACR,CAAA;AAE3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./InstanceNewClientView.cjs");let t=require("react/jsx-runtime");var n={title:`發起簽核 | BPM Admin`};function r(){return(0,t.jsx)(e.default,{})}exports.default=r,exports.metadata=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../src/pages/instances/new/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport InstanceNewClientView from './InstanceNewClientView';\n\n/**\n * Next.js metadata for the BPM \"launch approval\" page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '發起簽核 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM launch screen. Usage in\n * `app/instances/new/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/new';\n * ```\n */\nexport default function InstanceNewPage(): ReactElement {\n return <InstanceNewClientView />;\n}\n"],"mappings":"iLAQA,IAAa,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwB,GAAgC,CACtD,OAAO,EAAA,EAAA,KAAC,EAAA,QAAD,CAAwB,CAAA,CACjC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js metadata for the BPM "launch approval" page. Consumers re-export
|
|
5
|
+
* this alongside the default page component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const metadata: Metadata;
|
|
8
|
+
/**
|
|
9
|
+
* Drop-in Next.js App Router page for the BPM launch screen. Usage in
|
|
10
|
+
* `app/instances/new/page.tsx`:
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* export { default, metadata } from '@rytass/bpm-core-react/pages/instances/new';
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export default function InstanceNewPage(): ReactElement;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import e from "./InstanceNewClientView.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/pages/instances/new/index.tsx
|
|
4
|
+
var n = { title: "發起簽核 | BPM Admin" };
|
|
5
|
+
function r() {
|
|
6
|
+
return /* @__PURE__ */ t(e, {});
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default, n as metadata };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/pages/instances/new/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport InstanceNewClientView from './InstanceNewClientView';\n\n/**\n * Next.js metadata for the BPM \"launch approval\" page. Consumers re-export\n * this alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '發起簽核 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM launch screen. Usage in\n * `app/instances/new/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/instances/new';\n * ```\n */\nexport default function InstanceNewPage(): ReactElement {\n return <InstanceNewClientView />;\n}\n"],"mappings":";;;AAQA,IAAa,IAAqB,EAChC,OAAO,mBACT;AAUA,SAAwB,IAAgC;CACtD,OAAO,kBAAC,GAAD,CAAwB,CAAA;AACjC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../chunks/auth-provider-D2P-qWmY.cjs"),n=require("../../chunks/LoginView-BED07v-7.cjs");let r=require("react"),i=require("react/jsx-runtime"),a=require("next/navigation");function o(o={}){let s=(0,a.useRouter)(),c=(0,a.usePathname)(),l=(0,a.useSearchParams)();return(0,i.jsx)(e.t,{value:(0,r.useMemo)(()=>({pathname:c,push:e=>s.push(e),replace:e=>s.replace(e),back:()=>s.back(),searchParams:()=>new URLSearchParams(l?.toString()??``)}),[s,c,l]),children:(0,i.jsx)(t.t,{children:(0,i.jsx)(n.t,{...o})})})}exports.default=o;
|
|
2
|
+
//# sourceMappingURL=LoginClientView.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginClientView.cjs","names":[],"sources":["../../../src/pages/login/LoginClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport { AuthProvider } from '../../lib/auth-provider';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../lib/router-adapter';\nimport { LoginView, type LoginViewProps } from '../../views/login/LoginView';\n\n/**\n * Next.js App Router client shim for `<LoginView />`.\n *\n * Reads `useRouter()`, `usePathname()`, `useSearchParams()` from\n * `next/navigation` and feeds them through the framework-agnostic\n * {@link RouterAdapter}. Wraps the view in `<AuthProvider>` so the\n * consumer's page tsx file stays a 1-line re-export.\n */\nexport default function LoginClientView(\n props: LoginViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <AuthProvider>\n <LoginView {...props} />\n </AuthProvider>\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"iWAmBA,SAAwB,EACtB,EAAwB,CAAC,EACX,CACd,IAAM,GAAA,EAAA,EAAA,WAAuB,EACvB,GAAA,EAAA,EAAA,aAAuB,EACvB,GAAA,EAAA,EAAA,iBAA+B,EAcrC,OACE,EAAA,EAAA,KAAC,EAAA,EAAD,CAAuB,OAAA,EAAA,EAAA,cAZhB,CACL,WACA,KAAO,GAAuB,EAAW,KAAK,CAAI,EAClD,QAAU,GAAuB,EAAW,QAAQ,CAAI,EACxD,SAAkB,EAAW,KAAK,EAClC,iBACE,IAAI,gBAAgB,GAAc,SAAS,GAAK,EAAE,CACtD,GACA,CAAC,EAAY,EAAU,CAAY,CAIL,YAC5B,EAAA,EAAA,KAAC,EAAA,EAAD,CAAA,UACE,EAAA,EAAA,KAAC,EAAA,EAAD,CAAW,GAAI,CAAQ,CAAA,CACX,CAAA,CACO,CAAA,CAE3B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { LoginViewProps } from '../../views/login/LoginView';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js App Router client shim for `<LoginView />`.
|
|
5
|
+
*
|
|
6
|
+
* Reads `useRouter()`, `usePathname()`, `useSearchParams()` from
|
|
7
|
+
* `next/navigation` and feeds them through the framework-agnostic
|
|
8
|
+
* {@link RouterAdapter}. Wraps the view in `<AuthProvider>` so the
|
|
9
|
+
* consumer's page tsx file stays a 1-line re-export.
|
|
10
|
+
*/
|
|
11
|
+
export default function LoginClientView(props?: LoginViewProps): ReactElement;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
+
import { t } from "../../chunks/auth-provider-TTO9eNZV.js";
|
|
4
|
+
import { t as n } from "../../chunks/LoginView-a1iu3cfc.js";
|
|
5
|
+
import { useMemo as r } from "react";
|
|
6
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
+
import { usePathname as a, useRouter as o, useSearchParams as s } from "next/navigation";
|
|
8
|
+
//#region src/pages/login/LoginClientView.tsx
|
|
9
|
+
function c(c = {}) {
|
|
10
|
+
let l = o(), u = a(), d = s();
|
|
11
|
+
return /* @__PURE__ */ i(e, {
|
|
12
|
+
value: r(() => ({
|
|
13
|
+
pathname: u,
|
|
14
|
+
push: (e) => l.push(e),
|
|
15
|
+
replace: (e) => l.replace(e),
|
|
16
|
+
back: () => l.back(),
|
|
17
|
+
searchParams: () => new URLSearchParams(d?.toString() ?? "")
|
|
18
|
+
}), [
|
|
19
|
+
l,
|
|
20
|
+
u,
|
|
21
|
+
d
|
|
22
|
+
]),
|
|
23
|
+
children: /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(n, { ...c }) })
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { c as default };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=LoginClientView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginClientView.js","names":[],"sources":["../../../src/pages/login/LoginClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport { AuthProvider } from '../../lib/auth-provider';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../lib/router-adapter';\nimport { LoginView, type LoginViewProps } from '../../views/login/LoginView';\n\n/**\n * Next.js App Router client shim for `<LoginView />`.\n *\n * Reads `useRouter()`, `usePathname()`, `useSearchParams()` from\n * `next/navigation` and feeds them through the framework-agnostic\n * {@link RouterAdapter}. Wraps the view in `<AuthProvider>` so the\n * consumer's page tsx file stays a 1-line re-export.\n */\nexport default function LoginClientView(\n props: LoginViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <AuthProvider>\n <LoginView {...props} />\n </AuthProvider>\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;;AAmBA,SAAwB,EACtB,IAAwB,CAAC,GACX;CACd,IAAM,IAAa,EAAU,GACvB,IAAW,EAAY,GACvB,IAAe,EAAgB;CAcrC,OACE,kBAAC,GAAD;EAAuB,OAbT,SACP;GACL;GACA,OAAO,MAAuB,EAAW,KAAK,CAAI;GAClD,UAAU,MAAuB,EAAW,QAAQ,CAAI;GACxD,YAAkB,EAAW,KAAK;GAClC,oBACE,IAAI,gBAAgB,GAAc,SAAS,KAAK,EAAE;EACtD,IACA;GAAC;GAAY;GAAU;EAAY,CAIL;YAC5B,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAAW,GAAI,EAAQ,CAAA,EACX,CAAA;CACO,CAAA;AAE3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./LoginClientView.cjs");let t=require("react/jsx-runtime");var n={title:`Login | BPM Admin`,description:`Sign in to the BPM approval workflow administration console.`};function r(){return(0,t.jsx)(e.default,{})}exports.default=r,exports.metadata=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../src/pages/login/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport LoginClientView from './LoginClientView';\n\n/**\n * Next.js metadata for the BPM login page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: 'Login | BPM Admin',\n description: 'Sign in to the BPM approval workflow administration console.',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM login screen.\n *\n * Consumer usage in `app/login/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/login';\n * ```\n */\nexport default function LoginPage(): ReactElement {\n return <LoginClientView />;\n}\n"],"mappings":"2KAQA,IAAa,EAAqB,CAChC,MAAO,oBACP,YAAa,8DACf,EAWA,SAAwB,GAA0B,CAChD,OAAO,EAAA,EAAA,KAAC,EAAA,QAAD,CAAkB,CAAA,CAC3B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js metadata for the BPM login page. Consumers re-export this
|
|
5
|
+
* alongside the default page component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const metadata: Metadata;
|
|
8
|
+
/**
|
|
9
|
+
* Drop-in Next.js App Router page for the BPM login screen.
|
|
10
|
+
*
|
|
11
|
+
* Consumer usage in `app/login/page.tsx`:
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* export { default, metadata } from '@rytass/bpm-core-react/pages/login';
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export default function LoginPage(): ReactElement;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import e from "./LoginClientView.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/pages/login/index.tsx
|
|
4
|
+
var n = {
|
|
5
|
+
title: "Login | BPM Admin",
|
|
6
|
+
description: "Sign in to the BPM approval workflow administration console."
|
|
7
|
+
};
|
|
8
|
+
function r() {
|
|
9
|
+
return /* @__PURE__ */ t(e, {});
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as default, n as metadata };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/pages/login/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport LoginClientView from './LoginClientView';\n\n/**\n * Next.js metadata for the BPM login page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: 'Login | BPM Admin',\n description: 'Sign in to the BPM approval workflow administration console.',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM login screen.\n *\n * Consumer usage in `app/login/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/login';\n * ```\n */\nexport default function LoginPage(): ReactElement {\n return <LoginClientView />;\n}\n"],"mappings":";;;AAQA,IAAa,IAAqB;CAChC,OAAO;CACP,aAAa;AACf;AAWA,SAAwB,IAA0B;CAChD,OAAO,kBAAC,GAAD,CAAkB,CAAA;AAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/RootClientView-rXJt4TDd.cjs");exports.default=e.t;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Next.js App Router client shim for the BPM root path. Performs a
|
|
4
|
+
* `router.replace('/dashboard')` redirect via the adapter on mount so the
|
|
5
|
+
* host root path lands users on the dashboard without a Server Component
|
|
6
|
+
* redirect.
|
|
7
|
+
*/
|
|
8
|
+
export default function RootClientView(): ReactElement | null;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/RootClientView-rXJt4TDd.cjs");let t=require("react/jsx-runtime");var n={title:`BPM Admin`};function r(){return(0,t.jsx)(e.t,{})}exports.default=r,exports.metadata=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../src/pages/root/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport RootClientView from './RootClientView';\n\n/**\n * Next.js metadata for the BPM root page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: 'BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM root path. Redirects to\n * `/dashboard` on mount. Usage in `app/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/root';\n * ```\n */\nexport default function RootPage(): ReactElement | null {\n return <RootClientView />;\n}\n"],"mappings":"8LAQA,IAAa,EAAqB,CAChC,MAAO,WACT,EAUA,SAAwB,GAAgC,CACtD,OAAO,EAAA,EAAA,KAAC,EAAA,EAAD,CAAiB,CAAA,CAC1B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js metadata for the BPM root page. Consumers re-export this
|
|
5
|
+
* alongside the default page component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const metadata: Metadata;
|
|
8
|
+
/**
|
|
9
|
+
* Drop-in Next.js App Router page for the BPM root path. Redirects to
|
|
10
|
+
* `/dashboard` on mount. Usage in `app/page.tsx`:
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* export { default, metadata } from '@rytass/bpm-core-react/pages/root';
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export default function RootPage(): ReactElement | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as e } from "../../chunks/RootClientView-wAkXUEZw.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/pages/root/index.tsx
|
|
4
|
+
var n = { title: "BPM Admin" };
|
|
5
|
+
function r() {
|
|
6
|
+
return /* @__PURE__ */ t(e, {});
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default, n as metadata };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/pages/root/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport RootClientView from './RootClientView';\n\n/**\n * Next.js metadata for the BPM root page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: 'BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM root path. Redirects to\n * `/dashboard` on mount. Usage in `app/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/root';\n * ```\n */\nexport default function RootPage(): ReactElement | null {\n return <RootClientView />;\n}\n"],"mappings":";;;AAQA,IAAa,IAAqB,EAChC,OAAO,YACT;AAUA,SAAwB,IAAgC;CACtD,OAAO,kBAAC,GAAD,CAAiB,CAAA;AAC1B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../chunks/SearchView-CgXPssgE.cjs");let n=require("react"),r=require("react/jsx-runtime"),i=require("next/navigation");function a(a={}){let o=(0,i.useRouter)(),s=(0,i.usePathname)(),c=(0,i.useSearchParams)();return(0,r.jsx)(e.t,{value:(0,n.useMemo)(()=>({pathname:s,push:e=>o.push(e),replace:e=>o.replace(e),back:()=>o.back(),searchParams:()=>new URLSearchParams(c?.toString()??``)}),[o,s,c]),children:(0,r.jsx)(t.t,{...a})})}exports.default=a;
|
|
2
|
+
//# sourceMappingURL=SearchClientView.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchClientView.cjs","names":[],"sources":["../../../src/pages/search/SearchClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../lib/router-adapter';\nimport {\n SearchView,\n type SearchViewProps,\n} from '../../views/search/SearchView';\n\n/**\n * Next.js App Router client shim for `<SearchView />`. Wires\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.\n */\nexport default function SearchClientView(\n props: SearchViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <SearchView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"6SAiBA,SAAwB,EACtB,EAAyB,CAAC,EACZ,CACd,IAAM,GAAA,EAAA,EAAA,WAAuB,EACvB,GAAA,EAAA,EAAA,aAAuB,EACvB,GAAA,EAAA,EAAA,iBAA+B,EAcrC,OACE,EAAA,EAAA,KAAC,EAAA,EAAD,CAAuB,OAAA,EAAA,EAAA,cAZhB,CACL,WACA,KAAO,GAAuB,EAAW,KAAK,CAAI,EAClD,QAAU,GAAuB,EAAW,QAAQ,CAAI,EACxD,SAAkB,EAAW,KAAK,EAClC,iBACE,IAAI,gBAAgB,GAAc,SAAS,GAAK,EAAE,CACtD,GACA,CAAC,EAAY,EAAU,CAAY,CAIL,YAC5B,EAAA,EAAA,KAAC,EAAA,EAAD,CAAY,GAAI,CAAQ,CAAA,CACH,CAAA,CAE3B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SearchViewProps } from '../../views/search/SearchView';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js App Router client shim for `<SearchView />`. Wires
|
|
5
|
+
* `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.
|
|
6
|
+
*/
|
|
7
|
+
export default function SearchClientView(props?: SearchViewProps): ReactElement;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
+
import { t } from "../../chunks/SearchView-WXMbZwRw.js";
|
|
4
|
+
import { useMemo as n } from "react";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { usePathname as i, useRouter as a, useSearchParams as o } from "next/navigation";
|
|
7
|
+
//#region src/pages/search/SearchClientView.tsx
|
|
8
|
+
function s(s = {}) {
|
|
9
|
+
let c = a(), l = i(), u = o();
|
|
10
|
+
return /* @__PURE__ */ r(e, {
|
|
11
|
+
value: n(() => ({
|
|
12
|
+
pathname: l,
|
|
13
|
+
push: (e) => c.push(e),
|
|
14
|
+
replace: (e) => c.replace(e),
|
|
15
|
+
back: () => c.back(),
|
|
16
|
+
searchParams: () => new URLSearchParams(u?.toString() ?? "")
|
|
17
|
+
}), [
|
|
18
|
+
c,
|
|
19
|
+
l,
|
|
20
|
+
u
|
|
21
|
+
]),
|
|
22
|
+
children: /* @__PURE__ */ r(t, { ...s })
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { s as default };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=SearchClientView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchClientView.js","names":[],"sources":["../../../src/pages/search/SearchClientView.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo, type ReactElement } from 'react';\nimport { usePathname, useRouter, useSearchParams } from 'next/navigation';\nimport {\n RouterAdapterProvider,\n type RouterAdapter,\n} from '../../lib/router-adapter';\nimport {\n SearchView,\n type SearchViewProps,\n} from '../../views/search/SearchView';\n\n/**\n * Next.js App Router client shim for `<SearchView />`. Wires\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.\n */\nexport default function SearchClientView(\n props: SearchViewProps = {},\n): ReactElement {\n const nextRouter = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n const adapter = useMemo<RouterAdapter>(\n () => ({\n pathname,\n push: (href: string): void => nextRouter.push(href),\n replace: (href: string): void => nextRouter.replace(href),\n back: (): void => nextRouter.back(),\n searchParams: (): URLSearchParams =>\n new URLSearchParams(searchParams?.toString() ?? ''),\n }),\n [nextRouter, pathname, searchParams],\n );\n\n return (\n <RouterAdapterProvider value={adapter}>\n <SearchView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAiBA,SAAwB,EACtB,IAAyB,CAAC,GACZ;CACd,IAAM,IAAa,EAAU,GACvB,IAAW,EAAY,GACvB,IAAe,EAAgB;CAcrC,OACE,kBAAC,GAAD;EAAuB,OAbT,SACP;GACL;GACA,OAAO,MAAuB,EAAW,KAAK,CAAI;GAClD,UAAU,MAAuB,EAAW,QAAQ,CAAI;GACxD,YAAkB,EAAW,KAAK;GAClC,oBACE,IAAI,gBAAgB,GAAc,SAAS,KAAK,EAAE;EACtD,IACA;GAAC;GAAY;GAAU;EAAY,CAIL;YAC5B,kBAAC,GAAD,EAAY,GAAI,EAAQ,CAAA;CACH,CAAA;AAE3B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./SearchClientView.cjs");let t=require("react/jsx-runtime");var n={title:`案件查詢 | BPM Admin`};function r(){return(0,t.jsx)(e.default,{})}exports.default=r,exports.metadata=n;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../../../src/pages/search/index.tsx"],"sourcesContent":["import type { Metadata } from 'next';\nimport type { ReactElement } from 'react';\nimport SearchClientView from './SearchClientView';\n\n/**\n * Next.js metadata for the BPM case search page. Consumers re-export this\n * alongside the default page component.\n */\nexport const metadata: Metadata = {\n title: '案件查詢 | BPM Admin',\n};\n\n/**\n * Drop-in Next.js App Router page for the BPM case search. Usage in\n * `app/search/page.tsx`:\n *\n * ```ts\n * export { default, metadata } from '@rytass/bpm-core-react/pages/search';\n * ```\n */\nexport default function SearchPage(): ReactElement {\n return <SearchClientView />;\n}\n"],"mappings":"4KAQA,IAAa,EAAqB,CAChC,MAAO,kBACT,EAUA,SAAwB,GAA2B,CACjD,OAAO,EAAA,EAAA,KAAC,EAAA,QAAD,CAAmB,CAAA,CAC5B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Next.js metadata for the BPM case search page. Consumers re-export this
|
|
5
|
+
* alongside the default page component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const metadata: Metadata;
|
|
8
|
+
/**
|
|
9
|
+
* Drop-in Next.js App Router page for the BPM case search. Usage in
|
|
10
|
+
* `app/search/page.tsx`:
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* export { default, metadata } from '@rytass/bpm-core-react/pages/search';
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export default function SearchPage(): ReactElement;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import e from "./SearchClientView.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/pages/search/index.tsx
|
|
4
|
+
var n = { title: "案件查詢 | BPM Admin" };
|
|
5
|
+
function r() {
|
|
6
|
+
return /* @__PURE__ */ t(e, {});
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default, n as metadata };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index.js.map
|