@fangzhongya/fang-ui 0.0.53 → 0.0.55

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.
Files changed (85) hide show
  1. package/dist/components/common/use.cjs +2 -0
  2. package/dist/components/common/use.js +2 -0
  3. package/dist/components/index.cjs +84 -80
  4. package/dist/components/index.d.ts +3 -1
  5. package/dist/components/index.js +5 -1
  6. package/dist/components/index.scss +3 -1
  7. package/dist/components/index2.scss +3 -1
  8. package/dist/components/list/index.cjs +9 -0
  9. package/dist/components/list/index.css +96 -0
  10. package/dist/components/list/index.d.ts +2 -0
  11. package/dist/components/list/index.js +9 -0
  12. package/dist/components/list/index.scss +110 -0
  13. package/dist/components/list/src/data.cjs +97 -0
  14. package/dist/components/list/src/data.d.ts +100 -0
  15. package/dist/components/list/src/data.js +97 -0
  16. package/dist/components/list/src/index.cjs +4 -0
  17. package/dist/components/list/src/index.js +4 -0
  18. package/dist/components/list/src/index2.cjs +337 -0
  19. package/dist/components/list/src/index2.js +337 -0
  20. package/dist/components/lists/index.cjs +2 -2
  21. package/dist/components/lists/index.css +27 -72
  22. package/dist/components/lists/index.scss +30 -98
  23. package/dist/components/lists/src/data.cjs +80 -49
  24. package/dist/components/lists/src/data.d.ts +103 -48
  25. package/dist/components/lists/src/data.js +81 -50
  26. package/dist/components/lists/src/index.cjs +2 -2
  27. package/dist/components/lists/src/index2.cjs +237 -303
  28. package/dist/components/lists/src/index2.js +237 -303
  29. package/dist/components/listsp/index.cjs +9 -0
  30. package/dist/components/listsp/index.css +86 -0
  31. package/dist/components/listsp/index.d.ts +2 -0
  32. package/dist/components/listsp/index.js +9 -0
  33. package/dist/components/listsp/index.scss +23 -0
  34. package/dist/components/listsp/src/data.d.ts +14 -0
  35. package/dist/components/listsp/src/index.cjs +4 -0
  36. package/dist/components/listsp/src/index.js +4 -0
  37. package/dist/components/listsp/src/index2.cjs +98 -0
  38. package/dist/components/listsp/src/index2.js +98 -0
  39. package/dist/components/listsp/style/index2.scss +4 -0
  40. package/dist/components/page/index.css +35 -38
  41. package/dist/components/page/index.scss +1 -1
  42. package/dist/components/page/src/index2.cjs +2 -2
  43. package/dist/components/page/src/index2.js +2 -2
  44. package/dist/components/page/style/index2.scss +1 -1
  45. package/dist/components/scss/function.scss +1 -1
  46. package/dist/components/tables/common/pagin.cjs +23 -7
  47. package/dist/components/tables/common/pagin.d.ts +8 -1
  48. package/dist/components/tables/common/pagin.js +23 -7
  49. package/dist/components/tables/index.css +1 -4
  50. package/dist/components/tables/index.scss +1 -4
  51. package/dist/components/tablesp/index.css +1 -4
  52. package/dist/css/index.css +100 -46
  53. package/dist/css/list.css +96 -0
  54. package/dist/css/lists.css +27 -72
  55. package/dist/css/listsp.css +86 -0
  56. package/dist/css/page.css +35 -38
  57. package/dist/css/tables.css +1 -4
  58. package/dist/css/tablesp.css +1 -4
  59. package/dist/directives/scroll/index.cjs +36 -11
  60. package/dist/directives/scroll/index.js +36 -11
  61. package/dist/expand/{chunk-LSKJOV4K.cjs → chunk-S7R2FI5L.cjs} +6 -2
  62. package/dist/expand/{chunk-ZS2GF6MH.js → chunk-VCOMWNQB.js} +6 -2
  63. package/dist/expand/components.cjs +5 -5
  64. package/dist/expand/components.js +1 -1
  65. package/dist/expand/config.cjs +2 -2
  66. package/dist/expand/config.js +1 -1
  67. package/dist/icons/index.css +32 -32
  68. package/dist/icons/index.json +10 -10
  69. package/dist/index.cjs +102 -98
  70. package/dist/index.css +100 -46
  71. package/dist/index.js +5 -1
  72. package/dist/type.d.ts +7 -0
  73. package/package.json +4 -4
  74. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  75. /package/dist/components/{cascader-panel → keep-com}/index.css +0 -0
  76. /package/dist/components/{lists → list}/src/setup.d.ts +0 -0
  77. /package/dist/components/{lists → list}/src/util.cjs +0 -0
  78. /package/dist/components/{lists → list}/src/util.d.ts +0 -0
  79. /package/dist/components/{lists → list}/src/util.js +0 -0
  80. /package/dist/components/{lists → tables}/common/img.cjs +0 -0
  81. /package/dist/components/{lists → tables}/common/img.js +0 -0
  82. /package/dist/components/{lists → tables}/common/img2.cjs +0 -0
  83. /package/dist/components/{lists → tables}/common/img2.js +0 -0
  84. /package/dist/css/{forms-item.css → forms-items.css} +0 -0
  85. /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$1U = require("./components/index.cjs");
