@uxland/primary-shell 7.1.0 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -16182,7 +16182,7 @@ const commonPlugins = [
|
|
|
16182
16182
|
dispose
|
|
16183
16183
|
})
|
|
16184
16184
|
}
|
|
16185
|
-
], getPluginsByUserRole = (te) => te === "
|
|
16185
|
+
], getPluginsByUserRole = (te) => te === "ADM" ? commonPlugins.concat(administrativeInternalPlugins) : commonPlugins.concat(doctorInternalPlugins), bootstrapPlugins = async (te, J) => {
|
|
16186
16186
|
const re = getPluginsByUserRole(J).concat(te || []);
|
|
16187
16187
|
bootstrappedPlugins = await v$f(re, primariaApiFactory);
|
|
16188
16188
|
}, disposePlugins = async () => Promise.all(bootstrappedPlugins.map((te) => te == null ? void 0 : te.dispose()));
|