@fangzhongya/fang-ui 0.1.50 → 0.1.52

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 (198) hide show
  1. package/bin/fang-ui.js +2 -2
  2. package/dist/components/box-fun/index.cjs +1 -0
  3. package/dist/components/box-fun/index.js +1 -0
  4. package/dist/components/box-fun/index.scss +8 -0
  5. package/dist/components/box-fun/style/index2.scss +4 -0
  6. package/dist/components/buttons/src/data.d.ts +14 -11
  7. package/dist/components/cascaders/src/data.d.ts +14 -11
  8. package/dist/components/cascaders/src/index2.cjs +15 -8
  9. package/dist/components/cascaders/src/index2.js +15 -8
  10. package/dist/components/checks/src/data.d.ts +14 -11
  11. package/dist/components/checks/src/index2.cjs +6 -6
  12. package/dist/components/checks/src/index2.js +6 -6
  13. package/dist/components/common/list.cjs +34 -15
  14. package/dist/components/common/list.d.ts +25 -12
  15. package/dist/components/common/list.js +34 -15
  16. package/dist/components/common/use.cjs +9 -5
  17. package/dist/components/common/use.js +9 -5
  18. package/dist/components/date-picker/style/element.scss +7 -4
  19. package/dist/components/dates/src/data.d.ts +14 -11
  20. package/dist/components/dates2/src/data.d.ts +14 -11
  21. package/dist/components/draggable/style/index2.scss +1 -0
  22. package/dist/components/edit-data/index.cjs +9 -0
  23. package/dist/components/edit-data/index.css +144 -0
  24. package/dist/components/edit-data/index.d.ts +5 -0
  25. package/dist/components/edit-data/index.js +9 -0
  26. package/dist/components/edit-data/index.scss +95 -0
  27. package/dist/components/edit-data/src/area/array-json.cjs +4 -0
  28. package/dist/components/edit-data/src/area/array-json.js +4 -0
  29. package/dist/components/edit-data/src/area/array-json2.cjs +109 -0
  30. package/dist/components/edit-data/src/area/array-json2.js +109 -0
  31. package/dist/components/edit-data/src/area/array.cjs +4 -0
  32. package/dist/components/edit-data/src/area/array.js +4 -0
  33. package/dist/components/edit-data/src/area/array2.cjs +135 -0
  34. package/dist/components/edit-data/src/area/array2.js +135 -0
  35. package/dist/components/edit-data/src/area/code.cjs +4 -0
  36. package/dist/components/edit-data/src/area/code.js +4 -0
  37. package/dist/components/edit-data/src/area/code2.cjs +52 -0
  38. package/dist/components/edit-data/src/area/code2.js +52 -0
  39. package/dist/components/edit-data/src/area/editor.cjs +4 -0
  40. package/dist/components/edit-data/src/area/editor.js +4 -0
  41. package/dist/components/edit-data/src/area/editor2.cjs +170 -0
  42. package/dist/components/edit-data/src/area/editor2.js +170 -0
  43. package/dist/components/edit-data/src/area/general.cjs +4 -0
  44. package/dist/components/edit-data/src/area/general.js +4 -0
  45. package/dist/components/edit-data/src/area/general2.cjs +88 -0
  46. package/dist/components/edit-data/src/area/general2.js +88 -0
  47. package/dist/components/edit-data/src/area/object-json.cjs +4 -0
  48. package/dist/components/edit-data/src/area/object-json.js +4 -0
  49. package/dist/components/edit-data/src/area/object-json2.cjs +109 -0
  50. package/dist/components/edit-data/src/area/object-json2.js +109 -0
  51. package/dist/components/edit-data/src/area/object.cjs +4 -0
  52. package/dist/components/edit-data/src/area/object.js +4 -0
  53. package/dist/components/edit-data/src/area/object2.cjs +116 -0
  54. package/dist/components/edit-data/src/area/object2.js +116 -0
  55. package/dist/components/edit-data/src/data/array.cjs +4 -0
  56. package/dist/components/edit-data/src/data/array.js +4 -0
  57. package/dist/components/edit-data/src/data/array2.cjs +68 -0
  58. package/dist/components/edit-data/src/data/array2.js +68 -0
  59. package/dist/components/edit-data/src/data/bigint.cjs +4 -0
  60. package/dist/components/edit-data/src/data/bigint.js +4 -0
  61. package/dist/components/edit-data/src/data/bigint2.cjs +42 -0
  62. package/dist/components/edit-data/src/data/bigint2.js +42 -0
  63. package/dist/components/edit-data/src/data/boolean.cjs +4 -0
  64. package/dist/components/edit-data/src/data/boolean.js +4 -0
  65. package/dist/components/edit-data/src/data/boolean2.cjs +53 -0
  66. package/dist/components/edit-data/src/data/boolean2.js +53 -0
  67. package/dist/components/edit-data/src/data/function.cjs +4 -0
  68. package/dist/components/edit-data/src/data/function.js +4 -0
  69. package/dist/components/edit-data/src/data/function2.cjs +61 -0
  70. package/dist/components/edit-data/src/data/function2.js +61 -0
  71. package/dist/components/edit-data/src/data/not.cjs +4 -0
  72. package/dist/components/edit-data/src/data/not.js +4 -0
  73. package/dist/components/edit-data/src/data/not2.cjs +56 -0
  74. package/dist/components/edit-data/src/data/not2.js +56 -0
  75. package/dist/components/edit-data/src/data/null.cjs +4 -0
  76. package/dist/components/edit-data/src/data/null.js +4 -0
  77. package/dist/components/edit-data/src/data/null2.cjs +24 -0
  78. package/dist/components/edit-data/src/data/null2.js +24 -0
  79. package/dist/components/edit-data/src/data/number.cjs +4 -0
  80. package/dist/components/edit-data/src/data/number.js +4 -0
  81. package/dist/components/edit-data/src/data/number2.cjs +42 -0
  82. package/dist/components/edit-data/src/data/number2.js +42 -0
  83. package/dist/components/edit-data/src/data/object.cjs +4 -0
  84. package/dist/components/edit-data/src/data/object.js +4 -0
  85. package/dist/components/edit-data/src/data/object2.cjs +68 -0
  86. package/dist/components/edit-data/src/data/object2.js +68 -0
  87. package/dist/components/edit-data/src/data/other.cjs +4 -0
  88. package/dist/components/edit-data/src/data/other.js +4 -0
  89. package/dist/components/edit-data/src/data/other2.cjs +59 -0
  90. package/dist/components/edit-data/src/data/other2.js +59 -0
  91. package/dist/components/edit-data/src/data/string.cjs +4 -0
  92. package/dist/components/edit-data/src/data/string.js +4 -0
  93. package/dist/components/edit-data/src/data/string2.cjs +43 -0
  94. package/dist/components/edit-data/src/data/string2.js +43 -0
  95. package/dist/components/edit-data/src/data/symbol.cjs +4 -0
  96. package/dist/components/edit-data/src/data/symbol.js +4 -0
  97. package/dist/components/edit-data/src/data/symbol2.cjs +55 -0
  98. package/dist/components/edit-data/src/data/symbol2.js +55 -0
  99. package/dist/components/edit-data/src/data/undefined.cjs +4 -0
  100. package/dist/components/edit-data/src/data/undefined.js +4 -0
  101. package/dist/components/edit-data/src/data/undefined2.cjs +24 -0
  102. package/dist/components/edit-data/src/data/undefined2.js +24 -0
  103. package/dist/components/edit-data/src/data.cjs +57 -0
  104. package/dist/components/edit-data/src/data.d.ts +131 -0
  105. package/dist/components/edit-data/src/data.js +57 -0
  106. package/dist/components/edit-data/src/index.cjs +4 -0
  107. package/dist/components/edit-data/src/index.js +4 -0
  108. package/dist/components/edit-data/src/index2.cjs +134 -0
  109. package/dist/components/edit-data/src/index2.js +134 -0
  110. package/dist/components/edit-data/src/util.cjs +99 -0
  111. package/dist/components/edit-data/src/util.d.ts +1 -0
  112. package/dist/components/edit-data/src/util.js +99 -0
  113. package/dist/components/edit-data/style/index2.scss +13 -0
  114. package/dist/components/edit-data-add/index.cjs +9 -0
  115. package/dist/components/edit-data-add/index.d.ts +5 -0
  116. package/dist/components/edit-data-add/index.js +9 -0
  117. package/dist/components/edit-data-add/index.scss +5 -0
  118. package/dist/components/edit-data-add/src/data.cjs +24 -0
  119. package/dist/components/edit-data-add/src/data.d.ts +36 -0
  120. package/dist/components/edit-data-add/src/data.js +24 -0
  121. package/dist/components/edit-data-add/src/index.cjs +4 -0
  122. package/dist/components/edit-data-add/src/index.js +4 -0
  123. package/dist/components/edit-data-add/src/index2.cjs +241 -0
  124. package/dist/components/edit-data-add/src/index2.js +241 -0
  125. package/dist/components/edit-data-add/style/comm.scss +38 -0
  126. package/dist/components/edit-data-add/style/index2.scss +2 -0
  127. package/dist/components/history/src/data.cjs +9 -1
  128. package/dist/components/history/src/data.d.ts +13 -1
  129. package/dist/components/history/src/data.js +9 -1
  130. package/dist/components/history/src/index2.cjs +27 -9
  131. package/dist/components/history/src/index2.js +27 -9
  132. package/dist/components/index.cjs +60 -56
  133. package/dist/components/index.d.ts +2 -0
  134. package/dist/components/index.js +4 -0
  135. package/dist/components/index.scss +3 -0
  136. package/dist/components/index2.scss +5 -2
  137. package/dist/components/labels/src/data.d.ts +14 -11
  138. package/dist/components/labels/src/index2.cjs +13 -2
  139. package/dist/components/labels/src/index2.js +13 -2
  140. package/dist/components/page/index.css +8 -0
  141. package/dist/components/retract/index.css +20 -0
  142. package/dist/components/retract/index.scss +24 -0
  143. package/dist/components/retract/src/data.cjs +10 -0
  144. package/dist/components/retract/src/data.d.ts +10 -0
  145. package/dist/components/retract/src/data.js +10 -0
  146. package/dist/components/retract/src/index2.cjs +24 -4
  147. package/dist/components/retract/src/index2.js +23 -3
  148. package/dist/components/retract/style/index2.scss +1 -0
  149. package/dist/components/selects/src/data.d.ts +14 -11
  150. package/dist/components/selects/src/index2.cjs +1 -1
  151. package/dist/components/selects/src/index2.js +1 -1
  152. package/dist/components/switchs/src/data.d.ts +14 -11
  153. package/dist/components/switchs/src/index2.cjs +9 -5
  154. package/dist/components/switchs/src/index2.js +9 -5
  155. package/dist/components/tables/common/com-limit.cjs +4 -0
  156. package/dist/components/tables/common/com-limit.js +4 -0
  157. package/dist/components/tables/common/com-limit2.cjs +91 -0
  158. package/dist/components/tables/common/com-limit2.js +91 -0
  159. package/dist/components/tables/common/com.scss +12 -0
  160. package/dist/components/tables/index.css +9 -0
  161. package/dist/components/tables/index.scss +2 -0
  162. package/dist/components/tables/src/columns2.cjs +3 -1
  163. package/dist/components/tables/src/columns2.js +7 -5
  164. package/dist/components/tablesp/index.css +9 -0
  165. package/dist/components/tablespd/index.css +9 -0
  166. package/dist/components/uploads/src/data.d.ts +14 -11
  167. package/dist/css/edit-data.css +144 -0
  168. package/dist/css/index.css +149 -0
  169. package/dist/css/page.css +8 -0
  170. package/dist/css/retract.css +20 -0
  171. package/dist/css/tables.css +9 -0
  172. package/dist/css/tablesp.css +9 -0
  173. package/dist/css/tablespd.css +9 -0
  174. package/dist/directives/adjust/index.cjs +14 -6
  175. package/dist/directives/adjust/index.js +14 -6
  176. package/dist/directives/adjustment/index.cjs +622 -0
  177. package/dist/directives/adjustment/index.d.ts +7 -0
  178. package/dist/directives/adjustment/index.js +622 -0
  179. package/dist/directives/index.cjs +18 -16
  180. package/dist/directives/index.d.ts +1 -0
  181. package/dist/directives/index.js +16 -14
  182. package/dist/expand/{chunk-A7IW6WRD.cjs → chunk-BJVT6JH7.cjs} +6 -0
  183. package/dist/expand/{chunk-L4FI5HCY.js → chunk-I5UJEJJB.js} +6 -0
  184. package/dist/expand/components.cjs +5 -5
  185. package/dist/expand/components.js +1 -1
  186. package/dist/expand/config.cjs +2 -2
  187. package/dist/expand/config.js +1 -1
  188. package/dist/icons/index.json +1 -1
  189. package/dist/index.cjs +84 -78
  190. package/dist/index.css +149 -0
  191. package/dist/index.js +20 -14
  192. package/dist/utils/util.cjs +1 -1
  193. package/dist/utils/util.js +2 -2
  194. package/dist/utils/vues/withInstall.cjs +2 -1
  195. package/dist/utils/vues/withInstall.js +2 -1
  196. package/package.json +13 -12
  197. /package/dist/components/{option → draggable}/index.css +0 -0
  198. /package/dist/css/{option.css → draggable.css} +0 -0
