@fangzhongya/fang-ui 0.1.55 → 0.1.57

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 (238) hide show
  1. package/dist/components/audios/src/index2.cjs +16 -10
  2. package/dist/components/audios/src/index2.js +16 -10
  3. package/dist/components/box-adjust/src/index2.cjs +6 -4
  4. package/dist/components/box-adjust/src/index2.js +6 -4
  5. package/dist/components/box-title/src/index2.cjs +3 -2
  6. package/dist/components/box-title/src/index2.js +3 -2
  7. package/dist/components/buttons/src/data.d.ts +5 -5
  8. package/dist/components/buttons/src/index2.cjs +2 -2
  9. package/dist/components/buttons/src/index2.js +2 -2
  10. package/dist/components/cascaders/src/data.d.ts +5 -5
  11. package/dist/components/checks/src/data.d.ts +5 -5
  12. package/dist/components/common/list.d.ts +1 -1
  13. package/dist/components/common/use.cjs +1 -1
  14. package/dist/components/common/use.js +1 -1
  15. package/dist/components/dates/src/data.d.ts +5 -5
  16. package/dist/components/dates2/src/data.d.ts +5 -5
  17. package/dist/components/double/src/index2.cjs +3 -2
  18. package/dist/components/double/src/index2.js +3 -2
  19. package/dist/components/edit/index.css +5 -5
  20. package/dist/components/edit/index.scss +5 -5
  21. package/dist/components/edit/src/data.cjs +3 -2
  22. package/dist/components/edit/src/data.d.ts +5 -1
  23. package/dist/components/edit/src/data.js +3 -2
  24. package/dist/components/edit/src/index2.cjs +32 -23
  25. package/dist/components/edit/src/index2.js +32 -23
  26. package/dist/components/edit-data/src/area/array-json2.cjs +8 -4
  27. package/dist/components/edit-data/src/area/array-json2.js +8 -4
  28. package/dist/components/edit-data/src/area/array2.cjs +46 -8
  29. package/dist/components/edit-data/src/area/array2.js +47 -9
  30. package/dist/components/edit-data/src/area/editor2.cjs +22 -4
  31. package/dist/components/edit-data/src/area/editor2.js +22 -4
  32. package/dist/components/edit-data/src/area/general2.cjs +8 -1
  33. package/dist/components/edit-data/src/area/general2.js +8 -1
  34. package/dist/components/edit-data/src/area/object-json2.cjs +5 -1
  35. package/dist/components/edit-data/src/area/object-json2.js +5 -1
  36. package/dist/components/edit-data/src/area/object2.cjs +48 -11
  37. package/dist/components/edit-data/src/area/object2.js +49 -12
  38. package/dist/components/edit-data/src/data/array2.cjs +9 -5
  39. package/dist/components/edit-data/src/data/array2.js +9 -5
  40. package/dist/components/edit-data/src/data/bigint2.cjs +7 -3
  41. package/dist/components/edit-data/src/data/bigint2.js +7 -3
  42. package/dist/components/edit-data/src/data/boolean2.cjs +7 -3
  43. package/dist/components/edit-data/src/data/boolean2.js +7 -3
  44. package/dist/components/edit-data/src/data/date.cjs +4 -0
  45. package/dist/components/edit-data/src/data/date.js +4 -0
  46. package/dist/components/edit-data/src/data/date2.cjs +48 -0
  47. package/dist/components/edit-data/src/data/date2.js +48 -0
  48. package/dist/components/edit-data/src/data/function2.cjs +16 -7
  49. package/dist/components/edit-data/src/data/function2.js +17 -8
  50. package/dist/components/edit-data/src/data/null2.cjs +3 -1
  51. package/dist/components/edit-data/src/data/null2.js +4 -2
  52. package/dist/components/edit-data/src/data/number2.cjs +7 -3
  53. package/dist/components/edit-data/src/data/number2.js +7 -3
  54. package/dist/components/edit-data/src/data/object2.cjs +9 -5
  55. package/dist/components/edit-data/src/data/object2.js +9 -5
  56. package/dist/components/edit-data/src/data/other2.cjs +13 -5
  57. package/dist/components/edit-data/src/data/other2.js +14 -6
  58. package/dist/components/edit-data/src/data/string2.cjs +7 -3
  59. package/dist/components/edit-data/src/data/string2.js +7 -3
  60. package/dist/components/edit-data/src/data/symbol2.cjs +7 -3
  61. package/dist/components/edit-data/src/data/symbol2.js +7 -3
  62. package/dist/components/edit-data/src/data/undefined2.cjs +3 -1
  63. package/dist/components/edit-data/src/data/undefined2.js +4 -2
  64. package/dist/components/edit-data/src/data.cjs +10 -0
  65. package/dist/components/edit-data/src/data.d.ts +20 -0
  66. package/dist/components/edit-data/src/data.js +10 -0
  67. package/dist/components/edit-data/src/index2.cjs +31 -2
  68. package/dist/components/edit-data/src/index2.js +45 -16
  69. package/dist/components/edit-data-add/src/index2.cjs +2 -0
  70. package/dist/components/edit-data-add/src/index2.js +2 -0
  71. package/dist/components/edit-float/src/index2.cjs +3 -2
  72. package/dist/components/edit-float/src/index2.js +3 -2
  73. package/dist/components/history/src/index2.cjs +6 -4
  74. package/dist/components/history/src/index2.js +6 -4
  75. package/dist/components/input-array/src/index2.cjs +3 -2
  76. package/dist/components/input-array/src/index2.js +3 -2
  77. package/dist/components/input-history/src/index2.cjs +3 -2
  78. package/dist/components/input-history/src/index2.js +3 -2
  79. package/dist/components/input-select/src/index2.cjs +6 -4
  80. package/dist/components/input-select/src/index2.js +6 -4
  81. package/dist/components/labels/src/data.d.ts +5 -5
  82. package/dist/components/message/index.d.ts +11 -4
  83. package/dist/components/message/src/function.d.ts +11 -4
  84. package/dist/components/message-box/index.d.ts +2 -3
  85. package/dist/components/message-box/src/function.d.ts +2 -3
  86. package/dist/components/retract/index.css +23 -20
  87. package/dist/components/retract/index.scss +39 -20
  88. package/dist/components/retract/src/data.cjs +4 -1
  89. package/dist/components/retract/src/data.d.ts +4 -1
  90. package/dist/components/retract/src/data.js +4 -1
  91. package/dist/components/retract/src/index2.cjs +12 -10
  92. package/dist/components/retract/src/index2.js +9 -7
  93. package/dist/components/right-key/index.css +2 -1
  94. package/dist/components/right-key/index.scss +2 -1
  95. package/dist/components/right-key/src/data.cjs +7 -2
  96. package/dist/components/right-key/src/data.d.ts +5 -0
  97. package/dist/components/right-key/src/data.js +7 -2
  98. package/dist/components/right-key/src/index2.cjs +134 -60
  99. package/dist/components/right-key/src/index2.js +135 -61
  100. package/dist/components/selects/src/data.d.ts +5 -5
  101. package/dist/components/stick-window/src/index2.cjs +3 -2
  102. package/dist/components/stick-window/src/index2.js +3 -2
  103. package/dist/components/switchs/src/data.d.ts +5 -4
  104. package/dist/components/uploads/src/data.d.ts +5 -5
  105. package/dist/components/uploads/src/index2.cjs +26 -21
  106. package/dist/components/uploads/src/index2.js +15 -10
  107. package/dist/components/videos/src/index2.cjs +30 -19
  108. package/dist/components/videos/src/index2.js +30 -19
  109. package/dist/components/window/src/index2.cjs +9 -6
  110. package/dist/components/window/src/index2.js +9 -6
  111. package/dist/css/edit.css +5 -5
  112. package/dist/css/index.css +30 -26
  113. package/dist/css/retract.css +23 -20
  114. package/dist/css/right-key.css +2 -1
  115. package/dist/hooks/model/index.cjs +25 -0
  116. package/dist/hooks/model/index.d.ts +2 -0
  117. package/dist/hooks/model/index.js +25 -0
  118. package/dist/icons/index.json +1 -1
  119. package/dist/icons/vue/bar.cjs +2 -18
  120. package/dist/icons/vue/bar.js +1 -17
  121. package/dist/icons/vue/bar2.cjs +21 -2
  122. package/dist/icons/vue/bar2.js +21 -2
  123. package/dist/icons/vue/below.cjs +2 -18
  124. package/dist/icons/vue/below.js +1 -17
  125. package/dist/icons/vue/below2.cjs +21 -2
  126. package/dist/icons/vue/below2.js +21 -2
  127. package/dist/icons/vue/bicycle.cjs +2 -15
  128. package/dist/icons/vue/bicycle.js +1 -14
  129. package/dist/icons/vue/bicycle2.cjs +18 -2
  130. package/dist/icons/vue/bicycle2.js +18 -2
  131. package/dist/icons/vue/bottom-left.cjs +2 -22
  132. package/dist/icons/vue/bottom-left.js +1 -21
  133. package/dist/icons/vue/bottom-left2.cjs +25 -2
  134. package/dist/icons/vue/bottom-left2.js +25 -2
  135. package/dist/icons/vue/bottom-right.cjs +2 -22
  136. package/dist/icons/vue/bottom-right.js +1 -21
  137. package/dist/icons/vue/bottom-right2.cjs +25 -2
  138. package/dist/icons/vue/bottom-right2.js +25 -2
  139. package/dist/icons/vue/bottom.cjs +2 -18
  140. package/dist/icons/vue/bottom.js +1 -17
  141. package/dist/icons/vue/bottom2.cjs +21 -2
  142. package/dist/icons/vue/bottom2.js +21 -2
  143. package/dist/icons/vue/catalogue.cjs +2 -23
  144. package/dist/icons/vue/catalogue.js +1 -22
  145. package/dist/icons/vue/catalogue2.cjs +26 -2
  146. package/dist/icons/vue/catalogue2.js +26 -2
  147. package/dist/icons/vue/clear.cjs +2 -23
  148. package/dist/icons/vue/clear.js +1 -22
  149. package/dist/icons/vue/clear2.cjs +26 -2
  150. package/dist/icons/vue/clear2.js +26 -2
  151. package/dist/icons/vue/close.cjs +2 -18
  152. package/dist/icons/vue/close.js +1 -17
  153. package/dist/icons/vue/close2.cjs +21 -2
  154. package/dist/icons/vue/close2.js +21 -2
  155. package/dist/icons/vue/delete.cjs +2 -18
  156. package/dist/icons/vue/delete.js +1 -17
  157. package/dist/icons/vue/delete2.cjs +21 -2
  158. package/dist/icons/vue/delete2.js +21 -2
  159. package/dist/icons/vue/document.cjs +2 -23
  160. package/dist/icons/vue/document.js +1 -22
  161. package/dist/icons/vue/document2.cjs +26 -2
  162. package/dist/icons/vue/document2.js +26 -2
  163. package/dist/icons/vue/down.cjs +2 -18
  164. package/dist/icons/vue/down.js +1 -17
  165. package/dist/icons/vue/down2.cjs +21 -2
  166. package/dist/icons/vue/down2.js +21 -2
  167. package/dist/icons/vue/download.cjs +2 -18
  168. package/dist/icons/vue/download.js +1 -17
  169. package/dist/icons/vue/download2.cjs +21 -2
  170. package/dist/icons/vue/download2.js +21 -2
  171. package/dist/icons/vue/edit.cjs +2 -23
  172. package/dist/icons/vue/edit.js +1 -22
  173. package/dist/icons/vue/edit2.cjs +26 -2
  174. package/dist/icons/vue/edit2.js +26 -2
  175. package/dist/icons/vue/enter.cjs +2 -19
  176. package/dist/icons/vue/enter.js +1 -18
  177. package/dist/icons/vue/enter2.cjs +22 -2
  178. package/dist/icons/vue/enter2.js +22 -2
  179. package/dist/icons/vue/frame.cjs +2 -15
  180. package/dist/icons/vue/frame.js +1 -14
  181. package/dist/icons/vue/frame2.cjs +18 -2
  182. package/dist/icons/vue/frame2.js +18 -2
  183. package/dist/icons/vue/index.cjs +81 -54
  184. package/dist/icons/vue/index.js +54 -27
  185. package/dist/icons/vue/left.cjs +2 -18
  186. package/dist/icons/vue/left.js +1 -17
  187. package/dist/icons/vue/left2.cjs +21 -2
  188. package/dist/icons/vue/left2.js +21 -2
  189. package/dist/icons/vue/mute.cjs +2 -18
  190. package/dist/icons/vue/mute.js +1 -17
  191. package/dist/icons/vue/mute2.cjs +21 -2
  192. package/dist/icons/vue/mute2.js +21 -2
  193. package/dist/icons/vue/pause.cjs +2 -24
  194. package/dist/icons/vue/pause.js +1 -23
  195. package/dist/icons/vue/pause2.cjs +27 -2
  196. package/dist/icons/vue/pause2.js +27 -2
  197. package/dist/icons/vue/play.cjs +2 -19
  198. package/dist/icons/vue/play.js +1 -18
  199. package/dist/icons/vue/play2.cjs +22 -2
  200. package/dist/icons/vue/play2.js +22 -2
  201. package/dist/icons/vue/plus.cjs +2 -18
  202. package/dist/icons/vue/plus.js +1 -17
  203. package/dist/icons/vue/plus2.cjs +21 -2
  204. package/dist/icons/vue/plus2.js +21 -2
  205. package/dist/icons/vue/retreat.cjs +2 -19
  206. package/dist/icons/vue/retreat.js +1 -18
  207. package/dist/icons/vue/retreat2.cjs +22 -2
  208. package/dist/icons/vue/retreat2.js +22 -2
  209. package/dist/icons/vue/right.cjs +2 -18
  210. package/dist/icons/vue/right.js +1 -17
  211. package/dist/icons/vue/right2.cjs +21 -2
  212. package/dist/icons/vue/right2.js +21 -2
  213. package/dist/icons/vue/sound.cjs +2 -22
  214. package/dist/icons/vue/sound.js +1 -21
  215. package/dist/icons/vue/sound2.cjs +25 -2
  216. package/dist/icons/vue/sound2.js +25 -2
  217. package/dist/icons/vue/star.cjs +2 -22
  218. package/dist/icons/vue/star.js +1 -21
  219. package/dist/icons/vue/star2.cjs +25 -2
  220. package/dist/icons/vue/star2.js +25 -2
  221. package/dist/icons/vue/up.cjs +2 -18
  222. package/dist/icons/vue/up.js +1 -17
  223. package/dist/icons/vue/up2.cjs +21 -2
  224. package/dist/icons/vue/up2.js +21 -2
  225. package/dist/icons/vue/views.cjs +2 -18
  226. package/dist/icons/vue/views.js +1 -17
  227. package/dist/icons/vue/views2.cjs +21 -2
  228. package/dist/icons/vue/views2.js +21 -2
  229. package/dist/index.css +30 -26
  230. package/dist/utils/vues/index.d.ts +1 -0
  231. package/dist/utils/vues/shared.cjs +19 -0
  232. package/dist/utils/vues/shared.d.ts +5 -0
  233. package/dist/utils/vues/shared.js +19 -0
  234. package/package.json +10 -11
  235. package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -10
  236. package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
  237. /package/dist/components/{keep-com → global-config}/index.css +0 -0
  238. /package/dist/css/{keep-com.css → global-config.css} +0 -0
