@jetlinks-web/components 3.0.1-rc → 3.0.1
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 +13 -9
- package/es/BadgeStatus/Badge.js +1 -2
- package/es/BadgeStatus/color.js +3 -3
- package/es/CardSelect/CardSelect.js +23 -13
- 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/DragModal/DragModal.js +14 -8
- package/es/DragModal/style/index.js +64 -1
- package/es/EditTable/Body.js +10 -3
- package/es/EditTable/EditTable.js +13 -7
- package/es/EditTable/FormItem.js +18 -19
- package/es/EditTable/Header.js +16 -6
- package/es/EditTable/components/ContextMenu/Menu.js +11 -5
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +23 -18
- 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 +30 -3
- package/es/Ellipsis/Ellipsis.js +10 -2
- package/es/Ellipsis/style/index.js +24 -1
- package/es/FullPage/FullPage.js +1 -2
- package/es/LocaleProvider/index.js +1 -2
- package/es/PermissionButton/index.js +6 -7
- package/es/ProLayout/Basic/BasicLayout.js +45 -41
- package/es/ProLayout/Basic/BasicLayoutStyle.js +39 -0
- package/es/ProLayout/Basic/Header.js +3 -7
- package/es/ProLayout/Basic/HeaderStyle.js +10 -0
- package/es/ProLayout/PageContainer/index.js +21 -17
- package/es/ProLayout/PageContainer/style.js +46 -0
- package/es/ProLayout/SiderMenu/BaseMenu.js +18 -42
- package/es/ProLayout/SiderMenu/SiderMenu.js +24 -36
- package/es/ProLayout/SiderMenu/style.js +166 -0
- package/es/ProLayout/TopHeader/index.js +13 -12
- 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 +12 -4
- package/es/ProTable/Content.js +108 -28
- package/es/ProTable/Header.js +21 -11
- package/es/ProTable/Pagination.js +12 -4
- package/es/ProTable/ProTable.js +46 -34
- package/es/ProTable/hooks/index.js +2 -0
- package/es/ProTable/hooks/useTableInject.js +5 -0
- package/es/ProTable/hooks/useTableSelection.js +95 -0
- 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 +23 -16
- package/es/Search/Advanced/SaveHistory.js +1 -2
- package/es/Search/Advanced/index.js +212 -292
- 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 +19 -12
- package/es/Skeleton/components/DashBoardChart.js +48 -45
- package/es/Skeleton/components/Detail.js +27 -21
- package/es/Skeleton/components/Drawer.js +23 -14
- package/es/Skeleton/components/Item.js +9 -1
- package/es/Skeleton/components/List.js +0 -1
- package/es/Skeleton/components/ListCard.js +20 -13
- package/es/Skeleton/components/ListCardItem.js +12 -13
- package/es/Skeleton/components/ListTable.js +19 -10
- package/es/Skeleton/components/Page.js +0 -1
- package/es/Skeleton/components/Tree.js +21 -14
- package/es/Skeleton/skeleton.js +17 -8
- package/es/Skeleton/style/index.js +132 -1
- package/es/Title/style/index.js +29 -1
- package/es/Title/title.js +13 -5
- package/es/ValueItem/ValueItem.js +44 -39
- package/es/components.js +1 -5
- package/es/locale/en-US.js +3 -7
- package/es/locale/zh-CN.js +3 -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 -13
- package/lib/AutoComplete/AutoComplete.js +13 -9
- package/lib/BadgeStatus/Badge.js +1 -2
- package/lib/BadgeStatus/color.js +3 -3
- package/lib/CardSelect/CardSelect.js +23 -13
- 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/DragModal/DragModal.js +14 -8
- 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 +18 -19
- package/lib/EditTable/Header.js +16 -6
- package/lib/EditTable/components/ContextMenu/Menu.js +11 -5
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +23 -18
- 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 +31 -3
- package/lib/Ellipsis/Ellipsis.js +10 -2
- package/lib/Ellipsis/style/index.js +29 -1
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/Icon/icon.js +1 -2
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/PermissionButton/index.js +6 -7
- package/lib/ProLayout/Basic/BasicLayout.js +45 -42
- package/lib/ProLayout/Basic/BasicLayoutStyle.js +46 -0
- package/lib/ProLayout/Basic/Header.js +2 -6
- package/lib/ProLayout/Basic/HeaderStyle.js +17 -0
- package/lib/ProLayout/PageContainer/index.js +19 -15
- package/lib/ProLayout/PageContainer/style.js +53 -0
- package/lib/ProLayout/SiderMenu/BaseMenu.js +19 -42
- package/lib/ProLayout/SiderMenu/SiderMenu.js +24 -37
- package/lib/ProLayout/SiderMenu/style.js +173 -0
- package/lib/ProLayout/TopHeader/index.js +14 -12
- package/lib/ProLayout/TopHeader/style.js +133 -0
- package/lib/ProLayout/style/index.js +12 -1
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Alert.js +12 -4
- package/lib/ProTable/Content.js +108 -28
- package/lib/ProTable/Header.js +21 -11
- package/lib/ProTable/Pagination.js +12 -4
- package/lib/ProTable/ProTable.js +46 -34
- package/lib/ProTable/hooks/index.js +27 -0
- package/lib/ProTable/hooks/useTableInject.js +11 -0
- package/lib/ProTable/hooks/useTableSelection.js +102 -0
- package/lib/ProTable/setting.js +1 -1
- 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 +23 -16
- package/lib/Search/Advanced/SaveHistory.js +1 -2
- package/lib/Search/Advanced/index.js +212 -292
- 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 +19 -12
- package/lib/Skeleton/components/DashBoardChart.js +48 -45
- package/lib/Skeleton/components/Detail.js +27 -21
- package/lib/Skeleton/components/Drawer.js +23 -14
- package/lib/Skeleton/components/Item.js +9 -1
- package/lib/Skeleton/components/List.js +0 -1
- package/lib/Skeleton/components/ListCard.js +20 -13
- package/lib/Skeleton/components/ListCardItem.js +12 -13
- package/lib/Skeleton/components/ListTable.js +19 -10
- package/lib/Skeleton/components/Page.js +0 -1
- package/lib/Skeleton/components/Tree.js +21 -14
- package/lib/Skeleton/skeleton.js +17 -8
- package/lib/Skeleton/style/index.js +137 -1
- package/lib/Title/style/index.js +34 -1
- package/lib/Title/title.js +13 -5
- package/lib/ValueItem/ValueItem.js +44 -39
- package/lib/components.js +1 -30
- package/lib/index.js +1 -2
- package/lib/locale/en-US.js +3 -7
- package/lib/locale/zh-CN.js +3 -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 -15
- package/package.json +170 -173
- 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/FlameGraph/FlameGraph.js +0 -136
- package/es/FlameGraph/index.js +0 -5
- package/es/FlameGraph/style/index.css +0 -43
- package/es/FlameGraph/style/index.js +0 -1
- package/es/FlameGraph/style/index.less +0 -52
- 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 -139
- 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/Skeleton/style/Skeleton.less +0 -166
- package/es/Title/style/index.css +0 -27
- package/es/Title/style/index.less +0 -27
- package/es/style/index.css +0 -5375
- package/es/style/index.less +0 -14
- 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/FlameGraph/FlameGraph.js +0 -136
- package/lib/FlameGraph/index.js +0 -12
- package/lib/FlameGraph/style/index.css +0 -43
- package/lib/FlameGraph/style/index.js +0 -3
- package/lib/FlameGraph/style/index.less +0 -52
- 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 -139
- 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/Skeleton/style/Skeleton.less +0 -166
- package/lib/Title/style/index.css +0 -27
- package/lib/Title/style/index.less +0 -27
- package/lib/style/index.css +0 -5375
- package/lib/style/index.less +0 -14
- package/lib/style/variable.css +0 -4
- package/lib/style/variable.less +0 -4
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
"active": "props",
|
|
3
3
|
"loading": "props",
|
|
4
4
|
"Item": "setup-const",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"computed": "setup-const",
|
|
6
|
+
"useSkeletonStyle": "setup-maybe-ref",
|
|
7
|
+
"props": "setup-reactive-const",
|
|
8
|
+
"prefixCls": "setup-ref",
|
|
9
|
+
"wrapSSR": "setup-maybe-ref",
|
|
10
|
+
"hashId": "setup-maybe-ref"
|
|
7
11
|
} */
|
|
8
|
-
import { renderSlot as _renderSlot, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
9
|
-
const _hoisted_1 = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "j-skeleton"
|
|
12
|
-
};
|
|
12
|
+
import { renderSlot as _renderSlot, unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass } from "vue";
|
|
13
|
+
const _hoisted_1 = { class: "j-skeleton-flex" };
|
|
13
14
|
const _hoisted_2 = { class: "j-skeleton-flex" };
|
|
14
15
|
const _hoisted_3 = { class: "j-skeleton-flex" };
|
|
15
16
|
const _hoisted_4 = { class: "j-skeleton-flex" };
|
|
16
|
-
const _hoisted_5 = { class: "j-skeleton-flex" };
|
|
17
17
|
import Item from "./Item.js";
|
|
18
|
+
import { computed } from "vue";
|
|
19
|
+
import useSkeletonStyle from '../style';
|
|
18
20
|
const __sfc_main__ = Object.assign({
|
|
19
21
|
name: 'JSkeletonTree'
|
|
20
22
|
}, {
|
|
@@ -30,35 +32,40 @@ const __sfc_main__ = Object.assign({
|
|
|
30
32
|
},
|
|
31
33
|
setup(__props) {
|
|
32
34
|
const props = __props;
|
|
35
|
+
const prefixCls = computed(() => 'j-skeleton');
|
|
36
|
+
const [wrapSSR, hashId] = useSkeletonStyle(prefixCls);
|
|
33
37
|
return (_ctx, _cache) => {
|
|
34
38
|
return (!__props.loading)
|
|
35
39
|
? _renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
36
|
-
: (_openBlock(), _createElementBlock("div",
|
|
37
|
-
|
|
40
|
+
: (_openBlock(), _createElementBlock("div", {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: _normalizeClass(['j-skeleton', _unref(hashId)])
|
|
43
|
+
}, [
|
|
44
|
+
_createElementVNode("div", _hoisted_1, [
|
|
38
45
|
_createVNode(Item, { active: __props.active }, null, 8 /* PROPS */, ["active"])
|
|
39
46
|
]),
|
|
40
|
-
_createElementVNode("div",
|
|
47
|
+
_createElementVNode("div", _hoisted_2, [
|
|
41
48
|
_createVNode(Item, {
|
|
42
49
|
active: __props.active,
|
|
43
50
|
width: "100px"
|
|
44
51
|
}, null, 8 /* PROPS */, ["active"])
|
|
45
52
|
]),
|
|
46
53
|
(_openBlock(), _createElementBlock(_Fragment, null, _renderList(6, (item) => {
|
|
47
|
-
return _createElementVNode("div",
|
|
54
|
+
return _createElementVNode("div", _hoisted_3, [
|
|
48
55
|
_createVNode(Item, {
|
|
49
56
|
active: __props.active,
|
|
50
57
|
size: "small"
|
|
51
58
|
}, null, 8 /* PROPS */, ["active"])
|
|
52
59
|
]);
|
|
53
60
|
}), 64 /* STABLE_FRAGMENT */)),
|
|
54
|
-
_createElementVNode("div",
|
|
61
|
+
_createElementVNode("div", _hoisted_4, [
|
|
55
62
|
_createVNode(Item, {
|
|
56
63
|
active: __props.active,
|
|
57
64
|
size: "small",
|
|
58
65
|
width: "140px"
|
|
59
66
|
}, null, 8 /* PROPS */, ["active"])
|
|
60
67
|
])
|
|
61
|
-
]));
|
|
68
|
+
], 2 /* CLASS */));
|
|
62
69
|
};
|
|
63
70
|
}
|
|
64
71
|
});
|
package/lib/Skeleton/skeleton.js
CHANGED
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
"active": "props",
|
|
3
3
|
"loading": "props",
|
|
4
4
|
"Item": "setup-const",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
5
|
+
"computed": "setup-const",
|
|
6
|
+
"useSkeletonStyle": "setup-maybe-ref",
|
|
7
|
+
"props": "setup-reactive-const",
|
|
8
|
+
"prefixCls": "setup-ref",
|
|
9
|
+
"wrapSSR": "setup-maybe-ref",
|
|
10
|
+
"hashId": "setup-maybe-ref"
|
|
7
11
|
} */
|
|
8
|
-
import { renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode } from "vue";
|
|
9
|
-
const _hoisted_1 = { class: "j-skeleton" };
|
|
10
|
-
const _hoisted_2 = { class: "j-skeleton-flex-column" };
|
|
12
|
+
import { unref as _unref, renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from "vue";
|
|
13
|
+
const _hoisted_1 = { class: "j-skeleton-flex-column" };
|
|
11
14
|
import Item from "./components/Item.js";
|
|
15
|
+
import { computed } from "vue";
|
|
16
|
+
import useSkeletonStyle from './style';
|
|
12
17
|
const __sfc_main__ = Object.assign({
|
|
13
18
|
name: 'JSkeleton'
|
|
14
19
|
}, {
|
|
@@ -24,12 +29,16 @@ const __sfc_main__ = Object.assign({
|
|
|
24
29
|
},
|
|
25
30
|
setup(__props) {
|
|
26
31
|
const props = __props;
|
|
32
|
+
const prefixCls = computed(() => 'j-skeleton');
|
|
33
|
+
const [wrapSSR, hashId] = useSkeletonStyle(prefixCls);
|
|
27
34
|
return (_ctx, _cache) => {
|
|
28
|
-
return (_openBlock(), _createElementBlock("div",
|
|
35
|
+
return (_openBlock(), _createElementBlock("div", {
|
|
36
|
+
class: _normalizeClass(['j-skeleton', _unref(hashId)])
|
|
37
|
+
}, [
|
|
29
38
|
(!__props.loading)
|
|
30
39
|
? _renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
31
40
|
: _createCommentVNode("v-if", true),
|
|
32
|
-
_createElementVNode("div",
|
|
41
|
+
_createElementVNode("div", _hoisted_1, [
|
|
33
42
|
_createVNode(Item, {
|
|
34
43
|
active: __props.active,
|
|
35
44
|
width: "40%"
|
|
@@ -42,7 +51,7 @@ const __sfc_main__ = Object.assign({
|
|
|
42
51
|
width: "80%"
|
|
43
52
|
}, null, 8 /* PROPS */, ["active"])
|
|
44
53
|
])
|
|
45
|
-
]));
|
|
54
|
+
], 2 /* CLASS */));
|
|
46
55
|
};
|
|
47
56
|
}
|
|
48
57
|
});
|
|
@@ -1,3 +1,139 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
|
+
var _antDesignVue = require("ant-design-vue");
|
|
11
|
+
var _styleRegister = _interopRequireDefault(require("../../style/styleRegister"));
|
|
12
|
+
var JSkeletonSizeLg = '36px';
|
|
13
|
+
var JSkeletonSizeSm = '16px';
|
|
14
|
+
var JSkeletonSize = '24px';
|
|
15
|
+
var JSkeletonBorderRadius = '8px';
|
|
16
|
+
var JSkeletonBg = '#f0f2f5';
|
|
17
|
+
var JSkeletonBg1 = '#e6e8eb';
|
|
18
|
+
var JSkeletonBorder = "4px solid ".concat(JSkeletonBg);
|
|
19
|
+
var JSkeletonFlex = {
|
|
20
|
+
display: 'flex',
|
|
21
|
+
gap: '24px',
|
|
22
|
+
marginBottom: '16px'
|
|
23
|
+
};
|
|
24
|
+
//动画
|
|
25
|
+
var waveKeyframes = new _antDesignVue.Keyframes('wave', {
|
|
26
|
+
'0%': {
|
|
27
|
+
backgroundPosition: '200% 0'
|
|
28
|
+
},
|
|
29
|
+
'100%': {
|
|
30
|
+
backgroundPosition: '-200% 0'
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
var genSkeletonStyle = function genSkeletonStyle(config) {
|
|
34
|
+
var _$concat6;
|
|
35
|
+
var componentCls = config.componentCls,
|
|
36
|
+
token = config.token;
|
|
37
|
+
return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(componentCls, "-flex"), JSkeletonFlex), "".concat(componentCls, "-flex-between"), (0, _objectSpread2.default)((0, _objectSpread2.default)({}, JSkeletonFlex), {}, {
|
|
38
|
+
background: JSkeletonBg,
|
|
39
|
+
height: JSkeletonSize,
|
|
40
|
+
borderRadius: JSkeletonBorderRadius
|
|
41
|
+
})), "".concat(componentCls, "-flex-column"), (0, _objectSpread2.default)((0, _objectSpread2.default)({}, JSkeletonFlex), {}, {
|
|
42
|
+
justifyContent: 'space-between'
|
|
43
|
+
})), "".concat(componentCls), (_$concat6 = {
|
|
44
|
+
height: '100%'
|
|
45
|
+
}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_$concat6, "".concat(componentCls, "-item"), {
|
|
46
|
+
background: 'linear-gradient(90deg, ${JSkeletonBg} 25%, ${JSkeletonBg1} 50%, ${JSkeletonBg} 75%)',
|
|
47
|
+
backgroundSize: '400% 100%',
|
|
48
|
+
borderRadius: JSkeletonBorderRadius,
|
|
49
|
+
height: JSkeletonSize
|
|
50
|
+
}), "".concat(componentCls, "-item-active"), {
|
|
51
|
+
animationName: waveKeyframes,
|
|
52
|
+
animationDuration: '1.8s',
|
|
53
|
+
animationIterationCount: 'infinite',
|
|
54
|
+
animationTimingFunction: 'ease-in-out'
|
|
55
|
+
}), "".concat(componentCls, "-item-lg"), {
|
|
56
|
+
height: JSkeletonSizeLg
|
|
57
|
+
}), "".concat(componentCls, "-item-sm"), {
|
|
58
|
+
height: JSkeletonSizeSm
|
|
59
|
+
}), "".concat(componentCls, "-dashboard-card"), (0, _objectSpread2.default)((0, _objectSpread2.default)({}, JSkeletonFlex), {}, {
|
|
60
|
+
border: JSkeletonBorder,
|
|
61
|
+
borderRadius: JSkeletonBorderRadius,
|
|
62
|
+
height: '100%',
|
|
63
|
+
padding: '24px',
|
|
64
|
+
flexDirection: 'column'
|
|
65
|
+
})), "".concat(componentCls, "-tabs"), {
|
|
66
|
+
display: 'flex',
|
|
67
|
+
gap: '16px',
|
|
68
|
+
margin: '60px 0 20px 0',
|
|
69
|
+
borderBottom: JSkeletonBorder,
|
|
70
|
+
padding: '16px 0'
|
|
71
|
+
}), "".concat(componentCls, "-desc"), (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
72
|
+
display: 'flex',
|
|
73
|
+
flexDirection: 'column',
|
|
74
|
+
marginBottom: '24px'
|
|
75
|
+
}, "".concat(componentCls, "-desc-content"), {
|
|
76
|
+
display: 'grid',
|
|
77
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
78
|
+
gap: '36px',
|
|
79
|
+
margin: '24px 0 0 0'
|
|
80
|
+
}), "".concat(componentCls, "-desc-item"), {
|
|
81
|
+
display: 'flex',
|
|
82
|
+
gap: '16px'
|
|
83
|
+
})), "".concat(componentCls, "-box"), {
|
|
84
|
+
borderBottom: JSkeletonBorder,
|
|
85
|
+
padding: '16px 0'
|
|
86
|
+
}), "".concat(componentCls, "-table-cell"), {
|
|
87
|
+
display: 'grid',
|
|
88
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(0, 1fr)) 200px',
|
|
89
|
+
gap: '24px',
|
|
90
|
+
padding: '12px 6px',
|
|
91
|
+
borderRadius: '8px'
|
|
92
|
+
}), "".concat(componentCls, "-table-header"), {
|
|
93
|
+
backgroundColor: 'lightgrey'
|
|
94
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_$concat6, "".concat(componentCls, "-table-action"), {
|
|
95
|
+
width: '200px',
|
|
96
|
+
display: 'grid',
|
|
97
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(0, 1fr))',
|
|
98
|
+
gap: '24px'
|
|
99
|
+
}), "".concat(componentCls, "-cards"), {
|
|
100
|
+
display: 'grid',
|
|
101
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
102
|
+
gap: '16px'
|
|
103
|
+
}), "".concat(componentCls, "-card"), (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(componentCls, "-card-content"), (0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
104
|
+
display: 'flex',
|
|
105
|
+
gap: '16px',
|
|
106
|
+
border: '2px solid #f0f2f5',
|
|
107
|
+
borderRadius: '8px',
|
|
108
|
+
padding: '24px',
|
|
109
|
+
marginBottom: '16px'
|
|
110
|
+
}, "".concat(componentCls, "-image"), {
|
|
111
|
+
width: '100px',
|
|
112
|
+
height: '100px'
|
|
113
|
+
}), "".concat(componentCls, "-right"), (0, _defineProperty2.default)({
|
|
114
|
+
flex: 1,
|
|
115
|
+
minWidth: '200px'
|
|
116
|
+
}, "".concat(componentCls, "-right-content"), (0, _defineProperty2.default)({
|
|
117
|
+
display: 'flex',
|
|
118
|
+
gap: '16px',
|
|
119
|
+
marginTop: '16px'
|
|
120
|
+
}, "".concat(componentCls, "-right-item"), {
|
|
121
|
+
flex: 1,
|
|
122
|
+
minWidth: '100px',
|
|
123
|
+
display: 'flex',
|
|
124
|
+
flexDirection: 'column',
|
|
125
|
+
gap: '16px'
|
|
126
|
+
})))), "".concat(componentCls, "-action"), {
|
|
127
|
+
display: 'flex',
|
|
128
|
+
justifyContent: 'flex-end',
|
|
129
|
+
gap: '16px',
|
|
130
|
+
'.btn': {
|
|
131
|
+
flex: 1,
|
|
132
|
+
minWidth: '100px'
|
|
133
|
+
},
|
|
134
|
+
'.delete': {
|
|
135
|
+
flex: '0 0 100px'
|
|
136
|
+
}
|
|
137
|
+
}))));
|
|
138
|
+
};
|
|
139
|
+
var _default = exports.default = (0, _styleRegister.default)([genSkeletonStyle]);
|
package/lib/Title/style/index.js
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
require("
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
+
var _styleRegister = _interopRequireDefault(require("../../style/styleRegister"));
|
|
10
|
+
var genTitleStyle = function genTitleStyle(config) {
|
|
11
|
+
var componentCls = config.componentCls,
|
|
12
|
+
token = config.token;
|
|
13
|
+
return (0, _defineProperty2.default)({}, componentCls, (0, _defineProperty2.default)({
|
|
14
|
+
display: 'flex',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
width: '100%',
|
|
17
|
+
marginBottom: '16px'
|
|
18
|
+
}, "".concat(componentCls, "-content"), {
|
|
19
|
+
position: 'relative',
|
|
20
|
+
paddingLeft: '10px',
|
|
21
|
+
color: 'rgba(0, 0, 0, 0.8)',
|
|
22
|
+
fontWeight: 600,
|
|
23
|
+
lineHeight: 1,
|
|
24
|
+
'&::before': {
|
|
25
|
+
position: 'absolute',
|
|
26
|
+
top: 0,
|
|
27
|
+
left: 0,
|
|
28
|
+
width: 4,
|
|
29
|
+
height: '100%',
|
|
30
|
+
background: '#1890ff',
|
|
31
|
+
borderRadius: '0 3px 3px 0',
|
|
32
|
+
content: '""'
|
|
33
|
+
}
|
|
34
|
+
}));
|
|
35
|
+
};
|
|
36
|
+
var _default = exports.default = (0, _styleRegister.default)([genTitleStyle]);
|
package/lib/Title/title.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
/* Analyzed bindings: {
|
|
2
2
|
"data": "props",
|
|
3
3
|
"style": "props",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
4
|
+
"computed": "setup-const",
|
|
5
|
+
"useTitleStyle": "setup-maybe-ref",
|
|
6
|
+
"props": "setup-reactive-const",
|
|
7
|
+
"prefixCls": "setup-ref",
|
|
8
|
+
"wrapSSR": "setup-maybe-ref",
|
|
9
|
+
"hashId": "setup-maybe-ref"
|
|
6
10
|
} */
|
|
7
|
-
import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
11
|
+
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
8
12
|
const _hoisted_1 = { class: "j-title-content" };
|
|
13
|
+
import { computed } from 'vue';
|
|
14
|
+
import useTitleStyle from './style';
|
|
9
15
|
const __sfc_main__ = Object.assign({
|
|
10
16
|
name: 'JTitle'
|
|
11
17
|
}, {
|
|
@@ -21,14 +27,16 @@ const __sfc_main__ = Object.assign({
|
|
|
21
27
|
},
|
|
22
28
|
setup(__props) {
|
|
23
29
|
const props = __props;
|
|
30
|
+
const prefixCls = computed(() => 'j-title');
|
|
31
|
+
const [wrapSSR, hashId] = useTitleStyle(prefixCls);
|
|
24
32
|
return (_ctx, _cache) => {
|
|
25
33
|
return (_openBlock(), _createElementBlock("div", {
|
|
26
|
-
class:
|
|
34
|
+
class: _normalizeClass(['j-title', _unref(hashId)]),
|
|
27
35
|
style: _normalizeStyle(__props.style)
|
|
28
36
|
}, [
|
|
29
37
|
_createElementVNode("div", _hoisted_1, _toDisplayString(__props.data), 1 /* TEXT */),
|
|
30
38
|
_renderSlot(_ctx.$slots, "extra")
|
|
31
|
-
],
|
|
39
|
+
], 6 /* CLASS, STYLE */));
|
|
32
40
|
};
|
|
33
41
|
}
|
|
34
42
|
});
|
|
@@ -34,6 +34,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
34
34
|
"watch": "setup-const",
|
|
35
35
|
"computed": "setup-const",
|
|
36
36
|
"componentsType": "setup-maybe-ref",
|
|
37
|
+
"MonacoEditor": "setup-maybe-ref",
|
|
37
38
|
"Select": "setup-maybe-ref",
|
|
38
39
|
"DatePicker": "setup-maybe-ref",
|
|
39
40
|
"TimePicker": "setup-maybe-ref",
|
|
@@ -41,6 +42,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
41
42
|
"InputNumber": "setup-maybe-ref",
|
|
42
43
|
"InputPassword": "setup-maybe-ref",
|
|
43
44
|
"Upload": "setup-maybe-ref",
|
|
45
|
+
"Modal": "setup-maybe-ref",
|
|
44
46
|
"omit": "setup-maybe-ref",
|
|
45
47
|
"emit": "setup-const",
|
|
46
48
|
"props": "setup-reactive-const",
|
|
@@ -48,7 +50,9 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
48
50
|
"myValue": "setup-ref",
|
|
49
51
|
"objectValue": "setup-ref",
|
|
50
52
|
"bindProps": "setup-ref",
|
|
51
|
-
"
|
|
53
|
+
"handleItemModalSubmit": "setup-const",
|
|
54
|
+
"onChange": "setup-const",
|
|
55
|
+
"monacoCancel": "setup-const"
|
|
52
56
|
} */
|
|
53
57
|
import { defineComponent as _defineComponent } from 'vue';
|
|
54
58
|
import { unref as _unref, mergeProps as _mergeProps, openBlock as _openBlock, createBlock as _createBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createElementBlock as _createElementBlock } from "vue";
|
|
@@ -103,10 +107,18 @@ const __sfc_main__ = _defineComponent({
|
|
|
103
107
|
const bindProps = computed(() => {
|
|
104
108
|
return Object.assign(omit(props, ['extraProps']), props.extraProps);
|
|
105
109
|
});
|
|
110
|
+
const handleItemModalSubmit = () => {
|
|
111
|
+
myValue.value = objectValue.value.replace(/[\r\n]\s*/g, '');
|
|
112
|
+
emit('update:modelValue', objectValue.value);
|
|
113
|
+
emit('change', objectValue.value);
|
|
114
|
+
};
|
|
106
115
|
const onChange = (e) => {
|
|
107
116
|
emit('update:modelValue', myValue.value);
|
|
108
117
|
emit('change', e && e.target ? e.target.value : e);
|
|
109
118
|
};
|
|
119
|
+
const monacoCancel = () => {
|
|
120
|
+
objectValue.value = props.modelValue;
|
|
121
|
+
};
|
|
110
122
|
const handleFileChange = async (info) => {
|
|
111
123
|
if (info.file.status === 'done') {
|
|
112
124
|
let url = _optionalChain([info, 'access', _2 => _2.file, 'access', _3 => _3.response, 'optionalAccess', _4 => _4.result, 'optionalAccess', _5 => _5.accessUrl]);
|
|
@@ -182,52 +194,45 @@ const __sfc_main__ = _defineComponent({
|
|
|
182
194
|
min: -999999999999999,
|
|
183
195
|
style: { "width": "100%" }
|
|
184
196
|
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
185
|
-
: (_unref(typeMap).get(__props.itemType) === '
|
|
197
|
+
: (_unref(typeMap).get(__props.itemType) === 'file')
|
|
186
198
|
? (_openBlock(), _createBlock(_unref(Input), _mergeProps({
|
|
187
199
|
key: 6,
|
|
188
200
|
value: myValue.value,
|
|
189
201
|
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => ((myValue).value = $event)),
|
|
190
|
-
allowClear: ""
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
202
|
+
allowClear: "",
|
|
203
|
+
placeholder: "请输入链接"
|
|
204
|
+
}, bindProps.value, { onChange: onChange }), {
|
|
205
|
+
addonAfter: _withCtx(() => [
|
|
206
|
+
_createVNode(_unref(Upload), {
|
|
207
|
+
action: __props.action,
|
|
208
|
+
headers: __props.headers,
|
|
209
|
+
showUploadList: false,
|
|
210
|
+
name: "file",
|
|
211
|
+
onChange: handleFileChange
|
|
212
|
+
}, {
|
|
213
|
+
default: _withCtx(() => [
|
|
214
|
+
_createVNode(_component_AIcon, { type: "UploadOutlined" })
|
|
215
|
+
]),
|
|
216
|
+
_: 1 /* STABLE */
|
|
217
|
+
}, 8 /* PROPS */, ["action", "headers"])
|
|
218
|
+
]),
|
|
219
|
+
_: 1 /* STABLE */
|
|
220
|
+
}, 16 /* FULL_PROPS */, ["value"]))
|
|
221
|
+
: (_unref(typeMap).get(__props.itemType) === 'password')
|
|
222
|
+
? (_openBlock(), _createBlock(_unref(InputPassword), _mergeProps({
|
|
194
223
|
key: 7,
|
|
195
224
|
value: myValue.value,
|
|
196
225
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => ((myValue).value = $event)),
|
|
197
226
|
allowClear: "",
|
|
198
|
-
|
|
199
|
-
}, bindProps.value, { onChange: onChange }),
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}, {
|
|
208
|
-
default: _withCtx(() => [
|
|
209
|
-
_createVNode(_component_AIcon, { type: "UploadOutlined" })
|
|
210
|
-
]),
|
|
211
|
-
_: 1 /* STABLE */
|
|
212
|
-
}, 8 /* PROPS */, ["action", "headers"])
|
|
213
|
-
]),
|
|
214
|
-
_: 1 /* STABLE */
|
|
215
|
-
}, 16 /* FULL_PROPS */, ["value"]))
|
|
216
|
-
: (_unref(typeMap).get(__props.itemType) === 'password')
|
|
217
|
-
? (_openBlock(), _createBlock(_unref(InputPassword), _mergeProps({
|
|
218
|
-
key: 8,
|
|
219
|
-
value: myValue.value,
|
|
220
|
-
"onUpdate:value": _cache[9] || (_cache[9] = ($event) => ((myValue).value = $event)),
|
|
221
|
-
allowClear: "",
|
|
222
|
-
type: "password"
|
|
223
|
-
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
224
|
-
: (_openBlock(), _createBlock(_unref(Input), _mergeProps({
|
|
225
|
-
key: 9,
|
|
226
|
-
value: myValue.value,
|
|
227
|
-
"onUpdate:value": _cache[10] || (_cache[10] = ($event) => ((myValue).value = $event)),
|
|
228
|
-
allowClear: "",
|
|
229
|
-
type: "text"
|
|
230
|
-
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
227
|
+
type: "password"
|
|
228
|
+
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
229
|
+
: (_openBlock(), _createBlock(_unref(Input), _mergeProps({
|
|
230
|
+
key: 8,
|
|
231
|
+
value: myValue.value,
|
|
232
|
+
"onUpdate:value": _cache[9] || (_cache[9] = ($event) => ((myValue).value = $event)),
|
|
233
|
+
allowClear: "",
|
|
234
|
+
type: "text"
|
|
235
|
+
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
231
236
|
]));
|
|
232
237
|
};
|
|
233
238
|
}
|
package/lib/components.js
CHANGED
|
@@ -53,12 +53,6 @@ Object.defineProperty(exports, "DragModal", {
|
|
|
53
53
|
return _DragModal.default;
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
Object.defineProperty(exports, "Echarts", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function get() {
|
|
59
|
-
return _Echarts.default;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
56
|
Object.defineProperty(exports, "EditTable", {
|
|
63
57
|
enumerable: true,
|
|
64
58
|
get: function get() {
|
|
@@ -77,24 +71,12 @@ Object.defineProperty(exports, "Empty", {
|
|
|
77
71
|
return _Empty.default;
|
|
78
72
|
}
|
|
79
73
|
});
|
|
80
|
-
Object.defineProperty(exports, "FlameGraph", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function get() {
|
|
83
|
-
return _FlameGraph.default;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
74
|
Object.defineProperty(exports, "FullPage", {
|
|
87
75
|
enumerable: true,
|
|
88
76
|
get: function get() {
|
|
89
77
|
return _FullPage.default;
|
|
90
78
|
}
|
|
91
79
|
});
|
|
92
|
-
Object.defineProperty(exports, "Map", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function get() {
|
|
95
|
-
return _AMap.default;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
80
|
Object.defineProperty(exports, "Markdown", {
|
|
99
81
|
enumerable: true,
|
|
100
82
|
get: function get() {
|
|
@@ -137,12 +119,6 @@ Object.defineProperty(exports, "Search", {
|
|
|
137
119
|
return _Search.default;
|
|
138
120
|
}
|
|
139
121
|
});
|
|
140
|
-
Object.defineProperty(exports, "Skeleton", {
|
|
141
|
-
enumerable: true,
|
|
142
|
-
get: function get() {
|
|
143
|
-
return _Skeleton.default;
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
122
|
Object.defineProperty(exports, "TimeFormat", {
|
|
147
123
|
enumerable: true,
|
|
148
124
|
get: function get() {
|
|
@@ -161,12 +137,10 @@ Object.defineProperty(exports, "ValueItem", {
|
|
|
161
137
|
return _ValueItem.default;
|
|
162
138
|
}
|
|
163
139
|
});
|
|
164
|
-
var _AMap = _interopRequireDefault(require("./AMap"));
|
|
165
140
|
var _BadgeStatus = _interopRequireDefault(require("./BadgeStatus"));
|
|
166
141
|
var _CardSelect = _interopRequireDefault(require("./CardSelect"));
|
|
167
142
|
var _CheckButton = _interopRequireDefault(require("./CheckButton"));
|
|
168
143
|
var _ConfigProvider = _interopRequireDefault(require("./ConfigProvider"));
|
|
169
|
-
var _Echarts = _interopRequireDefault(require("./Echarts"));
|
|
170
144
|
var _Ellipsis = _interopRequireDefault(require("./Ellipsis"));
|
|
171
145
|
var _Empty = _interopRequireDefault(require("./Empty"));
|
|
172
146
|
var _FullPage = _interopRequireDefault(require("./FullPage"));
|
|
@@ -183,7 +157,4 @@ var _EditTable = _interopRequireDefault(require("./EditTable"));
|
|
|
183
157
|
var _Markdown = _interopRequireDefault(require("./Markdown"));
|
|
184
158
|
var _AutoComplete = _interopRequireDefault(require("./AutoComplete"));
|
|
185
159
|
var _Title = _interopRequireDefault(require("./Title"));
|
|
186
|
-
var
|
|
187
|
-
var _Skeleton = _interopRequireDefault(require("./Skeleton"));
|
|
188
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
189
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
160
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
package/lib/index.js
CHANGED
|
@@ -20,8 +20,7 @@ Object.keys(components).forEach(function (key) {
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
});
|
|
23
|
-
function
|
|
24
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
25
24
|
/*eslint import/namespace: ['error', { allowComputed: true }]*/
|
|
26
25
|
|
|
27
26
|
var install = exports.install = function install(app) {
|
package/lib/locale/en-US.js
CHANGED
|
@@ -57,6 +57,9 @@ var _default = exports.default = {
|
|
|
57
57
|
alert: {
|
|
58
58
|
cancelChoose: 'Cancel selection',
|
|
59
59
|
selectItem: 'Select {0} items'
|
|
60
|
+
},
|
|
61
|
+
select: {
|
|
62
|
+
all: 'Select all'
|
|
60
63
|
}
|
|
61
64
|
},
|
|
62
65
|
ProLayout: {
|
|
@@ -64,9 +67,6 @@ var _default = exports.default = {
|
|
|
64
67
|
back: 'Back'
|
|
65
68
|
}
|
|
66
69
|
},
|
|
67
|
-
AMap: {
|
|
68
|
-
description: 'Please configure the Amap key for Gaode'
|
|
69
|
-
},
|
|
70
70
|
EditTable: {
|
|
71
71
|
serial: 'Serial',
|
|
72
72
|
columns: {
|
|
@@ -120,9 +120,5 @@ var _default = exports.default = {
|
|
|
120
120
|
},
|
|
121
121
|
PermissionButton: {
|
|
122
122
|
hasPermission: 'No permission, please contact the administrator'
|
|
123
|
-
},
|
|
124
|
-
FlameGraph: {
|
|
125
|
-
placeholder: 'Please input',
|
|
126
|
-
revert: 'Revert'
|
|
127
123
|
}
|
|
128
124
|
};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -57,6 +57,9 @@ var _default = exports.default = {
|
|
|
57
57
|
alert: {
|
|
58
58
|
cancelChoose: '取消选择',
|
|
59
59
|
selectItem: '已选择 {0} 项'
|
|
60
|
+
},
|
|
61
|
+
select: {
|
|
62
|
+
all: '全选'
|
|
60
63
|
}
|
|
61
64
|
},
|
|
62
65
|
ProLayout: {
|
|
@@ -64,9 +67,6 @@ var _default = exports.default = {
|
|
|
64
67
|
back: '返回'
|
|
65
68
|
}
|
|
66
69
|
},
|
|
67
|
-
AMap: {
|
|
68
|
-
description: '请配置高德地图key'
|
|
69
|
-
},
|
|
70
70
|
EditTable: {
|
|
71
71
|
serial: '序号',
|
|
72
72
|
columns: {
|
|
@@ -120,9 +120,5 @@ var _default = exports.default = {
|
|
|
120
120
|
},
|
|
121
121
|
PermissionButton: {
|
|
122
122
|
hasPermission: '暂无权限,请联系管理员'
|
|
123
|
-
},
|
|
124
|
-
FlameGraph: {
|
|
125
|
-
placeholder: '请输入',
|
|
126
|
-
revert: '反转'
|
|
127
123
|
}
|
|
128
124
|
};
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
@import "../DragModal/style/index-pure.less";
|
|
4
4
|
@import "../EditTable/style/index-pure.less";
|
|
5
5
|
@import "../Ellipsis/style/index-pure.less";
|
|
6
|
-
@import "../FlameGraph/style/index-pure.less";
|
|
7
6
|
@import "../RadioButton/style/index-pure.less";
|
|
8
7
|
@import "../Scrollbar/style/index-pure.less";
|
|
9
8
|
@import "../Title/style/index-pure.less";
|
package/lib/style/index.js
CHANGED