@@ -105,6 +105,8 @@ var config_default = {
105
105
  "dates2",
106
106
  "double",
107
107
  "edit",
108
+ "edit-data",
109
+ "edit-data-add",
108
110
  "edit-float",
109
111
  "history",
110
112
  "input-array",
@@ -135,6 +137,7 @@ var config_default = {
135
137
  ],
136
138
  "directives": [
137
139
  "adjust",
140
+ "adjustment",
138
141
  "drag",
139
142
  "expose",
140
143
  "inserted",
@@ -159,6 +162,7 @@ var config_default = {
159
162
  "forms-items",
160
163
  "box",
161
164
  "box-adjust",
165
+ "box-fun",
162
166
  "box-local",
163
167
  "box-mask",
164
168
  "box-title",
@@ -242,6 +246,8 @@ var config_default = {
242
246
  "dates-picker",
243
247
  "dates2",
244
248
  "edit",
249
+ "edit-data",
250
+ "edit-data-add",
245
251
  "edit-float",
246
252
  "cascader",
247
253
  "cascader-panel",
@@ -105,6 +105,8 @@ var config_default = {
105
105
  "dates2",
106
106
  "double",
107
107
  "edit",
108
+ "edit-data",
109
+ "edit-data-add",
108
110
  "edit-float",
109
111
  "history",
110
112
  "input-array",
@@ -135,6 +137,7 @@ var config_default = {
135
137
  ],
136
138
  "directives": [
137
139
  "adjust",
140
+ "adjustment",
138
141
  "drag",
139
142
  "expose",
140
143
  "inserted",
@@ -159,6 +162,7 @@ var config_default = {
159
162
  "forms-items",
160
163
  "box",
161
164
  "box-adjust",
165
+ "box-fun",
162
166
  "box-local",
163
167
  "box-mask",
164
168
  "box-title",
@@ -242,6 +246,8 @@ var config_default = {
242
246
  "dates-picker",
243
247
  "dates2",
244
248
  "edit",
249
+ "edit-data",
250
+ "edit-data-add",
245
251
  "edit-float",
246
252
  "cascader",
247
253
  "cascader-panel",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkA7IW6WRDcjs = require('./chunk-A7IW6WRD.cjs');
3
+ var _chunkBJVT6JH7cjs = require('./chunk-BJVT6JH7.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 (_chunkA7IW6WRDcjs.config_default.components.includes(filename)) {
38
+ if (_chunkBJVT6JH7cjs.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 (_chunkA7IW6WRDcjs.config_default.sideEffects.includes(filename)) {
42
+ if (_chunkBJVT6JH7cjs.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 (_chunkA7IW6WRDcjs.config_default.directives.includes(filename)) {
58
+ if (_chunkBJVT6JH7cjs.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 (_chunkA7IW6WRDcjs.config_default.directives.includes("v-" + filename)) {
65
+ } else if (_chunkBJVT6JH7cjs.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-L4FI5HCY.js";
3
+ } from "./chunk-I5UJEJJB.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 _chunkA7IW6WRDcjs = require('./chunk-A7IW6WRD.cjs');
3
+ var _chunkBJVT6JH7cjs = require('./chunk-BJVT6JH7.cjs');
4
4
 
5
5
 
6
- exports.default = _chunkA7IW6WRDcjs.config_default;
6
+ exports.default = _chunkBJVT6JH7cjs.config_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-L4FI5HCY.js";
3
+ } from "./chunk-I5UJEJJB.js";
4
4
  export {
5
5
  config_default as default
6
6
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1764927434993,
4
+ "lastModified": 1766133827596,
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$2V = require("./components/index.cjs");
4
- const index$2W = require("./directives/index.cjs");
5
- const index$2X = require("./icons/index.cjs");
3
+ const index$2Y = require("./components/index.cjs");
4
+ const index$2Z = require("./directives/index.cjs");
5
+ const index$2_ = require("./icons/index.cjs");
6
6
  const index$1 = require("./components/draggable/index.cjs");
7
7
  const index$3 = require("element-plus/es/components/button/index");
8
8
  const index$2 = require("./components/button/index.cjs");
@@ -151,55 +151,58 @@ const index$2h = require("./components/dates-picker/index.cjs");
151
151
  const index$2i = require("./components/dates/index.cjs");
152
152
  const index$2j = require("./components/dates2/index.cjs");
153
153
  const index$2k = require("./components/double/index.cjs");
154
- const index$2l = require("./components/edit-float/index.cjs");
155
- const index$2m = require("./components/edit/index.cjs");
156
- const index$2n = require("./components/history/index.cjs");
157
- const index$2o = require("./components/input-array/index.cjs");
158
- const index$2p = require("./components/input-history/index.cjs");
159
- const index$2q = require("./components/input-num/index.cjs");
160
- const index$2r = require("./components/input-select/index.cjs");
161
- const index$2s = require("./components/inputs/index.cjs");
162
- const index$2t = require("./components/labels/index.cjs");
163
- const index$2u = require("./components/select-scroll/index.cjs");
164
- const index$2v = require("./components/selector/index.cjs");
165
- const index$2w = require("./components/selects/index.cjs");
166
- const index$2x = require("./components/sliders/index.cjs");
167
- const index$2y = require("./components/switchs/index.cjs");
168
- const index$2z = require("./components/texts/index.cjs");
169
- const index$2A = require("./components/uploads/index.cjs");
170
- const index$2B = require("./components/list/index.cjs");
171
- const index$2C = require("./components/lists/index.cjs");
172
- const index$2D = require("./components/listsp/index.cjs");
173
- const index$2E = require("./components/listspd/index.cjs");
174
- const index$2F = require("./components/paging/index.cjs");
175
- const index$2G = require("./components/tables/index.cjs");
176
- const index$2H = require("./components/tablesp/index.cjs");
177
- const index$2I = require("./components/tablespd/index.cjs");
178
- const index$2J = require("./components/tabless/index.cjs");
179
- const index$2K = require("./components/tablesv/index.cjs");
180
- const index$2L = require("./components/tablesvp/index.cjs");
181
- const index$2M = require("./components/tablesvpd/index.cjs");
182
- const index$2N = require("./directives/adjust/index.cjs");
183
- const index$2O = require("./directives/drag/index.cjs");
184
- const index$2P = require("./directives/expose/index.cjs");
185
- const index$2Q = require("./directives/inserted/index.cjs");
186
- const index$2R = require("./directives/locus/index.cjs");
187
- const index$2S = require("./directives/scroll/index.cjs");
188
- const index$2T = require("./directives/sortable/index.cjs");
189
- const index$2U = require("./directives/stick/index.cjs");
154
+ const index$2l = require("./components/edit-data-add/index.cjs");
155
+ const index$2m = require("./components/edit-data/index.cjs");
156
+ const index$2n = require("./components/edit-float/index.cjs");
157
+ const index$2o = require("./components/edit/index.cjs");
158
+ const index$2p = require("./components/history/index.cjs");
159
+ const index$2q = require("./components/input-array/index.cjs");
160
+ const index$2r = require("./components/input-history/index.cjs");
161
+ const index$2s = require("./components/input-num/index.cjs");
162
+ const index$2t = require("./components/input-select/index.cjs");
163
+ const index$2u = require("./components/inputs/index.cjs");
164
+ const index$2v = require("./components/labels/index.cjs");
165
+ const index$2w = require("./components/select-scroll/index.cjs");
166
+ const index$2x = require("./components/selector/index.cjs");
167
+ const index$2y = require("./components/selects/index.cjs");
168
+ const index$2z = require("./components/sliders/index.cjs");
169
+ const index$2A = require("./components/switchs/index.cjs");
170
+ const index$2B = require("./components/texts/index.cjs");
171
+ const index$2C = require("./components/uploads/index.cjs");
172
+ const index$2D = require("./components/list/index.cjs");
173
+ const index$2E = require("./components/lists/index.cjs");
174
+ const index$2F = require("./components/listsp/index.cjs");
175
+ const index$2G = require("./components/listspd/index.cjs");
176
+ const index$2H = require("./components/paging/index.cjs");
177
+ const index$2I = require("./components/tables/index.cjs");
178
+ const index$2J = require("./components/tablesp/index.cjs");
179
+ const index$2K = require("./components/tablespd/index.cjs");
180
+ const index$2L = require("./components/tabless/index.cjs");
181
+ const index$2M = require("./components/tablesv/index.cjs");
182
+ const index$2N = require("./components/tablesvp/index.cjs");
183
+ const index$2O = require("./components/tablesvpd/index.cjs");
184
+ const index$2P = require("./directives/adjust/index.cjs");
185
+ const index$2Q = require("./directives/adjustment/index.cjs");
186
+ const index$2R = require("./directives/drag/index.cjs");
187
+ const index$2S = require("./directives/expose/index.cjs");
188
+ const index$2T = require("./directives/inserted/index.cjs");
189
+ const index$2U = require("./directives/locus/index.cjs");
190
+ const index$2V = require("./directives/scroll/index.cjs");
191
+ const index$2W = require("./directives/sortable/index.cjs");
192
+ const index$2X = require("./directives/stick/index.cjs");
190
193
  const index = {
191
194
  install: function(app) {
192
- const com = index$2V;
195
+ const com = index$2Y;
193
196
  for (const key of Object.keys(com)) {
194
197
  if (com[key].install) {
195
198
  com[key].install(app);
196
199
  }
197
200
  }
198
- const dire = index$2W;
201
+ const dire = index$2Z;
199
202
  for (const key of Object.keys(dire)) {
200
203
  app.directive(key, dire[key]);
201
204
  }
202
- index$2X.default(app);
205
+ index$2_.default(app);
203
206
  }
204
207
  };
205
208
  exports.Draggable = index$1.Draggable;
@@ -309,42 +312,45 @@ exports.DatesPicker = index$2h.DatesPicker;
309
312
  exports.Dates = index$2i.Dates;
310
313
  exports.Dates2 = index$2j.Dates2;
311
314
  exports.Double = index$2k.Double;
312
- exports.EditFloat = index$2l.EditFloat;
313
- exports.Edit = index$2m.Edit;
314
- exports.History = index$2n.History;
315
- exports.InputArray = index$2o.InputArray;
316
- exports.InputHistory = index$2p.InputHistory;
317
- exports.InputNum = index$2q.InputNum;
318
- exports.InputSelect = index$2r.InputSelect;
319
- exports.Inputs = index$2s.Inputs;
320
- exports.Labels = index$2t.Labels;
321
- exports.SelectScroll = index$2u.SelectScroll;
322
- exports.Selector = index$2v.Selector;
323
- exports.Selects = index$2w.Selects;
324
- exports.Sliders = index$2x.Sliders;
325
- exports.Switchs = index$2y.Switchs;
326
- exports.Texts = index$2z.Texts;
327
- exports.Uploads = index$2A.Uploads;
328
- exports.List = index$2B.List;
329
- exports.Lists = index$2C.Lists;
330
- exports.Listsp = index$2D.Listsp;
331
- exports.Listspd = index$2E.Listspd;
332
- exports.Paging = index$2F.Paging;
333
- exports.Tables = index$2G.Tables;
334
- exports.Tablesp = index$2H.Tablesp;
335
- exports.Tablespd = index$2I.Tablespd;
336
- exports.Tabless = index$2J.Tabless;
337
- exports.Tablesv = index$2K.Tablesv;
338
- exports.Tablesvp = index$2L.Tablesvp;
339
- exports.Tablesvpd = index$2M.Tablesvpd;
340
- exports.Adjust = index$2N.default;
341
- exports.Drag = index$2O.default;
342
- exports.Expose = index$2P.default;
343
- exports.Inserted = index$2Q.default;
344
- exports.Locus = index$2R.default;
345
- exports.Scroll = index$2S.default;
346
- exports.Sortable = index$2T.default;
347
- exports.Stick = index$2U.default;
315
+ exports.EditDataAdd = index$2l.EditDataAdd;
316
+ exports.EditData = index$2m.EditData;
317
+ exports.EditFloat = index$2n.EditFloat;
318
+ exports.Edit = index$2o.Edit;
319
+ exports.History = index$2p.History;
320
+ exports.InputArray = index$2q.InputArray;
321
+ exports.InputHistory = index$2r.InputHistory;
322
+ exports.InputNum = index$2s.InputNum;
323
+ exports.InputSelect = index$2t.InputSelect;
324
+ exports.Inputs = index$2u.Inputs;
325
+ exports.Labels = index$2v.Labels;
326
+ exports.SelectScroll = index$2w.SelectScroll;
327
+ exports.Selector = index$2x.Selector;
328
+ exports.Selects = index$2y.Selects;
329
+ exports.Sliders = index$2z.Sliders;
330
+ exports.Switchs = index$2A.Switchs;
331
+ exports.Texts = index$2B.Texts;
332
+ exports.Uploads = index$2C.Uploads;
333
+ exports.List = index$2D.List;
334
+ exports.Lists = index$2E.Lists;
335
+ exports.Listsp = index$2F.Listsp;
336
+ exports.Listspd = index$2G.Listspd;
337
+ exports.Paging = index$2H.Paging;
338
+ exports.Tables = index$2I.Tables;
339
+ exports.Tablesp = index$2J.Tablesp;
340
+ exports.Tablespd = index$2K.Tablespd;
341
+ exports.Tabless = index$2L.Tabless;
342
+ exports.Tablesv = index$2M.Tablesv;
343
+ exports.Tablesvp = index$2N.Tablesvp;
344
+ exports.Tablesvpd = index$2O.Tablesvpd;
345
+ exports.Adjust = index$2P.default;
346
+ exports.Adjustment = index$2Q.default;
347
+ exports.Drag = index$2R.default;
348
+ exports.Expose = index$2S.default;
349
+ exports.Inserted = index$2T.default;
350
+ exports.Locus = index$2U.default;
351
+ exports.Scroll = index$2V.default;
352
+ exports.Sortable = index$2W.default;
353
+ exports.Stick = index$2X.default;
348
354
  exports.default = index;
349
355
  Object.keys(index$3).forEach((k) => {
350
356
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
package/dist/index.css CHANGED
@@ -1095,6 +1095,14 @@
1095
1095
  white-space: pre-wrap;
1096
1096
  }
1097
1097
 
1098
+ .com-limit.is-tooltip {
1099
+ max-height: var(--com-limit-max-height);
1100
+ display: -webkit-box;
1101
+ -webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
1102
+ -webkit-box-orient: vertical;
1103
+ text-overflow: ellipsis;
1104
+ }
1105
+
1098
1106
  .tables {
1099
1107
  width: 100%;
1100
1108
  min-height: var(--tables-min-height, 70px);
@@ -1452,9 +1460,17 @@
1452
1460
  .retract {
1453
1461
  position: relative;
1454
1462
  }
1463
+ .retract-div.left, .retract-div.right {
1464
+ height: 100%;
1465
+ display: flex;
1466
+ }
1467
+ .retract-div.top, .retract-div.bottom {
1468
+ width: 100%;
1469
+ }
1455
1470
  .retract .retract-but {
1456
1471
  position: absolute;
1457
1472
  background-color: rgba(201, 201, 201, 0.5);
1473
+ z-index: 1000;
1458
1474
  }
1459
1475
  .retract .retract-but .retract-icon {
1460
1476
  width: 100%;
@@ -1477,6 +1493,9 @@
1477
1493
  margin-top: -25px;
1478
1494
  left: -20px;
1479
1495
  }
1496
+ .retract .retract-but.is-left.is-adjust {
1497
+ left: -10px;
1498
+ }
1480
1499
  .retract .retract-but.is-left .retract-icon {
1481
1500
  transform: rotate(0);
1482
1501
  }
@@ -1490,6 +1509,9 @@
1490
1509
  margin-top: -25px;
1491
1510
  right: -20px;
1492
1511
  }
1512
+ .retract .retract-but.is-right.is-adjust {
1513
+ right: -10px;
1514
+ }
1493
1515
  .retract .retract-but.is-right .retract-icon {
1494
1516
  transform: rotate(-180deg);
1495
1517
  }
@@ -1503,6 +1525,9 @@
1503
1525
  margin-left: -25px;
1504
1526
  top: -20px;
1505
1527
  }
1528
+ .retract .retract-but.is-top.is-adjust {
1529
+ top: -10px;
1530
+ }
1506
1531
  .retract .retract-but.is-top .retract-icon {
1507
1532
  transform: rotate(90deg);
1508
1533
  }
@@ -1516,6 +1541,9 @@
1516
1541
  margin-left: -25px;
1517
1542
  bottom: -20px;
1518
1543
  }
1544
+ .retract .retract-but.is-bottom.is-adjust {
1545
+ bottom: -10px;
1546
+ }
1519
1547
  .retract .retract-but.is-bottom .retract-icon {
1520
1548
  transform: rotate(-90deg);
1521
1549
  }
@@ -1540,6 +1568,127 @@
1540
1568
  width: 120px;
1541
1569
  }
1542
1570
 
1571
+ .edit-data-add {
1572
+ width: 100%;
1573
+ height: 100%;
1574
+ display: flex;
1575
+ flex-direction: column;
1576
+ }
1577
+ .edit-data-add-main {
1578
+ flex: 1;
1579
+ width: 100%;
1580
+ display: flex;
1581
+ flex-direction: column;
1582
+ }
1583
+ .edit-data-add-main-top {
1584
+ width: 100%;
1585
+ }
1586
+ .edit-data-add-main-top-li {
1587
+ display: flex;
1588
+ align-items: center;
1589
+ padding: 10px;
1590
+ }
1591
+ .edit-data-add-main-top-li-value {
1592
+ flex: 1;
1593
+ }
1594
+ .edit-data-add-main-content {
1595
+ flex: 1;
1596
+ width: 100%;
1597
+ margin: 10px;
1598
+ }
1599
+ .edit-data-add-main-content-name {
1600
+ margin-bottom: 10px;
1601
+ }
1602
+ .edit-data-add-footer {
1603
+ padding-top: 20px;
1604
+ text-align: right;
1605
+ }
1606
+
1607
+ .edit-data-general-set {
1608
+ display: flex;
1609
+ align-items: center;
1610
+ }
1611
+ .edit-data-editor {
1612
+ width: 100%;
1613
+ height: 100%;
1614
+ display: flex;
1615
+ flex-direction: column;
1616
+ }
1617
+ .edit-data-editor-main {
1618
+ flex: 1;
1619
+ position: relative;
1620
+ }
1621
+ .edit-data-editor-content {
1622
+ position: absolute;
1623
+ inset: 0;
1624
+ overflow-y: auto;
1625
+ }
1626
+ .edit-data-editor-content .edit-data-code {
1627
+ height: 100%;
1628
+ width: 100%;
1629
+ }
1630
+ .edit-data-editor-content .edit-data-code .inputs {
1631
+ height: 100%;
1632
+ width: 100%;
1633
+ }
1634
+ .edit-data-editor-content .edit-data-code .inputs textarea {
1635
+ height: 100%;
1636
+ width: 100%;
1637
+ }
1638
+ .edit-data-editor-footer {
1639
+ padding-top: 20px;
1640
+ text-align: right;
1641
+ }
1642
+ .edit-data-area-array, .edit-data-area-object {
1643
+ width: 100%;
1644
+ height: 100%;
1645
+ display: flex;
1646
+ flex-direction: column;
1647
+ }
1648
+ .edit-data-area-array-main, .edit-data-area-object-main {
1649
+ flex: 1;
1650
+ width: 100%;
1651
+ position: relative;
1652
+ }
1653
+ .edit-data-area-array-content, .edit-data-area-object-content {
1654
+ position: absolute;
1655
+ inset: 0;
1656
+ overflow-y: auto;
1657
+ }
1658
+ .edit-data-area-array-json, .edit-data-area-object-json {
1659
+ width: 100%;
1660
+ height: 100%;
1661
+ }
1662
+ .edit-data-area-array-json .tabs, .edit-data-area-object-json .tabs {
1663
+ width: 100%;
1664
+ height: 100%;
1665
+ }
1666
+ .edit-data-area-array-json .tabs .tab-pane, .edit-data-area-object-json .tabs .tab-pane {
1667
+ position: absolute;
1668
+ inset: 0;
1669
+ overflow-y: auto;
1670
+ }
1671
+ .edit-data-area-array-add, .edit-data-area-object-add {
1672
+ margin-bottom: 10px;
1673
+ }
1674
+ .edit-data-area-comp {
1675
+ width: 100%;
1676
+ }
1677
+ .edit-data-area-comp-li {
1678
+ min-height: 40px;
1679
+ display: flex;
1680
+ align-items: center;
1681
+ justify-content: space-between;
1682
+ }
1683
+ .edit-data-area-comp-li-div {
1684
+ flex: 1;
1685
+ display: flex;
1686
+ align-items: center;
1687
+ }
1688
+ .edit-data-area-comp-li-name {
1689
+ padding: 0 10px;
1690
+ }
1691
+
1543
1692
  .edit-float-body {
1544
1693
  display: inline-flex;
1545
1694
  align-items: center;
package/dist/index.js CHANGED
@@ -150,6 +150,8 @@ import { DatesPicker } from "./components/dates-picker/index.js";
150
150
  import { Dates } from "./components/dates/index.js";
151
151
  import { Dates2 } from "./components/dates2/index.js";
152
152
  import { Double } from "./components/double/index.js";
153
+ import { EditDataAdd } from "./components/edit-data-add/index.js";
154
+ import { EditData } from "./components/edit-data/index.js";
153
155
  import { EditFloat } from "./components/edit-float/index.js";
154
156
  import { Edit } from "./components/edit/index.js";
155
157
  import { History } from "./components/history/index.js";
@@ -179,13 +181,14 @@ import { Tablesv } from "./components/tablesv/index.js";
179
181
  import { Tablesvp } from "./components/tablesvp/index.js";
180
182
  import { Tablesvpd } from "./components/tablesvpd/index.js";
181
183
  import { default as default2 } from "./directives/adjust/index.js";
182
- import { default as default3 } from "./directives/drag/index.js";
183
- import { default as default4 } from "./directives/expose/index.js";
184
- import { default as default5 } from "./directives/inserted/index.js";
185
- import { default as default6 } from "./directives/locus/index.js";
186
- import { default as default7 } from "./directives/scroll/index.js";
187
- import { default as default8 } from "./directives/sortable/index.js";
188
- import { default as default9 } from "./directives/stick/index.js";
184
+ import { default as default3 } from "./directives/adjustment/index.js";
185
+ import { default as default4 } from "./directives/drag/index.js";
186
+ import { default as default5 } from "./directives/expose/index.js";
187
+ import { default as default6 } from "./directives/inserted/index.js";
188
+ import { default as default7 } from "./directives/locus/index.js";
189
+ import { default as default8 } from "./directives/scroll/index.js";
190
+ import { default as default9 } from "./directives/sortable/index.js";
191
+ import { default as default10 } from "./directives/stick/index.js";
189
192
  const index = {
190
193
  install: function(app) {
191
194
  const com = index$K;
@@ -203,6 +206,7 @@ const index = {
203
206
  };
204
207
  export {
205
208
  default2 as Adjust,
209
+ default3 as Adjustment,
206
210
  Alert,
207
211
  Audios,
208
212
  Autocomplete,
@@ -237,15 +241,17 @@ export {
237
241
  Dialogs,
238
242
  Divider,
239
243
  Double,
240
- default3 as Drag,
244
+ default4 as Drag,
241
245
  Draggable,
242
246
  Drawer,
243
247
  Dropdown,
244
248
  DropdownItem,
245
249
  DropdownMenu,
246
250
  Edit,
251
+ EditData,
252
+ EditDataAdd,
247
253
  EditFloat,
248
- default4 as Expose,
254
+ default5 as Expose,
249
255
  Form,
250
256
  FormItem,
251
257
  Forms,
@@ -270,7 +276,7 @@ export {
270
276
  InputSelect,
271
277
  InputTag,
272
278
  Inputs,
273
- default5 as Inserted,
279
+ default6 as Inserted,
274
280
  KeepCom,
275
281
  Labels,
276
282
  List,
@@ -278,7 +284,7 @@ export {
278
284
  Listsp,
279
285
  Listspd,
280
286
  Loading,
281
- default6 as Locus,
287
+ default7 as Locus,
282
288
  Mention,
283
289
  Menu,
284
290
  MenuItem,
@@ -300,7 +306,7 @@ export {
300
306
  RadioGroup,
301
307
  Retract,
302
308
  RightKey,
303
- default7 as Scroll,
309
+ default8 as Scroll,
304
310
  Scrollbar,
305
311
  SeamlessScroll,
306
312
  Select,
@@ -309,8 +315,8 @@ export {
309
315
  Selects,
310
316
  Slider,
311
317
  Sliders,
312
- default8 as Sortable,
313
- default9 as Stick,
318
+ default9 as Sortable,
319
+ default10 as Stick,
314
320
  StickDiv,
315
321
  StickEdge,
316
322
  StickWindow,
@@ -51,7 +51,7 @@ function getNextValue(obj, currentValue) {
51
51
  function executionMethod(fun, ...arr) {
52
52
  var _a;
53
53
  if (typeof fun === "string") {
54
- return (_a = getContent.getContent(fun)) == null ? void 0 : _a(...arr);
54
+ return (_a = getContent.getContents(fun)) == null ? void 0 : _a(...arr);
55
55
  } else {
56
56
  return fun(...arr);
57
57
  }
@@ -1,5 +1,5 @@
1
1
  import { setObjValue, getObjValue } from "@fangzhongya/utils/basic/object/objValue";
2
- import { getContent } from "@fangzhongya/utils/basic/string/getContent";
2
+ import { getContents } from "@fangzhongya/utils/basic/string/getContent";
3
3
  function getFathers(obj, arr) {
4
4
  if (obj.father) {
5
5
  arr.unshift(obj.father);
@@ -49,7 +49,7 @@ function getNextValue(obj, currentValue) {
49
49
  function executionMethod(fun, ...arr) {
50
50
  var _a;
51
51
  if (typeof fun === "string") {
52
- return (_a = getContent(fun)) == null ? void 0 : _a(...arr);
52
+ return (_a = getContents(fun)) == null ? void 0 : _a(...arr);
53
53
  } else {
54
54
  return fun(...arr);
55
55
  }
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  function withInstall(component, name) {
4
4
  const comp = component;
5
- comp.install = (app, { prefix = "" }) => {
5
+ comp.install = (app, options = {}) => {
6
+ const { prefix = "" } = options;
6
7
  const m = name || comp.name || comp.displayName;
7
8
  app.component(prefix + m, component);
8
9
  };