@aplus-frontend/ui 0.6.2 → 0.6.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/src/ap-action/item-popconfirm/index.vue.d.ts +4 -0
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +11 -10
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +4 -0
- package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
- package/theme/ap-form/ap-form-item.css +4 -0
- package/theme/ap-form/ap-form-item.less +4 -0
- package/theme/ap-form/index.css +4 -0
- package/theme/ap-form/search-form.css +4 -0
- package/theme/ap-grid/index.css +4 -0
- package/theme/ap-table/ap-table.css +4 -0
- package/theme/ap-table-modal/index.css +4 -0
- package/theme/editable-table/index.css +4 -0
- package/theme/index.css +4 -0
|
@@ -329,6 +329,10 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
329
329
|
type: BooleanConstructor;
|
|
330
330
|
default: boolean;
|
|
331
331
|
};
|
|
332
|
+
forceRender: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
332
336
|
}>>;
|
|
333
337
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
334
338
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, ref as d, createBlock as
|
|
1
|
+
import { defineComponent as C, ref as d, createBlock as m, openBlock as i, unref as e, withCtx as o, createVNode as t, normalizeClass as s, createElementVNode as g, createElementBlock as F, Fragment as _, renderList as B, resolveDynamicComponent as x, createTextVNode as v, toDisplayString as y } from "vue";
|
|
2
2
|
import { Popover as h, Tooltip as L, Button as u, Row as N, Col as S, Divider as w, Flex as D } from "@aplus-frontend/antdv";
|
|
3
3
|
import { IconApFilterOutlined as P } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../../config-provider/index.mjs";
|
|
@@ -13,11 +13,11 @@ const U = /* @__PURE__ */ C({
|
|
|
13
13
|
submitLoading: { type: Boolean }
|
|
14
14
|
},
|
|
15
15
|
setup(V) {
|
|
16
|
-
const k = d(), { e: a, b: f } = R("ap-form-search-form"), { t:
|
|
16
|
+
const k = d(), { e: a, b: f } = R("ap-form-search-form"), { t: c } = T(), l = d(!1);
|
|
17
17
|
function b(r) {
|
|
18
|
-
return r.closest(".ant-form") || document.body;
|
|
18
|
+
return (r == null ? void 0 : r.closest(".ant-form")) || document.body;
|
|
19
19
|
}
|
|
20
|
-
return (r, p) => (i(),
|
|
20
|
+
return (r, p) => (i(), m(e(h), {
|
|
21
21
|
open: l.value,
|
|
22
22
|
"onUpdate:open": p[1] || (p[1] = (n) => l.value = n),
|
|
23
23
|
"overlay-class-name": e(a)("popover"),
|
|
@@ -25,7 +25,8 @@ const U = /* @__PURE__ */ C({
|
|
|
25
25
|
placement: "bottom",
|
|
26
26
|
mask: "",
|
|
27
27
|
"mask-style": { backgroundColor: "transparent" },
|
|
28
|
-
"get-popup-container": b
|
|
28
|
+
"get-popup-container": b,
|
|
29
|
+
"force-render": !0
|
|
29
30
|
}, {
|
|
30
31
|
content: o(() => [
|
|
31
32
|
g("div", {
|
|
@@ -34,12 +35,12 @@ const U = /* @__PURE__ */ C({
|
|
|
34
35
|
}, [
|
|
35
36
|
t(e(N), { gutter: 8 }, {
|
|
36
37
|
default: o(() => [
|
|
37
|
-
(i(!0), F(_, null, B(r.config, (n) => (i(),
|
|
38
|
+
(i(!0), F(_, null, B(r.config, (n) => (i(), m(e(S), {
|
|
38
39
|
key: n.key,
|
|
39
40
|
span: 8
|
|
40
41
|
}, {
|
|
41
42
|
default: o(() => [
|
|
42
|
-
(i(),
|
|
43
|
+
(i(), m(x(n.node)))
|
|
43
44
|
]),
|
|
44
45
|
_: 2
|
|
45
46
|
}, 1024))), 128))
|
|
@@ -57,7 +58,7 @@ const U = /* @__PURE__ */ C({
|
|
|
57
58
|
onClick: p[0] || (p[0] = (n) => l.value = !1)
|
|
58
59
|
}, {
|
|
59
60
|
default: o(() => [
|
|
60
|
-
v(y(e(
|
|
61
|
+
v(y(e(c)("ap.common.cancelText")), 1)
|
|
61
62
|
]),
|
|
62
63
|
_: 1
|
|
63
64
|
}),
|
|
@@ -68,7 +69,7 @@ const U = /* @__PURE__ */ C({
|
|
|
68
69
|
onClick: r.onSubmit
|
|
69
70
|
}, {
|
|
70
71
|
default: o(() => [
|
|
71
|
-
v(y(e(
|
|
72
|
+
v(y(e(c)("ap.apForm.search.search")), 1)
|
|
72
73
|
]),
|
|
73
74
|
_: 1
|
|
74
75
|
}, 8, ["class", "loading", "onClick"])
|
|
@@ -79,7 +80,7 @@ const U = /* @__PURE__ */ C({
|
|
|
79
80
|
]),
|
|
80
81
|
default: o(() => [
|
|
81
82
|
t(e(L), {
|
|
82
|
-
title: e(
|
|
83
|
+
title: e(c)("ap.apForm.search.moreFilter"),
|
|
83
84
|
placement: "top"
|
|
84
85
|
}, {
|
|
85
86
|
default: o(() => [
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.6.
|
|
1
|
+
declare const _default: "0.6.4";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED
|
@@ -329,6 +329,10 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
|
|
|
329
329
|
type: BooleanConstructor;
|
|
330
330
|
default: boolean;
|
|
331
331
|
};
|
|
332
|
+
forceRender: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
332
336
|
}>>;
|
|
333
337
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
334
338
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),p=require("@aplus-frontend/icon");require("../../../config-provider/index.js");const f=require("../../../config-provider/hooks/use-namespace.js"),d=require("../../../config-provider/hooks/use-locale.js"),m=e.defineComponent({name:"ApFormSearchFormPopoverFilter",__name:"popover-filter",props:{config:{},onSubmit:{type:Function},submitLoading:{type:Boolean}},setup(g){const u=e.ref(),{e:n,b:c}=f.useNamespace("ap-form-search-form"),{t:i}=d.useLocale(),a=e.ref(!1);function s(
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),p=require("@aplus-frontend/icon");require("../../../config-provider/index.js");const f=require("../../../config-provider/hooks/use-namespace.js"),d=require("../../../config-provider/hooks/use-locale.js"),m=e.defineComponent({name:"ApFormSearchFormPopoverFilter",__name:"popover-filter",props:{config:{},onSubmit:{type:Function},submitLoading:{type:Boolean}},setup(g){const u=e.ref(),{e:n,b:c}=f.useNamespace("ap-form-search-form"),{t:i}=d.useLocale(),a=e.ref(!1);function s(r){return(r==null?void 0:r.closest(".ant-form"))||document.body}return(r,l)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:a.value,"onUpdate:open":l[1]||(l[1]=o=>a.value=o),"overlay-class-name":e.unref(n)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":s,"force-render":!0},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n)("popover-content")]),style:{paddingBottom:"4px",width:"825px"}},[e.createVNode(e.unref(t.Row),{gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.config,o=>(e.openBlock(),e.createBlock(e.unref(t.Col),{key:o.key,span:8},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.node)))]),_:2},1024))),128))]),_:1})],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:l[0]||(l[0]=o=>a.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(n)("popover-footer-confirm-btn")),type:"primary",loading:r.submitLoading,onClick:r.onSubmit},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.apForm.search.search")),1)]),_:1},8,["class","loading","onClick"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(i)("ap.apForm.search.moreFilter"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{ref_key:"triggerBtnRef",ref:u,class:e.normalizeClass([e.unref(c)("trigger-btn"),{[e.unref(c)("trigger-btn-active")]:a.value}])},{icon:e.withCtx(()=>[e.createVNode(e.unref(p.IconApFilterOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=m;
|
package/lib/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.6.
|
|
1
|
+
declare const _default: "0.6.4";
|
|
2
2
|
export default _default;
|
package/lib/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="0.6.
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="0.6.4";exports.default=e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"@aplus-frontend/hooks": "1.0.7"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@aplus-frontend/antdv": "^1.1.
|
|
73
|
+
"@aplus-frontend/antdv": "^1.1.10",
|
|
74
74
|
"@aplus-frontend/icon": "^1.2.6",
|
|
75
75
|
"@aplus-frontend/oss": "^1.1.2",
|
|
76
76
|
"vue": "^3.5.13",
|
|
77
77
|
"vxe-table": "4.11.29"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@aplus-frontend/antdv": "^1.1.
|
|
80
|
+
"@aplus-frontend/antdv": "^1.1.10",
|
|
81
81
|
"@aplus-frontend/icon": "^1.2.6",
|
|
82
82
|
"@aplus-frontend/oss": "^1.1.2",
|
|
83
83
|
"@types/sortablejs": "^1.15.8",
|
|
@@ -87,6 +87,10 @@
|
|
|
87
87
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
88
88
|
padding-right: 4px;
|
|
89
89
|
}
|
|
90
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
91
|
+
flex: 1 1 0;
|
|
92
|
+
min-width: 0;
|
|
93
|
+
}
|
|
90
94
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
91
95
|
padding-right: 12px;
|
|
92
96
|
height: 30px;
|
package/theme/ap-form/index.css
CHANGED
|
@@ -96,6 +96,10 @@
|
|
|
96
96
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
97
97
|
padding-right: 4px;
|
|
98
98
|
}
|
|
99
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
100
|
+
flex: 1 1 0;
|
|
101
|
+
min-width: 0;
|
|
102
|
+
}
|
|
99
103
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
100
104
|
padding-right: 12px;
|
|
101
105
|
height: 30px;
|
|
@@ -87,6 +87,10 @@
|
|
|
87
87
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
88
88
|
padding-right: 4px;
|
|
89
89
|
}
|
|
90
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
91
|
+
flex: 1 1 0;
|
|
92
|
+
min-width: 0;
|
|
93
|
+
}
|
|
90
94
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
91
95
|
padding-right: 12px;
|
|
92
96
|
height: 30px;
|
package/theme/ap-grid/index.css
CHANGED
|
@@ -96,6 +96,10 @@
|
|
|
96
96
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
97
97
|
padding-right: 4px;
|
|
98
98
|
}
|
|
99
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
100
|
+
flex: 1 1 0;
|
|
101
|
+
min-width: 0;
|
|
102
|
+
}
|
|
99
103
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
100
104
|
padding-right: 12px;
|
|
101
105
|
height: 30px;
|
|
@@ -289,6 +289,10 @@
|
|
|
289
289
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
290
290
|
padding-right: 4px;
|
|
291
291
|
}
|
|
292
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
293
|
+
flex: 1 1 0;
|
|
294
|
+
min-width: 0;
|
|
295
|
+
}
|
|
292
296
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
293
297
|
padding-right: 12px;
|
|
294
298
|
height: 30px;
|
|
@@ -289,6 +289,10 @@
|
|
|
289
289
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
290
290
|
padding-right: 4px;
|
|
291
291
|
}
|
|
292
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
293
|
+
flex: 1 1 0;
|
|
294
|
+
min-width: 0;
|
|
295
|
+
}
|
|
292
296
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
293
297
|
padding-right: 12px;
|
|
294
298
|
height: 30px;
|
|
@@ -96,6 +96,10 @@
|
|
|
96
96
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
97
97
|
padding-right: 4px;
|
|
98
98
|
}
|
|
99
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
100
|
+
flex: 1 1 0;
|
|
101
|
+
min-width: 0;
|
|
102
|
+
}
|
|
99
103
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
100
104
|
padding-right: 12px;
|
|
101
105
|
height: 30px;
|
package/theme/index.css
CHANGED
|
@@ -1115,6 +1115,10 @@
|
|
|
1115
1115
|
.aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
|
|
1116
1116
|
padding-right: 4px;
|
|
1117
1117
|
}
|
|
1118
|
+
.aplus-ap-form-item--bordered div.ant-form-item-control {
|
|
1119
|
+
flex: 1 1 0;
|
|
1120
|
+
min-width: 0;
|
|
1121
|
+
}
|
|
1118
1122
|
.aplus-ap-form-item--bordered .ant-form-item-label > label {
|
|
1119
1123
|
padding-right: 12px;
|
|
1120
1124
|
height: 30px;
|