@equinor/fusion-framework-vite-plugin-spa 5.0.0 → 5.1.0
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/esm/html/html.js +4 -0
- package/dist/esm/html/html.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/html/bootstrap.js +3 -3
- package/dist/html/bootstrap.js.map +1 -1
- package/dist/{index-CdbfoMCj.js → index-Df9EZ6lh.js} +2 -2
- package/dist/{index-CdbfoMCj.js.map → index-Df9EZ6lh.js.map} +1 -1
- package/dist/{module-DMrP0Kg2.js → module-DzjJ4gjy.js} +927 -570
- package/dist/module-DzjJ4gjy.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/html/html.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/dist/module-DMrP0Kg2.js.map +0 -1
package/dist/esm/html/html.js
CHANGED
|
@@ -28,6 +28,10 @@ export const html = `
|
|
|
28
28
|
<script>
|
|
29
29
|
// Set AG Grid license key globally if provided
|
|
30
30
|
window.FUSION_AG_GRID_KEY = '%FUSION_SPA_AG_GRID_KEY%';
|
|
31
|
+
|
|
32
|
+
// Expose the mock server origin when served with --mock, so the portal can tell it is
|
|
33
|
+
// running against local mocks; the placeholder stays unreplaced (not a URL) otherwise.
|
|
34
|
+
window.FUSION_MOCK_SERVER_URL = '%FUSION_SPA_MSAL_MOCK_SERVER_URL%';
|
|
31
35
|
|
|
32
36
|
// suppress console error for custom elements already defined.
|
|
33
37
|
// WebComponents should be added by the portal, but not removed from application
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/html/html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;;;;;;wDAMoC,OAAO
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/html/html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;;;;;;wDAMoC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B9D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/dist/esm/version.js
CHANGED
package/dist/html/bootstrap.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createErrorClass, _ as __extends, e as errorContext, E as EMPTY_SUBSCRIPTION, S as Subscription, a as arrRemove, O as Observable, b as __values, d as __spreadArray, f as __read, i as isFunction$1, g as SafeSubscriber, h as EmptyError, o as operate, j as executeSchedule, k as innerFrom, l as createOperatorSubscriber, m as map, n as mergeMap, p as identity, q as isArrayLike, r as isScheduler, s as popScheduler, t as popNumber, u as EMPTY, v as from, w as mergeInternals, x as scanInternals, y as noop, z as popResultSelector, A as reduce, B as lastValueFrom, M as ModuleEventLevel, C as filter, D as BaseModuleProvider, F as catchError, G as of, H as object, I as _instanceof, J as _enum, K as string, L as boolean, N as record, P as union, Q as __rest, R as __assign, T as switchMap, U as observeOn, V as deepmerge, W as BaseConfigBuilder, X as TelemetryExceptionSchema, Y as TelemetryItemNames, Z as TelemetryType, $ as TelemetryEventSchema, a0 as TelemetryMetricSchema, a1 as TelemetryCustomEventSchema, a2 as array, a3 as TelemetryLevel, a4 as enableMSAL } from '../module-
|
|
1
|
+
import { c as createErrorClass, _ as __extends, e as errorContext, E as EMPTY_SUBSCRIPTION, S as Subscription, a as arrRemove, O as Observable, b as __values, d as __spreadArray, f as __read, i as isFunction$1, g as SafeSubscriber, h as EmptyError, o as operate, j as executeSchedule, k as innerFrom, l as createOperatorSubscriber, m as map, n as mergeMap, p as identity, q as isArrayLike, r as isScheduler, s as popScheduler, t as popNumber, u as EMPTY, v as from, w as mergeInternals, x as scanInternals, y as noop, z as popResultSelector, A as reduce, B as lastValueFrom, M as ModuleEventLevel, C as filter, D as BaseModuleProvider, F as catchError, G as of, H as object, I as _instanceof, J as _enum, K as string, L as boolean, N as record, P as union, Q as __rest, R as __assign, T as switchMap, U as observeOn, V as deepmerge, W as BaseConfigBuilder, X as TelemetryExceptionSchema, Y as TelemetryItemNames, Z as TelemetryType, $ as TelemetryEventSchema, a0 as TelemetryMetricSchema, a1 as TelemetryCustomEventSchema, a2 as array, a3 as TelemetryLevel, a4 as enableMSAL } from '../module-DzjJ4gjy.js';
|
|
2
2
|
|
|
3
3
|
var ObjectUnsubscribedError = createErrorClass(function (_super) {
|
|
4
4
|
return function ObjectUnsubscribedErrorImpl() {
|
|
@@ -9402,7 +9402,7 @@ async function registerServiceWorker(framework) {
|
|
|
9402
9402
|
}
|
|
9403
9403
|
|
|
9404
9404
|
// Generated by genversion.
|
|
9405
|
-
const version = '5.
|
|
9405
|
+
const version = '5.1.0';
|
|
9406
9406
|
|
|
9407
9407
|
// Allow dynamic import without vite
|
|
9408
9408
|
const importWithoutVite = (path) => import(/* @vite-ignore */ path);
|
|
@@ -9422,7 +9422,7 @@ enableServiceDiscovery(configurator, async (builder) => {
|
|
|
9422
9422
|
});
|
|
9423
9423
|
// Avoid interactive Entra ID authentication when the SPA runs in CI or Playwright.
|
|
9424
9424
|
if (isEnabledEnvValue(import.meta.env.FUSION_SPA_MSAL_MOCK)) {
|
|
9425
|
-
const { enableMsalMock } = await import('../index-
|
|
9425
|
+
const { enableMsalMock } = await import('../index-Df9EZ6lh.js');
|
|
9426
9426
|
const mockServerUrl = import.meta.env.FUSION_SPA_MSAL_MOCK_SERVER_URL;
|
|
9427
9427
|
enableMsalMock(configurator, (builder) => {
|
|
9428
9428
|
// The SPA owns the HTTP adapter; MSAL owns applying the returned token and account.
|