@94ai/nf-table 4.0.11 → 4.0.13
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/index.d.ts +16 -0
- package/lib/nf-table.cjs.js +23 -7
- package/lib/nf-table.esm-bundler.js +23 -7
- package/lib/nf-table.vue.d.ts +16 -0
- package/package/nf-table.vue +12 -14
- package/package.json +8 -8
package/lib/index.d.ts
CHANGED
|
@@ -1936,6 +1936,22 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
1936
1936
|
slot: any;
|
|
1937
1937
|
}) => any>> & Partial<Record<any, (_: {
|
|
1938
1938
|
slot: any;
|
|
1939
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1940
|
+
slot: any;
|
|
1941
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1942
|
+
slot: any;
|
|
1943
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1944
|
+
slot: any;
|
|
1945
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1946
|
+
slot: any;
|
|
1947
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1948
|
+
slot: any;
|
|
1949
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1950
|
+
slot: any;
|
|
1951
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1952
|
+
slot: any;
|
|
1953
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
1954
|
+
slot: any;
|
|
1939
1955
|
}) => any>> & Partial<Record<any, (_: {
|
|
1940
1956
|
row: any;
|
|
1941
1957
|
index: any;
|
package/lib/nf-table.cjs.js
CHANGED
|
@@ -6828,16 +6828,32 @@ var _sfc_render = function render3() {
|
|
|
6828
6828
|
return [_c("nf-search-form", _vm._g(_vm._b({
|
|
6829
6829
|
ref: "nfSearchFormRef"
|
|
6830
6830
|
}, "nf-search-form", _vm.searchFormAttrs, false), _vm.searchFormEvents), [_vm._l(((_a2 = _vm.nfSearchFormRef) == null ? void 0 : _a2.renderSearchFormItemOptions) || [], function(item) {
|
|
6831
|
-
var _a3;
|
|
6832
|
-
return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ?
|
|
6831
|
+
var _a3, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B;
|
|
6832
|
+
return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ? _vm._t(item.tooltip.slot, null, {
|
|
6833
6833
|
"slot": item.tooltip.slot
|
|
6834
|
-
})
|
|
6834
|
+
}) : _vm._e(), item.slot ? _vm._t(item.slot, null, {
|
|
6835
6835
|
"slot": item.slot
|
|
6836
|
-
})
|
|
6837
|
-
"slot": item.inputSlot
|
|
6838
|
-
})
|
|
6836
|
+
}) : _vm._e(), ((_b2 = item.inputSlot) == null ? void 0 : _b2.prepend) ? _vm._t((_c2 = item.inputSlot) == null ? void 0 : _c2.prepend, null, {
|
|
6837
|
+
"slot": (_d = item.inputSlot) == null ? void 0 : _d.prepend
|
|
6838
|
+
}) : _vm._e(), ((_e = item.inputSlot) == null ? void 0 : _e.append) ? _vm._t((_f = item.inputSlot) == null ? void 0 : _f.append, null, {
|
|
6839
|
+
"slot": (_g = item.inputSlot) == null ? void 0 : _g.append
|
|
6840
|
+
}) : _vm._e(), ((_h = item.inputSlot) == null ? void 0 : _h.suffix) ? _vm._t((_i = item.inputSlot) == null ? void 0 : _i.suffix, null, {
|
|
6841
|
+
"slot": (_j = item.inputSlot) == null ? void 0 : _j.suffix
|
|
6842
|
+
}) : _vm._e(), ((_k = item.inputSlot) == null ? void 0 : _k.prefix) ? _vm._t((_l = item.inputSlot) == null ? void 0 : _l.prefix, null, {
|
|
6843
|
+
"slot": (_m = item.inputSlot) == null ? void 0 : _m.prefix
|
|
6844
|
+
}) : _vm._e(), ((_n = item.inputSlot) == null ? void 0 : _n.doublePrepend) ? _vm._t((_o = item.inputSlot) == null ? void 0 : _o.doublePrepend, null, {
|
|
6845
|
+
"slot": (_p = item.inputSlot) == null ? void 0 : _p.doublePrepend
|
|
6846
|
+
}) : _vm._e(), ((_q = item.inputSlot) == null ? void 0 : _q.doubleAppend) ? _vm._t((_r = item.inputSlot) == null ? void 0 : _r.doubleAppend, null, {
|
|
6847
|
+
"slot": (_s = item.inputSlot) == null ? void 0 : _s.doubleAppend
|
|
6848
|
+
}) : _vm._e(), ((_t = item.inputSlot) == null ? void 0 : _t.doubleSuffix) ? _vm._t((_u = item.inputSlot) == null ? void 0 : _u.doubleSuffix, null, {
|
|
6849
|
+
"slot": (_v = item.inputSlot) == null ? void 0 : _v.doubleSuffix
|
|
6850
|
+
}) : _vm._e(), ((_w = item.inputSlot) == null ? void 0 : _w.doublePrefix) ? _vm._t((_x = item.inputSlot) == null ? void 0 : _x.doublePrefix, null, {
|
|
6851
|
+
"slot": (_y = item.inputSlot) == null ? void 0 : _y.doublePrefix
|
|
6852
|
+
}) : _vm._e(), ((_z = item.inputSlot) == null ? void 0 : _z.doubleSegment) ? _vm._t((_A = item.inputSlot) == null ? void 0 : _A.doubleSegment, null, {
|
|
6853
|
+
"slot": (_B = item.inputSlot) == null ? void 0 : _B.doubleSegment
|
|
6854
|
+
}) : _vm._e(), item.labelSlot ? _vm._t(item.labelSlot, null, {
|
|
6839
6855
|
"slot": item.labelSlot
|
|
6840
|
-
})
|
|
6856
|
+
}) : _vm._e()];
|
|
6841
6857
|
}), _vm._t("btnBox", null, {
|
|
6842
6858
|
"slot": "btnBox"
|
|
6843
6859
|
}), _vm._t("searchFormColumnEditDialogTitle", null, {
|
|
@@ -6826,16 +6826,32 @@ var _sfc_render = function render3() {
|
|
|
6826
6826
|
return [_c("nf-search-form", _vm._g(_vm._b({
|
|
6827
6827
|
ref: "nfSearchFormRef"
|
|
6828
6828
|
}, "nf-search-form", _vm.searchFormAttrs, false), _vm.searchFormEvents), [_vm._l(((_a2 = _vm.nfSearchFormRef) == null ? void 0 : _a2.renderSearchFormItemOptions) || [], function(item) {
|
|
6829
|
-
var _a3;
|
|
6830
|
-
return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ?
|
|
6829
|
+
var _a3, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B;
|
|
6830
|
+
return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ? _vm._t(item.tooltip.slot, null, {
|
|
6831
6831
|
"slot": item.tooltip.slot
|
|
6832
|
-
})
|
|
6832
|
+
}) : _vm._e(), item.slot ? _vm._t(item.slot, null, {
|
|
6833
6833
|
"slot": item.slot
|
|
6834
|
-
})
|
|
6835
|
-
"slot": item.inputSlot
|
|
6836
|
-
})
|
|
6834
|
+
}) : _vm._e(), ((_b2 = item.inputSlot) == null ? void 0 : _b2.prepend) ? _vm._t((_c2 = item.inputSlot) == null ? void 0 : _c2.prepend, null, {
|
|
6835
|
+
"slot": (_d = item.inputSlot) == null ? void 0 : _d.prepend
|
|
6836
|
+
}) : _vm._e(), ((_e = item.inputSlot) == null ? void 0 : _e.append) ? _vm._t((_f = item.inputSlot) == null ? void 0 : _f.append, null, {
|
|
6837
|
+
"slot": (_g = item.inputSlot) == null ? void 0 : _g.append
|
|
6838
|
+
}) : _vm._e(), ((_h = item.inputSlot) == null ? void 0 : _h.suffix) ? _vm._t((_i = item.inputSlot) == null ? void 0 : _i.suffix, null, {
|
|
6839
|
+
"slot": (_j = item.inputSlot) == null ? void 0 : _j.suffix
|
|
6840
|
+
}) : _vm._e(), ((_k = item.inputSlot) == null ? void 0 : _k.prefix) ? _vm._t((_l = item.inputSlot) == null ? void 0 : _l.prefix, null, {
|
|
6841
|
+
"slot": (_m = item.inputSlot) == null ? void 0 : _m.prefix
|
|
6842
|
+
}) : _vm._e(), ((_n = item.inputSlot) == null ? void 0 : _n.doublePrepend) ? _vm._t((_o = item.inputSlot) == null ? void 0 : _o.doublePrepend, null, {
|
|
6843
|
+
"slot": (_p = item.inputSlot) == null ? void 0 : _p.doublePrepend
|
|
6844
|
+
}) : _vm._e(), ((_q = item.inputSlot) == null ? void 0 : _q.doubleAppend) ? _vm._t((_r = item.inputSlot) == null ? void 0 : _r.doubleAppend, null, {
|
|
6845
|
+
"slot": (_s = item.inputSlot) == null ? void 0 : _s.doubleAppend
|
|
6846
|
+
}) : _vm._e(), ((_t = item.inputSlot) == null ? void 0 : _t.doubleSuffix) ? _vm._t((_u = item.inputSlot) == null ? void 0 : _u.doubleSuffix, null, {
|
|
6847
|
+
"slot": (_v = item.inputSlot) == null ? void 0 : _v.doubleSuffix
|
|
6848
|
+
}) : _vm._e(), ((_w = item.inputSlot) == null ? void 0 : _w.doublePrefix) ? _vm._t((_x = item.inputSlot) == null ? void 0 : _x.doublePrefix, null, {
|
|
6849
|
+
"slot": (_y = item.inputSlot) == null ? void 0 : _y.doublePrefix
|
|
6850
|
+
}) : _vm._e(), ((_z = item.inputSlot) == null ? void 0 : _z.doubleSegment) ? _vm._t((_A = item.inputSlot) == null ? void 0 : _A.doubleSegment, null, {
|
|
6851
|
+
"slot": (_B = item.inputSlot) == null ? void 0 : _B.doubleSegment
|
|
6852
|
+
}) : _vm._e(), item.labelSlot ? _vm._t(item.labelSlot, null, {
|
|
6837
6853
|
"slot": item.labelSlot
|
|
6838
|
-
})
|
|
6854
|
+
}) : _vm._e()];
|
|
6839
6855
|
}), _vm._t("btnBox", null, {
|
|
6840
6856
|
"slot": "btnBox"
|
|
6841
6857
|
}), _vm._t("searchFormColumnEditDialogTitle", null, {
|
package/lib/nf-table.vue.d.ts
CHANGED
|
@@ -430,6 +430,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
430
430
|
slot: any;
|
|
431
431
|
}) => any>> & Partial<Record<any, (_: {
|
|
432
432
|
slot: any;
|
|
433
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
434
|
+
slot: any;
|
|
435
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
436
|
+
slot: any;
|
|
437
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
438
|
+
slot: any;
|
|
439
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
440
|
+
slot: any;
|
|
441
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
442
|
+
slot: any;
|
|
443
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
444
|
+
slot: any;
|
|
445
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
446
|
+
slot: any;
|
|
447
|
+
}) => any>> & Partial<Record<any, (_: {
|
|
448
|
+
slot: any;
|
|
433
449
|
}) => any>> & Partial<Record<any, (_: {
|
|
434
450
|
row: any;
|
|
435
451
|
index: any;
|
package/package/nf-table.vue
CHANGED
|
@@ -8,21 +8,19 @@
|
|
|
8
8
|
>
|
|
9
9
|
<template v-for="item in (nfSearchFormRef?.renderSearchFormItemOptions || [])">
|
|
10
10
|
<!-- 定制化SearchItem?提示-->
|
|
11
|
-
<
|
|
12
|
-
<slot :name="item.tooltip.slot" :slot="item.tooltip.slot" />
|
|
13
|
-
</template>
|
|
11
|
+
<slot :name="item.tooltip.slot" :slot="item.tooltip.slot" v-if="item.tooltip?.slot" />
|
|
14
12
|
<!-- 定制化SearchItem插槽-->
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
<slot :name="item.slot" :slot="item.slot" v-if="item.slot" />
|
|
14
|
+
<slot :name="item.inputSlot?.prepend" v-if="item.inputSlot?.prepend" :slot="item.inputSlot?.prepend" />
|
|
15
|
+
<slot :name="item.inputSlot?.append" v-if="item.inputSlot?.append" :slot="item.inputSlot?.append" />
|
|
16
|
+
<slot :name="item.inputSlot?.suffix" v-if="item.inputSlot?.suffix" :slot="item.inputSlot?.suffix" />
|
|
17
|
+
<slot :name="item.inputSlot?.prefix" v-if="item.inputSlot?.prefix" :slot="item.inputSlot?.prefix" />
|
|
18
|
+
<slot :name="item.inputSlot?.doublePrepend" v-if="item.inputSlot?.doublePrepend" :slot="item.inputSlot?.doublePrepend" />
|
|
19
|
+
<slot :name="item.inputSlot?.doubleAppend" v-if="item.inputSlot?.doubleAppend" :slot="item.inputSlot?.doubleAppend" />
|
|
20
|
+
<slot :name="item.inputSlot?.doubleSuffix" v-if="item.inputSlot?.doubleSuffix" :slot="item.inputSlot?.doubleSuffix" />
|
|
21
|
+
<slot :name="item.inputSlot?.doublePrefix" v-if="item.inputSlot?.doublePrefix" :slot="item.inputSlot?.doublePrefix" />
|
|
22
|
+
<slot :name="item.inputSlot?.doubleSegment" v-if="item.inputSlot?.doubleSegment" :slot="item.inputSlot?.doubleSegment" />
|
|
23
|
+
<slot :name="item.labelSlot" :slot="item.labelSlot" v-if="item.labelSlot" />
|
|
26
24
|
</template>
|
|
27
25
|
<slot name="btnBox" slot="btnBox" />
|
|
28
26
|
<slot name="searchFormColumnEditDialogTitle" slot="dialogTitle" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-table",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.13",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/common-utils": "^4.0.
|
|
18
|
-
"@94ai/nf-button": "^4.0.
|
|
19
|
-
"@94ai/nf-drawer": "^4.0.
|
|
20
|
-
"@94ai/nf-message": "^4.0.
|
|
21
|
-
"@94ai/nf-search-form": "^4.0.
|
|
22
|
-
"@94ai/nf-theme-chalk": "^4.0.
|
|
17
|
+
"@94ai/common-utils": "^4.0.13",
|
|
18
|
+
"@94ai/nf-button": "^4.0.13",
|
|
19
|
+
"@94ai/nf-drawer": "^4.0.13",
|
|
20
|
+
"@94ai/nf-message": "^4.0.13",
|
|
21
|
+
"@94ai/nf-search-form": "^4.0.13",
|
|
22
|
+
"@94ai/nf-theme-chalk": "^4.0.13",
|
|
23
23
|
"idb-keyval": "^6.2.1",
|
|
24
24
|
"vue-demi": "^0.14.5",
|
|
25
25
|
"vuedraggable": "^2.24.3"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"types": "lib/index.d.ts",
|
|
38
38
|
"main": "lib/nf-table.cjs.js",
|
|
39
39
|
"module": "lib/nf-table.esm-bundler.js",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2c108ff0cff11d3b94b8f84c0ede3b54e50e538c"
|
|
41
41
|
}
|