4
- const index$1V = require("./directives/index.cjs");
5
- const index$1W = require("./icons/index.cjs");
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/lists/index.cjs");
80
- const index$1b = require("./components/menus/index.cjs");
81
- const index$1c = require("./components/page/index.cjs");
82
- const index$1d = require("./components/retract/index.cjs");
83
- const index$1e = require("./components/choice-select/index.cjs");
84
- const index$1f = require("./components/company-select/index.cjs");
85
- const index$1g = require("./components/department-select/index.cjs");
86
- const index$1h = require("./components/role-select/index.cjs");
87
- const index$1i = require("./components/select-dialog/index.cjs");
88
- const index$1j = require("./components/select-popover/index.cjs");
89
- const index$1k = require("./components/tree-select-box/index.cjs");
90
- const index$1l = require("./components/user-select/index.cjs");
91
- const index$1m = require("./components/array/index.cjs");
92
- const index$1n = require("./components/buttons/index.cjs");
93
- const index$1o = require("./components/cascaders/index.cjs");
94
- const index$1p = require("./components/checks/index.cjs");
95
- const index$1q = require("./components/dates-divide/index.cjs");
96
- const index$1r = require("./components/dates-picker/index.cjs");
97
- const index$1s = require("./components/dates/index.cjs");
98
- const index$1t = require("./components/edit-float/index.cjs");
99
- const index$1u = require("./components/edit/index.cjs");
100
- const index$1v = require("./components/history/index.cjs");
101
- const index$1w = require("./components/images/index.cjs");
102
- const index$1x = require("./components/input-array/index.cjs");
103
- const index$1y = require("./components/input-history/index.cjs");
104
- const index$1z = require("./components/input-num/index.cjs");
105
- const index$1A = require("./components/input-select/index.cjs");
106
- const index$1B = require("./components/inputs/index.cjs");
107
- const index$1C = require("./components/labels/index.cjs");
108
- const index$1D = require("./components/select-scroll/index.cjs");
109
- const index$1E = require("./components/selector/index.cjs");
110
- const index$1F = require("./components/selects/index.cjs");
111
- const index$1G = require("./components/switchs/index.cjs");
112
- const index$1H = require("./components/text/index.cjs");
113
- const index$1I = require("./components/paging/index.cjs");
114
- const index$1J = require("./components/tables/index.cjs");
115
- const index$1K = require("./components/tablesp/index.cjs");
116
- const index$1L = require("./components/tabless/index.cjs");
117
- const index$1M = require("./components/tablesv/index.cjs");
118
- const index$1N = require("./components/tablesvp/index.cjs");
119
- const index$1O = require("./directives/adjust/index.cjs");
120
- const index$1P = require("./directives/drag/index.cjs");
121
- const index$1Q = require("./directives/expose/index.cjs");
122
- const index$1R = require("./directives/locus/index.cjs");
123
- const index$1S = require("./directives/scroll/index.cjs");
124
- const index$1T = require("./directives/stick/index.cjs");
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$1U;
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$1V;
135
+ const dire = index$1X;
134
136
  Object.keys(dire).forEach((key) => {
135
137
  app.directive(key, dire[key]);
136
138
  });