@@ -1,20 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const up_vue_vue_type_script_lang = require("./up2.cjs");
4
- const vue = require("vue");
5
- const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.cjs");
6
- const _hoisted_1 = {
7
- id: "icon-up",
8
- viewBox: "0 0 1024 1024",
9
- xmlns: "http://www.w3.org/2000/svg"
10
- };
11
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
13
- vue.createElementVNode("path", {
14
- d: "M149.33333334 887.33013334c0 18.8416 15.29173333 34.13333333 34.13333333 34.13333333S217.6 906.17173333 217.6 887.33013333l0-301.73866666L807.90186667 914.56853333c19.38773333 10.78613333 42.5984 10.71786667 61.98613334 0C889.344 903.71413332 900.88106667 884.39466667 900.88106667 862.75413333l0-700.416c0-21.57226667-11.53706667-41.02826667-30.99306667-51.8144C860.19413334 105.13066667 849.6128 102.4 838.9632 102.4s-21.29919999 2.73066667-30.99306666 8.12373333L217.6 439.5008l0-303.03573333c0-18.8416-15.29173333-34.13333333-34.13333333-34.13333334s-34.13333333 15.29173333-34.13333334 34.13333334L149.33333334 887.33013334zM832.2048 173.60213333L835.54986667 853.33333333l-611.53279999-340.7872L832.2048 173.60213333z",
15
- "p-id": "2637"
16
- }, null, -1)
17
- ])]);
18
- }
19
- const Up = /* @__PURE__ */ _pluginVue_exportHelper.default(up_vue_vue_type_script_lang.default, [["render", _sfc_render]]);
20
- exports.default = Up;
3
+ const up_vue_vue_type_script_setup_true_lang = require("./up2.cjs");
4
+ exports.default = up_vue_vue_type_script_setup_true_lang.default;
@@ -1,20 +1,4 @@
1
1
  import _sfc_main from "./up2.js";
