@a2simcode/ui 0.0.131 → 0.0.132
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/dist/components/input-layer/src/input-layer.vue.d.ts +6 -0
- package/dist/simcode-ui.es.js +12 -3
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/meta/form-item.ts +1 -1
- package/docs/components/meta/input-layer.ts +30 -0
- package/docs/components/meta/title.ts +11 -0
- package/docs/examples/input-layer/basic.vue +17 -0
- package/docs/examples/rate/text.vue +6 -1
- package/docs/examples/table-panel/basic.vue +1 -0
- package/package.json +1 -1
|
@@ -53,6 +53,12 @@ export interface InputLayerProps {
|
|
|
53
53
|
buttonLabel?: string;
|
|
54
54
|
/** 按钮类型 */
|
|
55
55
|
buttonType?: 'default' | 'primary' | 'dashed' | 'text' | 'link';
|
|
56
|
+
/** 设置按钮形状 */
|
|
57
|
+
buttonShape?: 'default' | 'circle' | 'round';
|
|
58
|
+
/** 幽灵属性,使按钮背景透明 */
|
|
59
|
+
buttonGhost?: boolean;
|
|
60
|
+
/** 设置危险按钮 */
|
|
61
|
+
buttonDanger?: boolean;
|
|
56
62
|
/** 特定场合下使用 */
|
|
57
63
|
isSaveSelectData?: boolean;
|
|
58
64
|
/** 按钮组 */
|
package/dist/simcode-ui.es.js
CHANGED
|
@@ -6677,7 +6677,7 @@ var Ap = { class: "j-table-footer" }, jp = {
|
|
|
6677
6677
|
}), $;
|
|
6678
6678
|
}
|
|
6679
6679
|
return [];
|
|
6680
|
-
}, pt = ($) => o.rowKey ? o.rowKey.split(",").map((W) => $[W.trim()]).join("::") : "", Ut = ($) => {
|
|
6680
|
+
}, pt = ($) => o.editConfig.isRemoveBtn ? $._i : o.rowKey ? o.rowKey.split(",").map((W) => $[W.trim()]).join("::") : "", Ut = ($) => {
|
|
6681
6681
|
if (g)
|
|
6682
6682
|
if (dt.value || g.clearSelected(), o.rowKey) {
|
|
6683
6683
|
const W = new Set($.map(pt)), Q = "__checkState";
|
|
@@ -11705,7 +11705,7 @@ var Ap = { class: "j-table-footer" }, jp = {
|
|
|
11705
11705
|
At(() => {
|
|
11706
11706
|
l.value = o.searchFieldList;
|
|
11707
11707
|
});
|
|
11708
|
-
const u = L(() => o.columns.filter((v) => !v.children?.length).map((v) => ({
|
|
11708
|
+
const u = L(() => o.columns.filter((v) => !v.children?.length && !v.config?.isNotFilter).map((v) => ({
|
|
11709
11709
|
label: v.config?.label,
|
|
11710
11710
|
value: v.id,
|
|
11711
11711
|
dataType: v.config?.dataType,
|
|
@@ -13866,6 +13866,9 @@ var ab = /* @__PURE__ */ ge({
|
|
|
13866
13866
|
},
|
|
13867
13867
|
buttonLabel: {},
|
|
13868
13868
|
buttonType: {},
|
|
13869
|
+
buttonShape: {},
|
|
13870
|
+
buttonGhost: { type: Boolean },
|
|
13871
|
+
buttonDanger: { type: Boolean },
|
|
13869
13872
|
isSaveSelectData: {
|
|
13870
13873
|
type: Boolean,
|
|
13871
13874
|
default: !1
|
|
@@ -13936,12 +13939,18 @@ var ab = /* @__PURE__ */ ge({
|
|
|
13936
13939
|
size: e.size,
|
|
13937
13940
|
label: e.buttonLabel,
|
|
13938
13941
|
icon: e.icon,
|
|
13942
|
+
shape: e.buttonShape,
|
|
13943
|
+
ghost: e.buttonGhost,
|
|
13944
|
+
danger: e.buttonDanger,
|
|
13939
13945
|
onClick: u
|
|
13940
13946
|
}, null, 8, [
|
|
13941
13947
|
"type",
|
|
13942
13948
|
"size",
|
|
13943
13949
|
"label",
|
|
13944
|
-
"icon"
|
|
13950
|
+
"icon",
|
|
13951
|
+
"shape",
|
|
13952
|
+
"ghost",
|
|
13953
|
+
"danger"
|
|
13945
13954
|
])) : (k(), F(y, {
|
|
13946
13955
|
key: 0,
|
|
13947
13956
|
modelValue: s.value,
|