pro-design-vue 1.0.0-rc.4 → 1.0.0-rc.6
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/index.full.js +16 -23
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +6 -6
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +16 -23
- package/es/components/table/src/components/Body/Body.vue.mjs +7 -17
- package/es/components/table/src/components/Body/Body.vue.mjs.map +1 -1
- package/es/components/table/src/components/Body/Body.vue2.mjs.map +1 -1
- package/es/components/table/src/components/Form/Form.d.ts +3 -0
- package/es/components/table/src/components/Form/Form.mjs +6 -4
- package/es/components/table/src/components/Form/Form.mjs.map +1 -1
- package/es/components/table/src/components/Table.mjs +1 -0
- package/es/components/table/src/components/Table.mjs.map +1 -1
- package/es/components/table/src/components/interface.d.ts +1 -0
- package/es/components/table/src/components/interface.mjs.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/table/src/components/Body/Body.vue.js +7 -17
- package/lib/components/table/src/components/Body/Body.vue.js.map +1 -1
- package/lib/components/table/src/components/Body/Body.vue2.js.map +1 -1
- package/lib/components/table/src/components/Form/Form.d.ts +3 -0
- package/lib/components/table/src/components/Form/Form.js +6 -4
- package/lib/components/table/src/components/Form/Form.js.map +1 -1
- package/lib/components/table/src/components/Table.js +1 -0
- package/lib/components/table/src/components/Table.js.map +1 -1
- package/lib/components/table/src/components/interface.d.ts +1 -0
- package/lib/components/table/src/components/interface.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
package/dist/index.full.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Pro Design Vue v1.0.0-rc.
|
1
|
+
/*! Pro Design Vue v1.0.0-rc.6 */
|
2
2
|
|
3
3
|
(function (global, factory) {
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue')) :
|
@@ -16,7 +16,7 @@
|
|
16
16
|
const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
|
17
17
|
const DEFAULT_NAMESPACE = "pro";
|
18
18
|
|
19
|
-
const version$1 = "1.0.0-rc.
|
19
|
+
const version$1 = "1.0.0-rc.6";
|
20
20
|
|
21
21
|
const makeInstaller = (components = []) => {
|
22
22
|
const install = (app) => {
|
@@ -30823,8 +30823,9 @@
|
|
30823
30823
|
ref: "bodyRef",
|
30824
30824
|
class: vue.normalizeClass(_ctx.bodyClass),
|
30825
30825
|
style: vue.normalizeStyle(_ctx.bodyStyle),
|
30826
|
-
onDragstart: _cache[
|
30827
|
-
onKeydown: _cache[
|
30826
|
+
onDragstart: _cache[8] || (_cache[8] = (...args) => _ctx.handleDragStart && _ctx.handleDragStart(...args)),
|
30827
|
+
onKeydown: _cache[9] || (_cache[9] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args)),
|
30828
|
+
onResize: _cache[10] || (_cache[10] = (...args) => _ctx.handleBodyResize && _ctx.handleBodyResize(...args))
|
30828
30829
|
},
|
30829
30830
|
[
|
30830
30831
|
vue.createElementVNode("div", _hoisted_1$3, [
|
@@ -31134,24 +31135,13 @@
|
|
31134
31135
|
6
|
31135
31136
|
/* CLASS, STYLE */
|
31136
31137
|
),
|
31137
|
-
vue.
|
31138
|
-
"div",
|
31139
|
-
{
|
31140
|
-
style: vue.normalizeStyle(_ctx.measureDomStyle),
|
31141
|
-
onResize: _cache[6] || (_cache[6] = (...args) => _ctx.handleBodyResize && _ctx.handleBodyResize(...args))
|
31142
|
-
},
|
31143
|
-
null,
|
31144
|
-
36
|
31145
|
-
/* STYLE, NEED_HYDRATION */
|
31146
|
-
), [
|
31147
|
-
[_directive_resize]
|
31148
|
-
]),
|
31138
|
+
vue.createCommentVNode(' <div v-resize :style="measureDomStyle" @resize="handleBodyResize"></div> '),
|
31149
31139
|
vue.withDirectives(vue.createElementVNode(
|
31150
31140
|
"div",
|
31151
31141
|
{
|
31152
31142
|
class: vue.normalizeClass(`${_ctx.prefixCls}-body-scroll-measure`),
|
31153
31143
|
style: vue.normalizeStyle(`min-width: ${_ctx.bodyInnerWidth}px`),
|
31154
|
-
onResizewidth: _cache[
|
31144
|
+
onResizewidth: _cache[6] || (_cache[6] = (...args) => _ctx.handleBodyScrollResize && _ctx.handleBodyScrollResize(...args))
|
31155
31145
|
},
|
31156
31146
|
null,
|
31157
31147
|
38
|
@@ -31164,7 +31154,7 @@
|
|
31164
31154
|
{
|
31165
31155
|
class: vue.normalizeClass(`${_ctx.prefixCls}-body-inner-measure`),
|
31166
31156
|
style: vue.normalizeStyle(`min-width: ${_ctx.scrollX}px`),
|
31167
|
-
onResizewidth: _cache[
|
31157
|
+
onResizewidth: _cache[7] || (_cache[7] = (...args) => _ctx.handleBodyInnerResize && _ctx.handleBodyInnerResize(...args))
|
31168
31158
|
},
|
31169
31159
|
null,
|
31170
31160
|
38
|
@@ -31180,7 +31170,7 @@
|
|
31180
31170
|
38
|
31181
31171
|
/* CLASS, STYLE, NEED_HYDRATION */
|
31182
31172
|
)), [
|
31183
|
-
[_directive_resize
|
31173
|
+
[_directive_resize]
|
31184
31174
|
]),
|
31185
31175
|
vue.createVNode(_component_RenderSlot, null, {
|
31186
31176
|
default: vue.withCtx(() => [
|
@@ -33402,6 +33392,7 @@
|
|
33402
33392
|
},
|
33403
33393
|
loading: Boolean,
|
33404
33394
|
manual: Boolean,
|
33395
|
+
tableShowCard: Boolean,
|
33405
33396
|
beforeSearchSubmit: {
|
33406
33397
|
type: Function,
|
33407
33398
|
default: (searchParams) => searchParams
|
@@ -33456,14 +33447,15 @@
|
|
33456
33447
|
(_e = (_d = cardProps.value) == null ? void 0 : _d.onTabChange) == null ? void 0 : _e.call(_d, key);
|
33457
33448
|
};
|
33458
33449
|
return () => {
|
33459
|
-
var _a2, _b2, _c2;
|
33450
|
+
var _a2, _b2, _c2, _d;
|
33460
33451
|
const searchDom = vue.createVNode(ProQueryFilter, vue.mergeProps({
|
33461
33452
|
"class": `${props.prefixCls}-form`
|
33462
33453
|
}, omit(props.search || {}, ["cardProps", "tabName"]), {
|
33463
33454
|
"items": props.items,
|
33464
33455
|
"loading": props.loading,
|
33465
33456
|
"style": {
|
33466
|
-
marginBlockEnd: ((_a2 = props.search) == null ? void 0 : _a2.cardProps) !== false ? 0 : "
|
33457
|
+
marginBlockEnd: ((_a2 = props.search) == null ? void 0 : _a2.cardProps) !== false && props.tableShowCard ? 0 : "30px",
|
33458
|
+
...(_b2 = props.search) == null ? void 0 : _b2.style
|
33467
33459
|
},
|
33468
33460
|
"onReset": props.onReset,
|
33469
33461
|
"onFinish": (values) => {
|
@@ -33480,7 +33472,7 @@
|
|
33480
33472
|
submit(values, true);
|
33481
33473
|
}
|
33482
33474
|
}), null);
|
33483
|
-
if (((
|
33475
|
+
if (((_c2 = props.search) == null ? void 0 : _c2.cardProps) !== false && props.tableShowCard) {
|
33484
33476
|
return vue.createVNode(antDesignVue.Card, vue.mergeProps({
|
33485
33477
|
"class": `${props.prefixCls}-search`,
|
33486
33478
|
"activeTabKey": activeTabKey.value,
|
@@ -33488,7 +33480,7 @@
|
|
33488
33480
|
"style": {
|
33489
33481
|
marginBlockEnd: "16px"
|
33490
33482
|
}
|
33491
|
-
}, omit((
|
33483
|
+
}, omit((_d = cardProps.value) != null ? _d : {}, ["onTabChange", "activeTabKey"]), {
|
33492
33484
|
"onTabChange": onTabChange
|
33493
33485
|
}), _isSlot$3(searchDom) ? searchDom : {
|
33494
33486
|
default: () => [searchDom]
|
@@ -33841,6 +33833,7 @@
|
|
33841
33833
|
"items": formItems.value,
|
33842
33834
|
"cardBordered": props.cardBordered,
|
33843
33835
|
"search": props.search,
|
33836
|
+
"tableShowCard": props.cardProps !== false,
|
33844
33837
|
"loading": formSubmitLoading.value,
|
33845
33838
|
"beforeSearchSubmit": props.beforeSearchSubmit,
|
33846
33839
|
"manual": props.manual,
|