@milaboratories/uikit 2.2.51 → 2.2.53
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/CHANGELOG.md +12 -0
- package/dist/pl-uikit.js +3244 -3221
- package/dist/pl-uikit.js.map +1 -1
- package/dist/pl-uikit.umd.cjs +6 -6
- package/dist/pl-uikit.umd.cjs.map +1 -1
- package/dist/src/components/PlSplash/PlSplash.vue.d.ts +15 -0
- package/dist/src/components/PlSplash/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/PlFileDialog/Remote.vue +6 -4
- package/src/components/PlSplash/PlSplash.vue +23 -0
- package/src/components/PlSplash/index.ts +1 -0
- package/src/components/PlSplash/pl-splash.module.scss +9 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -132,9 +132,11 @@ const selectFile = (ev: MouseEvent, file: FileDialogItem) => {
|
|
|
132
132
|
|
|
133
133
|
ev.preventDefault();
|
|
134
134
|
|
|
135
|
+
const items = visibleItems.value;
|
|
136
|
+
|
|
135
137
|
if (file.canBeSelected) {
|
|
136
138
|
if (!props.multi) {
|
|
137
|
-
|
|
139
|
+
items.forEach((f) => (f.selected = false));
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
file.selected = !file.selected;
|
|
@@ -144,7 +146,7 @@ const selectFile = (ev: MouseEvent, file: FileDialogItem) => {
|
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
if (!ctrlOrMetaKey && !shiftKey) {
|
|
147
|
-
|
|
149
|
+
items.forEach((f) => {
|
|
148
150
|
if (f.id !== file.id) {
|
|
149
151
|
f.selected = false;
|
|
150
152
|
}
|
|
@@ -152,7 +154,7 @@ const selectFile = (ev: MouseEvent, file: FileDialogItem) => {
|
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
if (shiftKey && lastSelected !== undefined) {
|
|
155
|
-
|
|
157
|
+
items.forEach((f) => {
|
|
156
158
|
if (between(f.id, lastSelected, file.id)) {
|
|
157
159
|
f.selected = true;
|
|
158
160
|
}
|
|
@@ -170,7 +172,7 @@ const changeAll = (selected: boolean) => {
|
|
|
170
172
|
return;
|
|
171
173
|
}
|
|
172
174
|
|
|
173
|
-
|
|
175
|
+
visibleItems.value
|
|
174
176
|
.filter((f) => f.canBeSelected)
|
|
175
177
|
.forEach((file) => {
|
|
176
178
|
file.selected = selected;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import style from './pl-splash.module.scss';
|
|
3
|
+
import { PlLoaderCircular } from '@/components/PlLoaderCircular';
|
|
4
|
+
|
|
5
|
+
withDefaults(defineProps<{
|
|
6
|
+
/**
|
|
7
|
+
* Optional string that sets size for PlLoaderCircular.
|
|
8
|
+
*/
|
|
9
|
+
size?: '16' | '24' | '48' | string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional string that sets text that will be shown below the PlLoaderCircular.
|
|
12
|
+
*/
|
|
13
|
+
text?: string;
|
|
14
|
+
|
|
15
|
+
}>(), { size: '48', text: 'Loading' });
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<div :class="style.container">
|
|
20
|
+
<PlLoaderCircular :size="size" />
|
|
21
|
+
<h3 :class="style.text">{{ text }}</h3>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PlSplash } from './PlSplash.vue';
|
package/src/index.ts
CHANGED
|
@@ -51,6 +51,7 @@ export * from './components/PlSectionSeparator';
|
|
|
51
51
|
export * from './components/PlAccordion';
|
|
52
52
|
export * from './components/PlStatusTag';
|
|
53
53
|
export * from './components/PlLoaderCircular';
|
|
54
|
+
export * from './components/PlSplash';
|
|
54
55
|
export * from './components/PlProgressCell';
|
|
55
56
|
|
|
56
57
|
export * from './components/PlFileDialog';
|