@baseplate-dev/plugin-auth 0.6.8 → 0.6.10
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/CHANGELOG.md +38 -0
- package/dist/auth/core/web.js +31 -2
- package/dist/better-auth/constants/packages.d.ts +1 -1
- package/dist/better-auth/constants/packages.js +1 -1
- package/dist/better-auth/core/web.js +15 -2
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +0 -1
- package/dist/local-auth/core/web.js +15 -2
- package/dist/placeholder-auth/core/web.js +13 -2
- package/dist/web/assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ClIdhDoz.js +218 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.mjs-DMKuehfC.js +100 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.mjs-D-Ap1aU9.js +38 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.mjs-BwkXxd-B.js +38 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__-D-_Nu6mi.js +2 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.mjs-CCE3BH4R.js +7061 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__-Bed38hA6.js +3 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react_mf_2_dom__loadShare__-Bixm3Wfj.js +2 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__-BArWH8PX.js +2 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.mjs-BalS-ZNe.js +13533 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild__-C01b4AWM.js +2 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react__prebuild__-D4n2cb00.js +3 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-BkswA-5f.js +2 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_2_dom__prebuild__-CiX5bkAg.js +2 -0
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__zod__prebuild__-BnF6dd62.js +2 -0
- package/dist/web/assets/auth-B91ghZtH.js +1 -0
- package/dist/web/assets/common-C7yhhy8-.js +39 -0
- package/dist/web/assets/common-DiDohcsR.js +37 -0
- package/dist/web/assets/common-DpbhYjND.js +39 -0
- package/dist/web/assets/common-DsAJIAWm.js +63 -0
- package/dist/web/assets/common-ERn8TuKQ.js +37 -0
- package/dist/web/assets/common-KNIYXbku.js +18 -0
- package/dist/web/assets/dist-B0GpYPx6.js +18145 -0
- package/dist/web/assets/dist-BhvYza4J.js +69565 -0
- package/dist/web/assets/dist-CEUHjZe8.js +3017 -0
- package/dist/web/assets/get-auth-plugin-definition-Bu_lkrUz.js +14 -0
- package/dist/web/assets/hostInit-BeM6xnlw.js +72 -0
- package/dist/web/assets/index-D5GoD4M0.js +2 -0
- package/dist/web/assets/index.esm-iUXrvsTx.js +2003 -0
- package/dist/web/assets/md-BLjaL5ZD.js +439 -0
- package/dist/web/assets/model-names-BluImOzu.js +27 -0
- package/dist/web/assets/model-names-CUS5rSei.js +12 -0
- package/dist/web/assets/model-utils-BPfI0c3Y.js +1287 -0
- package/dist/web/assets/models-BTYxwDyB.js +304 -0
- package/dist/web/assets/models-BufWBHGv.js +285 -0
- package/dist/web/assets/plugin-definition-BTHzuXv5.js +78 -0
- package/dist/web/assets/plugin-definition-D5s4GTfd.js +11 -0
- package/dist/web/assets/react-B4hMnLhV.js +49 -0
- package/dist/web/assets/rolldown-runtime-_TIqcEvS.js +35 -0
- package/dist/web/assets/stringify-pretty-stable-ByfjYf8u.js +155 -0
- package/dist/web/assets/styles-BpmWykfT.js +174 -0
- package/dist/web/assets/{style-DiK_rD1L.css → styles-CAm3HyKx.css} +1 -1
- package/dist/web/assets/virtualExposes-Bru0eAhP.js +2 -0
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-DK03x1PZ.js +270 -0
- package/dist/web/assets/virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DBiKf3iL.js +168 -0
- package/dist/web/assets/web-BUa3uD-P.js +400 -0
- package/dist/web/assets/web-BmHd5WWD.js +124 -0
- package/dist/web/assets/web-CgosRRUN.js +119 -0
- package/dist/web/assets/web-DhTqWxxL.js +46 -0
- package/dist/web/assets/web-DlJyNEbj.js +357 -0
- package/dist/web/assets/web-ffSErgfF.js +46 -0
- package/dist/web/assets/web-nADEuz1b.js +107 -0
- package/dist/web/index.html +1 -1
- package/dist/web/mf-entry-bootstrap-0.js +17 -0
- package/dist/web/remoteEntry.js +2 -0
- package/package.json +23 -20
- package/dist/auth/core/common.d.ts.map +0 -1
- package/dist/auth/core/common.js.map +0 -1
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +0 -1
- package/dist/auth/core/components/auth-definition-editor.js.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-editor-form.d.ts.map +0 -1
- package/dist/auth/core/components/role-editor-form/role-editor-form.js.map +0 -1
- package/dist/auth/core/node.d.ts.map +0 -1
- package/dist/auth/core/node.js.map +0 -1
- package/dist/auth/core/schema/migrations.d.ts.map +0 -1
- package/dist/auth/core/schema/migrations.js.map +0 -1
- package/dist/auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/auth/core/schema/roles/constants.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/constants.js.map +0 -1
- package/dist/auth/core/schema/roles/index.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/index.js.map +0 -1
- package/dist/auth/core/schema/roles/schema.d.ts.map +0 -1
- package/dist/auth/core/schema/roles/schema.js.map +0 -1
- package/dist/auth/core/web.d.ts.map +0 -1
- package/dist/auth/core/web.js.map +0 -1
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/utils/get-auth-plugin-definition.d.ts.map +0 -1
- package/dist/auth/utils/get-auth-plugin-definition.js.map +0 -1
- package/dist/auth/utils/index.d.ts.map +0 -1
- package/dist/auth/utils/index.js.map +0 -1
- package/dist/better-auth/admin/common.d.ts.map +0 -1
- package/dist/better-auth/admin/common.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
- package/dist/better-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
- package/dist/better-auth/admin/node.d.ts.map +0 -1
- package/dist/better-auth/admin/node.js.map +0 -1
- package/dist/better-auth/admin/schema/manage-role-action.d.ts.map +0 -1
- package/dist/better-auth/admin/schema/manage-role-action.js.map +0 -1
- package/dist/better-auth/admin/schema/reset-password-action.d.ts.map +0 -1
- package/dist/better-auth/admin/schema/reset-password-action.js.map +0 -1
- package/dist/better-auth/admin/schema/roles-column.d.ts.map +0 -1
- package/dist/better-auth/admin/schema/roles-column.js.map +0 -1
- package/dist/better-auth/admin/web.d.ts.map +0 -1
- package/dist/better-auth/admin/web.js.map +0 -1
- package/dist/better-auth/constants/model-names.d.ts.map +0 -1
- package/dist/better-auth/constants/model-names.js.map +0 -1
- package/dist/better-auth/constants/packages.d.ts.map +0 -1
- package/dist/better-auth/constants/packages.js.map +0 -1
- package/dist/better-auth/core/common.d.ts.map +0 -1
- package/dist/better-auth/core/common.js.map +0 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.d.ts.map +0 -1
- package/dist/better-auth/core/components/better-auth-definition-editor.js.map +0 -1
- package/dist/better-auth/core/index.d.ts.map +0 -1
- package/dist/better-auth/core/index.js.map +0 -1
- package/dist/better-auth/core/node.d.ts.map +0 -1
- package/dist/better-auth/core/node.js.map +0 -1
- package/dist/better-auth/core/schema/models.d.ts.map +0 -1
- package/dist/better-auth/core/schema/models.js.map +0 -1
- package/dist/better-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/better-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/better-auth/core/schema/schema-issue-checker.d.ts.map +0 -1
- package/dist/better-auth/core/schema/schema-issue-checker.js.map +0 -1
- package/dist/better-auth/core/web.d.ts.map +0 -1
- package/dist/better-auth/core/web.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/better-auth-admin-module.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-admin-module/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/better-auth-email-templates.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-email-templates/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/better-auth-module/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/index.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/index.js.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js.map +0 -1
- package/dist/better-auth/generators/index.d.ts.map +0 -1
- package/dist/better-auth/generators/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/better-auth-hooks.generator.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-hooks/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/better-auth-pages/index.js.map +0 -1
- package/dist/better-auth/generators/react/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-paths.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/ts-import-providers.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/index.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/index.js.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +0 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.js.map +0 -1
- package/dist/better-auth/index.d.ts.map +0 -1
- package/dist/better-auth/index.js.map +0 -1
- package/dist/common/components/auth-config-tabs.d.ts.map +0 -1
- package/dist/common/components/auth-config-tabs.js.map +0 -1
- package/dist/local-auth/admin/common.d.ts.map +0 -1
- package/dist/local-auth/admin/common.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/index.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.d.ts.map +0 -1
- package/dist/local-auth/admin/generators/admin-crud-roles-column/index.js.map +0 -1
- package/dist/local-auth/admin/node.d.ts.map +0 -1
- package/dist/local-auth/admin/node.js.map +0 -1
- package/dist/local-auth/admin/schema/manage-role-action.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/manage-role-action.js.map +0 -1
- package/dist/local-auth/admin/schema/reset-password-action.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/reset-password-action.js.map +0 -1
- package/dist/local-auth/admin/schema/roles-column.d.ts.map +0 -1
- package/dist/local-auth/admin/schema/roles-column.js.map +0 -1
- package/dist/local-auth/admin/web.d.ts.map +0 -1
- package/dist/local-auth/admin/web.js.map +0 -1
- package/dist/local-auth/constants/model-names.d.ts.map +0 -1
- package/dist/local-auth/constants/model-names.js.map +0 -1
- package/dist/local-auth/core/common.d.ts.map +0 -1
- package/dist/local-auth/core/common.js.map +0 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +0 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-apollo/templates/session-error-link.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/constants/password.constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/email-verification.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/password-reset.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/auth-email-templates.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/account-verification.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-changed.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-email-templates/templates/src/emails/auth/password-reset.email.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/constants/user-session.constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/queues/cleanup-auth-verification.queue.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/auth-role.enum.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-roles.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session-payload.object-type.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/auth-verification.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/cookie-signer.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/verify-request-origin.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/index.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/-constants.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/forgot-password.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/reset-password.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/route.js.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.d.ts.map +0 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/verify-email.js.map +0 -1
- package/dist/local-auth/core/generators/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-auth/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-auth/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-auth/react-auth.generator.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/index.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.d.ts.map +0 -1
- package/dist/local-auth/core/generators/react-session/templates/src/services/user-session-client.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-paths.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/index.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +0 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js.map +0 -1
- package/dist/local-auth/core/index.d.ts.map +0 -1
- package/dist/local-auth/core/index.js.map +0 -1
- package/dist/local-auth/core/node.d.ts.map +0 -1
- package/dist/local-auth/core/node.js.map +0 -1
- package/dist/local-auth/core/schema/models.d.ts.map +0 -1
- package/dist/local-auth/core/schema/models.js.map +0 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/local-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/local-auth/core/schema/schema-issue-checker.d.ts.map +0 -1
- package/dist/local-auth/core/schema/schema-issue-checker.js.map +0 -1
- package/dist/local-auth/core/web.d.ts.map +0 -1
- package/dist/local-auth/core/web.js.map +0 -1
- package/dist/local-auth/index.d.ts.map +0 -1
- package/dist/local-auth/index.js.map +0 -1
- package/dist/placeholder-auth/constants/model-names.d.ts.map +0 -1
- package/dist/placeholder-auth/constants/model-names.js.map +0 -1
- package/dist/placeholder-auth/core/common.d.ts.map +0 -1
- package/dist/placeholder-auth/core/common.js.map +0 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.d.ts.map +0 -1
- package/dist/placeholder-auth/core/components/placeholder-auth-definition-editor.js.map +0 -1
- package/dist/placeholder-auth/core/generators/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-log-out.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-session.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/auth-module.generator.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-paths.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/ts-import-providers.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/templates/module/services/user-session.service.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/index.js.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.d.ts.map +0 -1
- package/dist/placeholder-auth/core/generators/placeholder-react-auth/react-auth.generator.js.map +0 -1
- package/dist/placeholder-auth/core/index.d.ts.map +0 -1
- package/dist/placeholder-auth/core/index.js.map +0 -1
- package/dist/placeholder-auth/core/node.d.ts.map +0 -1
- package/dist/placeholder-auth/core/node.js.map +0 -1
- package/dist/placeholder-auth/core/schema/models.d.ts.map +0 -1
- package/dist/placeholder-auth/core/schema/models.js.map +0 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.d.ts.map +0 -1
- package/dist/placeholder-auth/core/schema/plugin-definition.js.map +0 -1
- package/dist/placeholder-auth/core/web.d.ts.map +0 -1
- package/dist/placeholder-auth/core/web.js.map +0 -1
- package/dist/placeholder-auth/index.d.ts.map +0 -1
- package/dist/placeholder-auth/index.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreCommon-Chd1hkDj.js +0 -85
- package/dist/web/assets/__federation_expose_authCoreCommon-Chd1hkDj.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-B6MMIRwe.js +0 -453
- package/dist/web/assets/__federation_expose_authCoreWeb-B6MMIRwe.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authAdminCommon-BTbhl15Q.js +0 -63
- package/dist/web/assets/__federation_expose_better-authAdminCommon-BTbhl15Q.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authAdminWeb-CwKP2Fwx.js +0 -41
- package/dist/web/assets/__federation_expose_better-authAdminWeb-CwKP2Fwx.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authCoreCommon-DHvNg16x.js +0 -54
- package/dist/web/assets/__federation_expose_better-authCoreCommon-DHvNg16x.js.map +0 -1
- package/dist/web/assets/__federation_expose_better-authCoreWeb-DcL0DNwe.js +0 -157
- package/dist/web/assets/__federation_expose_better-authCoreWeb-DcL0DNwe.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authAdminCommon-BTbhl15Q.js +0 -63
- package/dist/web/assets/__federation_expose_local-authAdminCommon-BTbhl15Q.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authAdminWeb-DeDTjgfy.js +0 -41
- package/dist/web/assets/__federation_expose_local-authAdminWeb-DeDTjgfy.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authCoreCommon-CaB76kZh.js +0 -54
- package/dist/web/assets/__federation_expose_local-authCoreCommon-CaB76kZh.js.map +0 -1
- package/dist/web/assets/__federation_expose_local-authCoreWeb-J0GrCM1P.js +0 -167
- package/dist/web/assets/__federation_expose_local-authCoreWeb-J0GrCM1P.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DEOS_PRC.js +0 -23
- package/dist/web/assets/__federation_expose_placeholder-authCoreCommon-DEOS_PRC.js.map +0 -1
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-xpLN9suD.js +0 -177
- package/dist/web/assets/__federation_expose_placeholder-authCoreWeb-xpLN9suD.js.map +0 -1
- package/dist/web/assets/__federation_fn_import-DboThXN4.js +0 -421
- package/dist/web/assets/__federation_fn_import-DboThXN4.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-wm-FNH7x.js +0 -359
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-wm-FNH7x.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CDRCjvEd.js +0 -22532
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CDRCjvEd.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-Bwy1GWne.js +0 -78637
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-Bwy1GWne.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Cs-QtWzA.js +0 -1855
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Cs-QtWzA.js.map +0 -1
- package/dist/web/assets/__federation_shared_@tanstack/react-router-_N2czGX0.js +0 -6565
- package/dist/web/assets/__federation_shared_@tanstack/react-router-_N2czGX0.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js +0 -8
- package/dist/web/assets/__federation_shared_react-CJ2OfFKA.js.map +0 -1
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js +0 -251
- package/dist/web/assets/__federation_shared_react-dom-B4vgf5Ln.js.map +0 -1
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js +0 -13250
- package/dist/web/assets/__federation_shared_zod-Do7Aa1b5.js.map +0 -1
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js +0 -6
- package/dist/web/assets/_commonjsHelpers-B85MJLTf.js.map +0 -1
- package/dist/web/assets/get-auth-plugin-definition-Dy9T0JTI.js +0 -13
- package/dist/web/assets/get-auth-plugin-definition-Dy9T0JTI.js.map +0 -1
- package/dist/web/assets/index-DN2TTEo8.js +0 -101
- package/dist/web/assets/index-DN2TTEo8.js.map +0 -1
- package/dist/web/assets/index-DUwCgkeV.js +0 -570
- package/dist/web/assets/index-DUwCgkeV.js.map +0 -1
- package/dist/web/assets/index-l0sNRNKZ.js.map +0 -1
- package/dist/web/assets/index.esm-BMmVLbge.js +0 -2676
- package/dist/web/assets/index.esm-BMmVLbge.js.map +0 -1
- package/dist/web/assets/isEqual-tnzoadW8.js +0 -242
- package/dist/web/assets/isEqual-tnzoadW8.js.map +0 -1
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js +0 -60
- package/dist/web/assets/jsx-runtime-XI9uIe3W.js.map +0 -1
- package/dist/web/assets/mergeWith-VagwCqUi.js +0 -76
- package/dist/web/assets/mergeWith-VagwCqUi.js.map +0 -1
- package/dist/web/assets/model-names-D7UT0B8x.js +0 -10
- package/dist/web/assets/model-names-D7UT0B8x.js.map +0 -1
- package/dist/web/assets/model-names-DrcaRxt1.js +0 -25
- package/dist/web/assets/model-names-DrcaRxt1.js.map +0 -1
- package/dist/web/assets/model-utils-DVlh_mZg.js +0 -840
- package/dist/web/assets/model-utils-DVlh_mZg.js.map +0 -1
- package/dist/web/assets/plugin-definition-BA3dR1I6.js +0 -16
- package/dist/web/assets/plugin-definition-BA3dR1I6.js.map +0 -1
- package/dist/web/assets/plugin-definition-DqIciiTP.js +0 -93
- package/dist/web/assets/plugin-definition-DqIciiTP.js.map +0 -1
- package/dist/web/assets/plugin-definition-TuWj1Cbs.js +0 -315
- package/dist/web/assets/plugin-definition-TuWj1Cbs.js.map +0 -1
- package/dist/web/assets/plugin-definition-YXnH0eeN.js +0 -304
- package/dist/web/assets/plugin-definition-YXnH0eeN.js.map +0 -1
- package/dist/web/assets/react-BFk_Rnee.js +0 -47
- package/dist/web/assets/react-BFk_Rnee.js.map +0 -1
- package/dist/web/assets/registries-Tz_dluz3.js +0 -1119
- package/dist/web/assets/registries-Tz_dluz3.js.map +0 -1
- package/dist/web/assets/remoteEntry.js +0 -84
- package/dist/web/assets/remoteEntry.js.map +0 -1
- package/dist/web/assets/styles-CdKqeRZD.js +0 -69
- package/dist/web/assets/styles-CdKqeRZD.js.map +0 -1
- package/dist/web/assets/with-selector-DTXBONcE.js +0 -201
- package/dist/web/assets/with-selector-DTXBONcE.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"__federation_fn_import-DboThXN4.js","sources":["../../../../../node_modules/.pnpm/@originjs+vite-plugin-federation@1.3.6/node_modules/@originjs/vite-plugin-federation/dist/satisfy.mjs"],"sourcesContent":["const buildIdentifier = \"[0-9A-Za-z-]+\";\nconst build = `(?:\\\\+(${buildIdentifier}(?:\\\\.${buildIdentifier})*))`;\nconst numericIdentifier = \"0|[1-9]\\\\d*\";\nconst numericIdentifierLoose = \"[0-9]+\";\nconst nonNumericIdentifier = \"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";\nconst preReleaseIdentifierLoose = `(?:${numericIdentifierLoose}|${nonNumericIdentifier})`;\nconst preReleaseLoose = `(?:-?(${preReleaseIdentifierLoose}(?:\\\\.${preReleaseIdentifierLoose})*))`;\nconst preReleaseIdentifier = `(?:${numericIdentifier}|${nonNumericIdentifier})`;\nconst preRelease = `(?:-(${preReleaseIdentifier}(?:\\\\.${preReleaseIdentifier})*))`;\nconst xRangeIdentifier = `${numericIdentifier}|x|X|\\\\*`;\nconst xRangePlain = `[v=\\\\s]*(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:${preRelease})?${build}?)?)?`;\nconst hyphenRange = `^\\\\s*(${xRangePlain})\\\\s+-\\\\s+(${xRangePlain})\\\\s*$`;\nconst mainVersionLoose = `(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})`;\nconst loosePlain = `[v=\\\\s]*${mainVersionLoose}${preReleaseLoose}?${build}?`;\nconst gtlt = \"((?:<|>)?=?)\";\nconst comparatorTrim = `(\\\\s*)${gtlt}\\\\s*(${loosePlain}|${xRangePlain})`;\nconst loneTilde = \"(?:~>?)\";\nconst tildeTrim = `(\\\\s*)${loneTilde}\\\\s+`;\nconst loneCaret = \"(?:\\\\^)\";\nconst caretTrim = `(\\\\s*)${loneCaret}\\\\s+`;\nconst star = \"(<|>)?=?\\\\s*\\\\*\";\nconst caret = `^${loneCaret}${xRangePlain}$`;\nconst mainVersion = `(${numericIdentifier})\\\\.(${numericIdentifier})\\\\.(${numericIdentifier})`;\nconst fullPlain = `v?${mainVersion}${preRelease}?${build}?`;\nconst tilde = `^${loneTilde}${xRangePlain}$`;\nconst xRange = `^${gtlt}\\\\s*${xRangePlain}$`;\nconst comparator = `^${gtlt}\\\\s*(${fullPlain})$|^$`;\nconst gte0 = \"^\\\\s*>=\\\\s*0.0.0\\\\s*$\";\nfunction parseRegex(source) {\n return new RegExp(source);\n}\nfunction isXVersion(version) {\n return !version || version.toLowerCase() === \"x\" || version === \"*\";\n}\nfunction pipe(...fns) {\n return (x) => {\n return fns.reduce((v, f) => f(v), x);\n };\n}\nfunction extractComparator(comparatorString) {\n return comparatorString.match(parseRegex(comparator));\n}\nfunction combineVersion(major, minor, patch, preRelease2) {\n const mainVersion2 = `${major}.${minor}.${patch}`;\n if (preRelease2) {\n return `${mainVersion2}-${preRelease2}`;\n }\n return mainVersion2;\n}\nfunction parseHyphen(range) {\n return range.replace(\n parseRegex(hyphenRange),\n (_range, from, fromMajor, fromMinor, fromPatch, _fromPreRelease, _fromBuild, to, toMajor, toMinor, toPatch, toPreRelease) => {\n if (isXVersion(fromMajor)) {\n from = \"\";\n } else if (isXVersion(fromMinor)) {\n from = `>=${fromMajor}.0.0`;\n } else if (isXVersion(fromPatch)) {\n from = `>=${fromMajor}.${fromMinor}.0`;\n } else {\n from = `>=${from}`;\n }\n if (isXVersion(toMajor)) {\n to = \"\";\n } else if (isXVersion(toMinor)) {\n to = `<${+toMajor + 1}.0.0-0`;\n } else if (isXVersion(toPatch)) {\n to = `<${toMajor}.${+toMinor + 1}.0-0`;\n } else if (toPreRelease) {\n to = `<=${toMajor}.${toMinor}.${toPatch}-${toPreRelease}`;\n } else {\n to = `<=${to}`;\n }\n return `${from} ${to}`.trim();\n }\n );\n}\nfunction parseComparatorTrim(range) {\n return range.replace(parseRegex(comparatorTrim), \"$1$2$3\");\n}\nfunction parseTildeTrim(range) {\n return range.replace(parseRegex(tildeTrim), \"$1~\");\n}\nfunction parseCaretTrim(range) {\n return range.replace(parseRegex(caretTrim), \"$1^\");\n}\nfunction parseCarets(range) {\n return range.trim().split(/\\s+/).map((rangeVersion) => {\n return rangeVersion.replace(\n parseRegex(caret),\n (_, major, minor, patch, preRelease2) => {\n if (isXVersion(major)) {\n return \"\";\n } else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${+major + 1}.0.0-0`;\n } else if (isXVersion(patch)) {\n if (major === \"0\") {\n return `>=${major}.${minor}.0 <${major}.${+minor + 1}.0-0`;\n } else {\n return `>=${major}.${minor}.0 <${+major + 1}.0.0-0`;\n }\n } else if (preRelease2) {\n if (major === \"0\") {\n if (minor === \"0\") {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${minor}.${+patch + 1}-0`;\n } else {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${+minor + 1}.0-0`;\n }\n } else {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${+major + 1}.0.0-0`;\n }\n } else {\n if (major === \"0\") {\n if (minor === \"0\") {\n return `>=${major}.${minor}.${patch} <${major}.${minor}.${+patch + 1}-0`;\n } else {\n return `>=${major}.${minor}.${patch} <${major}.${+minor + 1}.0-0`;\n }\n }\n return `>=${major}.${minor}.${patch} <${+major + 1}.0.0-0`;\n }\n }\n );\n }).join(\" \");\n}\nfunction parseTildes(range) {\n return range.trim().split(/\\s+/).map((rangeVersion) => {\n return rangeVersion.replace(\n parseRegex(tilde),\n (_, major, minor, patch, preRelease2) => {\n if (isXVersion(major)) {\n return \"\";\n } else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${+major + 1}.0.0-0`;\n } else if (isXVersion(patch)) {\n return `>=${major}.${minor}.0 <${major}.${+minor + 1}.0-0`;\n } else if (preRelease2) {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${+minor + 1}.0-0`;\n }\n return `>=${major}.${minor}.${patch} <${major}.${+minor + 1}.0-0`;\n }\n );\n }).join(\" \");\n}\nfunction parseXRanges(range) {\n return range.split(/\\s+/).map((rangeVersion) => {\n return rangeVersion.trim().replace(\n parseRegex(xRange),\n (ret, gtlt2, major, minor, patch, preRelease2) => {\n const isXMajor = isXVersion(major);\n const isXMinor = isXMajor || isXVersion(minor);\n const isXPatch = isXMinor || isXVersion(patch);\n if (gtlt2 === \"=\" && isXPatch) {\n gtlt2 = \"\";\n }\n preRelease2 = \"\";\n if (isXMajor) {\n if (gtlt2 === \">\" || gtlt2 === \"<\") {\n return \"<0.0.0-0\";\n } else {\n return \"*\";\n }\n } else if (gtlt2 && isXPatch) {\n if (isXMinor) {\n minor = 0;\n }\n patch = 0;\n if (gtlt2 === \">\") {\n gtlt2 = \">=\";\n if (isXMinor) {\n major = +major + 1;\n minor = 0;\n patch = 0;\n } else {\n minor = +minor + 1;\n patch = 0;\n }\n } else if (gtlt2 === \"<=\") {\n gtlt2 = \"<\";\n if (isXMinor) {\n major = +major + 1;\n } else {\n minor = +minor + 1;\n }\n }\n if (gtlt2 === \"<\") {\n preRelease2 = \"-0\";\n }\n return `${gtlt2 + major}.${minor}.${patch}${preRelease2}`;\n } else if (isXMinor) {\n return `>=${major}.0.0${preRelease2} <${+major + 1}.0.0-0`;\n } else if (isXPatch) {\n return `>=${major}.${minor}.0${preRelease2} <${major}.${+minor + 1}.0-0`;\n }\n return ret;\n }\n );\n }).join(\" \");\n}\nfunction parseStar(range) {\n return range.trim().replace(parseRegex(star), \"\");\n}\nfunction parseGTE0(comparatorString) {\n return comparatorString.trim().replace(parseRegex(gte0), \"\");\n}\nfunction compareAtom(rangeAtom, versionAtom) {\n rangeAtom = +rangeAtom || rangeAtom;\n versionAtom = +versionAtom || versionAtom;\n if (rangeAtom > versionAtom) {\n return 1;\n }\n if (rangeAtom === versionAtom) {\n return 0;\n }\n return -1;\n}\nfunction comparePreRelease(rangeAtom, versionAtom) {\n const { preRelease: rangePreRelease } = rangeAtom;\n const { preRelease: versionPreRelease } = versionAtom;\n if (rangePreRelease === void 0 && !!versionPreRelease) {\n return 1;\n }\n if (!!rangePreRelease && versionPreRelease === void 0) {\n return -1;\n }\n if (rangePreRelease === void 0 && versionPreRelease === void 0) {\n return 0;\n }\n for (let i = 0, n = rangePreRelease.length; i <= n; i++) {\n const rangeElement = rangePreRelease[i];\n const versionElement = versionPreRelease[i];\n if (rangeElement === versionElement) {\n continue;\n }\n if (rangeElement === void 0 && versionElement === void 0) {\n return 0;\n }\n if (!rangeElement) {\n return 1;\n }\n if (!versionElement) {\n return -1;\n }\n return compareAtom(rangeElement, versionElement);\n }\n return 0;\n}\nfunction compareVersion(rangeAtom, versionAtom) {\n return compareAtom(rangeAtom.major, versionAtom.major) || compareAtom(rangeAtom.minor, versionAtom.minor) || compareAtom(rangeAtom.patch, versionAtom.patch) || comparePreRelease(rangeAtom, versionAtom);\n}\nfunction eq(rangeAtom, versionAtom) {\n return rangeAtom.version === versionAtom.version;\n}\nfunction compare(rangeAtom, versionAtom) {\n switch (rangeAtom.operator) {\n case \"\":\n case \"=\":\n return eq(rangeAtom, versionAtom);\n case \">\":\n return compareVersion(rangeAtom, versionAtom) < 0;\n case \">=\":\n return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) < 0;\n case \"<\":\n return compareVersion(rangeAtom, versionAtom) > 0;\n case \"<=\":\n return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) > 0;\n case void 0: {\n return true;\n }\n default:\n return false;\n }\n}\nfunction parseComparatorString(range) {\n return pipe(\n parseCarets,\n parseTildes,\n parseXRanges,\n parseStar\n )(range);\n}\nfunction parseRange(range) {\n return pipe(\n parseHyphen,\n parseComparatorTrim,\n parseTildeTrim,\n parseCaretTrim\n )(range.trim()).split(/\\s+/).join(\" \");\n}\nfunction satisfy(version, range) {\n if (!version) {\n return false;\n }\n const parsedRange = parseRange(range);\n const parsedComparator = parsedRange.split(\" \").map((rangeVersion) => parseComparatorString(rangeVersion)).join(\" \");\n const comparators = parsedComparator.split(/\\s+/).map((comparator2) => parseGTE0(comparator2));\n const extractedVersion = extractComparator(version);\n if (!extractedVersion) {\n return false;\n }\n const [\n ,\n versionOperator,\n ,\n versionMajor,\n versionMinor,\n versionPatch,\n versionPreRelease\n ] = extractedVersion;\n const versionAtom = {\n operator: versionOperator,\n version: combineVersion(\n versionMajor,\n versionMinor,\n versionPatch,\n versionPreRelease\n ),\n major: versionMajor,\n minor: versionMinor,\n patch: versionPatch,\n preRelease: versionPreRelease == null ? void 0 : versionPreRelease.split(\".\")\n };\n for (const comparator2 of comparators) {\n const extractedComparator = extractComparator(comparator2);\n if (!extractedComparator) {\n return false;\n }\n const [\n ,\n rangeOperator,\n ,\n rangeMajor,\n rangeMinor,\n rangePatch,\n rangePreRelease\n ] = extractedComparator;\n const rangeAtom = {\n operator: rangeOperator,\n version: combineVersion(\n rangeMajor,\n rangeMinor,\n rangePatch,\n rangePreRelease\n ),\n major: rangeMajor,\n minor: rangeMinor,\n patch: rangePatch,\n preRelease: rangePreRelease == null ? void 0 : rangePreRelease.split(\".\")\n };\n if (!compare(rangeAtom, versionAtom)) {\n return false;\n }\n }\n return true;\n}\nexport {\n satisfy\n};\n"],"names":[],"mappings":"AAAA,MAAM,eAAe,GAAG,eAAe;AACvC,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,eAAe,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC;AACrE,MAAM,iBAAiB,GAAG,aAAa;AACvC,MAAM,sBAAsB,GAAG,QAAQ;AACvC,MAAM,oBAAoB,GAAG,4BAA4B;AACzD,MAAM,yBAAyB,GAAG,CAAC,GAAG,EAAE,sBAAsB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;AACzF,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,yBAAyB,CAAC,MAAM,EAAE,yBAAyB,CAAC,IAAI,CAAC;AAClG,MAAM,oBAAoB,GAAG,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;A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,EAAE,YAAY;AACvB,IAAI,UAAU,EAAE,iBAAiB,IAAI,IAAI,GAAG,MAAM,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG;AAChF,GAAG;AACH,EAAE,KAAK,MAAM,WAAW,IAAI,WAAW,EAAE;AACzC,IAAI,MAAM,mBAAmB,GAAG,iBAAiB,CAAC,WAAW,CAAC;AAC9D,IAAI,IAAI,CAAC,mBAAmB,EAAE;AAC9B,MAAM,OAAO,KAAK;AAClB,IAAI;AACJ,IAAI,MAAM;AACV;AACA,MAAM,aAAa;AACnB;AACA,MAAM,UAAU;AAChB,MAAM,UAAU;AAChB,MAAM,UAAU;AAChB,MAAM;AACN,KAAK,GAAG,mBAAmB;AAC3B,IAAI,MAAM,SAAS,GAAG;AACtB,MAAM,QAAQ,EAAE,aAAa;AAC7B,MAAM,OAAO,EAAE,cAAc;AAC7B,QAAQ,UAAU;AAClB,QAAQ,UAAU;AAClB,QAAQ,UAAU;AAClB,QAAQ;AACR,OAAO;AACP,MAAM,KAAK,EAAE,UAAU;AACvB,MAAM,KAAK,EAAE,UAAU;AACvB,MAAM,KAAK,EAAE,UAAU;AACvB,MAAM,UAAU,EAAE,eAAe,IAAI,IAAI,GAAG,MAAM,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG;AAC9E,KAAK;AACL,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC,EAAE;AAC1C,MAAM,OAAO,KAAK;AAClB,IAAI;AACJ,EAAE;AACF,EAAE,OAAO,IAAI;AACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-wm-FNH7x.js
DELETED
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
import { importShared } from '../../__federation_fn_import-DboThXN4.js';
|
|
2
|
-
import { j as jsxRuntimeExports } from '../../jsx-runtime-XI9uIe3W.js';
|
|
3
|
-
import { F as FeatureUtils, M as ModelUtils, t as withPlaceholderSlots, c as createFieldMapSpec, m as createPluginSpec } from '../../model-utils-DVlh_mZg.js';
|
|
4
|
-
import { c as create } from '../../react-BFk_Rnee.js';
|
|
5
|
-
import { u as useFormState, a as useForm } from '../../index.esm-BMmVLbge.js';
|
|
6
|
-
import { A as isEqual } from '../../isEqual-tnzoadW8.js';
|
|
7
|
-
|
|
8
|
-
const {Alert,AlertDescription,AlertTitle,Badge,Button,Dialog,DialogContent,DialogHeader,DialogTitle,DialogTrigger,JsonDiffViewer} = await importShared('@baseplate-dev/ui-components');
|
|
9
|
-
|
|
10
|
-
const CHANGE_TYPE_BADGE_VARIANT = {
|
|
11
|
-
added: 'default',
|
|
12
|
-
updated: 'secondary',
|
|
13
|
-
removed: 'destructive',
|
|
14
|
-
};
|
|
15
|
-
function DefinitionDiffEntryRow({ entry, }) {
|
|
16
|
-
return (jsxRuntimeExports.jsxs("div", { className: "flex w-full items-center justify-between px-3 py-2 text-sm", children: [jsxRuntimeExports.jsx("span", { className: "font-medium", children: entry.label }), jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2", children: [jsxRuntimeExports.jsx(Badge, { variant: CHANGE_TYPE_BADGE_VARIANT[entry.type], children: entry.type }), jsxRuntimeExports.jsxs(Dialog, { children: [jsxRuntimeExports.jsx(DialogTrigger, { render: jsxRuntimeExports.jsx(Button, { variant: "ghost", size: "sm" }), children: "Details" }), jsxRuntimeExports.jsxs(DialogContent, { width: "xl", children: [jsxRuntimeExports.jsx(DialogHeader, { children: jsxRuntimeExports.jsxs(DialogTitle, { children: [entry.label, " \u2014 ", entry.type] }) }), jsxRuntimeExports.jsx("div", { className: "max-h-[60vh] overflow-auto", children: entry.type === 'added' ? (jsxRuntimeExports.jsx("pre", { className: "text-xs whitespace-pre-wrap", children: JSON.stringify(entry.merged, null, 2) })) : entry.type === 'removed' ? (jsxRuntimeExports.jsx("pre", { className: "text-xs whitespace-pre-wrap", children: JSON.stringify(entry.current, null, 2) })) : (jsxRuntimeExports.jsx(JsonDiffViewer, { oldValue: entry.current, newValue: entry.merged })) })] })] })] })] }));
|
|
17
|
-
}
|
|
18
|
-
function DefinitionDiffAlert({ diff, upToDateMessage = 'All changes are up to date. No changes needed.', }) {
|
|
19
|
-
if (!diff.hasChanges) {
|
|
20
|
-
return (jsxRuntimeExports.jsxs(Alert, { variant: "default", children: [jsxRuntimeExports.jsx(AlertTitle, { children: "Up to Date" }), jsxRuntimeExports.jsx(AlertDescription, { children: upToDateMessage })] }));
|
|
21
|
-
}
|
|
22
|
-
return (jsxRuntimeExports.jsxs("div", { className: "overflow-hidden rounded-lg border", children: [jsxRuntimeExports.jsxs("div", { className: "border-b px-3 py-2", children: [jsxRuntimeExports.jsx("span", { className: "text-sm font-medium", children: "Pending Changes" }), jsxRuntimeExports.jsx("p", { className: "text-xs opacity-60", children: "The following changes will be applied when you save:" })] }), jsxRuntimeExports.jsx("div", { className: "divide-y", children: diff.entries.map((entry) => (jsxRuntimeExports.jsx(DefinitionDiffEntryRow, { entry: entry }, `${entry.path}-${entry.label}`))) })] }));
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const React = await importShared('react');
|
|
26
|
-
|
|
27
|
-
const ProjectDefinitionContext = React.createContext(null);
|
|
28
|
-
function useProjectDefinition() {
|
|
29
|
-
const result = React.useContext(ProjectDefinitionContext);
|
|
30
|
-
if (!result) {
|
|
31
|
-
throw new Error(`useProjectDefinition must be used within a <ProjectDefinitionProvider>`);
|
|
32
|
-
}
|
|
33
|
-
return result;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const {ComboboxField: ComboboxField$1,useControllerMerged: useControllerMerged$1} = await importShared('@baseplate-dev/ui-components');
|
|
37
|
-
|
|
38
|
-
const {useMemo: useMemo$2,useState: useState$1} = await importShared('react');
|
|
39
|
-
function createCreateOption$1(value) {
|
|
40
|
-
return {
|
|
41
|
-
label: value,
|
|
42
|
-
value,
|
|
43
|
-
isCreate: true,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
47
|
-
const { definition } = useProjectDefinition();
|
|
48
|
-
const [searchQuery, setSearchQuery] = useState$1(value ? FeatureUtils.getFeatureById(definition, value)?.name : '');
|
|
49
|
-
const featureOptions = useMemo$2(() => {
|
|
50
|
-
const baseFeatures = definition.features.map((feature) => ({
|
|
51
|
-
label: feature.name,
|
|
52
|
-
value: feature.id,
|
|
53
|
-
isCreate: false,
|
|
54
|
-
}));
|
|
55
|
-
if (!canCreate)
|
|
56
|
-
return baseFeatures;
|
|
57
|
-
const newFeatureName = searchQuery ? searchQuery : value;
|
|
58
|
-
const doesNewFeatureExist = baseFeatures.some((option) => option.label === newFeatureName || option.value === newFeatureName);
|
|
59
|
-
return !doesNewFeatureExist &&
|
|
60
|
-
newFeatureName &&
|
|
61
|
-
FeatureUtils.validateFeatureName(newFeatureName)
|
|
62
|
-
? [...baseFeatures, createCreateOption$1(newFeatureName)]
|
|
63
|
-
: baseFeatures;
|
|
64
|
-
}, [definition.features, searchQuery, value, canCreate]);
|
|
65
|
-
return (jsxRuntimeExports.jsx(ComboboxField$1, { placeholder: "Select a feature", ...rest, inputValue: searchQuery, onInputValueChange: setSearchQuery, options: featureOptions, value: value, renderItemLabel: (item) => item.isCreate ? `Create "${item.label}"` : item.label }));
|
|
66
|
-
}
|
|
67
|
-
function FeatureComboboxFieldController({ name, control, ...rest }) {
|
|
68
|
-
const { field, fieldState: { error }, } = useControllerMerged$1({ name, control }, rest);
|
|
69
|
-
const restProps = rest;
|
|
70
|
-
return (jsxRuntimeExports.jsx(FeatureComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
const {ComboboxField,useControllerMerged} = await importShared('@baseplate-dev/ui-components');
|
|
74
|
-
|
|
75
|
-
const {useMemo: useMemo$1,useState} = await importShared('react');
|
|
76
|
-
function createCreateOption(value) {
|
|
77
|
-
return {
|
|
78
|
-
label: `Create "${value}"`,
|
|
79
|
-
value,
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
function ModelComboboxField({ canCreate, value, ...rest }) {
|
|
83
|
-
const { definition } = useProjectDefinition();
|
|
84
|
-
const [searchQuery, setSearchQuery] = useState('');
|
|
85
|
-
const modelOptions = useMemo$1(() => {
|
|
86
|
-
const baseModels = definition.models.map((model) => ({
|
|
87
|
-
label: model.name,
|
|
88
|
-
value: model.id,
|
|
89
|
-
}));
|
|
90
|
-
if (!canCreate)
|
|
91
|
-
return baseModels;
|
|
92
|
-
const newModelName = searchQuery ? searchQuery : value;
|
|
93
|
-
const doesNewModelExist = baseModels.some((option) => option.label === newModelName || option.value === newModelName);
|
|
94
|
-
return !doesNewModelExist &&
|
|
95
|
-
newModelName &&
|
|
96
|
-
ModelUtils.validateModelName(newModelName)
|
|
97
|
-
? [...baseModels, createCreateOption(newModelName)]
|
|
98
|
-
: baseModels;
|
|
99
|
-
}, [definition.models, searchQuery, value, canCreate]);
|
|
100
|
-
return (jsxRuntimeExports.jsx(ComboboxField, { placeholder: "Select a model", ...rest, onInputValueChange: canCreate ? setSearchQuery : undefined, options: modelOptions, value: value }));
|
|
101
|
-
}
|
|
102
|
-
function ModelComboboxFieldController({ name, control, ...rest }) {
|
|
103
|
-
const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);
|
|
104
|
-
const restProps = rest;
|
|
105
|
-
return (jsxRuntimeExports.jsx(ModelComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const {createContext} = await importShared('react');
|
|
109
|
-
|
|
110
|
-
const ErrorHandlerContext = createContext(null);
|
|
111
|
-
|
|
112
|
-
const {useEffect: useEffect$2,useId} = await importShared('react');
|
|
113
|
-
const useBlockerDialogState = create((set) => ({
|
|
114
|
-
activeBlockers: [],
|
|
115
|
-
addBlocker: (options) => {
|
|
116
|
-
set((state) => ({
|
|
117
|
-
activeBlockers: [...state.activeBlockers, options],
|
|
118
|
-
}));
|
|
119
|
-
},
|
|
120
|
-
removeBlocker: (id) => {
|
|
121
|
-
set((state) => ({
|
|
122
|
-
activeBlockers: state.activeBlockers.filter((blocker) => blocker.id !== id),
|
|
123
|
-
}));
|
|
124
|
-
},
|
|
125
|
-
requestedBlockers: [],
|
|
126
|
-
requestBlocker(options) {
|
|
127
|
-
set((state) => ({
|
|
128
|
-
requestedBlockers: [...state.requestedBlockers, options],
|
|
129
|
-
}));
|
|
130
|
-
},
|
|
131
|
-
clearRequestedBlockers: () => {
|
|
132
|
-
set(() => ({
|
|
133
|
-
requestedBlockers: [],
|
|
134
|
-
}));
|
|
135
|
-
},
|
|
136
|
-
}));
|
|
137
|
-
function useBlockBeforeContinue() {
|
|
138
|
-
const hasActiveBlockers = useBlockerDialogState((state) => state.activeBlockers.length > 0);
|
|
139
|
-
const clearRequestedBlockers = useBlockerDialogState((state) => state.clearRequestedBlockers);
|
|
140
|
-
// make sure we clear any blocker requests if we navigate away
|
|
141
|
-
useEffect$2(() => () => {
|
|
142
|
-
clearRequestedBlockers();
|
|
143
|
-
}, [clearRequestedBlockers]);
|
|
144
|
-
const requestBlocker = useBlockerDialogState((state) => state.requestBlocker);
|
|
145
|
-
// if no blockers, continue immediately
|
|
146
|
-
if (!hasActiveBlockers) {
|
|
147
|
-
return ({ onContinue }) => {
|
|
148
|
-
onContinue();
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
return requestBlocker;
|
|
152
|
-
}
|
|
153
|
-
function useBlockerDialog(options) {
|
|
154
|
-
const id = useId();
|
|
155
|
-
const addBlocker = useBlockerDialogState((state) => state.addBlocker);
|
|
156
|
-
const removeBlocker = useBlockerDialogState((state) => state.removeBlocker);
|
|
157
|
-
useEffect$2(() => {
|
|
158
|
-
if (options.disableBlock) {
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
addBlocker({
|
|
162
|
-
disableBlock: options.disableBlock,
|
|
163
|
-
title: options.title,
|
|
164
|
-
content: options.content,
|
|
165
|
-
buttonContinueWithoutSaveText: options.buttonContinueWithoutSaveText,
|
|
166
|
-
onContinueWithoutSave: options.onContinueWithoutSave,
|
|
167
|
-
buttonContinueText: options.buttonContinueText,
|
|
168
|
-
onContinue: options.onContinue,
|
|
169
|
-
id,
|
|
170
|
-
});
|
|
171
|
-
return () => {
|
|
172
|
-
removeBlocker(id);
|
|
173
|
-
};
|
|
174
|
-
}, [
|
|
175
|
-
addBlocker,
|
|
176
|
-
removeBlocker,
|
|
177
|
-
options.disableBlock,
|
|
178
|
-
options.buttonContinueWithoutSaveText,
|
|
179
|
-
options.onContinueWithoutSave,
|
|
180
|
-
options.buttonContinueText,
|
|
181
|
-
options.content,
|
|
182
|
-
options.title,
|
|
183
|
-
options.onContinue,
|
|
184
|
-
id,
|
|
185
|
-
]);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
function useBlockDirtyFormNavigate(formState, reset) {
|
|
189
|
-
useBlockerDialog({
|
|
190
|
-
disableBlock: !formState.isDirty,
|
|
191
|
-
title: 'Unsaved Changes',
|
|
192
|
-
content: 'You have unsaved changes. Are you sure you want to continue?',
|
|
193
|
-
buttonContinueText: 'Discard Changes',
|
|
194
|
-
onContinue: () => {
|
|
195
|
-
reset();
|
|
196
|
-
return true;
|
|
197
|
-
},
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
const {toast: toast$1} = await importShared('@baseplate-dev/ui-components');
|
|
202
|
-
const {useEffect: useEffect$1,useRef: useRef$1} = await importShared('react');
|
|
203
|
-
function useBlockUnsavedChangesNavigate({ control, reset, onSubmit }) {
|
|
204
|
-
const isDirtyRef = useRef$1(false);
|
|
205
|
-
const formState = useFormState({ control });
|
|
206
|
-
isDirtyRef.current = formState.isDirty;
|
|
207
|
-
useBlockerDialog({
|
|
208
|
-
disableBlock: !formState.isDirty,
|
|
209
|
-
title: "Unsaved Changes",
|
|
210
|
-
content: "You have unsaved changes. Do you want to save your changes?",
|
|
211
|
-
buttonContinueWithoutSaveText: "Discard Changes",
|
|
212
|
-
onContinueWithoutSave: () => {
|
|
213
|
-
reset();
|
|
214
|
-
return true;
|
|
215
|
-
},
|
|
216
|
-
buttonContinueText: "Save",
|
|
217
|
-
onContinue: async () => {
|
|
218
|
-
await onSubmit();
|
|
219
|
-
await new Promise((resolve) => setTimeout(resolve, 1));
|
|
220
|
-
return !isDirtyRef.current;
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
const {useMemo} = await importShared('react');
|
|
226
|
-
function useDefinitionSchema(schemaCreator) {
|
|
227
|
-
const { definitionSchemaParserContext } = useProjectDefinition();
|
|
228
|
-
return useMemo(() => {
|
|
229
|
-
if ('slotDefinition' in schemaCreator) {
|
|
230
|
-
return withPlaceholderSlots(schemaCreator)(definitionSchemaParserContext);
|
|
231
|
-
}
|
|
232
|
-
return schemaCreator(definitionSchemaParserContext);
|
|
233
|
-
}, [definitionSchemaParserContext, schemaCreator]);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
const {useContext} = await importShared('react');
|
|
237
|
-
function useErrorHandler() {
|
|
238
|
-
const context = useContext(ErrorHandlerContext);
|
|
239
|
-
if (!context) {
|
|
240
|
-
throw new Error('useErrorHandler must be used within an ErrorHandlerContext');
|
|
241
|
-
}
|
|
242
|
-
return context;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
const {toast} = await importShared('@baseplate-dev/ui-components');
|
|
246
|
-
const {useEffect,useRef} = await importShared('react');
|
|
247
|
-
function useResettableForm(props) {
|
|
248
|
-
const formProps = useForm(props);
|
|
249
|
-
const { reset, formState } = formProps;
|
|
250
|
-
const { isDirty } = formState;
|
|
251
|
-
const { updatedExternally } = useProjectDefinition();
|
|
252
|
-
const oldValues = useRef(undefined);
|
|
253
|
-
useEffect(() => {
|
|
254
|
-
if (oldValues.current &&
|
|
255
|
-
!isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {
|
|
256
|
-
reset(props?.defaultValues);
|
|
257
|
-
if (isDirty && updatedExternally) {
|
|
258
|
-
toast.warning('Contents were updated externally so form was reset!');
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
if (!oldValues.current ||
|
|
262
|
-
!isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {
|
|
263
|
-
oldValues.current = {
|
|
264
|
-
oldDefaultValues: props?.defaultValues,
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
}, [props?.defaultValues, reset, updatedExternally, isDirty]);
|
|
268
|
-
return formProps;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
function createAdminCrudActionWebConfig(config) {
|
|
272
|
-
return config;
|
|
273
|
-
}
|
|
274
|
-
/**
|
|
275
|
-
* Spec for registering admin CRUD action web configs
|
|
276
|
-
*/
|
|
277
|
-
const adminCrudActionWebSpec = createFieldMapSpec('core/admin-crud-action-web', (t) => ({
|
|
278
|
-
// oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying action types at runtime
|
|
279
|
-
actions: t.namedArrayToMap(),
|
|
280
|
-
}));
|
|
281
|
-
|
|
282
|
-
function createAdminCrudColumnWebConfig(config) {
|
|
283
|
-
return config;
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Spec for registering admin CRUD column web configs
|
|
287
|
-
*/
|
|
288
|
-
const adminCrudColumnWebSpec = createFieldMapSpec('core/admin-crud-column-web', (t) => ({
|
|
289
|
-
// oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying column types at runtime
|
|
290
|
-
columns: t.namedArrayToMap(),
|
|
291
|
-
}));
|
|
292
|
-
|
|
293
|
-
function createAdminCrudInputWebConfig(config) {
|
|
294
|
-
return config;
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Spec for registering admin CRUD input web configs
|
|
298
|
-
*/
|
|
299
|
-
const adminCrudInputWebSpec = createFieldMapSpec('core/admin-crud-input-web', (t) => ({
|
|
300
|
-
// oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying input types at runtime
|
|
301
|
-
inputs: t.namedArrayToMap(),
|
|
302
|
-
}));
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Spec for registering navigation builder functions for definition entity types.
|
|
306
|
-
*
|
|
307
|
-
* Use `register(entityType, builder)` during initialization. If the entity type
|
|
308
|
-
* has a parent (THasParent = true), parentId and parentKey are required strings
|
|
309
|
-
* in the builder's params. grandparentId/grandparentKey are always optional and
|
|
310
|
-
* available for grandchild entity types.
|
|
311
|
-
*
|
|
312
|
-
* After initialization, use `getNavBuilder(entityType)` to retrieve the builder.
|
|
313
|
-
*/
|
|
314
|
-
const entityTypeUrlWebSpec = createPluginSpec('core/entity-type-url-web', {
|
|
315
|
-
initializer: () => {
|
|
316
|
-
const builders = new Map();
|
|
317
|
-
return {
|
|
318
|
-
init: {
|
|
319
|
-
register: (entityType, builder) => {
|
|
320
|
-
builders.set(entityType.name, builder);
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
use: () => ({
|
|
324
|
-
getNavBuilder: (entityType) => builders.get(entityType.name),
|
|
325
|
-
}),
|
|
326
|
-
};
|
|
327
|
-
},
|
|
328
|
-
});
|
|
329
|
-
|
|
330
|
-
function createModelTransformerWebConfig(config) {
|
|
331
|
-
return config;
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Spec for adding web config for transformers
|
|
335
|
-
*/
|
|
336
|
-
const modelTransformerWebSpec = createFieldMapSpec('core/model-transformer-web', (t) => ({
|
|
337
|
-
// oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying transformer types at runtime
|
|
338
|
-
transformers: t.namedArrayToMap(),
|
|
339
|
-
}), {
|
|
340
|
-
use: (values) => ({
|
|
341
|
-
getWebConfigOrThrow(name) {
|
|
342
|
-
const transformer = values.transformers.get(name);
|
|
343
|
-
if (!transformer) {
|
|
344
|
-
throw new Error(`Transformer ${name} not found`);
|
|
345
|
-
}
|
|
346
|
-
return transformer;
|
|
347
|
-
},
|
|
348
|
-
getWebConfigs: () => [...values.transformers.values()],
|
|
349
|
-
}),
|
|
350
|
-
});
|
|
351
|
-
|
|
352
|
-
function setUndefinedIfEmpty(value) {
|
|
353
|
-
if (value === '')
|
|
354
|
-
return undefined;
|
|
355
|
-
return value;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
export { DefinitionDiffAlert, ErrorHandlerContext, FeatureComboboxField, FeatureComboboxFieldController, ModelComboboxField, ModelComboboxFieldController, ProjectDefinitionContext, adminCrudActionWebSpec, adminCrudColumnWebSpec, adminCrudInputWebSpec, createAdminCrudActionWebConfig, createAdminCrudColumnWebConfig, createAdminCrudInputWebConfig, createModelTransformerWebConfig, entityTypeUrlWebSpec, modelTransformerWebSpec, setUndefinedIfEmpty, useBlockBeforeContinue, useBlockDirtyFormNavigate, useBlockUnsavedChangesNavigate, useBlockerDialog, useBlockerDialogState, useDefinitionSchema, useErrorHandler, useProjectDefinition, useResettableForm };
|
|
359
|
-
//# sourceMappingURL=web-wm-FNH7x.js.map
|
package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-wm-FNH7x.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"web-wm-FNH7x.js","sources":["../../../../../../../packages/project-builder-lib/dist/web/components/definition-diff-alert.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-project-definition.js","../../../../../../../packages/project-builder-lib/dist/web/components/feature-combobox-field.js","../../../../../../../packages/project-builder-lib/dist/web/components/model-combobox-field.js","../../../../../../../packages/project-builder-lib/dist/web/contexts/error-handler.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-blocker-dialog.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-block-dirty-form-navigate.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-block-unsaved-changes-navigate.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-definition-schema.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-error-handler.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-resettable-form.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-action-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-column-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-input-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/entity-type-url-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/model-transformer-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/utils/form.js"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Alert, AlertDescription, AlertTitle, Badge, Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, JsonDiffViewer, } from '@baseplate-dev/ui-components';\nconst CHANGE_TYPE_BADGE_VARIANT = {\n added: 'default',\n updated: 'secondary',\n removed: 'destructive',\n};\nfunction DefinitionDiffEntryRow({ entry, }) {\n return (_jsxs(\"div\", { className: \"flex w-full items-center justify-between px-3 py-2 text-sm\", children: [_jsx(\"span\", { className: \"font-medium\", children: entry.label }), _jsxs(\"div\", { className: \"flex items-center gap-2\", children: [_jsx(Badge, { variant: CHANGE_TYPE_BADGE_VARIANT[entry.type], children: entry.type }), _jsxs(Dialog, { children: [_jsx(DialogTrigger, { render: _jsx(Button, { variant: \"ghost\", size: \"sm\" }), children: \"Details\" }), _jsxs(DialogContent, { width: \"xl\", children: [_jsx(DialogHeader, { children: _jsxs(DialogTitle, { children: [entry.label, \" \\u2014 \", entry.type] }) }), _jsx(\"div\", { className: \"max-h-[60vh] overflow-auto\", children: entry.type === 'added' ? (_jsx(\"pre\", { className: \"text-xs whitespace-pre-wrap\", children: JSON.stringify(entry.merged, null, 2) })) : entry.type === 'removed' ? (_jsx(\"pre\", { className: \"text-xs whitespace-pre-wrap\", children: JSON.stringify(entry.current, null, 2) })) : (_jsx(JsonDiffViewer, { oldValue: entry.current, newValue: entry.merged })) })] })] })] })] }));\n}\nexport function DefinitionDiffAlert({ diff, upToDateMessage = 'All changes are up to date. No changes needed.', }) {\n if (!diff.hasChanges) {\n return (_jsxs(Alert, { variant: \"default\", children: [_jsx(AlertTitle, { children: \"Up to Date\" }), _jsx(AlertDescription, { children: upToDateMessage })] }));\n }\n return (_jsxs(\"div\", { className: \"overflow-hidden rounded-lg border\", children: [_jsxs(\"div\", { className: \"border-b px-3 py-2\", children: [_jsx(\"span\", { className: \"text-sm font-medium\", children: \"Pending Changes\" }), _jsx(\"p\", { className: \"text-xs opacity-60\", children: \"The following changes will be applied when you save:\" })] }), _jsx(\"div\", { className: \"divide-y\", children: diff.entries.map((entry) => (_jsx(DefinitionDiffEntryRow, { entry: entry }, `${entry.path}-${entry.label}`))) })] }));\n}\n//# sourceMappingURL=definition-diff-alert.js.map","import React from 'react';\nexport const ProjectDefinitionContext = React.createContext(null);\nexport function useProjectDefinition() {\n const result = React.useContext(ProjectDefinitionContext);\n if (!result) {\n throw new Error(`useProjectDefinition must be used within a <ProjectDefinitionProvider>`);\n }\n return result;\n}\n//# sourceMappingURL=use-project-definition.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ComboboxField, useControllerMerged, } from '@baseplate-dev/ui-components';\nimport { useMemo, useState } from 'react';\nimport { FeatureUtils } from '#src/definition/index.js';\nimport { useProjectDefinition } from '../hooks/use-project-definition.js';\nfunction createCreateOption(value) {\n return {\n label: value,\n value,\n isCreate: true,\n };\n}\nfunction FeatureComboboxField({ canCreate, value, ...rest }) {\n const { definition } = useProjectDefinition();\n const [searchQuery, setSearchQuery] = useState(value ? FeatureUtils.getFeatureById(definition, value)?.name : '');\n const featureOptions = useMemo(() => {\n const baseFeatures = definition.features.map((feature) => ({\n label: feature.name,\n value: feature.id,\n isCreate: false,\n }));\n if (!canCreate)\n return baseFeatures;\n const newFeatureName = searchQuery ? searchQuery : value;\n const doesNewFeatureExist = baseFeatures.some((option) => option.label === newFeatureName || option.value === newFeatureName);\n return !doesNewFeatureExist &&\n newFeatureName &&\n FeatureUtils.validateFeatureName(newFeatureName)\n ? [...baseFeatures, createCreateOption(newFeatureName)]\n : baseFeatures;\n }, [definition.features, searchQuery, value, canCreate]);\n return (_jsx(ComboboxField, { placeholder: \"Select a feature\", ...rest, inputValue: searchQuery, onInputValueChange: setSearchQuery, options: featureOptions, value: value, renderItemLabel: (item) => item.isCreate ? `Create \"${item.label}\"` : item.label }));\n}\nfunction FeatureComboboxFieldController({ name, control, ...rest }) {\n const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);\n const restProps = rest;\n return (_jsx(FeatureComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));\n}\nexport { FeatureComboboxField, FeatureComboboxFieldController };\n//# sourceMappingURL=feature-combobox-field.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ComboboxField, useControllerMerged, } from '@baseplate-dev/ui-components';\nimport { useMemo, useState } from 'react';\nimport { ModelUtils } from '#src/definition/index.js';\nimport { useProjectDefinition } from '../hooks/use-project-definition.js';\nfunction createCreateOption(value) {\n return {\n label: `Create \"${value}\"`,\n value,\n };\n}\nfunction ModelComboboxField({ canCreate, value, ...rest }) {\n const { definition } = useProjectDefinition();\n const [searchQuery, setSearchQuery] = useState('');\n const modelOptions = useMemo(() => {\n const baseModels = definition.models.map((model) => ({\n label: model.name,\n value: model.id,\n }));\n if (!canCreate)\n return baseModels;\n const newModelName = searchQuery ? searchQuery : value;\n const doesNewModelExist = baseModels.some((option) => option.label === newModelName || option.value === newModelName);\n return !doesNewModelExist &&\n newModelName &&\n ModelUtils.validateModelName(newModelName)\n ? [...baseModels, createCreateOption(newModelName)]\n : baseModels;\n }, [definition.models, searchQuery, value, canCreate]);\n return (_jsx(ComboboxField, { placeholder: \"Select a model\", ...rest, onInputValueChange: canCreate ? setSearchQuery : undefined, options: modelOptions, value: value }));\n}\nfunction ModelComboboxFieldController({ name, control, ...rest }) {\n const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);\n const restProps = rest;\n return (_jsx(ModelComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));\n}\nexport { ModelComboboxField, ModelComboboxFieldController };\n//# sourceMappingURL=model-combobox-field.js.map","import { createContext } from 'react';\nexport const ErrorHandlerContext = createContext(null);\n//# sourceMappingURL=error-handler.js.map","import { useEffect, useId } from 'react';\nimport { create } from 'zustand';\nexport const useBlockerDialogState = create((set) => ({\n activeBlockers: [],\n addBlocker: (options) => {\n set((state) => ({\n activeBlockers: [...state.activeBlockers, options],\n }));\n },\n removeBlocker: (id) => {\n set((state) => ({\n activeBlockers: state.activeBlockers.filter((blocker) => blocker.id !== id),\n }));\n },\n requestedBlockers: [],\n requestBlocker(options) {\n set((state) => ({\n requestedBlockers: [...state.requestedBlockers, options],\n }));\n },\n clearRequestedBlockers: () => {\n set(() => ({\n requestedBlockers: [],\n }));\n },\n}));\nexport function useBlockBeforeContinue() {\n const hasActiveBlockers = useBlockerDialogState((state) => state.activeBlockers.length > 0);\n const clearRequestedBlockers = useBlockerDialogState((state) => state.clearRequestedBlockers);\n // make sure we clear any blocker requests if we navigate away\n useEffect(() => () => {\n clearRequestedBlockers();\n }, [clearRequestedBlockers]);\n const requestBlocker = useBlockerDialogState((state) => state.requestBlocker);\n // if no blockers, continue immediately\n if (!hasActiveBlockers) {\n return ({ onContinue }) => {\n onContinue();\n };\n }\n return requestBlocker;\n}\nexport function useBlockerDialog(options) {\n const id = useId();\n const addBlocker = useBlockerDialogState((state) => state.addBlocker);\n const removeBlocker = useBlockerDialogState((state) => state.removeBlocker);\n useEffect(() => {\n if (options.disableBlock) {\n return;\n }\n addBlocker({\n disableBlock: options.disableBlock,\n title: options.title,\n content: options.content,\n buttonContinueWithoutSaveText: options.buttonContinueWithoutSaveText,\n onContinueWithoutSave: options.onContinueWithoutSave,\n buttonContinueText: options.buttonContinueText,\n onContinue: options.onContinue,\n id,\n });\n return () => {\n removeBlocker(id);\n };\n }, [\n addBlocker,\n removeBlocker,\n options.disableBlock,\n options.buttonContinueWithoutSaveText,\n options.onContinueWithoutSave,\n options.buttonContinueText,\n options.content,\n options.title,\n options.onContinue,\n id,\n ]);\n}\n//# sourceMappingURL=use-blocker-dialog.js.map","import { useBlockerDialog } from './use-blocker-dialog.js';\nexport function useBlockDirtyFormNavigate(formState, reset) {\n useBlockerDialog({\n disableBlock: !formState.isDirty,\n title: 'Unsaved Changes',\n content: 'You have unsaved changes. Are you sure you want to continue?',\n buttonContinueText: 'Discard Changes',\n onContinue: () => {\n reset();\n return true;\n },\n });\n}\n//# sourceMappingURL=use-block-dirty-form-navigate.js.map","import { toast } from '@baseplate-dev/ui-components';\nimport { flattenObject } from 'es-toolkit';\nimport { useEffect, useRef } from 'react';\nimport { useFormState } from 'react-hook-form';\nimport { useBlockerDialog } from './use-blocker-dialog.js';\nexport function useBlockUnsavedChangesNavigate({ control, reset, onSubmit, }) {\n const isDirtyRef = useRef(false);\n const formState = useFormState({ control });\n isDirtyRef.current = formState.isDirty;\n if (import.meta.env.DEV) {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- only want to run this check in dev mode for performance/usability reasons\n useEffect(() => {\n if (Object.keys(formState.dirtyFields).length === 0 &&\n formState.isDirty) {\n // a bit of a hack to figure out what the issue is but OK since we only do this in dev mode\n const { _formValues, _defaultValues } = control;\n const formValueKeys = Object.keys(flattenObject(_formValues));\n const defaultValueKeys = Object.keys(flattenObject(_defaultValues));\n const missingKeys = formValueKeys.filter((key) => !defaultValueKeys.includes(key));\n toast.error(`Form is dirty but no fields are marked as dirty. This implies that there is likely a field ` +\n `is controlled but not set in defaultValues. This can be fixed by setting the default value to the field. ` +\n `Note: You will only see this error if you are running the app in dev mode. ` +\n `Missing fields: ${missingKeys.join(', ')}`);\n }\n }, [formState.dirtyFields, formState.isDirty, control]);\n }\n useBlockerDialog({\n disableBlock: !formState.isDirty,\n title: 'Unsaved Changes',\n content: 'You have unsaved changes. Do you want to save your changes?',\n buttonContinueWithoutSaveText: 'Discard Changes',\n onContinueWithoutSave: () => {\n reset();\n return true;\n },\n buttonContinueText: 'Save',\n onContinue: async () => {\n await onSubmit();\n // a bit of a hack to make sure we get the latest form state before continuing\n // there's not an easy way of figuring out if the submission was successful or not\n // so we wait for a React re-render and then check if the form is still dirty\n await new Promise((resolve) => setTimeout(resolve, 1));\n return !isDirtyRef.current;\n },\n });\n}\n//# sourceMappingURL=use-block-unsaved-changes-navigate.js.map","import { useMemo } from 'react';\nimport { withPlaceholderSlots } from '#src/schema/index.js';\nimport { useProjectDefinition } from './use-project-definition.js';\nexport function useDefinitionSchema(schemaCreator) {\n const { definitionSchemaParserContext } = useProjectDefinition();\n return useMemo(() => {\n if ('slotDefinition' in schemaCreator) {\n return withPlaceholderSlots(schemaCreator)(definitionSchemaParserContext);\n }\n return schemaCreator(definitionSchemaParserContext);\n }, [definitionSchemaParserContext, schemaCreator]);\n}\n//# sourceMappingURL=use-definition-schema.js.map","import { useContext } from 'react';\nimport { ErrorHandlerContext } from '../contexts/error-handler.js';\nexport function useErrorHandler() {\n const context = useContext(ErrorHandlerContext);\n if (!context) {\n throw new Error('useErrorHandler must be used within an ErrorHandlerContext');\n }\n return context;\n}\n//# sourceMappingURL=use-error-handler.js.map","import { toast } from '@baseplate-dev/ui-components';\nimport { isEqual } from 'es-toolkit';\nimport { useEffect, useRef } from 'react';\nimport { useForm } from 'react-hook-form';\nimport { useProjectDefinition } from './use-project-definition.js';\nexport function useResettableForm(props) {\n const formProps = useForm(props);\n const { reset, formState } = formProps;\n const { isDirty } = formState;\n const { updatedExternally } = useProjectDefinition();\n const oldValues = useRef(undefined);\n useEffect(() => {\n if (oldValues.current &&\n !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {\n reset(props?.defaultValues);\n if (isDirty && updatedExternally) {\n toast.warning('Contents were updated externally so form was reset!');\n }\n }\n if (!oldValues.current ||\n !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {\n oldValues.current = {\n oldDefaultValues: props?.defaultValues,\n };\n }\n }, [props?.defaultValues, reset, updatedExternally, isDirty]);\n return formProps;\n}\n//# sourceMappingURL=use-resettable-form.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudActionWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD action web configs\n */\nexport const adminCrudActionWebSpec = createFieldMapSpec('core/admin-crud-action-web', (t) => ({\n // oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying action types at runtime\n actions: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-action-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudColumnWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD column web configs\n */\nexport const adminCrudColumnWebSpec = createFieldMapSpec('core/admin-crud-column-web', (t) => ({\n // oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying column types at runtime\n columns: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-column-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudInputWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD input web configs\n */\nexport const adminCrudInputWebSpec = createFieldMapSpec('core/admin-crud-input-web', (t) => ({\n // oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying input types at runtime\n inputs: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-input-web-spec.js.map","import { createPluginSpec } from '#src/plugins/spec/types.js';\n/**\n * Spec for registering navigation builder functions for definition entity types.\n *\n * Use `register(entityType, builder)` during initialization. If the entity type\n * has a parent (THasParent = true), parentId and parentKey are required strings\n * in the builder's params. grandparentId/grandparentKey are always optional and\n * available for grandchild entity types.\n *\n * After initialization, use `getNavBuilder(entityType)` to retrieve the builder.\n */\nexport const entityTypeUrlWebSpec = createPluginSpec('core/entity-type-url-web', {\n initializer: () => {\n const builders = new Map();\n return {\n init: {\n register: (entityType, builder) => {\n builders.set(entityType.name, builder);\n },\n },\n use: () => ({\n getNavBuilder: (entityType) => builders.get(entityType.name),\n }),\n };\n },\n});\n//# sourceMappingURL=entity-type-url-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createModelTransformerWebConfig(config) {\n return config;\n}\n/**\n * Spec for adding web config for transformers\n */\nexport const modelTransformerWebSpec = createFieldMapSpec('core/model-transformer-web', (t) => ({\n // oxlint-disable-next-line typescript/no-explicit-any -- plugins register varying transformer types at runtime\n transformers: t.namedArrayToMap(),\n}), {\n use: (values) => ({\n getWebConfigOrThrow(name) {\n const transformer = values.transformers.get(name);\n if (!transformer) {\n throw new Error(`Transformer ${name} not found`);\n }\n return transformer;\n },\n getWebConfigs: () => [...values.transformers.values()],\n }),\n});\n//# sourceMappingURL=model-transformer-web-spec.js.map","export function setUndefinedIfEmpty(value) {\n if (value === '')\n return undefined;\n return value;\n}\n//# sourceMappingURL=form.js.map"],"names":["_jsxs","_jsx","ComboboxField","useControllerMerged","useMemo","useState","createCreateOption","useEffect","toast","useRef"],"mappings":";;;;;;;AACA,MAAA,CAAA,KAAA,CAAA,gBAAA,CAAA,UAAA,CAAA,KAAA,CAAA,MAAA,CAAA,MAAA,CAAA,aAAA,CAAA,YAAA,CAAA,WAAA,CAAA,aAAA,CAAA,cAAA,CAAA,GAAA,MAAA,YAAA,CAAA,8BAAA,CAAA;;AACA,MAAM,yBAAyB,GAAG;AAClC,IAAI,KAAK,EAAE,SAAS;AACpB,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,OAAO,EAAE,aAAa;AAC1B,CAAC;AACD,SAAS,sBAAsB,CAAC,EAAE,KAAK,GAAG,EAAE;AAC5C,IAAI,QAAQA,sBAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,4DAA4D,EAAE,QAAQ,EAAE,CAACC,qBAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,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