@fangzhongya/fang-ui 0.1.20 → 0.1.22

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 (81) hide show
  1. package/dist/components/array/src/data.cjs +4 -0
  2. package/dist/components/array/src/data.d.ts +4 -0
  3. package/dist/components/array/src/data.js +4 -0
  4. package/dist/components/array/src/index2.cjs +22 -21
  5. package/dist/components/array/src/index2.js +12 -11
  6. package/dist/components/common/compons.cjs +4 -2
  7. package/dist/components/common/compons.d.ts +1 -1
  8. package/dist/components/common/compons.js +4 -2
  9. package/dist/components/forms/src/data.cjs +2 -2
  10. package/dist/components/forms/src/data.js +2 -2
  11. package/dist/components/forms-div/src/index2.cjs +4 -3
  12. package/dist/components/forms-div/src/index2.js +3 -2
  13. package/dist/components/forms-item/src/label.cjs +3 -2
  14. package/dist/components/forms-item/src/label.js +3 -2
  15. package/dist/components/index.cjs +16 -14
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/components/index.js +2 -0
  18. package/dist/components/index.scss +1 -0
  19. package/dist/components/index2.scss +3 -1
  20. package/dist/components/list/src/index2.cjs +16 -15
  21. package/dist/components/list/src/index2.js +17 -16
  22. package/dist/components/lists/index.css +2 -2
  23. package/dist/components/lists/index.scss +7 -2
  24. package/dist/components/lists/src/data.cjs +12 -1
  25. package/dist/components/lists/src/data.d.ts +10 -0
  26. package/dist/components/lists/src/data.js +12 -1
  27. package/dist/components/lists/src/index2.cjs +7 -5
  28. package/dist/components/lists/src/index2.js +7 -5
  29. package/dist/components/listsp/index.css +2 -2
  30. package/dist/components/listsp/src/data.d.ts +1 -5
  31. package/dist/components/listspd/index.cjs +9 -0
  32. package/dist/components/listspd/index.css +99 -0
  33. package/dist/components/listspd/index.d.ts +4 -0
  34. package/dist/components/listspd/index.js +9 -0
  35. package/dist/components/listspd/index.scss +30 -0
  36. package/dist/components/listspd/src/data.cjs +13 -0
  37. package/dist/components/listspd/src/data.d.ts +14 -0
  38. package/dist/components/listspd/src/data.js +13 -0
  39. package/dist/components/listspd/src/index.cjs +4 -0
  40. package/dist/components/listspd/src/index.js +4 -0
  41. package/dist/components/listspd/src/index2.cjs +111 -0
  42. package/dist/components/listspd/src/index2.js +111 -0
  43. package/dist/components/listspd/style/index2.scss +4 -0
  44. package/dist/components/tables/common/config.cjs +1 -1
  45. package/dist/components/tables/common/config.js +1 -1
  46. package/dist/css/index.css +26 -2
  47. package/dist/css/lists.css +2 -2
  48. package/dist/css/listsp.css +2 -2
  49. package/dist/css/listspd.css +99 -0
  50. package/dist/directives/adjust/index.cjs +10 -6
  51. package/dist/directives/adjust/index.js +10 -6
  52. package/dist/directives/sortable/index.cjs +2 -2
  53. package/dist/directives/sortable/index.js +1 -1
  54. package/dist/expand/{chunk-OT6GISSR.cjs → chunk-2L4PC7LZ.cjs} +2 -0
  55. package/dist/expand/{chunk-2BLP2ANQ.js → chunk-RBGCE6BS.js} +2 -0
  56. package/dist/expand/components.cjs +5 -5
  57. package/dist/expand/components.js +1 -1
  58. package/dist/expand/config.cjs +2 -2
  59. package/dist/expand/config.js +1 -1
  60. package/dist/hooks/global-config/index.cjs +2 -6
  61. package/dist/hooks/global-config/index.js +2 -6
  62. package/dist/icons/index.json +1 -1
  63. package/dist/index.cjs +38 -36
  64. package/dist/{components/index.css → index.css} +26 -2
  65. package/dist/index.js +2 -0
  66. package/package.json +5 -5
  67. package/dist/directives/adjust/index copy 2.d.ts +0 -6
  68. package/dist/directives/adjust/index copy 3.d.ts +0 -6
  69. package/dist/directives/adjust/index copy 4.d.ts +0 -6
  70. package/dist/directives/adjust/index copy 5.d.ts +0 -6
  71. package/dist/directives/adjust/index copy 6.d.ts +0 -6
  72. package/dist/directives/adjust/index copy 7.d.ts +0 -6
  73. package/dist/directives/adjust/index copy 8.d.ts +0 -6
  74. package/dist/directives/adjust/index copy 9.d.ts +0 -6
  75. package/dist/directives/adjust/index copy.d.ts +0 -6
  76. package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.cjs +0 -2758
  77. package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js +0 -2758
  78. /package/dist/components/{forms-items → forms-item}/index.css +0 -0
  79. /package/dist/components/{global-config → popover}/index.css +0 -0
  80. /package/dist/css/{forms-items.css → forms-item.css} +0 -0
  81. /package/dist/css/{global-config.css → popover.css} +0 -0
