@jetlinks-web/components 2.6.9 → 2.6.11
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/EditTable/Body.js +34 -7
- package/es/EditTable/CellRender.js +12 -0
- package/es/EditTable/EditTable.js +70 -15
- package/es/EditTable/Header.js +22 -7
- package/es/EditTable/HeaderRender.js +12 -0
- package/es/EditTable/components/Search/sort.js +1 -1
- package/es/EditTable/consts.js +2 -1
- package/es/EditTable/hooks/index.js +4 -1
- package/es/EditTable/props.js +1 -1
- package/es/EditTable/style/body.less +0 -1
- package/es/EditTable/style/header.less +5 -0
- package/es/EditTable/style/index.css +16 -1
- package/es/EditTable/style/table.less +14 -0
- package/es/EditTable/utils.js +3 -3
- package/es/FullPage/FullPage.js +1 -1
- package/es/PermissionButton/index.js +1 -2
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/style/index.css +16 -1
- package/lib/EditTable/Body.js +34 -7
- package/lib/EditTable/CellRender.js +12 -0
- package/lib/EditTable/EditTable.js +70 -15
- package/lib/EditTable/Header.js +22 -7
- package/lib/EditTable/HeaderRender.js +12 -0
- package/lib/EditTable/components/Search/sort.js +1 -1
- package/lib/EditTable/consts.js +3 -2
- package/lib/EditTable/hooks/index.js +6 -2
- package/lib/EditTable/props.js +1 -1
- package/lib/EditTable/style/body.less +0 -1
- package/lib/EditTable/style/header.less +5 -0
- package/lib/EditTable/style/index.css +16 -1
- package/lib/EditTable/style/table.less +14 -0
- package/lib/EditTable/utils.js +2 -3
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/PermissionButton/index.js +1 -2
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/style/index.css +16 -1
- package/package.json +3 -3
|
@@ -62,8 +62,7 @@ var PermissionButton = (0, _vue.defineComponent)({
|
|
|
62
62
|
components: undefined
|
|
63
63
|
});
|
|
64
64
|
var permission = (0, _vue.computed)(function () {
|
|
65
|
-
|
|
66
|
-
if (props.hasPermission === true || !hasOwnPrototype) {
|
|
65
|
+
if (props.hasPermission === true || props.hasPermission === undefined) {
|
|
67
66
|
return true;
|
|
68
67
|
}
|
|
69
68
|
return hasPerm.value;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
} */
|
|
24
24
|
import { defineComponent as _defineComponent } from 'vue';
|
|
25
25
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
26
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
26
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744796322792"), n = n(), _popScopeId(), n);
|
|
27
27
|
const _hoisted_1 = {
|
|
28
28
|
key: 0,
|
|
29
29
|
style: { "width": "240px" }
|
package/lib/Search/Item.js
CHANGED
|
@@ -80,7 +80,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
80
80
|
} */
|
|
81
81
|
import { defineComponent as _defineComponent } from 'vue';
|
|
82
82
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
83
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
83
|
+
const _withScopeId = n => (_pushScopeId("data-v-1744796321563"), n = n(), _popScopeId(), n);
|
|
84
84
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
85
85
|
const _hoisted_2 = {
|
|
86
86
|
key: 0,
|
package/lib/style/index.css
CHANGED
|
@@ -4841,6 +4841,7 @@ span.ant-radio + * {
|
|
|
4841
4841
|
flex-shrink: 0;
|
|
4842
4842
|
background: #fafafa;
|
|
4843
4843
|
transition: background-color 0.3s ease;
|
|
4844
|
+
overflow: auto hidden;
|
|
4844
4845
|
}
|
|
4845
4846
|
.jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-edit-table-header {
|
|
4846
4847
|
overflow: hidden;
|
|
@@ -4855,6 +4856,17 @@ span.ant-radio + * {
|
|
|
4855
4856
|
flex: 1 1 auto;
|
|
4856
4857
|
flex-direction: row;
|
|
4857
4858
|
}
|
|
4859
|
+
.jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-table-horizontal-scroll {
|
|
4860
|
+
width: 100%;
|
|
4861
|
+
height: 10px;
|
|
4862
|
+
min-height: 10px;
|
|
4863
|
+
max-height: 10px;
|
|
4864
|
+
display: flex;
|
|
4865
|
+
}
|
|
4866
|
+
.jetlinks-edit-table-wrapper .jetlinks-edit-table .jetlinks-table-horizontal-scroll .jetlinks-table-horizontal-scroll-bar {
|
|
4867
|
+
height: 100%;
|
|
4868
|
+
overflow-x: scroll;
|
|
4869
|
+
}
|
|
4858
4870
|
.jetlinks-edit-table-body-viewport {
|
|
4859
4871
|
max-height: 100%;
|
|
4860
4872
|
width: 100%;
|
|
@@ -4880,7 +4892,6 @@ span.ant-radio + * {
|
|
|
4880
4892
|
}
|
|
4881
4893
|
.jetlinks-edit-table-body-viewport .jetlinks-edit-table-center .jetlinks-edit-table-row {
|
|
4882
4894
|
width: 100%;
|
|
4883
|
-
display: flex;
|
|
4884
4895
|
align-items: center;
|
|
4885
4896
|
transition: top 0.2s, height 0.2s, background-color 0.1s;
|
|
4886
4897
|
border-bottom: 1px solid #ebebeb;
|
|
@@ -4940,6 +4951,10 @@ span.ant-radio + * {
|
|
|
4940
4951
|
display: flex;
|
|
4941
4952
|
align-items: center;
|
|
4942
4953
|
font-weight: 600;
|
|
4954
|
+
gap: 4px;
|
|
4955
|
+
}
|
|
4956
|
+
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .table-header-cell-title .cell-title-box {
|
|
4957
|
+
flex: 1 1 auto;
|
|
4943
4958
|
}
|
|
4944
4959
|
.jetlinks-edit-table-header-container .jetlinks-edit-table-header-cell .jetlinks-edit-table-header-cell-box .header-cell-required {
|
|
4945
4960
|
color: #ff4d4f;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -158,9 +158,9 @@
|
|
|
158
158
|
"webpack-dev-server": "^4.0.0",
|
|
159
159
|
"webpack-merge": "^5.0.0",
|
|
160
160
|
"webpackbar": "^5.0.2",
|
|
161
|
-
"@jetlinks-web/
|
|
161
|
+
"@jetlinks-web/utils": "^1.2.9",
|
|
162
162
|
"@jetlinks-web/hooks": "^1.0.25",
|
|
163
|
-
"@jetlinks-web/
|
|
163
|
+
"@jetlinks-web/constants": "^1.0.9"
|
|
164
164
|
},
|
|
165
165
|
"publishConfig": {
|
|
166
166
|
"registry": "https://registry.npmjs.org/",
|