@jetlinks-web/components 2.0.3 → 2.0.4-10
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/AMap/Map.js +5 -1
- package/es/AMap/index.js +3 -0
- package/es/BadgeStatus/Badge.js +3 -0
- package/es/BadgeStatus/index.js +3 -0
- package/es/CardSelect/CardSelect.js +4 -2
- package/es/CardSelect/index.js +3 -0
- package/es/CheckButton/CheckButton.js +4 -2
- package/es/CheckButton/index.js +3 -0
- package/es/CheckButton/style/index.css +37 -0
- package/es/CheckButton/style/index.less +40 -0
- package/es/ConfigProvider/index.js +3 -0
- package/es/Echarts/Echarts.js +3 -0
- package/es/Echarts/index.js +3 -0
- package/es/Ellipsis/Ellipsis.js +26 -23
- package/es/Ellipsis/index.js +3 -0
- package/es/Ellipsis/style/index.css +17 -0
- package/es/Ellipsis/style/index.less +20 -0
- package/es/Empty/Empty.js +3 -0
- package/es/Empty/index.js +3 -0
- package/es/FullPage/FullPage.js +4 -1
- package/es/FullPage/index.js +3 -0
- package/es/Icon/index.js +3 -0
- package/es/MonacoEditor/Monaco.js +4 -2
- package/es/MonacoEditor/index.js +3 -0
- package/es/PermissionButton/index.js +4 -1
- package/es/ProLayout/index.js +3 -0
- package/es/ProLayout/style/default.less +4 -4
- package/es/ProTable/index.js +4 -1
- package/es/ProTable/style/index.less +92 -92
- package/es/Scrollbar/index.js +3 -0
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Advanced/index.js +3 -0
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +4 -1
- package/es/Search/index.js +3 -0
- package/es/ValueItem/ValueItem.js +3 -0
- package/es/ValueItem/index.js +3 -0
- package/es/components.js +17 -0
- package/es/index.js +13 -22
- package/es/style/index.css +287 -0
- package/es/style/index.less +6 -0
- package/es/style/variable.less +2 -2
- package/es/style.js +2 -0
- package/lib/AMap/Map.js +5 -1
- package/lib/AMap/index.js +3 -0
- package/lib/BadgeStatus/Badge.js +3 -0
- package/lib/BadgeStatus/index.js +3 -0
- package/lib/CardSelect/CardSelect.js +4 -2
- package/lib/CardSelect/index.js +3 -0
- package/lib/CheckButton/CheckButton.js +4 -2
- package/lib/CheckButton/index.js +3 -0
- package/lib/CheckButton/style/index.css +37 -0
- package/lib/CheckButton/style/index.less +40 -0
- package/lib/ConfigProvider/index.js +3 -0
- package/lib/Echarts/Echarts.js +3 -0
- package/lib/Echarts/index.js +3 -0
- package/lib/Ellipsis/Ellipsis.js +26 -23
- package/lib/Ellipsis/index.js +3 -0
- package/lib/Ellipsis/style/index.css +17 -0
- package/lib/Ellipsis/style/index.less +20 -0
- package/lib/Empty/Empty.js +3 -0
- package/lib/Empty/index.js +3 -0
- package/lib/FullPage/FullPage.js +4 -1
- package/lib/FullPage/index.js +3 -0
- package/lib/Icon/index.js +3 -0
- package/lib/MonacoEditor/Monaco.js +4 -2
- package/lib/MonacoEditor/index.js +3 -0
- package/lib/PermissionButton/index.js +4 -1
- package/lib/ProLayout/index.js +3 -0
- package/lib/ProLayout/style/default.less +4 -4
- package/lib/ProTable/index.js +4 -1
- package/lib/ProTable/style/index.less +92 -92
- package/lib/Scrollbar/index.js +3 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Advanced/index.js +3 -0
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +4 -1
- package/lib/Search/index.js +3 -0
- package/lib/ValueItem/ValueItem.js +3 -0
- package/lib/ValueItem/index.js +3 -0
- package/lib/components.js +134 -0
- package/lib/index.js +18 -138
- package/lib/style/components.less +2 -0
- package/lib/style/index.css +287 -0
- package/lib/style/index.less +6 -0
- package/lib/style/variable.less +2 -2
- package/lib/style.js +2 -0
- package/package.json +8 -9
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} */
|
|
22
22
|
import { defineComponent as _defineComponent } from 'vue';
|
|
23
23
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
24
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250346464"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
|
@@ -105,6 +105,9 @@ import { Select, Button, Form, FormItemRest } from 'ant-design-vue';
|
|
|
105
105
|
import { AIcon } from '../../../';
|
|
106
106
|
import { cloneDeep } from 'lodash-es';
|
|
107
107
|
const __sfc_main__ = _defineComponent({
|
|
108
|
+
...{
|
|
109
|
+
name: 'JAdvancedSearch',
|
|
110
|
+
},
|
|
108
111
|
props: {
|
|
109
112
|
columns: {
|
|
110
113
|
type: Array,
|
package/es/Search/Item.js
CHANGED
|
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
78
78
|
} */
|
|
79
79
|
import { defineComponent as _defineComponent } from 'vue';
|
|
80
80
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
81
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250345910"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/es/Search/Search.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
} */
|
|
37
37
|
import { defineComponent as _defineComponent } from 'vue';
|
|
38
38
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
39
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713250346159"), n = n(), _popScopeId(), n);
|
|
40
40
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
41
41
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
42
42
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
|
@@ -46,6 +46,9 @@ import { termsParamsFormat } from './util';
|
|
|
46
46
|
import SearchItem from './Item.js';
|
|
47
47
|
import { optionsMapKey } from './setting';
|
|
48
48
|
const __sfc_main__ = _defineComponent({
|
|
49
|
+
...{
|
|
50
|
+
name: 'JSearch',
|
|
51
|
+
},
|
|
49
52
|
props: {
|
|
50
53
|
columns: {
|
|
51
54
|
type: Array,
|
package/es/Search/index.js
CHANGED
|
@@ -58,6 +58,9 @@ import { componentsType } from './util';
|
|
|
58
58
|
import { MonacoEditor } from '../../';
|
|
59
59
|
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue';
|
|
60
60
|
const __sfc_main__ = _defineComponent({
|
|
61
|
+
...{
|
|
62
|
+
name: 'JValueItem',
|
|
63
|
+
},
|
|
61
64
|
props: {
|
|
62
65
|
// 组件双向绑定的值
|
|
63
66
|
modelValue: {
|
package/es/ValueItem/index.js
CHANGED
package/es/components.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './AMap';
|
|
2
|
+
export { default as BadgeStatus } from './BadgeStatus';
|
|
3
|
+
export { default as CardSelect } from './CardSelect';
|
|
4
|
+
export { default as CheckButton } from './CheckButton';
|
|
5
|
+
export { default as ConfigProvider } from './ConfigProvider';
|
|
6
|
+
export { default as Echarts } from './Echarts';
|
|
7
|
+
export { default as Ellipsis } from './Ellipsis';
|
|
8
|
+
export { default as Empty } from './Empty';
|
|
9
|
+
export { default as FullPage } from './FullPage';
|
|
10
|
+
export { default as AIcon } from './Icon';
|
|
11
|
+
export { default as MonacoEditor } from './MonacoEditor';
|
|
12
|
+
export { default as PermissionButton } from './PermissionButton';
|
|
13
|
+
export { default as ProLayout, PageContainer } from './ProLayout';
|
|
14
|
+
export { default as ProTable } from './ProTable';
|
|
15
|
+
export { default as Scrollbar } from './Scrollbar';
|
|
16
|
+
export { default as Search, AdvancedSearch } from './Search';
|
|
17
|
+
export { default as ValueItem } from './ValueItem';
|
package/es/index.js
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import ProLayout, { PageContainer } from './ProLayout';
|
|
14
|
-
import ProTable from './ProTable';
|
|
15
|
-
import Scrollbar from './Scrollbar';
|
|
16
|
-
import Search, { AdvancedSearch } from './Search';
|
|
17
|
-
import ValueItem from './ValueItem';
|
|
18
|
-
export * from './style';
|
|
19
|
-
export { BadgeStatus, CardSelect, CheckButton, Echarts, Ellipsis, Empty, FullPage, AIcon, MonacoEditor, PermissionButton, ValueItem, ProTable, Scrollbar, Search, AdvancedSearch, ConfigProvider };
|
|
1
|
+
/*eslint import/namespace: ['error', { allowComputed: true }]*/
|
|
2
|
+
import * as components from './components';
|
|
3
|
+
export * from './components';
|
|
4
|
+
export var install = function install(app) {
|
|
5
|
+
Object.keys(components).forEach(function (key) {
|
|
6
|
+
var component = components[key];
|
|
7
|
+
if (component.install) {
|
|
8
|
+
app.use(component);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
return app;
|
|
12
|
+
};
|
|
20
13
|
export default {
|
|
21
|
-
install:
|
|
22
|
-
app.component('JAMap', InitAMap).component('JBadgeStatus', BadgeStatus).component('JCardSelect', CardSelect).component('JCheckButton', CheckButton).component('JConfigProvider', ConfigProvider).component('JEcharts', Echarts).component('JEllipsis', Ellipsis).component('JEmpty', Empty).component('JFullPage', FullPage).component('AIcon', AIcon).component('JMonacoEditor', MonacoEditor).component('JPermissionButton', PermissionButton).component('JProLayout', ProLayout).component('JPageContainer', PageContainer).component('JProTable', ProTable).component('JScrollbar', Scrollbar).component('JSearch', Search).component('JAdvancedSearch', AdvancedSearch).component('JValueItem', ValueItem);
|
|
23
|
-
}
|
|
14
|
+
install: install
|
|
24
15
|
};
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
.j-ellipsis {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
vertical-align: bottom;
|
|
4
|
+
}
|
|
5
|
+
.j-ellipsis-cursor {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
.j-ellipsis-line-clamp {
|
|
9
|
+
display: -webkit-box;
|
|
10
|
+
-webkit-box-orient: vertical;
|
|
11
|
+
word-break: break-all;
|
|
12
|
+
}
|
|
13
|
+
.j-ellipsis-deep {
|
|
14
|
+
max-height: 380px;
|
|
15
|
+
-webkit-line-clamp: 17;
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
}
|
|
18
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
19
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
20
|
+
/* stylelint-disable */
|
|
21
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
22
|
+
.j-check-button {
|
|
23
|
+
display: flex;
|
|
24
|
+
gap: 16px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
.j-check-button .j-check-button-item {
|
|
28
|
+
flex: 1;
|
|
29
|
+
min-width: 0;
|
|
30
|
+
padding: 8px;
|
|
31
|
+
border-radius: 6px;
|
|
32
|
+
background-color: #f2f3f5;
|
|
33
|
+
transition: all 0.3s;
|
|
34
|
+
color: #333;
|
|
35
|
+
text-align: center;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
.j-check-button .j-check-button-item:hover {
|
|
39
|
+
background-color: #315EFB;
|
|
40
|
+
opacity: 0.85;
|
|
41
|
+
color: #fff;
|
|
42
|
+
}
|
|
43
|
+
.j-check-button .j-check-button-item.selected {
|
|
44
|
+
background-color: #315EFB;
|
|
45
|
+
color: #fff;
|
|
46
|
+
}
|
|
47
|
+
.j-check-button .j-check-button-item.disabled {
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
color: #00000060;
|
|
50
|
+
}
|
|
51
|
+
.j-check-button .j-check-button-item.disabled:hover {
|
|
52
|
+
background-color: #f2f3f5;
|
|
53
|
+
color: #00000060;
|
|
54
|
+
}
|
|
55
|
+
.jtable-body-spin {
|
|
56
|
+
min-height: 100%;
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: 16px 24px 24px;
|
|
59
|
+
background-color: #fff;
|
|
60
|
+
}
|
|
61
|
+
.jtable-body-spin .ant-spin-nested-loading {
|
|
62
|
+
height: 100%;
|
|
63
|
+
}
|
|
64
|
+
.jtable-body-spin .ant-spin-nested-loading .ant-spin-container {
|
|
65
|
+
height: 100%;
|
|
66
|
+
}
|
|
67
|
+
.jtable-body-spin .jtable-body {
|
|
68
|
+
width: 100%;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
height: 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
}
|
|
74
|
+
.jtable-body-spin .jtable-body .jtable-body-header {
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right {
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: 8px;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .right-button-icon {
|
|
85
|
+
font-size: 16px;
|
|
86
|
+
color: #d9d9d9;
|
|
87
|
+
}
|
|
88
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .ant-radio-button-wrapper {
|
|
89
|
+
padding: 0 8px;
|
|
90
|
+
}
|
|
91
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .ant-radio-button-wrapper-checked .right-button-icon {
|
|
92
|
+
color: #315EFB;
|
|
93
|
+
}
|
|
94
|
+
.jtable-body-spin .jtable-body .jtable-content {
|
|
95
|
+
flex: 1;
|
|
96
|
+
padding: 16px 0;
|
|
97
|
+
}
|
|
98
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-alert {
|
|
99
|
+
margin-bottom: 16px;
|
|
100
|
+
}
|
|
101
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-card .jtable-card-items {
|
|
102
|
+
display: grid;
|
|
103
|
+
grid-gap: 26px;
|
|
104
|
+
}
|
|
105
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-card .jtable-card-items .jtable-card-item {
|
|
106
|
+
display: flex;
|
|
107
|
+
min-width: 0;
|
|
108
|
+
}
|
|
109
|
+
.jtable-body-spin .jtable-body .jtable-pagination {
|
|
110
|
+
width: 100%;
|
|
111
|
+
display: flex;
|
|
112
|
+
justify-content: flex-end;
|
|
113
|
+
}
|
|
114
|
+
.jtable-body-spin .jtable-body .j-table-empty {
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
align-items: center;
|
|
118
|
+
margin: 10% 0;
|
|
119
|
+
}
|
|
120
|
+
.JSearch-warp {
|
|
121
|
+
padding: 24px;
|
|
122
|
+
background-color: #fff;
|
|
123
|
+
margin-bottom: 24px;
|
|
124
|
+
}
|
|
125
|
+
.JSearch-warp .pack-up .JSearch-items {
|
|
126
|
+
flex: 1 1 auto;
|
|
127
|
+
}
|
|
128
|
+
.JSearch-warp .pack-up .JSearch-items .left {
|
|
129
|
+
min-width: 380px;
|
|
130
|
+
max-width: 580px;
|
|
131
|
+
}
|
|
132
|
+
.JSearch-warp.senior > .JSearch-content {
|
|
133
|
+
display: flex;
|
|
134
|
+
}
|
|
135
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer {
|
|
136
|
+
display: flex;
|
|
137
|
+
gap: 64px;
|
|
138
|
+
position: relative;
|
|
139
|
+
}
|
|
140
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .more-btn .more-text {
|
|
141
|
+
padding-right: 24px;
|
|
142
|
+
}
|
|
143
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .more-btn .more-icon {
|
|
144
|
+
transition: transform 0.3s;
|
|
145
|
+
transform: rotateZ(90deg);
|
|
146
|
+
font-size: 14px;
|
|
147
|
+
}
|
|
148
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .more-btn .more-icon.more-up {
|
|
149
|
+
transform: rotateZ(-90deg);
|
|
150
|
+
}
|
|
151
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer.expand {
|
|
152
|
+
margin-top: 16px;
|
|
153
|
+
width: 100%;
|
|
154
|
+
justify-content: space-between;
|
|
155
|
+
}
|
|
156
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .JSearch-footer--btns {
|
|
157
|
+
display: flex;
|
|
158
|
+
gap: 12px;
|
|
159
|
+
}
|
|
160
|
+
.JSearch-warp.senior > .JSearch-content .items-expand {
|
|
161
|
+
display: flex;
|
|
162
|
+
gap: 16px;
|
|
163
|
+
}
|
|
164
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .left,
|
|
165
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .right {
|
|
166
|
+
min-width: 0;
|
|
167
|
+
flex: 1 1 0;
|
|
168
|
+
}
|
|
169
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .left-items,
|
|
170
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .right-items {
|
|
171
|
+
display: flex;
|
|
172
|
+
gap: 16px;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
}
|
|
175
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .center {
|
|
176
|
+
display: flex;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
}
|
|
180
|
+
.JSearch-warp.senior > .JSearch-content .items-expand.vertical {
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
}
|
|
183
|
+
.JSearch-warp.senior > .JSearch-content .items-expand.vertical .center {
|
|
184
|
+
flex-direction: row;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
}
|
|
187
|
+
.JSearch-warp.senior > .JSearch-content.senior-expand {
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
}
|
|
190
|
+
.JSearch-warp.senior > .JSearch-content.small {
|
|
191
|
+
gap: 12px;
|
|
192
|
+
}
|
|
193
|
+
.JSearch-warp.senior > .JSearch-content.small .JSearch-footer {
|
|
194
|
+
gap: 4px;
|
|
195
|
+
}
|
|
196
|
+
.JSearch-warp .JSearch-content.simple .JSearch-footer--btns {
|
|
197
|
+
display: flex;
|
|
198
|
+
gap: 12px;
|
|
199
|
+
}
|
|
200
|
+
.JSearch-warp .JSearch-content.simple .JSearch-item {
|
|
201
|
+
gap: 8px;
|
|
202
|
+
}
|
|
203
|
+
.JSearch-warp .JSearch-content.simple .JSearch-item .JSearch-item--label {
|
|
204
|
+
text-align: right;
|
|
205
|
+
}
|
|
206
|
+
.JSearch-warp .no-radius {
|
|
207
|
+
border-radius: 0;
|
|
208
|
+
border-color: #f1f1f1;
|
|
209
|
+
}
|
|
210
|
+
.JSearch-warp .search-history-warp {
|
|
211
|
+
position: relative;
|
|
212
|
+
}
|
|
213
|
+
.JSearch-warp .search-history-warp .search-history-button {
|
|
214
|
+
padding-right: 32px;
|
|
215
|
+
}
|
|
216
|
+
.JSearch-warp .search-history-warp .search-history-button-icon {
|
|
217
|
+
position: absolute;
|
|
218
|
+
width: 24px;
|
|
219
|
+
height: 18px;
|
|
220
|
+
right: 6px;
|
|
221
|
+
top: 8px;
|
|
222
|
+
color: #fff;
|
|
223
|
+
line-height: 18px;
|
|
224
|
+
text-align: center;
|
|
225
|
+
font-weight: bold;
|
|
226
|
+
}
|
|
227
|
+
.JSearch-warp .search-history-warp .search-history-button-icon > span {
|
|
228
|
+
font-size: 14px;
|
|
229
|
+
}
|
|
230
|
+
.search-history-empty {
|
|
231
|
+
padding: 12px 12px 6px 12px;
|
|
232
|
+
background-color: #fff;
|
|
233
|
+
}
|
|
234
|
+
.search-history-items {
|
|
235
|
+
width: 120px;
|
|
236
|
+
max-height: 300px;
|
|
237
|
+
overflow-y: auto;
|
|
238
|
+
}
|
|
239
|
+
.search-history-items .search-history-item {
|
|
240
|
+
display: flex;
|
|
241
|
+
padding: 4px 0px 4px 4px;
|
|
242
|
+
align-items: center;
|
|
243
|
+
gap: 4px;
|
|
244
|
+
}
|
|
245
|
+
.search-history-items .search-history-item:hover {
|
|
246
|
+
background-color: #f1f1f1;
|
|
247
|
+
}
|
|
248
|
+
.search-history-items .search-history-item .history-item--title {
|
|
249
|
+
width: calc(100% - 30px);
|
|
250
|
+
cursor: pointer;
|
|
251
|
+
}
|
|
252
|
+
.search-history-items .search-history-item .delete {
|
|
253
|
+
padding: 0 6px;
|
|
254
|
+
flex: 0 0 28px;
|
|
255
|
+
}
|
|
256
|
+
.search-history-list-pop .ant-popover-inner-content {
|
|
257
|
+
padding: 0;
|
|
258
|
+
}
|
|
259
|
+
.JSearch-item {
|
|
260
|
+
display: flex;
|
|
261
|
+
gap: 16px;
|
|
262
|
+
align-items: center;
|
|
263
|
+
}
|
|
264
|
+
.JSearch-item .JSearch-item--type {
|
|
265
|
+
width: 90px;
|
|
266
|
+
min-width: 0;
|
|
267
|
+
}
|
|
268
|
+
.JSearch-item .JSearch-item--type > span {
|
|
269
|
+
line-height: 34px;
|
|
270
|
+
font-weight: bold;
|
|
271
|
+
}
|
|
272
|
+
.JSearch-item .JSearch-item--column {
|
|
273
|
+
width: 130px;
|
|
274
|
+
min-width: 0;
|
|
275
|
+
}
|
|
276
|
+
.JSearch-item .JSearch-item--termType {
|
|
277
|
+
width: 110px;
|
|
278
|
+
min-width: 0;
|
|
279
|
+
}
|
|
280
|
+
.JSearch-item .JSearch-item--label {
|
|
281
|
+
min-width: 40px;
|
|
282
|
+
}
|
|
283
|
+
.JSearch-item .JSearch-item--value {
|
|
284
|
+
display: flex;
|
|
285
|
+
width: 0;
|
|
286
|
+
flex-grow: 1;
|
|
287
|
+
}
|
package/es/style/variable.less
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@text-color-title: #000;
|
|
2
|
-
@text-color-subtitle: #263237;
|
|
1
|
+
@text-color-title: #000;
|
|
2
|
+
@text-color-subtitle: #263237;
|
package/es/style.js
CHANGED
package/lib/AMap/Map.js
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"WebKey": "props",
|
|
10
10
|
"ref": "setup-const",
|
|
11
11
|
"computed": "setup-const",
|
|
12
|
+
"inject": "setup-const",
|
|
12
13
|
"initAMapApiLoader": "setup-maybe-ref",
|
|
13
14
|
"ElAmap": "setup-maybe-ref",
|
|
14
15
|
"getAMapUiPromise": "setup-maybe-ref",
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
} */
|
|
29
30
|
import { defineComponent as _defineComponent } from 'vue';
|
|
30
31
|
import { renderSlot as _renderSlot, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
|
31
|
-
import { ref, computed } from 'vue';
|
|
32
|
+
import { ref, computed, inject } from 'vue';
|
|
32
33
|
import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
|
|
33
34
|
import { getAMapUiPromise } from '@jetlinks-web/utils';
|
|
34
35
|
import { MapProps } from './util';
|
|
@@ -36,6 +37,9 @@ import { MAPConfig } from "@jetlinks-web/constants";
|
|
|
36
37
|
import Empty from '../Empty';
|
|
37
38
|
import '@vuemap/vue-amap/dist/style.css';
|
|
38
39
|
const __sfc_main__ = _defineComponent({
|
|
40
|
+
...{
|
|
41
|
+
name: 'JAMap'
|
|
42
|
+
},
|
|
39
43
|
props: {
|
|
40
44
|
...MapProps(),
|
|
41
45
|
style: Object,
|
package/lib/AMap/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _Map = _interopRequireDefault(require("./Map.js"));
|
|
9
|
+
_Map.default.install = function (app) {
|
|
10
|
+
app.component(_Map.default.name, _Map.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _Map.default;
|
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -12,6 +12,9 @@ import { resolveComponent as _resolveComponent, openBlock as _openBlock, createB
|
|
|
12
12
|
import { computed } from 'vue';
|
|
13
13
|
import { getHexColor } from './color';
|
|
14
14
|
const __sfc_main__ = _defineComponent({
|
|
15
|
+
...{
|
|
16
|
+
name: 'JBadgeStatus'
|
|
17
|
+
},
|
|
15
18
|
props: {
|
|
16
19
|
text: {
|
|
17
20
|
type: String,
|
package/lib/BadgeStatus/index.js
CHANGED
|
@@ -20,7 +20,9 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
20
20
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
21
21
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
22
22
|
import { has } from 'lodash-es';
|
|
23
|
-
const __sfc_main__ = {
|
|
23
|
+
const __sfc_main__ = Object.assign({
|
|
24
|
+
name: 'JCardSelect'
|
|
25
|
+
}, {
|
|
24
26
|
props: {
|
|
25
27
|
layout: {
|
|
26
28
|
type: String,
|
|
@@ -119,5 +121,5 @@ const __sfc_main__ = {
|
|
|
119
121
|
], 4 /* STYLE */));
|
|
120
122
|
};
|
|
121
123
|
}
|
|
122
|
-
};
|
|
124
|
+
});
|
|
123
125
|
export default __sfc_main__;
|
package/lib/CardSelect/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _CardSelect = _interopRequireDefault(require("./CardSelect.js"));
|
|
9
|
+
_CardSelect.default.install = function (app) {
|
|
10
|
+
app.component(_CardSelect.default.name, _CardSelect.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _CardSelect.default;
|
|
@@ -19,12 +19,14 @@
|
|
|
19
19
|
"selected": "setup-const"
|
|
20
20
|
} */
|
|
21
21
|
import { defineComponent as _defineComponent } from 'vue';
|
|
22
|
-
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle
|
|
23
|
-
const _withScopeId = n => (_pushScopeId("data-v-1712546546207"), n = n(), _popScopeId(), n);
|
|
22
|
+
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
24
23
|
const _hoisted_1 = ["onClick"];
|
|
25
24
|
import { computed, ref, watch } from 'vue';
|
|
26
25
|
import { isArray } from '@jetlinks-web/utils';
|
|
27
26
|
const __sfc_main__ = _defineComponent({
|
|
27
|
+
...{
|
|
28
|
+
name: 'JCheckButton'
|
|
29
|
+
},
|
|
28
30
|
props: {
|
|
29
31
|
value: {
|
|
30
32
|
type: [String, Array],
|
package/lib/CheckButton/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _CheckButton = _interopRequireDefault(require("./CheckButton.js"));
|
|
9
|
+
_CheckButton.default.install = function (app) {
|
|
10
|
+
app.component(_CheckButton.default.name, _CheckButton.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _CheckButton.default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
3
|
+
/* stylelint-disable */
|
|
4
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
5
|
+
.j-check-button {
|
|
6
|
+
display: flex;
|
|
7
|
+
gap: 16px;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
.j-check-button .j-check-button-item {
|
|
11
|
+
flex: 1;
|
|
12
|
+
min-width: 0;
|
|
13
|
+
padding: 8px;
|
|
14
|
+
border-radius: 6px;
|
|
15
|
+
background-color: #f2f3f5;
|
|
16
|
+
transition: all 0.3s;
|
|
17
|
+
color: #333;
|
|
18
|
+
text-align: center;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
.j-check-button .j-check-button-item:hover {
|
|
22
|
+
background-color: #315EFB;
|
|
23
|
+
opacity: 0.85;
|
|
24
|
+
color: #fff;
|
|
25
|
+
}
|
|
26
|
+
.j-check-button .j-check-button-item.selected {
|
|
27
|
+
background-color: #315EFB;
|
|
28
|
+
color: #fff;
|
|
29
|
+
}
|
|
30
|
+
.j-check-button .j-check-button-item.disabled {
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
color: #00000060;
|
|
33
|
+
}
|
|
34
|
+
.j-check-button .j-check-button-item.disabled:hover {
|
|
35
|
+
background-color: #f2f3f5;
|
|
36
|
+
color: #00000060;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@import 'ant-design-vue/es/style/themes/index.less';
|
|
2
|
+
|
|
3
|
+
.j-check-button {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 16px;
|
|
6
|
+
width: 100%;
|
|
7
|
+
|
|
8
|
+
.j-check-button-item {
|
|
9
|
+
flex: 1;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
padding: 8px;
|
|
12
|
+
border-radius: @border-radius-base;
|
|
13
|
+
background-color: #f2f3f5;
|
|
14
|
+
transition: all 0.3s;
|
|
15
|
+
color: #333;
|
|
16
|
+
text-align: center;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background-color: @primary-color;
|
|
21
|
+
opacity: 0.85;
|
|
22
|
+
color: #fff;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.selected {
|
|
26
|
+
background-color: @primary-color;
|
|
27
|
+
color: #fff;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.disabled {
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
color: #00000060;
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
background-color: #f2f3f5;
|
|
36
|
+
color: #00000060;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -34,4 +34,7 @@ var JConfigProvider = (0, _vue.defineComponent)({
|
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
JConfigProvider.config = _antDesignVue.ConfigProvider.config;
|
|
37
|
+
JConfigProvider.install = function (app) {
|
|
38
|
+
app.component(JConfigProvider.name, JConfigProvider);
|
|
39
|
+
};
|
|
37
40
|
var _default = exports.default = JConfigProvider;
|
package/lib/Echarts/Echarts.js
CHANGED
|
@@ -16,6 +16,9 @@ import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createEleme
|
|
|
16
16
|
import { nextTick, ref, watch, } from 'vue';
|
|
17
17
|
import { useECharts } from '@jetlinks-web/hooks';
|
|
18
18
|
const __sfc_main__ = _defineComponent({
|
|
19
|
+
...{
|
|
20
|
+
name: 'JEcharts'
|
|
21
|
+
},
|
|
19
22
|
props: {
|
|
20
23
|
options: {
|
|
21
24
|
type: Object,
|
package/lib/Echarts/index.js
CHANGED
|
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _Echarts = _interopRequireDefault(require("./Echarts.js"));
|
|
9
|
+
_Echarts.default.install = function (app) {
|
|
10
|
+
app.component(_Echarts.default.name, _Echarts.default);
|
|
11
|
+
};
|
|
9
12
|
var _default = exports.default = _Echarts.default;
|