2
- import { createElementBlock, openBlock, createElementVNode } from "vue";
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _hoisted_1 = {
5
- id: "icon-up",
6
- viewBox: "0 0 1024 1024",
7
- xmlns: "http://www.w3.org/2000/svg"
8
- };
9
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
10
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", {
12
- d: "M149.33333334 887.33013334c0 18.8416 15.29173333 34.13333333 34.13333333 34.13333333S217.6 906.17173333 217.6 887.33013333l0-301.73866666L807.90186667 914.56853333c19.38773333 10.78613333 42.5984 10.71786667 61.98613334 0C889.344 903.71413332 900.88106667 884.39466667 900.88106667 862.75413333l0-700.416c0-21.57226667-11.53706667-41.02826667-30.99306667-51.8144C860.19413334 105.13066667 849.6128 102.4 838.9632 102.4s-21.29919999 2.73066667-30.99306666 8.12373333L217.6 439.5008l0-303.03573333c0-18.8416-15.29173333-34.13333333-34.13333333-34.13333334s-34.13333333 15.29173333-34.13333334 34.13333334L149.33333334 887.33013334zM832.2048 173.60213333L835.54986667 853.33333333l-611.53279999-340.7872L832.2048 173.60213333z",
13
- "p-id": "2637"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const Up = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
18
2
  export {
19
- Up as default
3
+ _sfc_main as default
20
4
  };
