@baseplate-dev/plugin-auth 0.6.10 → 0.6.11
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 +16 -0
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ClIdhDoz.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DEljr3MS.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-B6a7L2-k.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-JKpdJ1L0.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-YjeUffyx.js +1 -0
- package/dist/web/assets/{common-ERn8TuKQ.js → common-B3OG-gju.js} +3 -3
- package/dist/web/assets/{common-C7yhhy8-.js → common-CTWnBc6I.js} +5 -5
- package/dist/web/assets/{common-DsAJIAWm.js → common-CzNLnT_1.js} +3 -3
- package/dist/web/assets/{common-KNIYXbku.js → common-g_Gn0v5J.js} +3 -3
- package/dist/web/assets/{common-DpbhYjND.js → common-kfSP8YQO.js} +5 -5
- package/dist/web/assets/{common-DiDohcsR.js → common-zfktVQvk.js} +3 -3
- package/dist/web/assets/{dist-B0GpYPx6.js → dist-C6kDPCTC.js} +217 -214
- package/dist/web/assets/{get-auth-plugin-definition-Bu_lkrUz.js → get-auth-plugin-definition-2vFJROjB.js} +2 -2
- package/dist/web/assets/hostInit-35H-qR11.js +119 -0
- package/dist/web/assets/{index-D5GoD4M0.js → index-Cr47LBtj.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-0-13480d2a.js +32 -0
- package/dist/web/assets/{model-utils-BPfI0c3Y.js → model-utils-ZF_FVZ_o.js} +15 -15
- package/dist/web/assets/{models-BufWBHGv.js → models-CORL4i-6.js} +3 -3
- package/dist/web/assets/{models-BTYxwDyB.js → models-DPPMgQz_.js} +3 -3
- package/dist/web/assets/{plugin-definition-BTHzuXv5.js → plugin-definition-UAfMRa7u.js} +3 -3
- package/dist/web/assets/{plugin-definition-D5s4GTfd.js → plugin-definition-mNNM2hOB.js} +3 -3
- package/dist/web/assets/{rolldown-runtime-_TIqcEvS.js → rolldown-runtime-FZ4Itg2g.js} +8 -1
- package/dist/web/assets/{styles-CAm3HyKx.css → styles-Cc26Bbxc.css} +1 -1
- package/dist/web/assets/{styles-BpmWykfT.js → styles-DNVWarsT.js} +8 -9
- package/dist/web/assets/{virtualExposes-Bru0eAhP.js → virtualExposes-CZsMFYa2.js} +1 -1
- package/dist/web/assets/{dist-CEUHjZe8.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bt9-dftr.js} +1175 -300
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DC8YPV1Z.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-CmilMd0E.js} +15 -15
- package/dist/web/assets/vite-preload-helper-iIio8xkS.js +67 -0
- package/dist/web/assets/{web-BUa3uD-P.js → web-BbqWFVPH.js} +16 -19
- package/dist/web/assets/{web-BmHd5WWD.js → web-BldKZtQd.js} +10 -11
- package/dist/web/assets/{web-DhTqWxxL.js → web-CNMEeTj-.js} +3 -3
- package/dist/web/assets/{web-ffSErgfF.js → web-CnsQCdFE.js} +3 -3
- package/dist/web/assets/{web-CgosRRUN.js → web-DiGj_0d0.js} +14 -15
- package/dist/web/assets/{web-DlJyNEbj.js → web-OntIhIfe.js} +29 -31
- package/dist/web/assets/{web-nADEuz1b.js → web-y8E7eNgy.js} +11 -12
- 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,129 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-Cc26Bbxc.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { t as __vitePreload } from "./vite-preload-helper-iIio8xkS.js";
|
|
3
|
+
//#region virtual:mf-exposes-ssr:__mfe_internal__plugin-auth__remoteEntry_js
|
|
4
|
+
var virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
5
|
+
"./auth/core/web": async () => {
|
|
6
|
+
const importModule = await __vitePreload(() => import("./web-OntIhIfe.js"), __vite__mapDeps([0]), import.meta.url);
|
|
7
|
+
const exportModule = {};
|
|
8
|
+
Object.assign(exportModule, importModule);
|
|
9
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
10
|
+
value: true,
|
|
11
|
+
enumerable: false
|
|
12
|
+
});
|
|
13
|
+
return exportModule;
|
|
14
|
+
},
|
|
15
|
+
"./auth/core/common": async () => {
|
|
16
|
+
const importModule = await __vitePreload(() => import("./common-CzNLnT_1.js"), [], import.meta.url);
|
|
17
|
+
const exportModule = {};
|
|
18
|
+
Object.assign(exportModule, importModule);
|
|
19
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
20
|
+
value: true,
|
|
21
|
+
enumerable: false
|
|
22
|
+
});
|
|
23
|
+
return exportModule;
|
|
24
|
+
},
|
|
25
|
+
"./better-auth/core/web": async () => {
|
|
26
|
+
const importModule = await __vitePreload(() => import("./web-y8E7eNgy.js"), __vite__mapDeps([0]), import.meta.url);
|
|
27
|
+
const exportModule = {};
|
|
28
|
+
Object.assign(exportModule, importModule);
|
|
29
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
30
|
+
value: true,
|
|
31
|
+
enumerable: false
|
|
32
|
+
});
|
|
33
|
+
return exportModule;
|
|
34
|
+
},
|
|
35
|
+
"./better-auth/core/common": async () => {
|
|
36
|
+
const importModule = await __vitePreload(() => import("./common-kfSP8YQO.js"), [], import.meta.url);
|
|
37
|
+
const exportModule = {};
|
|
38
|
+
Object.assign(exportModule, importModule);
|
|
39
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
40
|
+
value: true,
|
|
41
|
+
enumerable: false
|
|
42
|
+
});
|
|
43
|
+
return exportModule;
|
|
44
|
+
},
|
|
45
|
+
"./better-auth/admin/web": async () => {
|
|
46
|
+
const importModule = await __vitePreload(() => import("./web-CNMEeTj-.js"), [], import.meta.url);
|
|
47
|
+
const exportModule = {};
|
|
48
|
+
Object.assign(exportModule, importModule);
|
|
49
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
50
|
+
value: true,
|
|
51
|
+
enumerable: false
|
|
52
|
+
});
|
|
53
|
+
return exportModule;
|
|
54
|
+
},
|
|
55
|
+
"./better-auth/admin/common": async () => {
|
|
56
|
+
const importModule = await __vitePreload(() => import("./common-B3OG-gju.js"), [], import.meta.url);
|
|
57
|
+
const exportModule = {};
|
|
58
|
+
Object.assign(exportModule, importModule);
|
|
59
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
60
|
+
value: true,
|
|
61
|
+
enumerable: false
|
|
62
|
+
});
|
|
63
|
+
return exportModule;
|
|
64
|
+
},
|
|
65
|
+
"./local-auth/core/web": async () => {
|
|
66
|
+
const importModule = await __vitePreload(() => import("./web-DiGj_0d0.js"), __vite__mapDeps([0]), import.meta.url);
|
|
67
|
+
const exportModule = {};
|
|
68
|
+
Object.assign(exportModule, importModule);
|
|
69
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
70
|
+
value: true,
|
|
71
|
+
enumerable: false
|
|
72
|
+
});
|
|
73
|
+
return exportModule;
|
|
74
|
+
},
|
|
75
|
+
"./local-auth/core/common": async () => {
|
|
76
|
+
const importModule = await __vitePreload(() => import("./common-CTWnBc6I.js"), [], import.meta.url);
|
|
77
|
+
const exportModule = {};
|
|
78
|
+
Object.assign(exportModule, importModule);
|
|
79
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
80
|
+
value: true,
|
|
81
|
+
enumerable: false
|
|
82
|
+
});
|
|
83
|
+
return exportModule;
|
|
84
|
+
},
|
|
85
|
+
"./local-auth/admin/web": async () => {
|
|
86
|
+
const importModule = await __vitePreload(() => import("./web-CnsQCdFE.js"), [], import.meta.url);
|
|
87
|
+
const exportModule = {};
|
|
88
|
+
Object.assign(exportModule, importModule);
|
|
89
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
90
|
+
value: true,
|
|
91
|
+
enumerable: false
|
|
92
|
+
});
|
|
93
|
+
return exportModule;
|
|
94
|
+
},
|
|
95
|
+
"./local-auth/admin/common": async () => {
|
|
96
|
+
const importModule = await __vitePreload(() => import("./common-zfktVQvk.js"), [], import.meta.url);
|
|
97
|
+
const exportModule = {};
|
|
98
|
+
Object.assign(exportModule, importModule);
|
|
99
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
100
|
+
value: true,
|
|
101
|
+
enumerable: false
|
|
102
|
+
});
|
|
103
|
+
return exportModule;
|
|
104
|
+
},
|
|
105
|
+
"./placeholder-auth/core/web": async () => {
|
|
106
|
+
const importModule = await __vitePreload(() => import("./web-BldKZtQd.js"), __vite__mapDeps([0]), import.meta.url);
|
|
107
|
+
const exportModule = {};
|
|
108
|
+
Object.assign(exportModule, importModule);
|
|
109
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
110
|
+
value: true,
|
|
111
|
+
enumerable: false
|
|
112
|
+
});
|
|
113
|
+
return exportModule;
|
|
114
|
+
},
|
|
115
|
+
"./placeholder-auth/core/common": async () => {
|
|
116
|
+
const importModule = await __vitePreload(() => import("./common-g_Gn0v5J.js"), [], import.meta.url);
|
|
117
|
+
const exportModule = {};
|
|
118
|
+
Object.assign(exportModule, importModule);
|
|
119
|
+
Object.defineProperty(exportModule, "__esModule", {
|
|
120
|
+
value: true,
|
|
121
|
+
enumerable: false
|
|
122
|
+
});
|
|
123
|
+
return exportModule;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
//#endregion
|
|
127
|
+
export { virtual_mf_exposes_ssr___mfe_internal__plugin_auth__remoteEntry_js_default as default };
|
|
128
|
+
|
|
129
|
+
//# sourceMappingURL=virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DC8YPV1Z.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-
|
|
2
|
-
import {
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./styles-Cc26Bbxc.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { t as __vitePreload } from "./vite-preload-helper-iIio8xkS.js";
|
|
3
3
|
//#region virtual:mf-exposes:__mfe_internal__plugin-auth__remoteEntry_js
|
|
4
4
|
var cssAssetMap = {};
|
|
5
5
|
var injectedCssHrefs = /* @__PURE__ */ new Set();
|
|
@@ -31,7 +31,7 @@ async function injectCssAssets(exposeKey) {
|
|
|
31
31
|
var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
32
32
|
"./auth/core/web": async () => {
|
|
33
33
|
await injectCssAssets("./auth/core/web");
|
|
34
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
34
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-OntIhIfe.js"), __vite__mapDeps([0]), import.meta.url));
|
|
35
35
|
const exportModule = {};
|
|
36
36
|
Object.assign(exportModule, importModule);
|
|
37
37
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -42,7 +42,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
42
42
|
},
|
|
43
43
|
"./auth/core/common": async () => {
|
|
44
44
|
await injectCssAssets("./auth/core/common");
|
|
45
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
45
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-CzNLnT_1.js"), [], import.meta.url));
|
|
46
46
|
const exportModule = {};
|
|
47
47
|
Object.assign(exportModule, importModule);
|
|
48
48
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -53,7 +53,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
53
53
|
},
|
|
54
54
|
"./better-auth/core/web": async () => {
|
|
55
55
|
await injectCssAssets("./better-auth/core/web");
|
|
56
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
56
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-y8E7eNgy.js"), __vite__mapDeps([0]), import.meta.url));
|
|
57
57
|
const exportModule = {};
|
|
58
58
|
Object.assign(exportModule, importModule);
|
|
59
59
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -64,7 +64,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
64
64
|
},
|
|
65
65
|
"./better-auth/core/common": async () => {
|
|
66
66
|
await injectCssAssets("./better-auth/core/common");
|
|
67
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
67
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-kfSP8YQO.js"), [], import.meta.url));
|
|
68
68
|
const exportModule = {};
|
|
69
69
|
Object.assign(exportModule, importModule);
|
|
70
70
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -75,7 +75,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
75
75
|
},
|
|
76
76
|
"./better-auth/admin/web": async () => {
|
|
77
77
|
await injectCssAssets("./better-auth/admin/web");
|
|
78
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
78
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CNMEeTj-.js"), [], import.meta.url));
|
|
79
79
|
const exportModule = {};
|
|
80
80
|
Object.assign(exportModule, importModule);
|
|
81
81
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -86,7 +86,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
86
86
|
},
|
|
87
87
|
"./better-auth/admin/common": async () => {
|
|
88
88
|
await injectCssAssets("./better-auth/admin/common");
|
|
89
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
89
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-B3OG-gju.js"), [], import.meta.url));
|
|
90
90
|
const exportModule = {};
|
|
91
91
|
Object.assign(exportModule, importModule);
|
|
92
92
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -97,7 +97,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
97
97
|
},
|
|
98
98
|
"./local-auth/core/web": async () => {
|
|
99
99
|
await injectCssAssets("./local-auth/core/web");
|
|
100
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
100
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-DiGj_0d0.js"), __vite__mapDeps([0]), import.meta.url));
|
|
101
101
|
const exportModule = {};
|
|
102
102
|
Object.assign(exportModule, importModule);
|
|
103
103
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -108,7 +108,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
108
108
|
},
|
|
109
109
|
"./local-auth/core/common": async () => {
|
|
110
110
|
await injectCssAssets("./local-auth/core/common");
|
|
111
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
111
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-CTWnBc6I.js"), [], import.meta.url));
|
|
112
112
|
const exportModule = {};
|
|
113
113
|
Object.assign(exportModule, importModule);
|
|
114
114
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -119,7 +119,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
119
119
|
},
|
|
120
120
|
"./local-auth/admin/web": async () => {
|
|
121
121
|
await injectCssAssets("./local-auth/admin/web");
|
|
122
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
122
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-CnsQCdFE.js"), [], import.meta.url));
|
|
123
123
|
const exportModule = {};
|
|
124
124
|
Object.assign(exportModule, importModule);
|
|
125
125
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -130,7 +130,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
130
130
|
},
|
|
131
131
|
"./local-auth/admin/common": async () => {
|
|
132
132
|
await injectCssAssets("./local-auth/admin/common");
|
|
133
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
133
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-zfktVQvk.js"), [], import.meta.url));
|
|
134
134
|
const exportModule = {};
|
|
135
135
|
Object.assign(exportModule, importModule);
|
|
136
136
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -141,7 +141,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
141
141
|
},
|
|
142
142
|
"./placeholder-auth/core/web": async () => {
|
|
143
143
|
await injectCssAssets("./placeholder-auth/core/web");
|
|
144
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-
|
|
144
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./web-BldKZtQd.js"), __vite__mapDeps([0]), import.meta.url));
|
|
145
145
|
const exportModule = {};
|
|
146
146
|
Object.assign(exportModule, importModule);
|
|
147
147
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -152,7 +152,7 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
152
152
|
},
|
|
153
153
|
"./placeholder-auth/core/common": async () => {
|
|
154
154
|
await injectCssAssets("./placeholder-auth/core/common");
|
|
155
|
-
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-
|
|
155
|
+
const importModule = await importExposedModule(() => __vitePreload(() => import("./common-g_Gn0v5J.js"), [], import.meta.url));
|
|
156
156
|
const exportModule = {};
|
|
157
157
|
Object.assign(exportModule, importModule);
|
|
158
158
|
Object.defineProperty(exportModule, "__esModule", {
|
|
@@ -165,4 +165,4 @@ var virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default = {
|
|
|
165
165
|
//#endregion
|
|
166
166
|
export { virtual_mf_exposes___mfe_internal__plugin_auth__remoteEntry_js_default as t };
|
|
167
167
|
|
|
168
|
-
//# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-
|
|
168
|
+
//# sourceMappingURL=virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-CmilMd0E.js.map
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//#region \0vite/preload-helper.js
|
|
2
|
+
var scriptRel = /* @__PURE__ */ (function detectScriptRel() {
|
|
3
|
+
const relList = typeof document !== "undefined" && document.createElement("link").relList;
|
|
4
|
+
return relList && relList.supports && relList.supports("modulepreload") ? "modulepreload" : "preload";
|
|
5
|
+
})();
|
|
6
|
+
var assetsURL = function(dep, importerUrl) {
|
|
7
|
+
return new URL(dep, importerUrl).href;
|
|
8
|
+
};
|
|
9
|
+
var seen = {};
|
|
10
|
+
var __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
11
|
+
let promise = Promise.resolve();
|
|
12
|
+
if (deps && deps.length > 0) {
|
|
13
|
+
const links = document.getElementsByTagName("link");
|
|
14
|
+
const cspNonceMeta = document.querySelector("meta[property=csp-nonce]");
|
|
15
|
+
const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce");
|
|
16
|
+
function allSettled(promises) {
|
|
17
|
+
return Promise.all(promises.map((p) => Promise.resolve(p).then((value) => ({
|
|
18
|
+
status: "fulfilled",
|
|
19
|
+
value
|
|
20
|
+
}), (reason) => ({
|
|
21
|
+
status: "rejected",
|
|
22
|
+
reason
|
|
23
|
+
}))));
|
|
24
|
+
}
|
|
25
|
+
function importMetaResolve(specifier) {
|
|
26
|
+
if (import.meta.resolve) return import.meta.resolve(specifier);
|
|
27
|
+
return new URL(specifier, new URL("../../../src/node/plugins/importAnalysisBuild.ts", import.meta.url)).href;
|
|
28
|
+
}
|
|
29
|
+
promise = allSettled(deps.map((dep) => {
|
|
30
|
+
dep = assetsURL(dep, importerUrl);
|
|
31
|
+
dep = importMetaResolve(dep);
|
|
32
|
+
if (dep in seen) return;
|
|
33
|
+
seen[dep] = true;
|
|
34
|
+
const isCss = dep.endsWith(".css");
|
|
35
|
+
for (let i = links.length - 1; i >= 0; i--) {
|
|
36
|
+
const link = links[i];
|
|
37
|
+
if (link.href === dep && (!isCss || link.rel === "stylesheet")) return;
|
|
38
|
+
}
|
|
39
|
+
const link = document.createElement("link");
|
|
40
|
+
link.rel = isCss ? "stylesheet" : scriptRel;
|
|
41
|
+
if (!isCss) link.as = "script";
|
|
42
|
+
link.crossOrigin = "";
|
|
43
|
+
link.href = dep;
|
|
44
|
+
if (cspNonce) link.setAttribute("nonce", cspNonce);
|
|
45
|
+
document.head.appendChild(link);
|
|
46
|
+
if (isCss) return new Promise((res, rej) => {
|
|
47
|
+
link.addEventListener("load", res);
|
|
48
|
+
link.addEventListener("error", () => rej(/* @__PURE__ */ new Error(`Unable to preload CSS for ${dep}`)));
|
|
49
|
+
});
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
function handlePreloadError(err) {
|
|
53
|
+
const e = new Event("vite:preloadError", { cancelable: true });
|
|
54
|
+
e.payload = err;
|
|
55
|
+
window.dispatchEvent(e);
|
|
56
|
+
if (!e.defaultPrevented) throw err;
|
|
57
|
+
}
|
|
58
|
+
return promise.then((res) => {
|
|
59
|
+
for (const item of res || []) {
|
|
60
|
+
if (item.status !== "rejected") continue;
|
|
61
|
+
handlePreloadError(item.reason);
|
|
62
|
+
}
|
|
63
|
+
return baseModule().catch(handlePreloadError);
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
export { __vitePreload as t };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, nt as createPluginSpec, t as ModelUtils } from "./model-utils-
|
|
3
|
-
import { C as __mf_263, D as __mf_57, E as __mf_27$1, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, T as __mf_268, a as __mf_141, b as __mf_19, k as __mf_75, n as __mf_1$1, t as __mf_0, x as __mf_2$1 } from "./_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";
|
|
4
|
-
import { t as create } from "./react-B4hMnLhV.js";
|
|
5
|
-
import { o as useForm, s as useFormState } from "./index.esm-iUXrvsTx.js";
|
|
1
|
+
import { A as ComboboxField, D as DialogTrigger, E as DialogTitle, G as AlertDescription, H as useFormState, I as useControllerMerged, K as AlertTitle, M as Button, Q as __mfDefaultExport, S as DialogContent, St as __mf_2, T as DialogHeader, V as useForm, W as Alert, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, ct as __mf_26, et as __mf_11, ft as __mf_31, j as Badge, k as create, lt as __mf_27, mt as __mf_35, n as toast, pt as __mf_34, st as __mf_23, v as JsonDiffViewer, x as Dialog, xt as __mf_1 } 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";
|
|
2
|
+
import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, nt as createPluginSpec, t as ModelUtils } from "./model-utils-ZF_FVZ_o.js";
|
|
6
3
|
//#region ../../packages/project-builder-lib/dist/web/components/definition-diff-alert.js
|
|
7
4
|
var CHANGE_TYPE_BADGE_VARIANT = {
|
|
8
5
|
added: "default",
|
|
@@ -17,18 +14,18 @@ function DefinitionDiffEntryRow({ entry }) {
|
|
|
17
14
|
children: entry.label
|
|
18
15
|
}), __mf_2("div", {
|
|
19
16
|
className: "flex items-center gap-2",
|
|
20
|
-
children: [__mf_1(
|
|
17
|
+
children: [__mf_1(Badge, {
|
|
21
18
|
variant: CHANGE_TYPE_BADGE_VARIANT[entry.type],
|
|
22
19
|
children: entry.type
|
|
23
|
-
}), __mf_2(
|
|
24
|
-
render: __mf_1(
|
|
20
|
+
}), __mf_2(Dialog, { children: [__mf_1(DialogTrigger, {
|
|
21
|
+
render: __mf_1(Button, {
|
|
25
22
|
variant: "ghost",
|
|
26
23
|
size: "sm"
|
|
27
24
|
}),
|
|
28
25
|
children: "Details"
|
|
29
|
-
}), __mf_2(
|
|
26
|
+
}), __mf_2(DialogContent, {
|
|
30
27
|
width: "xl",
|
|
31
|
-
children: [__mf_1(
|
|
28
|
+
children: [__mf_1(DialogHeader, { children: __mf_2(DialogTitle, { children: [
|
|
32
29
|
entry.label,
|
|
33
30
|
" — ",
|
|
34
31
|
entry.type
|
|
@@ -40,7 +37,7 @@ function DefinitionDiffEntryRow({ entry }) {
|
|
|
40
37
|
}) : entry.type === "removed" ? __mf_1("pre", {
|
|
41
38
|
className: "text-xs whitespace-pre-wrap",
|
|
42
39
|
children: JSON.stringify(entry.current, null, 2)
|
|
43
|
-
}) : __mf_1(
|
|
40
|
+
}) : __mf_1(JsonDiffViewer, {
|
|
44
41
|
oldValue: entry.current,
|
|
45
42
|
newValue: entry.merged
|
|
46
43
|
})
|
|
@@ -50,9 +47,9 @@ function DefinitionDiffEntryRow({ entry }) {
|
|
|
50
47
|
});
|
|
51
48
|
}
|
|
52
49
|
function DefinitionDiffAlert({ diff, upToDateMessage = "All changes are up to date. No changes needed." }) {
|
|
53
|
-
if (!diff.hasChanges) return __mf_2(
|
|
50
|
+
if (!diff.hasChanges) return __mf_2(Alert, {
|
|
54
51
|
variant: "default",
|
|
55
|
-
children: [__mf_1(
|
|
52
|
+
children: [__mf_1(AlertTitle, { children: "Up to Date" }), __mf_1(AlertDescription, { children: upToDateMessage })]
|
|
56
53
|
});
|
|
57
54
|
return __mf_2("div", {
|
|
58
55
|
className: "overflow-hidden rounded-lg border",
|
|
@@ -108,7 +105,7 @@ function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
|
108
105
|
value,
|
|
109
106
|
canCreate
|
|
110
107
|
]);
|
|
111
|
-
return __mf_1(
|
|
108
|
+
return __mf_1(ComboboxField, {
|
|
112
109
|
placeholder: "Select a feature",
|
|
113
110
|
...rest,
|
|
114
111
|
inputValue: searchQuery,
|
|
@@ -119,7 +116,7 @@ function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
|
119
116
|
});
|
|
120
117
|
}
|
|
121
118
|
function FeatureComboboxFieldController({ name, control, ...rest }) {
|
|
122
|
-
const { field, fieldState: { error } } =
|
|
119
|
+
const { field, fieldState: { error } } = useControllerMerged({
|
|
123
120
|
name,
|
|
124
121
|
control
|
|
125
122
|
}, rest);
|
|
@@ -157,7 +154,7 @@ function ModelComboboxField({ canCreate, value, ...rest }) {
|
|
|
157
154
|
value,
|
|
158
155
|
canCreate
|
|
159
156
|
]);
|
|
160
|
-
return __mf_1(
|
|
157
|
+
return __mf_1(ComboboxField, {
|
|
161
158
|
placeholder: "Select a model",
|
|
162
159
|
...rest,
|
|
163
160
|
onInputValueChange: canCreate ? setSearchQuery : void 0,
|
|
@@ -166,7 +163,7 @@ function ModelComboboxField({ canCreate, value, ...rest }) {
|
|
|
166
163
|
});
|
|
167
164
|
}
|
|
168
165
|
function ModelComboboxFieldController({ name, control, ...rest }) {
|
|
169
|
-
const { field, fieldState: { error } } =
|
|
166
|
+
const { field, fieldState: { error } } = useControllerMerged({
|
|
170
167
|
name,
|
|
171
168
|
control
|
|
172
169
|
}, rest);
|
|
@@ -313,7 +310,7 @@ function useResettableForm(props) {
|
|
|
313
310
|
__mf_26(() => {
|
|
314
311
|
if (oldValues.current && !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {
|
|
315
312
|
reset(props?.defaultValues);
|
|
316
|
-
if (isDirty && updatedExternally)
|
|
313
|
+
if (isDirty && updatedExternally) toast.warning("Contents were updated externally so form was reset!");
|
|
317
314
|
}
|
|
318
315
|
if (!oldValues.current || !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) oldValues.current = { oldDefaultValues: props?.defaultValues };
|
|
319
316
|
}, [
|
|
@@ -397,4 +394,4 @@ function setUndefinedIfEmpty(value) {
|
|
|
397
394
|
//#endregion
|
|
398
395
|
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 };
|
|
399
396
|
|
|
400
|
-
//# sourceMappingURL=web-
|
|
397
|
+
//# sourceMappingURL=web-BbqWFVPH.js.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-D5s4GTfd.js";
|
|
1
|
+
import { St as __mf_2, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, a as SectionListSection, b as FormActionBar, c as SectionListSectionHeader, ft as __mf_31, i as SectionList, l as SectionListSectionTitle, o as SectionListSectionContent, s as SectionListSectionDescription, xt as __mf_1 } 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";
|
|
2
|
+
import { a as __mf_167, d as __mf_231, f as __mf_259, g as __mf_55, n as __mf_142, o as __mf_17, 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-B6a7L2-k.js";
|
|
3
|
+
import { a as __mf_25, i as __mf_24, n as __mf_19, r as __mf_22, t as __mf_0 } 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-JKpdJ1L0.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-DNVWarsT.js";
|
|
5
|
+
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-2vFJROjB.js";
|
|
6
|
+
import "./auth-YjeUffyx.js";
|
|
7
|
+
import { n as PLACEHOLDER_AUTH_MODELS, t as createPlaceholderAuthPluginDefinitionSchema } from "./plugin-definition-mNNM2hOB.js";
|
|
9
8
|
//#region src/placeholder-auth/core/schema/models.ts
|
|
10
9
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
11
10
|
function createPlaceholderAuthPartialDefinition(authFeatureName) {
|
|
@@ -83,14 +82,14 @@ function PlaceholderAuthDefinitionEditor({ definition: pluginMetadata, metadata,
|
|
|
83
82
|
className: "auth:max-w-6xl auth:flex-1",
|
|
84
83
|
children: [/* @__PURE__ */ __mf_1("div", {
|
|
85
84
|
className: "auth:pb-16",
|
|
86
|
-
children: /* @__PURE__ */ __mf_1(
|
|
85
|
+
children: /* @__PURE__ */ __mf_1(SectionList, { children: /* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "Placeholder Auth Configuration" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(SectionListSectionContent, {
|
|
87
86
|
className: "auth:space-y-6",
|
|
88
87
|
children: /* @__PURE__ */ __mf_1(__mf_0, {
|
|
89
88
|
diff,
|
|
90
89
|
upToDateMessage: "All required models are already configured correctly. No changes needed."
|
|
91
90
|
})
|
|
92
91
|
})] }) })
|
|
93
|
-
}), /* @__PURE__ */ __mf_1(
|
|
92
|
+
}), /* @__PURE__ */ __mf_1(FormActionBar, {
|
|
94
93
|
form,
|
|
95
94
|
allowSaveWithoutDirty: !pluginMetadata || diff.hasChanges
|
|
96
95
|
})]
|
|
@@ -121,4 +120,4 @@ var web_default = __mf_142({
|
|
|
121
120
|
//#endregion
|
|
122
121
|
export { web_default as default };
|
|
123
122
|
|
|
124
|
-
//# sourceMappingURL=web-
|
|
123
|
+
//# sourceMappingURL=web-BldKZtQd.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as __mf_22, n as __mf_142 } 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__.
|
|
2
|
-
import { c as __mf_8, s as __mf_7 } 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__.
|
|
1
|
+
import { l as __mf_22, n as __mf_142 } 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-B6a7L2-k.js";
|
|
2
|
+
import { c as __mf_8, s as __mf_7 } 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-JKpdJ1L0.js";
|
|
3
3
|
import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
|
|
4
4
|
//#region src/better-auth/admin/web.ts
|
|
5
5
|
var web_default = __mf_142({
|
|
@@ -43,4 +43,4 @@ var web_default = __mf_142({
|
|
|
43
43
|
//#endregion
|
|
44
44
|
export { web_default as default };
|
|
45
45
|
|
|
46
|
-
//# sourceMappingURL=web-
|
|
46
|
+
//# sourceMappingURL=web-CNMEeTj-.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as __mf_22, n as __mf_142 } 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__.
|
|
2
|
-
import { c as __mf_8, s as __mf_7 } 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__.
|
|
1
|
+
import { l as __mf_22, n as __mf_142 } 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-B6a7L2-k.js";
|
|
2
|
+
import { c as __mf_8, s as __mf_7 } 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-JKpdJ1L0.js";
|
|
3
3
|
import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
|
|
4
4
|
//#region src/local-auth/admin/web.ts
|
|
5
5
|
var web_default = __mf_142({
|
|
@@ -43,4 +43,4 @@ var web_default = __mf_142({
|
|
|
43
43
|
//#endregion
|
|
44
44
|
export { web_default as default };
|
|
45
45
|
|
|
46
|
-
//# sourceMappingURL=web-
|
|
46
|
+
//# sourceMappingURL=web-CnsQCdFE.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-BufWBHGv.js";
|
|
1
|
+
import { St as __mf_2, _ as MultiComboboxFieldController, _t as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, a as SectionListSection, b as FormActionBar, c as SectionListSectionHeader, ft as __mf_31, g as SwitchFieldController, i as SectionList, l as SectionListSectionTitle, o as SectionListSectionContent, s as SectionListSectionDescription, xt as __mf_1 } 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";
|
|
2
|
+
import { a as __mf_167, d as __mf_231, f as __mf_259, g as __mf_55, n as __mf_142, o as __mf_17, 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-B6a7L2-k.js";
|
|
3
|
+
import { a as __mf_25, i as __mf_24, n as __mf_19, r as __mf_22, t as __mf_0 } 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-JKpdJ1L0.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-DNVWarsT.js";
|
|
5
|
+
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-2vFJROjB.js";
|
|
6
|
+
import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-CORL4i-6.js";
|
|
8
7
|
//#region src/local-auth/core/components/local-auth-definition-editor.tsx
|
|
9
8
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
10
9
|
function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
|
|
@@ -58,14 +57,14 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
58
57
|
className: "auth:max-w-6xl auth:flex-1",
|
|
59
58
|
children: [/* @__PURE__ */ __mf_1("div", {
|
|
60
59
|
className: "auth:pb-16",
|
|
61
|
-
children: /* @__PURE__ */ __mf_2(
|
|
62
|
-
/* @__PURE__ */ __mf_2(
|
|
60
|
+
children: /* @__PURE__ */ __mf_2(SectionList, { children: [
|
|
61
|
+
/* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "Local Auth User Models" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "The plugin will automatically configure the models it needs." })] }), /* @__PURE__ */ __mf_1(SectionListSectionContent, {
|
|
63
62
|
className: "auth:space-y-6",
|
|
64
63
|
children: /* @__PURE__ */ __mf_1(__mf_0, { diff })
|
|
65
64
|
})] }),
|
|
66
|
-
/* @__PURE__ */ __mf_2(
|
|
65
|
+
/* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "User Management Permissions" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "The \"admin\" role always has user management permissions. Optionally add more roles that can manage users and assign roles in the admin interface." })] }), /* @__PURE__ */ __mf_1(SectionListSectionContent, {
|
|
67
66
|
className: "auth:space-y-6",
|
|
68
|
-
children: /* @__PURE__ */ __mf_1(
|
|
67
|
+
children: /* @__PURE__ */ __mf_1(MultiComboboxFieldController, {
|
|
69
68
|
label: "Additional User Admin Roles",
|
|
70
69
|
name: "additionalUserAdminRoles",
|
|
71
70
|
control,
|
|
@@ -73,9 +72,9 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
73
72
|
description: "Additional roles (beyond admin) that can manage users and assign roles."
|
|
74
73
|
})
|
|
75
74
|
})] }),
|
|
76
|
-
/* @__PURE__ */ __mf_2(
|
|
75
|
+
/* @__PURE__ */ __mf_2(SectionListSection, { children: [/* @__PURE__ */ __mf_2(SectionListSectionHeader, { children: [/* @__PURE__ */ __mf_1(SectionListSectionTitle, { children: "Registration Settings" }), /* @__PURE__ */ __mf_1(SectionListSectionDescription, { children: "Configure what information is collected during user registration." })] }), /* @__PURE__ */ __mf_1(SectionListSectionContent, {
|
|
77
76
|
className: "auth:space-y-6",
|
|
78
|
-
children: /* @__PURE__ */ __mf_1(
|
|
77
|
+
children: /* @__PURE__ */ __mf_1(SwitchFieldController, {
|
|
79
78
|
label: "Require Name on Registration",
|
|
80
79
|
name: "requireNameOnRegistration",
|
|
81
80
|
control,
|
|
@@ -83,7 +82,7 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
83
82
|
})
|
|
84
83
|
})] })
|
|
85
84
|
] })
|
|
86
|
-
}), /* @__PURE__ */ __mf_1(
|
|
85
|
+
}), /* @__PURE__ */ __mf_1(FormActionBar, {
|
|
87
86
|
form,
|
|
88
87
|
allowSaveWithoutDirty: !pluginMetadata || diff.hasChanges
|
|
89
88
|
})]
|
|
@@ -116,4 +115,4 @@ var web_default = __mf_142({
|
|
|
116
115
|
//#endregion
|
|
117
116
|
export { web_default as default };
|
|
118
117
|
|
|
119
|
-
//# sourceMappingURL=web-
|
|
118
|
+
//# sourceMappingURL=web-DiGj_0d0.js.map
|