@baseplate-dev/plugin-auth 0.6.10 → 0.6.12
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 +32 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +4 -1
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ClIdhDoz.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-Bd_uRhIr.js} +37 -29
- 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__.js-BX1_Ngjt.js +346 -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__.js-CQuBII8a.js +89 -0
- package/dist/web/assets/{dist-BhvYza4J.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DsLoA9K7.js} +6408 -2424
- 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 → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js} +206 -1086
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.mjs-BalS-ZNe.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js} +271 -20
- package/dist/web/assets/auth-DS8ZnZZr.js +1 -0
- package/dist/web/assets/{common-DsAJIAWm.js → common-B8Z1_D6-.js} +3 -3
- package/dist/web/assets/{common-DpbhYjND.js → common-BFKR_7HQ.js} +5 -5
- package/dist/web/assets/{common-KNIYXbku.js → common-C0Hur22D.js} +3 -3
- package/dist/web/assets/{common-DiDohcsR.js → common-CLtpg163.js} +3 -3
- package/dist/web/assets/{common-ERn8TuKQ.js → common-CTYcv1u_.js} +3 -3
- package/dist/web/assets/{common-C7yhhy8-.js → common-ooa00sM_.js} +5 -5
- package/dist/web/assets/{dist-B0GpYPx6.js → dist-DicVrB_Z.js} +219 -216
- package/dist/web/assets/{get-auth-plugin-definition-Bu_lkrUz.js → get-auth-plugin-definition-DBdchbBZ.js} +2 -2
- package/dist/web/assets/hostInit-CDVLjNbq.js +119 -0
- package/dist/web/assets/{index-D5GoD4M0.js → index-CR54yoeW.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-0-4f84e81c.js +32 -0
- package/dist/web/assets/{model-utils-BPfI0c3Y.js → model-utils-CQpTF3uf.js} +16 -16
- package/dist/web/assets/{models-BufWBHGv.js → models-BIKzGkW3.js} +3 -3
- package/dist/web/assets/{models-BTYxwDyB.js → models-Bc3L4Vsl.js} +3 -3
- package/dist/web/assets/{plugin-definition-D5s4GTfd.js → plugin-definition-33i4r91s.js} +3 -3
- package/dist/web/assets/{plugin-definition-BTHzuXv5.js → plugin-definition-BhNnSvrD.js} +3 -3
- package/dist/web/assets/{rolldown-runtime-_TIqcEvS.js → rolldown-runtime-FZ4Itg2g.js} +8 -1
- package/dist/web/assets/{styles-BpmWykfT.js → styles-BT_OTXuv.js} +8 -9
- package/dist/web/assets/{styles-CAm3HyKx.css → styles-Cc26Bbxc.css} +1 -1
- package/dist/web/assets/{virtualExposes-Bru0eAhP.js → virtualExposes-B_hX31Ln.js} +1 -1
- package/dist/web/assets/{dist-CEUHjZe8.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-CtbvyMZJ.js} +1175 -300
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-BVNjo6R7.js +129 -0
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DBiKf3iL.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B_7IVc8D.js} +15 -15
- package/dist/web/assets/vite-preload-helper-iIio8xkS.js +67 -0
- package/dist/web/assets/{web-ffSErgfF.js → web-BC9MejP0.js} +3 -3
- package/dist/web/assets/{web-BUa3uD-P.js → web-BDeHApaZ.js} +16 -19
- package/dist/web/assets/{web-CgosRRUN.js → web-BXB-pvWJ.js} +14 -15
- package/dist/web/assets/{web-DhTqWxxL.js → web-CJlCNegu.js} +3 -3
- package/dist/web/assets/{web-DlJyNEbj.js → web-DYbNyLPi.js} +29 -31
- package/dist/web/assets/{web-nADEuz1b.js → web-Dso6eI9u.js} +11 -12
- package/dist/web/assets/{web-BmHd5WWD.js → web-aKoJoBnQ.js} +10 -11
- package/dist/web/index.html +2 -2
- package/dist/web/remoteEntry.js +1 -1
- package/dist/web/remoteEntry.ssr.js +43 -0
- package/package.json +18 -18
- 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 +0 -100
- 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 +0 -38
- 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 +0 -38
- 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 +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__-Bed38hA6.js +0 -3
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react_mf_2_dom__loadShare__-Bixm3Wfj.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__-BArWH8PX.js +0 -2
- 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 +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react__prebuild__-D4n2cb00.js +0 -3
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-BkswA-5f.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_2_dom__prebuild__-CiX5bkAg.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__zod__prebuild__-BnF6dd62.js +0 -2
- package/dist/web/assets/auth-B91ghZtH.js +0 -1
- package/dist/web/assets/hostInit-BeM6xnlw.js +0 -72
- package/dist/web/assets/index.esm-iUXrvsTx.js +0 -2003
- package/dist/web/assets/md-BLjaL5ZD.js +0 -439
- package/dist/web/assets/react-B4hMnLhV.js +0 -49
- package/dist/web/assets/stringify-pretty-stable-ByfjYf8u.js +0 -155
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-DK03x1PZ.js +0 -270
- package/dist/web/mf-entry-bootstrap-0.js +0 -17
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { t as __vitePreload } from "./vite-preload-helper-iIio8xkS.js";
|
|
2
|
+
//#region \0virtual:mf:__mfe_internal__plugin_mf_2_auth__H_A_I__hostAutoInit__H_A_I__.js
|
|
3
|
+
var __mfCacheGlobalKey = "__mf_module_cache__";
|
|
4
|
+
globalThis[__mfCacheGlobalKey] ||= {
|
|
5
|
+
share: {},
|
|
6
|
+
remote: {}
|
|
7
|
+
};
|
|
8
|
+
globalThis[__mfCacheGlobalKey].share ||= {};
|
|
9
|
+
globalThis[__mfCacheGlobalKey].remote ||= {};
|
|
10
|
+
var __mfModuleCache = globalThis[__mfCacheGlobalKey];
|
|
11
|
+
for (const __mfShareKey of Object.keys(__mfModuleCache.share)) if (__mfShareKey.startsWith("default:")) {
|
|
12
|
+
const __mfLegacyShareKey = __mfShareKey.slice(8);
|
|
13
|
+
if (__mfModuleCache.share[__mfLegacyShareKey] === void 0) __mfModuleCache.share[__mfLegacyShareKey] = __mfModuleCache.share[__mfShareKey];
|
|
14
|
+
} else if (!__mfShareKey.includes(":")) {
|
|
15
|
+
const __mfDefaultShareKey = "default:" + __mfShareKey;
|
|
16
|
+
if (__mfModuleCache.share[__mfDefaultShareKey] === void 0) __mfModuleCache.share[__mfDefaultShareKey] = __mfModuleCache.share[__mfShareKey];
|
|
17
|
+
}
|
|
18
|
+
var hostInitPromise;
|
|
19
|
+
async function initHost() {
|
|
20
|
+
if (!hostInitPromise) hostInitPromise = (async () => {
|
|
21
|
+
const runtime = await (await __vitePreload(() => import("../remoteEntry.js"), [], import.meta.url)).init();
|
|
22
|
+
const usedShared = {
|
|
23
|
+
"react": {
|
|
24
|
+
version: "19.1.0",
|
|
25
|
+
scope: "default",
|
|
26
|
+
shareConfig: {
|
|
27
|
+
singleton: true,
|
|
28
|
+
requiredVersion: "^19.1.0",
|
|
29
|
+
strictVersion: false
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"react-dom": {
|
|
33
|
+
version: "19.1.0",
|
|
34
|
+
scope: "default",
|
|
35
|
+
shareConfig: {
|
|
36
|
+
singleton: true,
|
|
37
|
+
requiredVersion: "^19.1.0",
|
|
38
|
+
strictVersion: false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"zod": {
|
|
42
|
+
version: "4.3.6",
|
|
43
|
+
scope: "default",
|
|
44
|
+
shareConfig: {
|
|
45
|
+
singleton: true,
|
|
46
|
+
requiredVersion: "^4.3.6",
|
|
47
|
+
strictVersion: false
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"@baseplate-dev/ui-components": {
|
|
51
|
+
version: "0.6.12",
|
|
52
|
+
scope: "default",
|
|
53
|
+
shareConfig: {
|
|
54
|
+
singleton: true,
|
|
55
|
+
requiredVersion: "^0.6.12",
|
|
56
|
+
strictVersion: false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"@baseplate-dev/project-builder-lib": {
|
|
60
|
+
version: "0.6.12",
|
|
61
|
+
scope: "default",
|
|
62
|
+
shareConfig: {
|
|
63
|
+
singleton: true,
|
|
64
|
+
requiredVersion: "^0.6.12",
|
|
65
|
+
strictVersion: false
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"@baseplate-dev/project-builder-lib/web": {
|
|
69
|
+
version: "0.6.12",
|
|
70
|
+
scope: "default",
|
|
71
|
+
shareConfig: {
|
|
72
|
+
singleton: true,
|
|
73
|
+
requiredVersion: "^0.6.12",
|
|
74
|
+
strictVersion: false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"@tanstack/react-router": {
|
|
78
|
+
version: "1.159.5",
|
|
79
|
+
scope: "default",
|
|
80
|
+
shareConfig: {
|
|
81
|
+
singleton: true,
|
|
82
|
+
requiredVersion: "^1.159.5",
|
|
83
|
+
strictVersion: false
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
const __mfGetSharedCacheKey = (pkg, singleton, version, scope) => {
|
|
88
|
+
const prefix = ((Array.isArray(scope) ? scope[0] : scope) || "default") + ":";
|
|
89
|
+
return singleton || !version ? prefix + pkg : prefix + pkg + "@" + version;
|
|
90
|
+
};
|
|
91
|
+
const __mfNormalizeRuntimeShare = (mod) => {
|
|
92
|
+
let current = mod;
|
|
93
|
+
for (let i = 0; i < 5; i++) {
|
|
94
|
+
const defaultExport = current?.default;
|
|
95
|
+
if (!defaultExport || typeof defaultExport !== "object" || Object.keys(defaultExport).length === 0) break;
|
|
96
|
+
const namedValues = Object.keys(current).filter((key) => key !== "default").map((key) => current[key]);
|
|
97
|
+
if (namedValues.length > 0 && namedValues.some((value) => value !== void 0)) break;
|
|
98
|
+
current = defaultExport;
|
|
99
|
+
}
|
|
100
|
+
return current;
|
|
101
|
+
};
|
|
102
|
+
for (const [pkg, share] of Object.entries(usedShared)) {
|
|
103
|
+
const cacheKey = __mfGetSharedCacheKey(pkg, share.shareConfig?.singleton, share.version, share.scope);
|
|
104
|
+
if (__mfModuleCache.share[cacheKey] !== void 0) continue;
|
|
105
|
+
await runtime.loadShare(pkg, { customShareInfo: { shareConfig: share.shareConfig } }).then((factory) => {
|
|
106
|
+
const mod = typeof factory === "function" ? factory() : factory;
|
|
107
|
+
return Promise.resolve(mod).then((resolved) => {
|
|
108
|
+
__mfModuleCache.share[cacheKey] = __mfNormalizeRuntimeShare(resolved);
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
await Promise.all([]);
|
|
113
|
+
return runtime;
|
|
114
|
+
})();
|
|
115
|
+
return hostInitPromise;
|
|
116
|
+
}
|
|
117
|
+
hostInitPromise = initHost();
|
|
118
|
+
//#endregion
|
|
119
|
+
export { hostInitPromise, initHost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
2
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-
|
|
1
|
+
import "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B_7IVc8D.js";
|
|
2
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-CtbvyMZJ.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
const __mfCacheGlobalKey = "__mf_module_cache__";
|
|
3
|
+
globalThis[__mfCacheGlobalKey] ||= { share: {}, remote: {} };
|
|
4
|
+
globalThis[__mfCacheGlobalKey].share ||= {};
|
|
5
|
+
globalThis[__mfCacheGlobalKey].remote ||= {};
|
|
6
|
+
const __mfModuleCache = globalThis[__mfCacheGlobalKey];
|
|
7
|
+
for (const __mfShareKey of Object.keys(__mfModuleCache.share)) {
|
|
8
|
+
if (__mfShareKey.startsWith("default:")) {
|
|
9
|
+
const __mfLegacyShareKey = __mfShareKey.slice("default:".length);
|
|
10
|
+
if (__mfModuleCache.share[__mfLegacyShareKey] === undefined) {
|
|
11
|
+
__mfModuleCache.share[__mfLegacyShareKey] = __mfModuleCache.share[__mfShareKey];
|
|
12
|
+
}
|
|
13
|
+
} else if (!__mfShareKey.includes(":")) {
|
|
14
|
+
const __mfDefaultShareKey = "default:" + __mfShareKey;
|
|
15
|
+
if (__mfModuleCache.share[__mfDefaultShareKey] === undefined) {
|
|
16
|
+
__mfModuleCache.share[__mfDefaultShareKey] = __mfModuleCache.share[__mfShareKey];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const __mfImport = (src) =>
|
|
22
|
+
globalThis.System && typeof globalThis.System.import === 'function'
|
|
23
|
+
? globalThis.System.import(src)
|
|
24
|
+
: import(src);
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
(async () => {
|
|
28
|
+
const __mfHostInit = await __mfImport("./hostInit-CDVLjNbq.js");
|
|
29
|
+
await __mfHostInit.__tla;
|
|
30
|
+
const { initHost } = __mfHostInit;
|
|
31
|
+
await initHost();
|
|
32
|
+
})().then(() => __mfImport("./index-CR54yoeW.js"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.
|
|
1
|
+
import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
2
2
|
//#region ../../packages/project-builder-lib/dist/plugins/spec/types.js
|
|
3
3
|
/**
|
|
4
4
|
* Creates a plugin spec with init and use phases.
|
|
@@ -61,8 +61,13 @@ function sortBy(arr, criteria) {
|
|
|
61
61
|
return orderBy(arr, criteria, ["asc"]);
|
|
62
62
|
}
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/
|
|
65
|
-
function
|
|
64
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
65
|
+
function isPlainObject(value) {
|
|
66
|
+
if (!value || typeof value !== "object") return false;
|
|
67
|
+
const proto = Object.getPrototypeOf(value);
|
|
68
|
+
if (!(proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null)) return false;
|
|
69
|
+
return Object.prototype.toString.call(value) === "[object Object]";
|
|
70
|
+
}
|
|
66
71
|
//#endregion
|
|
67
72
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
68
73
|
function getSymbols(object) {
|
|
@@ -103,14 +108,6 @@ var bigInt64ArrayTag = "[object BigInt64Array]";
|
|
|
103
108
|
var float32ArrayTag = "[object Float32Array]";
|
|
104
109
|
var float64ArrayTag = "[object Float64Array]";
|
|
105
110
|
//#endregion
|
|
106
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
107
|
-
function isPlainObject(value) {
|
|
108
|
-
if (!value || typeof value !== "object") return false;
|
|
109
|
-
const proto = Object.getPrototypeOf(value);
|
|
110
|
-
if (!(proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null)) return false;
|
|
111
|
-
return Object.prototype.toString.call(value) === "[object Object]";
|
|
112
|
-
}
|
|
113
|
-
//#endregion
|
|
114
111
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.mjs
|
|
115
112
|
function isEqualsSameValueZero(value, other) {
|
|
116
113
|
return value === other || Number.isNaN(value) && Number.isNaN(other);
|
|
@@ -222,6 +219,9 @@ function areObjectsEqual(a, b, stack, areValuesEqual) {
|
|
|
222
219
|
}
|
|
223
220
|
}
|
|
224
221
|
//#endregion
|
|
222
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/function/noop.mjs
|
|
223
|
+
function noop() {}
|
|
224
|
+
//#endregion
|
|
225
225
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isEqual.mjs
|
|
226
226
|
function isEqual(a, b) {
|
|
227
227
|
return isEqualWith(a, b, noop);
|
|
@@ -261,7 +261,7 @@ var ArrayContainer = class {
|
|
|
261
261
|
}
|
|
262
262
|
push(...items) {
|
|
263
263
|
let currentValue = this._value;
|
|
264
|
-
if (this._stripDuplicates) currentValue = [
|
|
264
|
+
if (this._stripDuplicates) currentValue = [.../* @__PURE__ */ new Set([...currentValue, ...items])];
|
|
265
265
|
else currentValue = [...currentValue, ...items];
|
|
266
266
|
this._value = currentValue;
|
|
267
267
|
}
|
|
@@ -397,7 +397,7 @@ var MapOfMapsContainer = class {
|
|
|
397
397
|
const existingOuterValue = this._value.get(key1);
|
|
398
398
|
const setBySource = source ?? this.getDynamicSource?.() ?? "unknown";
|
|
399
399
|
if (!existingOuterValue) {
|
|
400
|
-
const newInnerMap = new Map([[key2, {
|
|
400
|
+
const newInnerMap = /* @__PURE__ */ new Map([[key2, {
|
|
401
401
|
value,
|
|
402
402
|
setBySource
|
|
403
403
|
}]]);
|
|
@@ -1155,8 +1155,8 @@ function ensureFeatureByNameRecursively(projectDefinition, nameOrId) {
|
|
|
1155
1155
|
let lastName = "";
|
|
1156
1156
|
let parentRef = void 0;
|
|
1157
1157
|
for (const part of nameParts) {
|
|
1158
|
-
const feature = projectDefinition.features.find((f) => f.name === part && f.parentRef === parentRef);
|
|
1159
1158
|
const name = [lastName, part].filter(Boolean).join("/");
|
|
1159
|
+
const feature = projectDefinition.features.find((f) => f.name === name && f.parentRef === parentRef);
|
|
1160
1160
|
if (feature) parentRef = feature.id;
|
|
1161
1161
|
else {
|
|
1162
1162
|
const newFeature = {
|
|
@@ -1282,6 +1282,6 @@ var ModelUtils = {
|
|
|
1282
1282
|
getPrimaryKeyFields
|
|
1283
1283
|
};
|
|
1284
1284
|
//#endregion
|
|
1285
|
-
export {
|
|
1285
|
+
export { getSymbols as $, argumentsTag as A, int8ArrayTag as B, createPluginFieldMap as C, validationHintRegistry as D, CASE_VALIDATORS as E, dateTag as F, setTag as G, numberTag as H, float32ArrayTag as I, uint16ArrayTag as J, stringTag as K, float64ArrayTag as L, arrayTag as M, booleanTag as N, isEqual as O, dataViewTag as P, getTag as Q, int16ArrayTag as R, createFieldMapSpec as S, runInPluginContext as T, objectTag as U, mapTag as V, regexpTag as W, uint8ArrayTag as X, uint32ArrayTag as Y, uint8ClampedArrayTag as Z, createRefContextSlot as _, featureEntityType as a, expressionParserSpec as b, createEntityType as c, definitionSchemaWithSlots as d, isPlainObject as et, withPlaceholderSlots as f, withRef as g, withEnt as h, createFeaturesSchema as i, arrayBufferTag as j, isEqualsSameValueZero as k, createDefinitionSchemaParserContext as l, definitionDefaultRegistry as m, FeatureUtils as n, createPluginSpec as nt, featureNameSchema as o, withDefault as p, symbolTag as q, createFeatureSchema as r, DefinitionEntityType as s, ModelUtils as t, sortBy as tt, definitionSchema as u, createRefContextSlotMap as v, getPluginContext as w, definitionRefRegistry as x, RefExpressionParser as y, int32ArrayTag as z };
|
|
1286
1286
|
|
|
1287
|
-
//# sourceMappingURL=model-utils-
|
|
1287
|
+
//# sourceMappingURL=model-utils-CQpTF3uf.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
2
|
+
import { i as __mf_163, y as __mf_59 } from "./_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__.js-BX1_Ngjt.js";
|
|
3
3
|
import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
|
|
4
4
|
//#region src/local-auth/core/schema/plugin-definition.ts
|
|
5
5
|
var createLocalAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({
|
|
@@ -282,4 +282,4 @@ function createLocalAuthPartialDefinition(authFeatureName, accountsFeatureName)
|
|
|
282
282
|
//#endregion
|
|
283
283
|
export { createLocalAuthPluginDefinitionSchema as n, createLocalAuthPartialDefinition as t };
|
|
284
284
|
|
|
285
|
-
//# sourceMappingURL=models-
|
|
285
|
+
//# sourceMappingURL=models-BIKzGkW3.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
2
|
+
import { i as __mf_163, y as __mf_59 } from "./_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__.js-BX1_Ngjt.js";
|
|
3
3
|
import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
|
|
4
4
|
//#region src/better-auth/core/schema/plugin-definition.ts
|
|
5
5
|
var createBetterAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({ additionalUserAdminRoles: ctx.withDefault(__mf_0.array(ctx.withRef({
|
|
@@ -301,4 +301,4 @@ function createBetterAuthPartialDefinition(authFeatureName, accountsFeatureName)
|
|
|
301
301
|
//#endregion
|
|
302
302
|
export { createBetterAuthPluginDefinitionSchema as n, createBetterAuthPartialDefinition as t };
|
|
303
303
|
|
|
304
|
-
//# sourceMappingURL=models-
|
|
304
|
+
//# sourceMappingURL=models-Bc3L4Vsl.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
2
|
+
import { i as __mf_163 } from "./_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__.js-BX1_Ngjt.js";
|
|
3
3
|
//#region src/placeholder-auth/constants/model-names.ts
|
|
4
4
|
var PLACEHOLDER_AUTH_MODELS = { user: "User" };
|
|
5
5
|
//#endregion
|
|
@@ -8,4 +8,4 @@ var createPlaceholderAuthPluginDefinitionSchema = __mf_163(() => __mf_0.object({
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PLACEHOLDER_AUTH_MODELS as n, createPlaceholderAuthPluginDefinitionSchema as t };
|
|
10
10
|
|
|
11
|
-
//# sourceMappingURL=plugin-definition-
|
|
11
|
+
//# sourceMappingURL=plugin-definition-33i4r91s.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
2
|
+
import { i as __mf_163, s as __mf_172, y as __mf_59 } from "./_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__.js-BX1_Ngjt.js";
|
|
3
3
|
//#region src/auth/core/schema/roles/constants.ts
|
|
4
4
|
var AUTH_DEFAULT_ROLES = [
|
|
5
5
|
{
|
|
@@ -75,4 +75,4 @@ var createAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({
|
|
|
75
75
|
//#endregion
|
|
76
76
|
export { createAuthRoleSchema as n, createDefaultAuthRoles as r, createAuthPluginDefinitionSchema as t };
|
|
77
77
|
|
|
78
|
-
//# sourceMappingURL=plugin-definition-
|
|
78
|
+
//# sourceMappingURL=plugin-definition-BhNnSvrD.js.map
|
|
@@ -5,7 +5,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esmMin = (fn, res) => () =>
|
|
8
|
+
var __esmMin = (fn, res, err) => () => {
|
|
9
|
+
if (err) throw err[0];
|
|
10
|
+
try {
|
|
11
|
+
return fn && (res = fn(fn = 0)), res;
|
|
12
|
+
} catch (e) {
|
|
13
|
+
throw err = [e], e;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
9
16
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
17
|
var __exportAll = (all, no_symbols) => {
|
|
11
18
|
let target = {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { i as __mf_24 } from "./_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";
|
|
1
|
+
import { t as __mf_53 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js";
|
|
2
|
+
import { L as appendErrors, R as get, St as __mf_2, h as NavigationTabsItem, m as NavigationTabs, xt as __mf_1, z as set } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DsLoA9K7.js";
|
|
3
|
+
import { a as parse, o as parseAsync, s as $ZodError } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
4
|
+
import { p as __mf_26 } from "./_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__.js-BX1_Ngjt.js";
|
|
5
|
+
import { i as __mf_24 } from "./_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__.js-CQuBII8a.js";
|
|
7
6
|
//#region ../../node_modules/.pnpm/@hookform+resolvers@5.2.2_react-hook-form@7.71.1/node_modules/@hookform/resolvers/dist/resolvers.mjs
|
|
8
7
|
var r = (t, r, o) => {
|
|
9
8
|
if (t && "reportValidity" in t) {
|
|
@@ -153,14 +152,14 @@ function AuthConfigTabs() {
|
|
|
153
152
|
const implementationPluginKey = __mf_26.configByKey(definition, authPlugin.metadata.key)?.implementationPluginKey;
|
|
154
153
|
const authImplementationPlugin = schemaParserContext.pluginStore.availablePlugins.find((p) => p.metadata.key === implementationPluginKey);
|
|
155
154
|
if (!authImplementationPlugin) return null;
|
|
156
|
-
return /* @__PURE__ */ __mf_2(
|
|
155
|
+
return /* @__PURE__ */ __mf_2(NavigationTabs, { children: [/* @__PURE__ */ __mf_1(NavigationTabsItem, {
|
|
157
156
|
render: /* @__PURE__ */ __mf_1(__mf_53, {
|
|
158
157
|
to: "/plugins/edit/$key",
|
|
159
158
|
params: { key: authPlugin.metadata.key },
|
|
160
159
|
activeOptions: { exact: true }
|
|
161
160
|
}),
|
|
162
161
|
children: "Auth"
|
|
163
|
-
}), /* @__PURE__ */ __mf_1(
|
|
162
|
+
}), /* @__PURE__ */ __mf_1(NavigationTabsItem, {
|
|
164
163
|
render: /* @__PURE__ */ __mf_1(__mf_53, {
|
|
165
164
|
to: `/plugins/edit/${authImplementationPlugin.metadata.key}`,
|
|
166
165
|
activeOptions: { exact: true }
|
|
@@ -171,4 +170,4 @@ function AuthConfigTabs() {
|
|
|
171
170
|
//#endregion
|
|
172
171
|
export { a as n, AuthConfigTabs as t };
|
|
173
172
|
|
|
174
|
-
//# sourceMappingURL=styles-
|
|
173
|
+
//# sourceMappingURL=styles-BT_OTXuv.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.
|
|
1
|
+
/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties {
|
|
3
3
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
4
4
|
*, :before, :after, ::backdrop {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default } from "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
1
|
+
import { t as virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default } from "./virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B_7IVc8D.js";
|
|
2
2
|
export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as default };
|