@jetlinks-web/components 2.6.29 → 2.7.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/AMap/Map.js +1 -2
- package/es/AutoComplete/AutoComplete.js +0 -1
- package/es/BadgeStatus/Badge.js +1 -2
- package/es/CardSelect/CardSelect.js +1 -2
- package/es/CardSelect/style/css.js +1 -0
- package/es/CheckButton/CheckButton.js +1 -2
- package/es/CheckButton/style/css.js +1 -0
- package/es/DragModal/DragModal.js +0 -1
- package/es/DragModal/style/css.js +1 -0
- package/es/Echarts/Echarts.js +1 -2
- package/es/EditTable/EditTable.js +4 -6
- package/es/EditTable/FormItem.js +0 -1
- package/es/EditTable/Header.js +5 -3
- package/es/EditTable/components/ContextMenu/Menu.js +1 -2
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +7 -10
- package/es/EditTable/hooks/useValidate.js +1 -1
- package/es/EditTable/style/css.js +1 -0
- package/es/EditTable/utils.js +1 -1
- package/es/Ellipsis/style/css.js +1 -0
- package/es/FullPage/FullPage.js +1 -2
- package/es/Icon/icon.js +3 -3
- package/es/LocaleProvider/index.js +1 -2
- package/es/MonacoEditor/style/css.js +1 -0
- package/es/PermissionButton/index.js +6 -7
- package/es/ProLayout/Basic/BasicLayout.js +34 -39
- package/es/ProLayout/Basic/Header.js +3 -7
- package/es/ProLayout/PageContainer/index.js +8 -12
- package/es/ProLayout/SiderMenu/BaseMenu.js +16 -39
- package/es/ProLayout/SiderMenu/SiderMenu.js +14 -34
- package/es/ProLayout/TopHeader/index.js +1 -9
- package/es/ProLayout/style/css.js +1 -0
- package/es/ProLayout/util.js +5 -5
- package/es/ProTable/Content.js +5 -5
- package/es/ProTable/hooks/useTableSelection.js +2 -0
- package/es/ProTable/style/css.js +1 -0
- package/es/RadioButton/RadioButton.js +0 -1
- package/es/RadioButton/style/css.js +1 -0
- package/es/Scrollbar/style/css.js +1 -0
- package/es/Search/Advanced/SaveHistory.js +1 -2
- package/es/Search/Item.js +1 -2
- package/es/Search/style/css.js +2 -0
- package/es/Title/style/css.js +1 -0
- package/es/Title/title.js +0 -1
- package/es/components.js +1 -2
- package/es/style/css.js +3 -0
- package/es/style/index.less +13 -14
- package/es/style.js +1 -2
- package/lib/AMap/Map.js +1 -2
- package/lib/AutoComplete/AutoComplete.js +0 -1
- package/lib/BadgeStatus/Badge.js +1 -2
- package/lib/CardSelect/CardSelect.js +1 -2
- package/lib/CardSelect/style/css.js +3 -0
- package/lib/CheckButton/CheckButton.js +1 -2
- package/lib/CheckButton/style/css.js +3 -0
- package/lib/DragModal/DragModal.js +0 -1
- package/lib/DragModal/style/css.js +3 -0
- package/lib/Echarts/Echarts.js +1 -2
- package/lib/EditTable/EditTable.js +4 -6
- package/lib/EditTable/FormItem.js +0 -1
- package/lib/EditTable/Header.js +5 -3
- package/lib/EditTable/components/ContextMenu/Menu.js +1 -2
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +7 -10
- package/lib/EditTable/hooks/useValidate.js +1 -1
- package/lib/EditTable/style/css.js +3 -0
- package/lib/EditTable/utils.js +1 -1
- package/lib/Ellipsis/style/css.js +3 -0
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/Icon/icon.js +4 -5
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/MonacoEditor/style/css.js +3 -0
- package/lib/PermissionButton/index.js +6 -7
- package/lib/ProLayout/Basic/BasicLayout.js +34 -40
- package/lib/ProLayout/Basic/Header.js +2 -6
- package/lib/ProLayout/PageContainer/index.js +7 -11
- package/lib/ProLayout/SiderMenu/BaseMenu.js +17 -39
- package/lib/ProLayout/SiderMenu/SiderMenu.js +14 -35
- package/lib/ProLayout/TopHeader/index.js +2 -9
- package/lib/ProLayout/style/css.js +3 -0
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Content.js +5 -5
- package/lib/ProTable/hooks/useTableSelection.js +2 -0
- package/lib/ProTable/style/css.js +3 -0
- package/lib/RadioButton/RadioButton.js +0 -1
- package/lib/RadioButton/style/css.js +3 -0
- package/lib/Scrollbar/style/css.js +3 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -2
- package/lib/Search/Item.js +1 -2
- package/lib/Search/style/css.js +4 -0
- package/lib/Title/style/css.js +3 -0
- package/lib/Title/title.js +0 -1
- package/lib/components.js +1 -9
- package/lib/index.js +1 -2
- package/lib/style/css.js +4 -0
- package/lib/style/index.less +13 -14
- package/lib/style.js +1 -2
- package/package.json +5 -7
- 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/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/MonacoEditor/style/index.css +0 -4
- 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 -5240
- package/es/style/variable.css +0 -4
- package/es/style/variable.less +0 -4
- 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/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/MonacoEditor/style/index.css +0 -4
- 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/components.less +0 -10
- package/lib/style/index.css +0 -5240
- package/lib/style/variable.css +0 -4
- package/lib/style/variable.less +0 -4
package/es/AMap/Map.js
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"ref": "setup-const",
|
|
11
11
|
"computed": "setup-const",
|
|
12
12
|
"inject": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
13
|
"initAMapApiLoader": "setup-maybe-ref",
|
|
15
14
|
"ElAmap": "setup-maybe-ref",
|
|
16
15
|
"getAMapUiPromise": "setup-maybe-ref",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
} */
|
|
33
32
|
import { defineComponent as _defineComponent } from 'vue';
|
|
34
33
|
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
|
|
34
|
+
import { ref, computed, inject } from 'vue';
|
|
36
35
|
import { initAMapApiLoader, ElAmap } from '@vuemap/vue-amap';
|
|
37
36
|
import { getAMapUiPromise } from '@jetlinks-web/utils';
|
|
38
37
|
import { MapProps } from './util';
|
|
@@ -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",
|
package/es/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,7 +10,7 @@
|
|
|
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
15
|
import { Badge } from 'ant-design-vue/es/';
|
|
17
16
|
const __sfc_main__ = _defineComponent({
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"computed": "setup-const",
|
|
11
11
|
"ref": "setup-const",
|
|
12
12
|
"watch": "setup-const",
|
|
13
|
-
"defineOptions": "setup-const",
|
|
14
13
|
"Form": "setup-maybe-ref",
|
|
15
14
|
"props": "setup-reactive-const",
|
|
16
15
|
"emit": "setup-const",
|
|
@@ -26,7 +25,7 @@ const _hoisted_2 = { class: "j-card-select-item-content" };
|
|
|
26
25
|
const _hoisted_3 = { class: "j-card-select-title" };
|
|
27
26
|
const _hoisted_4 = { class: "j-card-select-describe" };
|
|
28
27
|
import { has } from 'lodash-es';
|
|
29
|
-
import { computed, ref, watch
|
|
28
|
+
import { computed, ref, watch } from 'vue';
|
|
30
29
|
import { Form } from 'ant-design-vue/es/';
|
|
31
30
|
const __sfc_main__ = Object.assign({
|
|
32
31
|
name: 'JCardSelect'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"computed": "setup-const",
|
|
9
9
|
"ref": "setup-const",
|
|
10
10
|
"watch": "setup-const",
|
|
11
|
-
"defineOptions": "setup-const",
|
|
12
11
|
"isArray": "setup-maybe-ref",
|
|
13
12
|
"props": "setup-reactive-const",
|
|
14
13
|
"emit": "setup-const",
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
import { defineComponent as _defineComponent } from 'vue';
|
|
21
20
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle } from "vue";
|
|
22
21
|
const _hoisted_1 = ["onClick"];
|
|
23
|
-
import { computed, ref, watch
|
|
22
|
+
import { computed, ref, watch } from 'vue';
|
|
24
23
|
import { isArray } from '@jetlinks-web/utils';
|
|
25
24
|
const __sfc_main__ = _defineComponent({
|
|
26
25
|
...{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
|
@@ -23,7 +23,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
23
23
|
"footer": "props",
|
|
24
24
|
"ref": "setup-const",
|
|
25
25
|
"useSlots": "setup-const",
|
|
26
|
-
"defineOptions": "setup-const",
|
|
27
26
|
"computed": "setup-const",
|
|
28
27
|
"onMounted": "setup-const",
|
|
29
28
|
"watch": "setup-const",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
package/es/Echarts/Echarts.js
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"nextTick": "setup-const",
|
|
5
5
|
"ref": "setup-const",
|
|
6
6
|
"watch": "setup-const",
|
|
7
|
-
"defineOptions": "setup-const",
|
|
8
7
|
"useECharts": "setup-maybe-ref",
|
|
9
8
|
"props": "setup-reactive-const",
|
|
10
9
|
"echartsDom": "setup-ref",
|
|
@@ -12,7 +11,7 @@
|
|
|
12
11
|
} */
|
|
13
12
|
import { defineComponent as _defineComponent } from 'vue';
|
|
14
13
|
import { normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
15
|
-
import { nextTick, ref, watch
|
|
14
|
+
import { nextTick, ref, watch } from 'vue';
|
|
16
15
|
import { useECharts } from '@jetlinks-web/hooks';
|
|
17
16
|
const __sfc_main__ = _defineComponent({
|
|
18
17
|
...{
|
|
@@ -41,7 +41,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
41
41
|
"useSlots": "setup-const",
|
|
42
42
|
"ref": "setup-const",
|
|
43
43
|
"reactive": "setup-const",
|
|
44
|
-
"defineOptions": "setup-const",
|
|
45
44
|
"computed": "setup-const",
|
|
46
45
|
"watch": "setup-const",
|
|
47
46
|
"bodyProps": "setup-maybe-ref",
|
|
@@ -109,7 +108,6 @@ const _hoisted_3 = {
|
|
|
109
108
|
key: 0,
|
|
110
109
|
class: "jetlinks-table-horizontal-scroll"
|
|
111
110
|
};
|
|
112
|
-
const _hoisted_4 = /*#__PURE__*/ _createElementVNode("div", { style: { "width": "15px", "height": "100%", "overflow-x": "hidden" } }, null, -1 /* HOISTED */);
|
|
113
111
|
import { FULL_SCREEN, RIGHT_MENU, TABLE_DATA_SOURCE, TABLE_ERROR, TABLE_GROUP_ACTIVE, TABLE_GROUP_ERROR, TABLE_GROUP_OPTIONS, TABLE_H_SCROLL, TABLE_OPEN_GROUP, TABLE_TOOL, TABLE_WRAPPER } from './consts';
|
|
114
112
|
import { handleColumnsWidth } from './utils';
|
|
115
113
|
import { useGroup, useResizeObserver, useValidate } from './hooks';
|
|
@@ -515,18 +513,18 @@ const __sfc_main__ = Object.assign({
|
|
|
515
513
|
class: "jetlinks-table-horizontal-scroll-bar",
|
|
516
514
|
ref_key: "scrollBarRef",
|
|
517
515
|
ref: scrollBarRef,
|
|
518
|
-
style:
|
|
516
|
+
style: {
|
|
519
517
|
width: 'calc(100% - 15px)',
|
|
520
518
|
height: '100%',
|
|
521
519
|
overflowX: 'scroll'
|
|
522
|
-
}
|
|
520
|
+
},
|
|
523
521
|
onScroll: onHorizontalScroll
|
|
524
522
|
}, [
|
|
525
523
|
_createElementVNode("div", {
|
|
526
524
|
style: _normalizeStyle({ minWidth: horizontalScrollWidth.value + 'px', maxWidth: horizontalScrollWidth.value + 'px', height: '100%' })
|
|
527
525
|
}, null, 4 /* STYLE */)
|
|
528
|
-
],
|
|
529
|
-
|
|
526
|
+
], 544 /* NEED_HYDRATION, NEED_PATCH */),
|
|
527
|
+
_cache[1] || (_cache[1] = _createElementVNode("div", { style: { "width": "15px", "height": "100%", "overflow-x": "hidden" } }, null, -1 /* CACHED */))
|
|
530
528
|
]))
|
|
531
529
|
: _createCommentVNode("v-if", true),
|
|
532
530
|
(_ctx.dataSource.length && _ctx.openGroup)
|
package/es/EditTable/FormItem.js
CHANGED
|
@@ -21,7 +21,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
21
21
|
"computed": "setup-const",
|
|
22
22
|
"reactive": "setup-const",
|
|
23
23
|
"watch": "setup-const",
|
|
24
|
-
"defineOptions": "setup-const",
|
|
25
24
|
"provide": "setup-const",
|
|
26
25
|
"get": "setup-maybe-ref",
|
|
27
26
|
"isArray": "setup-maybe-ref",
|
package/es/EditTable/Header.js
CHANGED
|
@@ -22,7 +22,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
22
22
|
"SearchModal": "setup-maybe-ref",
|
|
23
23
|
"Sort": "setup-maybe-ref",
|
|
24
24
|
"reactive": "setup-const",
|
|
25
|
-
"defineOptions": "setup-const",
|
|
26
25
|
"useHScroll": "setup-maybe-ref",
|
|
27
26
|
"useTableTool": "setup-maybe-ref",
|
|
28
27
|
"HeaderItemRender": "setup-const",
|
|
@@ -47,7 +46,7 @@ const _hoisted_6 = {
|
|
|
47
46
|
class: "table-header-cell-trigger"
|
|
48
47
|
};
|
|
49
48
|
import { SearchModal, Sort } from './components/Search';
|
|
50
|
-
import { reactive
|
|
49
|
+
import { reactive } from 'vue';
|
|
51
50
|
import { useHScroll, useTableTool } from "./hooks";
|
|
52
51
|
import HeaderItemRender from './HeaderRender.js';
|
|
53
52
|
const __sfc_main__ = Object.assign({
|
|
@@ -126,7 +125,10 @@ const __sfc_main__ = Object.assign({
|
|
|
126
125
|
}, null, 8 /* PROPS */, ["onClick"]))
|
|
127
126
|
: _createCommentVNode("v-if", true),
|
|
128
127
|
(item.sort)
|
|
129
|
-
? (_openBlock(), _createBlock(_unref(Sort), _mergeProps({
|
|
128
|
+
? (_openBlock(), _createBlock(_unref(Sort), _mergeProps({
|
|
129
|
+
key: 1,
|
|
130
|
+
ref_for: true
|
|
131
|
+
}, item.sort, {
|
|
130
132
|
key: item.dataIndex,
|
|
131
133
|
active: _unref(tableTool).sortData.dataIndex === item.dataIndex,
|
|
132
134
|
selectedRowKeys: _unref(tableTool).sortData.dataIndex === item.dataIndex ? _unref(tableTool).sortData.orderKeys : [],
|
|
@@ -23,7 +23,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
23
23
|
"onMounted": "setup-const",
|
|
24
24
|
"ref": "setup-const",
|
|
25
25
|
"nextTick": "setup-const",
|
|
26
|
-
"defineOptions": "setup-const",
|
|
27
26
|
"AIcon": "setup-maybe-ref",
|
|
28
27
|
"Menu": "setup-maybe-ref",
|
|
29
28
|
"useLocaleReceiver": "setup-maybe-ref",
|
|
@@ -38,7 +37,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
38
37
|
"close": "setup-const"
|
|
39
38
|
} */
|
|
40
39
|
import { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
41
|
-
import { onMounted, ref, nextTick
|
|
40
|
+
import { onMounted, ref, nextTick } from "vue";
|
|
42
41
|
import { AIcon } from '../../../components';
|
|
43
42
|
import { Menu } from 'ant-design-vue/es/';
|
|
44
43
|
import { useLocaleReceiver } from "../../../LocaleReciver";
|
|
@@ -24,7 +24,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
24
24
|
"useGroupOptions": "setup-maybe-ref",
|
|
25
25
|
"ref": "setup-const",
|
|
26
26
|
"computed": "setup-const",
|
|
27
|
-
"defineOptions": "setup-const",
|
|
28
27
|
"Ellipsis": "setup-const",
|
|
29
28
|
"DragModal": "setup-const",
|
|
30
29
|
"useLocaleReceiver": "setup-maybe-ref",
|
|
@@ -68,7 +67,7 @@ const _hoisted_6 = { key: 1 };
|
|
|
68
67
|
const _hoisted_7 = { class: "jetlinks-table-search-result-total" };
|
|
69
68
|
import Table from '../../EditTable.js';
|
|
70
69
|
import { useTableDataSource, useTableOpenGroup, useTableTool, useGroupOptions } from "../../context";
|
|
71
|
-
import { ref, computed
|
|
70
|
+
import { ref, computed } from "vue";
|
|
72
71
|
import Ellipsis from '../../../Ellipsis/Ellipsis.js';
|
|
73
72
|
import DragModal from '../../../DragModal/DragModal.js';
|
|
74
73
|
import { useLocaleReceiver } from "../../../LocaleReciver/index";
|
|
@@ -22,7 +22,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
22
22
|
"active": "props",
|
|
23
23
|
"useTableTool": "setup-maybe-ref",
|
|
24
24
|
"useTableWrapper": "setup-maybe-ref",
|
|
25
|
-
"defineOptions": "setup-const",
|
|
26
25
|
"ref": "setup-const",
|
|
27
26
|
"reactive": "setup-const",
|
|
28
27
|
"useLocaleReceiver": "setup-maybe-ref",
|
|
@@ -41,8 +40,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
41
40
|
"onAsc": "setup-const",
|
|
42
41
|
"onDesc": "setup-const"
|
|
43
42
|
} */
|
|
44
|
-
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass
|
|
45
|
-
const _withScopeId = n => (_pushScopeId("data-v-1755154724514"), n = n(), _popScopeId(), n);
|
|
43
|
+
import { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass } from "vue";
|
|
46
44
|
const _hoisted_1 = { class: "jetlinks-table-sort-content" };
|
|
47
45
|
const _hoisted_2 = { class: "jetlinks-table-sort-title" };
|
|
48
46
|
const _hoisted_3 = { class: "table-sort-body" };
|
package/es/EditTable/group.js
CHANGED
|
@@ -24,7 +24,6 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
24
24
|
"useTableGroupError": "setup-maybe-ref",
|
|
25
25
|
"useTableWrapper": "setup-maybe-ref",
|
|
26
26
|
"ref": "setup-const",
|
|
27
|
-
"defineOptions": "setup-const",
|
|
28
27
|
"useLocaleReceiver": "setup-maybe-ref",
|
|
29
28
|
"props": "setup-reactive-const",
|
|
30
29
|
"emit": "setup-const",
|
|
@@ -50,18 +49,16 @@ import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlo
|
|
|
50
49
|
const _hoisted_1 = { class: "jetlinks-table-group-warp" };
|
|
51
50
|
const _hoisted_2 = { class: "jetlinks-table-group-error-warp" };
|
|
52
51
|
const _hoisted_3 = { style: { "color": "#1d2129" } };
|
|
53
|
-
const _hoisted_4 =
|
|
54
|
-
const _hoisted_5 = {
|
|
52
|
+
const _hoisted_4 = {
|
|
55
53
|
key: 1,
|
|
56
54
|
class: "jetlinks-table-group-error-warp"
|
|
57
55
|
};
|
|
58
|
-
const
|
|
59
|
-
const _hoisted_7 = /*#__PURE__*/ _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* HOISTED */);
|
|
56
|
+
const _hoisted_5 = { style: { "color": "#1d2129" } };
|
|
60
57
|
import { Modal } from "ant-design-vue/es/";
|
|
61
58
|
import { randomNumber } from "@jetlinks-web/utils";
|
|
62
59
|
import { isFullScreen } from "./utils";
|
|
63
60
|
import { useTableGroupError, useTableWrapper } from './context';
|
|
64
|
-
import { ref
|
|
61
|
+
import { ref } from 'vue';
|
|
65
62
|
import { useLocaleReceiver } from "../LocaleReciver";
|
|
66
63
|
const __sfc_main__ = Object.assign({
|
|
67
64
|
name: 'JEditTableGroup'
|
|
@@ -270,7 +267,7 @@ const __sfc_main__ = Object.assign({
|
|
|
270
267
|
_createElementVNode("span", _hoisted_3, _toDisplayString(_unref(contextLocale).Group.validate), 1 /* TEXT */)
|
|
271
268
|
]),
|
|
272
269
|
default: _withCtx(() => [
|
|
273
|
-
|
|
270
|
+
_cache[2] || (_cache[2] = _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* CACHED */))
|
|
274
271
|
]),
|
|
275
272
|
_: 1 /* STABLE */
|
|
276
273
|
}))
|
|
@@ -279,7 +276,7 @@ const __sfc_main__ = Object.assign({
|
|
|
279
276
|
]),
|
|
280
277
|
_: 2 /* DYNAMIC */
|
|
281
278
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["getPopupContainer", "disabled"]))
|
|
282
|
-
: (_openBlock(), _createElementBlock("div",
|
|
279
|
+
: (_openBlock(), _createElementBlock("div", _hoisted_4, [
|
|
283
280
|
_createTextVNode(_toDisplayString(item.label) + " (" + _toDisplayString(item.effective) + ") ", 1 /* TEXT */),
|
|
284
281
|
(_unref(errorMap)[item.value])
|
|
285
282
|
? (_openBlock(), _createBlock(_component_a_tooltip, {
|
|
@@ -289,10 +286,10 @@ const __sfc_main__ = Object.assign({
|
|
|
289
286
|
getContainer: popContainer
|
|
290
287
|
}, {
|
|
291
288
|
title: _withCtx(() => [
|
|
292
|
-
_createElementVNode("span",
|
|
289
|
+
_createElementVNode("span", _hoisted_5, _toDisplayString(_unref(contextLocale).Group.validate), 1 /* TEXT */)
|
|
293
290
|
]),
|
|
294
291
|
default: _withCtx(() => [
|
|
295
|
-
|
|
292
|
+
_cache[3] || (_cache[3] = _createElementVNode("div", { class: "jetlinks-table-group-error-target" }, null, -1 /* CACHED */))
|
|
296
293
|
]),
|
|
297
294
|
_: 1 /* STABLE */
|
|
298
295
|
}))
|
|
@@ -18,7 +18,7 @@ export var useValidate = function useValidate(dataSource, columns, rowKey) {
|
|
|
18
18
|
firstFields: true,
|
|
19
19
|
index: index
|
|
20
20
|
}, function (err) {
|
|
21
|
-
if (err
|
|
21
|
+
if (err !== null && err !== void 0 && err.length) {
|
|
22
22
|
reject(err.map(function (item) {
|
|
23
23
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
24
24
|
__serial: data.__serial,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.css";
|
package/es/EditTable/utils.js
CHANGED
|
@@ -8,7 +8,7 @@ export var collectValidateRules = function collectValidateRules(columns) {
|
|
|
8
8
|
var rules = {};
|
|
9
9
|
columns.forEach(function (item) {
|
|
10
10
|
var _item$form;
|
|
11
|
-
if ((_item$form = item.form)
|
|
11
|
+
if ((_item$form = item.form) !== null && _item$form !== void 0 && _item$form.rules) {
|
|
12
12
|
var currentLevel = rules; // 从最顶层开始构建
|
|
13
13
|
var field = item.form.field || item.dataIndex;
|
|
14
14
|
var parts = Array.isArray(field) ? field : String(field).split(',');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
package/es/FullPage/FullPage.js
CHANGED
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"y": "setup-maybe-ref"
|
|
9
9
|
} */
|
|
10
10
|
import { defineComponent as _defineComponent } from 'vue';
|
|
11
|
-
import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock
|
|
12
|
-
const _withScopeId = n => (_pushScopeId("data-v-1755154722160"), n = n(), _popScopeId(), n);
|
|
11
|
+
import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
|
13
12
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
14
13
|
import { ref, inject } from 'vue';
|
|
15
14
|
import { useElementBounding } from '@vueuse/core';
|
package/es/Icon/icon.js
CHANGED
|
@@ -3,9 +3,9 @@ import { defineComponent, createVNode, watchEffect, inject, createVNode as _crea
|
|
|
3
3
|
import * as aIcon from '@ant-design/icons-vue';
|
|
4
4
|
import { createFromIconfontCN } from '@ant-design/icons-vue';
|
|
5
5
|
import { ComponentsEnum } from "../utils/constants";
|
|
6
|
-
var MyIcon =
|
|
7
|
-
|
|
8
|
-
}
|
|
6
|
+
var MyIcon = function MyIcon() {
|
|
7
|
+
return function () {};
|
|
8
|
+
};
|
|
9
9
|
var AntdIcon = function AntdIcon(props) {
|
|
10
10
|
return createVNode(aIcon[props.type]);
|
|
11
11
|
};
|
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
"provide": "setup-const",
|
|
4
4
|
"reactive": "setup-const",
|
|
5
5
|
"watch": "setup-const",
|
|
6
|
-
"defineOptions": "setup-const",
|
|
7
6
|
"defaultLocal": "setup-maybe-ref",
|
|
8
7
|
"props": "setup-reactive-const",
|
|
9
8
|
"state": "setup-reactive-const"
|
|
10
9
|
} */
|
|
11
10
|
import { defineComponent as _defineComponent } from 'vue';
|
|
12
11
|
import { renderSlot as _renderSlot } from "vue";
|
|
13
|
-
import { provide, reactive, watch
|
|
12
|
+
import { provide, reactive, watch } from "vue";
|
|
14
13
|
import defaultLocal from '../locale/zh-CN';
|
|
15
14
|
const __sfc_main__ = _defineComponent({
|
|
16
15
|
...{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.css';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
2
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
4
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
6
5
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
7
6
|
var _excluded = ["popConfirm", "tooltip", "hasPermission", "noPermissionTitle"];
|
|
8
|
-
|
|
7
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
8
|
import { h, defineComponent, computed, inject, getCurrentInstance, toRefs } from "vue";
|
|
10
9
|
import { Button, Tooltip, Modal } from 'ant-design-vue/es/';
|
|
11
10
|
import "ant-design-vue/es";
|
|
@@ -77,15 +76,15 @@ var PermissionButton = defineComponent({
|
|
|
77
76
|
noPermissionTitle = props.noPermissionTitle,
|
|
78
77
|
buttonProps = _objectWithoutProperties(props, _excluded);
|
|
79
78
|
if (popConfirm) {
|
|
80
|
-
buttonProps.onClick = /*#__PURE__*/_asyncToGenerator(
|
|
79
|
+
buttonProps.onClick = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
81
80
|
var _props$popConfirmBefo;
|
|
82
81
|
var _popConfirm;
|
|
83
|
-
return _regeneratorRuntime
|
|
82
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
84
83
|
while (1) switch (_context.prev = _context.next) {
|
|
85
84
|
case 0:
|
|
86
|
-
_context.next =
|
|
85
|
+
_context.next = 1;
|
|
87
86
|
return ((_props$popConfirmBefo = props.popConfirmBefore) === null || _props$popConfirmBefo === void 0 ? void 0 : _props$popConfirmBefo.call(props)) || popConfirm;
|
|
88
|
-
case
|
|
87
|
+
case 1:
|
|
89
88
|
_popConfirm = _context.sent;
|
|
90
89
|
if (context.components) {
|
|
91
90
|
confirm(_objectSpread(_objectSpread({}, _popConfirm), {}, {
|
|
@@ -105,7 +104,7 @@ var PermissionButton = defineComponent({
|
|
|
105
104
|
}
|
|
106
105
|
});
|
|
107
106
|
}
|
|
108
|
-
case
|
|
107
|
+
case 2:
|
|
109
108
|
case "end":
|
|
110
109
|
return _context.stop();
|
|
111
110
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment as _Fragment, createVNode as _createVNode
|
|
1
|
+
import { Fragment as _Fragment, createVNode as _createVNode } from "vue";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
@@ -13,9 +13,6 @@ import { pick } from 'lodash-es';
|
|
|
13
13
|
import { defaultRouteContext, routeContextInjectKey } from '../RouteContext';
|
|
14
14
|
import { getMenuFirstChildren, getSlot } from '../util';
|
|
15
15
|
import { Layout, LayoutContent, Breadcrumb, Tabs } from 'ant-design-vue/es/';
|
|
16
|
-
function _isSlot(s) {
|
|
17
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
18
|
-
}
|
|
19
16
|
export var basicLayoutProps = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, defaultSettingProps), siderMenuProps), baseHeaderProps), headerViewProps), {}, {
|
|
20
17
|
pure: Boolean,
|
|
21
18
|
loading: Boolean,
|
|
@@ -246,7 +243,6 @@ export default defineComponent({
|
|
|
246
243
|
return (_slots$default = slots.default) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
|
|
247
244
|
}
|
|
248
245
|
if (props.layoutType === LayoutType.LIST) {
|
|
249
|
-
var _slot;
|
|
250
246
|
var _slots$default2;
|
|
251
247
|
return _createVNode(_Fragment, null, [_createVNode("div", {
|
|
252
248
|
"class": className.value
|
|
@@ -273,13 +269,13 @@ export default defineComponent({
|
|
|
273
269
|
"onSelect": onSelect,
|
|
274
270
|
"onOpenKeys": onOpenKeys,
|
|
275
271
|
"onMenuClick": onMenuClick
|
|
276
|
-
}), null), _createVNode(Layout, null,
|
|
272
|
+
}), null), _createVNode(Layout, null, {
|
|
277
273
|
default: function _default() {
|
|
278
|
-
return [(
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
274
|
+
return [_createVNode(LayoutContent, null, {
|
|
275
|
+
default: function _default() {
|
|
276
|
+
return [(_slots$default2 = slots.default) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)];
|
|
277
|
+
}
|
|
278
|
+
})];
|
|
283
279
|
}
|
|
284
280
|
})];
|
|
285
281
|
}
|
|
@@ -326,7 +322,6 @@ export default defineComponent({
|
|
|
326
322
|
})]);
|
|
327
323
|
} else {
|
|
328
324
|
var _slots$default4;
|
|
329
|
-
var _slot2, _slot3;
|
|
330
325
|
return _createVNode(_Fragment, null, [_createVNode("div", {
|
|
331
326
|
"class": className.value
|
|
332
327
|
}, [_createVNode(Layout, null, {
|
|
@@ -354,32 +349,32 @@ export default defineComponent({
|
|
|
354
349
|
padding: 0,
|
|
355
350
|
height: '40px'
|
|
356
351
|
}, props.pageHeaderStyle || {})
|
|
357
|
-
}, _isSlot(_slot2 = _createVNode(Tabs, {
|
|
358
|
-
"hide-add": true,
|
|
359
|
-
"type": "editable-card",
|
|
360
|
-
"class": "history-tabs",
|
|
361
|
-
"id": 'history-route-tabs',
|
|
362
|
-
"tabBarStyle": {
|
|
363
|
-
margin: 0
|
|
364
|
-
},
|
|
365
|
-
"onTabClick": onTabClick,
|
|
366
|
-
"onEdit": onTabEdit,
|
|
367
|
-
"activeKey": props.historyActive,
|
|
368
|
-
"onChange": onTabChange
|
|
369
352
|
}, {
|
|
370
353
|
default: function _default() {
|
|
371
|
-
return [
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
354
|
+
return [_createVNode(Tabs, {
|
|
355
|
+
"hide-add": true,
|
|
356
|
+
"type": "editable-card",
|
|
357
|
+
"class": "history-tabs",
|
|
358
|
+
"id": "history-route-tabs",
|
|
359
|
+
"tabBarStyle": {
|
|
360
|
+
margin: 0
|
|
361
|
+
},
|
|
362
|
+
"onTabClick": onTabClick,
|
|
363
|
+
"onEdit": onTabEdit,
|
|
364
|
+
"activeKey": props.historyActive,
|
|
365
|
+
"onChange": onTabChange
|
|
366
|
+
}, {
|
|
367
|
+
default: function _default() {
|
|
368
|
+
return [historyRender ? historyRender() : props.historyRoutes.map(function (item) {
|
|
369
|
+
return _createVNode(Tabs.TabPane, {
|
|
370
|
+
"key": item.name,
|
|
371
|
+
"tab": item.label,
|
|
372
|
+
"closable": true
|
|
373
|
+
}, null);
|
|
374
|
+
})];
|
|
375
|
+
}
|
|
377
376
|
})];
|
|
378
377
|
}
|
|
379
|
-
})) ? _slot2 : {
|
|
380
|
-
default: function _default() {
|
|
381
|
-
return [_slot2];
|
|
382
|
-
}
|
|
383
378
|
}), _createVNode(LayoutContent, {
|
|
384
379
|
"style": {
|
|
385
380
|
flex: '1 1 0',
|
|
@@ -393,13 +388,13 @@ export default defineComponent({
|
|
|
393
388
|
"style": _objectSpread({
|
|
394
389
|
padding: '11px 24px'
|
|
395
390
|
}, props.pageFooterStyle || {})
|
|
396
|
-
}, _isSlot(_slot3 = _createVNode(Breadcrumb, {
|
|
397
|
-
"routes": breadcrumb.value.routes
|
|
398
391
|
}, {
|
|
399
|
-
itemRender: breadcrumb.value.itemRender
|
|
400
|
-
})) ? _slot3 : {
|
|
401
392
|
default: function _default() {
|
|
402
|
-
return [
|
|
393
|
+
return [_createVNode(Breadcrumb, {
|
|
394
|
+
"routes": breadcrumb.value.routes
|
|
395
|
+
}, {
|
|
396
|
+
itemRender: breadcrumb.value.itemRender
|
|
397
|
+
})];
|
|
403
398
|
}
|
|
404
399
|
})];
|
|
405
400
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVNode as _createVNode, Fragment as _Fragment
|
|
1
|
+
import { createVNode as _createVNode, Fragment as _Fragment } from "vue";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
3
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
4
4
|
import { baseHeaderProps, TopNavHeader } from '../TopHeader';
|
|
@@ -7,9 +7,6 @@ import { defineComponent, computed, toRefs } from 'vue';
|
|
|
7
7
|
import { useRouteContext } from '../RouteContext';
|
|
8
8
|
import { Layout } from 'ant-design-vue/es/';
|
|
9
9
|
import { LayoutType } from "../defaultSettings";
|
|
10
|
-
function _isSlot(s) {
|
|
11
|
-
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
12
|
-
}
|
|
13
10
|
export var headerViewProps = _objectSpread(_objectSpread({}, baseHeaderProps), {}, {
|
|
14
11
|
headerRender: {
|
|
15
12
|
type: [Object, Function, Boolean],
|
|
@@ -77,7 +74,6 @@ export default defineComponent({
|
|
|
77
74
|
return 0;
|
|
78
75
|
});
|
|
79
76
|
return function () {
|
|
80
|
-
var _slot;
|
|
81
77
|
return _createVNode(_Fragment, null, [needFixedHeader.value && _createVNode(Layout.Header, {
|
|
82
78
|
"style": {
|
|
83
79
|
height: "".concat(headerHeight.value, "px"),
|
|
@@ -94,9 +90,9 @@ export default defineComponent({
|
|
|
94
90
|
right: right.value
|
|
95
91
|
},
|
|
96
92
|
"class": className.value
|
|
97
|
-
},
|
|
93
|
+
}, {
|
|
98
94
|
default: function _default() {
|
|
99
|
-
return [
|
|
95
|
+
return [renderContent()];
|
|
100
96
|
}
|
|
101
97
|
})]);
|
|
102
98
|
};
|