@json-layout/core 2.2.1 → 2.2.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/package.json
CHANGED
|
@@ -307,7 +307,7 @@ export function makeSkeletonNode (
|
|
|
307
307
|
if (!normalizedLayouts[oneOfPointer]) {
|
|
308
308
|
const normalizationResult = normalizeLayoutFragment(
|
|
309
309
|
'',
|
|
310
|
-
|
|
310
|
+
/** @type {import('@json-layout/vocabulary').SchemaFragment} */(resolvedSchema),
|
|
311
311
|
oneOfPointer,
|
|
312
312
|
options,
|
|
313
313
|
'oneOf',
|
|
@@ -384,7 +384,7 @@ export function makeSkeletonNode (
|
|
|
384
384
|
if (!normalizedLayouts[patternPropertiesPointer]) {
|
|
385
385
|
const normalizationResult = normalizeLayoutFragment(
|
|
386
386
|
'',
|
|
387
|
-
|
|
387
|
+
/** @type {import('@json-layout/vocabulary').SchemaFragment} */(resolvedSchema),
|
|
388
388
|
patternPropertiesPointer,
|
|
389
389
|
options,
|
|
390
390
|
'patternProperties',
|
package/src/state/state-node.js
CHANGED
|
@@ -722,7 +722,7 @@ export function createStateNode (
|
|
|
722
722
|
|
|
723
723
|
// duplicate active child at the end of the list in case of dialog/menu edition
|
|
724
724
|
if (context.activatedItems[fullKey] !== undefined && (layout.listEditMode === 'menu' || layout.listEditMode === 'dialog')) {
|
|
725
|
-
const i = /** @type number */(context.activatedItems[fullKey])
|
|
725
|
+
const i = /** @type {number} */(context.activatedItems[fullKey])
|
|
726
726
|
const activeChild = createStateNode(
|
|
727
727
|
context,
|
|
728
728
|
options,
|