@@ -22,7 +22,7 @@
22
22
  background-color: #eee;
23
23
  }
24
24
  .lists-list {
25
- padding: 0 var(--lists-interval);
25
+ padding: 0 var(--lists-interval-horizon, var(--lists-interval));
26
26
  }
27
27
  .lists-list.is-absolute {
28
28
  position: absolute;
@@ -37,7 +37,7 @@
37
37
  }
38
38
  .lists-list-item {
39
39
  background-color: #fff;
40
- margin: 0 var(--lists-interval);
40
+ margin: 0 var(--lists-interval-horizon, var(--lists-interval));
41
41
  margin-bottom: calc(var(--lists-interval) * 2);
42
42
  }
43
43
  .lists-list-item.is-active {
@@ -22,7 +22,7 @@
22
22
  background-color: #eee;
23
23
  }
24
24
  .lists-list {
25
- padding: 0 var(--lists-interval);
25
+ padding: 0 var(--lists-interval-horizon, var(--lists-interval));
26
26
  }
27
27
  .lists-list.is-absolute {
28
28
  position: absolute;
@@ -37,7 +37,7 @@
37
37
  }
38
38
  .lists-list-item {
39
39
  background-color: #fff;
40
- margin: 0 var(--lists-interval);
40
+ margin: 0 var(--lists-interval-horizon, var(--lists-interval));
41
41
  margin-bottom: calc(var(--lists-interval) * 2);
42
42
  }
43
43
  .lists-list-item.is-active {
@@ -0,0 +1,99 @@
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
+ .lists {
16
+ width: 100%;
17
+ min-height: 100px;
18
+ position: relative;
19
+ flex: 1;
20
+ display: flex;
21
+ flex-direction: column;
22
+ background-color: #eee;
23
+ }
24
+ .lists-list {
25
+ padding: 0 var(--lists-interval-horizon, var(--lists-interval));
26
+ }
27
+ .lists-list.is-absolute {
28
+ position: absolute;
29
+ inset: 0;
30
+ overflow-y: auto;
31
+ }
32
+ .lists-list--column .lists-list-item {
33
+ display: inline-block;
34
+ }
35
+ .lists-list-item:first-child {
36
+ margin-top: calc(var(--lists-interval) * 2);
37
+ }
38
+ .lists-list-item {
39
+ background-color: #fff;
40
+ margin: 0 var(--lists-interval-horizon, var(--lists-interval));
41
+ margin-bottom: calc(var(--lists-interval) * 2);
42
+ }
43
+ .lists-list-item.is-active {
44
+ background-color: rgb(250, 235, 215);
45
+ }
46
+ .lists-list-item.is-selected {
47
+ background-color: rgb(215, 250, 224);
48
+ }
49
+ .lists-list-item .el-card {
50
+ background-color: transparent;
51
+ }
52
+
53
+ .paging {
54
+ width: 100%;
55
+ padding: 10px;
56
+ }
57
+ .paging-pagination {
58
+ width: 100%;
59
+ }
60
+ .paging-slot {
61
+ padding-left: 10px;
62
+ font-size: 14px;
63
+ font-weight: 400;
64
+ color: #9b9b9b;
65
+ white-space: pre-wrap;
66
+ }
67
+ .paging-slot > span {
68
+ margin-right: 10px;
69
+ white-space: nowrap;
70
+ }
71
+ .paging .el-pagination__total {
72
+ font-size: 14px;
73
+ font-weight: 400;
74
+ color: #9b9b9b;
75
+ }
76
+
77
+ .listspd {
78
+ width: 100%;
79
+ flex: 1;
80
+ display: flex;
81
+ flex-direction: column;
82
+ }
83
+ .listspd-main {
84
+ display: flex;
85
+ flex-direction: column;
86
+ flex: 1;
87
+ width: 100%;
88
+ }
89
+ .listspd-main.is-scroll .v-scroll-add {
90
+ text-align: center;
91
+ padding: 10px;
92
+ color: #999;
93
+ }
94
+ .listspd-paginat {
95
+ overflow: hidden;
96
+ }
97
+ .listspd-paginat .el-pagination {
98
+ justify-content: flex-end;
99
+ }
@@ -82,38 +82,42 @@ function getWidth(el) {
82
82
  return 0;
83
83
  }
84
84
  }