@@ -1,6 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const _sfc_main = {
4
- name: "Up"
3
+ const vue = require("vue");
4
+ const _hoisted_1 = {
5
+ id: "icon-up",
6
+ viewBox: "0 0 1024 1024",
7
+ xmlns: "http://www.w3.org/2000/svg"
5
8
  };
9
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
+ ...{
11
+ name: "Up"
12
+ },
13
+ __name: "up",
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
17
+ vue.createElementVNode("path", {
18
+ d: "M149.33333334 887.33013334c0 18.8416 15.29173333 34.13333333 34.13333333 34.13333333S217.6 906.17173333 217.6 887.33013333l0-301.73866666L807.90186667 914.56853333c19.38773333 10.78613333 42.5984 10.71786667 61.98613334 0C889.344 903.71413332 900.88106667 884.39466667 900.88106667 862.75413333l0-700.416c0-21.57226667-11.53706667-41.02826667-30.99306667-51.8144C860.19413334 105.13066667 849.6128 102.4 838.9632 102.4s-21.29919999 2.73066667-30.99306666 8.12373333L217.6 439.5008l0-303.03573333c0-18.8416-15.29173333-34.13333333-34.13333333-34.13333334s-34.13333333 15.29173333-34.13333334 34.13333334L149.33333334 887.33013334zM832.2048 173.60213333L835.54986667 853.33333333l-611.53279999-340.7872L832.2048 173.60213333z",
19
+ "p-id": "2637"
20
+ }, null, -1)
21
+ ])]);
22
+ };
23
+ }
24
+ });
6
25
  exports.default = _sfc_main;
