@finema/core 2.8.0 → 2.8.2
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Empty.vue +15 -15
- package/dist/runtime/components/Empty.vue.d.ts +1 -0
- package/dist/runtime/components/Form/InputDateTimeRange/index.vue +2 -2
- package/dist/runtime/components/Table/types.d.ts +1 -0
- package/dist/runtime/theme/empty.d.ts +1 -1
- package/dist/runtime/theme/empty.js +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
3
|
:class="theme.base({
|
|
4
4
|
class: [ui?.base, props.class]
|
|
5
|
-
})"
|
|
6
|
-
>
|
|
7
|
-
<Icon
|
|
8
|
-
:name="icon"
|
|
9
|
-
:class="theme.
|
|
10
|
-
class: [ui?.
|
|
11
|
-
})"
|
|
12
|
-
/>
|
|
13
|
-
<p
|
|
5
|
+
})"
|
|
6
|
+
>
|
|
7
|
+
<Icon
|
|
8
|
+
:name="icon"
|
|
9
|
+
:class="theme.iconSize({
|
|
10
|
+
class: [ui?.iconSize]
|
|
11
|
+
})"
|
|
12
|
+
/>
|
|
13
|
+
<p
|
|
14
14
|
:class="theme.message({
|
|
15
15
|
class: [ui?.message]
|
|
16
|
-
})"
|
|
17
|
-
v-html="message"
|
|
18
|
-
/>
|
|
19
|
-
</div>
|
|
16
|
+
})"
|
|
17
|
+
v-html="message"
|
|
18
|
+
/>
|
|
19
|
+
</div>
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script setup>
|
|
@@ -25,7 +25,7 @@ import { useUiConfig } from "#core/composables/useConfig";
|
|
|
25
25
|
import { emptyTheme } from "#core/theme/empty";
|
|
26
26
|
const props = defineProps({
|
|
27
27
|
message: { type: null, required: false, default: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25!" },
|
|
28
|
-
icon: { type: String, required: false },
|
|
28
|
+
icon: { type: String, required: false, default: "ph:table-thin" },
|
|
29
29
|
ui: { type: null, required: false },
|
|
30
30
|
class: { type: null, required: false }
|
|
31
31
|
});
|
|
@@ -7,5 +7,6 @@ type __VLS_Props = {
|
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
9
|
message: any;
|
|
10
|
+
icon: string;
|
|
10
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
12
|
export default _default;
|
|
@@ -93,8 +93,8 @@ const format = (date) => {
|
|
|
93
93
|
return date.length > 0 ? TimeHelper.displayDateTime(date[0]) + " - " + TimeHelper.displayDateTime(date[1] ?? date[0]) : "";
|
|
94
94
|
};
|
|
95
95
|
const onInput = (_value) => {
|
|
96
|
-
if (_value === null) {
|
|
97
|
-
value.value =
|
|
96
|
+
if (_value === null || _value === void 0) {
|
|
97
|
+
value.value = void 0;
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
if (props.disabledTime && !props.isReturnISO) {
|
|
@@ -13,6 +13,7 @@ export type TableColumn<T extends Record<string, any> = Record<string, any>> = N
|
|
|
13
13
|
type?: COLUMN_TYPES;
|
|
14
14
|
component?: Component;
|
|
15
15
|
accessorKey: string;
|
|
16
|
+
meta?: NuxtUiTableColumn<T>['meta'] & Record<string, any>;
|
|
16
17
|
};
|
|
17
18
|
export interface IBaseTableOptions<T extends Record<string, any> = Record<string, any>> {
|
|
18
19
|
rawData: T[];
|