@fangzhongya/fang-ui 0.0.32 → 0.0.34

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 (38) hide show
  1. package/dist/components/dates/index.css +1 -0
  2. package/dist/components/dates/index.scss +1 -0
  3. package/dist/components/forms/src/data.cjs +12 -12
  4. package/dist/components/forms/src/data.d.ts +17 -17
  5. package/dist/components/forms/src/data.js +12 -12
  6. package/dist/components/forms/src/index.cjs +5 -5
  7. package/dist/components/forms/src/index.d.ts +5 -5
  8. package/dist/components/forms/src/index.js +5 -5
  9. package/dist/components/index.cjs +98 -96
  10. package/dist/components/index.d.ts +1 -0
  11. package/dist/components/index.js +2 -0
  12. package/dist/components/index.scss +1 -0
  13. package/dist/components/page/style/index2.scss +1 -1
  14. package/dist/components/seamless-scroll/index.cjs +8 -0
  15. package/dist/components/seamless-scroll/index.css +30 -0
  16. package/dist/components/seamless-scroll/index.d.ts +118 -0
  17. package/dist/components/seamless-scroll/index.js +8 -0
  18. package/dist/components/seamless-scroll/index.scss +19 -0
  19. package/dist/components/seamless-scroll/src/data.cjs +34 -0
  20. package/dist/components/seamless-scroll/src/data.d.ts +44 -0
  21. package/dist/components/seamless-scroll/src/data.js +34 -0
  22. package/dist/components/seamless-scroll/src/index.cjs +148 -0
  23. package/dist/components/seamless-scroll/src/index.d.ts +80 -0
  24. package/dist/components/seamless-scroll/src/index.js +148 -0
  25. package/dist/components/seamless-scroll/src/index2.cjs +4 -0
  26. package/dist/components/seamless-scroll/src/index2.js +4 -0
  27. package/dist/expand/{chunk-XJ2UIJNI.js → chunk-IMQMZ66E.js} +1 -0
  28. package/dist/expand/{chunk-JOH5MZT3.cjs → chunk-KYVOOBKQ.cjs} +1 -0
  29. package/dist/expand/components.cjs +5 -5
  30. package/dist/expand/components.js +1 -1
  31. package/dist/expand/config.cjs +2 -2
  32. package/dist/expand/config.js +1 -1
  33. package/dist/index.cjs +116 -114
  34. package/dist/index.css +18 -0
  35. package/dist/index.js +2 -0
  36. package/dist/type.d.ts +2 -0
  37. package/package.json +8 -7
  38. /package/dist/components/{form → pagination}/index.css +0 -0