@@ -1,6 +1,25 @@
1
- const _sfc_main = {
2
- name: "Up"
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ id: "icon-up",
4
+ viewBox: "0 0 1024 1024",
5
+ xmlns: "http://www.w3.org/2000/svg"
3
6
  };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ ...{
9
+ name: "Up"
10
+ },
11
+ __name: "up",
12
+ setup(__props) {
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
15
+ createElementVNode("path", {
16
+ d: "M149.33333334 887.33013334c0 18.8416 15.29173333 34.13333333 34.13333333 34.13333333S217.6 906.17173333 217.6 887.33013333l0-301.73866666L807.90186667 914.56853333c19.38773333 10.78613333 42.5984 10.71786667 61.98613334 0C889.344 903.71413332 900.88106667 884.39466667 900.88106667 862.75413333l0-700.416c0-21.57226667-11.53706667-41.02826667-30.99306667-51.8144C860.19413334 105.13066667 849.6128 102.4 838.9632 102.4s-21.29919999 2.73066667-30.99306666 8.12373333L217.6 439.5008l0-303.03573333c0-18.8416-15.29173333-34.13333333-34.13333333-34.13333334s-34.13333333 15.29173333-34.13333334 34.13333334L149.33333334 887.33013334zM832.2048 173.60213333L835.54986667 853.33333333l-611.53279999-340.7872L832.2048 173.60213333z",
17
+ "p-id": "2637"
18
+ }, null, -1)
19
+ ])]);
20
+ };
21
+ }
22
+ });
4
23
  export {
5
24
  _sfc_main as default
6
25
  };
