3h1-ui 2.14.2 → 2.14.4
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/index.js +7 -12
- package/es/style.css +4 -2
- package/lib/index.js +7 -12
- package/package.json +3 -2
package/es/index.js
CHANGED
|
@@ -12437,6 +12437,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
12437
12437
|
}
|
|
12438
12438
|
upEditDynamicDisabled(record, column, value);
|
|
12439
12439
|
return {
|
|
12440
|
+
// showCount: true,
|
|
12441
|
+
maxlength: 100,
|
|
12440
12442
|
size: "small",
|
|
12441
12443
|
getPopupContainer: () => unref(table2 == null ? void 0 : table2.wrapRef.value) ?? document.body,
|
|
12442
12444
|
placeholder: createPlaceholderMessage(unref(getComponent)),
|
|
@@ -12820,11 +12822,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
12820
12822
|
}
|
|
12821
12823
|
});
|
|
12822
12824
|
const EditableCell_vue_vue_type_style_index_0_lang = "";
|
|
12823
|
-
|
|
12824
|
-
function
|
|
12825
|
-
|
|
12826
|
-
rowIndex.value++;
|
|
12827
|
-
}
|
|
12825
|
+
let rowIndex = 0;
|
|
12826
|
+
function isNeedRefresh() {
|
|
12827
|
+
rowIndex++;
|
|
12828
12828
|
}
|
|
12829
12829
|
function renderEditCell(column) {
|
|
12830
12830
|
return ({ text: value, record, index: index2 }) => {
|
|
@@ -12862,7 +12862,7 @@ function renderEditCell(column) {
|
|
|
12862
12862
|
record,
|
|
12863
12863
|
column,
|
|
12864
12864
|
index: index2,
|
|
12865
|
-
key:
|
|
12865
|
+
key: rowIndex
|
|
12866
12866
|
});
|
|
12867
12867
|
};
|
|
12868
12868
|
}
|
|
@@ -13784,7 +13784,7 @@ function useCustomRow(propsRef, {
|
|
|
13784
13784
|
emit
|
|
13785
13785
|
}) {
|
|
13786
13786
|
const customRow = (record, index2) => {
|
|
13787
|
-
|
|
13787
|
+
isNeedRefresh();
|
|
13788
13788
|
return {
|
|
13789
13789
|
onClick: (e) => {
|
|
13790
13790
|
e == null ? void 0 : e.stopPropagation();
|
|
@@ -13827,23 +13827,18 @@ function useCustomRow(propsRef, {
|
|
|
13827
13827
|
}
|
|
13828
13828
|
}
|
|
13829
13829
|
handleClick();
|
|
13830
|
-
hasRefresh(false);
|
|
13831
13830
|
emit("row-click", record, index2, e);
|
|
13832
13831
|
},
|
|
13833
13832
|
onDblclick: (event) => {
|
|
13834
|
-
hasRefresh(false);
|
|
13835
13833
|
emit("row-dbClick", record, index2, event);
|
|
13836
13834
|
},
|
|
13837
13835
|
onContextmenu: (event) => {
|
|
13838
|
-
hasRefresh(false);
|
|
13839
13836
|
emit("row-contextmenu", record, index2, event);
|
|
13840
13837
|
},
|
|
13841
13838
|
onMouseenter: (event) => {
|
|
13842
|
-
hasRefresh(false);
|
|
13843
13839
|
emit("row-mouseenter", record, index2, event);
|
|
13844
13840
|
},
|
|
13845
13841
|
onMouseleave: (event) => {
|
|
13846
|
-
hasRefresh(false);
|
|
13847
13842
|
emit("row-mouseleave", record, index2, event);
|
|
13848
13843
|
}
|
|
13849
13844
|
};
|
package/es/style.css
CHANGED
|
@@ -25671,8 +25671,7 @@ span.iconify {
|
|
|
25671
25671
|
padding: 0;
|
|
25672
25672
|
}
|
|
25673
25673
|
.shy-basic-table .ant-table-container {
|
|
25674
|
-
border
|
|
25675
|
-
border-right: 1px solid #f0f0f0;
|
|
25674
|
+
border: 1px solid #f0f0f0;
|
|
25676
25675
|
}
|
|
25677
25676
|
.shy-basic-table .hide-scrollbar-x .ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-content .ant-table-scroll .ant-table-hide-scrollbar {
|
|
25678
25677
|
overflow-x: auto !important;
|
|
@@ -25697,6 +25696,9 @@ span.iconify {
|
|
|
25697
25696
|
}
|
|
25698
25697
|
.hide-scrollbar-y .ant-spin-nested-loading .ant-spin-container .ant-table .ant-table-content .ant-table-fixed-left .ant-table-body-outer .ant-table-body-inner {
|
|
25699
25698
|
overflow-y: auto !important;
|
|
25699
|
+
}
|
|
25700
|
+
.ant-table-tbody tr td:empty::after {
|
|
25701
|
+
content: '-' !important;
|
|
25700
25702
|
}.wrapper[data-v-4dc415ac] {
|
|
25701
25703
|
display: flex;
|
|
25702
25704
|
}
|
package/lib/index.js
CHANGED
|
@@ -12439,6 +12439,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
12439
12439
|
}
|
|
12440
12440
|
upEditDynamicDisabled(record, column, value);
|
|
12441
12441
|
return {
|
|
12442
|
+
// showCount: true,
|
|
12443
|
+
maxlength: 100,
|
|
12442
12444
|
size: "small",
|
|
12443
12445
|
getPopupContainer: () => vue.unref(table2 == null ? void 0 : table2.wrapRef.value) ?? document.body,
|
|
12444
12446
|
placeholder: createPlaceholderMessage(vue.unref(getComponent)),
|
|
@@ -12822,11 +12824,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
12822
12824
|
}
|
|
12823
12825
|
});
|
|
12824
12826
|
const EditableCell_vue_vue_type_style_index_0_lang = "";
|
|
12825
|
-
|
|
12826
|
-
function
|
|
12827
|
-
|
|
12828
|
-
rowIndex.value++;
|
|
12829
|
-
}
|
|
12827
|
+
let rowIndex = 0;
|
|
12828
|
+
function isNeedRefresh() {
|
|
12829
|
+
rowIndex++;
|
|
12830
12830
|
}
|
|
12831
12831
|
function renderEditCell(column) {
|
|
12832
12832
|
return ({ text: value, record, index: index2 }) => {
|
|
@@ -12864,7 +12864,7 @@ function renderEditCell(column) {
|
|
|
12864
12864
|
record,
|
|
12865
12865
|
column,
|
|
12866
12866
|
index: index2,
|
|
12867
|
-
key:
|
|
12867
|
+
key: rowIndex
|
|
12868
12868
|
});
|
|
12869
12869
|
};
|
|
12870
12870
|
}
|
|
@@ -13786,7 +13786,7 @@ function useCustomRow(propsRef, {
|
|
|
13786
13786
|
emit
|
|
13787
13787
|
}) {
|
|
13788
13788
|
const customRow = (record, index2) => {
|
|
13789
|
-
|
|
13789
|
+
isNeedRefresh();
|
|
13790
13790
|
return {
|
|
13791
13791
|
onClick: (e) => {
|
|
13792
13792
|
e == null ? void 0 : e.stopPropagation();
|
|
@@ -13829,23 +13829,18 @@ function useCustomRow(propsRef, {
|
|
|
13829
13829
|
}
|
|
13830
13830
|
}
|
|
13831
13831
|
handleClick();
|
|
13832
|
-
hasRefresh(false);
|
|
13833
13832
|
emit("row-click", record, index2, e);
|
|
13834
13833
|
},
|
|
13835
13834
|
onDblclick: (event) => {
|
|
13836
|
-
hasRefresh(false);
|
|
13837
13835
|
emit("row-dbClick", record, index2, event);
|
|
13838
13836
|
},
|
|
13839
13837
|
onContextmenu: (event) => {
|
|
13840
|
-
hasRefresh(false);
|
|
13841
13838
|
emit("row-contextmenu", record, index2, event);
|
|
13842
13839
|
},
|
|
13843
13840
|
onMouseenter: (event) => {
|
|
13844
|
-
hasRefresh(false);
|
|
13845
13841
|
emit("row-mouseenter", record, index2, event);
|
|
13846
13842
|
},
|
|
13847
13843
|
onMouseleave: (event) => {
|
|
13848
|
-
hasRefresh(false);
|
|
13849
13844
|
emit("row-mouseleave", record, index2, event);
|
|
13850
13845
|
}
|
|
13851
13846
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"patch": "npm version patch",
|
|
46
46
|
"deploy": "pnpm -v",
|
|
47
47
|
"build": "export NODE_OPTIONS=--max_old_space_size=8096&&vite build",
|
|
48
|
-
"build:less": "esno build/buildLess"
|
|
48
|
+
"build:less": "esno build/buildLess",
|
|
49
|
+
"update:version": "tsx ../../scripts/update-version.ts"
|
|
49
50
|
}
|
|
50
51
|
}
|