@milaboratories/uikit 2.2.0 → 2.2.1
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/uikit",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/pl-uikit.umd.js",
|
|
6
6
|
"module": "dist/pl-uikit.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"yarpm": "^1.2.0",
|
|
34
34
|
"svgo": "^3.3.2",
|
|
35
35
|
"@milaboratories/helpers": "^1.6.6",
|
|
36
|
-
"@platforma-sdk/model": "^1.8.
|
|
36
|
+
"@platforma-sdk/model": "^1.8.19"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"dev": "vite",
|
|
@@ -119,15 +119,13 @@ const query = (handle: StorageHandle, dirPath: string) => {
|
|
|
119
119
|
|
|
120
120
|
const load = () => {
|
|
121
121
|
const { storageHandle, dirPath, modelValue } = lookup.value;
|
|
122
|
-
if (storageHandle && modelValue
|
|
122
|
+
if (storageHandle && modelValue) {
|
|
123
123
|
query(storageHandle, dirPath);
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
|
|
127
127
|
const updateDirPathDebounced = debounce((v: string) => {
|
|
128
|
-
|
|
129
|
-
data.dirPath = v;
|
|
130
|
-
}
|
|
128
|
+
data.dirPath = v ?? ''; // ???
|
|
131
129
|
}, 1000);
|
|
132
130
|
|
|
133
131
|
const breadcrumbs = computed(() => getFilePathBreadcrumbs(data.dirPath));
|
|
@@ -347,7 +345,7 @@ const vTextOverflown = {
|
|
|
347
345
|
<span v-text-overflown :title="file.name">{{ file.name }}</span>
|
|
348
346
|
</div>
|
|
349
347
|
<div v-else :class="{ canBeSelected: file.canBeSelected, selected: file.selected }" @click.stop="(ev) => selectFile(ev, file)">
|
|
350
|
-
<i class="mask-16 mask-
|
|
348
|
+
<i class="mask-16 mask-box isFile" />
|
|
351
349
|
<span v-text-overflown :title="file.name">{{ file.name }}</span>
|
|
352
350
|
</div>
|
|
353
351
|
</template>
|