@@ -1,20 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const views_vue_vue_type_script_lang = require("./views2.cjs");
4
- const vue = require("vue");
5
- const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.cjs");
6
- const _hoisted_1 = {
7
- id: "icon-views",
8
- viewBox: "0 0 1024 1024",
9
- xmlns: "http://www.w3.org/2000/svg"
10
- };
11
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
12
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
13
- vue.createElementVNode("path", {
14
- fill: "currentColor",
15
- d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
16
- }, null, -1)
17
- ])]);
18
- }
19
- const IconViews = /* @__PURE__ */ _pluginVue_exportHelper.default(views_vue_vue_type_script_lang.default, [["render", _sfc_render]]);
20
- exports.default = IconViews;
3
+ const views_vue_vue_type_script_setup_true_lang = require("./views2.cjs");
4
+ exports.default = views_vue_vue_type_script_setup_true_lang.default;
@@ -1,20 +1,4 @@
1
1
  import _sfc_main from "./views2.js";
2
- import { createElementBlock, openBlock, createElementVNode } from "vue";
3
- import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _hoisted_1 = {
5
- id: "icon-views",
6
- viewBox: "0 0 1024 1024",
7
- xmlns: "http://www.w3.org/2000/svg"
8
- };
9
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
10
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
11
- createElementVNode("path", {
12
- fill: "currentColor",
13
- d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
14
- }, null, -1)
15
- ])]);
16
- }
17
- const IconViews = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
18
2
  export {
19
- IconViews as default
3
+ _sfc_main as default
20
4
  };
@@ -1,6 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const _sfc_main = {
4
- name: "Views"
3
+ const vue = require("vue");
4
+ const _hoisted_1 = {
5
+ id: "icon-views",
6
+ viewBox: "0 0 1024 1024",
7
+ xmlns: "http://www.w3.org/2000/svg"
5
8
  };
9
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
+ ...{
11
+ name: "Views"
12
+ },
13
+ __name: "views",
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
17
+ vue.createElementVNode("path", {
18
+ fill: "currentColor",
19
+ d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
20
+ }, null, -1)
21
+ ])]);
22
+ };
23
+ }
24
+ });
6
25
  exports.default = _sfc_main;
@@ -1,6 +1,25 @@
1
- const _sfc_main = {
2
- name: "Views"
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode } from "vue";
2
+ const _hoisted_1 = {
3
+ id: "icon-views",
4
+ viewBox: "0 0 1024 1024",
5
+ xmlns: "http://www.w3.org/2000/svg"
3
6
  };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ ...{
9
+ name: "Views"
10
+ },
11
+ __name: "views",
12
+ setup(__props) {
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
15
+ createElementVNode("path", {
16
+ fill: "currentColor",
17
+ d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
18
+ }, null, -1)
19
+ ])]);
20
+ };
21
+ }
22
+ });
4
23
  export {
5
24
  _sfc_main as default
6
25
  };
package/dist/index.css CHANGED
@@ -792,7 +792,7 @@
792
792
 
