@fangzhongya/fang-ui 0.0.29 → 0.0.30
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/components/box/index.css +12 -12
- package/dist/components/box/index.scss +1 -6
- package/dist/components/box-local/index.css +12 -12
- package/dist/components/dialog/src/index.cjs +5 -5
- package/dist/components/dialog/src/index.js +2 -2
- package/dist/components/dialog/style/index2.scss +1 -1
- package/dist/components/forms/index.d.ts +52 -149
- package/dist/components/forms/src/index.cjs +9 -8
- package/dist/components/forms/src/index.d.ts +102 -297
- package/dist/components/forms/src/index.js +2 -1
- package/dist/components/forms/style/index2.scss +6 -0
- package/dist/components/forms-div/style/index2.scss +1 -0
- package/dist/components/forms-item/src/index.cjs +6 -6
- package/dist/components/forms-item/src/index.js +1 -1
- package/dist/components/forms-item/style/index2.scss +4 -0
- package/dist/components/forms-items/style/index2.scss +2 -0
- package/dist/components/index.cjs +16 -14
- package/dist/components/index.d.ts +5 -4
- package/dist/components/index.js +10 -8
- package/dist/components/index.scss +6 -4
- package/dist/components/lists/common/img.cjs +1 -1
- package/dist/components/lists/common/img.d.ts +2 -0
- package/dist/components/lists/common/img.js +1 -1
- package/dist/components/lists/common/img2.cjs +5 -8
- package/dist/components/lists/common/img2.js +6 -9
- package/dist/components/menus/src/index.cjs +2 -2
- package/dist/components/menus/src/index.js +1 -1
- package/dist/components/menus/src/menu-ll.cjs +6 -6
- package/dist/components/menus/src/menu-ll.js +1 -1
- package/dist/components/menus/style/index2.scss +5 -0
- package/dist/components/page/index.css +245 -0
- package/dist/components/page/index.d.ts +3073 -0
- package/dist/components/page/index.scss +4 -0
- package/dist/components/page/src/index.cjs +16 -14
- package/dist/components/page/src/index.d.ts +5111 -0
- package/dist/components/page/src/index.js +5 -3
- package/dist/components/page/style/index2.scss +9 -0
- package/dist/components/{pagin → paging}/index.cjs +3 -3
- package/dist/components/{pagin → paging}/index.css +4 -3
- package/dist/components/{pagin → paging}/index.d.ts +2 -2
- package/dist/components/{pagin → paging}/index.js +3 -3
- package/dist/components/{pagin → paging}/index.scss +3 -2
- package/dist/components/{pagin → paging}/src/index.cjs +3 -3
- package/dist/components/{pagin → paging}/src/index.js +2 -2
- package/dist/components/paging/style/index2.scss +3 -0
- package/dist/components/tables/index.css +12 -15
- package/dist/components/tables/index.d.ts +1730 -0
- package/dist/components/tables/index.scss +17 -23
- package/dist/components/{el-tables → tables}/src/column.cjs +3 -3
- package/dist/components/{el-tables → tables}/src/column.js +2 -2
- package/dist/components/{el-tables → tables}/src/columns.cjs +3 -3
- package/dist/components/{el-tables → tables}/src/columns.js +3 -3
- package/dist/components/{el-tables → tables}/src/columns3.cjs +6 -6
- package/dist/components/{el-tables → tables}/src/columns3.js +2 -2
- package/dist/components/tables/src/index.cjs +158 -97
- package/dist/components/tables/src/index.d.ts +3103 -0
- package/dist/components/tables/src/index.js +158 -97
- package/dist/components/tables/style/index2.scss +5 -0
- package/dist/components/tables-form/index.cjs +1 -0
- package/dist/components/tables-form/index.js +1 -0
- package/dist/components/tables-form/index.scss +0 -0
- package/dist/components/tables-form/style/index.scss.cjs +1 -0
- package/dist/components/tables-form/style/index.scss.js +1 -0
- package/dist/components/tables-form/style/index2.scss +0 -0
- package/dist/components/{el-tables → tablesp}/index.cjs +3 -3
- package/dist/components/{tables-pagin → tablesp}/index.css +10 -9
- package/dist/components/tablesp/index.d.ts +1939 -0
- package/dist/components/{el-tables → tablesp}/index.js +3 -3
- package/dist/components/{tables-pagin → tablesp}/index.scss +5 -5
- package/dist/components/{tables-pagin → tablesp}/src/index.cjs +5 -5
- package/dist/components/tablesp/src/index.d.ts +3540 -0
- package/dist/components/{tables-pagin → tablesp}/src/index.js +5 -5
- package/dist/components/tablesp/style/index2.scss +4 -0
- package/dist/components/{vxe-tables → tabless}/index.cjs +3 -3
- package/dist/components/{el-tables → tabless}/index.css +15 -12
- package/dist/components/tabless/index.d.ts +1939 -0
- package/dist/components/{vxe-tables → tabless}/index.js +3 -3
- package/dist/components/tabless/index.scss +32 -0
- package/dist/components/tabless/src/index.cjs +118 -0
- package/dist/components/tabless/src/index.d.ts +3540 -0
- package/dist/components/tabless/src/index.js +118 -0
- package/dist/components/tabless/style/index2.scss +5 -0
- package/dist/components/{tables-pagin → tablesv}/index.cjs +3 -3
- package/dist/components/{vxe-tables → tablesv}/index.css +17 -17
- package/dist/components/{vxe-tables → tablesv}/index.d.ts +2 -2
- package/dist/components/{tables-pagin → tablesv}/index.js +3 -3
- package/dist/components/{vxe-tables → tablesv}/index.scss +2 -2
- package/dist/components/{vxe-tables → tablesv}/src/index.cjs +1 -1
- package/dist/components/{vxe-tables → tablesv}/src/index.js +1 -1
- package/dist/components/tablesv/style/index2.scss +1 -0
- package/dist/components/tablesvp/index.cjs +8 -0
- package/dist/components/tablesvp/index.css +130 -0
- package/dist/components/tablesvp/index.d.ts +480 -0
- package/dist/components/tablesvp/index.js +8 -0
- package/dist/components/tablesvp/index.scss +33 -0
- package/dist/components/tablesvp/src/data.d.ts +14 -0
- package/dist/components/tablesvp/src/index.cjs +86 -0
- package/dist/components/tablesvp/src/index.d.ts +630 -0
- package/dist/components/tablesvp/src/index.js +86 -0
- package/dist/components/tablesvp/src/index2.cjs +4 -0
- package/dist/components/tablesvp/src/index2.js +4 -0
- package/dist/components/tablesvp/style/index2.scss +4 -0
- package/dist/expand/{chunk-B6EXENNS.cjs → chunk-P5447R3I.cjs} +5 -4
- package/dist/expand/{chunk-Y7QESZWG.js → chunk-VZAQ2FM7.js} +5 -4
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/index.cjs +34 -32
- package/dist/index.css +130 -50
- package/dist/index.js +10 -8
- package/dist/index2.css +1 -1
- package/package.json +6 -6
- package/dist/components/el-tables/index.scss +0 -26
- package/dist/components/el-tables/src/index.cjs +0 -174
- package/dist/components/el-tables/src/index.js +0 -174
- /package/dist/components/{pagin → paging}/src/index.d.ts +0 -0
- /package/dist/components/{el-tables → paging}/src/index2.cjs +0 -0
- /package/dist/components/{el-tables → paging}/src/index2.js +0 -0
- /package/dist/components/{el-tables → tables}/src/column.d.ts +0 -0
- /package/dist/components/{el-tables → tables}/src/columns.d.ts +0 -0
- /package/dist/components/{el-tables → tables}/src/columns2.cjs +0 -0
- /package/dist/components/{el-tables → tables}/src/columns2.js +0 -0
- /package/dist/components/{el-tables → tables}/src/data.cjs +0 -0
- /package/dist/components/{el-tables → tables}/src/data.d.ts +0 -0
- /package/dist/components/{el-tables → tables}/src/data.js +0 -0
- /package/dist/components/{tables-pagin → tablesp}/src/data.d.ts +0 -0
- /package/dist/components/{pagin → tablesp}/src/index2.cjs +0 -0
- /package/dist/components/{pagin → tablesp}/src/index2.js +0 -0
- /package/dist/components/{tables-pagin → tabless}/src/index2.cjs +0 -0
- /package/dist/components/{tables-pagin → tabless}/src/index2.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/column.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/column.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/column.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns2.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns2.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns3.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/columns3.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/data.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/data.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/data.js +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/index.d.ts +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/index2.cjs +0 -0
- /package/dist/components/{vxe-tables → tablesv}/src/index2.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { withInstall } from "../../utils/vues/withInstall.js";
|
|
3
3
|
import _sfc_main from "./src/index.js";
|
|
4
|
-
const
|
|
4
|
+
const Tabless = withInstall(_sfc_main, "Tabless");
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Tabless,
|
|
7
|
+
Tabless as default
|
|
8
8
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use '../css/common.scss' as *;
|
|
2
|
+
|
|
3
|
+
$tabless: 'tabless';
|
|
4
|
+
@include b($tabless) {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: var(#{vdm('height', $tabless)});
|
|
7
|
+
flex: 1;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
&-main {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
flex: 1;
|
|
15
|
+
width: 100%;
|
|
16
|
+
&.#{is('radio')} {
|
|
17
|
+
.#{e()}table__header {
|
|
18
|
+
.#{e()}table-column--selection {
|
|
19
|
+
.#{e()}checkbox {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&-paginat {
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
.#{e()}pagination {
|
|
29
|
+
justify-content: flex-end;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const index$2 = require("../../tables/index.cjs");
|
|
5
|
+
const index$1 = require("../../tablesv/index.cjs");
|
|
6
|
+
const index$3 = require("../../paging/index.cjs");
|
|
7
|
+
const pagin = require("../../tables/common/pagin.cjs");
|
|
8
|
+
const index = require("../../../hooks/cssname/index.cjs");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: pagin.dataProps,
|
|
12
|
+
emits: pagin.dataEmit,
|
|
13
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
|
+
const cs = index.useCssName("tabless");
|
|
15
|
+
const slots = vue.useSlots();
|
|
16
|
+
const props = __props;
|
|
17
|
+
const emit = __emit;
|
|
18
|
+
const refTable = vue.ref();
|
|
19
|
+
const {
|
|
20
|
+
height,
|
|
21
|
+
getSelection,
|
|
22
|
+
initData,
|
|
23
|
+
getData,
|
|
24
|
+
empty,
|
|
25
|
+
loading,
|
|
26
|
+
tableList,
|
|
27
|
+
tableConfig,
|
|
28
|
+
onRadioChange,
|
|
29
|
+
onSortChange,
|
|
30
|
+
onListEvents,
|
|
31
|
+
onSelect,
|
|
32
|
+
onRowClick,
|
|
33
|
+
onChange,
|
|
34
|
+
pagconfig,
|
|
35
|
+
formEvent,
|
|
36
|
+
onSizeChange,
|
|
37
|
+
onCurrentChange,
|
|
38
|
+
paginat,
|
|
39
|
+
data
|
|
40
|
+
} = pagin.useInit(props, emit, refTable);
|
|
41
|
+
__expose({
|
|
42
|
+
getSelection,
|
|
43
|
+
initData,
|
|
44
|
+
getList: getData,
|
|
45
|
+
empty
|
|
46
|
+
});
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
49
|
+
class: vue.normalizeClass(vue.unref(cs).z()),
|
|
50
|
+
style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
|
|
51
|
+
}, [
|
|
52
|
+
vue.unref(tableConfig).type == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.Tablesv), vue.mergeProps({ key: 0 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
|
|
53
|
+
height: vue.unref(height),
|
|
54
|
+
ref_key: "refTable",
|
|
55
|
+
ref: refTable,
|
|
56
|
+
class: [vue.unref(cs).z("main")],
|
|
57
|
+
size: vue.unref(tableConfig).config?.size,
|
|
58
|
+
value: vue.unref(data).list,
|
|
59
|
+
list: vue.unref(tableList),
|
|
60
|
+
paginat: vue.unref(paginat),
|
|
61
|
+
loading: vue.unref(loading),
|
|
62
|
+
options: props.options,
|
|
63
|
+
compons: props.compons,
|
|
64
|
+
onSortChange: vue.unref(onSortChange),
|
|
65
|
+
onRadioChange: vue.unref(onRadioChange),
|
|
66
|
+
onSelectionChange: vue.unref(onChange),
|
|
67
|
+
onListEvents: vue.unref(onListEvents)
|
|
68
|
+
}), vue.createSlots({ _: 2 }, [
|
|
69
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
70
|
+
return {
|
|
71
|
+
name: k,
|
|
72
|
+
fn: vue.withCtx((scope) => [
|
|
73
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
74
|
+
])
|
|
75
|
+
};
|
|
76
|
+
})
|
|
77
|
+
]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.Tables), vue.mergeProps({ key: 1 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
|
|
78
|
+
height: vue.unref(height),
|
|
79
|
+
ref_key: "refTable",
|
|
80
|
+
ref: refTable,
|
|
81
|
+
class: [
|
|
82
|
+
vue.unref(cs).z("main"),
|
|
83
|
+
vue.unref(cs).is("radio", vue.unref(tableConfig).config?.isradio)
|
|
84
|
+
],
|
|
85
|
+
value: vue.unref(data).list,
|
|
86
|
+
list: vue.unref(tableList),
|
|
87
|
+
size: vue.unref(tableConfig).config?.size,
|
|
88
|
+
paginat: vue.unref(paginat),
|
|
89
|
+
loading: vue.unref(loading),
|
|
90
|
+
options: props.options,
|
|
91
|
+
compons: props.compons,
|
|
92
|
+
onSortChange: vue.unref(onSortChange),
|
|
93
|
+
onListEvents: vue.unref(onListEvents),
|
|
94
|
+
onSelect: vue.unref(onSelect),
|
|
95
|
+
onRowClick: vue.unref(onRowClick),
|
|
96
|
+
onSelectionChange: vue.unref(onChange)
|
|
97
|
+
}), vue.createSlots({ _: 2 }, [
|
|
98
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
99
|
+
return {
|
|
100
|
+
name: k,
|
|
101
|
+
fn: vue.withCtx((scope) => [
|
|
102
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
103
|
+
])
|
|
104
|
+
};
|
|
105
|
+
})
|
|
106
|
+
]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])),
|
|
107
|
+
vue.unref(tableConfig).paginat?.is ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 2 }, vue.unref(pagconfig), {
|
|
108
|
+
class: vue.unref(cs).z("paginat"),
|
|
109
|
+
paginat: vue.unref(paginat),
|
|
110
|
+
total: vue.unref(data).total,
|
|
111
|
+
onSizeChange: vue.unref(onSizeChange),
|
|
112
|
+
onCurrentChange: vue.unref(onCurrentChange)
|
|
113
|
+
}), null, 16, ["class", "paginat", "total", "onSizeChange", "onCurrentChange"])) : vue.createCommentVNode("", true)
|
|
114
|
+
], 6);
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
exports.default = _sfc_main;
|