@unizhen/ui 0.1.140 → 0.1.141
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/lib/components/table/index.vue.d.ts +2 -7
- package/lib/ui.js +6 -7
- package/package.json +1 -1
|
@@ -5,8 +5,6 @@ import { IUzTableQuery, ITableOptions } from './interface';
|
|
|
5
5
|
import { IUzSearchBars } from '../searchBar';
|
|
6
6
|
import { IUzActionButton } from '../actionButton';
|
|
7
7
|
import { IUzFormItems } from '../form';
|
|
8
|
-
import { ComposerTranslation, VueMessageType, LocaleMessageValue } from 'vue-i18n';
|
|
9
|
-
import { LocaleMessage, RemoveIndexSignature } from '@intlify/core-base';
|
|
10
8
|
import { RouteLocationNormalizedLoadedGeneric } from 'vue-router';
|
|
11
9
|
import { DataTableHeightForRow, RenderExpandIcon, DataTableOnLoad, OnUpdateSorter, OnUpdateFilters, OnUpdateCheckedRowKeys, OnUpdateExpandedRowKeys, CsvOptionsType, InternalRowData, TmNode } from 'naive-ui/es/data-table/src/interface';
|
|
12
10
|
import { MaybeArray } from 'naive-ui/es/_utils';
|
|
@@ -33,6 +31,8 @@ import { IconTheme, IconThemeOverrides } from 'naive-ui/es/icon/styles';
|
|
|
33
31
|
import { OnUpdateChecked } from 'naive-ui/es/checkbox/src/interface';
|
|
34
32
|
import { UseFormItem } from 'naive-ui/es/_mixins/use-form-item';
|
|
35
33
|
import { SpinTheme, SpinThemeOverrides } from 'naive-ui/es/spin/styles';
|
|
34
|
+
import { ComposerTranslation, VueMessageType, LocaleMessageValue } from 'vue-i18n';
|
|
35
|
+
import { LocaleMessage, RemoveIndexSignature } from '@intlify/core-base';
|
|
36
36
|
import { EllipsisThemeVars } from 'naive-ui/es/ellipsis/styles/light';
|
|
37
37
|
import { LabelAlign, LabelPlacement, FormValidateMessages } from 'naive-ui/es/form/src/interface';
|
|
38
38
|
import { FormTheme, FormThemeOverrides } from 'naive-ui/es/form/styles';
|
|
@@ -151,11 +151,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
151
151
|
default: undefined;
|
|
152
152
|
};
|
|
153
153
|
}>, {
|
|
154
|
-
t: ComposerTranslation<{
|
|
155
|
-
[x: string]: LocaleMessage<VueMessageType>;
|
|
156
|
-
}, string, RemoveIndexSignature<{
|
|
157
|
-
[x: string]: LocaleMessageValue<VueMessageType>;
|
|
158
|
-
}>, never, never, never>;
|
|
159
154
|
loading: Ref<boolean, boolean>;
|
|
160
155
|
minH: Ref<string | undefined, string | undefined>;
|
|
161
156
|
maxH: Ref<string | undefined, string | undefined>;
|
package/lib/ui.js
CHANGED
|
@@ -5590,7 +5590,6 @@ var $a = d({
|
|
|
5590
5590
|
let t = e || [], n = B.value.filter((e) => t.includes(e.id));
|
|
5591
5591
|
re.value = t, B.value = n;
|
|
5592
5592
|
}, { deep: !0 }), {
|
|
5593
|
-
t: s,
|
|
5594
5593
|
loading: _,
|
|
5595
5594
|
minH: ee,
|
|
5596
5595
|
maxH: j,
|
|
@@ -5663,7 +5662,7 @@ function ao(t, n, u, d, f, p) {
|
|
|
5663
5662
|
onClick: t.rebuild,
|
|
5664
5663
|
block: ""
|
|
5665
5664
|
}, {
|
|
5666
|
-
default: P(() => [c(A(t
|
|
5665
|
+
default: P(() => [c(A(t.$t("Common.retry")), 1)]),
|
|
5667
5666
|
_: 1
|
|
5668
5667
|
}, 8, ["onClick"])
|
|
5669
5668
|
]),
|
|
@@ -5688,7 +5687,7 @@ function ao(t, n, u, d, f, p) {
|
|
|
5688
5687
|
default: P(() => [l(v, { icon: "Add" })]),
|
|
5689
5688
|
_: 1
|
|
5690
5689
|
})]),
|
|
5691
|
-
default: P(() => [c(" " + A(t
|
|
5690
|
+
default: P(() => [c(" " + A(t.$t("Common.add")), 1)]),
|
|
5692
5691
|
_: 1
|
|
5693
5692
|
}, 8, ["disabled", "onClick"])) : i("", !0),
|
|
5694
5693
|
t.suffixes && t.suffixes.length > 0 ? (x(), r(b, {
|
|
@@ -5756,7 +5755,7 @@ function ao(t, n, u, d, f, p) {
|
|
|
5756
5755
|
default: P(() => [l(v, { icon: "Filter" })]),
|
|
5757
5756
|
_: 1
|
|
5758
5757
|
})]),
|
|
5759
|
-
default: P(() => [c(" " + A(t
|
|
5758
|
+
default: P(() => [c(" " + A(t.$t("Common.columns")), 1)]),
|
|
5760
5759
|
_: 1
|
|
5761
5760
|
})]),
|
|
5762
5761
|
default: P(() => [l(O, {
|
|
@@ -5796,7 +5795,7 @@ function ao(t, n, u, d, f, p) {
|
|
|
5796
5795
|
loading: t.loading,
|
|
5797
5796
|
onClick: t.resetFilter
|
|
5798
5797
|
}, {
|
|
5799
|
-
default: P(() => [c(A(t
|
|
5798
|
+
default: P(() => [c(A(t.$t("Common.reset")), 1)]),
|
|
5800
5799
|
_: 1
|
|
5801
5800
|
}, 8, ["loading", "onClick"])]),
|
|
5802
5801
|
_: 1
|
|
@@ -5832,7 +5831,7 @@ function ao(t, n, u, d, f, p) {
|
|
|
5832
5831
|
default: P(() => [l(v, { icon: "Add" })]),
|
|
5833
5832
|
_: 1
|
|
5834
5833
|
})]),
|
|
5835
|
-
default: P(() => [c(" " + A(t
|
|
5834
|
+
default: P(() => [c(" " + A(t.$t("Common.add")), 1)]),
|
|
5836
5835
|
_: 1
|
|
5837
5836
|
}, 8, ["disabled", "onClick"])) : i("", !0),
|
|
5838
5837
|
E(t.$slots, "action")
|
|
@@ -7876,7 +7875,7 @@ function ac(e, t, n) {
|
|
|
7876
7875
|
}
|
|
7877
7876
|
//#endregion
|
|
7878
7877
|
//#region package.json
|
|
7879
|
-
var oc = "0.1.
|
|
7878
|
+
var oc = "0.1.141", sc;
|
|
7880
7879
|
async function cc() {
|
|
7881
7880
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
7882
7881
|
method: "HEAD",
|