793
793
  .right-key-box {
794
794
  width: 140px;
795
- position: absolute;
795
+ position: fixed;
796
796
  padding: 10px;
797
797
  z-index: 9999;
798
798
  background: #ffffff;
@@ -808,6 +808,7 @@
808
808
  white-space: nowrap;
809
809
  display: flex;
810
810
  align-items: center;
811
+ box-sizing: border-box;
811
812
  height: 40px;
812
813
  padding: 8px 14px 8px 10px;
813
814
  border-radius: 4px;
@@ -1460,6 +1461,9 @@
1460
1461
 
1461
1462
  .retract {
1462
1463
  position: relative;
1464
+ --retract-width: 12px;
1465
+ --retract-height: 40px;
1466
+ --retract-width-adjust: 8px;
1463
1467
  }
1464
1468
  .retract-div.left, .retract-div.right {
1465
1469
  height: 100%;
@@ -1489,13 +1493,13 @@
1489
1493
  }
1490
1494
  .retract .retract-but.is-left {
1491
1495
  top: 50%;
1492
- width: 20px;
1493
- height: 50px;
1494
- margin-top: -25px;
1495
- left: -20px;
1496
+ height: var(--retract-height);
1497
+ margin-top: calc(var(--retract-height) / 2 * -1);
1498
+ width: var(--retract-width);
1499
+ left: calc(0 - var(--retract-width));
1496
1500
  }
1497
1501
  .retract .retract-but.is-left.is-adjust {
1498
- left: -10px;
1502
+ left: calc(var(--retract-width-adjust) - var(--retract-width));
1499
1503
  }
1500
1504
  .retract .retract-but.is-left .retract-icon {
1501
1505
  transform: rotate(0);
@@ -1505,13 +1509,13 @@
1505
1509
  }
1506
1510
  .retract .retract-but.is-right {
1507
1511
  top: 50%;
1508
- width: 20px;
1509
- height: 50px;
1510
- margin-top: -25px;
1511
- right: -20px;
1512
+ height: var(--retract-height);
1513
+ margin-top: calc(var(--retract-height) / 2 * -1);
1514
+ width: var(--retract-width);
1515
+ right: calc(0 - var(--retract-width));
1512
1516
  }
1513
1517
  .retract .retract-but.is-right.is-adjust {
1514
- right: -10px;
1518
+ right: calc(var(--retract-width-adjust) - var(--retract-width));
1515
1519
  }
1516
1520
  .retract .retract-but.is-right .retract-icon {
1517
1521
  transform: rotate(-180deg);
@@ -1521,13 +1525,13 @@
1521
1525
  }
1522
1526
  .retract .retract-but.is-top {
1523
1527
  left: 50%;
1524
- width: 50px;
1525
- height: 20px;
1526
- margin-left: -25px;
1527
- top: -20px;
1528
+ width: var(--retract-height);
1529
+ margin-left: calc(var(--retract-height) / 2 * -1);
1530
+ height: var(--retract-width);
1531
+ top: calc(0 - var(--retract-width));
1528
1532
  }
1529
1533
  .retract .retract-but.is-top.is-adjust {
1530
- top: -10px;
1534
+ top: calc(var(--retract-width-adjust) - var(--retract-width));
1531
1535
  }
1532
1536
  .retract .retract-but.is-top .retract-icon {
1533
1537
  transform: rotate(90deg);
@@ -1537,13 +1541,13 @@
1537
1541
  }
1538
1542
  .retract .retract-but.is-bottom {
1539
1543
  left: 50%;
1540
- width: 50px;
1541
- height: 20px;
1542
- margin-left: -25px;
1543
- bottom: -20px;
1544
+ width: var(--retract-height);
1545
+ margin-left: calc(var(--retract-height) / 2 * -1);
1546
+ height: var(--retract-width);
1547
+ bottom: calc(0 - var(--retract-width));
1544
1548
  }
1545
1549
  .retract .retract-but.is-bottom.is-adjust {
1546
- bottom: -10px;
1550
+ bottom: calc(var(--retract-width-adjust) - var(--retract-width));
1547
1551
  }
1548
1552
  .retract .retract-but.is-bottom .retract-icon {
1549
1553
  transform: rotate(-90deg);
@@ -1710,20 +1714,20 @@
1710
1714
  }
1711
1715
 
1712
1716
  .edit {
1713
- display: inline-flex;
1717
+ display: inline-block;
1714
1718
  align-items: center;
1719
+ height: 100%;
1715
1720
  }
1716
1721
  .edit-value {
1717
1722
  display: inline-block;
1723
+ height: 100%;
1718
1724
  min-width: 3px;
1719
1725
  }
1720
1726
  .edit-icon {
1721
- display: inline-flex;
1722
- align-items: center;
1727
+ box-sizing: border-box;
1723
1728
  height: 100%;
1724
- min-width: 3px;
1725
1729
  font-size: 16px;
1726
- margin: 0 4px;
1730
+ margin: 2px;
1727
1731
  cursor: pointer;
1728
1732
  }
1729
1733
 
@@ -4,5 +4,6 @@ export * from './definePropType';
4
4
  export * from './getAttrValue';
5
5
  export * from './getBoxDom';
6
6
  export * from './getBuildProps';
7
+ export * from './shared';
7
8
  export * from './withInstall';
8
9
  export * from './withInstallFunction';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ function makeMap(str) {
4
+ const map = /* @__PURE__ */ Object.create(null);
5
+ for (const key of str.split(",")) map[key] = 1;
6
+ return (val) => val in map;
7
+ }
8
+ const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
9
+ const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
10
+ const MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";
11
+ const VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
12
+ const isHTMLTag = makeMap(HTML_TAGS);
13
+ const isSVGTag = makeMap(SVG_TAGS);
14
+ const isMathMLTag = makeMap(MATH_TAGS);
15
+ const isVoidTag = makeMap(VOID_TAGS);
16
+ exports.isHTMLTag = isHTMLTag;
17
+ exports.isMathMLTag = isMathMLTag;
18
+ exports.isSVGTag = isSVGTag;
19
+ exports.isVoidTag = isVoidTag;
@@ -0,0 +1,5 @@
1
+ declare const isHTMLTag: (val: string) => boolean;
2
+ declare const isSVGTag: (val: string) => boolean;
3
+ declare const isMathMLTag: (val: string) => boolean;
4
+ declare const isVoidTag: (val: string) => boolean;
5
+ export { isHTMLTag, isSVGTag, isMathMLTag, isVoidTag };
@@ -0,0 +1,19 @@
1
+ function makeMap(str) {
2
+ const map = /* @__PURE__ */ Object.create(null);
3
+ for (const key of str.split(",")) map[key] = 1;
4
+ return (val) => val in map;
5
+ }
6
+ const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
7
+ const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
8
+ const MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";
9
+ const VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
10
+ const isHTMLTag = makeMap(HTML_TAGS);
11
+ const isSVGTag = makeMap(SVG_TAGS);
12
+ const isMathMLTag = makeMap(MATH_TAGS);
13
+ const isVoidTag = makeMap(VOID_TAGS);
14
+ export {
15
+ isHTMLTag,
16
+ isMathMLTag,
17
+ isSVGTag,
18
+ isVoidTag
19
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.1.55",
4
+ "version": "0.1.57",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -24,20 +24,19 @@
24
24
  "fangui": "bin/fang-ui.js"
25
25
  },
26
26
  "dependencies": {
27
- "@fangzhongya/utils": "0.0.59"
27
+ "@fangzhongya/utils": "0.0.73"
28
28
  },
29
29
  "devDependencies": {
30
- "@fangzhongya/create": "0.2.43",
30
+ "@fangzhongya/create": "0.2.50",
31
31
  "@types/node": "^25.0.3",
32
32
  "@types/sortablejs": "1.15.9",
33
33
  "@vitejs/plugin-vue": "^6.0.3",
34
- "@vue/shared": "3.5.25",
35
34
  "axios": "^1.13.2",
36
35
  "d3-timer": "3.0.1",
37
- "element-plus": "^2.12.0",
36
+ "element-plus": "^2.13.0",
38
37
  "fast-glob": "^3.3.3",
39
38
  "json5": "2.2.3",
40
- "sass": "^1.97.0",
39
+ "sass": "^1.97.2",
41
40
  "sortablejs": "1.15.6",
42
41
  "ts-node": "^10.9.2",
43
42
  "tsup": "^8.5.1",
@@ -48,16 +47,16 @@
48
47
  "vite": "^6.3.5",
49
48
  "vitepress": "1.6.4",
50
49
  "vitest": "^4.0.16",
51
- "vue": "^3.5.25",
52
- "vue-tsc": "^3.1.8",
50
+ "vue": "^3.5.26",
51
+ "vue-tsc": "^3.2.2",
53
52
  "vxe-table": "4.6.20",
54
- "@fang-ui/hooks": "0.0.1-0",
55
53
  "@fang-ui/components": "0.0.1-0",
56
54
  "@fang-ui/directives": "0.0.1-0",
57
- "@fang-ui/theme": "0.0.1-0",
58
- "@fang-ui/utils": "0.0.1-0",
55
+ "@fang-ui/hooks": "0.0.1-0",
59
56
  "@fang-ui/icons": "0.0.1-0",
60
57
  "@fang-ui/locale": "0.0.1-0",
58
+ "@fang-ui/theme": "0.0.1-0",
59
+ "@fang-ui/utils": "0.0.1-0",
61
60
  "@fang-ui/types": "0.0.1-0"
62
61
  },
63
62
  "main": "./dist/index.cjs",
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const _export_sfc = (sfc, props) => {
4
- const target = sfc.__vccOpts || sfc;
5
- for (const [key, val] of props) {
6
- target[key] = val;
7
- }
8
- return target;
9
- };
10
- exports.default = _export_sfc;
@@ -1,10 +0,0 @@
1
- const _export_sfc = (sfc, props) => {
2
- const target = sfc.__vccOpts || sfc;
3
- for (const [key, val] of props) {
4
- target[key] = val;
5
- }
6
- return target;
7
- };
8
- export {
9
- _export_sfc as default
10
- };
File without changes