@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
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const index$
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
3
|
+
const index$1W = require("./components/index.cjs");
|
|
4
|
+
const index$1X = require("./directives/index.cjs");
|
|
5
|
+
const index$1Y = require("./icons/index.cjs");
|
|
6
6
|
const index$1 = require("./components/button/index.cjs");
|
|
7
7
|
const index$2 = require("./components/card/index.cjs");
|
|
8
8
|
const index$3 = require("./components/collapse-item/index.cjs");
|
|
@@ -76,65 +76,67 @@ const index$16 = require("./components/icon-picker/index.cjs");
|
|
|
76
76
|
const index$17 = require("./components/icon/index.cjs");
|
|
77
77
|
const index$18 = require("./components/iframe/index.cjs");
|
|
78
78
|
const index$19 = require("./components/keep-com/index.cjs");
|
|
79
|
-
const index$1a = require("./components/
|
|
80
|
-
const index$1b = require("./components/
|
|
81
|
-
const index$1c = require("./components/
|
|
82
|
-
const index$1d = require("./components/
|
|
83
|
-
const index$1e = require("./components/
|
|
84
|
-
const index$1f = require("./components/
|
|
85
|
-
const index$1g = require("./components/
|
|
86
|
-
const index$1h = require("./components/
|
|
87
|
-
const index$1i = require("./components/select-
|
|
88
|
-
const index$1j = require("./components/select-
|
|
89
|
-
const index$1k = require("./components/
|
|
90
|
-
const index$1l = require("./components/
|
|
91
|
-
const index$1m = require("./components/
|
|
92
|
-
const index$1n = require("./components/
|
|
93
|
-
const index$1o = require("./components/
|
|
94
|
-
const index$1p = require("./components/
|
|
95
|
-
const index$1q = require("./components/dates-
|
|
96
|
-
const index$1r = require("./components/dates
|
|
97
|
-
const index$1s = require("./components/
|
|
98
|
-
const index$1t = require("./components/edit
|
|
99
|
-
const index$1u = require("./components/
|
|
100
|
-
const index$1v = require("./components/
|
|
101
|
-
const index$1w = require("./components/
|
|
102
|
-
const index$1x = require("./components/input-
|
|
103
|
-
const index$1y = require("./components/input-
|
|
104
|
-
const index$1z = require("./components/input-
|
|
105
|
-
const index$1A = require("./components/
|
|
106
|
-
const index$1B = require("./components/
|
|
107
|
-
const index$1C = require("./components/
|
|
108
|
-
const index$1D = require("./components/
|
|
109
|
-
const index$1E = require("./components/
|
|
110
|
-
const index$1F = require("./components/
|
|
111
|
-
const index$1G = require("./components/
|
|
112
|
-
const index$1H = require("./components/
|
|
113
|
-
const index$1I = require("./components/
|
|
114
|
-
const index$1J = require("./components/
|
|
115
|
-
const index$1K = require("./components/
|
|
116
|
-
const index$1L = require("./components/
|
|
117
|
-
const index$1M = require("./components/
|
|
118
|
-
const index$1N = require("./components/
|
|
119
|
-
const index$1O = require("./
|
|
120
|
-
const index$1P = require("./
|
|
121
|
-
const index$1Q = require("./directives/
|
|
122
|
-
const index$1R = require("./directives/
|
|
123
|
-
const index$1S = require("./directives/
|
|
124
|
-
const index$1T = require("./directives/
|
|
79
|
+
const index$1a = require("./components/menus/index.cjs");
|
|
80
|
+
const index$1b = require("./components/page/index.cjs");
|
|
81
|
+
const index$1c = require("./components/retract/index.cjs");
|
|
82
|
+
const index$1d = require("./components/choice-select/index.cjs");
|
|
83
|
+
const index$1e = require("./components/company-select/index.cjs");
|
|
84
|
+
const index$1f = require("./components/department-select/index.cjs");
|
|
85
|
+
const index$1g = require("./components/role-select/index.cjs");
|
|
86
|
+
const index$1h = require("./components/select-dialog/index.cjs");
|
|
87
|
+
const index$1i = require("./components/select-popover/index.cjs");
|
|
88
|
+
const index$1j = require("./components/tree-select-box/index.cjs");
|
|
89
|
+
const index$1k = require("./components/user-select/index.cjs");
|
|
90
|
+
const index$1l = require("./components/array/index.cjs");
|
|
91
|
+
const index$1m = require("./components/buttons/index.cjs");
|
|
92
|
+
const index$1n = require("./components/cascaders/index.cjs");
|
|
93
|
+
const index$1o = require("./components/checks/index.cjs");
|
|
94
|
+
const index$1p = require("./components/dates-divide/index.cjs");
|
|
95
|
+
const index$1q = require("./components/dates-picker/index.cjs");
|
|
96
|
+
const index$1r = require("./components/dates/index.cjs");
|
|
97
|
+
const index$1s = require("./components/edit-float/index.cjs");
|
|
98
|
+
const index$1t = require("./components/edit/index.cjs");
|
|
99
|
+
const index$1u = require("./components/history/index.cjs");
|
|
100
|
+
const index$1v = require("./components/images/index.cjs");
|
|
101
|
+
const index$1w = require("./components/input-array/index.cjs");
|
|
102
|
+
const index$1x = require("./components/input-history/index.cjs");
|
|
103
|
+
const index$1y = require("./components/input-num/index.cjs");
|
|
104
|
+
const index$1z = require("./components/input-select/index.cjs");
|
|
105
|
+
const index$1A = require("./components/inputs/index.cjs");
|
|
106
|
+
const index$1B = require("./components/labels/index.cjs");
|
|
107
|
+
const index$1C = require("./components/select-scroll/index.cjs");
|
|
108
|
+
const index$1D = require("./components/selector/index.cjs");
|
|
109
|
+
const index$1E = require("./components/selects/index.cjs");
|
|
110
|
+
const index$1F = require("./components/switchs/index.cjs");
|
|
111
|
+
const index$1G = require("./components/text/index.cjs");
|
|
112
|
+
const index$1H = require("./components/list/index.cjs");
|
|
113
|
+
const index$1I = require("./components/lists/index.cjs");
|
|
114
|
+
const index$1J = require("./components/listsp/index.cjs");
|
|
115
|
+
const index$1K = require("./components/paging/index.cjs");
|
|
116
|
+
const index$1L = require("./components/tables/index.cjs");
|
|
117
|
+
const index$1M = require("./components/tablesp/index.cjs");
|
|
118
|
+
const index$1N = require("./components/tabless/index.cjs");
|
|
119
|
+
const index$1O = require("./components/tablesv/index.cjs");
|
|
120
|
+
const index$1P = require("./components/tablesvp/index.cjs");
|
|
121
|
+
const index$1Q = require("./directives/adjust/index.cjs");
|
|
122
|
+
const index$1R = require("./directives/drag/index.cjs");
|
|
123
|
+
const index$1S = require("./directives/expose/index.cjs");
|
|
124
|
+
const index$1T = require("./directives/locus/index.cjs");
|
|
125
|
+
const index$1U = require("./directives/scroll/index.cjs");
|
|
126
|
+
const index$1V = require("./directives/stick/index.cjs");
|
|
125
127
|
const index = {
|
|
126
128
|
install: function(app) {
|
|
127
|
-
const com = index$
|
|
129
|
+
const com = index$1W;
|
|
128
130
|
Object.keys(com).forEach((key) => {
|
|
129
131
|
if (com[key].install) {
|
|
130
132
|
com[key].install(app);
|
|
131
133
|
}
|
|
132
134
|
});
|
|
133
|
-
const dire = index$
|
|
135
|
+
const dire = index$1X;
|
|
134
136
|
Object.keys(dire).forEach((key) => {
|
|
135
137
|
app.directive(key, dire[key]);
|
|
136
138
|
});
|
|
137
|
-
index$
|
|
139
|
+
index$1Y.default(app);
|
|
138
140
|
}
|
|
139
141
|
};
|
|
140
142
|
exports.Button = index$1.Button;
|
|
@@ -211,50 +213,52 @@ exports.IconPicker = index$16.IconPicker;
|
|
|
211
213
|
exports.Icon = index$17.Icon;
|
|
212
214
|
exports.Iframe = index$18.Iframe;
|
|
213
215
|
exports.KeepCom = index$19.KeepCom;
|
|
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.
|
|
229
|
-
exports.
|
|
230
|
-
exports.
|
|
231
|
-
exports.
|
|
232
|
-
exports.
|
|
233
|
-
exports.
|
|
234
|
-
exports.
|
|
235
|
-
exports.
|
|
236
|
-
exports.
|
|
237
|
-
exports.
|
|
238
|
-
exports.
|
|
239
|
-
exports.
|
|
240
|
-
exports.
|
|
241
|
-
exports.
|
|
242
|
-
exports.
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
245
|
-
exports.
|
|
246
|
-
exports.
|
|
247
|
-
exports.
|
|
248
|
-
exports.
|
|
249
|
-
exports.
|
|
250
|
-
exports.
|
|
251
|
-
exports.
|
|
252
|
-
exports.
|
|
253
|
-
exports.
|
|
254
|
-
exports.
|
|
255
|
-
exports.
|
|
256
|
-
exports.
|
|
257
|
-
exports.
|
|
258
|
-
exports.
|
|
259
|
-
exports.
|
|
216
|
+
exports.Menus = index$1a.Menus;
|
|
217
|
+
exports.Page = index$1b.Page;
|
|
218
|
+
exports.Retract = index$1c.Retract;
|
|
219
|
+
exports.ChoiceSelect = index$1d.ChoiceSelect;
|
|
220
|
+
exports.CompanySelect = index$1e.CompanySelect;
|
|
221
|
+
exports.DepartmentSelect = index$1f.DepartmentSelect;
|
|
222
|
+
exports.RoleSelect = index$1g.RoleSelect;
|
|
223
|
+
exports.SelectDialog = index$1h.SelectDialog;
|
|
224
|
+
exports.SelectPopover = index$1i.SelectPopover;
|
|
225
|
+
exports.TreeSelectBox = index$1j.TreeSelectBox;
|
|
226
|
+
exports.UserSelect = index$1k.UserSelect;
|
|
227
|
+
exports.Array = index$1l.Array;
|
|
228
|
+
exports.Buttons = index$1m.Buttons;
|
|
229
|
+
exports.Cascaders = index$1n.Cascaders;
|
|
230
|
+
exports.Checks = index$1o.Checks;
|
|
231
|
+
exports.DatesDivide = index$1p.DatesDivide;
|
|
232
|
+
exports.DatesPicker = index$1q.DatesPicker;
|
|
233
|
+
exports.Dates = index$1r.Dates;
|
|
234
|
+
exports.EditFloat = index$1s.EditFloat;
|
|
235
|
+
exports.Edit = index$1t.Edit;
|
|
236
|
+
exports.History = index$1u.History;
|
|
237
|
+
exports.Images = index$1v.Images;
|
|
238
|
+
exports.InputArray = index$1w.InputArray;
|
|
239
|
+
exports.InputHistory = index$1x.InputHistory;
|
|
240
|
+
exports.InputNum = index$1y.InputNum;
|
|
241
|
+
exports.InputSelect = index$1z.InputSelect;
|
|
242
|
+
exports.Inputs = index$1A.Inputs;
|
|
243
|
+
exports.Labels = index$1B.Labels;
|
|
244
|
+
exports.SelectScroll = index$1C.SelectScroll;
|
|
245
|
+
exports.Selector = index$1D.Selector;
|
|
246
|
+
exports.Selects = index$1E.Selects;
|
|
247
|
+
exports.Switchs = index$1F.Switchs;
|
|
248
|
+
exports.Text = index$1G.Text;
|
|
249
|
+
exports.List = index$1H.List;
|
|
250
|
+
exports.Lists = index$1I.Lists;
|
|
251
|
+
exports.Listsp = index$1J.Listsp;
|
|
252
|
+
exports.Paging = index$1K.Paging;
|
|
253
|
+
exports.Tables = index$1L.Tables;
|
|
254
|
+
exports.Tablesp = index$1M.Tablesp;
|
|
255
|
+
exports.Tabless = index$1N.Tabless;
|
|
256
|
+
exports.Tablesv = index$1O.Tablesv;
|
|
257
|
+
exports.Tablesvp = index$1P.Tablesvp;
|
|
258
|
+
exports.Adjust = index$1Q.default;
|
|
259
|
+
exports.Drag = index$1R.default;
|
|
260
|
+
exports.Expose = index$1S.default;
|
|
261
|
+
exports.Locus = index$1T.default;
|
|
262
|
+
exports.Scroll = index$1U.default;
|
|
263
|
+
exports.Stick = index$1V.default;
|
|
260
264
|
exports.default = index;
|
package/dist/index.css
CHANGED
|
@@ -401,97 +401,97 @@
|
|
|
401
401
|
height: 100%;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
.
|
|
404
|
+
.menus .menu-li-item {
|
|
405
|
+
display: flex;
|
|
406
|
+
align-items: center;
|
|
407
|
+
}
|
|
408
|
+
.menus .menu-li-icon {
|
|
409
|
+
margin-right: 10px;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.list-div .list-table {
|
|
405
413
|
width: 100%;
|
|
406
414
|
height: 100%;
|
|
407
415
|
}
|
|
408
|
-
.
|
|
416
|
+
.list-div .list-table td {
|
|
409
417
|
text-align: left;
|
|
410
418
|
}
|
|
411
|
-
.
|
|
419
|
+
.list-div .list-table th {
|
|
412
420
|
font-weight: initial;
|
|
413
421
|
}
|
|
414
|
-
.
|
|
422
|
+
.list-div .list-table .is-whole .list-table-auto {
|
|
415
423
|
width: 100%;
|
|
416
424
|
}
|
|
417
|
-
.
|
|
425
|
+
.list-div .list-table .is-whole .list-table-value {
|
|
418
426
|
width: 100%;
|
|
419
427
|
display: block;
|
|
420
428
|
}
|
|
421
|
-
.
|
|
422
|
-
.
|
|
429
|
+
.list-div .list-table .list-table-td,
|
|
430
|
+
.list-div .list-table .list-table-th {
|
|
423
431
|
padding: 6px;
|
|
424
432
|
}
|
|
425
|
-
.
|
|
433
|
+
.list-div .list-table .list-table-auto {
|
|
426
434
|
display: inline-flex;
|
|
427
435
|
align-items: center;
|
|
428
436
|
}
|
|
429
|
-
.
|
|
437
|
+
.list-div .list-table .list-table-auto .list-table-label {
|
|
430
438
|
white-space: nowrap;
|
|
431
439
|
}
|
|
432
|
-
.
|
|
440
|
+
.list-div .list-table .list-table-th {
|
|
433
441
|
text-align: left;
|
|
434
442
|
}
|
|
435
|
-
.
|
|
443
|
+
.list-div .list-table.right .list-table-th {
|
|
436
444
|
text-align: right;
|
|
437
445
|
}
|
|
438
|
-
.
|
|
446
|
+
.list-div .list-table.center .list-table-th {
|
|
439
447
|
text-align: center;
|
|
440
448
|
}
|
|
441
|
-
.
|
|
449
|
+
.list-div .list-table.auto .list-table-th {
|
|
442
450
|
padding-right: 0;
|
|
443
451
|
}
|
|
444
|
-
.
|
|
452
|
+
.list-div .list-table.top .list-table-th {
|
|
445
453
|
padding-bottom: 0;
|
|
446
454
|
}
|
|
447
|
-
.
|
|
455
|
+
.list-div .list-table.is-aliquots {
|
|
448
456
|
table-layout: fixed;
|
|
449
457
|
}
|
|
450
|
-
.
|
|
451
|
-
border-right: 1px solid var(--
|
|
452
|
-
border-top: 1px solid var(--
|
|
453
|
-
border-bottom: 1px solid var(--
|
|
458
|
+
.list-div .list-table.is-border {
|
|
459
|
+
border-right: 1px solid var(--list-border-color);
|
|
460
|
+
border-top: 1px solid var(--list-border-color);
|
|
461
|
+
border-bottom: 1px solid var(--list-border-color);
|
|
454
462
|
}
|
|
455
|
-
.
|
|
456
|
-
border-bottom: 1px solid var(--
|
|
457
|
-
border-left: 1px solid var(--
|
|
463
|
+
.list-div .list-table.is-border > tr > td {
|
|
464
|
+
border-bottom: 1px solid var(--list-border-color);
|
|
465
|
+
border-left: 1px solid var(--list-border-color);
|
|
458
466
|
}
|
|
459
|
-
.
|
|
460
|
-
border-right: 1px solid var(--
|
|
467
|
+
.list-div .list-table.is-border > tr > td:last-child {
|
|
468
|
+
border-right: 1px solid var(--list-border-color);
|
|
461
469
|
}
|
|
462
|
-
.
|
|
463
|
-
border-left: 1px solid var(--
|
|
464
|
-
border-bottom: 1px solid var(--
|
|
470
|
+
.list-div .list-table.is-border > tr > th {
|
|
471
|
+
border-left: 1px solid var(--list-border-color);
|
|
472
|
+
border-bottom: 1px solid var(--list-border-color);
|
|
465
473
|
}
|
|
466
|
-
.
|
|
467
|
-
border-right: 1px solid var(--
|
|
474
|
+
.list-div .list-table.is-border > tr > th:last-child {
|
|
475
|
+
border-right: 1px solid var(--list-border-color);
|
|
468
476
|
}
|
|
469
|
-
.
|
|
477
|
+
.list-div .list-table.is-border > tr:last-child > td {
|
|
470
478
|
border-bottom: 0;
|
|
471
479
|
}
|
|
472
|
-
.
|
|
480
|
+
.list-div .list-table.is-border > tr:last-child > th {
|
|
473
481
|
border-bottom: 0;
|
|
474
482
|
}
|
|
475
|
-
.
|
|
483
|
+
.list-div .list-table.is-border.top > tr > th {
|
|
476
484
|
border-bottom: 0;
|
|
477
485
|
}
|
|
478
|
-
.
|
|
486
|
+
.list-div .list-table .list-com {
|
|
479
487
|
display: flex;
|
|
480
488
|
align-items: center;
|
|
481
489
|
}
|
|
482
|
-
.
|
|
490
|
+
.list-div .list-table .list-com-img {
|
|
483
491
|
width: 50px;
|
|
484
492
|
height: 50px;
|
|
485
493
|
}
|
|
486
494
|
|
|
487
|
-
.menus .menu-li-item {
|
|
488
|
-
display: flex;
|
|
489
|
-
align-items: center;
|
|
490
|
-
}
|
|
491
|
-
.menus .menu-li-icon {
|
|
492
|
-
margin-right: 10px;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
495
|
.tables {
|
|
496
496
|
width: 100%;
|
|
497
497
|
min-height: 100px;
|
|
@@ -506,10 +506,7 @@
|
|
|
506
506
|
}
|
|
507
507
|
.tables-table.is-absolute {
|
|
508
508
|
position: absolute;
|
|
509
|
-
|
|
510
|
-
right: 0;
|
|
511
|
-
bottom: 0;
|
|
512
|
-
left: 0;
|
|
509
|
+
inset: 0;
|
|
513
510
|
}
|
|
514
511
|
|
|
515
512
|
.paging {
|
|
@@ -892,6 +889,63 @@
|
|
|
892
889
|
height: 100%;
|
|
893
890
|
}
|
|
894
891
|
|
|
892
|
+
.lists {
|
|
893
|
+
width: 100%;
|
|
894
|
+
min-height: 100px;
|
|
895
|
+
position: relative;
|
|
896
|
+
flex: 1;
|
|
897
|
+
display: flex;
|
|
898
|
+
flex-direction: column;
|
|
899
|
+
background-color: #eee;
|
|
900
|
+
}
|
|
901
|
+
.lists-list {
|
|
902
|
+
padding: 0 var(--lists-interval);
|
|
903
|
+
}
|
|
904
|
+
.lists-list.is-absolute {
|
|
905
|
+
position: absolute;
|
|
906
|
+
inset: 0;
|
|
907
|
+
overflow-y: auto;
|
|
908
|
+
}
|
|
909
|
+
.lists-list--column .lists-list-item {
|
|
910
|
+
display: inline-block;
|
|
911
|
+
}
|
|
912
|
+
.lists-list-item {
|
|
913
|
+
background-color: #fff;
|
|
914
|
+
margin: 0 var(--lists-interval);
|
|
915
|
+
margin-top: calc(var(--lists-interval) * 2);
|
|
916
|
+
}
|
|
917
|
+
.lists-list-item:last-child {
|
|
918
|
+
margin-bottom: calc(var(--lists-interval) * 2);
|
|
919
|
+
}
|
|
920
|
+
.lists-list-item.is-active {
|
|
921
|
+
background-color: rgb(250, 235, 215);
|
|
922
|
+
}
|
|
923
|
+
.lists-list-item.is-selected {
|
|
924
|
+
background-color: rgb(215, 250, 224);
|
|
925
|
+
}
|
|
926
|
+
.lists-list-item .el-card {
|
|
927
|
+
background-color: transparent;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
.listsp {
|
|
931
|
+
width: 100%;
|
|
932
|
+
height: var(--listsp-height);
|
|
933
|
+
display: flex;
|
|
934
|
+
flex-direction: column;
|
|
935
|
+
}
|
|
936
|
+
.listsp-main {
|
|
937
|
+
display: flex;
|
|
938
|
+
flex-direction: column;
|
|
939
|
+
flex: 1;
|
|
940
|
+
width: 100%;
|
|
941
|
+
}
|
|
942
|
+
.listsp-paginat {
|
|
943
|
+
overflow: hidden;
|
|
944
|
+
}
|
|
945
|
+
.listsp-paginat .el-pagination {
|
|
946
|
+
justify-content: flex-end;
|
|
947
|
+
}
|
|
948
|
+
|
|
895
949
|
.tabless {
|
|
896
950
|
width: 100%;
|
|
897
951
|
height: var(--tabless-height);
|
|
@@ -992,4 +1046,26 @@
|
|
|
992
1046
|
left: 0;
|
|
993
1047
|
z-index: 1;
|
|
994
1048
|
opacity: 0;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
.tablesvp {
|
|
1052
|
+
width: 100%;
|
|
1053
|
+
height: var(--tablesvp-height);
|
|
1054
|
+
display: flex;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
}
|
|
1057
|
+
.tablesvp-main {
|
|
1058
|
+
display: flex;
|
|
1059
|
+
flex-direction: column;
|
|
1060
|
+
flex: 1;
|
|
1061
|
+
width: 100%;
|
|
1062
|
+
}
|
|
1063
|
+
.tablesvp-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1064
|
+
display: none;
|
|
1065
|
+
}
|
|
1066
|
+
.tablesvp-paginat {
|
|
1067
|
+
overflow: hidden;
|
|
1068
|
+
}
|
|
1069
|
+
.tablesvp-paginat .el-pagination {
|
|
1070
|
+
justify-content: flex-end;
|
|
995
1071
|
}
|
package/dist/index.js
CHANGED
|
@@ -74,7 +74,6 @@ import { IconPicker } from "./components/icon-picker/index.js";
|
|
|
74
74
|
import { Icon } from "./components/icon/index.js";
|
|
75
75
|
import { Iframe } from "./components/iframe/index.js";
|
|
76
76
|
import { KeepCom } from "./components/keep-com/index.js";
|
|
77
|
-
import { Lists } from "./components/lists/index.js";
|
|
78
77
|
import { Menus } from "./components/menus/index.js";
|
|
79
78
|
import { Page } from "./components/page/index.js";
|
|
80
79
|
import { Retract } from "./components/retract/index.js";
|
|
@@ -108,6 +107,9 @@ import { Selector } from "./components/selector/index.js";
|
|
|
108
107
|
import { Selects } from "./components/selects/index.js";
|
|
109
108
|
import { Switchs } from "./components/switchs/index.js";
|
|
110
109
|
import { Text } from "./components/text/index.js";
|
|
110
|
+
import { List } from "./components/list/index.js";
|
|
111
|
+
import { Lists } from "./components/lists/index.js";
|
|
112
|
+
import { Listsp } from "./components/listsp/index.js";
|
|
111
113
|
import { Paging } from "./components/paging/index.js";
|
|
112
114
|
import { Tables } from "./components/tables/index.js";
|
|
113
115
|
import { Tablesp } from "./components/tablesp/index.js";
|
|
@@ -201,7 +203,9 @@ export {
|
|
|
201
203
|
Inputs,
|
|
202
204
|
KeepCom,
|
|
203
205
|
Labels,
|
|
206
|
+
List,
|
|
204
207
|
Lists,
|
|
208
|
+
Listsp,
|
|
205
209
|
Loading,
|
|
206
210
|
default5 as Locus,
|
|
207
211
|
Mention,
|
package/dist/type.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ type ListObj = {
|
|
|
51
51
|
* 默认值
|
|
52
52
|
*/
|
|
53
53
|
default?: any;
|
|
54
|
+
/**
|
|
55
|
+
* 值
|
|
56
|
+
*/
|
|
57
|
+
value?: any;
|
|
54
58
|
|
|
55
59
|
/**
|
|
56
60
|
* 展示字段名称
|
|
@@ -129,7 +133,10 @@ type ListObj = {
|
|
|
129
133
|
|
|
130
134
|
// 添加类型定义
|
|
131
135
|
interface PaginatType {
|
|
136
|
+
is: boolean;
|
|
137
|
+
cross: boolean | string;
|
|
132
138
|
front: boolean;
|
|
139
|
+
scroll: boolean;
|
|
133
140
|
current: number;
|
|
134
141
|
pageSize: number;
|
|
135
142
|
order: string;
|
|
@@ -148,8 +155,6 @@ type TableConfig = {
|
|
|
148
155
|
isradio?: boolean;
|
|
149
156
|
// 是否多选
|
|
150
157
|
ischecked?: boolean;
|
|
151
|
-
// 是否可以跨页多选
|
|
152
|
-
crossPage?: boolean | string;
|
|
153
158
|
//纵向边框
|
|
154
159
|
border?: boolean;
|
|
155
160
|
//对齐方式
|
|
@@ -186,8 +191,12 @@ type TableConfig = {
|
|
|
186
191
|
paginat?: {
|
|
187
192
|
is?: boolean;
|
|
188
193
|
size?: number;
|
|
194
|
+
// 是否是无限滚动模式
|
|
195
|
+
scroll?: boolean;
|
|
189
196
|
// 分页方式 前端/后端
|
|
190
197
|
front?: boolean;
|
|
198
|
+
// 是否可以跨页多选
|
|
199
|
+
cross?: boolean | string;
|
|
191
200
|
config?: {
|
|
192
201
|
[key: string]: any;
|
|
193
202
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.56",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"vuedraggable": "4.1.0",
|
|
51
51
|
"vxe-table": "4.15.10",
|
|
52
52
|
"@fang-ui/components": "0.0.1-0",
|
|
53
|
-
"@fang-ui/
|
|
53
|
+
"@fang-ui/hooks": "0.0.1-0",
|
|
54
54
|
"@fang-ui/locale": "0.0.1-0",
|
|
55
|
+
"@fang-ui/directives": "0.0.1-0",
|
|
55
56
|
"@fang-ui/icons": "0.0.1-0",
|
|
56
|
-
"@fang-ui/
|
|
57
|
+
"@fang-ui/utils": "0.0.1-0",
|
|
57
58
|
"@fang-ui/theme": "0.0.1-0",
|
|
58
|
-
"@fang-ui/types": "0.0.1-0"
|
|
59
|
-
"@fang-ui/utils": "0.0.1-0"
|
|
59
|
+
"@fang-ui/types": "0.0.1-0"
|
|
60
60
|
},
|
|
61
61
|
"main": "./dist/index.cjs",
|
|
62
62
|
"module": "./dist/index.js",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|