@rytass/bpm-core-react 0.2.0 → 0.3.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 +13 -1
- package/dist/chunks/app-navigation-C_mbz7jx.cjs +2 -0
- package/dist/chunks/app-navigation-C_mbz7jx.cjs.map +1 -0
- package/dist/chunks/{app-navigation-CATITRM7.js → app-navigation-uwbNEw9P.js} +66 -67
- package/dist/chunks/app-navigation-uwbNEw9P.js.map +1 -0
- package/dist/chunks/approval-instance-list-page-Mo6wpDPb.cjs +2 -0
- package/dist/chunks/approval-instance-list-page-Mo6wpDPb.cjs.map +1 -0
- package/dist/chunks/approval-instance-list-page-nmzMrj0b.js +281 -0
- package/dist/chunks/approval-instance-list-page-nmzMrj0b.js.map +1 -0
- package/dist/chunks/auth-provider-BV8Iiwfb.cjs +2 -0
- package/dist/chunks/auth-provider-BV8Iiwfb.cjs.map +1 -0
- package/dist/chunks/auth-provider-Bnox5gsx.js +98 -0
- package/dist/chunks/auth-provider-Bnox5gsx.js.map +1 -0
- package/dist/chunks/builder-DPhAH381.cjs +3 -0
- package/dist/chunks/builder-DPhAH381.cjs.map +1 -0
- package/dist/chunks/{FormBuilderView-CvChAvgD.js → builder-DqZskyXC.js} +334 -331
- package/dist/chunks/builder-DqZskyXC.js.map +1 -0
- package/dist/chunks/categories-DEijUOnw.cjs +2 -0
- package/dist/chunks/categories-DEijUOnw.cjs.map +1 -0
- package/dist/chunks/categories-DTEl182t.js +386 -0
- package/dist/chunks/categories-DTEl182t.js.map +1 -0
- package/dist/chunks/dashboard-page-DCmuB0Rw.cjs +2 -0
- package/dist/chunks/dashboard-page-DCmuB0Rw.cjs.map +1 -0
- package/dist/chunks/dashboard-page-Dx5PeEeN.js +117 -0
- package/dist/chunks/dashboard-page-Dx5PeEeN.js.map +1 -0
- package/dist/chunks/delegations-C-ZrwzvU.js +572 -0
- package/dist/chunks/delegations-C-ZrwzvU.js.map +1 -0
- package/dist/chunks/delegations-C5PzZ5Kn.js +645 -0
- package/dist/chunks/delegations-C5PzZ5Kn.js.map +1 -0
- package/dist/chunks/delegations-DOGDvybX.cjs +2 -0
- package/dist/chunks/delegations-DOGDvybX.cjs.map +1 -0
- package/dist/chunks/delegations-DkDBWOQ7.cjs +2 -0
- package/dist/chunks/delegations-DkDBWOQ7.cjs.map +1 -0
- package/dist/chunks/detail-B2gcOPkd.cjs +2 -0
- package/dist/chunks/detail-B2gcOPkd.cjs.map +1 -0
- package/dist/chunks/{InstanceDetailView-C-A-LOCG.js → detail-CfFyU5zC.js} +670 -667
- package/dist/chunks/detail-CfFyU5zC.js.map +1 -0
- package/dist/chunks/{format-date-time-BQyH5U8z.cjs → format-date-time-isOa3e9q.cjs} +2 -2
- package/dist/chunks/{format-date-time-BQyH5U8z.cjs.map → format-date-time-isOa3e9q.cjs.map} +1 -1
- package/dist/chunks/{LoginView-a1iu3cfc.js → login-C20yVxbc.js} +9 -9
- package/dist/chunks/login-C20yVxbc.js.map +1 -0
- package/dist/chunks/login-CQ9MfwcC.cjs +2 -0
- package/dist/chunks/login-CQ9MfwcC.cjs.map +1 -0
- package/dist/chunks/notifications-CPQ-nVar.cjs +2 -0
- package/dist/chunks/notifications-CPQ-nVar.cjs.map +1 -0
- package/dist/chunks/notifications-DweexUVy.js +197 -0
- package/dist/chunks/notifications-DweexUVy.js.map +1 -0
- package/dist/chunks/orgs-DgZ0DQ3-.cjs +2 -0
- package/dist/chunks/orgs-DgZ0DQ3-.cjs.map +1 -0
- package/dist/chunks/{AdminOrgsView-DZaVAbaQ.js → orgs-xrdhb3hS.js} +669 -666
- package/dist/chunks/orgs-xrdhb3hS.js.map +1 -0
- package/dist/chunks/templates-PK_VYvcy.js +383 -0
- package/dist/chunks/templates-PK_VYvcy.js.map +1 -0
- package/dist/chunks/templates-x1OJZmsG.cjs +2 -0
- package/dist/chunks/templates-x1OJZmsG.cjs.map +1 -0
- package/dist/chunks/users-CY4-NK3j.js +218 -0
- package/dist/chunks/users-CY4-NK3j.js.map +1 -0
- package/dist/chunks/users-DHnu_056.cjs +2 -0
- package/dist/chunks/users-DHnu_056.cjs.map +1 -0
- package/dist/components/app-navigation.d.ts +17 -10
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/dist/lib/notification-drawer-provider.d.ts +1 -1
- package/dist/lib/notification-unread-provider.d.ts +1 -1
- package/dist/lib/providers.d.ts +1 -1
- package/dist/next/BPMNextProviders.d.ts +6 -0
- package/dist/next/index.cjs +2 -0
- package/dist/next/index.cjs.map +1 -0
- package/dist/next/index.d.ts +1 -0
- package/dist/next/index.js +33 -0
- package/dist/next/index.js.map +1 -0
- package/dist/pages/admin/delegations/index.cjs +1 -1
- package/dist/pages/admin/delegations/index.cjs.map +1 -1
- package/dist/pages/admin/delegations/index.js +1 -1
- package/dist/pages/admin/delegations/index.js.map +1 -1
- package/dist/pages/admin/orgs/index.cjs +1 -1
- package/dist/pages/admin/orgs/index.cjs.map +1 -1
- package/dist/pages/admin/orgs/index.js +1 -1
- package/dist/pages/admin/orgs/index.js.map +1 -1
- package/dist/pages/admin/users/index.cjs +1 -1
- package/dist/pages/admin/users/index.cjs.map +1 -1
- package/dist/pages/admin/users/index.js +1 -1
- package/dist/pages/admin/users/index.js.map +1 -1
- package/dist/pages/cc/index.cjs +1 -1
- package/dist/pages/cc/index.cjs.map +1 -1
- package/dist/pages/cc/index.js +1 -1
- package/dist/pages/cc/index.js.map +1 -1
- package/dist/pages/dashboard/index.cjs +1 -1
- package/dist/pages/dashboard/index.cjs.map +1 -1
- package/dist/pages/dashboard/index.js +1 -1
- package/dist/pages/dashboard/index.js.map +1 -1
- package/dist/pages/delegations/index.cjs +1 -1
- package/dist/pages/delegations/index.cjs.map +1 -1
- package/dist/pages/delegations/index.js +1 -1
- package/dist/pages/delegations/index.js.map +1 -1
- package/dist/pages/forms/builder/index.cjs +1 -1
- package/dist/pages/forms/builder/index.cjs.map +1 -1
- package/dist/pages/forms/builder/index.d.ts +5 -7
- package/dist/pages/forms/builder/index.js +1 -1
- package/dist/pages/forms/builder/index.js.map +1 -1
- package/dist/pages/forms/index.cjs +1 -1
- package/dist/pages/forms/index.cjs.map +1 -1
- package/dist/pages/forms/index.js +1 -1
- package/dist/pages/forms/index.js.map +1 -1
- package/dist/pages/inbox/index.cjs +1 -1
- package/dist/pages/inbox/index.cjs.map +1 -1
- package/dist/pages/inbox/index.js +1 -1
- package/dist/pages/inbox/index.js.map +1 -1
- package/dist/pages/instances/detail/index.cjs +1 -1
- package/dist/pages/instances/detail/index.cjs.map +1 -1
- package/dist/pages/instances/detail/index.d.ts +1 -1
- package/dist/pages/instances/detail/index.js +1 -1
- package/dist/pages/instances/detail/index.js.map +1 -1
- package/dist/pages/instances/new/index.cjs +1 -1
- package/dist/pages/instances/new/index.cjs.map +1 -1
- package/dist/pages/instances/new/index.d.ts +5 -1
- package/dist/pages/instances/new/index.js +4 -3
- package/dist/pages/instances/new/index.js.map +1 -1
- package/dist/pages/login/index.cjs +1 -1
- package/dist/pages/login/index.cjs.map +1 -1
- package/dist/pages/login/index.d.ts +5 -1
- package/dist/pages/login/index.js +4 -3
- package/dist/pages/login/index.js.map +1 -1
- package/dist/pages/root/index.cjs +1 -1
- package/dist/pages/root/index.cjs.map +1 -1
- package/dist/pages/root/index.d.ts +7 -5
- package/dist/pages/root/index.js +5 -6
- package/dist/pages/root/index.js.map +1 -1
- package/dist/pages/search/index.cjs +1 -1
- package/dist/pages/search/index.cjs.map +1 -1
- package/dist/pages/search/index.js +1 -1
- package/dist/pages/search/index.js.map +1 -1
- package/dist/pages/sent/index.cjs +1 -1
- package/dist/pages/sent/index.cjs.map +1 -1
- package/dist/pages/sent/index.js +1 -1
- package/dist/pages/sent/index.js.map +1 -1
- package/dist/pages/settings/notifications/index.cjs +1 -1
- package/dist/pages/settings/notifications/index.cjs.map +1 -1
- package/dist/pages/settings/notifications/index.js +1 -1
- package/dist/pages/settings/notifications/index.js.map +1 -1
- package/dist/pages/templates/categories/index.cjs +1 -1
- package/dist/pages/templates/categories/index.cjs.map +1 -1
- package/dist/pages/templates/categories/index.js +1 -1
- package/dist/pages/templates/categories/index.js.map +1 -1
- package/dist/pages/templates/designer/index.cjs +1 -1
- package/dist/pages/templates/designer/index.cjs.map +1 -1
- package/dist/pages/templates/designer/index.d.ts +2 -4
- package/dist/pages/templates/designer/index.js +1 -1
- package/dist/pages/templates/designer/index.js.map +1 -1
- package/dist/pages/templates/index.cjs +1 -1
- package/dist/pages/templates/index.cjs.map +1 -1
- package/dist/pages/templates/index.js +1 -1
- package/dist/pages/templates/index.js.map +1 -1
- package/dist/pages/templates/versions/index.cjs +1 -1
- package/dist/pages/templates/versions/index.cjs.map +1 -1
- package/dist/pages/templates/versions/index.d.ts +2 -4
- package/dist/pages/templates/versions/index.js +1 -1
- package/dist/pages/templates/versions/index.js.map +1 -1
- package/dist/views/admin/delegations/index.cjs +1 -1
- package/dist/views/admin/delegations/index.js +1 -1
- package/dist/views/admin/index.cjs +1 -0
- package/dist/views/admin/index.d.ts +3 -0
- package/dist/views/admin/index.js +4 -0
- package/dist/views/admin/orgs/index.cjs +1 -1
- package/dist/views/admin/orgs/index.js +1 -1
- package/dist/views/admin/users/index.cjs +1 -1
- package/dist/views/admin/users/index.js +1 -1
- package/dist/views/cc/index.cjs +2 -1
- package/dist/views/cc/index.cjs.map +1 -0
- package/dist/views/cc/index.js +19 -2
- package/dist/views/cc/index.js.map +1 -0
- package/dist/views/dashboard/index.cjs +2 -1
- package/dist/views/dashboard/index.cjs.map +1 -0
- package/dist/views/dashboard/index.js +11 -2
- package/dist/views/dashboard/index.js.map +1 -0
- package/dist/views/delegations/index.cjs +1 -1
- package/dist/views/delegations/index.js +1 -1
- package/dist/views/forms/builder/index.cjs +1 -1
- package/dist/views/forms/builder/index.js +1 -1
- package/dist/views/forms/index.cjs +2 -1
- package/dist/views/forms/index.cjs.map +1 -0
- package/dist/views/forms/index.d.ts +1 -0
- package/dist/views/forms/index.js +189 -2
- package/dist/views/forms/index.js.map +1 -0
- package/dist/views/inbox/index.cjs +2 -1
- package/dist/views/inbox/index.cjs.map +1 -0
- package/dist/views/inbox/index.js +293 -2
- package/dist/views/inbox/index.js.map +1 -0
- package/dist/views/instances/detail/index.cjs +1 -1
- package/dist/views/instances/detail/index.js +1 -1
- package/dist/views/instances/index.cjs +1 -0
- package/dist/views/instances/index.d.ts +1 -0
- package/dist/views/instances/index.js +2 -0
- package/dist/views/instances/new/InstanceNewView.d.ts +3 -3
- package/dist/views/instances/new/index.cjs +2 -1
- package/dist/views/instances/new/index.cjs.map +1 -0
- package/dist/views/instances/new/index.js +195 -2
- package/dist/views/instances/new/index.js.map +1 -0
- package/dist/views/login/index.cjs +1 -1
- package/dist/views/login/index.js +1 -1
- package/dist/views/search/index.cjs +2 -1
- package/dist/views/search/index.cjs.map +1 -0
- package/dist/views/search/index.js +19 -2
- package/dist/views/search/index.js.map +1 -0
- package/dist/views/sent/index.cjs +2 -1
- package/dist/views/sent/index.cjs.map +1 -0
- package/dist/views/sent/index.js +19 -2
- package/dist/views/sent/index.js.map +1 -0
- package/dist/views/settings/index.cjs +1 -0
- package/dist/views/settings/index.d.ts +1 -0
- package/dist/views/settings/index.js +2 -0
- package/dist/views/settings/notifications/index.cjs +1 -1
- package/dist/views/settings/notifications/index.js +1 -1
- package/dist/views/templates/categories/index.cjs +1 -1
- package/dist/views/templates/categories/index.js +1 -1
- package/dist/views/templates/designer/index.cjs +51 -1
- package/dist/views/templates/designer/index.cjs.map +1 -0
- package/dist/views/templates/designer/index.js +2275 -2
- package/dist/views/templates/designer/index.js.map +1 -0
- package/dist/views/templates/index.cjs +1 -1
- package/dist/views/templates/index.d.ts +2 -0
- package/dist/views/templates/index.js +4 -2
- package/dist/views/templates/versions/index.cjs +2 -1
- package/dist/views/templates/versions/index.cjs.map +1 -0
- package/dist/views/templates/versions/index.js +113 -2
- package/dist/views/templates/versions/index.js.map +1 -0
- package/dist/views/workflow/index.cjs +1 -0
- package/dist/views/workflow/index.d.ts +4 -0
- package/dist/views/workflow/index.js +5 -0
- package/package.json +28 -3
- package/dist/chunks/AdminDelegationsView-CqNmlVWx.cjs +0 -2
- package/dist/chunks/AdminDelegationsView-CqNmlVWx.cjs.map +0 -1
- package/dist/chunks/AdminDelegationsView-DydMZ9ED.js +0 -642
- package/dist/chunks/AdminDelegationsView-DydMZ9ED.js.map +0 -1
- package/dist/chunks/AdminOrgsView-DZaVAbaQ.js.map +0 -1
- package/dist/chunks/AdminOrgsView-bSsIyMvk.cjs +0 -2
- package/dist/chunks/AdminOrgsView-bSsIyMvk.cjs.map +0 -1
- package/dist/chunks/AdminUsersView-C0oO05Br.js +0 -215
- package/dist/chunks/AdminUsersView-C0oO05Br.js.map +0 -1
- package/dist/chunks/AdminUsersView-DlArLlIr.cjs +0 -2
- package/dist/chunks/AdminUsersView-DlArLlIr.cjs.map +0 -1
- package/dist/chunks/CcView-BsVsya5F.cjs +0 -2
- package/dist/chunks/CcView-BsVsya5F.cjs.map +0 -1
- package/dist/chunks/CcView-Bv0GzA5C.js +0 -19
- package/dist/chunks/CcView-Bv0GzA5C.js.map +0 -1
- package/dist/chunks/DashboardView-Dk1ZQmmk.js +0 -11
- package/dist/chunks/DashboardView-Dk1ZQmmk.js.map +0 -1
- package/dist/chunks/DashboardView-_0zh-rxT.cjs +0 -2
- package/dist/chunks/DashboardView-_0zh-rxT.cjs.map +0 -1
- package/dist/chunks/DelegationsView-DQUqOUV5.js +0 -569
- package/dist/chunks/DelegationsView-DQUqOUV5.js.map +0 -1
- package/dist/chunks/DelegationsView-pKeFV2LN.cjs +0 -2
- package/dist/chunks/DelegationsView-pKeFV2LN.cjs.map +0 -1
- package/dist/chunks/FormBuilderView-BKtyW55e.cjs +0 -3
- package/dist/chunks/FormBuilderView-BKtyW55e.cjs.map +0 -1
- package/dist/chunks/FormBuilderView-CvChAvgD.js.map +0 -1
- package/dist/chunks/FormsView-DYEuik8W.js +0 -185
- package/dist/chunks/FormsView-DYEuik8W.js.map +0 -1
- package/dist/chunks/FormsView-RjJEkIfZ.cjs +0 -2
- package/dist/chunks/FormsView-RjJEkIfZ.cjs.map +0 -1
- package/dist/chunks/InboxView-DDWwmWhA.cjs +0 -2
- package/dist/chunks/InboxView-DDWwmWhA.cjs.map +0 -1
- package/dist/chunks/InboxView-YSoyrYLk.js +0 -291
- package/dist/chunks/InboxView-YSoyrYLk.js.map +0 -1
- package/dist/chunks/InstanceDetailView-C-A-LOCG.js.map +0 -1
- package/dist/chunks/InstanceDetailView-l_kNDCz2.cjs +0 -2
- package/dist/chunks/InstanceDetailView-l_kNDCz2.cjs.map +0 -1
- package/dist/chunks/InstanceNewView-B5hz-FWd.js +0 -190
- package/dist/chunks/InstanceNewView-B5hz-FWd.js.map +0 -1
- package/dist/chunks/InstanceNewView-CdCsxQIu.cjs +0 -2
- package/dist/chunks/InstanceNewView-CdCsxQIu.cjs.map +0 -1
- package/dist/chunks/LoginView-BED07v-7.cjs +0 -2
- package/dist/chunks/LoginView-BED07v-7.cjs.map +0 -1
- package/dist/chunks/LoginView-a1iu3cfc.js.map +0 -1
- package/dist/chunks/RootClientView-rXJt4TDd.cjs +0 -2
- package/dist/chunks/RootClientView-rXJt4TDd.cjs.map +0 -1
- package/dist/chunks/RootClientView-wAkXUEZw.js +0 -34
- package/dist/chunks/RootClientView-wAkXUEZw.js.map +0 -1
- package/dist/chunks/SearchView-CgXPssgE.cjs +0 -2
- package/dist/chunks/SearchView-CgXPssgE.cjs.map +0 -1
- package/dist/chunks/SearchView-WXMbZwRw.js +0 -19
- package/dist/chunks/SearchView-WXMbZwRw.js.map +0 -1
- package/dist/chunks/SentView-BTDoFBrG.cjs +0 -2
- package/dist/chunks/SentView-BTDoFBrG.cjs.map +0 -1
- package/dist/chunks/SentView-CdOL92Rq.js +0 -19
- package/dist/chunks/SentView-CdOL92Rq.js.map +0 -1
- package/dist/chunks/SettingsNotificationsView-B6F6fa7U.js +0 -194
- package/dist/chunks/SettingsNotificationsView-B6F6fa7U.js.map +0 -1
- package/dist/chunks/SettingsNotificationsView-Bnz0CmoJ.cjs +0 -2
- package/dist/chunks/SettingsNotificationsView-Bnz0CmoJ.cjs.map +0 -1
- package/dist/chunks/TemplateCategoriesView-CgZciaSd.js +0 -382
- package/dist/chunks/TemplateCategoriesView-CgZciaSd.js.map +0 -1
- package/dist/chunks/TemplateCategoriesView-U0stGUBc.cjs +0 -2
- package/dist/chunks/TemplateCategoriesView-U0stGUBc.cjs.map +0 -1
- package/dist/chunks/TemplateDesignerView-A38DyYD4.cjs +0 -51
- package/dist/chunks/TemplateDesignerView-A38DyYD4.cjs.map +0 -1
- package/dist/chunks/TemplateDesignerView-Dffx-VZ-.js +0 -2272
- package/dist/chunks/TemplateDesignerView-Dffx-VZ-.js.map +0 -1
- package/dist/chunks/TemplateVersionsView-6sVQbBem.js +0 -110
- package/dist/chunks/TemplateVersionsView-6sVQbBem.js.map +0 -1
- package/dist/chunks/TemplateVersionsView-CMqw3ieU.cjs +0 -2
- package/dist/chunks/TemplateVersionsView-CMqw3ieU.cjs.map +0 -1
- package/dist/chunks/TemplatesView-BLj9f-XI.js +0 -380
- package/dist/chunks/TemplatesView-BLj9f-XI.js.map +0 -1
- package/dist/chunks/TemplatesView-DIOQTUUl.cjs +0 -2
- package/dist/chunks/TemplatesView-DIOQTUUl.cjs.map +0 -1
- package/dist/chunks/app-navigation-CATITRM7.js.map +0 -1
- package/dist/chunks/app-navigation-DAC5gFbG.cjs +0 -2
- package/dist/chunks/app-navigation-DAC5gFbG.cjs.map +0 -1
- package/dist/chunks/approval-instance-list-page-B6vAGvOb.js +0 -278
- package/dist/chunks/approval-instance-list-page-B6vAGvOb.js.map +0 -1
- package/dist/chunks/approval-instance-list-page-DIAmwhvl.cjs +0 -2
- package/dist/chunks/approval-instance-list-page-DIAmwhvl.cjs.map +0 -1
- package/dist/chunks/auth-provider-D2P-qWmY.cjs +0 -2
- package/dist/chunks/auth-provider-D2P-qWmY.cjs.map +0 -1
- package/dist/chunks/auth-provider-TTO9eNZV.js +0 -83
- package/dist/chunks/auth-provider-TTO9eNZV.js.map +0 -1
- package/dist/chunks/dashboard-page-BsW8t104.js +0 -115
- package/dist/chunks/dashboard-page-BsW8t104.js.map +0 -1
- package/dist/chunks/dashboard-page-udYhnyMW.cjs +0 -2
- package/dist/chunks/dashboard-page-udYhnyMW.cjs.map +0 -1
- package/dist/chunks/router-adapter-BdHZXLS3.js +0 -23
- package/dist/chunks/router-adapter-BdHZXLS3.js.map +0 -1
- package/dist/chunks/router-adapter-BybHrCNP.cjs +0 -2
- package/dist/chunks/router-adapter-BybHrCNP.cjs.map +0 -1
- package/dist/chunks/templates.module-B5bg_goX.js +0 -8
- package/dist/chunks/templates.module-B5bg_goX.js.map +0 -1
- package/dist/chunks/templates.module-ClRnQQX4.cjs +0 -2
- package/dist/chunks/templates.module-ClRnQQX4.cjs.map +0 -1
- package/dist/pages/admin/delegations/AdminDelegationsClientView.cjs +0 -2
- package/dist/pages/admin/delegations/AdminDelegationsClientView.cjs.map +0 -1
- package/dist/pages/admin/delegations/AdminDelegationsClientView.d.ts +0 -3
- package/dist/pages/admin/delegations/AdminDelegationsClientView.js +0 -28
- package/dist/pages/admin/delegations/AdminDelegationsClientView.js.map +0 -1
- package/dist/pages/admin/orgs/AdminOrgsClientView.cjs +0 -2
- package/dist/pages/admin/orgs/AdminOrgsClientView.cjs.map +0 -1
- package/dist/pages/admin/orgs/AdminOrgsClientView.d.ts +0 -3
- package/dist/pages/admin/orgs/AdminOrgsClientView.js +0 -28
- package/dist/pages/admin/orgs/AdminOrgsClientView.js.map +0 -1
- package/dist/pages/admin/users/AdminUsersClientView.cjs +0 -2
- package/dist/pages/admin/users/AdminUsersClientView.cjs.map +0 -1
- package/dist/pages/admin/users/AdminUsersClientView.d.ts +0 -3
- package/dist/pages/admin/users/AdminUsersClientView.js +0 -28
- package/dist/pages/admin/users/AdminUsersClientView.js.map +0 -1
- package/dist/pages/cc/CcClientView.cjs +0 -2
- package/dist/pages/cc/CcClientView.cjs.map +0 -1
- package/dist/pages/cc/CcClientView.d.ts +0 -7
- package/dist/pages/cc/CcClientView.js +0 -28
- package/dist/pages/cc/CcClientView.js.map +0 -1
- package/dist/pages/dashboard/DashboardClientView.cjs +0 -2
- package/dist/pages/dashboard/DashboardClientView.cjs.map +0 -1
- package/dist/pages/dashboard/DashboardClientView.d.ts +0 -9
- package/dist/pages/dashboard/DashboardClientView.js +0 -28
- package/dist/pages/dashboard/DashboardClientView.js.map +0 -1
- package/dist/pages/delegations/DelegationsClientView.cjs +0 -2
- package/dist/pages/delegations/DelegationsClientView.cjs.map +0 -1
- package/dist/pages/delegations/DelegationsClientView.d.ts +0 -3
- package/dist/pages/delegations/DelegationsClientView.js +0 -28
- package/dist/pages/delegations/DelegationsClientView.js.map +0 -1
- package/dist/pages/forms/FormsClientView.cjs +0 -2
- package/dist/pages/forms/FormsClientView.cjs.map +0 -1
- package/dist/pages/forms/FormsClientView.d.ts +0 -10
- package/dist/pages/forms/FormsClientView.js +0 -28
- package/dist/pages/forms/FormsClientView.js.map +0 -1
- package/dist/pages/forms/builder/FormBuilderClientView.cjs +0 -2
- package/dist/pages/forms/builder/FormBuilderClientView.cjs.map +0 -1
- package/dist/pages/forms/builder/FormBuilderClientView.d.ts +0 -11
- package/dist/pages/forms/builder/FormBuilderClientView.js +0 -28
- package/dist/pages/forms/builder/FormBuilderClientView.js.map +0 -1
- package/dist/pages/inbox/InboxClientView.cjs +0 -2
- package/dist/pages/inbox/InboxClientView.cjs.map +0 -1
- package/dist/pages/inbox/InboxClientView.d.ts +0 -9
- package/dist/pages/inbox/InboxClientView.js +0 -28
- package/dist/pages/inbox/InboxClientView.js.map +0 -1
- package/dist/pages/instances/detail/InstanceDetailClientView.cjs +0 -2
- package/dist/pages/instances/detail/InstanceDetailClientView.cjs.map +0 -1
- package/dist/pages/instances/detail/InstanceDetailClientView.d.ts +0 -9
- package/dist/pages/instances/detail/InstanceDetailClientView.js +0 -28
- package/dist/pages/instances/detail/InstanceDetailClientView.js.map +0 -1
- package/dist/pages/instances/new/InstanceNewClientView.cjs +0 -2
- package/dist/pages/instances/new/InstanceNewClientView.cjs.map +0 -1
- package/dist/pages/instances/new/InstanceNewClientView.d.ts +0 -8
- package/dist/pages/instances/new/InstanceNewClientView.js +0 -28
- package/dist/pages/instances/new/InstanceNewClientView.js.map +0 -1
- package/dist/pages/login/LoginClientView.cjs +0 -2
- package/dist/pages/login/LoginClientView.cjs.map +0 -1
- package/dist/pages/login/LoginClientView.d.ts +0 -11
- package/dist/pages/login/LoginClientView.js +0 -29
- package/dist/pages/login/LoginClientView.js.map +0 -1
- package/dist/pages/root/RootClientView.cjs +0 -1
- package/dist/pages/root/RootClientView.d.ts +0 -8
- package/dist/pages/root/RootClientView.js +0 -2
- package/dist/pages/search/SearchClientView.cjs +0 -2
- package/dist/pages/search/SearchClientView.cjs.map +0 -1
- package/dist/pages/search/SearchClientView.d.ts +0 -7
- package/dist/pages/search/SearchClientView.js +0 -28
- package/dist/pages/search/SearchClientView.js.map +0 -1
- package/dist/pages/sent/SentClientView.cjs +0 -2
- package/dist/pages/sent/SentClientView.cjs.map +0 -1
- package/dist/pages/sent/SentClientView.d.ts +0 -7
- package/dist/pages/sent/SentClientView.js +0 -28
- package/dist/pages/sent/SentClientView.js.map +0 -1
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.cjs +0 -2
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.cjs.map +0 -1
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.d.ts +0 -3
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.js +0 -28
- package/dist/pages/settings/notifications/SettingsNotificationsClientView.js.map +0 -1
- package/dist/pages/templates/TemplatesClientView.cjs +0 -2
- package/dist/pages/templates/TemplatesClientView.cjs.map +0 -1
- package/dist/pages/templates/TemplatesClientView.d.ts +0 -3
- package/dist/pages/templates/TemplatesClientView.js +0 -28
- package/dist/pages/templates/TemplatesClientView.js.map +0 -1
- package/dist/pages/templates/categories/TemplateCategoriesClientView.cjs +0 -2
- package/dist/pages/templates/categories/TemplateCategoriesClientView.cjs.map +0 -1
- package/dist/pages/templates/categories/TemplateCategoriesClientView.d.ts +0 -3
- package/dist/pages/templates/categories/TemplateCategoriesClientView.js +0 -28
- package/dist/pages/templates/categories/TemplateCategoriesClientView.js.map +0 -1
- package/dist/pages/templates/designer/TemplateDesignerClientView.cjs +0 -2
- package/dist/pages/templates/designer/TemplateDesignerClientView.cjs.map +0 -1
- package/dist/pages/templates/designer/TemplateDesignerClientView.d.ts +0 -3
- package/dist/pages/templates/designer/TemplateDesignerClientView.js +0 -28
- package/dist/pages/templates/designer/TemplateDesignerClientView.js.map +0 -1
- package/dist/pages/templates/versions/TemplateVersionsClientView.cjs +0 -2
- package/dist/pages/templates/versions/TemplateVersionsClientView.cjs.map +0 -1
- package/dist/pages/templates/versions/TemplateVersionsClientView.d.ts +0 -3
- package/dist/pages/templates/versions/TemplateVersionsClientView.js +0 -28
- package/dist/pages/templates/versions/TemplateVersionsClientView.js.map +0 -1
- /package/dist/{templates.css → categories.css} +0 -0
- /package/dist/{AdminDelegationsView.css → delegations.css} +0 -0
- /package/dist/{DelegationsView.css → delegations2.css} +0 -0
- /package/dist/{InstanceDetailView.css → detail.css} +0 -0
- /package/dist/{LoginView.css → login.css} +0 -0
- /package/dist/{SettingsNotificationsView.css → notifications.css} +0 -0
- /package/dist/{AdminOrgsView.css → orgs.css} +0 -0
- /package/dist/{AdminUsersView.css → users.css} +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/RootClientView-rXJt4TDd.cjs");exports.default=e.t;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,2 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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;
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../chunks/SentView-BTDoFBrG.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=SentClientView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SentClientView.cjs","names":[],"sources":["../../../src/pages/sent/SentClientView.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 { SentView, type SentViewProps } from '../../views/sent/SentView';\n\n/**\n * Next.js App Router client shim for `<SentView />`. Wires\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.\n */\nexport default function SentClientView(\n props: SentViewProps = {},\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 <SentView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"2SAcA,SAAwB,EACtB,EAAuB,CAAC,EACV,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,CAAU,GAAI,CAAQ,CAAA,CACD,CAAA,CAE3B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { SentViewProps } from '../../views/sent/SentView';
|
|
3
|
-
/**
|
|
4
|
-
* Next.js App Router client shim for `<SentView />`. Wires
|
|
5
|
-
* `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.
|
|
6
|
-
*/
|
|
7
|
-
export default function SentClientView(props?: SentViewProps): ReactElement;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { t as e } from "../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
-
import { t } from "../../chunks/SentView-CdOL92Rq.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/sent/SentClientView.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=SentClientView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SentClientView.js","names":[],"sources":["../../../src/pages/sent/SentClientView.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 { SentView, type SentViewProps } from '../../views/sent/SentView';\n\n/**\n * Next.js App Router client shim for `<SentView />`. Wires\n * `next/navigation` hooks to the framework-agnostic {@link RouterAdapter}.\n */\nexport default function SentClientView(\n props: SentViewProps = {},\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 <SentView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAcA,SAAwB,EACtB,IAAuB,CAAC,GACV;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,EAAU,GAAI,EAAQ,CAAA;CACD,CAAA;AAE3B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../../chunks/SettingsNotificationsView-Bnz0CmoJ.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=SettingsNotificationsClientView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsNotificationsClientView.cjs","names":[],"sources":["../../../../src/pages/settings/notifications/SettingsNotificationsClientView.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 SettingsNotificationsView,\n type SettingsNotificationsViewProps,\n} from '../../../views/settings/notifications/SettingsNotificationsView';\n\nexport default function SettingsNotificationsClientView(\n props: SettingsNotificationsViewProps = {},\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 <SettingsNotificationsView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"kUAaA,SAAwB,EACtB,EAAwC,CAAC,EAC3B,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,CAA2B,GAAI,CAAQ,CAAA,CAClB,CAAA,CAE3B"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { t as e } from "../../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
-
import { t } from "../../../chunks/SettingsNotificationsView-B6F6fa7U.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/settings/notifications/SettingsNotificationsClientView.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=SettingsNotificationsClientView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsNotificationsClientView.js","names":[],"sources":["../../../../src/pages/settings/notifications/SettingsNotificationsClientView.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 SettingsNotificationsView,\n type SettingsNotificationsViewProps,\n} from '../../../views/settings/notifications/SettingsNotificationsView';\n\nexport default function SettingsNotificationsClientView(\n props: SettingsNotificationsViewProps = {},\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 <SettingsNotificationsView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAaA,SAAwB,EACtB,IAAwC,CAAC,GAC3B;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,EAA2B,GAAI,EAAQ,CAAA;CAClB,CAAA;AAE3B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../chunks/TemplatesView-DIOQTUUl.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=TemplatesClientView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplatesClientView.cjs","names":[],"sources":["../../../src/pages/templates/TemplatesClientView.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 TemplatesView,\n type TemplatesViewProps,\n} from '../../views/templates/TemplatesView';\n\nexport default function TemplatesClientView(\n props: TemplatesViewProps = {},\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 <TemplatesView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"gTAaA,SAAwB,EACtB,EAA4B,CAAC,EACf,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,CAAe,GAAI,CAAQ,CAAA,CACN,CAAA,CAE3B"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { t as e } from "../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
-
import { t } from "../../chunks/TemplatesView-BLj9f-XI.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/templates/TemplatesClientView.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=TemplatesClientView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplatesClientView.js","names":[],"sources":["../../../src/pages/templates/TemplatesClientView.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 TemplatesView,\n type TemplatesViewProps,\n} from '../../views/templates/TemplatesView';\n\nexport default function TemplatesClientView(\n props: TemplatesViewProps = {},\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 <TemplatesView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAaA,SAAwB,EACtB,IAA4B,CAAC,GACf;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,EAAe,GAAI,EAAQ,CAAA;CACN,CAAA;AAE3B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../../chunks/TemplateCategoriesView-U0stGUBc.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=TemplateCategoriesClientView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateCategoriesClientView.cjs","names":[],"sources":["../../../../src/pages/templates/categories/TemplateCategoriesClientView.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 TemplateCategoriesView,\n type TemplateCategoriesViewProps,\n} from '../../../views/templates/categories/TemplateCategoriesView';\n\nexport default function TemplateCategoriesClientView(\n props: TemplateCategoriesViewProps = {},\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 <TemplateCategoriesView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"+TAaA,SAAwB,EACtB,EAAqC,CAAC,EACxB,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,CAAwB,GAAI,CAAQ,CAAA,CACf,CAAA,CAE3B"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { t as e } from "../../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
-
import { t } from "../../../chunks/TemplateCategoriesView-CgZciaSd.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/templates/categories/TemplateCategoriesClientView.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=TemplateCategoriesClientView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateCategoriesClientView.js","names":[],"sources":["../../../../src/pages/templates/categories/TemplateCategoriesClientView.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 TemplateCategoriesView,\n type TemplateCategoriesViewProps,\n} from '../../../views/templates/categories/TemplateCategoriesView';\n\nexport default function TemplateCategoriesClientView(\n props: TemplateCategoriesViewProps = {},\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 <TemplateCategoriesView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAaA,SAAwB,EACtB,IAAqC,CAAC,GACxB;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,EAAwB,GAAI,EAAQ,CAAA;CACf,CAAA;AAE3B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../../chunks/TemplateDesignerView-A38DyYD4.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=TemplateDesignerClientView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateDesignerClientView.cjs","names":[],"sources":["../../../../src/pages/templates/designer/TemplateDesignerClientView.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 TemplateDesignerView,\n type TemplateDesignerViewProps,\n} from '../../../views/templates/designer/TemplateDesignerView';\n\nexport default function TemplateDesignerClientView(\n props: TemplateDesignerViewProps,\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 <TemplateDesignerView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"6TAaA,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,CAAsB,GAAI,CAAQ,CAAA,CACb,CAAA,CAE3B"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { t as e } from "../../../chunks/router-adapter-BdHZXLS3.js";
|
|
3
|
-
import { t } from "../../../chunks/TemplateDesignerView-Dffx-VZ-.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/templates/designer/TemplateDesignerClientView.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=TemplateDesignerClientView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateDesignerClientView.js","names":[],"sources":["../../../../src/pages/templates/designer/TemplateDesignerClientView.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 TemplateDesignerView,\n type TemplateDesignerViewProps,\n} from '../../../views/templates/designer/TemplateDesignerView';\n\nexport default function TemplateDesignerClientView(\n props: TemplateDesignerViewProps,\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 <TemplateDesignerView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":";;;;;;;AAaA,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,EAAsB,GAAI,EAAQ,CAAA;CACb,CAAA;AAE3B"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../../../chunks/router-adapter-BybHrCNP.cjs"),t=require("../../../chunks/TemplateVersionsView-CMqw3ieU.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=TemplateVersionsClientView.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateVersionsClientView.cjs","names":[],"sources":["../../../../src/pages/templates/versions/TemplateVersionsClientView.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 TemplateVersionsView,\n type TemplateVersionsViewProps,\n} from '../../../views/templates/versions/TemplateVersionsView';\n\nexport default function TemplateVersionsClientView(\n props: TemplateVersionsViewProps,\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 <TemplateVersionsView {...props} />\n </RouterAdapterProvider>\n );\n}\n"],"mappings":"6TAaA,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,CAAsB,GAAI,CAAQ,CAAA,CACb,CAAA,CAE3B"}
|