quasar-ui-danx 0.4.72 → 0.4.77
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/dist/danx.es.js +803 -803
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +31 -31
- package/dist/danx.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/Form/Fields/TextField.vue +1 -1
- package/src/components/Utility/Dialogs/InfoDialog.vue +13 -14
- package/src/components/Utility/Files/FilePreview.vue +1 -1
- package/src/types/controls.d.ts +6 -1
- package/src/types/widgets.d.ts +1 -1
package/package.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<DialogLayout
|
3
3
|
class="dx-info-dialog"
|
4
|
-
v-bind="$props"
|
5
4
|
@close="onClose"
|
6
5
|
>
|
7
6
|
<slot />
|
@@ -18,7 +17,10 @@
|
|
18
17
|
<slot name="subtitle" />
|
19
18
|
</template>
|
20
19
|
<template #actions>
|
21
|
-
<div
|
20
|
+
<div
|
21
|
+
v-if="!hideDone"
|
22
|
+
class="flex-grow"
|
23
|
+
>
|
22
24
|
<QBtn
|
23
25
|
:label="doneText"
|
24
26
|
class="dx-dialog-button dx-dialog-button-done"
|
@@ -34,21 +36,18 @@
|
|
34
36
|
</DialogLayout>
|
35
37
|
</template>
|
36
38
|
|
37
|
-
<script setup>
|
39
|
+
<script setup lang="ts">
|
38
40
|
import DialogLayout from "./DialogLayout";
|
39
41
|
|
40
42
|
const emit = defineEmits(["update:model-value", "close"]);
|
41
|
-
defineProps
|
42
|
-
|
43
|
-
|
44
|
-
doneClass
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
doneText:
|
49
|
-
type: String,
|
50
|
-
default: "Done"
|
51
|
-
}
|
43
|
+
withDefaults(defineProps<{
|
44
|
+
disabled?: boolean;
|
45
|
+
hideDone?: boolean;
|
46
|
+
doneClass?: string | object;
|
47
|
+
doneText?: string;
|
48
|
+
}>(), {
|
49
|
+
doneClass: "",
|
50
|
+
doneText: "Done"
|
52
51
|
});
|
53
52
|
|
54
53
|
function onClose() {
|
@@ -245,7 +245,7 @@ const transcodingStatus = computed(() => {
|
|
245
245
|
|
246
246
|
for (let transcodeName of Object.keys(metaTranscodes)) {
|
247
247
|
const transcode = metaTranscodes[transcodeName];
|
248
|
-
if (!transcode?.
|
248
|
+
if (!["Complete", "Timeout"].includes(transcode?.status)) {
|
249
249
|
return { ...transcode, message: `${transcodeName} ${transcode.status}` };
|
250
250
|
}
|
251
251
|
}
|
package/src/types/controls.d.ts
CHANGED
@@ -51,9 +51,14 @@ export interface ListControlsOptions {
|
|
51
51
|
isFieldOptionsEnabled?: boolean;
|
52
52
|
}
|
53
53
|
|
54
|
+
export interface ListSortItem {
|
55
|
+
column: string;
|
56
|
+
order?: "asc" | "desc";
|
57
|
+
}
|
58
|
+
|
54
59
|
export interface ListControlsPagination {
|
55
60
|
__sort?: object[] | null;
|
56
|
-
sort?:
|
61
|
+
sort?: ListSortItem[] | null;
|
57
62
|
sortBy?: string | null;
|
58
63
|
descending?: boolean;
|
59
64
|
page?: number;
|
package/src/types/widgets.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export interface LabelPillWidgetProps {
|
2
2
|
label?: string | number;
|
3
3
|
size?: "xs" | "sm" | "md" | "lg";
|
4
|
-
color?: "sky" | "green" | "red" | "amber" | "yellow" | "blue" | "slate" | "gray" | "none";
|
4
|
+
color?: "sky" | "green" | "red" | "amber" | "yellow" | "blue" | "slate" | "slate-mid" | "gray" | "none";
|
5
5
|
}
|