@wordpress/block-editor 11.3.4 → 11.3.5
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/build/components/inserter/menu.js +7 -4
- package/build/components/inserter/menu.js.map +1 -1
- package/build/components/list-view/block.js +14 -2
- package/build/components/list-view/block.js.map +1 -1
- package/build/components/list-view/branch.js +2 -2
- package/build/components/list-view/branch.js.map +1 -1
- package/build/components/list-view/leaf.js +10 -6
- package/build/components/list-view/leaf.js.map +1 -1
- package/build/components/list-view/use-list-view-scroll-into-view.js +51 -0
- package/build/components/list-view/use-list-view-scroll-into-view.js.map +1 -0
- package/build/components/off-canvas-editor/leaf-more-menu.js +126 -0
- package/build/components/off-canvas-editor/leaf-more-menu.js.map +1 -0
- package/build/private-apis.js +3 -0
- package/build/private-apis.js.map +1 -1
- package/build-module/components/inserter/menu.js +7 -4
- package/build-module/components/inserter/menu.js.map +1 -1
- package/build-module/components/list-view/block.js +13 -2
- package/build-module/components/list-view/block.js.map +1 -1
- package/build-module/components/list-view/branch.js +2 -2
- package/build-module/components/list-view/branch.js.map +1 -1
- package/build-module/components/list-view/leaf.js +8 -4
- package/build-module/components/list-view/leaf.js.map +1 -1
- package/build-module/components/list-view/use-list-view-scroll-into-view.js +42 -0
- package/build-module/components/list-view/use-list-view-scroll-into-view.js.map +1 -0
- package/build-module/components/off-canvas-editor/leaf-more-menu.js +108 -0
- package/build-module/components/off-canvas-editor/leaf-more-menu.js.map +1 -0
- package/build-module/private-apis.js +2 -0
- package/build-module/private-apis.js.map +1 -1
- package/package.json +12 -12
- package/src/components/inserter/menu.js +20 -14
- package/src/components/list-view/block.js +12 -0
- package/src/components/list-view/branch.js +1 -2
- package/src/components/list-view/leaf.js +43 -29
- package/src/components/list-view/use-list-view-scroll-into-view.js +48 -0
- package/src/components/off-canvas-editor/leaf-more-menu.js +120 -0
- package/src/private-apis.js +2 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-editor",
|
|
3
|
-
"version": "11.3.
|
|
3
|
+
"version": "11.3.5",
|
|
4
4
|
"description": "Generic block editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -36,26 +36,26 @@
|
|
|
36
36
|
"@wordpress/a11y": "^3.26.1",
|
|
37
37
|
"@wordpress/api-fetch": "^6.23.1",
|
|
38
38
|
"@wordpress/blob": "^3.26.1",
|
|
39
|
-
"@wordpress/blocks": "^12.3.
|
|
40
|
-
"@wordpress/components": "^23.3.
|
|
41
|
-
"@wordpress/compose": "^6.3.
|
|
42
|
-
"@wordpress/data": "^8.3.
|
|
39
|
+
"@wordpress/blocks": "^12.3.3",
|
|
40
|
+
"@wordpress/components": "^23.3.4",
|
|
41
|
+
"@wordpress/compose": "^6.3.3",
|
|
42
|
+
"@wordpress/data": "^8.3.3",
|
|
43
43
|
"@wordpress/date": "^4.26.2",
|
|
44
44
|
"@wordpress/deprecated": "^3.26.1",
|
|
45
45
|
"@wordpress/dom": "^3.26.1",
|
|
46
|
-
"@wordpress/element": "^5.3.
|
|
46
|
+
"@wordpress/element": "^5.3.2",
|
|
47
47
|
"@wordpress/escape-html": "^2.26.1",
|
|
48
48
|
"@wordpress/hooks": "^3.26.1",
|
|
49
49
|
"@wordpress/html-entities": "^3.26.1",
|
|
50
50
|
"@wordpress/i18n": "^4.26.1",
|
|
51
|
-
"@wordpress/icons": "^9.17.
|
|
51
|
+
"@wordpress/icons": "^9.17.2",
|
|
52
52
|
"@wordpress/is-shallow-equal": "^4.26.1",
|
|
53
|
-
"@wordpress/keyboard-shortcuts": "^4.3.
|
|
53
|
+
"@wordpress/keyboard-shortcuts": "^4.3.3",
|
|
54
54
|
"@wordpress/keycodes": "^3.26.2",
|
|
55
|
-
"@wordpress/notices": "^3.26.
|
|
56
|
-
"@wordpress/preferences": "^3.3.
|
|
55
|
+
"@wordpress/notices": "^3.26.3",
|
|
56
|
+
"@wordpress/preferences": "^3.3.4",
|
|
57
57
|
"@wordpress/private-apis": "^0.8.1",
|
|
58
|
-
"@wordpress/rich-text": "^6.3.
|
|
58
|
+
"@wordpress/rich-text": "^6.3.3",
|
|
59
59
|
"@wordpress/shortcode": "^3.26.1",
|
|
60
60
|
"@wordpress/style-engine": "^1.9.1",
|
|
61
61
|
"@wordpress/token-list": "^2.26.1",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "1e2b2f680c6378f789d6660bc04b30e35e3a33a3"
|
|
87
87
|
}
|
|
@@ -67,19 +67,25 @@ function InserterMenu(
|
|
|
67
67
|
insertionIndex: __experimentalInsertionIndex,
|
|
68
68
|
shouldFocusBlock,
|
|
69
69
|
} );
|
|
70
|
-
const { showPatterns, inserterItems } =
|
|
71
|
-
(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
70
|
+
const { showPatterns, inserterItems, enableOpenverseMediaCategory } =
|
|
71
|
+
useSelect(
|
|
72
|
+
( select ) => {
|
|
73
|
+
const {
|
|
74
|
+
__experimentalGetAllowedPatterns,
|
|
75
|
+
getInserterItems,
|
|
76
|
+
getSettings,
|
|
77
|
+
} = select( blockEditorStore );
|
|
78
|
+
return {
|
|
79
|
+
showPatterns: !! __experimentalGetAllowedPatterns(
|
|
80
|
+
destinationRootClientId
|
|
81
|
+
).length,
|
|
82
|
+
inserterItems: getInserterItems( destinationRootClientId ),
|
|
83
|
+
enableOpenverseMediaCategory:
|
|
84
|
+
getSettings().enableOpenverseMediaCategory,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
[ destinationRootClientId ]
|
|
88
|
+
);
|
|
83
89
|
const hasReusableBlocks = useMemo( () => {
|
|
84
90
|
return inserterItems.some(
|
|
85
91
|
( { category } ) => category === 'reusable'
|
|
@@ -87,7 +93,7 @@ function InserterMenu(
|
|
|
87
93
|
}, [ inserterItems ] );
|
|
88
94
|
|
|
89
95
|
const mediaCategories = useMediaCategories( destinationRootClientId );
|
|
90
|
-
const showMedia = !! mediaCategories.length;
|
|
96
|
+
const showMedia = !! mediaCategories.length || enableOpenverseMediaCategory;
|
|
91
97
|
|
|
92
98
|
const onInsert = useCallback(
|
|
93
99
|
( blocks, meta, shouldForceFocusBlock ) => {
|
|
@@ -27,6 +27,7 @@ import { sprintf, __ } from '@wordpress/i18n';
|
|
|
27
27
|
* Internal dependencies
|
|
28
28
|
*/
|
|
29
29
|
import ListViewLeaf from './leaf';
|
|
30
|
+
import useListViewScrollIntoView from './use-list-view-scroll-into-view';
|
|
30
31
|
import {
|
|
31
32
|
BlockMoverUpButton,
|
|
32
33
|
BlockMoverDownButton,
|
|
@@ -57,6 +58,7 @@ function ListViewBlock( {
|
|
|
57
58
|
isSyncedBranch,
|
|
58
59
|
} ) {
|
|
59
60
|
const cellRef = useRef( null );
|
|
61
|
+
const rowRef = useRef( null );
|
|
60
62
|
const [ isHovered, setIsHovered ] = useState( false );
|
|
61
63
|
const { clientId } = block;
|
|
62
64
|
|
|
@@ -220,6 +222,15 @@ function ListViewBlock( {
|
|
|
220
222
|
? selectedClientIds
|
|
221
223
|
: [ clientId ];
|
|
222
224
|
|
|
225
|
+
// Pass in a ref to the row, so that it can be scrolled
|
|
226
|
+
// into view when selected. For long lists, the placeholder for the
|
|
227
|
+
// selected block is also observed, within ListViewLeafPlaceholder.
|
|
228
|
+
useListViewScrollIntoView( {
|
|
229
|
+
isSelected,
|
|
230
|
+
rowItemRef: rowRef,
|
|
231
|
+
selectedClientIds,
|
|
232
|
+
} );
|
|
233
|
+
|
|
223
234
|
return (
|
|
224
235
|
<ListViewLeaf
|
|
225
236
|
className={ classes }
|
|
@@ -235,6 +246,7 @@ function ListViewBlock( {
|
|
|
235
246
|
data-block={ clientId }
|
|
236
247
|
isExpanded={ canExpand ? isExpanded : undefined }
|
|
237
248
|
aria-selected={ !! isSelected || forceSelectionContentLock }
|
|
249
|
+
ref={ rowRef }
|
|
238
250
|
>
|
|
239
251
|
<TreeGridCell
|
|
240
252
|
className="block-editor-list-view-block__contents-cell"
|
|
@@ -155,8 +155,6 @@ function ListViewBranch( props ) {
|
|
|
155
155
|
|
|
156
156
|
const isDragged = !! draggedClientIds?.includes( clientId );
|
|
157
157
|
|
|
158
|
-
const showBlock = isDragged || blockInView;
|
|
159
|
-
|
|
160
158
|
// Make updates to the selected or dragged blocks synchronous,
|
|
161
159
|
// but asynchronous for any other block.
|
|
162
160
|
const isSelected = isClientIdSelected(
|
|
@@ -165,6 +163,7 @@ function ListViewBranch( props ) {
|
|
|
165
163
|
);
|
|
166
164
|
const isSelectedBranch =
|
|
167
165
|
isBranchSelected || ( isSelected && hasNestedBlocks );
|
|
166
|
+
const showBlock = isDragged || blockInView || isSelected;
|
|
168
167
|
return (
|
|
169
168
|
<AsyncModeProvider key={ clientId } value={ ! isSelected }>
|
|
170
169
|
{ showBlock && (
|
|
@@ -8,6 +8,8 @@ import classnames from 'classnames';
|
|
|
8
8
|
* WordPress dependencies
|
|
9
9
|
*/
|
|
10
10
|
import { __experimentalTreeGridRow as TreeGridRow } from '@wordpress/components';
|
|
11
|
+
import { useMergeRefs } from '@wordpress/compose';
|
|
12
|
+
import { forwardRef } from '@wordpress/element';
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* Internal dependencies
|
|
@@ -16,33 +18,45 @@ import useMovingAnimation from '../use-moving-animation';
|
|
|
16
18
|
|
|
17
19
|
const AnimatedTreeGridRow = animated( TreeGridRow );
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
const ListViewLeaf = forwardRef(
|
|
22
|
+
(
|
|
23
|
+
{
|
|
24
|
+
isSelected,
|
|
25
|
+
position,
|
|
26
|
+
level,
|
|
27
|
+
rowCount,
|
|
28
|
+
children,
|
|
29
|
+
className,
|
|
30
|
+
path,
|
|
31
|
+
...props
|
|
32
|
+
},
|
|
33
|
+
ref
|
|
34
|
+
) => {
|
|
35
|
+
const animationRef = useMovingAnimation( {
|
|
36
|
+
isSelected,
|
|
37
|
+
adjustScrolling: false,
|
|
38
|
+
enableAnimation: true,
|
|
39
|
+
triggerAnimationOnChange: path,
|
|
40
|
+
} );
|
|
35
41
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
42
|
+
const mergedRef = useMergeRefs( [ ref, animationRef ] );
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<AnimatedTreeGridRow
|
|
46
|
+
ref={ mergedRef }
|
|
47
|
+
className={ classnames(
|
|
48
|
+
'block-editor-list-view-leaf',
|
|
49
|
+
className
|
|
50
|
+
) }
|
|
51
|
+
level={ level }
|
|
52
|
+
positionInSet={ position }
|
|
53
|
+
setSize={ rowCount }
|
|
54
|
+
{ ...props }
|
|
55
|
+
>
|
|
56
|
+
{ children }
|
|
57
|
+
</AnimatedTreeGridRow>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
export default ListViewLeaf;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WordPress dependencies
|
|
3
|
+
*/
|
|
4
|
+
import { getScrollContainer } from '@wordpress/dom';
|
|
5
|
+
import { useLayoutEffect } from '@wordpress/element';
|
|
6
|
+
|
|
7
|
+
export default function useListViewScrollIntoView( {
|
|
8
|
+
isSelected,
|
|
9
|
+
selectedClientIds,
|
|
10
|
+
rowItemRef,
|
|
11
|
+
} ) {
|
|
12
|
+
const isSingleSelection = selectedClientIds.length === 1;
|
|
13
|
+
|
|
14
|
+
useLayoutEffect( () => {
|
|
15
|
+
// Skip scrolling into view if this particular block isn't selected,
|
|
16
|
+
// or if more than one block is selected overall. This is to avoid
|
|
17
|
+
// scrolling the view in a multi selection where the user has intentionally
|
|
18
|
+
// selected multiple blocks within the list view, but the initially
|
|
19
|
+
// selected block may be out of view.
|
|
20
|
+
if ( ! isSelected || ! isSingleSelection || ! rowItemRef.current ) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const scrollContainer = getScrollContainer( rowItemRef.current );
|
|
25
|
+
const { ownerDocument } = rowItemRef.current;
|
|
26
|
+
|
|
27
|
+
const windowScroll =
|
|
28
|
+
scrollContainer === ownerDocument.body ||
|
|
29
|
+
scrollContainer === ownerDocument.documentElement;
|
|
30
|
+
|
|
31
|
+
// If the there is no scroll container, of if the scroll container is the window,
|
|
32
|
+
// do not scroll into view, as the block is already in view.
|
|
33
|
+
if ( windowScroll || ! scrollContainer ) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const rowRect = rowItemRef.current.getBoundingClientRect();
|
|
38
|
+
const scrollContainerRect = scrollContainer.getBoundingClientRect();
|
|
39
|
+
|
|
40
|
+
// If the selected block is not currently visible, scroll to it.
|
|
41
|
+
if (
|
|
42
|
+
rowRect.top < scrollContainerRect.top ||
|
|
43
|
+
rowRect.bottom > scrollContainerRect.bottom
|
|
44
|
+
) {
|
|
45
|
+
rowItemRef.current.scrollIntoView();
|
|
46
|
+
}
|
|
47
|
+
}, [ isSelected, isSingleSelection, rowItemRef ] );
|
|
48
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WordPress dependencies
|
|
3
|
+
*/
|
|
4
|
+
import { createBlock } from '@wordpress/blocks';
|
|
5
|
+
import { addSubmenu, moreVertical } from '@wordpress/icons';
|
|
6
|
+
import { DropdownMenu, MenuItem, MenuGroup } from '@wordpress/components';
|
|
7
|
+
import { useDispatch } from '@wordpress/data';
|
|
8
|
+
import { __, sprintf } from '@wordpress/i18n';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Internal dependencies
|
|
12
|
+
*/
|
|
13
|
+
import { store as blockEditorStore } from '../../store';
|
|
14
|
+
import BlockTitle from '../block-title';
|
|
15
|
+
import { useListViewContext } from './context';
|
|
16
|
+
|
|
17
|
+
const POPOVER_PROPS = {
|
|
18
|
+
className: 'block-editor-block-settings-menu__popover',
|
|
19
|
+
position: 'bottom right',
|
|
20
|
+
variant: 'toolbar',
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const BLOCKS_THAT_CAN_BE_CONVERTED_TO_SUBMENU = [
|
|
24
|
+
'core/navigation-link',
|
|
25
|
+
'core/navigation-submenu',
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
function AddSubmenuItem( { block, onClose } ) {
|
|
29
|
+
const { expandedState, expand } = useListViewContext();
|
|
30
|
+
const { insertBlock, replaceBlock, replaceInnerBlocks } =
|
|
31
|
+
useDispatch( blockEditorStore );
|
|
32
|
+
|
|
33
|
+
const clientId = block.clientId;
|
|
34
|
+
const isDisabled = ! BLOCKS_THAT_CAN_BE_CONVERTED_TO_SUBMENU.includes(
|
|
35
|
+
block.name
|
|
36
|
+
);
|
|
37
|
+
return (
|
|
38
|
+
<MenuItem
|
|
39
|
+
icon={ addSubmenu }
|
|
40
|
+
disabled={ isDisabled }
|
|
41
|
+
onClick={ () => {
|
|
42
|
+
const updateSelectionOnInsert = false;
|
|
43
|
+
const newLink = createBlock( 'core/navigation-link' );
|
|
44
|
+
|
|
45
|
+
if ( block.name === 'core/navigation-submenu' ) {
|
|
46
|
+
insertBlock(
|
|
47
|
+
newLink,
|
|
48
|
+
block.innerBlocks.length,
|
|
49
|
+
clientId,
|
|
50
|
+
updateSelectionOnInsert
|
|
51
|
+
);
|
|
52
|
+
} else {
|
|
53
|
+
// Convert to a submenu if the block currently isn't one.
|
|
54
|
+
const newSubmenu = createBlock(
|
|
55
|
+
'core/navigation-submenu',
|
|
56
|
+
block.attributes,
|
|
57
|
+
block.innerBlocks
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
// The following must happen as two independent actions.
|
|
61
|
+
// Why? Because the offcanvas editor relies on the getLastInsertedBlocksClientIds
|
|
62
|
+
// selector to determine which block is "active". As the UX needs the newLink to be
|
|
63
|
+
// the "active" block it must be the last block to be inserted.
|
|
64
|
+
// Therefore the Submenu is first created and **then** the newLink is inserted
|
|
65
|
+
// thus ensuring it is the last inserted block.
|
|
66
|
+
replaceBlock( clientId, newSubmenu );
|
|
67
|
+
|
|
68
|
+
replaceInnerBlocks(
|
|
69
|
+
newSubmenu.clientId,
|
|
70
|
+
[ newLink ],
|
|
71
|
+
updateSelectionOnInsert
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
if ( ! expandedState[ block.clientId ] ) {
|
|
75
|
+
expand( block.clientId );
|
|
76
|
+
}
|
|
77
|
+
onClose();
|
|
78
|
+
} }
|
|
79
|
+
>
|
|
80
|
+
{ __( 'Add submenu link' ) }
|
|
81
|
+
</MenuItem>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export default function LeafMoreMenu( props ) {
|
|
86
|
+
const { clientId, block } = props;
|
|
87
|
+
|
|
88
|
+
const { removeBlocks } = useDispatch( blockEditorStore );
|
|
89
|
+
|
|
90
|
+
const label = sprintf(
|
|
91
|
+
/* translators: %s: block name */
|
|
92
|
+
__( 'Remove %s' ),
|
|
93
|
+
BlockTitle( { clientId, maximumLength: 25 } )
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
return (
|
|
97
|
+
<DropdownMenu
|
|
98
|
+
icon={ moreVertical }
|
|
99
|
+
label={ __( 'Options' ) }
|
|
100
|
+
className="block-editor-block-settings-menu"
|
|
101
|
+
popoverProps={ POPOVER_PROPS }
|
|
102
|
+
noIcons
|
|
103
|
+
{ ...props }
|
|
104
|
+
>
|
|
105
|
+
{ ( { onClose } ) => (
|
|
106
|
+
<MenuGroup>
|
|
107
|
+
<AddSubmenuItem block={ block } onClose={ onClose } />
|
|
108
|
+
<MenuItem
|
|
109
|
+
onClick={ () => {
|
|
110
|
+
removeBlocks( [ clientId ], false );
|
|
111
|
+
onClose();
|
|
112
|
+
} }
|
|
113
|
+
>
|
|
114
|
+
{ label }
|
|
115
|
+
</MenuItem>
|
|
116
|
+
</MenuGroup>
|
|
117
|
+
) }
|
|
118
|
+
</DropdownMenu>
|
|
119
|
+
);
|
|
120
|
+
}
|
package/src/private-apis.js
CHANGED
|
@@ -5,6 +5,7 @@ import * as globalStyles from './components/global-styles';
|
|
|
5
5
|
import { ExperimentalBlockEditorProvider } from './components/provider';
|
|
6
6
|
import { lock } from './lock-unlock';
|
|
7
7
|
import OffCanvasEditor from './components/off-canvas-editor';
|
|
8
|
+
import LeafMoreMenu from './components/off-canvas-editor/leaf-more-menu';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Private @wordpress/block-editor APIs.
|
|
@@ -13,5 +14,6 @@ export const privateApis = {};
|
|
|
13
14
|
lock( privateApis, {
|
|
14
15
|
...globalStyles,
|
|
15
16
|
ExperimentalBlockEditorProvider,
|
|
17
|
+
LeafMoreMenu,
|
|
16
18
|
OffCanvasEditor,
|
|
17
19
|
} );
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../element/node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../element/node_modules/@types/react/index.d.ts","../element/build-types/react.d.ts","../element/build-types/create-interpolate-element.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/react-dom/client.d.ts","../element/build-types/react-platform.d.ts","../element/build-types/utils.d.ts","../element/build-types/platform.d.ts","../element/build-types/serialize.d.ts","../element/build-types/raw-html.d.ts","../element/build-types/index.d.ts","./src/components/block-context/index.js","./src/utils/dom.js","../../node_modules/@types/react/global.d.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"5917af4ff931b050dba49a1dedd9c00f15f7b3dc4345ad8491bfacd2ec68ed32","affectsGlobalScope":true},"6fb72c65c5af8c4ed7d41afecd1ebb463d1e074291ae5e8a187d0922fd40f59b","e47b8ec56eb49bc1c53c9012daa9874de14ad0c5da442485aec333571c74b526",{"version":"5917af4ff931b050dba49a1dedd9c00f15f7b3dc4345ad8491bfacd2ec68ed32","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042","83e27bbd7304ea67f9afa1535f1d4fdb15866089f0d893c784cbb5b1c6fb3386","
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../element/node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../element/node_modules/@types/react/index.d.ts","../element/build-types/react.d.ts","../element/build-types/create-interpolate-element.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/react-dom/client.d.ts","../element/build-types/react-platform.d.ts","../element/build-types/utils.d.ts","../element/build-types/platform.d.ts","../element/build-types/serialize.d.ts","../element/build-types/raw-html.d.ts","../element/build-types/index.d.ts","./src/components/block-context/index.js","./src/utils/dom.js","../../node_modules/@types/react/global.d.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"5917af4ff931b050dba49a1dedd9c00f15f7b3dc4345ad8491bfacd2ec68ed32","affectsGlobalScope":true},"6fb72c65c5af8c4ed7d41afecd1ebb463d1e074291ae5e8a187d0922fd40f59b","e47b8ec56eb49bc1c53c9012daa9874de14ad0c5da442485aec333571c74b526",{"version":"5917af4ff931b050dba49a1dedd9c00f15f7b3dc4345ad8491bfacd2ec68ed32","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042","83e27bbd7304ea67f9afa1535f1d4fdb15866089f0d893c784cbb5b1c6fb3386","c4b39848e2fb237507a7acae0b83a34271c9d72714faae6a6b9075527205111b","d2d9e98a2b167079474768593e1e7125fc3db055add8fbdb5977e3d05a8a3696","6462da67490105ba7d98cf312c2faf8794c425781128b161ea8394d66502eec8","62359da52b6c8d00c50c2e50738fac82e902f916fdf458d8159e7edb1c60c3a8","1e0ac21bc775686383ea8c8e48bd98b385e6195b25c85525a7affd08a2cd38b9","0449615e1ed03c7d54fc435a63b7ef0cb4e5cea5ac40c9a63280a46f7eeae0ff","0a41b61ddcb640fa2a07cb7a04ecddf540b8199f70d3cf5f2d8903be722529eb","4e8c59b6c243b9148b72d7428c71592176a520225ee91b718f4a655a5baf6624"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./build-types","declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":false,"importsNotUsedAsValues":2,"jsx":1,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"rootDir":"./src","strict":true,"target":99},"fileIdsList":[[49],[46,47,48,63],[49,60],[50],[50,51,55,56,57,58,59],[53,54],[49,50],[45,46,47,48]],"referencedMap":[[54,1],[53,1],[52,2],[61,3],[51,4],[60,5],[59,1],[55,6],[50,1],[58,7],[49,8]],"exportedModulesMap":[[54,1],[53,1],[52,2],[61,3],[51,4],[60,5],[59,1],[55,6],[50,1],[58,7],[49,8]],"semanticDiagnosticsPerFile":[47,54,53,52,48,46,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,61,62,51,60,57,59,55,50,58,56,45,49]},"version":"4.4.2"}
|