hy-dispatch-ui-v3 0.2.31 → 0.2.33
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/tailwind.css +174 -454
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +4 -4
- package/es/components/hyAudioPlayer/style/audioPlayer.scss +11 -12
- package/es/components/hyButton/button.vue.mjs +112 -65
- package/es/components/hyButton/style/button.scss +291 -233
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -1
- package/es/components/hyForm/form.vue.mjs +2 -1
- package/es/components/hyForm/index.mjs +1 -1
- package/es/components/hyForm/js/useAppForm.mjs +1 -2
- package/es/components/hyForm/style/form.scss +56 -54
- package/es/components/hyIcon/style/icon.scss +1 -1
- package/es/components/hyIconBox/style/iconBox.scss +19 -18
- package/es/components/hyInput/input.vue.mjs +4 -1
- package/es/components/hyMenu/menu.vue.mjs +1 -1
- package/es/components/hyMenu/style/menu.scss +1 -1
- package/es/components/hySearch/index.mjs +1 -1
- package/es/components/hySearch/style/search.scss +50 -50
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +342 -319
- package/es/components/hyTable/js/index.mjs +19 -3
- package/es/components/hyTable/js/useAppTable.mjs +1 -1
- package/es/components/hyTable/table.vue.mjs +31 -11
- package/es/components/hyTableForm/batchTableForm.vue.mjs +478 -0
- package/es/components/hyTableForm/index.mjs +4 -1
- package/es/components/hyTableForm/js/index.mjs +123 -0
- package/es/components/hyTableForm/js/useAppTableForm.mjs +47 -0
- package/es/components/hyTableForm/style/batchTableForm.scss +127 -0
- package/es/components/hyTableForm/style/tableForm.scss +42 -0
- package/es/components/hyTableForm/tableForm.vue.mjs +452 -7
- package/es/components/hyTooltip/tooltip.vue.mjs +2 -2
- package/es/components/hyVideoPlayer/cpns/mediaLoading.vue.mjs +1 -1
- package/es/components/hyVideoPlayer/style/mediaLoading.scss +5 -5
- package/es/components/hyVideoPlayer/style/videoPlayer.scss +7 -6
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +6 -6
- package/es/components/index.mjs +4 -3
- package/es/index.mjs +4 -3
- package/es/static/hy-svg-icons/hy-icon-dispatch-linear-map-treelist.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-dispatch-share-guidao.js +8 -0
- package/es/style/tailwind.scss +133 -1
- package/es/utils/handler.mjs +4 -4
- package/es/version.mjs +1 -1
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +4 -4
- package/lib/components/hyAudioPlayer/style/audioPlayer.scss +11 -12
- package/lib/components/hyButton/button.vue.js +111 -64
- package/lib/components/hyButton/style/button.scss +291 -233
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -1
- package/lib/components/hyForm/form.vue.js +2 -1
- package/lib/components/hyForm/index.js +1 -0
- package/lib/components/hyForm/js/useAppForm.js +1 -2
- package/lib/components/hyForm/style/form.scss +56 -54
- package/lib/components/hyIcon/style/icon.scss +1 -1
- package/lib/components/hyIconBox/style/iconBox.scss +19 -18
- package/lib/components/hyInput/input.vue.js +4 -1
- package/lib/components/hyMenu/menu.vue.js +1 -1
- package/lib/components/hyMenu/style/menu.scss +1 -1
- package/lib/components/hySearch/index.js +1 -0
- package/lib/components/hySearch/style/search.scss +50 -50
- package/lib/components/hyTable/cpns/virtualTable.vue.js +340 -317
- package/lib/components/hyTable/js/index.js +19 -3
- package/lib/components/hyTable/js/useAppTable.js +1 -1
- package/lib/components/hyTable/table.vue.js +31 -11
- package/lib/components/hyTableForm/batchTableForm.vue.js +482 -0
- package/lib/components/hyTableForm/index.js +5 -0
- package/lib/components/hyTableForm/js/index.js +127 -0
- package/lib/components/hyTableForm/js/useAppTableForm.js +49 -0
- package/lib/components/hyTableForm/style/batchTableForm.scss +127 -0
- package/lib/components/hyTableForm/style/tableForm.scss +42 -0
- package/lib/components/hyTableForm/tableForm.vue.js +451 -6
- package/lib/components/hyTooltip/tooltip.vue.js +2 -2
- package/lib/components/hyVideoPlayer/cpns/mediaLoading.vue.js +1 -1
- package/lib/components/hyVideoPlayer/style/mediaLoading.scss +5 -5
- package/lib/components/hyVideoPlayer/style/videoPlayer.scss +7 -6
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +6 -6
- package/lib/components/index.js +35 -30
- package/lib/index.js +35 -30
- package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-map-treelist.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-dispatch-share-guidao.js +8 -0
- package/lib/style/tailwind.scss +133 -1
- package/lib/utils/handler.js +4 -4
- package/lib/version.js +1 -1
- package/package.json +5 -3
|
@@ -163,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
163
163
|
return openBlock(), createElementBlock(
|
|
164
164
|
"div",
|
|
165
165
|
{
|
|
166
|
-
class: normalizeClass(["audio-player", { "audio-player-pack-up": !__props.showPicture }])
|
|
166
|
+
class: normalizeClass(["hy-audio-player", { "audio-player-pack-up": !__props.showPicture }])
|
|
167
167
|
},
|
|
168
168
|
[
|
|
169
169
|
__props.showPicture ? (openBlock(), createElementBlock("div", {
|
|
@@ -333,7 +333,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
333
333
|
placement: "top",
|
|
334
334
|
trigger: "click",
|
|
335
335
|
appendToBody: false,
|
|
336
|
-
"popper-class": "popover-speed"
|
|
336
|
+
"popper-class": "hy-audio-player-popover-speed"
|
|
337
337
|
}, {
|
|
338
338
|
reference: withCtx(() => [
|
|
339
339
|
createElementVNode(
|
|
@@ -419,7 +419,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
419
419
|
placement: "top",
|
|
420
420
|
appendToBody: false,
|
|
421
421
|
trigger: "click",
|
|
422
|
-
"popper-class": "popover-volume-slider"
|
|
422
|
+
"popper-class": "hy-audio-player-popover-volume-slider"
|
|
423
423
|
}, {
|
|
424
424
|
reference: withCtx(() => [
|
|
425
425
|
createElementVNode("div", { class: "flex items-center justify-center" }, [
|
|
@@ -437,7 +437,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
437
437
|
])
|
|
438
438
|
]),
|
|
439
439
|
default: withCtx(() => [
|
|
440
|
-
createElementVNode("div", { class: "flex items-center justify-center" }, [
|
|
440
|
+
createElementVNode("div", { class: "flex items-center justify-center pt-3" }, [
|
|
441
441
|
createVNode(unref(ElSlider), {
|
|
442
442
|
modelValue: unref(volumeValue),
|
|
443
443
|
"onUpdate:modelValue": ($event) => isRef(volumeValue) ? volumeValue.value = $event : null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.audio-player {
|
|
1
|
+
.hy-audio-player {
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 256px;
|
|
4
4
|
display: flex;
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
border-radius: 50%;
|
|
70
70
|
border: 4px solid rgba(var(--hy-theme));
|
|
71
71
|
opacity: 0;
|
|
72
|
-
-webkit-animation: ripple 4.5s ease-out 225ms infinite;
|
|
73
|
-
animation: ripple 4.5s ease-out 225ms infinite;
|
|
72
|
+
-webkit-animation: hy-audio-player-ripple 4.5s ease-out 225ms infinite;
|
|
73
|
+
animation: hy-audio-player-ripple 4.5s ease-out 225ms infinite;
|
|
74
74
|
}
|
|
75
75
|
.point_40 {
|
|
76
76
|
width: 100%;
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
border-radius: 50%;
|
|
88
88
|
border: 4px solid rgba(var(--hy-theme));
|
|
89
89
|
opacity: 0;
|
|
90
|
-
-webkit-animation: ripple 4.5s ease-out 0.9s infinite;
|
|
91
|
-
animation: ripple 4.5s ease-out 0.9s infinite;
|
|
90
|
+
-webkit-animation: hy-audio-player-ripple 4.5s ease-out 0.9s infinite;
|
|
91
|
+
animation: hy-audio-player-ripple 4.5s ease-out 0.9s infinite;
|
|
92
92
|
}
|
|
93
93
|
.point_80 {
|
|
94
94
|
width: 100%;
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
border-radius: 50%;
|
|
106
106
|
border: 4px solid rgba(var(--hy-theme));
|
|
107
107
|
opacity: 0;
|
|
108
|
-
-webkit-animation: ripple 4.5s ease-out 1.8s infinite;
|
|
109
|
-
animation: ripple 4.5s ease-out 1.8s infinite;
|
|
108
|
+
-webkit-animation: hy-audio-player-ripple 4.5s ease-out 1.8s infinite;
|
|
109
|
+
animation: hy-audio-player-ripple 4.5s ease-out 1.8s infinite;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -257,14 +257,13 @@
|
|
|
257
257
|
height: 56px;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
|
|
261
|
-
.popover-volume-slider {
|
|
260
|
+
.hy-audio-player-popover-volume-slider {
|
|
262
261
|
min-width: auto !important;
|
|
263
262
|
width: 40px !important;
|
|
264
263
|
padding: 16px 0;
|
|
265
264
|
}
|
|
266
265
|
|
|
267
|
-
.popover-speed {
|
|
266
|
+
.hy-audio-player-popover-speed {
|
|
268
267
|
min-width: auto !important;
|
|
269
268
|
width: 62px !important;
|
|
270
269
|
padding: 0px !important;
|
|
@@ -289,7 +288,7 @@
|
|
|
289
288
|
}
|
|
290
289
|
}
|
|
291
290
|
|
|
292
|
-
@-webkit-keyframes ripple {
|
|
291
|
+
@-webkit-keyframes hy-audio-player-ripple {
|
|
293
292
|
0% {
|
|
294
293
|
opacity: 0;
|
|
295
294
|
-webkit-transform: scale(0.1);
|
|
@@ -302,7 +301,7 @@
|
|
|
302
301
|
-webkit-transform: scale(1);
|
|
303
302
|
}
|
|
304
303
|
}
|
|
305
|
-
@keyframes ripple {
|
|
304
|
+
@keyframes hy-audio-player-ripple {
|
|
306
305
|
0% {
|
|
307
306
|
opacity: 0;
|
|
308
307
|
-webkit-transform: scale(0.1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode,
|
|
1
|
+
import { openBlock, createElementBlock, mergeProps, renderSlot, normalizeClass, createCommentVNode, createElementVNode, createBlock, unref, withCtx, createVNode, Fragment, defineComponent } from 'vue';
|
|
2
2
|
import { ElIcon } from 'element-plus';
|
|
3
3
|
import { Loading, ArrowDown } from '@element-plus/icons-vue';
|
|
4
4
|
import { HyIcon } from '../hyIcon/index.mjs';
|
|
@@ -32,6 +32,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
32
32
|
type: String
|
|
33
33
|
},
|
|
34
34
|
expand: {
|
|
35
|
+
// 展开,仅普通按钮支持
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
link: {
|
|
40
|
+
// 链接按钮
|
|
35
41
|
type: Boolean,
|
|
36
42
|
default: false
|
|
37
43
|
}
|
|
@@ -51,14 +57,33 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
51
57
|
emit("click", event);
|
|
52
58
|
};
|
|
53
59
|
return (_ctx, _cache) => {
|
|
54
|
-
return openBlock(), createElementBlock("button", {
|
|
55
|
-
|
|
60
|
+
return __props.link ? (openBlock(), createElementBlock("button", mergeProps({
|
|
61
|
+
key: 0,
|
|
62
|
+
type: __props.type,
|
|
56
63
|
disabled: __props.disabled,
|
|
57
|
-
|
|
64
|
+
loading: __props.loading,
|
|
65
|
+
link: "",
|
|
66
|
+
class: ["hy-button-text", [
|
|
58
67
|
typeObj[props.type],
|
|
59
68
|
{
|
|
60
69
|
"hy-button--large": __props.size === "large",
|
|
70
|
+
"hy-button--default": __props.size === "default",
|
|
61
71
|
"hy-button--small": __props.size === "small",
|
|
72
|
+
"is-disabled": __props.disabled
|
|
73
|
+
}
|
|
74
|
+
]]
|
|
75
|
+
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
76
|
+
renderSlot(_ctx.$slots, "default")
|
|
77
|
+
], 16, ["type", "disabled", "loading"])) : (openBlock(), createElementBlock("button", {
|
|
78
|
+
key: 1,
|
|
79
|
+
type: "button",
|
|
80
|
+
disabled: __props.disabled,
|
|
81
|
+
class: normalizeClass(["hy-button", [
|
|
82
|
+
typeObj[props.type],
|
|
83
|
+
{
|
|
84
|
+
"hy-button--large rounded-md": __props.size === "large",
|
|
85
|
+
"hy-button--default rounded-md": __props.size === "default",
|
|
86
|
+
"hy-button--small rounded": __props.size === "small",
|
|
62
87
|
"is-disabled": __props.disabled,
|
|
63
88
|
"is-loading": __props.loading,
|
|
64
89
|
clickBox: !__props.disabled && !__props.loading
|
|
@@ -67,67 +92,89 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
67
92
|
onClick: handleClick
|
|
68
93
|
}, [
|
|
69
94
|
createCommentVNode(" \u7B2C\u4E8C\u5C42\u5BB9\u5668 b "),
|
|
70
|
-
createElementVNode(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
95
|
+
createElementVNode(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
class: normalizeClass(["hy-button__border w-full h-full flex items-center justify-center p-[1px] box-border", {
|
|
99
|
+
rounded: ["large", "default"].includes(__props.size),
|
|
100
|
+
"rounded-sm": __props.size === "small"
|
|
101
|
+
}])
|
|
102
|
+
},
|
|
103
|
+
[
|
|
104
|
+
createCommentVNode(" \u7B2C\u4E09\u5C42\u5BB9\u5668 d "),
|
|
105
|
+
createElementVNode(
|
|
106
|
+
"div",
|
|
107
|
+
{
|
|
108
|
+
class: normalizeClass(["hy-button__inner w-full h-full flex items-center justify-center relative", {
|
|
109
|
+
rounded: ["large", "default"].includes(__props.size),
|
|
110
|
+
"rounded-sm": __props.size === "small"
|
|
111
|
+
}])
|
|
112
|
+
},
|
|
113
|
+
[
|
|
114
|
+
createElementVNode("div", { class: "hy-button__text relative z-[1] w-full h-full flex items-center justify-center" }, [
|
|
115
|
+
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
116
|
+
createElementVNode(
|
|
117
|
+
"div",
|
|
118
|
+
{
|
|
119
|
+
class: normalizeClass(["flex items-center text-main", {
|
|
120
|
+
"px-3": !__props.expand,
|
|
121
|
+
"pl-3 pr-1.5": __props.expand
|
|
122
|
+
}])
|
|
123
|
+
},
|
|
124
|
+
[
|
|
125
|
+
!__props.loading ? renderSlot(_ctx.$slots, "svg", { key: 0 }, () => [
|
|
126
|
+
__props.svgName ? (openBlock(), createBlock(unref(HyIcon), {
|
|
127
|
+
key: 0,
|
|
128
|
+
"svg-name": __props.svgName,
|
|
129
|
+
"class-name": "!w-3 !h-3 text-main mr-2"
|
|
130
|
+
}, null, 8, ["svg-name"])) : createCommentVNode("v-if", true)
|
|
131
|
+
]) : (openBlock(), createBlock(unref(ElIcon), {
|
|
132
|
+
key: 1,
|
|
133
|
+
color: "rgb(var(--hy-main))",
|
|
134
|
+
class: "is-loading mr-2"
|
|
135
|
+
}, {
|
|
136
|
+
default: withCtx(() => [
|
|
137
|
+
createVNode(unref(Loading))
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
/* STABLE */
|
|
141
|
+
})),
|
|
142
|
+
renderSlot(_ctx.$slots, "default")
|
|
143
|
+
],
|
|
144
|
+
2
|
|
145
|
+
/* CLASS */
|
|
146
|
+
)
|
|
147
|
+
]),
|
|
148
|
+
__props.expand ? (openBlock(), createElementBlock(
|
|
149
|
+
Fragment,
|
|
150
|
+
{ key: 0 },
|
|
151
|
+
[
|
|
152
|
+
createElementVNode("div", { class: "w-px h-full bg-success/50" }),
|
|
153
|
+
createElementVNode("div", { class: "w-[30px] flex items-center justify-center" }, [
|
|
154
|
+
createVNode(unref(ElIcon), { color: "rgb(var(--hy-main))" }, {
|
|
155
|
+
default: withCtx(() => [
|
|
156
|
+
createVNode(unref(ArrowDown))
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
/* STABLE */
|
|
160
|
+
})
|
|
161
|
+
])
|
|
162
|
+
],
|
|
163
|
+
64
|
|
164
|
+
/* STABLE_FRAGMENT */
|
|
165
|
+
)) : createCommentVNode("v-if", true)
|
|
166
|
+
]),
|
|
167
|
+
createCommentVNode(" \u6E10\u53D8\u906E\u7F69 e "),
|
|
168
|
+
createElementVNode("div", { class: "hy-button__mask w-full h-full absolute blur-[1px]" })
|
|
169
|
+
],
|
|
170
|
+
2
|
|
171
|
+
/* CLASS */
|
|
172
|
+
)
|
|
173
|
+
],
|
|
174
|
+
2
|
|
175
|
+
/* CLASS */
|
|
176
|
+
)
|
|
177
|
+
], 10, ["disabled"]));
|
|
131
178
|
};
|
|
132
179
|
}
|
|
133
180
|
});
|