yahee-components 0.0.111 → 0.0.113
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/es/operation-log/operation-log-form.vue.js +39 -40
- package/es/operation-log/operation-log.vue2.js +6 -6
- package/package.json +1 -1
- package/types/src/installs.d.ts +1 -1
- package/types/src/operation-log/index.d.ts +1 -1
- package/types/src/operation-log/operation-log.d.ts +1 -1
- package/types/src/operation-log/operation-log.vue.d.ts +1 -1
- package/types/src/operation-log/props.d.ts +1 -1
- package/es/annex-upload/annex-upload.vue.js +0 -55
- package/es/annex-upload/annex-upload.vue2.js +0 -121
- package/es/annex-upload/index.js +0 -7
- package/es/annex-upload/mimeType.js +0 -822
- package/es/annex-upload/style/index.css +0 -7
- package/es/border-wrap/border-wrap.vue.js +0 -75
- package/es/border-wrap/border-wrap.vue2.js +0 -48
- package/es/border-wrap/index.js +0 -7
- package/es/border-wrap/props.js +0 -11
- package/es/border-wrap/style/index.css +0 -24
- package/es/common-import/common-import.vue.js +0 -394
- package/es/common-import/common-import.vue2.js +0 -366
- package/es/common-import/index.js +0 -7
- package/es/common-import/props.js +0 -23
- package/es/common-import/style/index.css +0 -32
- package/es/complex-search/batch-search-dialog.vue.js +0 -119
- package/es/complex-search/batch-search-dialog.vue2.js +0 -50
- package/es/complex-search/complex-search.vue.js +0 -122
- package/es/complex-search/complex-search.vue2.js +0 -71
- package/es/complex-search/index.js +0 -7
- package/es/complex-search/props.js +0 -19
- package/es/complex-search/style/index.css +0 -24
- package/es/complex-search/useComplexSearch.js +0 -44
- package/es/copy/copy.vue.js +0 -39
- package/es/copy/copy.vue2.js +0 -36
- package/es/copy/index.js +0 -7
- package/es/copy/props.js +0 -9
- package/es/copy/style/index.css +0 -12
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +0 -120
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +0 -127
- package/es/country-platform-shop-condition/index.js +0 -7
- package/es/country-platform-shop-condition/style/index.css +0 -59
- package/es/drop-down-condition/drop-down-condition.vue.js +0 -125
- package/es/drop-down-condition/drop-down-condition.vue2.js +0 -129
- package/es/drop-down-condition/index.js +0 -7
- package/es/drop-down-condition/style/index.css +0 -64
- package/es/echart-gauge/echart-gauge.vue.js +0 -14
- package/es/echart-gauge/echart-gauge.vue2.js +0 -149
- package/es/echart-gauge/index.js +0 -7
- package/es/echart-gauge/props.js +0 -9
- package/es/echart-gauge/style/index.css +0 -4
- package/es/file-download-wrapper/file-download-wrapper.vue.js +0 -164
- package/es/file-download-wrapper/file-download-wrapper.vue2.js +0 -115
- package/es/file-download-wrapper/index.js +0 -7
- package/es/file-download-wrapper/key.js +0 -17
- package/es/file-download-wrapper/props.js +0 -12
- package/es/file-download-wrapper/style/index.css +0 -66
- package/es/filter-container/filter-container.vue.js +0 -24
- package/es/filter-container/filter-container.vue2.js +0 -61
- package/es/filter-container/index.js +0 -7
- package/es/filter-container/key.js +0 -4
- package/es/filter-container/props.js +0 -11
- package/es/filter-container/style/index.css +0 -16
- package/es/filter-wrapper/filter-wrapper.vue.js +0 -19
- package/es/filter-wrapper/filter-wrapper.vue2.js +0 -56
- package/es/filter-wrapper/index.js +0 -7
- package/es/filter-wrapper/props.js +0 -10
- package/es/filter-wrapper/style/index.css +0 -3
- package/es/height-collapse/height-collapse.vue.js +0 -26
- package/es/height-collapse/height-collapse.vue2.js +0 -44
- package/es/height-collapse/index.js +0 -7
- package/es/height-collapse/props.js +0 -11
- package/es/height-collapse/style/index.css +0 -32
- package/es/help-tag/help-tag.vue.js +0 -46
- package/es/help-tag/help-tag.vue2.js +0 -51
- package/es/help-tag/index.js +0 -7
- package/es/help-tag/props.js +0 -9
- package/es/help-tag/style/index.css +0 -8
- package/es/image-upload/image-upload.vue.js +0 -116
- package/es/image-upload/image-upload.vue2.js +0 -93
- package/es/image-upload/index.js +0 -7
- package/es/image-upload/style/index.css +0 -33
- package/es/index.js +0 -63
- package/es/installs.js +0 -41
- package/es/left-condition/index.js +0 -7
- package/es/left-condition/left-condition-sub.vue.js +0 -36
- package/es/left-condition/left-condition-sub.vue2.js +0 -78
- package/es/left-condition/left-condition.vue.js +0 -77
- package/es/left-condition/left-condition.vue2.js +0 -162
- package/es/left-condition/style/index.css +0 -10
- package/es/left-condition-enum/index.js +0 -7
- package/es/left-condition-enum/left-condition-enum.vue.js +0 -22
- package/es/left-condition-enum/left-condition-enum.vue2.js +0 -42
- package/es/left-condition-enum/style/index.css +0 -10
- package/es/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +0 -99
- package/es/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +0 -22
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +0 -38
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +0 -53
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +0 -141
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +0 -71
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +0 -46
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +0 -77
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +0 -11
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +0 -136
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +0 -54
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -181
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +0 -58
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +0 -31
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +0 -70
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +0 -14
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +0 -13
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +0 -89
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +0 -8
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +0 -4
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +0 -8
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +0 -23
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +0 -30
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +0 -32
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -31
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -8
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +0 -4
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -35
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -33
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +0 -19
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +0 -8
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +0 -15
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +0 -85
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +0 -63
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +0 -54
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +0 -15
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +0 -9
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +0 -9
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +0 -222
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -282
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +0 -97
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +0 -96
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -56
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -242
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -106
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +0 -345
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -56
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +0 -487
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -77
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -49
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -325
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +0 -23
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -10
- package/lib/annex-upload/style/index.css +0 -7
- package/lib/border-wrap/style/index.css +0 -24
- package/lib/common-import/style/index.css +0 -32
- package/lib/complex-search/style/index.css +0 -24
- package/lib/copy/style/index.css +0 -12
- package/lib/country-platform-shop-condition/style/index.css +0 -59
- package/lib/drop-down-condition/style/index.css +0 -64
- package/lib/echart-gauge/style/index.css +0 -4
- package/lib/file-download-wrapper/style/index.css +0 -66
- package/lib/filter-container/style/index.css +0 -16
- package/lib/filter-wrapper/style/index.css +0 -3
- package/lib/height-collapse/style/index.css +0 -32
- package/lib/help-tag/style/index.css +0 -8
- package/lib/image-upload/style/index.css +0 -33
- package/lib/left-condition/style/index.css +0 -10
- package/lib/left-condition-enum/style/index.css +0 -10
- package/lib/operation-log/style/index.css +0 -234
- package/lib/scale-screen/style/index.css +0 -0
- package/lib/style.css +0 -1405
- package/lib/styles/custom.css +0 -82
- package/lib/styles/globals.css +0 -699
- package/lib/styles/index.css +0 -753
- package/lib/styles/variables.css +0 -34
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.custom-popover .checkbox-group {
|
|
2
|
-
margin: 5px;
|
|
3
|
-
width: 100%;
|
|
4
|
-
}
|
|
5
|
-
.custom-popover .hover-trigger {
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
color: blue;
|
|
8
|
-
}
|
|
9
|
-
.custom-popover .popover-table {
|
|
10
|
-
width: auto;
|
|
11
|
-
border: 1px solid transparent;
|
|
12
|
-
border-collapse: separate;
|
|
13
|
-
}
|
|
14
|
-
.custom-popover .popover-table tr,
|
|
15
|
-
.custom-popover .popover-table td {
|
|
16
|
-
text-align: left;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
min-height: 22px;
|
|
19
|
-
}
|
|
20
|
-
.custom-popover .popover-table th {
|
|
21
|
-
text-align: left;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
min-height: 22px;
|
|
24
|
-
border: 1px solid transparent;
|
|
25
|
-
}
|
|
26
|
-
.custom-popover .popover-table td span {
|
|
27
|
-
display: block;
|
|
28
|
-
}
|
|
29
|
-
.custom-popover .custom-total-button {
|
|
30
|
-
margin-right: 0;
|
|
31
|
-
padding: 1px 4px;
|
|
32
|
-
height: 22px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.yahee-country-platform-shop-condition .checkbox-group {
|
|
36
|
-
margin: 5px;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
.yahee-country-platform-shop-condition .hover-trigger {
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
color: blue;
|
|
42
|
-
}
|
|
43
|
-
.yahee-country-platform-shop-condition .custom-total-button {
|
|
44
|
-
margin-right: 5px;
|
|
45
|
-
padding: 1px 4px;
|
|
46
|
-
height: 22px;
|
|
47
|
-
}
|
|
48
|
-
.yahee-country-platform-shop-condition .custom-button {
|
|
49
|
-
min-height: 22px;
|
|
50
|
-
min-width: 48px;
|
|
51
|
-
height: 22px;
|
|
52
|
-
margin: 0 5px 0 0 !important;
|
|
53
|
-
}
|
|
54
|
-
.yahee-country-platform-shop-condition .custom-button.inner-el-button {
|
|
55
|
-
margin-top: 5px;
|
|
56
|
-
}
|
|
57
|
-
.yahee-country-platform-shop-condition :deep(.el-checkbox-button__inner) {
|
|
58
|
-
width: 100%;
|
|
59
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import C from "./drop-down-condition.vue2.js";
|
|
2
|
-
import { createElementBlock as n, openBlock as l, createVNode as _, normalizeStyle as x, withCtx as a, createTextVNode as r, createCommentVNode as i, toDisplayString as c, createElementVNode as k, Fragment as s, renderList as h, createBlock as d } from "vue";
|
|
3
|
-
import v from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const y = { class: "yahee-drop-down-condition" }, m = { key: 0 }, f = { style: { display: "flex", "align-items": "center", outline: "none" } }, g = { key: 0 }, w = { style: { display: "flex", width: "auto", padding: "10px" } }, V = ["onClick"], E = { class: "scrollable-container" }, p = { key: 0 };
|
|
5
|
-
function S(N, B, M, e, z, D) {
|
|
6
|
-
return l(), n("div", y, [
|
|
7
|
-
_(e.ElButton, {
|
|
8
|
-
size: "small",
|
|
9
|
-
class: "el-button el-button--small custom-total-button",
|
|
10
|
-
style: x(e.getDefaultSelectedAllStyle(e.isSelectedAll)),
|
|
11
|
-
onClick: e.selectAll
|
|
12
|
-
}, {
|
|
13
|
-
default: a(() => [
|
|
14
|
-
r(c(e.M2("全部")) + " ", 1),
|
|
15
|
-
e.totalCount ? (l(), n("span", m, "(" + c(e.totalNum) + ")", 1)) : i("", !0)
|
|
16
|
-
]),
|
|
17
|
-
_: 1
|
|
18
|
-
}, 8, ["style"]),
|
|
19
|
-
_(e.ElDropdown, {
|
|
20
|
-
ref: "dropdown1",
|
|
21
|
-
"popper-class": "custom-dropdown",
|
|
22
|
-
onVisibleChange: e.handleVisible
|
|
23
|
-
}, {
|
|
24
|
-
dropdown: a(() => [
|
|
25
|
-
k("div", w, [
|
|
26
|
-
(l(!0), n(s, null, h(e.selectList, (o) => (l(), d(e.ElCheckboxGroup, {
|
|
27
|
-
key: o.value,
|
|
28
|
-
modelValue: e.totalCheckBoxStatus[o.text],
|
|
29
|
-
"onUpdate:modelValue": (t) => e.totalCheckBoxStatus[o.text] = t,
|
|
30
|
-
size: "small",
|
|
31
|
-
class: "checkbox-group inner-checkbox-group custom-dropdown-checkbox-group",
|
|
32
|
-
onChange: (t) => e.changeCheckbox(o)
|
|
33
|
-
}, {
|
|
34
|
-
default: a(() => [
|
|
35
|
-
e._.isNil(o.subs) ? (l(), d(e.ElCheckbox, {
|
|
36
|
-
key: 1,
|
|
37
|
-
value: o.value,
|
|
38
|
-
class: "checkbox custom-dropdown-button",
|
|
39
|
-
border: ""
|
|
40
|
-
}, {
|
|
41
|
-
default: a(() => [
|
|
42
|
-
r(c(e.M2(o.text)), 1)
|
|
43
|
-
]),
|
|
44
|
-
_: 2
|
|
45
|
-
}, 1032, ["value"])) : (l(), n(s, { key: 0 }, [
|
|
46
|
-
k("span", {
|
|
47
|
-
class: "el-button custom-dropdown-button el-button--small inner-el-button",
|
|
48
|
-
style: x(e.selectedStyles[o.text]),
|
|
49
|
-
onClick: (t) => e.onClick(o)
|
|
50
|
-
}, c(e.M2(o.text)), 13, V),
|
|
51
|
-
k("div", E, [
|
|
52
|
-
(l(!0), n(s, null, h(o.subs, (t) => (l(), d(e.ElCheckbox, {
|
|
53
|
-
key: t.value,
|
|
54
|
-
class: "checkbox custom-dropdown-button",
|
|
55
|
-
value: t.value,
|
|
56
|
-
border: ""
|
|
57
|
-
}, {
|
|
58
|
-
default: a(() => {
|
|
59
|
-
var u;
|
|
60
|
-
return [
|
|
61
|
-
r(c(e.M2(t.text)), 1),
|
|
62
|
-
e._.isEmpty(e.level2Num) ? i("", !0) : (l(), n("span", p, "(" + c((u = e.level2Num.filter((b) => b.value == t.value)[0]) == null ? void 0 : u.count) + ")", 1))
|
|
63
|
-
];
|
|
64
|
-
}),
|
|
65
|
-
_: 2
|
|
66
|
-
}, 1032, ["value"]))), 128))
|
|
67
|
-
])
|
|
68
|
-
], 64))
|
|
69
|
-
]),
|
|
70
|
-
_: 2
|
|
71
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))), 128))
|
|
72
|
-
])
|
|
73
|
-
]),
|
|
74
|
-
default: a(() => [
|
|
75
|
-
k("div", f, [
|
|
76
|
-
(l(!0), n(s, null, h(e.selectList, (o) => (l(), n(s, null, [
|
|
77
|
-
o.isCheckbox ? (l(), d(e.ElCheckboxGroup, {
|
|
78
|
-
key: o.value,
|
|
79
|
-
modelValue: e.totalCheckBoxStatus[o.text],
|
|
80
|
-
"onUpdate:modelValue": (t) => e.totalCheckBoxStatus[o.text] = t,
|
|
81
|
-
class: "checkbox-group",
|
|
82
|
-
size: "small",
|
|
83
|
-
onChange: e.singleChangeCheckbox
|
|
84
|
-
}, {
|
|
85
|
-
default: a(() => [
|
|
86
|
-
o.isCheckbox ? (l(), d(e.ElCheckbox, {
|
|
87
|
-
key: 0,
|
|
88
|
-
class: "custom-dropdown-button",
|
|
89
|
-
value: o.value,
|
|
90
|
-
border: ""
|
|
91
|
-
}, {
|
|
92
|
-
default: a(() => [
|
|
93
|
-
r(c(e.M2(o.text)), 1)
|
|
94
|
-
]),
|
|
95
|
-
_: 2
|
|
96
|
-
}, 1032, ["value"])) : i("", !0)
|
|
97
|
-
]),
|
|
98
|
-
_: 2
|
|
99
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) : (l(), d(e.ElButton, {
|
|
100
|
-
key: o.text,
|
|
101
|
-
style: x(e.selectedStyles[o.text]),
|
|
102
|
-
class: "custom-dropdown-button",
|
|
103
|
-
size: "small",
|
|
104
|
-
onClick: (t) => e.onClick(o)
|
|
105
|
-
}, {
|
|
106
|
-
default: a(() => {
|
|
107
|
-
var t;
|
|
108
|
-
return [
|
|
109
|
-
r(c(e.M2(o.text)) + " ", 1),
|
|
110
|
-
e._.isEmpty(e.level1Num) ? i("", !0) : (l(), n("span", g, "(" + c((t = e.level1Num.filter((u) => u.value == o.value)[0]) == null ? void 0 : t.count) + ")", 1))
|
|
111
|
-
];
|
|
112
|
-
}),
|
|
113
|
-
_: 2
|
|
114
|
-
}, 1032, ["style", "onClick"]))
|
|
115
|
-
], 64))), 256))
|
|
116
|
-
])
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
}, 512)
|
|
120
|
-
]);
|
|
121
|
-
}
|
|
122
|
-
const G = /* @__PURE__ */ v(C, [["render", S], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/drop-down-condition/drop-down-condition.vue"]]);
|
|
123
|
-
export {
|
|
124
|
-
G as default
|
|
125
|
-
};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { defineComponent as U, ref as f, reactive as C, toRefs as Y, watch as $, onMounted as z } from "vue";
|
|
2
|
-
import n from "../_virtual/lodash.js";
|
|
3
|
-
import { stylesUtils as S } from "../utils/style.js";
|
|
4
|
-
import { storage as L } from "../utils/storage.js";
|
|
5
|
-
import { M2 as H } from "../utils/translate.js";
|
|
6
|
-
import { ElDropdown as J, ElCheckboxGroup as Q, ElCheckbox as X, ElButton as Z } from "element-plus";
|
|
7
|
-
import "element-plus/theme-chalk/src/base.scss";
|
|
8
|
-
import "element-plus/theme-chalk/src/button.scss";
|
|
9
|
-
import "element-plus/theme-chalk/src/checkbox.scss";
|
|
10
|
-
import "element-plus/theme-chalk/src/checkbox-group.scss";
|
|
11
|
-
import "element-plus/theme-chalk/src/button-group.scss";
|
|
12
|
-
import "element-plus/theme-chalk/src/popper.scss";
|
|
13
|
-
import "element-plus/theme-chalk/src/scrollbar.scss";
|
|
14
|
-
import "element-plus/theme-chalk/src/dropdown.scss";
|
|
15
|
-
const de = /* @__PURE__ */ U({
|
|
16
|
-
name: "YaheeDropDownCondition",
|
|
17
|
-
__name: "drop-down-condition",
|
|
18
|
-
props: {
|
|
19
|
-
filterList: { type: Array, required: !1 },
|
|
20
|
-
totalCount: { type: Number, required: !1 },
|
|
21
|
-
level1Count: { type: Array, required: !1 },
|
|
22
|
-
level2Count: { type: Array, required: !1 },
|
|
23
|
-
filterKey: { type: String, required: !0 },
|
|
24
|
-
enumEntity: { type: String, required: !0 },
|
|
25
|
-
noNeedRefreshNumFilterName: { type: String, required: !1 },
|
|
26
|
-
initFilters: { type: Function, required: !1 }
|
|
27
|
-
},
|
|
28
|
-
emits: ["filterChange", "setNoNeedRefreshNumFilterName"],
|
|
29
|
-
setup(B, { expose: R, emit: K }) {
|
|
30
|
-
R();
|
|
31
|
-
const M = f(), l = C({});
|
|
32
|
-
let g = C({});
|
|
33
|
-
const s = C({}), i = C({}), a = f(!0), c = B, N = K, { filterKey: p, filterList: b, totalCount: d, level1Count: m, level2Count: v, noNeedRefreshNumFilterName: x } = Y(c), _ = f(n.get(d, "value", 0)), F = f(n.get(m, "value", [])), q = f(n.get(v, "value", [])), u = f();
|
|
34
|
-
b.value && (u.value = [...b.value]);
|
|
35
|
-
function O(e) {
|
|
36
|
-
const { text: t, value: r } = e, o = l[t];
|
|
37
|
-
n.isNil(o) || n.isEmpty(o) ? l[t] = [r] : l[t] = [], i[t] = !i[t], i[t] ? (A(t), s[t] = S.getBackgroundColor(!0), a.value = !1) : (j(t), s[e.text] = {}, a.value = !0), a.value = h(), y();
|
|
38
|
-
}
|
|
39
|
-
function h() {
|
|
40
|
-
const e = u.value.filter((o) => !n.isEmpty(o.subs)).flatMap((o) => o.subs).length, t = u.value.filter((o) => n.isEmpty(o.subs)).length;
|
|
41
|
-
return Object.values(l).map((o) => o.length).reduce((o, k) => o + k, 0) === e + t || n.isEmpty(Object.values(l).flat());
|
|
42
|
-
}
|
|
43
|
-
function G(e) {
|
|
44
|
-
n.isEmpty(l[e.text]) ? (s[e.text] = {}, i[e.text] = !1) : l[e.text].length === n.get(e, "subs.length", 1) ? (s[e.text] = S.getBackgroundColor(!0), i[e.text] = !0) : s[e.text] = {
|
|
45
|
-
backgroundColor: "#0F7535",
|
|
46
|
-
color: "#fff",
|
|
47
|
-
borderColor: "#0F7535"
|
|
48
|
-
}, a.value = h(), y();
|
|
49
|
-
}
|
|
50
|
-
function I() {
|
|
51
|
-
a.value = h(), y();
|
|
52
|
-
}
|
|
53
|
-
function y() {
|
|
54
|
-
N("setNoNeedRefreshNumFilterName", p.value);
|
|
55
|
-
}
|
|
56
|
-
function P() {
|
|
57
|
-
a.value = !0;
|
|
58
|
-
for (const e in s)
|
|
59
|
-
s[e] = {};
|
|
60
|
-
for (const e in l)
|
|
61
|
-
delete l[e];
|
|
62
|
-
for (const e in i)
|
|
63
|
-
delete i[e];
|
|
64
|
-
E();
|
|
65
|
-
}
|
|
66
|
-
const T = (e) => S.getBackgroundColor(e);
|
|
67
|
-
function V(e) {
|
|
68
|
-
if (e)
|
|
69
|
-
g = n.cloneDeep(l);
|
|
70
|
-
else {
|
|
71
|
-
if (n.isEqual(g, l))
|
|
72
|
-
return;
|
|
73
|
-
E();
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
function E() {
|
|
77
|
-
N("filterChange", [
|
|
78
|
-
{
|
|
79
|
-
filterKey: p.value,
|
|
80
|
-
checkedValues: Object.values(l).flat()
|
|
81
|
-
}
|
|
82
|
-
]);
|
|
83
|
-
}
|
|
84
|
-
function A(e) {
|
|
85
|
-
const t = u.value.find((r) => r.text === e);
|
|
86
|
-
t && t.subs && (l[e] = t.subs.map((r) => r.value));
|
|
87
|
-
}
|
|
88
|
-
function j(e) {
|
|
89
|
-
l[e] = [];
|
|
90
|
-
}
|
|
91
|
-
function w() {
|
|
92
|
-
const e = `filter-key-${c.enumEntity}`, t = L.getWithExpireTime(e);
|
|
93
|
-
t ? u.value = t : (console.log(c.enumEntity), c.initFilters(c.enumEntity).then((r) => {
|
|
94
|
-
console.log(r), u.value = r.data, L.setWithExpireTime(e, u.value, 1200 * 1e3), console.log(u.value);
|
|
95
|
-
}).catch((r) => {
|
|
96
|
-
console.log(r);
|
|
97
|
-
}));
|
|
98
|
-
}
|
|
99
|
-
$(
|
|
100
|
-
[() => d.value, () => m.value, () => v.value],
|
|
101
|
-
([e, t, r], [o, k, W]) => {
|
|
102
|
-
console.log(e, t, r), console.log(o, k, W), (!x.value || !n.eq(x.value, p.value)) && (_.value = d.value, F.value = m.value, q.value = v.value);
|
|
103
|
-
}
|
|
104
|
-
), z(() => {
|
|
105
|
-
w();
|
|
106
|
-
});
|
|
107
|
-
const D = { dropdown1: M, totalCheckBoxStatus: l, get judgeChange() {
|
|
108
|
-
return g;
|
|
109
|
-
}, set judgeChange(e) {
|
|
110
|
-
g = e;
|
|
111
|
-
}, selectedStyles: s, selectedAllStatus: i, isSelectedAll: a, props: c, emit: N, filterKey: p, filterList: b, totalCount: d, level1Count: m, level2Count: v, noNeedRefreshNumFilterName: x, totalNum: _, level1Num: F, level2Num: q, selectList: u, onClick: O, getIsNeedSelectAll: h, changeCheckbox: G, singleChangeCheckbox: I, setNoNeedRefreshNumFilterName: y, selectAll: P, getDefaultSelectedAllStyle: T, handleVisible: V, updateParentForm: E, selectAllCheckboxes: A, deSelectCheckboxes: j, initData: w, get _() {
|
|
112
|
-
return n;
|
|
113
|
-
}, get M2() {
|
|
114
|
-
return H;
|
|
115
|
-
}, get ElButton() {
|
|
116
|
-
return Z;
|
|
117
|
-
}, get ElCheckbox() {
|
|
118
|
-
return X;
|
|
119
|
-
}, get ElCheckboxGroup() {
|
|
120
|
-
return Q;
|
|
121
|
-
}, get ElDropdown() {
|
|
122
|
-
return J;
|
|
123
|
-
} };
|
|
124
|
-
return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
export {
|
|
128
|
-
de as default
|
|
129
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
.yahee-drop-down-condition .checkbox {
|
|
3
|
-
margin-top: 5px;
|
|
4
|
-
}
|
|
5
|
-
.yahee-drop-down-condition .custom-total-button {
|
|
6
|
-
margin-right: 5px;
|
|
7
|
-
padding: 1px 4px;
|
|
8
|
-
height: 22px;
|
|
9
|
-
}
|
|
10
|
-
.yahee-drop-down-condition .checkbox-group {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
.yahee-drop-down-condition .custom-dropdown-button {
|
|
15
|
-
min-height: 22px;
|
|
16
|
-
height: 22px;
|
|
17
|
-
position: relative;
|
|
18
|
-
top: 2px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.scrollable-container {
|
|
22
|
-
max-height: 700px;
|
|
23
|
-
overflow-y: auto;
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.scrollable-container::-webkit-scrollbar {
|
|
29
|
-
width: 5px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* 滚动槽 */
|
|
33
|
-
.scrollable-container::-webkit-scrollbar-track {
|
|
34
|
-
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
35
|
-
border-radius: 10px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* 滚动条滑块 */
|
|
39
|
-
.scrollable-container::-webkit-scrollbar-thumb {
|
|
40
|
-
border-radius: 10px;
|
|
41
|
-
background: rgba(0, 0, 0, 0.1);
|
|
42
|
-
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.el-button + .el-button.custom-dropdown-button {
|
|
46
|
-
margin-left: 5px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.custom-dropdown .checkbox {
|
|
50
|
-
margin-top: 5px;
|
|
51
|
-
}
|
|
52
|
-
.custom-dropdown .custom-dropdown-button {
|
|
53
|
-
margin-right: 0;
|
|
54
|
-
padding: 1px 4px;
|
|
55
|
-
min-height: 22px;
|
|
56
|
-
height: 22px;
|
|
57
|
-
}
|
|
58
|
-
.custom-dropdown .custom-dropdown-button.inner-el-button {
|
|
59
|
-
margin-top: 5px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.custom-dropdown-checkbox-group {
|
|
63
|
-
margin-right: 10px;
|
|
64
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import e from "./echart-gauge.vue2.js";
|
|
2
|
-
import { createElementBlock as o, openBlock as t } from "vue";
|
|
3
|
-
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const c = {
|
|
5
|
-
ref: "gaugeChart",
|
|
6
|
-
class: "yahee-echart-gauge"
|
|
7
|
-
};
|
|
8
|
-
function a(n, s, p, _, m, u) {
|
|
9
|
-
return t(), o("div", c, null, 512);
|
|
10
|
-
}
|
|
11
|
-
const h = /* @__PURE__ */ r(e, [["render", a], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/echart-gauge/echart-gauge.vue"]]);
|
|
12
|
-
export {
|
|
13
|
-
h as default
|
|
14
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, ref as m, watch as w } from "vue";
|
|
2
|
-
import { useEcharts as b } from "../packages/components/hooks/useEcharts.js";
|
|
3
|
-
import { mapValue as l, numberToFixed as y } from "../utils/charts.js";
|
|
4
|
-
const $ = /* @__PURE__ */ c({
|
|
5
|
-
__name: "echart-gauge",
|
|
6
|
-
props: {
|
|
7
|
-
data: {
|
|
8
|
-
type: Number,
|
|
9
|
-
default: 0
|
|
10
|
-
},
|
|
11
|
-
rangeValue: {
|
|
12
|
-
type: Object,
|
|
13
|
-
default: () => ({ low: 0, high: 0, reverse: !1 })
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(f, { expose: V }) {
|
|
17
|
-
V();
|
|
18
|
-
const u = m(null), i = b(u), e = f;
|
|
19
|
-
let t = [], r = 0;
|
|
20
|
-
const s = () => e.rangeValue.reverse ? [
|
|
21
|
-
[r / 100, t[0]],
|
|
22
|
-
[0.5, t[1]],
|
|
23
|
-
[1, t[2]]
|
|
24
|
-
] : [
|
|
25
|
-
[0.5, t[0]],
|
|
26
|
-
[r / 100, t[1]],
|
|
27
|
-
[1, t[2]]
|
|
28
|
-
], g = () => {
|
|
29
|
-
let a = 0;
|
|
30
|
-
if (e.rangeValue.reverse)
|
|
31
|
-
if (e.data >= 0 && e.data < e.rangeValue.low)
|
|
32
|
-
a = l(e.data, 0, e.rangeValue.low, 0, r);
|
|
33
|
-
else if (e.data >= e.rangeValue.low && e.data < e.rangeValue.high)
|
|
34
|
-
a = l(e.data, e.rangeValue.low, e.rangeValue.high, r, 50);
|
|
35
|
-
else if (e.data >= e.rangeValue.high && e.data <= 100)
|
|
36
|
-
a = l(e.data, e.rangeValue.high, 100, 50, 100);
|
|
37
|
-
else
|
|
38
|
-
throw new Error("Input value must be between 0 and 100");
|
|
39
|
-
else if (e.data >= 0 && e.data < e.rangeValue.low)
|
|
40
|
-
a = l(e.data, 0, e.rangeValue.low, 0, 50);
|
|
41
|
-
else if (e.data >= e.rangeValue.low && e.data < e.rangeValue.high)
|
|
42
|
-
a = l(
|
|
43
|
-
e.data,
|
|
44
|
-
e.rangeValue.low,
|
|
45
|
-
e.rangeValue.high,
|
|
46
|
-
50,
|
|
47
|
-
r
|
|
48
|
-
);
|
|
49
|
-
else if (e.data >= e.rangeValue.high && e.data <= 100)
|
|
50
|
-
a = l(e.data, e.rangeValue.high, 100, r, 100);
|
|
51
|
-
else
|
|
52
|
-
throw new Error("Input value must be between 0 and 100");
|
|
53
|
-
return y(a);
|
|
54
|
-
}, o = (a) => `<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:${a};"></span>`, d = () => {
|
|
55
|
-
const a = {
|
|
56
|
-
tooltip: {
|
|
57
|
-
trigger: "item",
|
|
58
|
-
formatter: () => {
|
|
59
|
-
let n = "";
|
|
60
|
-
return n += `${o(t[0])} 0~${e.rangeValue.low}%<br>`, n += `${o(t[1])} ${e.rangeValue.low}%~${e.rangeValue.high}%<br>`, n += `${o(t[2])} ${e.rangeValue.high}%~100%`, n;
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
series: [
|
|
64
|
-
{
|
|
65
|
-
type: "gauge",
|
|
66
|
-
radius: "100%",
|
|
67
|
-
axisLine: {
|
|
68
|
-
lineStyle: {
|
|
69
|
-
width: 8,
|
|
70
|
-
color: s()
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
pointer: {
|
|
74
|
-
width: 3,
|
|
75
|
-
itemStyle: {
|
|
76
|
-
color: "auto"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
axisTick: {
|
|
80
|
-
show: !0,
|
|
81
|
-
splitNumber: 2,
|
|
82
|
-
distance: 3,
|
|
83
|
-
lineStyle: {
|
|
84
|
-
opacity: 0.4
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
splitLine: {
|
|
88
|
-
show: !1
|
|
89
|
-
},
|
|
90
|
-
axisLabel: {
|
|
91
|
-
show: !1,
|
|
92
|
-
color: "#666",
|
|
93
|
-
distance: 0,
|
|
94
|
-
fontSize: 10
|
|
95
|
-
},
|
|
96
|
-
// "{value}%"
|
|
97
|
-
detail: {
|
|
98
|
-
fontSize: 16,
|
|
99
|
-
valueAnimation: !0,
|
|
100
|
-
formatter: () => `${e.data}%`,
|
|
101
|
-
color: "inherit",
|
|
102
|
-
offsetCenter: [0, 44]
|
|
103
|
-
},
|
|
104
|
-
data: [
|
|
105
|
-
{
|
|
106
|
-
value: g()
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
};
|
|
112
|
-
i.setOption(a);
|
|
113
|
-
}, h = () => {
|
|
114
|
-
e.rangeValue.reverse ? (t = ["#008b48", "#fadd1d", "#ffaa01"], r = l(
|
|
115
|
-
e.rangeValue.low,
|
|
116
|
-
0,
|
|
117
|
-
e.rangeValue.high,
|
|
118
|
-
0,
|
|
119
|
-
50
|
|
120
|
-
)) : (t = ["#ffaa01", "#fadd1d", "#008b48"], r = l(
|
|
121
|
-
e.rangeValue.high,
|
|
122
|
-
e.rangeValue.low,
|
|
123
|
-
100,
|
|
124
|
-
50,
|
|
125
|
-
100
|
|
126
|
-
));
|
|
127
|
-
};
|
|
128
|
-
w(
|
|
129
|
-
() => e.data,
|
|
130
|
-
(a) => {
|
|
131
|
-
h(), d();
|
|
132
|
-
},
|
|
133
|
-
{ immediate: !0 }
|
|
134
|
-
);
|
|
135
|
-
const p = { gaugeChart: u, myChart: i, props: e, get color() {
|
|
136
|
-
return t;
|
|
137
|
-
}, set color(a) {
|
|
138
|
-
t = a;
|
|
139
|
-
}, get mappedValue() {
|
|
140
|
-
return r;
|
|
141
|
-
}, set mappedValue(a) {
|
|
142
|
-
r = a;
|
|
143
|
-
}, getColorRange: s, getMappedValue: g, getMarker: o, drawChart: d, getRangeData: h };
|
|
144
|
-
return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
export {
|
|
148
|
-
$ as default
|
|
149
|
-
};
|
package/es/echart-gauge/index.js
DELETED
package/es/echart-gauge/props.js
DELETED