85
+ const cssHeightName = "v-adjust-xux-";
86
+ const border = "3px dashed #1d8bfa";
85
87
  function getDomHeight() {
86
- const dom = document.querySelector(".v-adjust-xux-height");
88
+ const name = "height";
89
+ const dom = document.querySelector("." + cssHeightName + name);
87
90
  if (dom) {
88
91
  return dom;
89
92
  } else {
90
93
  const xux = document.createElement("div");
91
- xux.className = "v-adjust-xux-height";
94
+ xux.className = cssHeightName + name;
92
95
  xux.style.zIndex = "100000";
93
96
  xux.style.position = "fixed";
94
97
  xux.style.left = "0";
95
98
  xux.style.right = "0";
96
99
  xux.style.height = "0";
97
100
  xux.style.display = "none";
98
- xux.style.borderBottom = "3px dashed #1d8bfa";
101
+ xux.style.borderBottom = border;
99
102
  document.body.appendChild(xux);
100
103
  return xux;
101
104
  }
102
105
  }
103
106
  function getDomWidth() {
104
- const dom = document.querySelector(".v-adjust-xux-width");
107
+ const name = "width";
108
+ const dom = document.querySelector("." + cssHeightName + name);
105
109
  if (dom) {
106
110
  return dom;
107
111
  } else {
108
112
  const xux = document.createElement("div");
109
- xux.className = "v-adjust-xux-width";
113
+ xux.className = cssHeightName + name;
110
114
  xux.style.zIndex = "100000";
111
115
  xux.style.position = "fixed";
112
116
  xux.style.top = "0";
113
117
  xux.style.bottom = "0";
114
118
  xux.style.width = "0";
115
119
  xux.style.display = "none";
116
- xux.style.borderLeft = "3px dashed #1d8bfa";
120
+ xux.style.borderLeft = border;
117
121
  document.body.appendChild(xux);
118
122
  return xux;
119
123
  }
@@ -80,38 +80,42 @@ function getWidth(el) {
80
80
  return 0;
81
81
  }
82
82
  }
83
+ const cssHeightName = "v-adjust-xux-";
84
+ const border = "3px dashed #1d8bfa";
83
85
  function getDomHeight() {
84
- const dom = document.querySelector(".v-adjust-xux-height");
86
+ const name = "height";
87
+ const dom = document.querySelector("." + cssHeightName + name);
85
88
  if (dom) {
86
89
  return dom;
87
90
  } else {
88
91
  const xux = document.createElement("div");
89
- xux.className = "v-adjust-xux-height";
92
+ xux.className = cssHeightName + name;
90
93
  xux.style.zIndex = "100000";
91
94
  xux.style.position = "fixed";
92
95
  xux.style.left = "0";
93
96
  xux.style.right = "0";
94
97
  xux.style.height = "0";
95
98
  xux.style.display = "none";
96
- xux.style.borderBottom = "3px dashed #1d8bfa";
99
+ xux.style.borderBottom = border;
97
100
  document.body.appendChild(xux);
98
101
  return xux;
99
102
  }
100
103
  }
