@jetlinks-web/components 2.7.0 → 3.0.0
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/AutoComplete/AutoComplete.js +2 -3
- package/es/BadgeStatus/Badge.js +2 -3
- package/es/CardSelect/CardSelect.js +23 -18
- package/es/CardSelect/style/index.js +25 -1
- package/es/CheckButton/CheckButton.js +12 -4
- package/es/CheckButton/style/index.js +41 -1
- package/es/ConfigProvider/index.js +1 -1
- package/es/DragModal/DragModal.js +15 -9
- package/es/DragModal/style/index.js +64 -1
- package/es/EditTable/Body.js +10 -3
- package/es/EditTable/EditTable.js +14 -8
- package/es/EditTable/FormItem.js +15 -10
- package/es/EditTable/Header.js +16 -6
- package/es/EditTable/components/ContextMenu/Menu.js +12 -6
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +24 -19
- package/es/EditTable/hooks/useValidate.js +1 -1
- package/es/EditTable/style/body.js +53 -0
- package/es/EditTable/style/form.js +24 -0
- package/es/EditTable/style/group.js +25 -0
- package/es/EditTable/style/header.js +58 -0
- package/es/EditTable/style/index.js +42 -1
- package/es/EditTable/style/menu.js +27 -0
- package/es/EditTable/style/table.js +46 -0
- package/es/EditTable/utils.js +1 -1
- package/es/Ellipsis/Ellipsis.js +11 -3
- package/es/Ellipsis/style/index.js +24 -1
- package/es/Empty/Empty.js +1 -1
- package/es/FullPage/FullPage.js +1 -2
- package/es/LocaleProvider/index.js +1 -2
- package/es/PermissionButton/index.js +4 -5
- package/es/ProLayout/Basic/BasicLayout.js +46 -42
- package/es/ProLayout/Basic/BasicLayoutStyle.js +39 -0
- package/es/ProLayout/Basic/Header.js +4 -8
- package/es/ProLayout/Basic/HeaderStyle.js +10 -0
- package/es/ProLayout/PageContainer/index.js +20 -16
- package/es/ProLayout/PageContainer/style.js +46 -0
- package/es/ProLayout/SiderMenu/BaseMenu.js +14 -37
- package/es/ProLayout/SiderMenu/SiderMenu.js +25 -36
- package/es/ProLayout/SiderMenu/style.js +166 -0
- package/es/ProLayout/TopHeader/index.js +12 -11
- package/es/ProLayout/TopHeader/style.js +126 -0
- package/es/ProLayout/style/index.js +7 -1
- package/es/ProLayout/util.js +5 -5
- package/es/ProTable/Alert.js +13 -5
- package/es/ProTable/Content.js +22 -14
- package/es/ProTable/Header.js +22 -12
- package/es/ProTable/Pagination.js +13 -5
- package/es/ProTable/ProTable.js +43 -27
- package/es/ProTable/setting.js +1 -1
- package/es/ProTable/style/index.js +109 -1
- package/es/RadioButton/RadioButton.js +10 -4
- package/es/RadioButton/style/index.js +23 -1
- package/es/Scrollbar/Scrollbar.js +10 -3
- package/es/Scrollbar/Thumb.js +36 -25
- package/es/Scrollbar/style/index.js +63 -1
- package/es/Search/Advanced/History.js +24 -17
- package/es/Search/Advanced/SaveHistory.js +2 -3
- package/es/Search/Advanced/index.js +213 -293
- package/es/Search/Item.js +175 -415
- package/es/Search/Search.js +78 -172
- package/es/Search/hooks/index.js +108 -1
- package/es/Search/hooks/useRouteQuery.js +57 -0
- package/es/Search/setting.js +132 -14
- package/es/Search/style/index.js +4 -2
- package/es/Search/style/item.js +28 -0
- package/es/Search/style/search.js +133 -0
- package/es/Search/util.js +116 -124
- package/es/Skeleton/components/DashBoardCard.js +64 -0
- package/es/Skeleton/components/DashBoardChart.js +96 -0
- package/es/Skeleton/components/Detail.js +110 -0
- package/es/Skeleton/components/Drawer.js +91 -0
- package/es/Skeleton/components/Item.js +68 -0
- package/es/Skeleton/components/List.js +45 -0
- package/es/Skeleton/components/ListCard.js +63 -0
- package/es/Skeleton/components/ListCardItem.js +86 -0
- package/es/Skeleton/components/ListTable.js +76 -0
- package/es/Skeleton/components/Page.js +62 -0
- package/es/Skeleton/components/Search.js +54 -0
- package/es/Skeleton/components/Tree.js +72 -0
- package/es/Skeleton/index.js +15 -0
- package/es/Skeleton/skeleton.js +58 -0
- package/es/Skeleton/style/index.js +132 -0
- package/es/Title/style/index.js +29 -1
- package/es/Title/title.js +13 -5
- package/es/ValueItem/ValueItem.js +29 -72
- package/es/components.js +0 -3
- package/es/locale/en-US.js +0 -7
- package/es/locale/zh-CN.js +0 -7
- package/es/style/index.js +0 -3
- package/es/style/styleRegister.js +21 -0
- package/es/style/variable.js +4 -0
- package/es/style.js +0 -12
- package/lib/AutoComplete/AutoComplete.js +1 -2
- package/lib/BadgeStatus/Badge.js +2 -3
- package/lib/CardSelect/CardSelect.js +23 -18
- package/lib/CardSelect/style/index.js +30 -1
- package/lib/CheckButton/CheckButton.js +12 -4
- package/lib/CheckButton/style/index.js +46 -1
- package/lib/ConfigProvider/context.js +1 -1
- package/lib/ConfigProvider/index.js +3 -3
- package/lib/DragModal/DragModal.js +15 -9
- package/lib/DragModal/style/index.js +69 -1
- package/lib/EditTable/Body.js +10 -3
- package/lib/EditTable/EditTable.js +13 -7
- package/lib/EditTable/FormItem.js +16 -11
- package/lib/EditTable/Header.js +16 -6
- package/lib/EditTable/components/ContextMenu/Menu.js +12 -6
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +24 -19
- package/lib/EditTable/hooks/useValidate.js +1 -1
- package/lib/EditTable/style/body.js +60 -0
- package/lib/EditTable/style/form.js +31 -0
- package/lib/EditTable/style/group.js +32 -0
- package/lib/EditTable/style/header.js +65 -0
- package/lib/EditTable/style/index.js +47 -1
- package/lib/EditTable/style/menu.js +33 -0
- package/lib/EditTable/style/table.js +52 -0
- package/lib/EditTable/utils.js +1 -1
- package/lib/Ellipsis/Ellipsis.js +11 -3
- package/lib/Ellipsis/style/index.js +29 -1
- package/lib/Empty/Empty.js +1 -1
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/PermissionButton/index.js +9 -10
- package/lib/ProLayout/Basic/BasicLayout.js +55 -51
- package/lib/ProLayout/Basic/BasicLayoutStyle.js +46 -0
- package/lib/ProLayout/Basic/Header.js +6 -10
- package/lib/ProLayout/Basic/HeaderStyle.js +17 -0
- package/lib/ProLayout/PageContainer/index.js +24 -20
- package/lib/ProLayout/PageContainer/style.js +53 -0
- package/lib/ProLayout/SiderMenu/BaseMenu.js +18 -40
- package/lib/ProLayout/SiderMenu/SiderMenu.js +28 -39
- package/lib/ProLayout/SiderMenu/style.js +173 -0
- package/lib/ProLayout/TopHeader/index.js +12 -10
- package/lib/ProLayout/TopHeader/style.js +133 -0
- package/lib/ProLayout/defaultSettings.js +1 -1
- package/lib/ProLayout/style/index.js +12 -1
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Alert.js +13 -5
- package/lib/ProTable/Content.js +22 -14
- package/lib/ProTable/Header.js +22 -12
- package/lib/ProTable/Pagination.js +13 -5
- package/lib/ProTable/ProTable.js +43 -27
- package/lib/ProTable/setting.js +3 -3
- package/lib/ProTable/style/index.js +114 -1
- package/lib/RadioButton/RadioButton.js +10 -4
- package/lib/RadioButton/style/index.js +28 -1
- package/lib/Scrollbar/Scrollbar.js +10 -3
- package/lib/Scrollbar/Thumb.js +36 -25
- package/lib/Scrollbar/style/index.js +68 -1
- package/lib/Search/Advanced/History.js +24 -17
- package/lib/Search/Advanced/SaveHistory.js +2 -3
- package/lib/Search/Advanced/index.js +213 -293
- package/lib/Search/Item.js +175 -415
- package/lib/Search/Search.js +78 -172
- package/lib/Search/hooks/index.js +130 -1
- package/lib/Search/hooks/useRouteQuery.js +64 -0
- package/lib/Search/setting.js +133 -15
- package/lib/Search/style/index.js +9 -2
- package/lib/Search/style/item.js +35 -0
- package/lib/Search/style/search.js +140 -0
- package/lib/Search/util.js +116 -124
- package/lib/Skeleton/components/DashBoardCard.js +64 -0
- package/lib/Skeleton/components/DashBoardChart.js +96 -0
- package/lib/Skeleton/components/Detail.js +110 -0
- package/lib/Skeleton/components/Drawer.js +91 -0
- package/lib/Skeleton/components/Item.js +68 -0
- package/lib/Skeleton/components/List.js +45 -0
- package/lib/Skeleton/components/ListCard.js +63 -0
- package/lib/Skeleton/components/ListCardItem.js +86 -0
- package/lib/Skeleton/components/ListTable.js +76 -0
- package/lib/Skeleton/components/Page.js +62 -0
- package/lib/Skeleton/components/Search.js +54 -0
- package/lib/Skeleton/components/Tree.js +72 -0
- package/lib/Skeleton/index.js +75 -0
- package/lib/Skeleton/skeleton.js +58 -0
- package/lib/Skeleton/style/index.js +139 -0
- package/lib/Title/style/index.js +34 -1
- package/lib/Title/title.js +13 -5
- package/lib/ValueItem/ValueItem.js +29 -72
- package/lib/components.js +0 -21
- package/lib/locale/en-US.js +0 -7
- package/lib/locale/zh-CN.js +0 -7
- package/lib/style/components.less +0 -1
- package/lib/style/index.js +1 -4
- package/lib/style/styleRegister.js +28 -0
- package/lib/style/variable.js +10 -0
- package/lib/style.js +1 -14
- package/package.json +13 -14
- package/es/AMap/Map.js +0 -133
- package/es/AMap/index.js +0 -5
- package/es/AMap/util.js +0 -56
- package/es/CardSelect/style/index.css +0 -24
- package/es/CardSelect/style/index.less +0 -26
- package/es/CheckButton/style/index.css +0 -37
- package/es/CheckButton/style/index.less +0 -40
- package/es/DragModal/style/index.css +0 -82
- package/es/DragModal/style/index.less +0 -97
- package/es/Echarts/Echarts.js +0 -48
- package/es/Echarts/index.js +0 -5
- package/es/EditTable/style/body.less +0 -66
- package/es/EditTable/style/form.less +0 -33
- package/es/EditTable/style/group.less +0 -32
- package/es/EditTable/style/header.less +0 -77
- package/es/EditTable/style/index.css +0 -267
- package/es/EditTable/style/index.less +0 -41
- package/es/EditTable/style/menu.less +0 -25
- package/es/EditTable/style/table.less +0 -47
- package/es/Ellipsis/style/index.css +0 -17
- package/es/Ellipsis/style/index.less +0 -20
- package/es/MonacoEditor/Monaco.js +0 -242
- package/es/MonacoEditor/index.js +0 -5
- package/es/MonacoEditor/style/index.css +0 -4
- package/es/MonacoEditor/style/index.js +0 -1
- package/es/MonacoEditor/style/index.less +0 -4
- package/es/ProLayout/Basic/BasicLayout.less +0 -66
- package/es/ProLayout/Basic/Header.less +0 -8
- package/es/ProLayout/PageContainer/index.less +0 -103
- package/es/ProLayout/SiderMenu/index.less +0 -231
- package/es/ProLayout/TopHeader/index.less +0 -174
- package/es/ProLayout/style/default.less +0 -4
- package/es/ProLayout/style/style.less +0 -7
- package/es/ProTable/style/ProTable.less +0 -141
- package/es/RadioButton/style/index.css +0 -20
- package/es/RadioButton/style/index.less +0 -19
- package/es/Scrollbar/style/index.css +0 -65
- package/es/Scrollbar/style/index.less +0 -83
- package/es/Search/style/Item.less +0 -33
- package/es/Search/style/Search.less +0 -179
- package/es/Title/style/index.css +0 -23
- package/es/Title/style/index.less +0 -25
- package/es/style/index.css +0 -5197
- package/es/style/index.less +0 -13
- package/es/style/variable.css +0 -4
- package/es/style/variable.less +0 -4
- package/lib/AMap/Map.js +0 -133
- package/lib/AMap/index.js +0 -12
- package/lib/AMap/util.js +0 -62
- package/lib/CardSelect/style/index.css +0 -24
- package/lib/CardSelect/style/index.less +0 -26
- package/lib/CheckButton/style/index.css +0 -37
- package/lib/CheckButton/style/index.less +0 -40
- package/lib/DragModal/style/index.css +0 -82
- package/lib/DragModal/style/index.less +0 -97
- package/lib/Echarts/Echarts.js +0 -48
- package/lib/Echarts/index.js +0 -12
- package/lib/EditTable/style/body.less +0 -66
- package/lib/EditTable/style/form.less +0 -33
- package/lib/EditTable/style/group.less +0 -32
- package/lib/EditTable/style/header.less +0 -77
- package/lib/EditTable/style/index.css +0 -267
- package/lib/EditTable/style/index.less +0 -41
- package/lib/EditTable/style/menu.less +0 -25
- package/lib/EditTable/style/table.less +0 -47
- package/lib/Ellipsis/style/index.css +0 -17
- package/lib/Ellipsis/style/index.less +0 -20
- package/lib/MonacoEditor/Monaco.js +0 -242
- package/lib/MonacoEditor/index.js +0 -12
- package/lib/MonacoEditor/style/index.css +0 -4
- package/lib/MonacoEditor/style/index.js +0 -3
- package/lib/MonacoEditor/style/index.less +0 -4
- package/lib/ProLayout/Basic/BasicLayout.less +0 -66
- package/lib/ProLayout/Basic/Header.less +0 -8
- package/lib/ProLayout/PageContainer/index.less +0 -103
- package/lib/ProLayout/SiderMenu/index.less +0 -231
- package/lib/ProLayout/TopHeader/index.less +0 -174
- package/lib/ProLayout/style/default.less +0 -4
- package/lib/ProLayout/style/style.less +0 -7
- package/lib/ProTable/style/ProTable.less +0 -141
- package/lib/RadioButton/style/index.css +0 -20
- package/lib/RadioButton/style/index.less +0 -19
- package/lib/Scrollbar/style/index.css +0 -65
- package/lib/Scrollbar/style/index.less +0 -83
- package/lib/Search/style/Item.less +0 -33
- package/lib/Search/style/Search.less +0 -179
- package/lib/Title/style/index.css +0 -23
- package/lib/Title/style/index.less +0 -25
- package/lib/style/index.css +0 -5197
- package/lib/style/index.less +0 -13
- package/lib/style/variable.css +0 -4
- package/lib/style/variable.less +0 -4
package/es/style/index.less
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@import '../Ellipsis/style/index.less';
|
|
2
|
-
@import '../CheckButton/style/index.less';
|
|
3
|
-
@import '../ProLayout/style/style.less';
|
|
4
|
-
@import '../ProTable/style/ProTable.less';
|
|
5
|
-
@import '../Search/style/Search.less';
|
|
6
|
-
@import '../Search/style/Item.less';
|
|
7
|
-
@import '../CardSelect/style/index.less';
|
|
8
|
-
@import '../DragModal/style/index.less';
|
|
9
|
-
@import "../EditTable/style/index.less";
|
|
10
|
-
@import "../MonacoEditor/style/index.less";
|
|
11
|
-
@import '../Scrollbar/style/index.less';
|
|
12
|
-
@import '../Title/style/index.less';
|
|
13
|
-
@import '../RadioButton/style/index.less';
|
package/es/style/variable.css
DELETED
package/es/style/variable.less
DELETED
package/lib/AMap/Map.js
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/* Analyzed bindings: {
|
|
2
|
-
"style": "props",
|
|
3
|
-
"class": "props",
|
|
4
|
-
"AMapUI": "props",
|
|
5
|
-
"center": "props",
|
|
6
|
-
"plugins": "props",
|
|
7
|
-
"zooms": "props",
|
|
8
|
-
"JSKey": "props",
|
|
9
|
-
"WebKey": "props",
|
|
10
|
-
"ref": "setup-const",
|
|
11
|
-
"computed": "setup-const",
|
|
12
|
-
"inject": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
|
-
"initAMapApiLoader": "setup-maybe-ref",
|
|
15
|
-
"ElAmap": "setup-maybe-ref",
|
|
16
|
-
"getAMapUiPromise": "setup-maybe-ref",
|
|
17
|
-
"MapProps": "setup-maybe-ref",
|
|
18
|
-
"MAPConfig": "setup-maybe-ref",
|
|
19
|
-
"Empty": "setup-maybe-ref",
|
|
20
|
-
"useLocaleReceiver": "setup-maybe-ref",
|
|
21
|
-
"emit": "setup-const",
|
|
22
|
-
"props": "setup-reactive-const",
|
|
23
|
-
"contextLocale": "setup-maybe-ref",
|
|
24
|
-
"config": "setup-maybe-ref",
|
|
25
|
-
"_mapStyle": "setup-ref",
|
|
26
|
-
"hasAMapKey": "setup-ref",
|
|
27
|
-
"uiLoading": "setup-ref",
|
|
28
|
-
"map": "setup-ref",
|
|
29
|
-
"isOpenUi": "setup-ref",
|
|
30
|
-
"getAMapUI": "setup-const",
|
|
31
|
-
"initMap": "setup-const"
|
|
32
|
-
} */
|
|
33
|
-
import { defineComponent as _defineComponent } from 'vue';
|
|
34
|
-
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";
|
|
35
|
-
import { ref, computed, inject, } from 'vue';
|
|
36
|
-
import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
|
|
37
|
-
import { getAMapUiPromise } from '@jetlinks-web/utils';
|
|
38
|
-
import { MapProps } from './util';
|
|
39
|
-
import { MAPConfig } from "../utils/constants";
|
|
40
|
-
import Empty from '../Empty';
|
|
41
|
-
import '@vuemap/vue-amap/dist/style.css';
|
|
42
|
-
import { useLocaleReceiver } from "../LocaleReciver/index";
|
|
43
|
-
const __sfc_main__ = _defineComponent({
|
|
44
|
-
...{
|
|
45
|
-
name: 'JAMap'
|
|
46
|
-
},
|
|
47
|
-
props: {
|
|
48
|
-
...MapProps(),
|
|
49
|
-
style: Object,
|
|
50
|
-
class: String,
|
|
51
|
-
AMapUI: [String, Boolean],
|
|
52
|
-
center: Array,
|
|
53
|
-
plugins: Array,
|
|
54
|
-
zooms: {
|
|
55
|
-
type: Array,
|
|
56
|
-
default: () => [3, 20]
|
|
57
|
-
},
|
|
58
|
-
JSKey: String,
|
|
59
|
-
WebKey: String,
|
|
60
|
-
},
|
|
61
|
-
emits: [
|
|
62
|
-
'initMap',
|
|
63
|
-
],
|
|
64
|
-
setup(__props, { emit: __emit }) {
|
|
65
|
-
const emit = __emit;
|
|
66
|
-
const props = __props;
|
|
67
|
-
const [contextLocale] = useLocaleReceiver('AMap');
|
|
68
|
-
const config = inject(MAPConfig);
|
|
69
|
-
const _mapStyle = computed(() => {
|
|
70
|
-
if (props.mapStyle) {
|
|
71
|
-
return `amap://styles/${props.mapStyle}`;
|
|
72
|
-
}
|
|
73
|
-
if (config.mapStyle) {
|
|
74
|
-
return config.mapStyle;
|
|
75
|
-
}
|
|
76
|
-
return undefined;
|
|
77
|
-
});
|
|
78
|
-
const hasAMapKey = computed(() => {
|
|
79
|
-
return !!(props.JSKey || config.JSKey);
|
|
80
|
-
});
|
|
81
|
-
initAMapApiLoader({
|
|
82
|
-
key: props.JSKey || config.JSKey || '',
|
|
83
|
-
securityJsCode: props.WebKey || config.WebKey,
|
|
84
|
-
plugins: props.plugins
|
|
85
|
-
});
|
|
86
|
-
const uiLoading = ref(false);
|
|
87
|
-
const map = ref(null);
|
|
88
|
-
const isOpenUi = computed(() => {
|
|
89
|
-
return 'AMapUI' in props || props.AMapUI;
|
|
90
|
-
});
|
|
91
|
-
const getAMapUI = () => {
|
|
92
|
-
const version = typeof props.AMapUI === 'string' ? props.AMapUI : '1.1';
|
|
93
|
-
getAMapUiPromise(version).then(() => {
|
|
94
|
-
uiLoading.value = true;
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
const initMap = (e) => {
|
|
98
|
-
map.value = e;
|
|
99
|
-
emit('initMap', e);
|
|
100
|
-
if (isOpenUi.value) {
|
|
101
|
-
getAMapUI();
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
return (_ctx, _cache) => {
|
|
105
|
-
return (_openBlock(), _createElementBlock("div", {
|
|
106
|
-
style: _normalizeStyle(props.style || { width: '100%', height: '100%' }),
|
|
107
|
-
class: _normalizeClass(props.class)
|
|
108
|
-
}, [
|
|
109
|
-
(hasAMapKey.value)
|
|
110
|
-
? (_openBlock(), _createBlock(_unref(ElAmap), _mergeProps({
|
|
111
|
-
key: 0,
|
|
112
|
-
"map-style": _mapStyle.value
|
|
113
|
-
}, {
|
|
114
|
-
...props,
|
|
115
|
-
..._ctx.$attrs
|
|
116
|
-
}, { onInit: initMap }), {
|
|
117
|
-
default: _withCtx(() => [
|
|
118
|
-
(uiLoading.value)
|
|
119
|
-
? _renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
120
|
-
: _renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
121
|
-
]),
|
|
122
|
-
_: 3 /* FORWARDED */
|
|
123
|
-
}, 16 /* FULL_PROPS */, ["map-style"]))
|
|
124
|
-
: (_openBlock(), _createBlock(_unref(Empty), {
|
|
125
|
-
key: 1,
|
|
126
|
-
description: _unref(contextLocale).description,
|
|
127
|
-
style: { "padding": "20%" }
|
|
128
|
-
}, null, 8 /* PROPS */, ["description"]))
|
|
129
|
-
], 6 /* CLASS, STYLE */));
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
export default __sfc_main__;
|
package/lib/AMap/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _Map = _interopRequireDefault(require("./Map.js"));
|
|
9
|
-
_Map.default.install = function (app) {
|
|
10
|
-
app.component(_Map.default.name, _Map.default);
|
|
11
|
-
};
|
|
12
|
-
var _default = exports.default = _Map.default;
|
package/lib/AMap/util.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.MapProps = void 0;
|
|
7
|
-
var MapProps = exports.MapProps = function MapProps() {
|
|
8
|
-
return {
|
|
9
|
-
// 响应式
|
|
10
|
-
center: Array,
|
|
11
|
-
labelzIndex: Number,
|
|
12
|
-
lang: String,
|
|
13
|
-
mapStyle: String,
|
|
14
|
-
// 静态属性
|
|
15
|
-
vid: String,
|
|
16
|
-
amapManager: Object,
|
|
17
|
-
defaultCursor: String,
|
|
18
|
-
animateEnable: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: true
|
|
21
|
-
},
|
|
22
|
-
isHotspot: Boolean,
|
|
23
|
-
rotateEnable: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
default: true
|
|
26
|
-
},
|
|
27
|
-
resizeEnable: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: true
|
|
30
|
-
},
|
|
31
|
-
showIndoorMap: Boolean,
|
|
32
|
-
expandZoomRange: Boolean,
|
|
33
|
-
dragEnable: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: true
|
|
36
|
-
},
|
|
37
|
-
zoomEnable: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: true
|
|
40
|
-
},
|
|
41
|
-
doubleClickZoom: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: true
|
|
44
|
-
},
|
|
45
|
-
keyboardEnable: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: true
|
|
48
|
-
},
|
|
49
|
-
jogEnable: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: true
|
|
52
|
-
},
|
|
53
|
-
scrollWheel: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: true
|
|
56
|
-
},
|
|
57
|
-
touchZoom: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: true
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
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-card-select {
|
|
6
|
-
display: grid;
|
|
7
|
-
gap: 12px;
|
|
8
|
-
}
|
|
9
|
-
.j-card-select .j-card-select-item {
|
|
10
|
-
padding: 12px;
|
|
11
|
-
border: 1px solid #e6e6e6;
|
|
12
|
-
border-radius: 2px;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
}
|
|
15
|
-
.j-card-select .j-card-select-item.active {
|
|
16
|
-
border-color: #1890ff;
|
|
17
|
-
}
|
|
18
|
-
.j-card-select .j-card-select-item.disabled {
|
|
19
|
-
cursor: not-allowed;
|
|
20
|
-
opacity: 0.75;
|
|
21
|
-
}
|
|
22
|
-
.j-card-select .j-card-select-item .j-card-select-describe {
|
|
23
|
-
color: #263237;
|
|
24
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@import '../../style/variable.less';
|
|
2
|
-
|
|
3
|
-
.j-card-select {
|
|
4
|
-
display: grid;
|
|
5
|
-
gap: 12px;
|
|
6
|
-
|
|
7
|
-
.j-card-select-item {
|
|
8
|
-
padding: 12px;
|
|
9
|
-
border: 1px solid #e6e6e6;
|
|
10
|
-
border-radius: @border-radius-base;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
|
|
13
|
-
&.active {
|
|
14
|
-
border-color: @primary-color;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.disabled {
|
|
18
|
-
cursor: not-allowed;
|
|
19
|
-
opacity: 0.75;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.j-card-select-describe {
|
|
23
|
-
color: @text-color-subtitle;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
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: 2px;
|
|
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: #1890ff;
|
|
23
|
-
opacity: 0.85;
|
|
24
|
-
color: #fff;
|
|
25
|
-
}
|
|
26
|
-
.j-check-button .j-check-button-item.selected {
|
|
27
|
-
background-color: #1890ff;
|
|
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
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@import 'ant-design-vue/lib/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
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
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
|
-
.dialog-enter-active,
|
|
6
|
-
.dialog-leave-active {
|
|
7
|
-
transition: opacity 0.5s;
|
|
8
|
-
}
|
|
9
|
-
.dialog-enter,
|
|
10
|
-
.dialog-leave-to {
|
|
11
|
-
opacity: 0;
|
|
12
|
-
}
|
|
13
|
-
.jetlinks-drag-modal {
|
|
14
|
-
position: fixed;
|
|
15
|
-
z-index: 1000;
|
|
16
|
-
}
|
|
17
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-sprite {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
z-index: 23456765435;
|
|
25
|
-
background-color: #ffffff;
|
|
26
|
-
border-radius: 4px;
|
|
27
|
-
border: 1px solid #91CAFF;
|
|
28
|
-
box-shadow: 0 3px 8px 0 rgba(22, 119, 255, 0.24);
|
|
29
|
-
}
|
|
30
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .header {
|
|
31
|
-
padding: 5px 15px;
|
|
32
|
-
font-size: 18px;
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
color: #333;
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: space-between;
|
|
37
|
-
align-items: center;
|
|
38
|
-
border-bottom: 1px solid #f0f0f0;
|
|
39
|
-
cursor: move;
|
|
40
|
-
}
|
|
41
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-body {
|
|
42
|
-
flex: 1;
|
|
43
|
-
min-height: 0;
|
|
44
|
-
overflow-y: auto;
|
|
45
|
-
padding: 24px 20px;
|
|
46
|
-
}
|
|
47
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-sprite .jetlinks-drag-modal-footer {
|
|
48
|
-
border-top: 1px solid #f0f0f0;
|
|
49
|
-
padding: 5px 15px;
|
|
50
|
-
text-align: right;
|
|
51
|
-
}
|
|
52
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range {
|
|
53
|
-
position: absolute;
|
|
54
|
-
width: 16px;
|
|
55
|
-
height: 16px;
|
|
56
|
-
border-radius: 100%;
|
|
57
|
-
z-index: 23456765436;
|
|
58
|
-
}
|
|
59
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-right:hover,
|
|
60
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-left:hover {
|
|
61
|
-
cursor: nwse-resize;
|
|
62
|
-
}
|
|
63
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-left:hover,
|
|
64
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-right:hover {
|
|
65
|
-
cursor: nesw-resize;
|
|
66
|
-
}
|
|
67
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-right {
|
|
68
|
-
top: -6px;
|
|
69
|
-
right: -6px;
|
|
70
|
-
}
|
|
71
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-top-left {
|
|
72
|
-
top: -6px;
|
|
73
|
-
left: -6px;
|
|
74
|
-
}
|
|
75
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-right {
|
|
76
|
-
bottom: -6px;
|
|
77
|
-
right: -6px;
|
|
78
|
-
}
|
|
79
|
-
.jetlinks-drag-modal .jetlinks-drag-modal-range .drag-bottom-left {
|
|
80
|
-
bottom: -6px;
|
|
81
|
-
left: -6px;
|
|
82
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
@import "ant-design-vue/lib/style/themes/index.less";
|
|
2
|
-
@boxColor: rgb(@primary-color);
|
|
3
|
-
|
|
4
|
-
// 弹窗动画
|
|
5
|
-
.dialog-enter-active,
|
|
6
|
-
.dialog-leave-active {
|
|
7
|
-
transition: opacity .5s;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.dialog-enter,
|
|
11
|
-
.dialog-leave-to {
|
|
12
|
-
opacity: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.jetlinks-drag-modal {
|
|
16
|
-
position: fixed;
|
|
17
|
-
z-index: 1000;
|
|
18
|
-
|
|
19
|
-
.jetlinks-drag-modal-sprite {
|
|
20
|
-
position: absolute;
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
z-index: 23456765435;
|
|
27
|
-
background-color: #ffffff;
|
|
28
|
-
border-radius: 4px;
|
|
29
|
-
border: 1px solid #91CAFF;
|
|
30
|
-
box-shadow: 0 3px 8px 0 rgba(#1677FF, 0.24);
|
|
31
|
-
|
|
32
|
-
.header {
|
|
33
|
-
padding: 5px 15px;
|
|
34
|
-
font-size: 18px;
|
|
35
|
-
font-weight: 700;
|
|
36
|
-
color: #333;
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: space-between;
|
|
39
|
-
align-items: center;
|
|
40
|
-
border-bottom: 1px solid #f0f0f0;
|
|
41
|
-
cursor: move;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.jetlinks-drag-modal-body {
|
|
45
|
-
flex: 1;
|
|
46
|
-
min-height: 0;
|
|
47
|
-
overflow-y: auto;
|
|
48
|
-
padding: 24px 20px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.jetlinks-drag-modal-footer {
|
|
52
|
-
border-top: 1px solid #f0f0f0;
|
|
53
|
-
padding: 5px 15px;
|
|
54
|
-
text-align: right;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.jetlinks-drag-modal-range {
|
|
59
|
-
position: absolute;
|
|
60
|
-
width: 16px;
|
|
61
|
-
height: 16px;
|
|
62
|
-
border-radius: 100%;
|
|
63
|
-
z-index: 23456765436;
|
|
64
|
-
|
|
65
|
-
.drag-bottom-right, .drag-top-left {
|
|
66
|
-
&:hover {
|
|
67
|
-
cursor: nwse-resize
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.drag-bottom-left, .drag-top-right {
|
|
72
|
-
&:hover {
|
|
73
|
-
cursor: nesw-resize
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.drag-top-right {
|
|
78
|
-
top: -6px;
|
|
79
|
-
right: -6px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.drag-top-left {
|
|
83
|
-
top: -6px;
|
|
84
|
-
left: -6px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.drag-bottom-right {
|
|
88
|
-
bottom: -6px;
|
|
89
|
-
right: -6px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.drag-bottom-left {
|
|
93
|
-
bottom: -6px;
|
|
94
|
-
left: -6px;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
package/lib/Echarts/Echarts.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* Analyzed bindings: {
|
|
2
|
-
"options": "props",
|
|
3
|
-
"style": "props",
|
|
4
|
-
"nextTick": "setup-const",
|
|
5
|
-
"ref": "setup-const",
|
|
6
|
-
"watch": "setup-const",
|
|
7
|
-
"defineOptions": "setup-const",
|
|
8
|
-
"useECharts": "setup-maybe-ref",
|
|
9
|
-
"props": "setup-reactive-const",
|
|
10
|
-
"echartsDom": "setup-ref",
|
|
11
|
-
"setOptions": "setup-maybe-ref"
|
|
12
|
-
} */
|
|
13
|
-
import { defineComponent as _defineComponent } from 'vue';
|
|
14
|
-
import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
15
|
-
import { nextTick, ref, watch, } from 'vue';
|
|
16
|
-
import { useECharts } from '@jetlinks-web/hooks';
|
|
17
|
-
const __sfc_main__ = _defineComponent({
|
|
18
|
-
...{
|
|
19
|
-
name: 'JEcharts'
|
|
20
|
-
},
|
|
21
|
-
props: {
|
|
22
|
-
options: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: undefined,
|
|
25
|
-
},
|
|
26
|
-
style: Object,
|
|
27
|
-
},
|
|
28
|
-
setup(__props) {
|
|
29
|
-
const props = __props;
|
|
30
|
-
const echartsDom = ref();
|
|
31
|
-
const { setOptions } = useECharts(echartsDom);
|
|
32
|
-
watch(() => JSON.stringify(props.options), () => {
|
|
33
|
-
if (props.options) {
|
|
34
|
-
nextTick(() => {
|
|
35
|
-
setOptions(props.options);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}, { immediate: true });
|
|
39
|
-
return (_ctx, _cache) => {
|
|
40
|
-
return (_openBlock(), _createElementBlock("div", {
|
|
41
|
-
ref_key: "echartsDom",
|
|
42
|
-
ref: echartsDom,
|
|
43
|
-
style: _normalizeStyle([{ "height": "100%", "width": "100%" }, __props.style])
|
|
44
|
-
}, null, 4 /* STYLE */));
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
export default __sfc_main__;
|
package/lib/Echarts/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _Echarts = _interopRequireDefault(require("./Echarts.js"));
|
|
9
|
-
_Echarts.default.install = function (app) {
|
|
10
|
-
app.component(_Echarts.default.name, _Echarts.default);
|
|
11
|
-
};
|
|
12
|
-
var _default = exports.default = _Echarts.default;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
.jetlinks-edit-table-body-viewport {
|
|
2
|
-
max-height: 100%;
|
|
3
|
-
width: 100%;
|
|
4
|
-
overflow: hidden auto;
|
|
5
|
-
position: relative;
|
|
6
|
-
|
|
7
|
-
.jetlinks-edit-scrollbar {
|
|
8
|
-
position: absolute;
|
|
9
|
-
left: 0;
|
|
10
|
-
top: 0;
|
|
11
|
-
right: 0;
|
|
12
|
-
z-index: -1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.jetlinks-edit-table-body-container {
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
height: 100%;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.jetlinks-edit-table-center {
|
|
21
|
-
position: relative;
|
|
22
|
-
flex: 1 1 auto;
|
|
23
|
-
min-width: 0;
|
|
24
|
-
height: 100%;
|
|
25
|
-
|
|
26
|
-
.jetlinks-edit-table-row {
|
|
27
|
-
width: 100%;
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
transition: top .2s, height .2s, background-color .1s;
|
|
31
|
-
border-bottom: 1px solid #ebebeb;
|
|
32
|
-
.jetlinks-edit-table-cell{
|
|
33
|
-
position:absolute;
|
|
34
|
-
min-width: 0;;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:hover {
|
|
38
|
-
background-color: rgb(248, 248, 248);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.jetlinks-edit-table-row-selected {
|
|
42
|
-
background-color: var(--ant-primary-1);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.body-cell-box {
|
|
46
|
-
padding: 0 12px;
|
|
47
|
-
position: relative;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.readonly-mask {
|
|
52
|
-
position: absolute;
|
|
53
|
-
top: 0;
|
|
54
|
-
left: 0;
|
|
55
|
-
right: 0;
|
|
56
|
-
bottom: 0;
|
|
57
|
-
z-index: 4;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
.jetlinks-edit-table-body-empty {
|
|
62
|
-
display: flex;
|
|
63
|
-
width: 100%;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
padding-top: 24px;
|
|
66
|
-
}
|