@wlydfe/pro-ui 0.2.10 → 0.2.12
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/components/page/src/index.vue2.mjs +69 -65
- package/es/components/table/src/index.vue2.mjs +1 -1
- package/es/constants/page.mjs +1 -1
- package/es/index.css +14 -14
- package/index.js +72 -68
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +72 -68
- package/lib/components/page/src/index.vue2.js +69 -65
- package/lib/components/table/src/index.vue2.js +1 -1
- package/lib/constants/page.js +1 -1
- package/lib/{display-item.css → index.css} +13 -13
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -222,72 +222,76 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
222
222
|
key: _ctx.searchSlot,
|
|
223
223
|
class: "plus-page__table_wrapper"
|
|
224
224
|
}, {
|
|
225
|
-
default: withCtx(() =>
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
key: "2"
|
|
266
|
-
} : void 0,
|
|
267
|
-
_ctx.$slots["table-append"] ? {
|
|
268
|
-
name: "append",
|
|
269
|
-
fn: withCtx(() => [
|
|
270
|
-
renderSlot(_ctx.$slots, "table-append")
|
|
271
|
-
]),
|
|
272
|
-
key: "3"
|
|
273
|
-
} : void 0,
|
|
274
|
-
_ctx.$slots["table-empty"] ? {
|
|
275
|
-
name: "empty",
|
|
276
|
-
fn: withCtx(() => [
|
|
277
|
-
renderSlot(_ctx.$slots, "table-empty")
|
|
278
|
-
]),
|
|
279
|
-
key: "4"
|
|
280
|
-
} : void 0,
|
|
281
|
-
renderList(tableSlots.value, (_, key) => {
|
|
282
|
-
return {
|
|
283
|
-
name: key,
|
|
225
|
+
default: withCtx(() => {
|
|
226
|
+
var _a2, _b;
|
|
227
|
+
return [
|
|
228
|
+
createVNode(unref(PlusTable), mergeProps({
|
|
229
|
+
ref_key: "plusTableInstance",
|
|
230
|
+
ref: plusTableInstance,
|
|
231
|
+
"title-bar": { refresh: true }
|
|
232
|
+
}, _ctx.table, {
|
|
233
|
+
adaptive: (_b = (_a2 = _ctx.table) == null ? void 0 : _a2.adaptive) != null ? _b : true,
|
|
234
|
+
"table-data": unref(tableData),
|
|
235
|
+
"loading-status": unref(loadingStatus),
|
|
236
|
+
columns: processedColumns.value,
|
|
237
|
+
pagination: _ctx.pagination === false ? void 0 : {
|
|
238
|
+
..._ctx.pagination,
|
|
239
|
+
total: unref(total),
|
|
240
|
+
modelValue: unref(pageInfo),
|
|
241
|
+
pageSizeList: computedDefaultPageSizeList.value
|
|
242
|
+
},
|
|
243
|
+
onPaginationChange: handlePaginationChange,
|
|
244
|
+
onRefresh: handleRefresh
|
|
245
|
+
}), createSlots({
|
|
246
|
+
_: 2
|
|
247
|
+
/* DYNAMIC */
|
|
248
|
+
}, [
|
|
249
|
+
_ctx.$slots["table-title"] ? {
|
|
250
|
+
name: "title",
|
|
251
|
+
fn: withCtx(() => [
|
|
252
|
+
renderSlot(_ctx.$slots, "table-title")
|
|
253
|
+
]),
|
|
254
|
+
key: "0"
|
|
255
|
+
} : void 0,
|
|
256
|
+
_ctx.$slots["table-toolbar"] ? {
|
|
257
|
+
name: "toolbar",
|
|
258
|
+
fn: withCtx(() => [
|
|
259
|
+
renderSlot(_ctx.$slots, "table-toolbar")
|
|
260
|
+
]),
|
|
261
|
+
key: "1"
|
|
262
|
+
} : void 0,
|
|
263
|
+
_ctx.$slots["table-expand"] ? {
|
|
264
|
+
name: "expand",
|
|
284
265
|
fn: withCtx((data) => [
|
|
285
|
-
renderSlot(_ctx.$slots,
|
|
286
|
-
])
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
266
|
+
renderSlot(_ctx.$slots, "table-expand", normalizeProps(guardReactiveProps(data)))
|
|
267
|
+
]),
|
|
268
|
+
key: "2"
|
|
269
|
+
} : void 0,
|
|
270
|
+
_ctx.$slots["table-append"] ? {
|
|
271
|
+
name: "append",
|
|
272
|
+
fn: withCtx(() => [
|
|
273
|
+
renderSlot(_ctx.$slots, "table-append")
|
|
274
|
+
]),
|
|
275
|
+
key: "3"
|
|
276
|
+
} : void 0,
|
|
277
|
+
_ctx.$slots["table-empty"] ? {
|
|
278
|
+
name: "empty",
|
|
279
|
+
fn: withCtx(() => [
|
|
280
|
+
renderSlot(_ctx.$slots, "table-empty")
|
|
281
|
+
]),
|
|
282
|
+
key: "4"
|
|
283
|
+
} : void 0,
|
|
284
|
+
renderList(tableSlots.value, (_, key) => {
|
|
285
|
+
return {
|
|
286
|
+
name: key,
|
|
287
|
+
fn: withCtx((data) => [
|
|
288
|
+
renderSlot(_ctx.$slots, key, normalizeProps(guardReactiveProps(data)))
|
|
289
|
+
])
|
|
290
|
+
};
|
|
291
|
+
})
|
|
292
|
+
]), 1040, ["adaptive", "table-data", "loading-status", "columns", "pagination"])
|
|
293
|
+
];
|
|
294
|
+
}),
|
|
291
295
|
_: 3
|
|
292
296
|
/* FORWARDED */
|
|
293
297
|
}))
|
|
@@ -54,7 +54,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
expandTableColumnProps: { default: () => ({}) },
|
|
55
55
|
indexContentStyle: { type: [Object, Function], default: () => ({}) },
|
|
56
56
|
editable: { type: [Boolean, String], default: false },
|
|
57
|
-
adaptive: { type: [Boolean, Object], default:
|
|
57
|
+
adaptive: { type: [Boolean, Object], default: false },
|
|
58
58
|
filterTableHeaderOverflowLabelLength: {}
|
|
59
59
|
},
|
|
60
60
|
emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh", "edited", "cell-click", "cell-dblclick", "filterTableHeader", "radioChange"],
|
package/es/constants/page.mjs
CHANGED
package/es/index.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.plus-
|
|
1
|
+
.plus-dialog .plus-dialog-footer{align-items:center;display:flex}
|
|
2
|
+
.plus-drawer-form .el-drawer__header{border-bottom:1px solid var(--el-border-color);margin-bottom:0;padding-bottom:calc(var(--el-drawer-padding-primary)/2);padding-top:calc(var(--el-drawer-padding-primary)/2)}.plus-drawer-form .el-drawer__footer{border-top:1px solid var(--el-border-color);padding-bottom:calc(var(--el-drawer-padding-primary)/2)}
|
|
3
|
+
|
|
2
4
|
.plus-date-picker{align-items:center;border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);display:flex;flex-wrap:nowrap;max-width:100%;width:-moz-fit-content;width:fit-content}.plus-date-picker:hover{border-color:var(--el-border-color-hover)}.plus-date-picker.is-focus{border-color:var(--el-color-primary)}.plus-date-picker.is-disabled{background-color:var(--el-disabled-bg-color)}.plus-date-picker.is-disabled:hover{border-color:var(--el-border-color)}.plus-date-picker .plus-date-picker__middle{color:var(--el-text-color-placeholder)}.plus-date-picker .plus-date-picker__start{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__start.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__start .el-input__wrapper{border:none;box-shadow:none}.plus-date-picker .el-input__wrapper{width:100%}.plus-date-picker .el-input__wrapper:hover{box-shadow:none}.plus-date-picker .el-input__wrapper.is-focus{box-shadow:none}.plus-date-picker .plus-date-picker__end{flex:1;font-size:14px}.plus-date-picker .plus-date-picker__end.is-disabled .el-input__wrapper{box-shadow:none}.plus-date-picker .plus-date-picker__end .el-input__wrapper{border:none;box-shadow:none}.el-form-item.is-error .plus-date-picker{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-date-picker .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-date-picker .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-date-picker .el-input__wrapper:hover{box-shadow:none}
|
|
5
|
+
.plus-check-card-group{display:flex;flex-wrap:wrap}.plus-check-card-group .plus-check-card{margin-bottom:16px;margin-right:16px}
|
|
6
|
+
.plus-description .plus-description__name{word-wrap:break-word;max-width:200px}.plus-description .plus-description__label{min-width:80px}.plus-description .plus-description__label.is-required:before{color:var(--el-color-danger);content:"*";margin-right:4px}.plus-description.no-border .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:0}.plus-description.no-border .el-descriptions__body .el-descriptions__label.el-descriptions__cell.is-bordered-label{background-color:var(--el-fill-color-blank)}
|
|
7
|
+
.plus-form-item{width:100%}.plus-form-item .plus-form-item__label{align-items:center;display:inline-flex}.plus-form-item .plus-form-item__label .plus-table-column__label__icon{margin-left:2px}.plus-form-item .plus-form-item-field,.plus-form-item .plus-form-item-field.el-date-editor{width:100%}
|
|
8
|
+
.plus-input-tag{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;display:flex;flex-wrap:wrap;max-width:100%;padding:1px 2px;width:-moz-fit-content;width:fit-content}.plus-input-tag:hover{border-color:var(--el-border-color-hover)}.plus-input-tag.is-focus{border-color:var(--el-color-primary)}.plus-input-tag.is-disabled{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.plus-input-tag.is-disabled:hover{border-color:var(--el-border-color)}.plus-input-tag.is-disabled .el-tag__close{cursor:not-allowed}.plus-input-tag.is-disabled .el-tag__close:hover{background-color:transparent;color:var(--el-tag-hover-color)}.plus-input-tag .plus-input-tag__tag{margin-bottom:1px;margin-right:4px;margin-top:1px}.plus-input-tag .plus-input-tag__input{box-sizing:border-box;flex:1;min-width:85px;padding:0}.plus-input-tag .plus-input-tag__input .el-input__wrapper{box-shadow:none;box-sizing:border-box;padding:0 4px}.plus-input-tag .plus-input-tag__input .el-input__inner{height:24px;line-height:24px}.plus-input-tag .el-input.is-disabled .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-input-tag .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-input-tag .el-input__wrapper:hover{box-shadow:none}
|
|
9
|
+
.plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
|
|
3
10
|
.plus-display-item__edit-icon{margin-left:8px}.plus-display-item__image{cursor:pointer;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:30px}.plus-display-item__icon__copy{-webkit-margin-start:4px;color:var(--el-color-primary);cursor:pointer;margin-inline-start:4px;outline:none;text-decoration:none;transition:color .3s;vertical-align:sub}.plus-display-item__pre{background-color:var(--el-color-primary-light-9);border-radius:3px;font-size:85%;line-height:1.45;overflow:auto;padding:0;width:unset}.plus-display-item__badge.is-list .plus-display-item__badge__item+.plus-display-item__badge__item{padding-left:8px}.plus-display-item__badge .plus-display-item__badge__dot{border-radius:50%;display:inline-block;height:6px;position:relative;top:-1px;vertical-align:middle;width:6px}.plus-display-item__badge .plus-display-item__badge__dot--primary{background-color:var(--el-color-primary)}.plus-display-item__badge .plus-display-item__badge__dot--success{background-color:var(--el-color-success)}.plus-display-item__badge .plus-display-item__badge__dot--info{background-color:var(--el-color-info)}.plus-display-item__badge .plus-display-item__badge__dot--warning{background-color:var(--el-color-warning)}.plus-display-item__badge .plus-display-item__badge__dot--danger{background-color:var(--el-color-danger)}.plus-display-item__form .plus-form-item{margin-bottom:0}.plus-display-item__link{max-width:100%}.plus-display-item__link .el-link__inner{display:inline-block;width:100%}
|
|
11
|
+
:root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-header{align-items:center;border-bottom:1px solid var(--el-border-color);display:flex;justify-content:space-around}.plus-header.is-fixed{left:0;position:fixed;top:0;width:100%}.plus-header .plus-header__left{align-items:center;display:flex}.plus-header .plus-header__left .plus-header__logo{height:28px}.plus-header .plus-header__left .plus-header__title{color:var(--el-text-color-regular);font-size:18px;font-weight:600;margin:0 0 0 12px;padding:0}.plus-header .plus-header__placeholder{flex:1 1 0%}.plus-header .plus-header__right{align-items:center;display:flex}.plus-header .plus-header__right .plus-header__dropdown-area{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-header .plus-header__right .plus-header__avatar{border-radius:50%;height:24px;margin-right:4px;width:24px}.plus-header-placeholder{height:var(--plus-header-height);width:100%}
|
|
12
|
+
.plus-check-card{border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;display:flex;overflow:hidden;padding-block:16px;padding-inline:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-check-card--large{width:440px}.plus-check-card--default{width:320px}.plus-check-card--small{width:200px}.plus-check-card--checked{background-color:rgba(var(--el-color-primary-rgb),.1);border-color:var(--el-color-primary);position:relative}.plus-check-card--checked:after{-webkit-border-after:10px solid transparent;-webkit-border-start:10px solid transparent;border:10px solid var(--el-color-primary);border-block-end:10px solid transparent;border-inline-start:10px solid transparent;border-start-end-radius:6px;content:"";height:0;inset-block-start:2px;inset-inline-end:2px;position:absolute;width:0}.plus-check-card--disabled{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);cursor:not-allowed}.plus-check-card--disabled:after{border-right-color:var(--el-color-info-light-5);border-top-color:var(--el-color-info-light-5)}.plus-check-card .plus-check-card__avatar-wrapper{-webkit-padding-end:8px;padding-inline-end:8px}.plus-check-card .plus-check-card__right-content{overflow:hidden;width:100%}.plus-check-card .plus-check-card__title{-webkit-margin-after:4px;align-items:center;color:var(--el-text-color-primary);display:flex;justify-content:space-between;margin-block-end:4px;width:100%}.plus-check-card .plus-check-card__title-left{align-items:center;display:flex}.plus-check-card .plus-check-card__title-right{align-items:center;display:flex;vertical-align:middle}.plus-check-card .plus-check-card__description{color:var(--el-text-color-regular);width:100%;word-break:break-all}
|
|
13
|
+
.plus-page .plus-page__table_wrapper{margin-top:20px}
|
|
4
14
|
|
|
5
|
-
.plus-drawer-form .el-drawer__header{border-bottom:1px solid var(--el-border-color);margin-bottom:0;padding-bottom:calc(var(--el-drawer-padding-primary)/2);padding-top:calc(var(--el-drawer-padding-primary)/2)}.plus-drawer-form .el-drawer__footer{border-top:1px solid var(--el-border-color);padding-bottom:calc(var(--el-drawer-padding-primary)/2)}
|
|
6
|
-
.plus-breadcrumb{margin-bottom:8px}.plus-breadcrumb.no-data{margin-bottom:0}
|
|
7
15
|
:root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-layout{height:100vh;overflow:hidden}.plus-layout.el-container{flex-direction:column}.plus-layout .plus-sidebar{height:calc(100vh - var(--plus-header-height));min-width:var(--plus-sidebar-min-width)}.plus-layout .plus-layout-main{flex:1;height:calc(100vh - var(--plus-header-height));width:calc(100% - var(--plus-sidebar-width))}.plus-layout.collapse .plus-layout-main{width:calc(100% - var(--plus-sidebar-min-width))}.plus-layout .plus-layout-content{padding:0}
|
|
8
|
-
:root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-header{align-items:center;border-bottom:1px solid var(--el-border-color);display:flex;justify-content:space-around}.plus-header.is-fixed{left:0;position:fixed;top:0;width:100%}.plus-header .plus-header__left{align-items:center;display:flex}.plus-header .plus-header__left .plus-header__logo{height:28px}.plus-header .plus-header__left .plus-header__title{color:var(--el-text-color-regular);font-size:18px;font-weight:600;margin:0 0 0 12px;padding:0}.plus-header .plus-header__placeholder{flex:1 1 0%}.plus-header .plus-header__right{align-items:center;display:flex}.plus-header .plus-header__right .plus-header__dropdown-area{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-header .plus-header__right .plus-header__avatar{border-radius:50%;height:24px;margin-right:4px;width:24px}.plus-header-placeholder{height:var(--plus-header-height);width:100%}
|
|
9
|
-
.plus-input-tag{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;display:flex;flex-wrap:wrap;max-width:100%;padding:1px 2px;width:-moz-fit-content;width:fit-content}.plus-input-tag:hover{border-color:var(--el-border-color-hover)}.plus-input-tag.is-focus{border-color:var(--el-color-primary)}.plus-input-tag.is-disabled{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.plus-input-tag.is-disabled:hover{border-color:var(--el-border-color)}.plus-input-tag.is-disabled .el-tag__close{cursor:not-allowed}.plus-input-tag.is-disabled .el-tag__close:hover{background-color:transparent;color:var(--el-tag-hover-color)}.plus-input-tag .plus-input-tag__tag{margin-bottom:1px;margin-right:4px;margin-top:1px}.plus-input-tag .plus-input-tag__input{box-sizing:border-box;flex:1;min-width:85px;padding:0}.plus-input-tag .plus-input-tag__input .el-input__wrapper{box-shadow:none;box-sizing:border-box;padding:0 4px}.plus-input-tag .plus-input-tag__input .el-input__inner{height:24px;line-height:24px}.plus-input-tag .el-input.is-disabled .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag{border-color:var(--el-color-danger)}.el-form-item.is-error .plus-input-tag .el-input__wrapper{box-shadow:none}.el-form-item.is-error .plus-input-tag .el-input__wrapper.is-focus{box-shadow:none!important}.el-form-item.is-error .plus-input-tag .el-input__wrapper:hover{box-shadow:none}
|
|
10
|
-
.plus-check-card-group{display:flex;flex-wrap:wrap}.plus-check-card-group .plus-check-card{margin-bottom:16px;margin-right:16px}
|
|
11
16
|
.plus-form.no-has-label+.el-form-item__label{padding:0;width:0}.plus-form .plus-form__footer{display:flex;justify-content:flex-end}.plus-form .plus-form__group__item{margin-bottom:20px}.plus-form .plus-form__group__item .plus-form__group__item__icon{align-items:center;display:flex}.plus-form .plus-form__group__item .plus-form__group__item__icon .el-icon{margin-right:5px}.plus-form .plus-form-item-extra{color:var(--el-text-color-placeholder);font-size:var(--el-font-size-base);margin-bottom:18px}
|
|
12
|
-
.plus-check-card{border:1px solid var(--el-border-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;display:flex;overflow:hidden;padding-block:16px;padding-inline:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-check-card--large{width:440px}.plus-check-card--default{width:320px}.plus-check-card--small{width:200px}.plus-check-card--checked{background-color:rgba(var(--el-color-primary-rgb),.1);border-color:var(--el-color-primary);position:relative}.plus-check-card--checked:after{-webkit-border-after:10px solid transparent;-webkit-border-start:10px solid transparent;border:10px solid var(--el-color-primary);border-block-end:10px solid transparent;border-inline-start:10px solid transparent;border-start-end-radius:6px;content:"";height:0;inset-block-start:2px;inset-inline-end:2px;position:absolute;width:0}.plus-check-card--disabled{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);cursor:not-allowed}.plus-check-card--disabled:after{border-right-color:var(--el-color-info-light-5);border-top-color:var(--el-color-info-light-5)}.plus-check-card .plus-check-card__avatar-wrapper{-webkit-padding-end:8px;padding-inline-end:8px}.plus-check-card .plus-check-card__right-content{overflow:hidden;width:100%}.plus-check-card .plus-check-card__title{-webkit-margin-after:4px;align-items:center;color:var(--el-text-color-primary);display:flex;justify-content:space-between;margin-block-end:4px;width:100%}.plus-check-card .plus-check-card__title-left{align-items:center;display:flex}.plus-check-card .plus-check-card__title-right{align-items:center;display:flex;vertical-align:middle}.plus-check-card .plus-check-card__description{color:var(--el-text-color-regular);width:100%;word-break:break-all}
|
|
13
|
-
.plus-search .plus-form__row{row-gap:18px;width:100%}.plus-search.el-form--inline .el-form-item{margin-bottom:0;margin-right:0}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__label{opacity:0;visibility:hidden}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__content{justify-content:flex-end}.plus-search .plus-search__unfold{margin-left:12px}.plus-search .plus-search__button__wrapper{align-items:flex-start;display:flex;flex:auto;justify-content:flex-end;margin-bottom:0;max-width:100%}.plus-search .plus-search__button__wrapper.el-form-item{margin-right:10px}.plus-search .plus-search__button__wrapper .el-form-item__content{flex:none;flex-wrap:nowrap}
|
|
14
17
|
.plus-pagination{align-items:center;display:flex;justify-content:space-between;padding:16px 0}
|
|
15
|
-
.plus-
|
|
18
|
+
.plus-search .plus-form__row{row-gap:18px;width:100%}.plus-search.el-form--inline .el-form-item{margin-bottom:0;margin-right:0}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__label{opacity:0;visibility:hidden}.plus-search.el-form--label-top .plus-search__button__wrapper .el-form-item__content{justify-content:flex-end}.plus-search .plus-search__unfold{margin-left:12px}.plus-search .plus-search__button__wrapper{align-items:flex-start;display:flex;flex:auto;justify-content:flex-end;margin-bottom:0;max-width:100%}.plus-search .plus-search__button__wrapper.el-form-item{margin-right:10px}.plus-search .plus-search__button__wrapper .el-form-item__content{flex:none;flex-wrap:nowrap}
|
|
16
19
|
|
|
20
|
+
.plus-steps-form .el-steps{margin-bottom:20px}.plus-steps-form-vertical{display:flex}.plus-steps-form-vertical .el-steps--vertical{margin-right:20px}.plus-steps-form-vertical .plus-form{flex:1}
|
|
17
21
|
:root{--plus-header-height:60px;--plus-sidebar-collapse-height:60px;--plus-sidebar-width:200px;--plus-sidebar-min-width:64px}.plus-sidebar{height:100%}.plus-sidebar.is-vertical{min-height:400px}.plus-sidebar.is-vertical:not(.el-menu--collapse){flex-shrink:0;width:var(--plus-sidebar-width)}.plus-sidebar.is-vertical.el-menu--collapse .el-menu-item{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .el-scrollbar__wrap{overflow-x:hidden}.plus-sidebar.is-vertical.el-menu--collapse .plus-sidebar__item-title{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.plus-sidebar.is-vertical.el-menu--collapse .el-sub-menu__icon-arrow{display:none}.plus-sidebar.is-vertical .el-scrollbar{height:calc(100% - var(--plus-sidebar-collapse-height))}.plus-sidebar.is-vertical .plus-sidebar__collapse{align-items:flex-start;background-color:var(--el-menu-bg-color);bottom:0;box-sizing:border-box;height:var(--plus-sidebar-collapse-height);left:0;position:absolute;width:calc(var(--plus-sidebar-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-collapse{width:calc(var(--plus-sidebar-min-width) - 2px)}.plus-sidebar.is-vertical .plus-sidebar__collapse.is-active{background-color:var(--el-menu-bg-color)}.plus-sidebar.is-vertical .plus-sidebar__collapse [class*=-icon]{cursor:pointer;font-size:20px;margin-top:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-sidebar.is-horizontal,.plus-sidebar.is-horizontal .el-scrollbar,.plus-sidebar.is-horizontal .el-scrollbar__wrap{width:100%}.plus-sidebar.is-horizontal .el-scrollbar__view{display:flex;flex-wrap:nowrap;height:100%;width:100%}.plus-sidebar .plus-sidebar__item-title{-webkit-user-select:none;-moz-user-select:none;user-select:none}
|
|
18
|
-
|
|
19
|
-
.plus-table .plus-table-column .plus-table-column__header .plus-table-column__header__icon{margin-left:2px;margin-top:-2px;vertical-align:middle}.plus-table .plus-table-action-bar.is-center .cell{justify-content:center}.plus-table .plus-table-action-bar.is-right .cell{justify-content:flex-end}.plus-table .plus-table-action-bar.el-table-fixed-column--right{background-color:var(--el-bg-color)}.plus-table .plus-table-action-bar .cell{align-items:center;display:flex}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown__link{cursor:pointer;display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-table .plus-table-action-bar .plus-table-action-bar__more-text{margin-right:2px}.plus-table .plus-table-action-bar .plus-table-action-bar__column__link{margin-right:10px}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown{cursor:pointer;margin-left:12px;vertical-align:baseline}.plus-table .plus-table-action-bar .el-link+.el-link{margin-left:12px}.plus-table .plus-table-action-bar .el-icon{cursor:pointer}.plus-table .plus-table-action-bar .el-icon+.el-icon{margin-left:12px}.plus-table .plus-table-column-drag-sort .plus-table-column-drag-icon{box-sizing:border-box;cursor:move;font-size:18px;padding:4px}.plus-table .plus-table-column-index .plus-table-index-column{align-items:center;display:inline-flex;height:20px;justify-content:center;white-space:nowrap;width:20px;word-break:keep-all}.plus-table .plus-table-column-index .cell .plus-table-column-index__content{align-items:center;display:flex;justify-content:center;overflow:hidden}.plus-table .plus-table-title-bar{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.plus-table .plus-table-title-bar__toolbar{align-items:center;display:flex}.plus-table .el-popper{max-width:200px}.plus-table-title-bar__toolbar__density{align-items:center;display:flex;flex-direction:column}.plus-table-title-bar__toolbar__density .el-button{margin-top:10px;width:80px}.plus-table-title-bar__toolbar__density .el-button+.el-button{margin-left:0}.plus-table-title-bar__toolbar__icon{color:var(--el-text-color-regular);cursor:pointer;margin-left:10px;vertical-align:middle}.plus-table-title-bar__toolbar__checkbox__item{margin-left:6px}.plus-table-checkbox-item{align-items:center;display:flex;margin-left:20px}.plus-table-checkbox-handle{cursor:move;font-size:18px}.plus-table-ghost-class{background-color:#fff;border:1px dashed var(--el-color-primary);padding:0 5px}.plus-table-column__edit{cursor:pointer}.plus-table-checkbox-checkAll{display:flex;justify-content:space-between}
|
|
20
|
-
.plus-page .plus-page__table_wrapper{margin-top:20px}
|
|
21
|
-
.plus-form-item{width:100%}.plus-form-item .plus-form-item__label{align-items:center;display:inline-flex}.plus-form-item .plus-form-item__label .plus-table-column__label__icon{margin-left:2px}.plus-form-item .plus-form-item-field,.plus-form-item .plus-form-item-field.el-date-editor{width:100%}
|
|
22
|
-
.plus-steps-form .el-steps{margin-bottom:20px}.plus-steps-form-vertical{display:flex}.plus-steps-form-vertical .el-steps--vertical{margin-right:20px}.plus-steps-form-vertical .plus-form{flex:1}
|
|
22
|
+
.plus-table .plus-table-column .plus-table-column__header .plus-table-column__header__icon{margin-left:2px;margin-top:-2px;vertical-align:middle}.plus-table .plus-table-action-bar.is-center .cell{justify-content:center}.plus-table .plus-table-action-bar.is-right .cell{justify-content:flex-end}.plus-table .plus-table-action-bar.el-table-fixed-column--right{background-color:var(--el-bg-color)}.plus-table .plus-table-action-bar .cell{align-items:center;display:flex}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown__link{cursor:pointer;display:inline-flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.plus-table .plus-table-action-bar .plus-table-action-bar__more-text{margin-right:2px}.plus-table .plus-table-action-bar .plus-table-action-bar__column__link{margin-right:10px}.plus-table .plus-table-action-bar .plus-table-action-bar__dropdown{cursor:pointer;margin-left:12px;vertical-align:baseline}.plus-table .plus-table-action-bar .el-link+.el-link{margin-left:12px}.plus-table .plus-table-action-bar .el-icon{cursor:pointer}.plus-table .plus-table-action-bar .el-icon+.el-icon{margin-left:12px}.plus-table .plus-table-column-drag-sort .plus-table-column-drag-icon{box-sizing:border-box;cursor:move;font-size:18px;padding:4px}.plus-table .plus-table-column-index .plus-table-index-column{align-items:center;display:inline-flex;height:20px;justify-content:center;white-space:nowrap;width:20px;word-break:keep-all}.plus-table .plus-table-column-index .cell .plus-table-column-index__content{align-items:center;display:flex;justify-content:center;overflow:hidden}.plus-table .plus-table-title-bar{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.plus-table .plus-table-title-bar__toolbar{align-items:center;display:flex}.plus-table .el-popper{max-width:200px}.plus-table-title-bar__toolbar__density{align-items:center;display:flex;flex-direction:column}.plus-table-title-bar__toolbar__density .el-button{margin-top:10px;width:80px}.plus-table-title-bar__toolbar__density .el-button+.el-button{margin-left:0}.plus-table-title-bar__toolbar__icon{color:var(--el-text-color-regular);cursor:pointer;margin-left:10px;vertical-align:middle}.plus-table-title-bar__toolbar__checkbox__item{margin-left:6px}.plus-table-checkbox-item{align-items:center;display:flex;margin-left:20px}.plus-table-checkbox-handle{cursor:move;font-size:18px}.plus-table-ghost-class{background-color:#fff;border:1px dashed var(--el-color-primary);padding:0 5px}.plus-table-column__edit{cursor:pointer}.plus-table-checkbox-checkAll{display:flex;justify-content:space-between}
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @wlydfe/pro-ui v0.2.
|
|
1
|
+
/*! @wlydfe/pro-ui v0.2.12 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
|
|
@@ -4439,7 +4439,7 @@
|
|
|
4439
4439
|
const DefaultPageSizeList = [10, 20, 30, 40, 50, 100, 200, 300, 400, 500];
|
|
4440
4440
|
const DefaultPageInfo = {
|
|
4441
4441
|
page: 1,
|
|
4442
|
-
pageSize:
|
|
4442
|
+
pageSize: 20
|
|
4443
4443
|
};
|
|
4444
4444
|
|
|
4445
4445
|
const TableFormRefInjectionKey = Symbol("tableFormRefInjectionKey");
|
|
@@ -11634,7 +11634,7 @@
|
|
|
11634
11634
|
expandTableColumnProps: { default: () => ({}) },
|
|
11635
11635
|
indexContentStyle: { type: [Object, Function], default: () => ({}) },
|
|
11636
11636
|
editable: { type: [Boolean, String], default: false },
|
|
11637
|
-
adaptive: { type: [Boolean, Object], default:
|
|
11637
|
+
adaptive: { type: [Boolean, Object], default: false },
|
|
11638
11638
|
filterTableHeaderOverflowLabelLength: {}
|
|
11639
11639
|
},
|
|
11640
11640
|
emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh", "edited", "cell-click", "cell-dblclick", "filterTableHeader", "radioChange"],
|
|
@@ -13029,72 +13029,76 @@
|
|
|
13029
13029
|
key: _ctx.searchSlot,
|
|
13030
13030
|
class: "plus-page__table_wrapper"
|
|
13031
13031
|
}, {
|
|
13032
|
-
default: vue.withCtx(() =>
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
|
|
13038
|
-
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
|
|
13050
|
-
|
|
13051
|
-
|
|
13052
|
-
|
|
13053
|
-
|
|
13054
|
-
|
|
13055
|
-
|
|
13056
|
-
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
key: "2"
|
|
13073
|
-
} : void 0,
|
|
13074
|
-
_ctx.$slots["table-append"] ? {
|
|
13075
|
-
name: "append",
|
|
13076
|
-
fn: vue.withCtx(() => [
|
|
13077
|
-
vue.renderSlot(_ctx.$slots, "table-append")
|
|
13078
|
-
]),
|
|
13079
|
-
key: "3"
|
|
13080
|
-
} : void 0,
|
|
13081
|
-
_ctx.$slots["table-empty"] ? {
|
|
13082
|
-
name: "empty",
|
|
13083
|
-
fn: vue.withCtx(() => [
|
|
13084
|
-
vue.renderSlot(_ctx.$slots, "table-empty")
|
|
13085
|
-
]),
|
|
13086
|
-
key: "4"
|
|
13087
|
-
} : void 0,
|
|
13088
|
-
vue.renderList(tableSlots.value, (_, key) => {
|
|
13089
|
-
return {
|
|
13090
|
-
name: key,
|
|
13032
|
+
default: vue.withCtx(() => {
|
|
13033
|
+
var _a2, _b;
|
|
13034
|
+
return [
|
|
13035
|
+
vue.createVNode(vue.unref(PlusTable), vue.mergeProps({
|
|
13036
|
+
ref_key: "plusTableInstance",
|
|
13037
|
+
ref: plusTableInstance,
|
|
13038
|
+
"title-bar": { refresh: true }
|
|
13039
|
+
}, _ctx.table, {
|
|
13040
|
+
adaptive: (_b = (_a2 = _ctx.table) == null ? void 0 : _a2.adaptive) != null ? _b : true,
|
|
13041
|
+
"table-data": vue.unref(tableData),
|
|
13042
|
+
"loading-status": vue.unref(loadingStatus),
|
|
13043
|
+
columns: processedColumns.value,
|
|
13044
|
+
pagination: _ctx.pagination === false ? void 0 : {
|
|
13045
|
+
..._ctx.pagination,
|
|
13046
|
+
total: vue.unref(total),
|
|
13047
|
+
modelValue: vue.unref(pageInfo),
|
|
13048
|
+
pageSizeList: computedDefaultPageSizeList.value
|
|
13049
|
+
},
|
|
13050
|
+
onPaginationChange: handlePaginationChange,
|
|
13051
|
+
onRefresh: handleRefresh
|
|
13052
|
+
}), vue.createSlots({
|
|
13053
|
+
_: 2
|
|
13054
|
+
/* DYNAMIC */
|
|
13055
|
+
}, [
|
|
13056
|
+
_ctx.$slots["table-title"] ? {
|
|
13057
|
+
name: "title",
|
|
13058
|
+
fn: vue.withCtx(() => [
|
|
13059
|
+
vue.renderSlot(_ctx.$slots, "table-title")
|
|
13060
|
+
]),
|
|
13061
|
+
key: "0"
|
|
13062
|
+
} : void 0,
|
|
13063
|
+
_ctx.$slots["table-toolbar"] ? {
|
|
13064
|
+
name: "toolbar",
|
|
13065
|
+
fn: vue.withCtx(() => [
|
|
13066
|
+
vue.renderSlot(_ctx.$slots, "table-toolbar")
|
|
13067
|
+
]),
|
|
13068
|
+
key: "1"
|
|
13069
|
+
} : void 0,
|
|
13070
|
+
_ctx.$slots["table-expand"] ? {
|
|
13071
|
+
name: "expand",
|
|
13091
13072
|
fn: vue.withCtx((data) => [
|
|
13092
|
-
vue.renderSlot(_ctx.$slots,
|
|
13093
|
-
])
|
|
13094
|
-
|
|
13095
|
-
|
|
13096
|
-
|
|
13097
|
-
|
|
13073
|
+
vue.renderSlot(_ctx.$slots, "table-expand", vue.normalizeProps(vue.guardReactiveProps(data)))
|
|
13074
|
+
]),
|
|
13075
|
+
key: "2"
|
|
13076
|
+
} : void 0,
|
|
13077
|
+
_ctx.$slots["table-append"] ? {
|
|
13078
|
+
name: "append",
|
|
13079
|
+
fn: vue.withCtx(() => [
|
|
13080
|
+
vue.renderSlot(_ctx.$slots, "table-append")
|
|
13081
|
+
]),
|
|
13082
|
+
key: "3"
|
|
13083
|
+
} : void 0,
|
|
13084
|
+
_ctx.$slots["table-empty"] ? {
|
|
13085
|
+
name: "empty",
|
|
13086
|
+
fn: vue.withCtx(() => [
|
|
13087
|
+
vue.renderSlot(_ctx.$slots, "table-empty")
|
|
13088
|
+
]),
|
|
13089
|
+
key: "4"
|
|
13090
|
+
} : void 0,
|
|
13091
|
+
vue.renderList(tableSlots.value, (_, key) => {
|
|
13092
|
+
return {
|
|
13093
|
+
name: key,
|
|
13094
|
+
fn: vue.withCtx((data) => [
|
|
13095
|
+
vue.renderSlot(_ctx.$slots, key, vue.normalizeProps(vue.guardReactiveProps(data)))
|
|
13096
|
+
])
|
|
13097
|
+
};
|
|
13098
|
+
})
|
|
13099
|
+
]), 1040, ["adaptive", "table-data", "loading-status", "columns", "pagination"])
|
|
13100
|
+
];
|
|
13101
|
+
}),
|
|
13098
13102
|
_: 3
|
|
13099
13103
|
/* FORWARDED */
|
|
13100
13104
|
}))
|