137
- index$1W.default(app);
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.Lists = index$1a.Lists;
215
- exports.Menus = index$1b.Menus;
216
- exports.Page = index$1c.Page;
217
- exports.Retract = index$1d.Retract;
218
- exports.ChoiceSelect = index$1e.ChoiceSelect;
219
- exports.CompanySelect = index$1f.CompanySelect;
220
- exports.DepartmentSelect = index$1g.DepartmentSelect;
221
- exports.RoleSelect = index$1h.RoleSelect;
222
- exports.SelectDialog = index$1i.SelectDialog;
223
- exports.SelectPopover = index$1j.SelectPopover;
224
- exports.TreeSelectBox = index$1k.TreeSelectBox;
225
- exports.UserSelect = index$1l.UserSelect;
226
- exports.Array = index$1m.Array;
227
- exports.Buttons = index$1n.Buttons;
228
- exports.Cascaders = index$1o.Cascaders;
229
- exports.Checks = index$1p.Checks;
230
- exports.DatesDivide = index$1q.DatesDivide;
231
- exports.DatesPicker = index$1r.DatesPicker;
232
- exports.Dates = index$1s.Dates;
233
- exports.EditFloat = index$1t.EditFloat;
234
- exports.Edit = index$1u.Edit;
235
- exports.History = index$1v.History;
236
- exports.Images = index$1w.Images;
237
- exports.InputArray = index$1x.InputArray;
238
- exports.InputHistory = index$1y.InputHistory;
239
- exports.InputNum = index$1z.InputNum;
240
- exports.InputSelect = index$1A.InputSelect;
241
- exports.Inputs = index$1B.Inputs;
242
- exports.Labels = index$1C.Labels;
243
- exports.SelectScroll = index$1D.SelectScroll;
244
- exports.Selector = index$1E.Selector;
245
- exports.Selects = index$1F.Selects;
246
- exports.Switchs = index$1G.Switchs;
247
- exports.Text = index$1H.Text;
248
- exports.Paging = index$1I.Paging;
249
- exports.Tables = index$1J.Tables;
250
- exports.Tablesp = index$1K.Tablesp;
251
- exports.Tabless = index$1L.Tabless;
252
- exports.Tablesv = index$1M.Tablesv;
253
- exports.Tablesvp = index$1N.Tablesvp;
254
- exports.Adjust = index$1O.default;
255
- exports.Drag = index$1P.default;
256
- exports.Expose = index$1Q.default;
257
- exports.Locus = index$1R.default;
258
- exports.Scroll = index$1S.default;
259
- exports.Stick = index$1T.default;
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
- .lists-div .lists-table {
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
- .lists-div .lists-table td {
416
+ .list-div .list-table td {
409
417
  text-align: left;
410
418
  }
411
- .lists-div .lists-table th {
419
+ .list-div .list-table th {
412
420
  font-weight: initial;
413
421
  }
414
- .lists-div .lists-table .is-whole .lists-table-auto {
422
+ .list-div .list-table .is-whole .list-table-auto {
415
423
  width: 100%;
416
424
  }
417
- .lists-div .lists-table .is-whole .lists-table-value {
425
+ .list-div .list-table .is-whole .list-table-value {
418
426
  width: 100%;
419
427
  display: block;
420
428
  }
421
- .lists-div .lists-table .lists-table-td,
422
- .lists-div .lists-table .lists-table-th {
429
+ .list-div .list-table .list-table-td,
430
+ .list-div .list-table .list-table-th {
423
431
  padding: 6px;
424
432
  }
425
- .lists-div .lists-table .lists-table-auto {
433
+ .list-div .list-table .list-table-auto {
426
434
  display: inline-flex;
427
435
  align-items: center;
428
436
  }
429
- .lists-div .lists-table .lists-table-auto .lists-table-label {
437
+ .list-div .list-table .list-table-auto .list-table-label {
430
438
  white-space: nowrap;
431
439
  }
432
- .lists-div .lists-table .lists-table-th {
440
+ .list-div .list-table .list-table-th {
433
441
  text-align: left;
434
442
  }
435
- .lists-div .lists-table.right .lists-table-th {
443
+ .list-div .list-table.right .list-table-th {
436
444
  text-align: right;
437
445
  }
438
- .lists-div .lists-table.center .lists-table-th {
446
+ .list-div .list-table.center .list-table-th {
439
447
  text-align: center;
440
448
  }
441
- .lists-div .lists-table.auto .lists-table-th {
449
+ .list-div .list-table.auto .list-table-th {
442
450
  padding-right: 0;
443
451
  }
444
- .lists-div .lists-table.top .lists-table-th {
452
+ .list-div .list-table.top .list-table-th {
445
453
  padding-bottom: 0;
446
454
  }
447
- .lists-div .lists-table.is-aliquots {
455
+ .list-div .list-table.is-aliquots {
448
456
  table-layout: fixed;
449
457
  }
450
- .lists-div .lists-table.is-border {
451
- border-right: 1px solid var(--lists-border-color);
452
- border-top: 1px solid var(--lists-border-color);
453
- border-bottom: 1px solid var(--lists-border-color);
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
- .lists-div .lists-table.is-border > tr > td {
456
- border-bottom: 1px solid var(--lists-border-color);
457
- border-left: 1px solid var(--lists-border-color);
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
- .lists-div .lists-table.is-border > tr > td:last-child {
460
- border-right: 1px solid var(--lists-border-color);
467
+ .list-div .list-table.is-border > tr > td:last-child {
468
+ border-right: 1px solid var(--list-border-color);
461
469
  }
462
- .lists-div .lists-table.is-border > tr > th {
463
- border-left: 1px solid var(--lists-border-color);
464
- border-bottom: 1px solid var(--lists-border-color);
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
- .lists-div .lists-table.is-border > tr > th:last-child {
467
- border-right: 1px solid var(--lists-border-color);
474
+ .list-div .list-table.is-border > tr > th:last-child {
475
+ border-right: 1px solid var(--list-border-color);
468
476
  }
469
- .lists-div .lists-table.is-border > tr:last-child > td {
477
+ .list-div .list-table.is-border > tr:last-child > td {
470
478
  border-bottom: 0;
471
479
  }
472
- .lists-div .lists-table.is-border > tr:last-child > th {
480
+ .list-div .list-table.is-border > tr:last-child > th {
473
481
  border-bottom: 0;
474
482
  }
475
- .lists-div .lists-table.is-border.top > tr > th {
483
+ .list-div .list-table.is-border.top > tr > th {
476
484
  border-bottom: 0;
477
485
  }
478
- .lists-div .lists-table .lists-com {
486
+ .list-div .list-table .list-com {
479
487
  display: flex;
480
488
  align-items: center;
481
489
  }
482
- .lists-div .lists-table .lists-com-img {
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
- top: 0;
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);
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
  * 展示字段名称
@@ -130,6 +134,7 @@ type ListObj = {
130
134
  // 添加类型定义
131
135
  interface PaginatType {
132
136
  front: boolean;
137
+ scroll: boolean;
133
138
  current: number;
134
139
  pageSize: number;
135
140
  order: string;
@@ -186,6 +191,8 @@ type TableConfig = {
186
191
  paginat?: {
187
192
  is?: boolean;
188
193
  size?: number;
194
+ // 是否是无限滚动模式
195
+ scroll?: boolean;
189
196
  // 分页方式 前端/后端
190
197
  front?: boolean;
191
198
  config?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.0.53",
4
+ "version": "0.0.55",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -49,12 +49,12 @@
49
49
  "vue-tsc": "^3.0.5",
50
50
  "vuedraggable": "4.1.0",
51
51
  "vxe-table": "4.15.10",
52
- "@fang-ui/components": "0.0.1-0",
53
52
  "@fang-ui/directives": "0.0.1-0",
54
- "@fang-ui/locale": "0.0.1-0",
55
- "@fang-ui/icons": "0.0.1-0",
56
53
  "@fang-ui/hooks": "0.0.1-0",
54
+ "@fang-ui/locale": "0.0.1-0",
55
+ "@fang-ui/components": "0.0.1-0",
57
56
  "@fang-ui/theme": "0.0.1-0",
57
+ "@fang-ui/icons": "0.0.1-0",
58
58
  "@fang-ui/types": "0.0.1-0",
59
59
  "@fang-ui/utils": "0.0.1-0"
60
60
  },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes