@fangzhongya/fang-ui 0.0.54 → 0.0.56
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/common/use.cjs +2 -0
- package/dist/components/common/use.js +2 -0
- package/dist/components/index.cjs +84 -80
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +5 -1
- package/dist/components/index.scss +2 -2
- package/dist/components/index2.scss +2 -2
- package/dist/components/list/index.cjs +9 -0
- package/dist/components/list/index.css +96 -0
- package/dist/components/list/index.d.ts +2 -0
- package/dist/components/list/index.js +9 -0
- package/dist/components/list/src/data.cjs +97 -0
- package/dist/components/list/src/data.d.ts +100 -0
- package/dist/components/list/src/data.js +97 -0
- package/dist/components/list/src/index.cjs +4 -0
- package/dist/components/list/src/index.js +4 -0
- package/dist/components/list/src/index2.cjs +337 -0
- package/dist/components/list/src/index2.js +337 -0
- package/dist/components/lists/index.cjs +2 -2
- package/dist/components/lists/index.css +27 -72
- package/dist/components/lists/src/data.cjs +80 -49
- package/dist/components/lists/src/data.d.ts +103 -48
- package/dist/components/lists/src/data.js +81 -50
- package/dist/components/lists/src/index.cjs +2 -2
- package/dist/components/lists/src/index2.cjs +237 -303
- package/dist/components/lists/src/index2.js +237 -303
- package/dist/components/listsp/index.cjs +9 -0
- package/dist/components/listsp/index.css +86 -0
- package/dist/components/listsp/index.d.ts +2 -0
- package/dist/components/listsp/index.js +9 -0
- package/dist/components/listsp/src/data.d.ts +14 -0
- package/dist/components/listsp/src/index.cjs +4 -0
- package/dist/components/listsp/src/index.js +4 -0
- package/dist/components/listsp/src/index2.cjs +98 -0
- package/dist/components/listsp/src/index2.js +98 -0
- package/dist/components/page/index.css +35 -38
- package/dist/components/page/index.scss +1 -1
- package/dist/components/page/src/index2.cjs +2 -2
- package/dist/components/page/src/index2.js +2 -2
- package/dist/components/page/style/index2.scss +1 -1
- package/dist/components/tables/common/pagin.cjs +33 -15
- package/dist/components/tables/common/pagin.d.ts +14 -3
- package/dist/components/tables/common/pagin.js +33 -15
- package/dist/components/tables/index.css +1 -4
- package/dist/components/tablesp/index.css +1 -4
- package/dist/css/index.css +122 -46
- package/dist/css/list.css +96 -0
- package/dist/css/lists.css +27 -72
- package/dist/css/listsp.css +86 -0
- package/dist/css/page.css +35 -38
- package/dist/css/tables.css +1 -4
- package/dist/css/tablesp.css +1 -4
- package/dist/directives/scroll/index.cjs +36 -11
- package/dist/directives/scroll/index.js +36 -11
- package/dist/icons/index.css +36 -36
- package/dist/icons/index.json +15 -15
- package/dist/index.cjs +102 -98
- package/dist/index.css +122 -46
- package/dist/index.js +5 -1
- package/dist/type.d.ts +11 -2
- package/package.json +5 -5
- /package/dist/components/{forms-item → forms-items}/index.css +0 -0
- /package/dist/components/{cascader-panel → keep-com}/index.css +0 -0
- /package/dist/components/{lists → list}/src/setup.d.ts +0 -0
- /package/dist/components/{lists → list}/src/util.cjs +0 -0
- /package/dist/components/{lists → list}/src/util.d.ts +0 -0
- /package/dist/components/{lists → list}/src/util.js +0 -0
- /package/dist/components/{lists → tables}/common/img.cjs +0 -0
- /package/dist/components/{lists → tables}/common/img.js +0 -0
- /package/dist/components/{lists → tables}/common/img2.cjs +0 -0
- /package/dist/components/{lists → tables}/common/img2.js +0 -0
- /package/dist/css/{forms-item.css → forms-items.css} +0 -0
- /package/dist/css/{cascader-panel.css → keep-com.css} +0 -0
|
@@ -73,46 +73,48 @@ const index$15 = require("./icon-picker/index.cjs");
|
|
|
73
73
|
const index$16 = require("./icon/index.cjs");
|
|
74
74
|
const index$17 = require("./iframe/index.cjs");
|
|
75
75
|
const index$18 = require("./keep-com/index.cjs");
|
|
76
|
-
const index$19 = require("./
|
|
77
|
-
const index$1a = require("./
|
|
78
|
-
const index$1b = require("./
|
|
79
|
-
const index$1c = require("./
|
|
80
|
-
const index$1d = require("./
|
|
81
|
-
const index$1e = require("./
|
|
82
|
-
const index$1f = require("./
|
|
83
|
-
const index$1g = require("./
|
|
84
|
-
const index$1h = require("./select-
|
|
85
|
-
const index$1i = require("./select-
|
|
86
|
-
const index$1j = require("./
|
|
87
|
-
const index$1k = require("./
|
|
88
|
-
const index$1l = require("./
|
|
89
|
-
const index$1m = require("./
|
|
90
|
-
const index$1n = require("./
|
|
91
|
-
const index$1o = require("./
|
|
92
|
-
const index$1p = require("./dates-
|
|
93
|
-
const index$1q = require("./dates
|
|
94
|
-
const index$1r = require("./
|
|
95
|
-
const index$1s = require("./edit
|
|
96
|
-
const index$1t = require("./
|
|
97
|
-
const index$1u = require("./
|
|
98
|
-
const index$1v = require("./
|
|
99
|
-
const index$1w = require("./input-
|
|
100
|
-
const index$1x = require("./input-
|
|
101
|
-
const index$1y = require("./input-
|
|
102
|
-
const index$1z = require("./
|
|
103
|
-
const index$1A = require("./
|
|
104
|
-
const index$1B = require("./
|
|
105
|
-
const index$1C = require("./
|
|
106
|
-
const index$1D = require("./
|
|
107
|
-
const index$1E = require("./
|
|
108
|
-
const index$1F = require("./
|
|
109
|
-
const index$1G = require("./
|
|
110
|
-
const index$1H = require("./
|
|
111
|
-
const index$1I = require("./
|
|
112
|
-
const index$1J = require("./
|
|
113
|
-
const index$1K = require("./
|
|
114
|
-
const index$1L = require("./
|
|
115
|
-
const index$1M = require("./
|
|
76
|
+
const index$19 = require("./menus/index.cjs");
|
|
77
|
+
const index$1a = require("./page/index.cjs");
|
|
78
|
+
const index$1b = require("./retract/index.cjs");
|
|
79
|
+
const index$1c = require("./choice-select/index.cjs");
|
|
80
|
+
const index$1d = require("./company-select/index.cjs");
|
|
81
|
+
const index$1e = require("./department-select/index.cjs");
|
|
82
|
+
const index$1f = require("./role-select/index.cjs");
|
|
83
|
+
const index$1g = require("./select-dialog/index.cjs");
|
|
84
|
+
const index$1h = require("./select-popover/index.cjs");
|
|
85
|
+
const index$1i = require("./tree-select-box/index.cjs");
|
|
86
|
+
const index$1j = require("./user-select/index.cjs");
|
|
87
|
+
const index$1k = require("./array/index.cjs");
|
|
88
|
+
const index$1l = require("./buttons/index.cjs");
|
|
89
|
+
const index$1m = require("./cascaders/index.cjs");
|
|
90
|
+
const index$1n = require("./checks/index.cjs");
|
|
91
|
+
const index$1o = require("./dates-divide/index.cjs");
|
|
92
|
+
const index$1p = require("./dates-picker/index.cjs");
|
|
93
|
+
const index$1q = require("./dates/index.cjs");
|
|
94
|
+
const index$1r = require("./edit-float/index.cjs");
|
|
95
|
+
const index$1s = require("./edit/index.cjs");
|
|
96
|
+
const index$1t = require("./history/index.cjs");
|
|
97
|
+
const index$1u = require("./images/index.cjs");
|
|
98
|
+
const index$1v = require("./input-array/index.cjs");
|
|
99
|
+
const index$1w = require("./input-history/index.cjs");
|
|
100
|
+
const index$1x = require("./input-num/index.cjs");
|
|
101
|
+
const index$1y = require("./input-select/index.cjs");
|
|
102
|
+
const index$1z = require("./inputs/index.cjs");
|
|
103
|
+
const index$1A = require("./labels/index.cjs");
|
|
104
|
+
const index$1B = require("./select-scroll/index.cjs");
|
|
105
|
+
const index$1C = require("./selector/index.cjs");
|
|
106
|
+
const index$1D = require("./selects/index.cjs");
|
|
107
|
+
const index$1E = require("./switchs/index.cjs");
|
|
108
|
+
const index$1F = require("./text/index.cjs");
|
|
109
|
+
const index$1G = require("./list/index.cjs");
|
|
110
|
+
const index$1H = require("./lists/index.cjs");
|
|
111
|
+
const index$1I = require("./listsp/index.cjs");
|
|
112
|
+
const index$1J = require("./paging/index.cjs");
|
|
113
|
+
const index$1K = require("./tables/index.cjs");
|
|
114
|
+
const index$1L = require("./tablesp/index.cjs");
|
|
115
|
+
const index$1M = require("./tabless/index.cjs");
|
|
116
|
+
const index$1N = require("./tablesv/index.cjs");
|
|
117
|
+
const index$1O = require("./tablesvp/index.cjs");
|
|
116
118
|
const index$b = require("./loading/src/index.cjs");
|
|
117
119
|
exports.Button = index.Button;
|
|
118
120
|
exports.Card = index$1.Card;
|
|
@@ -186,44 +188,46 @@ exports.IconPicker = index$15.IconPicker;
|
|
|
186
188
|
exports.Icon = index$16.Icon;
|
|
187
189
|
exports.Iframe = index$17.Iframe;
|
|
188
190
|
exports.KeepCom = index$18.KeepCom;
|
|
189
|
-
exports.
|
|
190
|
-
exports.
|
|
191
|
-
exports.
|
|
192
|
-
exports.
|
|
193
|
-
exports.
|
|
194
|
-
exports.
|
|
195
|
-
exports.
|
|
196
|
-
exports.
|
|
197
|
-
exports.
|
|
198
|
-
exports.
|
|
199
|
-
exports.
|
|
200
|
-
exports.
|
|
201
|
-
exports.
|
|
202
|
-
exports.
|
|
203
|
-
exports.
|
|
204
|
-
exports.
|
|
205
|
-
exports.
|
|
206
|
-
exports.
|
|
207
|
-
exports.
|
|
208
|
-
exports.
|
|
209
|
-
exports.
|
|
210
|
-
exports.
|
|
211
|
-
exports.
|
|
212
|
-
exports.
|
|
213
|
-
exports.
|
|
214
|
-
exports.
|
|
215
|
-
exports.
|
|
216
|
-
exports.
|
|
217
|
-
exports.
|
|
218
|
-
exports.
|
|
219
|
-
exports.
|
|
220
|
-
exports.
|
|
221
|
-
exports.
|
|
222
|
-
exports.
|
|
223
|
-
exports.
|
|
224
|
-
exports.
|
|
225
|
-
exports.
|
|
226
|
-
exports.
|
|
227
|
-
exports.
|
|
228
|
-
exports.
|
|
191
|
+
exports.Menus = index$19.Menus;
|
|
192
|
+
exports.Page = index$1a.Page;
|
|
193
|
+
exports.Retract = index$1b.Retract;
|
|
194
|
+
exports.ChoiceSelect = index$1c.ChoiceSelect;
|
|
195
|
+
exports.CompanySelect = index$1d.CompanySelect;
|
|
196
|
+
exports.DepartmentSelect = index$1e.DepartmentSelect;
|
|
197
|
+
exports.RoleSelect = index$1f.RoleSelect;
|
|
198
|
+
exports.SelectDialog = index$1g.SelectDialog;
|
|
199
|
+
exports.SelectPopover = index$1h.SelectPopover;
|
|
200
|
+
exports.TreeSelectBox = index$1i.TreeSelectBox;
|
|
201
|
+
exports.UserSelect = index$1j.UserSelect;
|
|
202
|
+
exports.Array = index$1k.Array;
|
|
203
|
+
exports.Buttons = index$1l.Buttons;
|
|
204
|
+
exports.Cascaders = index$1m.Cascaders;
|
|
205
|
+
exports.Checks = index$1n.Checks;
|
|
206
|
+
exports.DatesDivide = index$1o.DatesDivide;
|
|
207
|
+
exports.DatesPicker = index$1p.DatesPicker;
|
|
208
|
+
exports.Dates = index$1q.Dates;
|
|
209
|
+
exports.EditFloat = index$1r.EditFloat;
|
|
210
|
+
exports.Edit = index$1s.Edit;
|
|
211
|
+
exports.History = index$1t.History;
|
|
212
|
+
exports.Images = index$1u.Images;
|
|
213
|
+
exports.InputArray = index$1v.InputArray;
|
|
214
|
+
exports.InputHistory = index$1w.InputHistory;
|
|
215
|
+
exports.InputNum = index$1x.InputNum;
|
|
216
|
+
exports.InputSelect = index$1y.InputSelect;
|
|
217
|
+
exports.Inputs = index$1z.Inputs;
|
|
218
|
+
exports.Labels = index$1A.Labels;
|
|
219
|
+
exports.SelectScroll = index$1B.SelectScroll;
|
|
220
|
+
exports.Selector = index$1C.Selector;
|
|
221
|
+
exports.Selects = index$1D.Selects;
|
|
222
|
+
exports.Switchs = index$1E.Switchs;
|
|
223
|
+
exports.Text = index$1F.Text;
|
|
224
|
+
exports.List = index$1G.List;
|
|
225
|
+
exports.Lists = index$1H.Lists;
|
|
226
|
+
exports.Listsp = index$1I.Listsp;
|
|
227
|
+
exports.Paging = index$1J.Paging;
|
|
228
|
+
exports.Tables = index$1K.Tables;
|
|
229
|
+
exports.Tablesp = index$1L.Tablesp;
|
|
230
|
+
exports.Tabless = index$1M.Tabless;
|
|
231
|
+
exports.Tablesv = index$1N.Tablesv;
|
|
232
|
+
exports.Tablesvp = index$1O.Tablesvp;
|
|
229
233
|
exports.vLoading = index$b.vLoading;
|
|
@@ -70,7 +70,6 @@ export * from './icon-picker/index';
|
|
|
70
70
|
export * from './icon/index';
|
|
71
71
|
export * from './iframe/index';
|
|
72
72
|
export * from './keep-com/index';
|
|
73
|
-
export * from './lists/index';
|
|
74
73
|
export * from './menus/index';
|
|
75
74
|
export * from './page/index';
|
|
76
75
|
export * from './retract/index';
|
|
@@ -104,6 +103,9 @@ export * from './selector/index';
|
|
|
104
103
|
export * from './selects/index';
|
|
105
104
|
export * from './switchs/index';
|
|
106
105
|
export * from './text/index';
|
|
106
|
+
export * from './list/index';
|
|
107
|
+
export * from './lists/index';
|
|
108
|
+
export * from './listsp/index';
|
|
107
109
|
export * from './paging/index';
|
|
108
110
|
export * from './tables/index';
|
|
109
111
|
export * from './tablesp/index';
|
package/dist/components/index.js
CHANGED
|
@@ -71,7 +71,6 @@ import { IconPicker } from "./icon-picker/index.js";
|
|
|
71
71
|
import { Icon } from "./icon/index.js";
|
|
72
72
|
import { Iframe } from "./iframe/index.js";
|
|
73
73
|
import { KeepCom } from "./keep-com/index.js";
|
|
74
|
-
import { Lists } from "./lists/index.js";
|
|
75
74
|
import { Menus } from "./menus/index.js";
|
|
76
75
|
import { Page } from "./page/index.js";
|
|
77
76
|
import { Retract } from "./retract/index.js";
|
|
@@ -105,6 +104,9 @@ import { Selector } from "./selector/index.js";
|
|
|
105
104
|
import { Selects } from "./selects/index.js";
|
|
106
105
|
import { Switchs } from "./switchs/index.js";
|
|
107
106
|
import { Text } from "./text/index.js";
|
|
107
|
+
import { List } from "./list/index.js";
|
|
108
|
+
import { Lists } from "./lists/index.js";
|
|
109
|
+
import { Listsp } from "./listsp/index.js";
|
|
108
110
|
import { Paging } from "./paging/index.js";
|
|
109
111
|
import { Tables } from "./tables/index.js";
|
|
110
112
|
import { Tablesp } from "./tablesp/index.js";
|
|
@@ -175,7 +177,9 @@ export {
|
|
|
175
177
|
Inputs,
|
|
176
178
|
KeepCom,
|
|
177
179
|
Labels,
|
|
180
|
+
List,
|
|
178
181
|
Lists,
|
|
182
|
+
Listsp,
|
|
179
183
|
Loading,
|
|
180
184
|
Mention,
|
|
181
185
|
Menus,
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
@use './inputs/index.scss' as *;
|
|
77
77
|
@use './selects/index.scss' as *;
|
|
78
78
|
@use './switchs/index.scss' as *;
|
|
79
|
-
@use './text/index.scss' as *;
|
|
80
79
|
@use './list/index.scss' as *;
|
|
81
80
|
@use './lists/index.scss' as *;
|
|
82
81
|
@use './listsp/index.scss' as *;
|
|
@@ -84,4 +83,5 @@
|
|
|
84
83
|
@use './tables/index.scss' as *;
|
|
85
84
|
@use './tablesp/index.scss' as *;
|
|
86
85
|
@use './tabless/index.scss' as *;
|
|
87
|
-
@use './tablesv/index.scss' as *;
|
|
86
|
+
@use './tablesv/index.scss' as *;
|
|
87
|
+
@use './tablesvp/index.scss' as *;
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
@use './inputs/style/index2.scss' as *;
|
|
77
77
|
@use './selects/style/index2.scss' as *;
|
|
78
78
|
@use './switchs/style/index2.scss' as *;
|
|
79
|
-
@use './text/style/index.scss' as *;
|
|
80
79
|
@use './list/style/index.scss' as *;
|
|
81
80
|
@use './lists/style/index.scss' as *;
|
|
82
81
|
@use './listsp/style/index2.scss' as *;
|
|
@@ -84,4 +83,5 @@
|
|
|
84
83
|
@use './tables/style/index2.scss' as *;
|
|
85
84
|
@use './tablesp/style/index2.scss' as *;
|
|
86
85
|
@use './tabless/style/index2.scss' as *;
|
|
87
|
-
@use './tablesv/style/index2.scss' as *;
|
|
86
|
+
@use './tablesv/style/index2.scss' as *;
|
|
87
|
+
@use './tablesvp/style/index2.scss' as *;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
|
+
require("./src/index.cjs");
|
|
6
|
+
const index_vue_vue_type_script_lang = require("./src/index2.cjs");
|
|
7
|
+
const List = withInstall.withInstall(index_vue_vue_type_script_lang.default, "List");
|
|
8
|
+
exports.List = List;
|
|
9
|
+
exports.default = List;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
3
|
+
--color-primary: #409eff;
|
|
4
|
+
--bag-primary: #409eff;
|
|
5
|
+
--bag-primary-text: #fff;
|
|
6
|
+
--border: #eee;
|
|
7
|
+
--layout-panel-gap: 10px;
|
|
8
|
+
--layout-panel-padding: 20px;
|
|
9
|
+
--layout-form-item-padding-right: var(
|
|
10
|
+
--layout-panel-gap
|
|
11
|
+
);
|
|
12
|
+
--g-main-bg: var(--bg-color-page);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.list-div .list-table {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
.list-div .list-table td {
|
|
20
|
+
text-align: left;
|
|
21
|
+
}
|
|
22
|
+
.list-div .list-table th {
|
|
23
|
+
font-weight: initial;
|
|
24
|
+
}
|
|
25
|
+
.list-div .list-table .is-whole .list-table-auto {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
.list-div .list-table .is-whole .list-table-value {
|
|
29
|
+
width: 100%;
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
.list-div .list-table .list-table-td,
|
|
33
|
+
.list-div .list-table .list-table-th {
|
|
34
|
+
padding: 6px;
|
|
35
|
+
}
|
|
36
|
+
.list-div .list-table .list-table-auto {
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
}
|
|
40
|
+
.list-div .list-table .list-table-auto .list-table-label {
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
.list-div .list-table .list-table-th {
|
|
44
|
+
text-align: left;
|
|
45
|
+
}
|
|
46
|
+
.list-div .list-table.right .list-table-th {
|
|
47
|
+
text-align: right;
|
|
48
|
+
}
|
|
49
|
+
.list-div .list-table.center .list-table-th {
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
.list-div .list-table.auto .list-table-th {
|
|
53
|
+
padding-right: 0;
|
|
54
|
+
}
|
|
55
|
+
.list-div .list-table.top .list-table-th {
|
|
56
|
+
padding-bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
.list-div .list-table.is-aliquots {
|
|
59
|
+
table-layout: fixed;
|
|
60
|
+
}
|
|
61
|
+
.list-div .list-table.is-border {
|
|
62
|
+
border-right: 1px solid var(--list-border-color);
|
|
63
|
+
border-top: 1px solid var(--list-border-color);
|
|
64
|
+
border-bottom: 1px solid var(--list-border-color);
|
|
65
|
+
}
|
|
66
|
+
.list-div .list-table.is-border > tr > td {
|
|
67
|
+
border-bottom: 1px solid var(--list-border-color);
|
|
68
|
+
border-left: 1px solid var(--list-border-color);
|
|
69
|
+
}
|
|
70
|
+
.list-div .list-table.is-border > tr > td:last-child {
|
|
71
|
+
border-right: 1px solid var(--list-border-color);
|
|
72
|
+
}
|
|
73
|
+
.list-div .list-table.is-border > tr > th {
|
|
74
|
+
border-left: 1px solid var(--list-border-color);
|
|
75
|
+
border-bottom: 1px solid var(--list-border-color);
|
|
76
|
+
}
|
|
77
|
+
.list-div .list-table.is-border > tr > th:last-child {
|
|
78
|
+
border-right: 1px solid var(--list-border-color);
|
|
79
|
+
}
|
|
80
|
+
.list-div .list-table.is-border > tr:last-child > td {
|
|
81
|
+
border-bottom: 0;
|
|
82
|
+
}
|
|
83
|
+
.list-div .list-table.is-border > tr:last-child > th {
|
|
84
|
+
border-bottom: 0;
|
|
85
|
+
}
|
|
86
|
+
.list-div .list-table.is-border.top > tr > th {
|
|
87
|
+
border-bottom: 0;
|
|
88
|
+
}
|
|
89
|
+
.list-div .list-table .list-com {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
}
|
|
93
|
+
.list-div .list-table .list-com-img {
|
|
94
|
+
width: 50px;
|
|
95
|
+
height: 50px;
|
|
96
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const dataProps = {
|
|
4
|
+
/**
|
|
5
|
+
* @props { Object } options={}
|
|
6
|
+
* 选择数据集合
|
|
7
|
+
*/
|
|
8
|
+
options: {
|
|
9
|
+
type: Object,
|
|
10
|
+
default() {
|
|
11
|
+
return {};
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
/**
|
|
15
|
+
* @props { Object } compons={}
|
|
16
|
+
* 外部组件集合
|
|
17
|
+
*/
|
|
18
|
+
compons: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default() {
|
|
21
|
+
return {};
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @props { Object } labelPosition='auto' ('left' | 'top' | 'right' | 'center' | 'auto')
|
|
26
|
+
* 标签位置
|
|
27
|
+
*/
|
|
28
|
+
labelPosition: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "auto"
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* @props { Array<ListObj> } list=[]
|
|
34
|
+
* 列数据
|
|
35
|
+
*/
|
|
36
|
+
list: {
|
|
37
|
+
type: Array,
|
|
38
|
+
default: () => {
|
|
39
|
+
return [];
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
value: {
|
|
43
|
+
type: Object,
|
|
44
|
+
default: () => {
|
|
45
|
+
return {};
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
/**
|
|
49
|
+
* @props { Number } column=2
|
|
50
|
+
* 一行展示多少列
|
|
51
|
+
*/
|
|
52
|
+
column: {
|
|
53
|
+
type: Number,
|
|
54
|
+
default() {
|
|
55
|
+
return 2;
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
* @props { Boolean, String } colon
|
|
60
|
+
* 标签后面是否加内容 true 是 :
|
|
61
|
+
*/
|
|
62
|
+
colon: [Boolean, String],
|
|
63
|
+
/**
|
|
64
|
+
* @props {Number, String } labelWidth=[]
|
|
65
|
+
* 标签宽度
|
|
66
|
+
*/
|
|
67
|
+
labelWidth: {
|
|
68
|
+
type: [Number, String]
|
|
69
|
+
// default: '60px',
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* @props { Boolean, String } border=true ( )
|
|
73
|
+
* 是否需要边框,边框颜色
|
|
74
|
+
*/
|
|
75
|
+
border: {
|
|
76
|
+
type: [Boolean, String]
|
|
77
|
+
// default: true
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* @props { Boolean } aliquots=true ( )
|
|
81
|
+
* 是否等分
|
|
82
|
+
*/
|
|
83
|
+
aliquots: {
|
|
84
|
+
type: Boolean,
|
|
85
|
+
default: true
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* @props { Boolean } componSelected
|
|
89
|
+
* 是否在选中时显示 compon 组件
|
|
90
|
+
*/
|
|
91
|
+
componSelected: Boolean
|
|
92
|
+
};
|
|
93
|
+
const dataEmits = ["list-events"];
|
|
94
|
+
const dataExpose = [];
|
|
95
|
+
exports.dataEmits = dataEmits;
|
|
96
|
+
exports.dataExpose = dataExpose;
|
|
97
|
+
exports.dataProps = dataProps;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ExtractPropTypes, Component } from 'vue';
|
|
2
|
+
export declare const dataProps: {
|
|
3
|
+
/**
|
|
4
|
+
* @props { Object } options={}
|
|
5
|
+
* 选择数据集合
|
|
6
|
+
*/
|
|
7
|
+
options: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
default(): {};
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @props { Object } compons={}
|
|
13
|
+
* 外部组件集合
|
|
14
|
+
*/
|
|
15
|
+
compons: {
|
|
16
|
+
type: () => {
|
|
17
|
+
[key: string]: Component;
|
|
18
|
+
};
|
|
19
|
+
default(): {};
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @props { Object } labelPosition='auto' ('left' | 'top' | 'right' | 'center' | 'auto')
|
|
23
|
+
* 标签位置
|
|
24
|
+
*/
|
|
25
|
+
labelPosition: {
|
|
26
|
+
type: () => "left" | "top" | "right" | "center" | "auto";
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @props { Array<ListObj> } list=[]
|
|
31
|
+
* 列数据
|
|
32
|
+
*/
|
|
33
|
+
list: {
|
|
34
|
+
type: {
|
|
35
|
+
(arrayLength: number): ListObj[];
|
|
36
|
+
(...items: ListObj[]): ListObj[];
|
|
37
|
+
new (arrayLength: number): ListObj[];
|
|
38
|
+
new (...items: ListObj[]): ListObj[];
|
|
39
|
+
isArray(arg: any): arg is any[];
|
|
40
|
+
readonly prototype: any[];
|
|
41
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
42
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
43
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
44
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
45
|
+
of<T>(...items: T[]): T[];
|
|
46
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
47
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
48
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
49
|
+
};
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @props { Number } column=2
|
|
58
|
+
* 一行展示多少列
|
|
59
|
+
*/
|
|
60
|
+
column: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default(): number;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @props { Boolean, String } colon
|
|
66
|
+
* 标签后面是否加内容 true 是 :
|
|
67
|
+
*/
|
|
68
|
+
colon: (BooleanConstructor | StringConstructor)[];
|
|
69
|
+
/**
|
|
70
|
+
* @props {Number, String } labelWidth=[]
|
|
71
|
+
* 标签宽度
|
|
72
|
+
*/
|
|
73
|
+
labelWidth: {
|
|
74
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @props { Boolean, String } border=true ( )
|
|
78
|
+
* 是否需要边框,边框颜色
|
|
79
|
+
*/
|
|
80
|
+
border: {
|
|
81
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @props { Boolean } aliquots=true ( )
|
|
85
|
+
* 是否等分
|
|
86
|
+
*/
|
|
87
|
+
aliquots: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @props { Boolean } componSelected
|
|
93
|
+
* 是否在选中时显示 compon 组件
|
|
94
|
+
*/
|
|
95
|
+
componSelected: BooleanConstructor;
|
|
96
|
+
};
|
|
97
|
+
export type DataProps = ExtractPropTypes<typeof dataProps>;
|
|
98
|
+
export declare const dataEmits: string[];
|
|
99
|
+
export type DataEmits = typeof dataEmits;
|
|
100
|
+
export declare const dataExpose: never[];
|