piral-blazor
Advanced tools
Comparing version 1.3.2 to 1.3.3-beta.6181
@@ -0,1 +1,2 @@ | ||
import { createElement } from 'react'; | ||
import { isInternalNavigation, performInternalNavigation } from './navigation'; | ||
@@ -67,3 +68,5 @@ const blazorRootId = 'blazor-root'; | ||
const target = findTarget(source); | ||
const empty = typeof fallbackComponent === 'string' ? () => { } : undefined; | ||
const empty = typeof fallbackComponent === 'string' | ||
? () => createElement('piral-extension', { name: fallbackComponent, params }) | ||
: undefined; | ||
const order = typeof sourceRef !== 'undefined' | ||
@@ -70,0 +73,0 @@ ? (elements) => { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.removeGlobalEventListeners = exports.addGlobalEventListeners = exports.attachEvents = exports.emitNavigateEvent = exports.emitPiralEvent = exports.emitRenderEvent = void 0; | ||
const react_1 = require("react"); | ||
const navigation_1 = require("./navigation"); | ||
@@ -70,3 +71,5 @@ const blazorRootId = 'blazor-root'; | ||
const target = findTarget(source); | ||
const empty = typeof fallbackComponent === 'string' ? () => { } : undefined; | ||
const empty = typeof fallbackComponent === 'string' | ||
? () => (0, react_1.createElement)('piral-extension', { name: fallbackComponent, params }) | ||
: undefined; | ||
const order = typeof sourceRef !== 'undefined' | ||
@@ -73,0 +76,0 @@ ? (elements) => { |
{ | ||
"name": "piral-blazor", | ||
"version": "1.3.2", | ||
"version": "1.3.3-beta.6181", | ||
"description": "Plugin for integrating Blazor components in Piral.", | ||
@@ -70,5 +70,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"piral-core": "^1.3.2" | ||
"piral-core": "1.3.3-beta.6181" | ||
}, | ||
"gitHead": "fcaacc9c197ccb2a055a39eb818a613a3635d1ec" | ||
"gitHead": "3628187da5d22371fba821864419361fd40f8b1f" | ||
} |
import type { ExtensionRegistration } from 'piral-core'; | ||
import { createElement } from 'react'; | ||
import { isInternalNavigation, performInternalNavigation } from './navigation'; | ||
@@ -82,3 +83,6 @@ | ||
const target = findTarget(source); | ||
const empty = typeof fallbackComponent === 'string' ? () => {} : undefined; | ||
const empty = | ||
typeof fallbackComponent === 'string' | ||
? () => createElement('piral-extension', { name: fallbackComponent, params }) | ||
: undefined; | ||
const order = | ||
@@ -85,0 +89,0 @@ typeof sourceRef !== 'undefined' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
198321
3147
1