101
104
  function getDomWidth() {
102
- const dom = document.querySelector(".v-adjust-xux-width");
105
+ const name = "width";
106
+ const dom = document.querySelector("." + cssHeightName + name);
103
107
  if (dom) {
104
108
  return dom;
105
109
  } else {
106
110
  const xux = document.createElement("div");
107
- xux.className = "v-adjust-xux-width";
111
+ xux.className = cssHeightName + name;
108
112
  xux.style.zIndex = "100000";
109
113
  xux.style.position = "fixed";
110
114
  xux.style.top = "0";
111
115
  xux.style.bottom = "0";
112
116
  xux.style.width = "0";
113
117
  xux.style.display = "none";
114
- xux.style.borderLeft = "3px dashed #1d8bfa";
118
+ xux.style.borderLeft = border;
115
119
  document.body.appendChild(xux);
116
120
  return xux;
117
121
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const sortable_esm = require("../../node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.cjs");
3
+ const Sortable = require("sortablejs");
4
4
  const vSortable = {
5
5
  name: "Sortable",
6
6
  mounted(el, binding) {
@@ -38,7 +38,7 @@ const vSortable = {
38
38
  is: void 0
39
39
  }
40
40
  );
41
- sortable_esm.default.create(dom, options);
41
+ Sortable.create(dom, options);
42
42
  }
43
43
  }
44
44
  };
