@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.
- package/dist/components/dates/index.css +1 -0
- package/dist/components/dates/index.scss +1 -0
- package/dist/components/forms/src/data.cjs +12 -12
- package/dist/components/forms/src/data.d.ts +17 -17
- package/dist/components/forms/src/data.js +12 -12
- package/dist/components/forms/src/index.cjs +5 -5
- package/dist/components/forms/src/index.d.ts +5 -5
- package/dist/components/forms/src/index.js +5 -5
- package/dist/components/index.cjs +98 -96
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +1 -0
- package/dist/components/page/style/index2.scss +1 -1
- package/dist/components/seamless-scroll/index.cjs +8 -0
- package/dist/components/seamless-scroll/index.css +30 -0
- package/dist/components/seamless-scroll/index.d.ts +118 -0
- package/dist/components/seamless-scroll/index.js +8 -0
- package/dist/components/seamless-scroll/index.scss +19 -0
- package/dist/components/seamless-scroll/src/data.cjs +34 -0
- package/dist/components/seamless-scroll/src/data.d.ts +44 -0
- package/dist/components/seamless-scroll/src/data.js +34 -0
- package/dist/components/seamless-scroll/src/index.cjs +148 -0
- package/dist/components/seamless-scroll/src/index.d.ts +80 -0
- package/dist/components/seamless-scroll/src/index.js +148 -0
- package/dist/components/seamless-scroll/src/index2.cjs +4 -0
- package/dist/components/seamless-scroll/src/index2.js +4 -0
- package/dist/expand/{chunk-XJ2UIJNI.js → chunk-IMQMZ66E.js} +1 -0
- package/dist/expand/{chunk-JOH5MZT3.cjs → chunk-KYVOOBKQ.cjs} +1 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/index.cjs +116 -114
- package/dist/index.css +18 -0
- package/dist/index.js +2 -0
- package/dist/type.d.ts +2 -0
- package/package.json +8 -7
- /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
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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 {
|
package/dist/expand/config.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKYVOOBKQcjs = require('./chunk-KYVOOBKQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.default =
|
|
6
|
+
exports.default = _chunkKYVOOBKQcjs.config_default;
|
package/dist/expand/config.js
CHANGED
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$
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
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/
|
|
72
|
-
const index$13 = require("./components/stick-
|
|
73
|
-
const index$14 = require("./components/stick-
|
|
74
|
-
const index$15 = require("./components/window/index.cjs");
|
|
75
|
-
const index$16 = require("./components/
|
|
76
|
-
const index$17 = require("./components/
|
|
77
|
-
const index$18 = require("./components/icon/index.cjs");
|
|
78
|
-
const index$19 = require("./components/
|
|
79
|
-
const index$1a = require("./components/
|
|
80
|
-
const index$1b = require("./components/
|
|
81
|
-
const index$1c = require("./components/
|
|
82
|
-
const index$1d = require("./components/
|
|
83
|
-
const index$1e = require("./components/
|
|
84
|
-
const index$1f = require("./components/
|
|
85
|
-
const index$1g = require("./components/
|
|
86
|
-
const index$1h = require("./components/
|
|
87
|
-
const index$1i = require("./components/select
|
|
88
|
-
const index$1j = require("./components/select-
|
|
89
|
-
const index$1k = require("./components/
|
|
90
|
-
const index$1l = require("./components/
|
|
91
|
-
const index$1m = require("./components/
|
|
92
|
-
const index$1n = require("./components/
|
|
93
|
-
const index$1o = require("./components/
|
|
94
|
-
const index$1p = require("./components/
|
|
95
|
-
const index$1q = require("./components/
|
|
96
|
-
const index$1r = require("./components/dates-
|
|
97
|
-
const index$1s = require("./components/dates/index.cjs");
|
|
98
|
-
const index$1t = require("./components/
|
|
99
|
-
const index$1u = require("./components/edit/index.cjs");
|
|
100
|
-
const index$1v = require("./components/
|
|
101
|
-
const index$1w = require("./components/
|
|
102
|
-
const index$1x = require("./components/
|
|
103
|
-
const index$1y = require("./components/input-
|
|
104
|
-
const index$1z = require("./components/input-
|
|
105
|
-
const index$1A = require("./components/input-
|
|
106
|
-
const index$1B = require("./components/
|
|
107
|
-
const index$1C = require("./components/
|
|
108
|
-
const index$1D = require("./components/
|
|
109
|
-
const index$1E = require("./components/
|
|
110
|
-
const index$1F = require("./components/
|
|
111
|
-
const index$1G = require("./components/
|
|
112
|
-
const index$1H = require("./components/
|
|
113
|
-
const index$1I = require("./components/
|
|
114
|
-
const index$1J = require("./components/
|
|
115
|
-
const index$1K = require("./components/
|
|
116
|
-
const index$1L = require("./components/
|
|
117
|
-
const index$1M = require("./components/
|
|
118
|
-
const index$1N = require("./components/
|
|
119
|
-
const index$1O = require("./
|
|
120
|
-
const index$1P = require("./directives/
|
|
121
|
-
const index$1Q = require("./directives/
|
|
122
|
-
const index$1R = require("./directives/
|
|
123
|
-
const index$1S = require("./directives/
|
|
124
|
-
const index$1T = require("./directives/
|
|
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$
|
|
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$
|
|
134
|
+
const dire = index$1W;
|
|
134
135
|
Object.keys(dire).forEach((key) => {
|
|
135
136
|
app.directive(key, dire[key]);
|
|
136
137
|
});
|
|
137
|
-
index$
|
|
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.
|
|
207
|
-
exports.
|
|
208
|
-
exports.
|
|
209
|
-
exports.
|
|
210
|
-
exports.
|
|
211
|
-
exports.
|
|
212
|
-
exports.
|
|
213
|
-
exports.
|
|
214
|
-
exports.
|
|
215
|
-
exports.
|
|
216
|
-
exports.
|
|
217
|
-
exports.
|
|
218
|
-
exports.
|
|
219
|
-
exports.
|
|
220
|
-
exports.
|
|
221
|
-
exports.
|
|
222
|
-
exports.
|
|
223
|
-
exports.
|
|
224
|
-
exports.
|
|
225
|
-
exports.
|
|
226
|
-
exports.
|
|
227
|
-
exports.
|
|
228
|
-
exports.
|
|
229
|
-
exports.
|
|
230
|
-
exports.
|
|
231
|
-
exports.
|
|
232
|
-
exports.
|
|
233
|
-
exports.
|
|
234
|
-
exports.
|
|
235
|
-
exports.
|
|
236
|
-
exports.
|
|
237
|
-
exports.
|
|
238
|
-
exports.
|
|
239
|
-
exports.
|
|
240
|
-
exports.
|
|
241
|
-
exports.
|
|
242
|
-
exports.
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
245
|
-
exports.
|
|
246
|
-
exports.
|
|
247
|
-
exports.
|
|
248
|
-
exports.
|
|
249
|
-
exports.
|
|
250
|
-
exports.
|
|
251
|
-
exports.
|
|
252
|
-
exports.
|
|
253
|
-
exports.
|
|
254
|
-
exports.
|
|
255
|
-
exports.
|
|
256
|
-
exports.
|
|
257
|
-
exports.
|
|
258
|
-
exports.
|
|
259
|
-
exports.
|
|
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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|