@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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* Analyzed bindings: {
|
|
2
|
+
"active": "props",
|
|
3
|
+
"loading": "props",
|
|
4
|
+
"Item": "setup-const",
|
|
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"
|
|
11
|
+
} */
|
|
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" };
|
|
14
|
+
const _hoisted_2 = { class: "j-skeleton-flex" };
|
|
15
|
+
const _hoisted_3 = { class: "j-skeleton-flex" };
|
|
16
|
+
const _hoisted_4 = { class: "j-skeleton-flex" };
|
|
17
|
+
import Item from "./Item.js";
|
|
18
|
+
import { computed } from "vue";
|
|
19
|
+
import useSkeletonStyle from '../style';
|
|
20
|
+
const __sfc_main__ = Object.assign({
|
|
21
|
+
name: 'JSkeletonTree'
|
|
22
|
+
}, {
|
|
23
|
+
props: {
|
|
24
|
+
active: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: true,
|
|
27
|
+
},
|
|
28
|
+
loading: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: true,
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
setup(__props) {
|
|
34
|
+
const props = __props;
|
|
35
|
+
const prefixCls = computed(() => 'j-skeleton');
|
|
36
|
+
const [wrapSSR, hashId] = useSkeletonStyle(prefixCls);
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return (!__props.loading)
|
|
39
|
+
? _renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
40
|
+
: (_openBlock(), _createElementBlock("div", {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: _normalizeClass(['j-skeleton', _unref(hashId)])
|
|
43
|
+
}, [
|
|
44
|
+
_createElementVNode("div", _hoisted_1, [
|
|
45
|
+
_createVNode(Item, { active: __props.active }, null, 8 /* PROPS */, ["active"])
|
|
46
|
+
]),
|
|
47
|
+
_createElementVNode("div", _hoisted_2, [
|
|
48
|
+
_createVNode(Item, {
|
|
49
|
+
active: __props.active,
|
|
50
|
+
width: "100px"
|
|
51
|
+
}, null, 8 /* PROPS */, ["active"])
|
|
52
|
+
]),
|
|
53
|
+
(_openBlock(), _createElementBlock(_Fragment, null, _renderList(6, (item) => {
|
|
54
|
+
return _createElementVNode("div", _hoisted_3, [
|
|
55
|
+
_createVNode(Item, {
|
|
56
|
+
active: __props.active,
|
|
57
|
+
size: "small"
|
|
58
|
+
}, null, 8 /* PROPS */, ["active"])
|
|
59
|
+
]);
|
|
60
|
+
}), 64 /* STABLE_FRAGMENT */)),
|
|
61
|
+
_createElementVNode("div", _hoisted_4, [
|
|
62
|
+
_createVNode(Item, {
|
|
63
|
+
active: __props.active,
|
|
64
|
+
size: "small",
|
|
65
|
+
width: "140px"
|
|
66
|
+
}, null, 8 /* PROPS */, ["active"])
|
|
67
|
+
])
|
|
68
|
+
], 2 /* CLASS */));
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export default __sfc_main__;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import JSkeletonListTable from './components/ListTable.js';
|
|
2
|
+
import JSkeletonListCard from './components/ListCard.js';
|
|
3
|
+
import JSkeletonTree from './components/Tree.js';
|
|
4
|
+
import JSkeletonDetail from './components/Detail.js';
|
|
5
|
+
import JSkeletonDrawer from './components/Drawer.js';
|
|
6
|
+
import JSkeletonDashboardCard from './components/DashBoardCard.js';
|
|
7
|
+
import JSkeletonDashboardChart from './components/DashBoardChart.js';
|
|
8
|
+
import JSkeletonList from './components/List.js';
|
|
9
|
+
import JSkeletonPage from './components/Page.js';
|
|
10
|
+
import Skeleton from './skeleton.js';
|
|
11
|
+
export { JSkeletonDashboardCard, JSkeletonDashboardChart, JSkeletonListTable, JSkeletonListCard, JSkeletonPage, JSkeletonTree, JSkeletonDetail, JSkeletonDrawer, JSkeletonList };
|
|
12
|
+
Skeleton.install = function (app) {
|
|
13
|
+
app.component(Skeleton.name, Skeleton);
|
|
14
|
+
};
|
|
15
|
+
export default Skeleton;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* Analyzed bindings: {
|
|
2
|
+
"active": "props",
|
|
3
|
+
"loading": "props",
|
|
4
|
+
"Item": "setup-const",
|
|
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"
|
|
11
|
+
} */
|
|
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" };
|
|
14
|
+
import Item from "./components/Item.js";
|
|
15
|
+
import { computed } from "vue";
|
|
16
|
+
import useSkeletonStyle from './style';
|
|
17
|
+
const __sfc_main__ = Object.assign({
|
|
18
|
+
name: 'JSkeleton'
|
|
19
|
+
}, {
|
|
20
|
+
props: {
|
|
21
|
+
active: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: true,
|
|
24
|
+
},
|
|
25
|
+
loading: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true,
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(__props) {
|
|
31
|
+
const props = __props;
|
|
32
|
+
const prefixCls = computed(() => 'j-skeleton');
|
|
33
|
+
const [wrapSSR, hashId] = useSkeletonStyle(prefixCls);
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return (_openBlock(), _createElementBlock("div", {
|
|
36
|
+
class: _normalizeClass(['j-skeleton', _unref(hashId)])
|
|
37
|
+
}, [
|
|
38
|
+
(!__props.loading)
|
|
39
|
+
? _renderSlot(_ctx.$slots, "default", { key: 0 })
|
|
40
|
+
: _createCommentVNode("v-if", true),
|
|
41
|
+
_createElementVNode("div", _hoisted_1, [
|
|
42
|
+
_createVNode(Item, {
|
|
43
|
+
active: __props.active,
|
|
44
|
+
width: "40%"
|
|
45
|
+
}, null, 8 /* PROPS */, ["active"]),
|
|
46
|
+
(_openBlock(), _createElementBlock(_Fragment, null, _renderList(3, (item) => {
|
|
47
|
+
return _createVNode(Item, { active: __props.active }, null, 8 /* PROPS */, ["active"]);
|
|
48
|
+
}), 64 /* STABLE_FRAGMENT */)),
|
|
49
|
+
_createVNode(Item, {
|
|
50
|
+
active: __props.active,
|
|
51
|
+
width: "80%"
|
|
52
|
+
}, null, 8 /* PROPS */, ["active"])
|
|
53
|
+
])
|
|
54
|
+
], 2 /* CLASS */));
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export default __sfc_main__;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import { Keyframes } from "ant-design-vue";
|
|
4
|
+
import genCompoentStyle from "../../style/styleRegister";
|
|
5
|
+
var JSkeletonSizeLg = '36px';
|
|
6
|
+
var JSkeletonSizeSm = '16px';
|
|
7
|
+
var JSkeletonSize = '24px';
|
|
8
|
+
var JSkeletonBorderRadius = '8px';
|
|
9
|
+
var JSkeletonBg = '#f0f2f5';
|
|
10
|
+
var JSkeletonBg1 = '#e6e8eb';
|
|
11
|
+
var JSkeletonBorder = "4px solid ".concat(JSkeletonBg);
|
|
12
|
+
var JSkeletonFlex = {
|
|
13
|
+
display: 'flex',
|
|
14
|
+
gap: '24px',
|
|
15
|
+
marginBottom: '16px'
|
|
16
|
+
};
|
|
17
|
+
//动画
|
|
18
|
+
var waveKeyframes = new Keyframes('wave', {
|
|
19
|
+
'0%': {
|
|
20
|
+
backgroundPosition: '200% 0'
|
|
21
|
+
},
|
|
22
|
+
'100%': {
|
|
23
|
+
backgroundPosition: '-200% 0'
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
var genSkeletonStyle = function genSkeletonStyle(config) {
|
|
27
|
+
var _$concat6;
|
|
28
|
+
var componentCls = config.componentCls,
|
|
29
|
+
token = config.token;
|
|
30
|
+
return _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls, "-flex"), JSkeletonFlex), "".concat(componentCls, "-flex-between"), _objectSpread(_objectSpread({}, JSkeletonFlex), {}, {
|
|
31
|
+
background: JSkeletonBg,
|
|
32
|
+
height: JSkeletonSize,
|
|
33
|
+
borderRadius: JSkeletonBorderRadius
|
|
34
|
+
})), "".concat(componentCls, "-flex-column"), _objectSpread(_objectSpread({}, JSkeletonFlex), {}, {
|
|
35
|
+
justifyContent: 'space-between'
|
|
36
|
+
})), "".concat(componentCls), (_$concat6 = {
|
|
37
|
+
height: '100%'
|
|
38
|
+
}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_$concat6, "".concat(componentCls, "-item"), {
|
|
39
|
+
background: 'linear-gradient(90deg, ${JSkeletonBg} 25%, ${JSkeletonBg1} 50%, ${JSkeletonBg} 75%)',
|
|
40
|
+
backgroundSize: '400% 100%',
|
|
41
|
+
borderRadius: JSkeletonBorderRadius,
|
|
42
|
+
height: JSkeletonSize
|
|
43
|
+
}), "".concat(componentCls, "-item-active"), {
|
|
44
|
+
animationName: waveKeyframes,
|
|
45
|
+
animationDuration: '1.8s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationTimingFunction: 'ease-in-out'
|
|
48
|
+
}), "".concat(componentCls, "-item-lg"), {
|
|
49
|
+
height: JSkeletonSizeLg
|
|
50
|
+
}), "".concat(componentCls, "-item-sm"), {
|
|
51
|
+
height: JSkeletonSizeSm
|
|
52
|
+
}), "".concat(componentCls, "-dashboard-card"), _objectSpread(_objectSpread({}, JSkeletonFlex), {}, {
|
|
53
|
+
border: JSkeletonBorder,
|
|
54
|
+
borderRadius: JSkeletonBorderRadius,
|
|
55
|
+
height: '100%',
|
|
56
|
+
padding: '24px',
|
|
57
|
+
flexDirection: 'column'
|
|
58
|
+
})), "".concat(componentCls, "-tabs"), {
|
|
59
|
+
display: 'flex',
|
|
60
|
+
gap: '16px',
|
|
61
|
+
margin: '60px 0 20px 0',
|
|
62
|
+
borderBottom: JSkeletonBorder,
|
|
63
|
+
padding: '16px 0'
|
|
64
|
+
}), "".concat(componentCls, "-desc"), _defineProperty(_defineProperty({
|
|
65
|
+
display: 'flex',
|
|
66
|
+
flexDirection: 'column',
|
|
67
|
+
marginBottom: '24px'
|
|
68
|
+
}, "".concat(componentCls, "-desc-content"), {
|
|
69
|
+
display: 'grid',
|
|
70
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
71
|
+
gap: '36px',
|
|
72
|
+
margin: '24px 0 0 0'
|
|
73
|
+
}), "".concat(componentCls, "-desc-item"), {
|
|
74
|
+
display: 'flex',
|
|
75
|
+
gap: '16px'
|
|
76
|
+
})), "".concat(componentCls, "-box"), {
|
|
77
|
+
borderBottom: JSkeletonBorder,
|
|
78
|
+
padding: '16px 0'
|
|
79
|
+
}), "".concat(componentCls, "-table-cell"), {
|
|
80
|
+
display: 'grid',
|
|
81
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(0, 1fr)) 200px',
|
|
82
|
+
gap: '24px',
|
|
83
|
+
padding: '12px 6px',
|
|
84
|
+
borderRadius: '8px'
|
|
85
|
+
}), "".concat(componentCls, "-table-header"), {
|
|
86
|
+
backgroundColor: 'lightgrey'
|
|
87
|
+
}), _defineProperty(_defineProperty(_defineProperty(_$concat6, "".concat(componentCls, "-table-action"), {
|
|
88
|
+
width: '200px',
|
|
89
|
+
display: 'grid',
|
|
90
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(0, 1fr))',
|
|
91
|
+
gap: '24px'
|
|
92
|
+
}), "".concat(componentCls, "-cards"), {
|
|
93
|
+
display: 'grid',
|
|
94
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
95
|
+
gap: '16px'
|
|
96
|
+
}), "".concat(componentCls, "-card"), _defineProperty(_defineProperty({}, "".concat(componentCls, "-card-content"), _defineProperty(_defineProperty({
|
|
97
|
+
display: 'flex',
|
|
98
|
+
gap: '16px',
|
|
99
|
+
border: '2px solid #f0f2f5',
|
|
100
|
+
borderRadius: '8px',
|
|
101
|
+
padding: '24px',
|
|
102
|
+
marginBottom: '16px'
|
|
103
|
+
}, "".concat(componentCls, "-image"), {
|
|
104
|
+
width: '100px',
|
|
105
|
+
height: '100px'
|
|
106
|
+
}), "".concat(componentCls, "-right"), _defineProperty({
|
|
107
|
+
flex: 1,
|
|
108
|
+
minWidth: '200px'
|
|
109
|
+
}, "".concat(componentCls, "-right-content"), _defineProperty({
|
|
110
|
+
display: 'flex',
|
|
111
|
+
gap: '16px',
|
|
112
|
+
marginTop: '16px'
|
|
113
|
+
}, "".concat(componentCls, "-right-item"), {
|
|
114
|
+
flex: 1,
|
|
115
|
+
minWidth: '100px',
|
|
116
|
+
display: 'flex',
|
|
117
|
+
flexDirection: 'column',
|
|
118
|
+
gap: '16px'
|
|
119
|
+
})))), "".concat(componentCls, "-action"), {
|
|
120
|
+
display: 'flex',
|
|
121
|
+
justifyContent: 'flex-end',
|
|
122
|
+
gap: '16px',
|
|
123
|
+
'.btn': {
|
|
124
|
+
flex: 1,
|
|
125
|
+
minWidth: '100px'
|
|
126
|
+
},
|
|
127
|
+
'.delete': {
|
|
128
|
+
flex: '0 0 100px'
|
|
129
|
+
}
|
|
130
|
+
}))));
|
|
131
|
+
};
|
|
132
|
+
export default genCompoentStyle([genSkeletonStyle]);
|
package/es/Title/style/index.js
CHANGED
|
@@ -1 +1,29 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
import genCompoentStyle from "../../style/styleRegister";
|
|
3
|
+
var genTitleStyle = function genTitleStyle(config) {
|
|
4
|
+
var componentCls = config.componentCls,
|
|
5
|
+
token = config.token;
|
|
6
|
+
return _defineProperty({}, componentCls, _defineProperty({
|
|
7
|
+
display: 'flex',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
width: '100%',
|
|
10
|
+
marginBottom: '16px'
|
|
11
|
+
}, "".concat(componentCls, "-content"), {
|
|
12
|
+
position: 'relative',
|
|
13
|
+
paddingLeft: '10px',
|
|
14
|
+
color: 'rgba(0, 0, 0, 0.8)',
|
|
15
|
+
fontWeight: 600,
|
|
16
|
+
lineHeight: 1,
|
|
17
|
+
'&::before': {
|
|
18
|
+
position: 'absolute',
|
|
19
|
+
top: 0,
|
|
20
|
+
left: 0,
|
|
21
|
+
width: 4,
|
|
22
|
+
height: '100%',
|
|
23
|
+
background: '#1890ff',
|
|
24
|
+
borderRadius: '0 3px 3px 0',
|
|
25
|
+
content: '""'
|
|
26
|
+
}
|
|
27
|
+
}));
|
|
28
|
+
};
|
|
29
|
+
export default genCompoentStyle([genTitleStyle]);
|
package/es/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
|
});
|
|
@@ -48,7 +48,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
48
48
|
"props": "setup-reactive-const",
|
|
49
49
|
"typeMap": "setup-maybe-ref",
|
|
50
50
|
"myValue": "setup-ref",
|
|
51
|
-
"modalVisible": "setup-ref",
|
|
52
51
|
"objectValue": "setup-ref",
|
|
53
52
|
"bindProps": "setup-ref",
|
|
54
53
|
"handleItemModalSubmit": "setup-const",
|
|
@@ -56,13 +55,11 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
56
55
|
"monacoCancel": "setup-const"
|
|
57
56
|
} */
|
|
58
57
|
import { defineComponent as _defineComponent } from 'vue';
|
|
59
|
-
import { unref as _unref, mergeProps as _mergeProps, openBlock as _openBlock, createBlock as _createBlock,
|
|
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";
|
|
60
59
|
const _hoisted_1 = { class: "value-item-warp" };
|
|
61
|
-
const _hoisted_2 = { style: { "width": "100%", "height": "300px" } };
|
|
62
60
|
import { ref, watch, computed } from 'vue';
|
|
63
61
|
import { componentsType } from './util';
|
|
64
|
-
import {
|
|
65
|
-
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, Modal, } from 'ant-design-vue/es/';
|
|
62
|
+
import { Select, DatePicker, TimePicker, Input, InputNumber, InputPassword, Upload, } from 'ant-design-vue';
|
|
66
63
|
import { omit } from "lodash-es";
|
|
67
64
|
const __sfc_main__ = _defineComponent({
|
|
68
65
|
...{
|
|
@@ -106,14 +103,12 @@ const __sfc_main__ = _defineComponent({
|
|
|
106
103
|
const props = __props;
|
|
107
104
|
const typeMap = new Map(Object.entries(componentsType));
|
|
108
105
|
const myValue = ref(undefined);
|
|
109
|
-
const modalVisible = ref(false);
|
|
110
106
|
const objectValue = ref('');
|
|
111
107
|
const bindProps = computed(() => {
|
|
112
108
|
return Object.assign(omit(props, ['extraProps']), props.extraProps);
|
|
113
109
|
});
|
|
114
110
|
const handleItemModalSubmit = () => {
|
|
115
111
|
myValue.value = objectValue.value.replace(/[\r\n]\s*/g, '');
|
|
116
|
-
modalVisible.value = false;
|
|
117
112
|
emit('update:modelValue', objectValue.value);
|
|
118
113
|
emit('change', objectValue.value);
|
|
119
114
|
};
|
|
@@ -122,7 +117,6 @@ const __sfc_main__ = _defineComponent({
|
|
|
122
117
|
emit('change', e && e.target ? e.target.value : e);
|
|
123
118
|
};
|
|
124
119
|
const monacoCancel = () => {
|
|
125
|
-
modalVisible.value = false;
|
|
126
120
|
objectValue.value = props.modelValue;
|
|
127
121
|
};
|
|
128
122
|
const handleFileChange = async (info) => {
|
|
@@ -200,82 +194,45 @@ const __sfc_main__ = _defineComponent({
|
|
|
200
194
|
min: -999999999999999,
|
|
201
195
|
style: { "width": "100%" }
|
|
202
196
|
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
203
|
-
: (_unref(typeMap).get(__props.itemType) === '
|
|
197
|
+
: (_unref(typeMap).get(__props.itemType) === 'file')
|
|
204
198
|
? (_openBlock(), _createBlock(_unref(Input), _mergeProps({
|
|
205
199
|
key: 6,
|
|
206
200
|
value: myValue.value,
|
|
207
|
-
"onUpdate:value": _cache[
|
|
208
|
-
allowClear: ""
|
|
201
|
+
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => ((myValue).value = $event)),
|
|
202
|
+
allowClear: "",
|
|
203
|
+
placeholder: "请输入链接"
|
|
209
204
|
}, bindProps.value, { onChange: onChange }), {
|
|
210
205
|
addonAfter: _withCtx(() => [
|
|
211
|
-
_createVNode(
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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"])
|
|
215
218
|
]),
|
|
216
219
|
_: 1 /* STABLE */
|
|
217
220
|
}, 16 /* FULL_PROPS */, ["value"]))
|
|
218
|
-
: (_unref(typeMap).get(__props.itemType) === '
|
|
219
|
-
? (_openBlock(), _createBlock(_unref(
|
|
221
|
+
: (_unref(typeMap).get(__props.itemType) === 'password')
|
|
222
|
+
? (_openBlock(), _createBlock(_unref(InputPassword), _mergeProps({
|
|
220
223
|
key: 7,
|
|
221
224
|
value: myValue.value,
|
|
225
|
+
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => ((myValue).value = $event)),
|
|
226
|
+
allowClear: "",
|
|
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,
|
|
222
232
|
"onUpdate:value": _cache[9] || (_cache[9] = ($event) => ((myValue).value = $event)),
|
|
223
233
|
allowClear: "",
|
|
224
|
-
|
|
225
|
-
}, bindProps.value, { onChange: onChange }),
|
|
226
|
-
addonAfter: _withCtx(() => [
|
|
227
|
-
_createVNode(_unref(Upload), {
|
|
228
|
-
action: __props.action,
|
|
229
|
-
headers: __props.headers,
|
|
230
|
-
showUploadList: false,
|
|
231
|
-
name: "file",
|
|
232
|
-
onChange: handleFileChange
|
|
233
|
-
}, {
|
|
234
|
-
default: _withCtx(() => [
|
|
235
|
-
_createVNode(_component_AIcon, { type: "UploadOutlined" })
|
|
236
|
-
]),
|
|
237
|
-
_: 1 /* STABLE */
|
|
238
|
-
}, 8 /* PROPS */, ["action", "headers"])
|
|
239
|
-
]),
|
|
240
|
-
_: 1 /* STABLE */
|
|
241
|
-
}, 16 /* FULL_PROPS */, ["value"]))
|
|
242
|
-
: (_unref(typeMap).get(__props.itemType) === 'password')
|
|
243
|
-
? (_openBlock(), _createBlock(_unref(InputPassword), _mergeProps({
|
|
244
|
-
key: 8,
|
|
245
|
-
value: myValue.value,
|
|
246
|
-
"onUpdate:value": _cache[10] || (_cache[10] = ($event) => ((myValue).value = $event)),
|
|
247
|
-
allowClear: "",
|
|
248
|
-
type: "password"
|
|
249
|
-
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
250
|
-
: (_openBlock(), _createBlock(_unref(Input), _mergeProps({
|
|
251
|
-
key: 9,
|
|
252
|
-
value: myValue.value,
|
|
253
|
-
"onUpdate:value": _cache[11] || (_cache[11] = ($event) => ((myValue).value = $event)),
|
|
254
|
-
allowClear: "",
|
|
255
|
-
type: "text"
|
|
256
|
-
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"])),
|
|
257
|
-
_createCommentVNode(" 代码编辑器弹窗 "),
|
|
258
|
-
_createVNode(_unref(Modal), {
|
|
259
|
-
visible: modalVisible.value,
|
|
260
|
-
"onUpdate:visible": _cache[13] || (_cache[13] = ($event) => ((modalVisible).value = $event)),
|
|
261
|
-
zIndex: 1100,
|
|
262
|
-
"cancel-text": "取消",
|
|
263
|
-
"ok-text": "确认",
|
|
264
|
-
title: "编辑",
|
|
265
|
-
width: "700px",
|
|
266
|
-
onCancel: monacoCancel,
|
|
267
|
-
onOk: handleItemModalSubmit
|
|
268
|
-
}, {
|
|
269
|
-
default: _withCtx(() => [
|
|
270
|
-
_createElementVNode("div", _hoisted_2, [
|
|
271
|
-
_createVNode(_unref(MonacoEditor), {
|
|
272
|
-
modelValue: objectValue.value,
|
|
273
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => ((objectValue).value = $event))
|
|
274
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
275
|
-
])
|
|
276
|
-
]),
|
|
277
|
-
_: 1 /* STABLE */
|
|
278
|
-
}, 8 /* PROPS */, ["visible"])
|
|
234
|
+
type: "text"
|
|
235
|
+
}, bindProps.value, { onChange: onChange }), null, 16 /* FULL_PROPS */, ["value"]))
|
|
279
236
|
]));
|
|
280
237
|
};
|
|
281
238
|
}
|
package/es/components.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
export { default as Map } from './AMap';
|
|
2
1
|
export { default as BadgeStatus } from './BadgeStatus';
|
|
3
2
|
export { default as CardSelect } from './CardSelect';
|
|
4
3
|
export { default as CheckButton } from './CheckButton';
|
|
5
4
|
export { default as ConfigProvider } from './ConfigProvider';
|
|
6
|
-
export { default as Echarts } from './Echarts';
|
|
7
5
|
export { default as Ellipsis } from './Ellipsis';
|
|
8
6
|
export { default as Empty } from './Empty';
|
|
9
7
|
export { default as FullPage } from './FullPage';
|
|
10
8
|
export { default as AIcon } from './Icon';
|
|
11
|
-
export { default as MonacoEditor } from './MonacoEditor';
|
|
12
9
|
export { default as PermissionButton } from './PermissionButton';
|
|
13
10
|
export { default as ProLayout, PageContainer } from './ProLayout';
|
|
14
11
|
export { default as ProTable } from './ProTable';
|
package/es/locale/en-US.js
CHANGED
|
@@ -61,9 +61,6 @@ export default {
|
|
|
61
61
|
back: 'Back'
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
AMap: {
|
|
65
|
-
description: 'Please configure the Amap key for Gaode'
|
|
66
|
-
},
|
|
67
64
|
EditTable: {
|
|
68
65
|
serial: 'Serial',
|
|
69
66
|
columns: {
|
|
@@ -117,9 +114,5 @@ export default {
|
|
|
117
114
|
},
|
|
118
115
|
PermissionButton: {
|
|
119
116
|
hasPermission: 'No permission, please contact the administrator'
|
|
120
|
-
},
|
|
121
|
-
FlameGraph: {
|
|
122
|
-
placeholder: 'Please input',
|
|
123
|
-
revert: 'Revert'
|
|
124
117
|
}
|
|
125
118
|
};
|
package/es/locale/zh-CN.js
CHANGED
|
@@ -61,9 +61,6 @@ export default {
|
|
|
61
61
|
back: '返回'
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
AMap: {
|
|
65
|
-
description: '请配置高德地图key'
|
|
66
|
-
},
|
|
67
64
|
EditTable: {
|
|
68
65
|
serial: '序号',
|
|
69
66
|
columns: {
|
|
@@ -117,9 +114,5 @@ export default {
|
|
|
117
114
|
},
|
|
118
115
|
PermissionButton: {
|
|
119
116
|
hasPermission: '暂无权限,请联系管理员'
|
|
120
|
-
},
|
|
121
|
-
FlameGraph: {
|
|
122
|
-
placeholder: '请输入',
|
|
123
|
-
revert: '反转'
|
|
124
117
|
}
|
|
125
118
|
};
|
package/es/style/index.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
|
+
import { genComponentStyleHook } from 'ant-design-vue/es/theme/internal';
|
|
4
|
+
import { theme } from 'ant-design-vue';
|
|
5
|
+
import variableToken from './variable';
|
|
6
|
+
var genCompoentStyle = function genCompoentStyle(styleFn) {
|
|
7
|
+
return genComponentStyleHook('jetlinks-components', function (_token) {
|
|
8
|
+
var _theme$useToken = theme.useToken(),
|
|
9
|
+
token = _theme$useToken.token,
|
|
10
|
+
hashId = _theme$useToken.hashId;
|
|
11
|
+
var componentToken = {
|
|
12
|
+
token: _objectSpread(_objectSpread({}, _token), variableToken),
|
|
13
|
+
hashId: hashId.value,
|
|
14
|
+
componentCls: ".".concat(_token.prefixCls)
|
|
15
|
+
};
|
|
16
|
+
return _toConsumableArray(styleFn.map(function (item) {
|
|
17
|
+
return item(componentToken);
|
|
18
|
+
}));
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
export default genCompoentStyle;
|
package/es/style.js
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import './Ellipsis/style';
|
|
2
|
-
import './CheckButton/style';
|
|
3
|
-
import './ProLayout/style';
|
|
4
|
-
import './ProTable/style';
|
|
5
|
-
import './Search/style';
|
|
6
|
-
import './CardSelect/style';
|
|
7
|
-
import './DragModal/style';
|
|
8
|
-
import './EditTable/style';
|
|
9
|
-
import './MonacoEditor/style';
|
|
10
|
-
import './Scrollbar/style';
|
|
11
|
-
import './Title/style';
|
|
12
|
-
import './RadioButton/style';
|
|
@@ -19,7 +19,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
19
19
|
"AutoComplete": "setup-maybe-ref",
|
|
20
20
|
"autoCompleteProps": "setup-maybe-ref",
|
|
21
21
|
"ref": "setup-const",
|
|
22
|
-
"defineOptions": "setup-const",
|
|
23
22
|
"watch": "setup-const",
|
|
24
23
|
"props": "setup-reactive-const",
|
|
25
24
|
"emit": "setup-const",
|
|
@@ -29,7 +28,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
29
28
|
} */
|
|
30
29
|
import { defineComponent as _defineComponent } from 'vue';
|
|
31
30
|
import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
32
|
-
import { AutoComplete } from 'ant-design-vue
|
|
31
|
+
import { AutoComplete } from 'ant-design-vue';
|
|
33
32
|
import { autoCompleteProps } from 'ant-design-vue/lib/auto-complete';
|
|
34
33
|
import { ref, watch } from 'vue';
|
|
35
34
|
const __sfc_main__ = _defineComponent({
|
package/lib/BadgeStatus/Badge.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"status": "props",
|
|
4
4
|
"statusNames": "props",
|
|
5
5
|
"computed": "setup-const",
|
|
6
|
-
"defineOptions": "setup-const",
|
|
7
6
|
"getHexColor": "setup-maybe-ref",
|
|
8
7
|
"Badge": "setup-maybe-ref",
|
|
9
8
|
"props": "setup-reactive-const",
|
|
@@ -11,9 +10,9 @@
|
|
|
11
10
|
} */
|
|
12
11
|
import { defineComponent as _defineComponent } from 'vue';
|
|
13
12
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock } from "vue";
|
|
14
|
-
import { computed
|
|
13
|
+
import { computed } from 'vue';
|
|
15
14
|
import { getHexColor } from './color';
|
|
16
|
-
import { Badge } from 'ant-design-vue
|
|
15
|
+
import { Badge } from 'ant-design-vue';
|
|
17
16
|
const __sfc_main__ = _defineComponent({
|
|
18
17
|
...{
|
|
19
18
|
name: 'JBadgeStatus'
|