@@ -1,4 +1,4 @@
1
- import Sortable from "../../node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js";
1
+ import Sortable from "sortablejs";
2
2
  const vSortable = {
3
3
  name: "Sortable",
4
4
  mounted(el, binding) {
@@ -129,6 +129,7 @@ var config_default = {
129
129
  "list",
130
130
  "lists",
131
131
  "listsp",
132
+ "listspd",
132
133
  "paging",
133
134
  "tables",
134
135
  "tablesp",
@@ -198,6 +199,7 @@ var config_default = {
198
199
  "list",
199
200
  "lists",
200
201
  "listsp",
202
+ "listspd",
201
203
  "paging",
202
204
  "tables",
203
205
  "tablesp",
@@ -129,6 +129,7 @@ var config_default = {
129
129
  "list",
130
130
  "lists",
131
131
  "listsp",
132
+ "listspd",
132
133
  "paging",
133
134
  "tables",
134
135
  "tablesp",
@@ -198,6 +199,7 @@ var config_default = {
198
199
  "list",
199
200
  "lists",
200
201
  "listsp",
202
+ "listspd",
201
203
  "paging",
202
204
  "tables",
203
205
  "tablesp",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOT6GISSRcjs = require('./chunk-OT6GISSR.cjs');
3
+ var _chunk2L4PC7LZcjs = require('./chunk-2L4PC7LZ.cjs');
4
4
 
5
5
  // expand/components.ts
6
6
  var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
@@ -35,11 +35,11 @@ function getFrom(mc, type, conf) {
35
35
  const p = config.prefix ? config.prefix + "-" : "";
36
36
  const filename = p ? mc.replace(new RegExp("^" + p), "") : mc;
37
37
  if (type == 1) {
38
- if (_chunkOT6GISSRcjs.config_default.components.includes(filename)) {
38
+ if (_chunk2L4PC7LZcjs.config_default.components.includes(filename)) {
39
39
  const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
40
40
  const from = `${config.name}/components/${filename}/index`;
41
41
  let sideEffects;
42
- if (_chunkOT6GISSRcjs.config_default.sideEffects.includes(filename)) {
42
+ if (_chunk2L4PC7LZcjs.config_default.sideEffects.includes(filename)) {
43
43
  if (conf.css) {
44
44
  sideEffects = `${config.name}/components/${filename}/style/index${conf.css || 2}.scss`;
45
45
  } else {
@@ -55,14 +55,14 @@ function getFrom(mc, type, conf) {
55
55
  return;
56
56
  }
57
57
  } else {
58
- if (_chunkOT6GISSRcjs.config_default.directives.includes(filename)) {
58
+ if (_chunk2L4PC7LZcjs.config_default.directives.includes(filename)) {
59
59
  const name = "default";
60
60
  const from = `${config.name}/directives/${filename}/index`;
61
61
  return {
62
62
  name,
63
63
  from
64
64
  };
65
- } else if (_chunkOT6GISSRcjs.config_default.directives.includes("v-" + filename)) {
65
+ } else if (_chunk2L4PC7LZcjs.config_default.directives.includes("v-" + filename)) {
66
66
  const name = "default";
67
67
  const from = `${config.name}/directives/${"v-" + filename}/index`;
68
68
  return {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-2BLP2ANQ.js";
3
+ } from "./chunk-RBGCE6BS.js";
4
4
 
5
5
  // expand/components.ts
6
6
  import { humpToLine } from "@fangzhongya/utils/name/humpToLine";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOT6GISSRcjs = require('./chunk-OT6GISSR.cjs');
3
+ var _chunk2L4PC7LZcjs = require('./chunk-2L4PC7LZ.cjs');
4
4
 
5
5
 
6
- exports.default = _chunkOT6GISSRcjs.config_default;
6
+ exports.default = _chunk2L4PC7LZcjs.config_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-2BLP2ANQ.js";
3
+ } from "./chunk-RBGCE6BS.js";
4
4
  export {
5
5
  config_default as default
6
6
  };
@@ -22,17 +22,13 @@ function setValue(v, k, z) {
22
22
  }
23
23
  function setGlobalConfig(obj, key) {
24
24
  if (key) {
25
- globalConfig.value = setValue(
26
- obj,
27
- key,
28
- globalConfig.value
29
- );
25
+ setValue(obj, key, globalConfig.value);
30
26
  } else {
31
27
  const v = obj;
32
28
  Object.keys(v).forEach((key2) => {
33
29
  const k = key2;
34
30
  const z = v[k];
35
- globalConfig.value = setValue(z, k, globalConfig.value);
31
+ setValue(z, k, globalConfig.value);
36
32
  });
37
33
  }
38
34
  }
@@ -20,17 +20,13 @@ function setValue(v, k, z) {
20
20
  }
21
21
  function setGlobalConfig(obj, key) {
22
22
  if (key) {
23
- globalConfig.value = setValue(
24
- obj,
25
- key,
26
- globalConfig.value
27
- );
23
+ setValue(obj, key, globalConfig.value);
28
24
  } else {
29
25
  const v = obj;
30
26
  Object.keys(v).forEach((key2) => {
31
27
  const k = key2;
32
28
  const z = v[k];
33
- globalConfig.value = setValue(z, k, globalConfig.value);
29
+ setValue(z, k, globalConfig.value);
34
30
  });
35
31
  }
36
32
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1762855089390,
4
+ "lastModified": 1762909550581,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
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$2Z = require("./components/index.cjs");
4
- const index$2_ = require("./directives/index.cjs");
5
- const index$2$ = require("./icons/index.cjs");
3
+ const index$2_ = require("./components/index.cjs");
4
+ const index$2$ = require("./directives/index.cjs");
5
+ const index$30 = require("./icons/index.cjs");
6
6
  const index$2 = require("element-plus/es/components/button/index");
7
7
  const index$1 = require("./components/button/index.cjs");
8
8
  const index$4 = require("element-plus/es/components/card/index");
@@ -176,34 +176,35 @@ const index$2G = require("./components/uploads/index.cjs");
176
176
  const index$2H = require("./components/list/index.cjs");
177
177
  const index$2I = require("./components/lists/index.cjs");
178
178
  const index$2J = require("./components/listsp/index.cjs");
179
- const index$2K = require("./components/paging/index.cjs");
180
- const index$2L = require("./components/tables/index.cjs");
181
- const index$2M = require("./components/tablesp/index.cjs");
182
- const index$2N = require("./components/tablespd/index.cjs");
183
- const index$2O = require("./components/tabless/index.cjs");
184
- const index$2P = require("./components/tablesv/index.cjs");
185
- const index$2Q = require("./components/tablesvp/index.cjs");
186
- const index$2R = require("./directives/adjust/index.cjs");
187
- const index$2S = require("./directives/drag/index.cjs");
188
- const index$2T = require("./directives/expose/index.cjs");
189
- const index$2U = require("./directives/inserted/index.cjs");
190
- const index$2V = require("./directives/locus/index.cjs");
191
- const index$2W = require("./directives/scroll/index.cjs");
192
- const index$2X = require("./directives/sortable/index.cjs");
193
- const index$2Y = require("./directives/stick/index.cjs");
179
+ const index$2K = require("./components/listspd/index.cjs");
180
+ const index$2L = require("./components/paging/index.cjs");
181
+ const index$2M = require("./components/tables/index.cjs");
182
+ const index$2N = require("./components/tablesp/index.cjs");
183
+ const index$2O = require("./components/tablespd/index.cjs");
184
+ const index$2P = require("./components/tabless/index.cjs");
185
+ const index$2Q = require("./components/tablesv/index.cjs");
186
+ const index$2R = require("./components/tablesvp/index.cjs");
187
+ const index$2S = require("./directives/adjust/index.cjs");
188
+ const index$2T = require("./directives/drag/index.cjs");
189
+ const index$2U = require("./directives/expose/index.cjs");
190
+ const index$2V = require("./directives/inserted/index.cjs");
191
+ const index$2W = require("./directives/locus/index.cjs");
192
+ const index$2X = require("./directives/scroll/index.cjs");
193
+ const index$2Y = require("./directives/sortable/index.cjs");
194
+ const index$2Z = require("./directives/stick/index.cjs");
194
195
  const index = {
195
196
  install: function(app) {
196
- const com = index$2Z;
197
+ const com = index$2_;
197
198
  Object.keys(com).forEach((key) => {
198
199
  if (com[key].install) {
199
200
  com[key].install(app);
200
201
  }
201
202
  });
202
- const dire = index$2_;
203
+ const dire = index$2$;
203
204
  Object.keys(dire).forEach((key) => {
204
205
  app.directive(key, dire[key]);
205
206
  });
206
- index$2$.default(app);
207
+ index$30.default(app);
207
208
  }
208
209
  };
209
210
  exports.Button = index$1.Button;
@@ -338,21 +339,22 @@ exports.Uploads = index$2G.Uploads;
338
339
  exports.List = index$2H.List;
339
340
  exports.Lists = index$2I.Lists;
340
341
  exports.Listsp = index$2J.Listsp;
341
- exports.Paging = index$2K.Paging;
342
- exports.Tables = index$2L.Tables;
343
- exports.Tablesp = index$2M.Tablesp;
344
- exports.Tablespd = index$2N.Tablespd;
345
- exports.Tabless = index$2O.Tabless;
346
- exports.Tablesv = index$2P.Tablesv;
347
- exports.Tablesvp = index$2Q.Tablesvp;
348
- exports.Adjust = index$2R.default;
349
- exports.Drag = index$2S.default;
350
- exports.Expose = index$2T.default;
351
- exports.Inserted = index$2U.default;
352
- exports.Locus = index$2V.default;
353
- exports.Scroll = index$2W.default;
354
- exports.Sortable = index$2X.default;
355
- exports.Stick = index$2Y.default;
342
+ exports.Listspd = index$2K.Listspd;
343
+ exports.Paging = index$2L.Paging;
344
+ exports.Tables = index$2M.Tables;
345
+ exports.Tablesp = index$2N.Tablesp;
346
+ exports.Tablespd = index$2O.Tablespd;
347
+ exports.Tabless = index$2P.Tabless;
348
+ exports.Tablesv = index$2Q.Tablesv;
349
+ exports.Tablesvp = index$2R.Tablesvp;
350
+ exports.Adjust = index$2S.default;
351
+ exports.Drag = index$2T.default;
352
+ exports.Expose = index$2U.default;
353
+ exports.Inserted = index$2V.default;
354
+ exports.Locus = index$2W.default;
355
+ exports.Scroll = index$2X.default;
356
+ exports.Sortable = index$2Y.default;
357
+ exports.Stick = index$2Z.default;
356
358
  exports.default = index;
357
359
  Object.keys(index$2).forEach((k) => {
358
360
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
@@ -1628,7 +1628,7 @@
1628
1628
  background-color: #eee;
1629
1629
  }
1630
1630
  .lists-list {
1631
- padding: 0 var(--lists-interval);
1631
+ padding: 0 var(--lists-interval-horizon, var(--lists-interval));
1632
1632
  }
1633
1633
  .lists-list.is-absolute {
1634
1634
  position: absolute;
@@ -1643,7 +1643,7 @@
1643
1643
  }
1644
1644
  .lists-list-item {
1645
1645
  background-color: #fff;
1646
- margin: 0 var(--lists-interval);
1646
+ margin: 0 var(--lists-interval-horizon, var(--lists-interval));
1647
1647
  margin-bottom: calc(var(--lists-interval) * 2);
1648
1648
  }
1649
1649
  .lists-list-item.is-active {
@@ -1680,6 +1680,30 @@
1680
1680
  justify-content: flex-end;
1681
1681
  }
1682
1682
 
1683
+ .listspd {
1684
+ width: 100%;
1685
+ flex: 1;
1686
+ display: flex;
1687
+ flex-direction: column;
1688
+ }
1689
+ .listspd-main {
1690
+ display: flex;
1691
+ flex-direction: column;
1692
+ flex: 1;
1693
+ width: 100%;
1694
+ }
1695
+ .listspd-main.is-scroll .v-scroll-add {
1696
+ text-align: center;
1697
+ padding: 10px;
1698
+ color: #999;
1699
+ }
1700
+ .listspd-paginat {
1701
+ overflow: hidden;
1702
+ }
1703
+ .listspd-paginat .el-pagination {
1704
+ justify-content: flex-end;
1705
+ }
1706
+
1683
1707
  .tablespd {
1684
1708
  width: 100%;
1685
1709
  flex: 1;
package/dist/index.js CHANGED
@@ -175,6 +175,7 @@ import { Uploads } from "./components/uploads/index.js";
175
175
  import { List } from "./components/list/index.js";
176
176
  import { Lists } from "./components/lists/index.js";
177
177
  import { Listsp } from "./components/listsp/index.js";
178
+ import { Listspd } from "./components/listspd/index.js";
178
179
  import { Paging } from "./components/paging/index.js";
179
180
  import { Tables } from "./components/tables/index.js";
180
181
  import { Tablesp } from "./components/tablesp/index.js";
@@ -281,6 +282,7 @@ export {
281
282
  List,
282
283
  Lists,
283
284
  Listsp,
285
+ Listspd,
284
286
  Loading,
285
287
  default6 as Locus,
286
288
  Mention,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.20",
4
+ "version": "0.1.22",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -51,14 +51,14 @@
51
51
  "vue-tsc": "^3.1.3",
52
52
  "vuedraggable": "4.1.0",
53
53
  "vxe-table": "4.17.13",
54
+ "@fang-ui/icons": "0.0.1-0",
55
+ "@fang-ui/directives": "0.0.1-0",
54
56
  "@fang-ui/components": "0.0.1-0",
55
57
  "@fang-ui/hooks": "0.0.1-0",
56
- "@fang-ui/directives": "0.0.1-0",
57
- "@fang-ui/types": "0.0.1-0",
58
- "@fang-ui/icons": "0.0.1-0",
59
58
  "@fang-ui/utils": "0.0.1-0",
60
59
  "@fang-ui/theme": "0.0.1-0",
61
- "@fang-ui/locale": "0.0.1-0"
60
+ "@fang-ui/locale": "0.0.1-0",
61
+ "@fang-ui/types": "0.0.1-0"
62
62
  },
63
63
  "main": "./dist/index.cjs",
64
64
  "module": "./dist/index.js",
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Directive } from 'vue';
2
- /**
3
- * Adjust
4
- */
5
- declare const _default: Directive;
6
- export default _default;