@baseplate-dev/plugin-auth 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts +88 -3
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts +176 -6
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts +88 -3
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts +176 -6
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts +176 -6
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts +88 -3
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts +88 -3
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +88 -3
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/common.d.ts +4 -0
- package/dist/local-auth/admin/common.d.ts.map +1 -0
- package/dist/local-auth/admin/common.js +30 -0
- package/dist/local-auth/admin/common.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +453 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +121 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +457 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js +9 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +13 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +25 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +235 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +48 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +224 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +29 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +21 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.gql +7 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +59 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +145 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +452 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +107 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +457 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js +9 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +13 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +25 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +235 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +48 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +442 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +31 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +21 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.gql +7 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +73 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +155 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +221 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +58 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts +2 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +1 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js +2 -0
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +1 -0
- package/dist/local-auth/admin/node.d.ts +8 -0
- package/dist/local-auth/admin/node.d.ts.map +1 -0
- package/dist/local-auth/admin/node.js +60 -0
- package/dist/local-auth/admin/node.js.map +1 -0
- package/dist/local-auth/admin/schema/manage-role-action.d.ts +19 -0
- package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +1 -0
- package/dist/local-auth/admin/schema/manage-role-action.js +6 -0
- package/dist/local-auth/admin/schema/manage-role-action.js.map +1 -0
- package/dist/local-auth/admin/schema/reset-password-action.d.ts +19 -0
- package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +1 -0
- package/dist/local-auth/admin/schema/reset-password-action.js +6 -0
- package/dist/local-auth/admin/schema/reset-password-action.js.map +1 -0
- package/dist/local-auth/admin/schema/roles-column.d.ts +19 -0
- package/dist/local-auth/admin/schema/roles-column.d.ts.map +1 -0
- package/dist/local-auth/admin/schema/roles-column.js +6 -0
- package/dist/local-auth/admin/schema/roles-column.js.map +1 -0
- package/dist/local-auth/admin/web.d.ts +6 -0
- package/dist/local-auth/admin/web.d.ts.map +1 -0
- package/dist/local-auth/admin/web.js +43 -0
- package/dist/local-auth/admin/web.js.map +1 -0
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js +5 -2
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +5 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +20 -5
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +4 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +8 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +40 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +47 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +31 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +97 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +133 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +9 -3
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +26 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js +2 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +1 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +52 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +28 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js +23 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.ts +26 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts +15 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js +35 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +1 -0
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +47 -0
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +88 -3
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +264 -9
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +88 -3
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +352 -12
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +176 -6
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +88 -3
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +176 -6
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +88 -3
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- package/dist/local-auth/core/node.d.ts.map +1 -1
- package/dist/local-auth/core/node.js +5 -1
- package/dist/local-auth/core/node.js.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts +3 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.js +4 -0
- package/dist/local-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/local-auth/plugin.json +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-lV5QSzvf.js → __federation_expose_auth0CoreCommon-Dd4OxG3J.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-lV5QSzvf.js.map → __federation_expose_auth0CoreCommon-Dd4OxG3J.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-5F0rTNis.js → __federation_expose_auth0CoreWeb-C_de43BE.js} +5 -5
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-5F0rTNis.js.map → __federation_expose_auth0CoreWeb-C_de43BE.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-C5cVmNCH.js → __federation_expose_authCoreCommon-BAF30G9e.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-C5cVmNCH.js.map → __federation_expose_authCoreCommon-BAF30G9e.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-CJxY8hZC.js → __federation_expose_authCoreWeb-B26BFarY.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-CJxY8hZC.js.map → __federation_expose_authCoreWeb-B26BFarY.js.map} +1 -1
- package/dist/web/assets/__federation_expose_local-authAdminCommon-DLbuTALX.js +64 -0
- package/dist/web/assets/__federation_expose_local-authAdminCommon-DLbuTALX.js.map +1 -0
- package/dist/web/assets/__federation_expose_local-authAdminWeb-bT8Js4V6.js +58 -0
- package/dist/web/assets/__federation_expose_local-authAdminWeb-bT8Js4V6.js.map +1 -0
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-Dr_ngV2l.js → __federation_expose_local-authCoreCommon-D9tovFrj.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-Dr_ngV2l.js.map → __federation_expose_local-authCoreCommon-D9tovFrj.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-B5iBudnh.js → __federation_expose_local-authCoreWeb-DKVkRzEo.js} +24 -7
- package/dist/web/assets/__federation_expose_local-authCoreWeb-DKVkRzEo.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-l8knzO7I.js → __federation_expose_placeholder-authCoreCommon-D1fszuKq.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-l8knzO7I.js.map → __federation_expose_placeholder-authCoreCommon-D1fszuKq.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js → __federation_expose_placeholder-authCoreWeb-tw3UiMLM.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-DbI_bZsk.js.map → __federation_expose_placeholder-authCoreWeb-tw3UiMLM.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-DReOsou_.js → __federation_fn_import-B_QMlAIe.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-DReOsou_.js.map → __federation_fn_import-B_QMlAIe.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BlPKO2K7.js → web-DdrB9jrq.js} +74 -6
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-DdrB9jrq.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CGEZr0YI.js → project-builder-lib-BvG5Zcxb.js} +567 -184
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-BvG5Zcxb.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-RO_rk4f0.js → ui-components-CjIA8Av2.js} +873 -624
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-CjIA8Av2.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-BbU_EX7_.js → utils-LpAGNm5N.js} +2 -2
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-BbU_EX7_.js.map → utils-LpAGNm5N.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CNTPQj7N.js → react-router-CEcQRiV1.js} +2 -2
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CNTPQj7N.js.map → react-router-CEcQRiV1.js.map} +1 -1
- package/dist/web/assets/{get-auth-plugin-definition-CQ6mWMZk.js → get-auth-plugin-definition-BrApugiB.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-CQ6mWMZk.js.map → get-auth-plugin-definition-BrApugiB.js.map} +1 -1
- package/dist/web/assets/{index-BkOJzK_m.js → index-DAcyTb_o.js} +5 -3
- package/dist/web/assets/{index-BkOJzK_m.js.map → index-DAcyTb_o.js.map} +1 -1
- package/dist/web/assets/{index.esm-UnRzlLlr.js → index.esm-BFQQfZNu.js} +2 -2
- package/dist/web/assets/{index.esm-UnRzlLlr.js.map → index.esm-BFQQfZNu.js.map} +1 -1
- package/dist/web/assets/{model-merger-BLEOsCIp.js → model-merger-boZDknXa.js} +11 -4
- package/dist/web/assets/model-merger-boZDknXa.js.map +1 -0
- package/dist/web/assets/{plugin-definition-PCHsX2lR.js → plugin-definition-B7A-hS1o.js} +2 -2
- package/dist/web/assets/{plugin-definition-PCHsX2lR.js.map → plugin-definition-B7A-hS1o.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-ChUKIqUg.js → plugin-definition-BeK0C-OP.js} +11 -2
- package/dist/web/assets/plugin-definition-BeK0C-OP.js.map +1 -0
- package/dist/web/assets/{plugin-definition-DH4QyCfv.js → plugin-definition-CyqVivit.js} +2 -2
- package/dist/web/assets/{plugin-definition-DH4QyCfv.js.map → plugin-definition-CyqVivit.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-C935Xf1h.js → plugin-definition-DfsGhMRb.js} +2 -2
- package/dist/web/assets/{plugin-definition-C935Xf1h.js.map → plugin-definition-DfsGhMRb.js.map} +1 -1
- package/dist/web/assets/{react-ecPihYHK.js → react-CKjL52W8.js} +2 -2
- package/dist/web/assets/{react-ecPihYHK.js.map → react-CKjL52W8.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +14 -8
- package/dist/web/assets/remoteEntry.js.map +1 -1
- package/dist/web/assets/{styles-I6mpdfRm.js → styles-CyTaudys.js} +3 -3
- package/dist/web/assets/{styles-I6mpdfRm.js.map → styles-CyTaudys.js.map} +1 -1
- package/package.json +12 -12
- package/dist/web/assets/__federation_expose_local-authCoreWeb-B5iBudnh.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BlPKO2K7.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CGEZr0YI.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-RO_rk4f0.js.map +0 -1
- package/dist/web/assets/model-merger-BLEOsCIp.js.map +0 -1
- package/dist/web/assets/plugin-definition-ChUKIqUg.js.map +0 -1
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
export declare const mainGroup: {
|
|
2
|
+
passwordResetDialog: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
3
|
+
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
|
+
'*': {};
|
|
5
|
+
}>>;
|
|
6
|
+
reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
7
|
+
AddOptionRequiredFields: {
|
|
8
|
+
isTypeOnly: true;
|
|
9
|
+
};
|
|
10
|
+
Alert: {};
|
|
11
|
+
AlertDescription: {};
|
|
12
|
+
AlertTitle: {};
|
|
13
|
+
Badge: {};
|
|
14
|
+
badgeVariants: {};
|
|
15
|
+
BadgeWithIcon: {};
|
|
16
|
+
BadgeWithIconProps: {
|
|
17
|
+
isTypeOnly: true;
|
|
18
|
+
};
|
|
19
|
+
Breadcrumb: {};
|
|
20
|
+
BreadcrumbEllipsis: {};
|
|
21
|
+
BreadcrumbItem: {};
|
|
22
|
+
BreadcrumbLink: {};
|
|
23
|
+
BreadcrumbList: {};
|
|
24
|
+
BreadcrumbPage: {};
|
|
25
|
+
BreadcrumbSeparator: {};
|
|
26
|
+
Button: {};
|
|
27
|
+
buttonVariants: {};
|
|
28
|
+
Calendar: {};
|
|
29
|
+
Card: {};
|
|
30
|
+
CardContent: {};
|
|
31
|
+
CardDescription: {};
|
|
32
|
+
CardFooter: {};
|
|
33
|
+
CardHeader: {};
|
|
34
|
+
CardTitle: {};
|
|
35
|
+
Checkbox: {};
|
|
36
|
+
CheckboxField: {};
|
|
37
|
+
CheckboxFieldController: {};
|
|
38
|
+
CheckedInput: {};
|
|
39
|
+
CircularProgress: {};
|
|
40
|
+
cn: {};
|
|
41
|
+
Combobox: {};
|
|
42
|
+
ComboboxField: {};
|
|
43
|
+
ComboboxFieldController: {};
|
|
44
|
+
Command: {};
|
|
45
|
+
CommandDialog: {};
|
|
46
|
+
CommandEmpty: {};
|
|
47
|
+
CommandGroup: {};
|
|
48
|
+
CommandInput: {};
|
|
49
|
+
CommandItem: {};
|
|
50
|
+
CommandList: {};
|
|
51
|
+
CommandSeparator: {};
|
|
52
|
+
CommandShortcut: {};
|
|
53
|
+
ConfirmDialog: {};
|
|
54
|
+
DatePickerField: {};
|
|
55
|
+
DatePickerFieldController: {};
|
|
56
|
+
DateTimePickerField: {};
|
|
57
|
+
DateTimePickerFieldController: {};
|
|
58
|
+
Dialog: {};
|
|
59
|
+
DialogClose: {};
|
|
60
|
+
DialogContent: {};
|
|
61
|
+
DialogDescription: {};
|
|
62
|
+
DialogFooter: {};
|
|
63
|
+
DialogHeader: {};
|
|
64
|
+
DialogOverlay: {};
|
|
65
|
+
DialogPortal: {};
|
|
66
|
+
DialogTitle: {};
|
|
67
|
+
DialogTrigger: {};
|
|
68
|
+
DialogWidth: {
|
|
69
|
+
isTypeOnly: true;
|
|
70
|
+
};
|
|
71
|
+
DropdownMenu: {};
|
|
72
|
+
DropdownMenuCheckboxItem: {};
|
|
73
|
+
DropdownMenuContent: {};
|
|
74
|
+
DropdownMenuGroup: {};
|
|
75
|
+
DropdownMenuItem: {};
|
|
76
|
+
DropdownMenuLabel: {};
|
|
77
|
+
DropdownMenuPortal: {};
|
|
78
|
+
DropdownMenuRadioGroup: {};
|
|
79
|
+
DropdownMenuRadioItem: {};
|
|
80
|
+
DropdownMenuSeparator: {};
|
|
81
|
+
DropdownMenuShortcut: {};
|
|
82
|
+
DropdownMenuSub: {};
|
|
83
|
+
DropdownMenuSubContent: {};
|
|
84
|
+
DropdownMenuSubTrigger: {};
|
|
85
|
+
DropdownMenuTrigger: {};
|
|
86
|
+
EmptyDisplay: {};
|
|
87
|
+
ErrorableLoader: {};
|
|
88
|
+
ErrorDisplay: {};
|
|
89
|
+
FormControl: {};
|
|
90
|
+
FormDescription: {};
|
|
91
|
+
FormFieldProps: {
|
|
92
|
+
isTypeOnly: true;
|
|
93
|
+
};
|
|
94
|
+
FormItem: {};
|
|
95
|
+
FormLabel: {};
|
|
96
|
+
FormMessage: {};
|
|
97
|
+
IconElement: {
|
|
98
|
+
isTypeOnly: true;
|
|
99
|
+
};
|
|
100
|
+
Input: {};
|
|
101
|
+
InputField: {};
|
|
102
|
+
InputFieldController: {};
|
|
103
|
+
inputVariants: {};
|
|
104
|
+
Label: {};
|
|
105
|
+
LinkButton: {};
|
|
106
|
+
Loader: {};
|
|
107
|
+
mergeRefs: {};
|
|
108
|
+
Modal: {};
|
|
109
|
+
MultiCombobox: {};
|
|
110
|
+
MultiComboboxContent: {};
|
|
111
|
+
MultiComboboxEmpty: {};
|
|
112
|
+
MultiComboboxField: {};
|
|
113
|
+
MultiComboboxFieldController: {};
|
|
114
|
+
MultiComboboxFieldProps: {
|
|
115
|
+
isTypeOnly: true;
|
|
116
|
+
};
|
|
117
|
+
MultiComboboxGroup: {};
|
|
118
|
+
MultiComboboxInput: {};
|
|
119
|
+
MultiComboboxItem: {};
|
|
120
|
+
MultiSelectOptionProps: {
|
|
121
|
+
isTypeOnly: true;
|
|
122
|
+
};
|
|
123
|
+
NavigationMenu: {};
|
|
124
|
+
NavigationMenuContent: {};
|
|
125
|
+
NavigationMenuIndicator: {};
|
|
126
|
+
NavigationMenuItem: {};
|
|
127
|
+
NavigationMenuItemWithLink: {};
|
|
128
|
+
NavigationMenuLink: {};
|
|
129
|
+
NavigationMenuList: {};
|
|
130
|
+
NavigationMenuTrigger: {};
|
|
131
|
+
navigationMenuTriggerStyle: {};
|
|
132
|
+
NavigationMenuViewport: {};
|
|
133
|
+
NotFoundCard: {};
|
|
134
|
+
Popover: {};
|
|
135
|
+
PopoverAnchor: {};
|
|
136
|
+
PopoverContent: {};
|
|
137
|
+
PopoverTrigger: {};
|
|
138
|
+
ReactDatePickerInput: {};
|
|
139
|
+
ReactSelectInput: {};
|
|
140
|
+
ScrollArea: {};
|
|
141
|
+
Select: {};
|
|
142
|
+
selectCheckVariants: {};
|
|
143
|
+
selectContentVariants: {};
|
|
144
|
+
SelectField: {};
|
|
145
|
+
SelectFieldController: {};
|
|
146
|
+
SelectInput: {};
|
|
147
|
+
selectItemVariants: {};
|
|
148
|
+
SelectOptionProps: {
|
|
149
|
+
isTypeOnly: true;
|
|
150
|
+
};
|
|
151
|
+
selectTriggerVariants: {};
|
|
152
|
+
Separator: {};
|
|
153
|
+
Sheet: {};
|
|
154
|
+
SheetClose: {};
|
|
155
|
+
SheetContent: {};
|
|
156
|
+
SheetDescription: {};
|
|
157
|
+
SheetFooter: {};
|
|
158
|
+
SheetHeader: {};
|
|
159
|
+
SheetTitle: {};
|
|
160
|
+
SheetTrigger: {};
|
|
161
|
+
Sidebar: {};
|
|
162
|
+
SidebarContent: {};
|
|
163
|
+
SidebarFooter: {};
|
|
164
|
+
SidebarGroup: {};
|
|
165
|
+
SidebarGroupAction: {};
|
|
166
|
+
SidebarGroupContent: {};
|
|
167
|
+
SidebarGroupLabel: {};
|
|
168
|
+
SidebarHeader: {};
|
|
169
|
+
SidebarInput: {};
|
|
170
|
+
SidebarInset: {};
|
|
171
|
+
SidebarMenu: {};
|
|
172
|
+
SidebarMenuAction: {};
|
|
173
|
+
SidebarMenuBadge: {};
|
|
174
|
+
SidebarMenuButton: {};
|
|
175
|
+
SidebarMenuItem: {};
|
|
176
|
+
SidebarMenuSkeleton: {};
|
|
177
|
+
SidebarMenuSub: {};
|
|
178
|
+
SidebarMenuSubButton: {};
|
|
179
|
+
SidebarMenuSubItem: {};
|
|
180
|
+
SidebarProvider: {};
|
|
181
|
+
SidebarRail: {};
|
|
182
|
+
SidebarSeparator: {};
|
|
183
|
+
SidebarTrigger: {};
|
|
184
|
+
Skeleton: {};
|
|
185
|
+
Switch: {};
|
|
186
|
+
SwitchField: {};
|
|
187
|
+
SwitchFieldController: {};
|
|
188
|
+
Table: {};
|
|
189
|
+
TableBody: {};
|
|
190
|
+
TableCaption: {};
|
|
191
|
+
TableCell: {};
|
|
192
|
+
TableFooter: {};
|
|
193
|
+
TableHead: {};
|
|
194
|
+
TableHeader: {};
|
|
195
|
+
TableRow: {};
|
|
196
|
+
Textarea: {};
|
|
197
|
+
TextareaField: {};
|
|
198
|
+
TextareaFieldController: {};
|
|
199
|
+
TextAreaInput: {};
|
|
200
|
+
TextInput: {};
|
|
201
|
+
Toaster: {};
|
|
202
|
+
Tooltip: {};
|
|
203
|
+
TooltipContent: {};
|
|
204
|
+
TooltipProvider: {};
|
|
205
|
+
TooltipTrigger: {};
|
|
206
|
+
useConfirmDialog: {};
|
|
207
|
+
UseConfirmDialogRequestOptions: {
|
|
208
|
+
isTypeOnly: true;
|
|
209
|
+
};
|
|
210
|
+
useConfirmDialogState: {};
|
|
211
|
+
useControlledState: {};
|
|
212
|
+
useControllerMerged: {};
|
|
213
|
+
useIsMobile: {};
|
|
214
|
+
useMultiComboboxContext: {};
|
|
215
|
+
useSidebar: {};
|
|
216
|
+
}>>;
|
|
217
|
+
}, Record<never, Record<never, never>>>;
|
|
218
|
+
};
|
|
219
|
+
export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES: {
|
|
220
|
+
mainGroup: {
|
|
221
|
+
passwordResetDialog: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
222
|
+
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
223
|
+
'*': {};
|
|
224
|
+
}>>;
|
|
225
|
+
reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
226
|
+
AddOptionRequiredFields: {
|
|
227
|
+
isTypeOnly: true;
|
|
228
|
+
};
|
|
229
|
+
Alert: {};
|
|
230
|
+
AlertDescription: {};
|
|
231
|
+
AlertTitle: {};
|
|
232
|
+
Badge: {};
|
|
233
|
+
badgeVariants: {};
|
|
234
|
+
BadgeWithIcon: {};
|
|
235
|
+
BadgeWithIconProps: {
|
|
236
|
+
isTypeOnly: true;
|
|
237
|
+
};
|
|
238
|
+
Breadcrumb: {};
|
|
239
|
+
BreadcrumbEllipsis: {};
|
|
240
|
+
BreadcrumbItem: {};
|
|
241
|
+
BreadcrumbLink: {};
|
|
242
|
+
BreadcrumbList: {};
|
|
243
|
+
BreadcrumbPage: {};
|
|
244
|
+
BreadcrumbSeparator: {};
|
|
245
|
+
Button: {};
|
|
246
|
+
buttonVariants: {};
|
|
247
|
+
Calendar: {};
|
|
248
|
+
Card: {};
|
|
249
|
+
CardContent: {};
|
|
250
|
+
CardDescription: {};
|
|
251
|
+
CardFooter: {};
|
|
252
|
+
CardHeader: {};
|
|
253
|
+
CardTitle: {};
|
|
254
|
+
Checkbox: {};
|
|
255
|
+
CheckboxField: {};
|
|
256
|
+
CheckboxFieldController: {};
|
|
257
|
+
CheckedInput: {};
|
|
258
|
+
CircularProgress: {};
|
|
259
|
+
cn: {};
|
|
260
|
+
Combobox: {};
|
|
261
|
+
ComboboxField: {};
|
|
262
|
+
ComboboxFieldController: {};
|
|
263
|
+
Command: {};
|
|
264
|
+
CommandDialog: {};
|
|
265
|
+
CommandEmpty: {};
|
|
266
|
+
CommandGroup: {};
|
|
267
|
+
CommandInput: {};
|
|
268
|
+
CommandItem: {};
|
|
269
|
+
CommandList: {};
|
|
270
|
+
CommandSeparator: {};
|
|
271
|
+
CommandShortcut: {};
|
|
272
|
+
ConfirmDialog: {};
|
|
273
|
+
DatePickerField: {};
|
|
274
|
+
DatePickerFieldController: {};
|
|
275
|
+
DateTimePickerField: {};
|
|
276
|
+
DateTimePickerFieldController: {};
|
|
277
|
+
Dialog: {};
|
|
278
|
+
DialogClose: {};
|
|
279
|
+
DialogContent: {};
|
|
280
|
+
DialogDescription: {};
|
|
281
|
+
DialogFooter: {};
|
|
282
|
+
DialogHeader: {};
|
|
283
|
+
DialogOverlay: {};
|
|
284
|
+
DialogPortal: {};
|
|
285
|
+
DialogTitle: {};
|
|
286
|
+
DialogTrigger: {};
|
|
287
|
+
DialogWidth: {
|
|
288
|
+
isTypeOnly: true;
|
|
289
|
+
};
|
|
290
|
+
DropdownMenu: {};
|
|
291
|
+
DropdownMenuCheckboxItem: {};
|
|
292
|
+
DropdownMenuContent: {};
|
|
293
|
+
DropdownMenuGroup: {};
|
|
294
|
+
DropdownMenuItem: {};
|
|
295
|
+
DropdownMenuLabel: {};
|
|
296
|
+
DropdownMenuPortal: {};
|
|
297
|
+
DropdownMenuRadioGroup: {};
|
|
298
|
+
DropdownMenuRadioItem: {};
|
|
299
|
+
DropdownMenuSeparator: {};
|
|
300
|
+
DropdownMenuShortcut: {};
|
|
301
|
+
DropdownMenuSub: {};
|
|
302
|
+
DropdownMenuSubContent: {};
|
|
303
|
+
DropdownMenuSubTrigger: {};
|
|
304
|
+
DropdownMenuTrigger: {};
|
|
305
|
+
EmptyDisplay: {};
|
|
306
|
+
ErrorableLoader: {};
|
|
307
|
+
ErrorDisplay: {};
|
|
308
|
+
FormControl: {};
|
|
309
|
+
FormDescription: {};
|
|
310
|
+
FormFieldProps: {
|
|
311
|
+
isTypeOnly: true;
|
|
312
|
+
};
|
|
313
|
+
FormItem: {};
|
|
314
|
+
FormLabel: {};
|
|
315
|
+
FormMessage: {};
|
|
316
|
+
IconElement: {
|
|
317
|
+
isTypeOnly: true;
|
|
318
|
+
};
|
|
319
|
+
Input: {};
|
|
320
|
+
InputField: {};
|
|
321
|
+
InputFieldController: {};
|
|
322
|
+
inputVariants: {};
|
|
323
|
+
Label: {};
|
|
324
|
+
LinkButton: {};
|
|
325
|
+
Loader: {};
|
|
326
|
+
mergeRefs: {};
|
|
327
|
+
Modal: {};
|
|
328
|
+
MultiCombobox: {};
|
|
329
|
+
MultiComboboxContent: {};
|
|
330
|
+
MultiComboboxEmpty: {};
|
|
331
|
+
MultiComboboxField: {};
|
|
332
|
+
MultiComboboxFieldController: {};
|
|
333
|
+
MultiComboboxFieldProps: {
|
|
334
|
+
isTypeOnly: true;
|
|
335
|
+
};
|
|
336
|
+
MultiComboboxGroup: {};
|
|
337
|
+
MultiComboboxInput: {};
|
|
338
|
+
MultiComboboxItem: {};
|
|
339
|
+
MultiSelectOptionProps: {
|
|
340
|
+
isTypeOnly: true;
|
|
341
|
+
};
|
|
342
|
+
NavigationMenu: {};
|
|
343
|
+
NavigationMenuContent: {};
|
|
344
|
+
NavigationMenuIndicator: {};
|
|
345
|
+
NavigationMenuItem: {};
|
|
346
|
+
NavigationMenuItemWithLink: {};
|
|
347
|
+
NavigationMenuLink: {};
|
|
348
|
+
NavigationMenuList: {};
|
|
349
|
+
NavigationMenuTrigger: {};
|
|
350
|
+
navigationMenuTriggerStyle: {};
|
|
351
|
+
NavigationMenuViewport: {};
|
|
352
|
+
NotFoundCard: {};
|
|
353
|
+
Popover: {};
|
|
354
|
+
PopoverAnchor: {};
|
|
355
|
+
PopoverContent: {};
|
|
356
|
+
PopoverTrigger: {};
|
|
357
|
+
ReactDatePickerInput: {};
|
|
358
|
+
ReactSelectInput: {};
|
|
359
|
+
ScrollArea: {};
|
|
360
|
+
Select: {};
|
|
361
|
+
selectCheckVariants: {};
|
|
362
|
+
selectContentVariants: {};
|
|
363
|
+
SelectField: {};
|
|
364
|
+
SelectFieldController: {};
|
|
365
|
+
SelectInput: {};
|
|
366
|
+
selectItemVariants: {};
|
|
367
|
+
SelectOptionProps: {
|
|
368
|
+
isTypeOnly: true;
|
|
369
|
+
};
|
|
370
|
+
selectTriggerVariants: {};
|
|
371
|
+
Separator: {};
|
|
372
|
+
Sheet: {};
|
|
373
|
+
SheetClose: {};
|
|
374
|
+
SheetContent: {};
|
|
375
|
+
SheetDescription: {};
|
|
376
|
+
SheetFooter: {};
|
|
377
|
+
SheetHeader: {};
|
|
378
|
+
SheetTitle: {};
|
|
379
|
+
SheetTrigger: {};
|
|
380
|
+
Sidebar: {};
|
|
381
|
+
SidebarContent: {};
|
|
382
|
+
SidebarFooter: {};
|
|
383
|
+
SidebarGroup: {};
|
|
384
|
+
SidebarGroupAction: {};
|
|
385
|
+
SidebarGroupContent: {};
|
|
386
|
+
SidebarGroupLabel: {};
|
|
387
|
+
SidebarHeader: {};
|
|
388
|
+
SidebarInput: {};
|
|
389
|
+
SidebarInset: {};
|
|
390
|
+
SidebarMenu: {};
|
|
391
|
+
SidebarMenuAction: {};
|
|
392
|
+
SidebarMenuBadge: {};
|
|
393
|
+
SidebarMenuButton: {};
|
|
394
|
+
SidebarMenuItem: {};
|
|
395
|
+
SidebarMenuSkeleton: {};
|
|
396
|
+
SidebarMenuSub: {};
|
|
397
|
+
SidebarMenuSubButton: {};
|
|
398
|
+
SidebarMenuSubItem: {};
|
|
399
|
+
SidebarProvider: {};
|
|
400
|
+
SidebarRail: {};
|
|
401
|
+
SidebarSeparator: {};
|
|
402
|
+
SidebarTrigger: {};
|
|
403
|
+
Skeleton: {};
|
|
404
|
+
Switch: {};
|
|
405
|
+
SwitchField: {};
|
|
406
|
+
SwitchFieldController: {};
|
|
407
|
+
Table: {};
|
|
408
|
+
TableBody: {};
|
|
409
|
+
TableCaption: {};
|
|
410
|
+
TableCell: {};
|
|
411
|
+
TableFooter: {};
|
|
412
|
+
TableHead: {};
|
|
413
|
+
TableHeader: {};
|
|
414
|
+
TableRow: {};
|
|
415
|
+
Textarea: {};
|
|
416
|
+
TextareaField: {};
|
|
417
|
+
TextareaFieldController: {};
|
|
418
|
+
TextAreaInput: {};
|
|
419
|
+
TextInput: {};
|
|
420
|
+
Toaster: {};
|
|
421
|
+
Tooltip: {};
|
|
422
|
+
TooltipContent: {};
|
|
423
|
+
TooltipProvider: {};
|
|
424
|
+
TooltipTrigger: {};
|
|
425
|
+
useConfirmDialog: {};
|
|
426
|
+
UseConfirmDialogRequestOptions: {
|
|
427
|
+
isTypeOnly: true;
|
|
428
|
+
};
|
|
429
|
+
useConfirmDialogState: {};
|
|
430
|
+
useControlledState: {};
|
|
431
|
+
useControllerMerged: {};
|
|
432
|
+
useIsMobile: {};
|
|
433
|
+
useMultiComboboxContext: {};
|
|
434
|
+
useSidebar: {};
|
|
435
|
+
}>>;
|
|
436
|
+
}, Record<never, Record<never, never>>>;
|
|
437
|
+
};
|
|
438
|
+
passwordResetDialogGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
|
|
439
|
+
TPL_USER_ROW_FRAGMENT: {};
|
|
440
|
+
}>;
|
|
441
|
+
};
|
|
442
|
+
//# sourceMappingURL=typed-templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAC;AAcjD,eAAO,MAAM,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createTextTemplateFile, createTsTemplateFile, } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { generatedGraphqlImportsProvider, reactComponentsImportsProvider, } from '@baseplate-dev/react-generators';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
const passwordResetDialog = createTsTemplateFile({
|
|
5
|
+
fileOptions: { kind: 'singleton' },
|
|
6
|
+
group: 'main',
|
|
7
|
+
importMapProviders: {
|
|
8
|
+
generatedGraphqlImports: generatedGraphqlImportsProvider,
|
|
9
|
+
reactComponentsImports: reactComponentsImportsProvider,
|
|
10
|
+
},
|
|
11
|
+
name: 'password-reset-dialog',
|
|
12
|
+
projectExports: {},
|
|
13
|
+
source: {
|
|
14
|
+
path: path.join(import.meta.dirname, '../templates/routes/-components/password-reset-dialog.tsx'),
|
|
15
|
+
},
|
|
16
|
+
variables: {},
|
|
17
|
+
});
|
|
18
|
+
export const mainGroup = { passwordResetDialog };
|
|
19
|
+
const passwordResetDialogGql = createTextTemplateFile({
|
|
20
|
+
fileOptions: { kind: 'singleton' },
|
|
21
|
+
name: 'password-reset-dialog-gql',
|
|
22
|
+
source: {
|
|
23
|
+
path: path.join(import.meta.dirname, '../templates/routes/-components/password-reset-dialog.gql'),
|
|
24
|
+
},
|
|
25
|
+
variables: { TPL_USER_ROW_FRAGMENT: {} },
|
|
26
|
+
});
|
|
27
|
+
export const LOCAL_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATES = {
|
|
28
|
+
mainGroup,
|
|
29
|
+
passwordResetDialogGql,
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=typed-templates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;IAC/C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,MAAM;IACb,kBAAkB,EAAE;QAClB,uBAAuB,EAAE,+BAA+B;QACxD,sBAAsB,EAAE,8BAA8B;KACvD;IACD,IAAI,EAAE,uBAAuB;IAC7B,cAAc,EAAE,EAAE;IAClB,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,2DAA2D,CAC5D;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,EAAE,mBAAmB,EAAE,CAAC;AAEjD,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;IACpD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,IAAI,EAAE,2BAA2B;IACjC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,2DAA2D,CAC5D;KACF;IACD,SAAS,EAAE,EAAE,qBAAqB,EAAE,EAAE,EAAE;CACzC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2DAA2D,GAAG;IACzE,SAAS;IACT,sBAAsB;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-reset-password-action/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-reset-password-action/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { UserRowFragment } from '%generatedGraphqlImports';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
interface PasswordResetDialogProps {
|
|
4
|
+
user: UserRowFragment;
|
|
5
|
+
open: boolean;
|
|
6
|
+
onOpenChange: (open: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Dialog for resetting a user's password.
|
|
10
|
+
* Allows admins to set a new password for any user without requiring the current password.
|
|
11
|
+
* Self-contained component that handles its own mutation logic.
|
|
12
|
+
*
|
|
13
|
+
* @param props - The component props
|
|
14
|
+
* @param props.user - The user whose password is being reset
|
|
15
|
+
* @param props.open - Whether the dialog is open
|
|
16
|
+
* @param props.onOpenChange - Callback when dialog open state changes
|
|
17
|
+
* @returns The password reset dialog component
|
|
18
|
+
*/
|
|
19
|
+
export declare function PasswordResetDialog({ user, open, onOpenChange, }: PasswordResetDialogProps): ReactElement;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=password-reset-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-reset-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA2C1C,UAAU,wBAAwB;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,IAAI,EACJ,YAAY,GACb,EAAE,wBAAwB,GAAG,YAAY,CAuFzC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { GetUsersDocument, ResetUserPasswordDocument, } from '%generatedGraphqlImports';
|
|
3
|
+
import { Button, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, InputFieldController, } from '%reactComponentsImports';
|
|
4
|
+
import { useMutation } from '@apollo/client';
|
|
5
|
+
import { zodResolver } from '@hookform/resolvers/zod';
|
|
6
|
+
import { useState } from 'react';
|
|
7
|
+
import { useForm } from 'react-hook-form';
|
|
8
|
+
import { toast } from 'sonner';
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
const PASSWORD_MIN_LENGTH = 8;
|
|
11
|
+
const passwordResetSchema = z
|
|
12
|
+
.object({
|
|
13
|
+
newPassword: z
|
|
14
|
+
.string()
|
|
15
|
+
.min(PASSWORD_MIN_LENGTH, `Password must be at least ${PASSWORD_MIN_LENGTH} characters`)
|
|
16
|
+
.max(255, 'Password is too long'),
|
|
17
|
+
confirmPassword: z.string(),
|
|
18
|
+
})
|
|
19
|
+
.refine((data) => data.newPassword === data.confirmPassword, {
|
|
20
|
+
message: "Passwords don't match",
|
|
21
|
+
path: ['confirmPassword'],
|
|
22
|
+
});
|
|
23
|
+
/**
|
|
24
|
+
* Dialog for resetting a user's password.
|
|
25
|
+
* Allows admins to set a new password for any user without requiring the current password.
|
|
26
|
+
* Self-contained component that handles its own mutation logic.
|
|
27
|
+
*
|
|
28
|
+
* @param props - The component props
|
|
29
|
+
* @param props.user - The user whose password is being reset
|
|
30
|
+
* @param props.open - Whether the dialog is open
|
|
31
|
+
* @param props.onOpenChange - Callback when dialog open state changes
|
|
32
|
+
* @returns The password reset dialog component
|
|
33
|
+
*/
|
|
34
|
+
export function PasswordResetDialog({ user, open, onOpenChange, }) {
|
|
35
|
+
const [isSaving, setIsSaving] = useState(false);
|
|
36
|
+
const [resetUserPassword] = useMutation(ResetUserPasswordDocument, {
|
|
37
|
+
refetchQueries: [{ query: GetUsersDocument }],
|
|
38
|
+
});
|
|
39
|
+
const form = useForm({
|
|
40
|
+
resolver: zodResolver(passwordResetSchema),
|
|
41
|
+
defaultValues: {
|
|
42
|
+
newPassword: '',
|
|
43
|
+
confirmPassword: '',
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
const handleSubmit = async (data) => {
|
|
47
|
+
setIsSaving(true);
|
|
48
|
+
try {
|
|
49
|
+
await resetUserPassword({
|
|
50
|
+
variables: {
|
|
51
|
+
input: {
|
|
52
|
+
userId: user.id,
|
|
53
|
+
newPassword: data.newPassword,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
toast.success('Password reset successfully');
|
|
58
|
+
onOpenChange(false);
|
|
59
|
+
form.reset();
|
|
60
|
+
}
|
|
61
|
+
catch {
|
|
62
|
+
toast.error('Failed to reset password');
|
|
63
|
+
}
|
|
64
|
+
finally {
|
|
65
|
+
setIsSaving(false);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
return (_jsx(Dialog, { open: open, onOpenChange: onOpenChange, children: _jsxs(DialogContent, { className: "sm:max-w-[425px]", children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: "Reset Password" }), _jsxs(DialogDescription, { children: ["Set a new password for ", user.name ?? user.email] })] }), _jsxs("form", { onSubmit: form.handleSubmit(handleSubmit), children: [_jsxs("div", { className: "space-y-4 py-4", children: [_jsx(InputFieldController, { control: form.control, name: "newPassword", label: "New Password", type: "password", placeholder: "Enter new password", description: `Must be at least ${PASSWORD_MIN_LENGTH} characters`, autoComplete: "off" }), _jsx(InputFieldController, { control: form.control, name: "confirmPassword", label: "Confirm Password", type: "password", placeholder: "Confirm new password", autoComplete: "off" })] }), _jsxs(DialogFooter, { children: [_jsx(Button, { type: "button", variant: "outline", onClick: () => {
|
|
69
|
+
onOpenChange(false);
|
|
70
|
+
form.reset();
|
|
71
|
+
}, children: "Cancel" }), _jsx(Button, { type: "submit", disabled: isSaving, children: "Reset Password" })] })] })] }) }));
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=password-reset-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-reset-dialog.js","sourceRoot":"","sources":["../../../../../../../../src/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx"],"names":[],"mappings":"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"}
|