@@ -0,0 +1,148 @@
1
+ import { defineComponent, ref, onMounted, nextTick, onUnmounted, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, Fragment, renderList, createBlock, KeepAlive, createCommentVNode, renderSlot } from "vue";
2
+ import { dataEmits, dataProps, dataExpose } from "./data.js";
3
+ import { useCssName } from "../../../hooks/cssname/index.js";
4
+ import { timer } from "d3-timer";
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "index",
7
+ props: dataProps,
8
+ emits: dataEmits,
9
+ setup(__props, { expose: __expose, emit: __emit }) {
10
+ const cs = useCssName("seamless-scroll");
11
+ const props = __props;
12
+ const loopCount = ref(new Array(5));
13
+ let ties = null;
14
+ let tWatch = null;
15
+ const refDom = ref();
16
+ const refLine = ref();
17
+ const refWarp = ref();
18
+ let parentHeight = ref(0);
19
+ const createTimer = (handle, fps = 32) => new Promise((resolve, reject) => {
20
+ resolve(
21
+ timer(() => {
22
+ try {
23
+ handle();
24
+ } catch (err) {
25
+ reject(err);
26
+ }
27
+ }, 1e3 / fps)
28
+ );
29
+ });
30
+ const getTime = () => (/* @__PURE__ */ new Date()).getTime();
31
+ const val = ref();
32
+ const currentFps = ref(60);
33
+ let animation = true;
34
+ let lastTime = getTime();
35
+ const onStop = () => animation = false;
36
+ const onPlay = () => {
37
+ animation = true;
38
+ lastTime = getTime();
39
+ };
40
+ const hideItemsIndex = ref([]);
41
+ onMounted(() => {
42
+ nextTick(() => {
43
+ refDom.value.addEventListener("mouseover", onStop);
44
+ refDom.value.addEventListener("mouseout", onPlay);
45
+ const parentElementRect = refDom.value.parentElement.getBoundingClientRect();
46
+ parentHeight.value = parentElementRect.height;
47
+ let warpLineHeight = refLine.value[0].getBoundingClientRect().height;
48
+ let lastY = -warpLineHeight;
49
+ let translateY = -warpLineHeight;
50
+ loopCount.value = new Array(
51
+ Math.ceil(parentHeight.value / warpLineHeight) * 3
52
+ );
53
+ createTimer(() => {
54
+ if (!animation && props.pauseOnHover) {
55
+ return;
56
+ }
57
+ const limitHeight = props.reverse ? -warpLineHeight * (loopCount.value.length / 3) : -warpLineHeight * (loopCount.value.length / 3 * 2);
58
+ const currentTime = getTime();
59
+ currentFps.value = Math.ceil(1e3 / (currentTime - lastTime));
60
+ const len = (currentTime - lastTime) * (props.stepLength / 1e3);
61
+ lastTime = currentTime;
62
+ translateY += (props.reverse ? 1 : -1) * len;
63
+ if (props.reverse) {
64
+ translateY = translateY > limitHeight ? -(warpLineHeight + Math.abs(translateY % warpLineHeight)) : translateY;
65
+ } else {
66
+ translateY = translateY < limitHeight ? Math.sign(translateY) * (Math.abs(translateY % warpLineHeight) + warpLineHeight) : translateY;
67
+ }
68
+ val.value = translateY;
69
+ refWarp.value.style.setProperty(
70
+ "transform",
71
+ `translate3d(0px ,${translateY}px,0px)`
72
+ );
73
+ lastY = translateY;
74
+ const indexs = [];
75
+ refLine.value.forEach((item, i) => {
76
+ let currenRect = refLine.value[i].getBoundingClientRect();
77
+ let parentElementRect2 = refDom.value.parentElement.getBoundingClientRect();
78
+ if (currenRect.y + currenRect.height < parentElementRect2.y || currenRect.y > parentElementRect2.y + parentElementRect2.height) {
79
+ indexs.push(i);
80
+ } else {
81
+ indexs.splice(hideItemsIndex.value.indexOf(i), 1);
82
+ }
83
+ });
84
+ hideItemsIndex.value = indexs;
85
+ }).then((timer2) => {
86
+ ties = timer2;
87
+ }).catch((err) => {
88
+ console.error(err);
89
+ });
90
+ createTimer(() => {
91
+ parentHeight.value = refDom.value.parentElement.getBoundingClientRect().height;
92
+ warpLineHeight = refLine.value[0].getBoundingClientRect().height;
93
+ loopCount.value = new Array(
94
+ Math.ceil(parentHeight.value / warpLineHeight) * 3
95
+ );
96
+ }).then((timer2) => {
97
+ tWatch = timer2;
98
+ }).catch((err) => {
99
+ console.error(err);
100
+ });
101
+ });
102
+ });
103
+ onUnmounted(() => {
104
+ ties?.stop();
105
+ tWatch?.stop();
106
+ if (refDom.value) {
107
+ refDom.value.removeEventListener("mouseover", onStop);
108
+ refDom.value.removeEventListener("mouseout", onPlay);
109
+ }
110
+ });
111
+ __expose({
112
+ ...dataExpose
113
+ });
114
+ return (_ctx, _cache) => {
115
+ return openBlock(), createElementBlock("div", {
116
+ ref_key: "refDom",
117
+ ref: refDom,
118
+ class: normalizeClass(unref(cs).z()),
119
+ style: normalizeStyle({ height: unref(parentHeight) + "px" })
120
+ }, [
121
+ createElementVNode("div", {
122
+ ref_key: "refWarp",
123
+ ref: refWarp,
124
+ class: normalizeClass(unref(cs).z("warp"))
125
+ }, [
126
+ (openBlock(true), createElementBlock(Fragment, null, renderList(loopCount.value.length, (i) => {
127
+ return openBlock(), createBlock(KeepAlive, {
128
+ key: "ss_" + i
129
+ }, [
130
+ !hideItemsIndex.value.includes(i) ? (openBlock(), createElementBlock("div", {
131
+ key: 0,
132
+ ref_for: true,
133
+ ref_key: "refLine",
134
+ ref: refLine,
135
+ class: normalizeClass(unref(cs).z("warp-line"))
136
+ }, [
137
+ renderSlot(_ctx.$slots, "default")
138
+ ], 2)) : createCommentVNode("", true)
139
+ ], 1024);
140
+ }), 128))
141
+ ], 2)
142
+ ], 6);
143
+ };
144
+ }
145
+ });
146
+ export {
147
+ _sfc_main as default
148
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const index_vue_vue_type_script_setup_true_lang = require("./index.cjs");
4
+ exports.default = index_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./index.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -65,6 +65,7 @@ var config_default = {
65
65
  "box-title",
66
66
  "popup",
67
67
  "right-key",
68
+ "seamless-scroll",
68
69
  "stick-div",
69
70
  "stick-edge",
70
71
  "stick-window",
@@ -65,6 +65,7 @@ var config_default = {
65
65
  "box-title",
66
66
  "popup",
67
67
  "right-key",
68
+ "seamless-scroll",
68
69
  "stick-div",
69
70
  "stick-edge",
70
71
  "stick-window",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJOH5MZT3cjs = require('./chunk-JOH5MZT3.cjs');
3
+ var _chunkKYVOOBKQcjs = require('./chunk-KYVOOBKQ.cjs');
4
4
 
5
5
  // expand/components.ts
6
6
  var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
@@ -29,11 +29,11 @@ function namefilter(c, name) {
29
29
  function getFrom(mc, type) {
30
30
  const filename = mc.replace(new RegExp("^" + config.prefix + "-"), "");
31
31
  if (type == 1) {
32
- if (_chunkJOH5MZT3cjs.config_default.components.includes(filename)) {
32
+ if (_chunkKYVOOBKQcjs.config_default.components.includes(filename)) {
33
33
  const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
34
34
  const from = `${config.name}/components/${filename}/index`;
35
35
  let sideEffects;
36
- if (_chunkJOH5MZT3cjs.config_default.sideEffects.includes(filename)) {
36
+ if (_chunkKYVOOBKQcjs.config_default.sideEffects.includes(filename)) {
37
37
  sideEffects = `${config.name}/components/${filename}/index.scss`;
38
38
  }
39
39
  return {
@@ -45,14 +45,14 @@ function getFrom(mc, type) {
45
45
  return;
46
46
  }
47
47
  } else {
48
- if (_chunkJOH5MZT3cjs.config_default.directives.includes(filename)) {
48
+ if (_chunkKYVOOBKQcjs.config_default.directives.includes(filename)) {
49
49
  const name = "default";
50
50
  const from = `${config.name}/directives/${filename}/index`;
51
51
  return {
52
52
  name,
53
53
  from
54
54
  };
55
- } else if (_chunkJOH5MZT3cjs.config_default.directives.includes("v-" + filename)) {
55
+ } else if (_chunkKYVOOBKQcjs.config_default.directives.includes("v-" + filename)) {
56
56
  const name = "default";
57
57
  const from = `${config.name}/directives/${"v-" + filename}/index`;
58
58
  return {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-XJ2UIJNI.js";
3
+ } from "./chunk-IMQMZ66E.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 _chunkJOH5MZT3cjs = require('./chunk-JOH5MZT3.cjs');
3
+ var _chunkKYVOOBKQcjs = require('./chunk-KYVOOBKQ.cjs');
4
4
 
5
5
 
6
- exports.default = _chunkJOH5MZT3cjs.config_default;
6
+ exports.default = _chunkKYVOOBKQcjs.config_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-XJ2UIJNI.js";
3
+ } from "./chunk-IMQMZ66E.js";
4
4
  export {
5
5
  config_default as default
6
6
  };
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const index$1U = require("./components/index.cjs");
4
- const index$1V = require("./directives/index.cjs");
5
- const index$1W = require("./icons/index.cjs");
3
+ const index$1V = require("./components/index.cjs");
4
+ const index$1W = require("./directives/index.cjs");
5
+ const index$1X = require("./icons/index.cjs");
6
6
  const index$i = require("./components/loading/index.cjs");
7
7
  const index$j = require("./components/loading/src/index.cjs");
8
8
  const index$1 = require("./components/cs-config/index.cjs");
@@ -68,73 +68,74 @@ const index$_ = require("./components/box-title/index.cjs");
68
68
  const index$$ = require("./components/box/index.cjs");
69
69
  const index$10 = require("./components/popup/index.cjs");
70
70
  const index$11 = require("./components/right-key/index.cjs");
71
- const index$12 = require("./components/stick-div/index.cjs");
72
- const index$13 = require("./components/stick-edge/index.cjs");
73
- const index$14 = require("./components/stick-window/index.cjs");
74
- const index$15 = require("./components/window/index.cjs");
75
- const index$16 = require("./components/global-config/index.cjs");
76
- const index$17 = require("./components/icon-picker/index.cjs");
77
- const index$18 = require("./components/icon/index.cjs");
78
- const index$19 = require("./components/iframe/index.cjs");
79
- const index$1a = require("./components/lists/index.cjs");
80
- const index$1b = require("./components/menus/index.cjs");
81
- const index$1c = require("./components/page/index.cjs");
82
- const index$1d = require("./components/retract/index.cjs");
83
- const index$1e = require("./components/choice-select/index.cjs");
84
- const index$1f = require("./components/company-select/index.cjs");
85
- const index$1g = require("./components/department-select/index.cjs");
86
- const index$1h = require("./components/role-select/index.cjs");
87
- const index$1i = require("./components/select-dialog/index.cjs");
88
- const index$1j = require("./components/select-popover/index.cjs");
89
- const index$1k = require("./components/tree-select-box/index.cjs");
90
- const index$1l = require("./components/user-select/index.cjs");
91
- const index$1m = require("./components/array/index.cjs");
92
- const index$1n = require("./components/buttons/index.cjs");
93
- const index$1o = require("./components/cascaders/index.cjs");
94
- const index$1p = require("./components/checks/index.cjs");
95
- const index$1q = require("./components/dates-divide/index.cjs");
96
- const index$1r = require("./components/dates-picker/index.cjs");
97
- const index$1s = require("./components/dates/index.cjs");
98
- const index$1t = require("./components/edit-float/index.cjs");
99
- const index$1u = require("./components/edit/index.cjs");
100
- const index$1v = require("./components/history/index.cjs");
101
- const index$1w = require("./components/images/index.cjs");
102
- const index$1x = require("./components/input-array/index.cjs");
103
- const index$1y = require("./components/input-history/index.cjs");
104
- const index$1z = require("./components/input-num/index.cjs");
105
- const index$1A = require("./components/input-select/index.cjs");
106
- const index$1B = require("./components/inputs/index.cjs");
107
- const index$1C = require("./components/labels/index.cjs");
108
- const index$1D = require("./components/select-scroll/index.cjs");
109
- const index$1E = require("./components/selector/index.cjs");
110
- const index$1F = require("./components/selects/index.cjs");
111
- const index$1G = require("./components/switchs/index.cjs");
112
- const index$1H = require("./components/text/index.cjs");
113
- const index$1I = require("./components/paging/index.cjs");
114
- const index$1J = require("./components/tables/index.cjs");
115
- const index$1K = require("./components/tablesp/index.cjs");
116
- const index$1L = require("./components/tabless/index.cjs");
117
- const index$1M = require("./components/tablesv/index.cjs");
118
- const index$1N = require("./components/tablesvp/index.cjs");
119
- const index$1O = require("./directives/adjust/index.cjs");
120
- const index$1P = require("./directives/drag/index.cjs");
121
- const index$1Q = require("./directives/expose/index.cjs");
122
- const index$1R = require("./directives/locus/index.cjs");
123
- const index$1S = require("./directives/scroll/index.cjs");
124
- const index$1T = require("./directives/stick/index.cjs");
71
+ const index$12 = require("./components/seamless-scroll/index.cjs");
72
+ const index$13 = require("./components/stick-div/index.cjs");
73
+ const index$14 = require("./components/stick-edge/index.cjs");
74
+ const index$15 = require("./components/stick-window/index.cjs");
75
+ const index$16 = require("./components/window/index.cjs");
76
+ const index$17 = require("./components/global-config/index.cjs");
77
+ const index$18 = require("./components/icon-picker/index.cjs");
78
+ const index$19 = require("./components/icon/index.cjs");
79
+ const index$1a = require("./components/iframe/index.cjs");
80
+ const index$1b = require("./components/lists/index.cjs");
81
+ const index$1c = require("./components/menus/index.cjs");
82
+ const index$1d = require("./components/page/index.cjs");
83
+ const index$1e = require("./components/retract/index.cjs");
84
+ const index$1f = require("./components/choice-select/index.cjs");
85
+ const index$1g = require("./components/company-select/index.cjs");
86
+ const index$1h = require("./components/department-select/index.cjs");
87
+ const index$1i = require("./components/role-select/index.cjs");
88
+ const index$1j = require("./components/select-dialog/index.cjs");
89
+ const index$1k = require("./components/select-popover/index.cjs");
90
+ const index$1l = require("./components/tree-select-box/index.cjs");
91
+ const index$1m = require("./components/user-select/index.cjs");
92
+ const index$1n = require("./components/array/index.cjs");
93
+ const index$1o = require("./components/buttons/index.cjs");
94
+ const index$1p = require("./components/cascaders/index.cjs");
95
+ const index$1q = require("./components/checks/index.cjs");
96
+ const index$1r = require("./components/dates-divide/index.cjs");
97
+ const index$1s = require("./components/dates-picker/index.cjs");
98
+ const index$1t = require("./components/dates/index.cjs");
99
+ const index$1u = require("./components/edit-float/index.cjs");
100
+ const index$1v = require("./components/edit/index.cjs");
101
+ const index$1w = require("./components/history/index.cjs");
102
+ const index$1x = require("./components/images/index.cjs");
103
+ const index$1y = require("./components/input-array/index.cjs");
104
+ const index$1z = require("./components/input-history/index.cjs");
105
+ const index$1A = require("./components/input-num/index.cjs");
106
+ const index$1B = require("./components/input-select/index.cjs");
107
+ const index$1C = require("./components/inputs/index.cjs");
108
+ const index$1D = require("./components/labels/index.cjs");
109
+ const index$1E = require("./components/select-scroll/index.cjs");
110
+ const index$1F = require("./components/selector/index.cjs");
111
+ const index$1G = require("./components/selects/index.cjs");
112
+ const index$1H = require("./components/switchs/index.cjs");
113
+ const index$1I = require("./components/text/index.cjs");
114
+ const index$1J = require("./components/paging/index.cjs");
115
+ const index$1K = require("./components/tables/index.cjs");
116
+ const index$1L = require("./components/tablesp/index.cjs");
117
+ const index$1M = require("./components/tabless/index.cjs");
118
+ const index$1N = require("./components/tablesv/index.cjs");
119
+ const index$1O = require("./components/tablesvp/index.cjs");
120
+ const index$1P = require("./directives/adjust/index.cjs");
121
+ const index$1Q = require("./directives/drag/index.cjs");
122
+ const index$1R = require("./directives/expose/index.cjs");
123
+ const index$1S = require("./directives/locus/index.cjs");
124
+ const index$1T = require("./directives/scroll/index.cjs");
125
+ const index$1U = require("./directives/stick/index.cjs");
125
126
  const index = {
126
127
  install: function(app) {
127
- const com = index$1U;
128
+ const com = index$1V;
128
129
  Object.keys(com).forEach((key) => {
129
130
  if (com[key].install) {
130
131
  com[key].install(app);
131
132
  }
132
133
  });
133
- const dire = index$1V;
134
+ const dire = index$1W;
134
135
  Object.keys(dire).forEach((key) => {
135
136
  app.directive(key, dire[key]);
136
137
  });
137
- index$1W.default(app);
138
+ index$1X.default(app);
138
139
  }
139
140
  };
140
141
  exports.Loading = index$i.Loading;
@@ -203,58 +204,59 @@ exports.BoxTitle = index$_.BoxTitle;
203
204
  exports.Box = index$$.Box;
204
205
  exports.Popup = index$10.Popup;
205
206
  exports.RightKey = index$11.RightKey;
206
- exports.StickDiv = index$12.StickDiv;
207
- exports.StickEdge = index$13.StickEdge;
208
- exports.StickWindow = index$14.StickWindow;
209
- exports.Window = index$15.Window;
210
- exports.GlobalConfig = index$16.GlobalConfig;
211
- exports.IconPicker = index$17.IconPicker;
212
- exports.Icon = index$18.Icon;
213
- exports.Iframe = index$19.Iframe;
214
- exports.Lists = index$1a.Lists;
215
- exports.Menus = index$1b.Menus;
216
- exports.Page = index$1c.Page;
217
- exports.Retract = index$1d.Retract;
218
- exports.ChoiceSelect = index$1e.ChoiceSelect;
219
- exports.CompanySelect = index$1f.CompanySelect;
220
- exports.DepartmentSelect = index$1g.DepartmentSelect;
221
- exports.RoleSelect = index$1h.RoleSelect;
222
- exports.SelectDialog = index$1i.SelectDialog;
223
- exports.SelectPopover = index$1j.SelectPopover;
224
- exports.TreeSelectBox = index$1k.TreeSelectBox;
225
- exports.UserSelect = index$1l.UserSelect;
226
- exports.Array = index$1m.Array;
227
- exports.Buttons = index$1n.Buttons;
228
- exports.Cascaders = index$1o.Cascaders;
229
- exports.Checks = index$1p.Checks;
230
- exports.DatesDivide = index$1q.DatesDivide;
231
- exports.DatesPicker = index$1r.DatesPicker;
232
- exports.Dates = index$1s.Dates;
233
- exports.EditFloat = index$1t.EditFloat;
234
- exports.Edit = index$1u.Edit;
235
- exports.History = index$1v.History;
236
- exports.Images = index$1w.Images;
237
- exports.InputArray = index$1x.InputArray;
238
- exports.InputHistory = index$1y.InputHistory;
239
- exports.InputNum = index$1z.InputNum;
240
- exports.InputSelect = index$1A.InputSelect;
241
- exports.Inputs = index$1B.Inputs;
242
- exports.Labels = index$1C.Labels;
243
- exports.SelectScroll = index$1D.SelectScroll;
244
- exports.Selector = index$1E.Selector;
245
- exports.Selects = index$1F.Selects;
246
- exports.Switchs = index$1G.Switchs;
247
- exports.Text = index$1H.Text;
248
- exports.Paging = index$1I.Paging;
249
- exports.Tables = index$1J.Tables;
250
- exports.Tablesp = index$1K.Tablesp;
251
- exports.Tabless = index$1L.Tabless;
252
- exports.Tablesv = index$1M.Tablesv;
253
- exports.Tablesvp = index$1N.Tablesvp;
254
- exports.Adjust = index$1O.default;
255
- exports.Drag = index$1P.default;
256
- exports.Expose = index$1Q.default;
257
- exports.Locus = index$1R.default;
258
- exports.Scroll = index$1S.default;
259
- exports.Stick = index$1T.default;
207
+ exports.SeamlessScroll = index$12.SeamlessScroll;
208
+ exports.StickDiv = index$13.StickDiv;
209
+ exports.StickEdge = index$14.StickEdge;
210
+ exports.StickWindow = index$15.StickWindow;
211
+ exports.Window = index$16.Window;
212
+ exports.GlobalConfig = index$17.GlobalConfig;
213
+ exports.IconPicker = index$18.IconPicker;
214
+ exports.Icon = index$19.Icon;
215
+ exports.Iframe = index$1a.Iframe;
216
+ exports.Lists = index$1b.Lists;
217
+ exports.Menus = index$1c.Menus;
218
+ exports.Page = index$1d.Page;
219
+ exports.Retract = index$1e.Retract;
220
+ exports.ChoiceSelect = index$1f.ChoiceSelect;
221
+ exports.CompanySelect = index$1g.CompanySelect;
222
+ exports.DepartmentSelect = index$1h.DepartmentSelect;
223
+ exports.RoleSelect = index$1i.RoleSelect;
224
+ exports.SelectDialog = index$1j.SelectDialog;
225
+ exports.SelectPopover = index$1k.SelectPopover;
226
+ exports.TreeSelectBox = index$1l.TreeSelectBox;
227
+ exports.UserSelect = index$1m.UserSelect;
228
+ exports.Array = index$1n.Array;
229
+ exports.Buttons = index$1o.Buttons;
230
+ exports.Cascaders = index$1p.Cascaders;
231
+ exports.Checks = index$1q.Checks;
232
+ exports.DatesDivide = index$1r.DatesDivide;
233
+ exports.DatesPicker = index$1s.DatesPicker;
234
+ exports.Dates = index$1t.Dates;
235
+ exports.EditFloat = index$1u.EditFloat;
236
+ exports.Edit = index$1v.Edit;
237
+ exports.History = index$1w.History;
238
+ exports.Images = index$1x.Images;
239
+ exports.InputArray = index$1y.InputArray;
240
+ exports.InputHistory = index$1z.InputHistory;
241
+ exports.InputNum = index$1A.InputNum;
242
+ exports.InputSelect = index$1B.InputSelect;
243
+ exports.Inputs = index$1C.Inputs;
244
+ exports.Labels = index$1D.Labels;
245
+ exports.SelectScroll = index$1E.SelectScroll;
246
+ exports.Selector = index$1F.Selector;
247
+ exports.Selects = index$1G.Selects;
248
+ exports.Switchs = index$1H.Switchs;
249
+ exports.Text = index$1I.Text;
250
+ exports.Paging = index$1J.Paging;
251
+ exports.Tables = index$1K.Tables;
252
+ exports.Tablesp = index$1L.Tablesp;
253
+ exports.Tabless = index$1M.Tabless;
254
+ exports.Tablesv = index$1N.Tablesv;
255
+ exports.Tablesvp = index$1O.Tablesvp;
256
+ exports.Adjust = index$1P.default;
257
+ exports.Drag = index$1Q.default;
258
+ exports.Expose = index$1R.default;
259
+ exports.Locus = index$1S.default;
260
+ exports.Scroll = index$1T.default;
261
+ exports.Stick = index$1U.default;
260
262
  exports.default = index;
package/dist/index.css CHANGED
@@ -312,6 +312,23 @@
312
312
  margin-right: 10px;
313
313
  }
314
314
 
315
+ .seamless-scroll {
316
+ position: relative;
317
+ overflow: hidden;
318
+ padding: 0;
319
+ margin: 0;
320
+ transition: 0s;
321
+ }
322
+ .seamless-scroll .seamless-scroll-warp-line,
323
+ .seamless-scroll .seamless-scroll-warp {
324
+ padding: 0;
325
+ margin: 0;
326
+ transition: 0s;
327
+ overflow: hidden;
328
+ /*border-bottom: transparent 1px solid; !* key code *!*/
329
+ /*box-sizing: border-box;*/
330
+ }
331
+
315
332
  .window {
316
333
  position: fixed;
317
334
  width: 100vw;
@@ -649,6 +666,7 @@
649
666
  .dates dates-date {
650
667
  height: 100%;
651
668
  width: 100%;
669
+ --el-date-editor-width: 100%;
652
670
  box-sizing: border-box;
653
671
  }
654
672
 
package/dist/index.js CHANGED
@@ -66,6 +66,7 @@ import { BoxTitle } from "./components/box-title/index.js";
66
66
  import { Box } from "./components/box/index.js";
67
67
  import { Popup } from "./components/popup/index.js";
68
68
  import { RightKey } from "./components/right-key/index.js";
69
+ import { SeamlessScroll } from "./components/seamless-scroll/index.js";
69
70
  import { StickDiv } from "./components/stick-div/index.js";
70
71
  import { StickEdge } from "./components/stick-edge/index.js";
71
72
  import { StickWindow } from "./components/stick-window/index.js";
@@ -224,6 +225,7 @@ export {
224
225
  RightKey,
225
226
  RoleSelect,
226
227
  default6 as Scroll,
228
+ SeamlessScroll,
227
229
  Select,
228
230
  SelectDialog,
229
231
  SelectPopover,
package/dist/type.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  declare module 'vxe-table/es/*'; // 通配符声明所有子模块
2
2
 
3
+ declare module 'd3-timer';
4
+
3
5
  type ObjAny = {
4
6
  [keys: string]: any;
5
7
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/fang-ui",
3
3
  "private": false,
4
- "version": "0.0.32",
4
+ "version": "0.0.34",
5
5
  "type": "module",
6
6
  "description ": "fang-ui",
7
7
  "keywords": [
@@ -24,14 +24,15 @@
24
24
  "fangui": "bin/fang-ui.js"
25
25
  },
26
26
  "dependencies": {
27
- "@fangzhongya/utils": "0.0.24"
27
+ "@fangzhongya/utils": "0.0.25"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@fangzhongya/create": "0.2.29",
31
31
  "@types/node": "^24.1.0",
32
- "@vitejs/plugin-vue": "^6.0.0",
32
+ "@vitejs/plugin-vue": "^6.0.1",
33
33
  "@vue/shared": "3.5.18",
34
34
  "axios": "^1.11.0",
35
+ "d3-timer": "3.0.1",
35
36
  "element-plus": "^2.10.4",
36
37
  "fast-glob": "^3.3.3",
37
38
  "sass": "^1.89.2",
@@ -47,14 +48,14 @@
47
48
  "vue": "^3.5.18",
48
49
  "vue-tsc": "^3.0.4",
49
50
  "vuedraggable": "4.1.0",
50
- "vxe-table": "4.14.6",
51
+ "vxe-table": "4.14.8",
51
52
  "@fang-ui/components": "0.0.1-0",
52
- "@fang-ui/icons": "0.0.1-0",
53
- "@fang-ui/directives": "0.0.1-0",
54
- "@fang-ui/locale": "0.0.1-0",
55
53
  "@fang-ui/hooks": "0.0.1-0",
56
54
  "@fang-ui/theme": "0.0.1-0",
57
55
  "@fang-ui/types": "0.0.1-0",
56
+ "@fang-ui/directives": "0.0.1-0",
57
+ "@fang-ui/icons": "0.0.1-0",
58
+ "@fang-ui/locale": "0.0.1-0",
58
59
  "@fang-ui/utils": "0.0.1-0"
59
60
  },
60
61
  "main": "./dist/index.cjs",
File without changes