@lvce-editor/extension-search-view 2.5.0 → 2.6.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.
|
@@ -1083,7 +1083,7 @@ const sortExtensions = extensions => {
|
|
|
1083
1083
|
return toSorted(extensions, compareExtension);
|
|
1084
1084
|
};
|
|
1085
1085
|
|
|
1086
|
-
const getExtensions = async (extensions, parsedValue, platform, assetDir
|
|
1086
|
+
const getExtensions = async (extensions, parsedValue, platform, assetDir) => {
|
|
1087
1087
|
const filteredExtensions = [];
|
|
1088
1088
|
for (const extension of extensions) {
|
|
1089
1089
|
if (matchesParsedValue(extension, parsedValue)) {
|
|
@@ -1191,32 +1191,32 @@ const set$1 = (uid, oldState, newState) => {
|
|
|
1191
1191
|
};
|
|
1192
1192
|
};
|
|
1193
1193
|
|
|
1194
|
-
const create = (id, uri, x, y, width, height, platform) => {
|
|
1194
|
+
const create = (id, uri, x, y, width, height, platform, assetDir) => {
|
|
1195
1195
|
const state = {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1196
|
+
allExtensions: [],
|
|
1197
|
+
assetDir,
|
|
1198
|
+
deltaY: 0,
|
|
1199
|
+
finalDeltaY: 0,
|
|
1200
|
+
focusedIndex: 0,
|
|
1201
|
+
handleOffset: 0,
|
|
1202
|
+
headerHeight: 41,
|
|
1203
|
+
height,
|
|
1199
1204
|
itemHeight: 72,
|
|
1200
1205
|
items: [],
|
|
1201
|
-
|
|
1206
|
+
maxLineY: 0,
|
|
1202
1207
|
message: '',
|
|
1203
|
-
|
|
1208
|
+
minimumSliderSize: 0,
|
|
1209
|
+
minLineY: 0,
|
|
1210
|
+
negativeMargin: 0,
|
|
1204
1211
|
placeholder: '',
|
|
1205
1212
|
platform,
|
|
1206
|
-
|
|
1207
|
-
focusedIndex: 0,
|
|
1208
|
-
minimumSliderSize: 0,
|
|
1209
|
-
deltaY: 0,
|
|
1213
|
+
scrollBarActive: false,
|
|
1210
1214
|
scrollBarHeight: 0,
|
|
1211
|
-
|
|
1215
|
+
searchValue: '',
|
|
1212
1216
|
size: 0,
|
|
1213
|
-
|
|
1214
|
-
scrollBarActive: false,
|
|
1217
|
+
width,
|
|
1215
1218
|
x,
|
|
1216
|
-
y
|
|
1217
|
-
handleOffset: 0,
|
|
1218
|
-
assetDir: '',
|
|
1219
|
-
headerHeight: 41
|
|
1219
|
+
y
|
|
1220
1220
|
};
|
|
1221
1221
|
set$1(id, state, state);
|
|
1222
1222
|
};
|