@ctzy-web-client/plugin-component-vue 1.0.55 → 1.0.57
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.css +1 -0
- package/es/data-table/data-table.mjs +3 -3
- package/es/datatable-settings/datatable-settings.mjs +16 -7
- package/lib/components.css +1 -0
- package/lib/data-table/data-table.js +3 -3
- package/lib/datatable-settings/datatable-settings.js +16 -7
- package/package.json +1 -1
- package/src/data-table/data-table.vue +2 -2
- package/src/datatable-settings/datatable-settings.vue +1 -1
- package/es/utils.css +0 -1
- package/lib/utils.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.letter-circle[data-v-9ba46efc]{font-size:14px;height:24px;margin-right:8px;width:24px}.letter-circle[data-v-9ba46efc],.letter-circle[data-v-c1065f11]{align-items:center;border-radius:50%;color:#fff;display:flex;justify-content:center}.letter-circle[data-v-c1065f11]{flex-shrink:0;font-size:12px;height:22px;width:22px}.option-container[data-v-c1065f11]{align-items:center;display:flex;width:100%}.option-text[data-v-c1065f11]{flex:1;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pct-select-ellipsis .el-select-dropdown__item{box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;width:100%!important}
|
|
@@ -370,11 +370,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
370
370
|
key: item.attrName,
|
|
371
371
|
label: item.title,
|
|
372
372
|
prop: item.fullAttrName,
|
|
373
|
-
width: getColumnWidth(item),
|
|
373
|
+
"min-width": getColumnWidth(item),
|
|
374
374
|
fixed: item.fixed,
|
|
375
375
|
align: item.align
|
|
376
376
|
}, { ref_for: true }, item.componentProps, {
|
|
377
|
-
sortable: item.sortable == "custom"
|
|
377
|
+
sortable: item.sortable == "custom" ? "custom" : false
|
|
378
378
|
}), {
|
|
379
379
|
header: withCtx(() => [
|
|
380
380
|
renderSlot(_ctx.$slots, `table-header-col-${item.attrName}`, {}, () => [
|
|
@@ -396,7 +396,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
396
396
|
]) : createCommentVNode("v-if", true)
|
|
397
397
|
]),
|
|
398
398
|
_: 2
|
|
399
|
-
}, 1040, ["column-key", "label", "prop", "width", "fixed", "align", "sortable"]);
|
|
399
|
+
}, 1040, ["column-key", "label", "prop", "min-width", "fixed", "align", "sortable"]);
|
|
400
400
|
}), 128))
|
|
401
401
|
]),
|
|
402
402
|
renderSlot(_ctx.$slots, "column-append")
|
|
@@ -171,7 +171,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
171
171
|
return (_ctx, _cache) => {
|
|
172
172
|
const _component_RefreshRight = resolveComponent("RefreshRight");
|
|
173
173
|
const _component_Close = resolveComponent("Close");
|
|
174
|
-
const _component_Rank = resolveComponent("Rank");
|
|
175
174
|
return openBlock(), createBlock(unref(ElTooltip), mergeProps({
|
|
176
175
|
visible: value.value,
|
|
177
176
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => value.value = $event)
|
|
@@ -270,12 +269,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
270
269
|
class: normalizeClass(unref(ns).e("field-item"))
|
|
271
270
|
}, [
|
|
272
271
|
createElementVNode("span", _hoisted_1, [
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
272
|
+
_cache[3] || (_cache[3] = createElementVNode("svg", {
|
|
273
|
+
t: "1782437689736",
|
|
274
|
+
class: "icon",
|
|
275
|
+
viewBox: "0 0 1616 1024",
|
|
276
|
+
version: "1.1",
|
|
277
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
278
|
+
"p-id": "8064",
|
|
279
|
+
width: "20",
|
|
280
|
+
height: "20"
|
|
281
|
+
}, [
|
|
282
|
+
createElementVNode("path", {
|
|
283
|
+
d: "M384 768C348.653776 768 320 796.653776 320 832 320 867.346224 348.653776 896 384 896 419.346224 896 448 867.346224 448 832 448 796.653776 419.346224 768 384 768ZM384 448C348.653776 448 320 476.653776 320 512 320 547.346224 348.653776 576 384 576 419.346224 576 448 547.346224 448 512 448 476.653776 419.346224 448 384 448ZM384 128C348.653776 128 320 156.653779 320 192 320 227.346221 348.653776 256 384 256 419.346224 256 448 227.346221 448 192 448 156.653779 419.346224 128 384 128ZM640 768C604.653776 768 576 796.653776 576 832 576 867.346224 604.653776 896 640 896 675.346221 896 704 867.346224 704 832 704 796.653776 675.346221 768 640 768ZM640 448C604.653776 448 576 476.653776 576 512 576 547.346224 604.653776 576 640 576 675.346221 576 704 547.346224 704 512 704 476.653776 675.346221 448 640 448ZM640 128C604.653776 128 576 156.653779 576 192 576 227.346221 604.653776 256 640 256 675.346221 256 704 227.346221 704 192 704 156.653779 675.346221 128 640 128Z",
|
|
284
|
+
fill: "#2c2c2c",
|
|
285
|
+
"p-id": "8065"
|
|
286
|
+
})
|
|
287
|
+
], -1)),
|
|
279
288
|
createTextVNode(" " + toDisplayString(item.title), 1)
|
|
280
289
|
]),
|
|
281
290
|
createVNode(unref(ElSwitch), {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.letter-circle[data-v-9ba46efc]{font-size:14px;height:24px;margin-right:8px;width:24px}.letter-circle[data-v-9ba46efc],.letter-circle[data-v-c1065f11]{align-items:center;border-radius:50%;color:#fff;display:flex;justify-content:center}.letter-circle[data-v-c1065f11]{flex-shrink:0;font-size:12px;height:22px;width:22px}.option-container[data-v-c1065f11]{align-items:center;display:flex;width:100%}.option-text[data-v-c1065f11]{flex:1;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pct-select-ellipsis .el-select-dropdown__item{box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;width:100%!important}
|
|
@@ -374,11 +374,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
374
374
|
key: item.attrName,
|
|
375
375
|
label: item.title,
|
|
376
376
|
prop: item.fullAttrName,
|
|
377
|
-
width: getColumnWidth(item),
|
|
377
|
+
"min-width": getColumnWidth(item),
|
|
378
378
|
fixed: item.fixed,
|
|
379
379
|
align: item.align
|
|
380
380
|
}, { ref_for: true }, item.componentProps, {
|
|
381
|
-
sortable: item.sortable == "custom"
|
|
381
|
+
sortable: item.sortable == "custom" ? "custom" : false
|
|
382
382
|
}), {
|
|
383
383
|
header: vue.withCtx(() => [
|
|
384
384
|
vue.renderSlot(_ctx.$slots, `table-header-col-${item.attrName}`, {}, () => [
|
|
@@ -400,7 +400,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
400
400
|
]) : vue.createCommentVNode("v-if", true)
|
|
401
401
|
]),
|
|
402
402
|
_: 2
|
|
403
|
-
}, 1040, ["column-key", "label", "prop", "width", "fixed", "align", "sortable"]);
|
|
403
|
+
}, 1040, ["column-key", "label", "prop", "min-width", "fixed", "align", "sortable"]);
|
|
404
404
|
}), 128))
|
|
405
405
|
]),
|
|
406
406
|
vue.renderSlot(_ctx.$slots, "column-append")
|
|
@@ -175,7 +175,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
175
175
|
return (_ctx, _cache) => {
|
|
176
176
|
const _component_RefreshRight = vue.resolveComponent("RefreshRight");
|
|
177
177
|
const _component_Close = vue.resolveComponent("Close");
|
|
178
|
-
const _component_Rank = vue.resolveComponent("Rank");
|
|
179
178
|
return vue.openBlock(), vue.createBlock(vue.unref(ElementPlus.ElTooltip), vue.mergeProps({
|
|
180
179
|
visible: value.value,
|
|
181
180
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => value.value = $event)
|
|
@@ -274,12 +273,22 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
274
273
|
class: vue.normalizeClass(vue.unref(ns).e("field-item"))
|
|
275
274
|
}, [
|
|
276
275
|
vue.createElementVNode("span", _hoisted_1, [
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
276
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("svg", {
|
|
277
|
+
t: "1782437689736",
|
|
278
|
+
class: "icon",
|
|
279
|
+
viewBox: "0 0 1616 1024",
|
|
280
|
+
version: "1.1",
|
|
281
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
282
|
+
"p-id": "8064",
|
|
283
|
+
width: "20",
|
|
284
|
+
height: "20"
|
|
285
|
+
}, [
|
|
286
|
+
vue.createElementVNode("path", {
|
|
287
|
+
d: "M384 768C348.653776 768 320 796.653776 320 832 320 867.346224 348.653776 896 384 896 419.346224 896 448 867.346224 448 832 448 796.653776 419.346224 768 384 768ZM384 448C348.653776 448 320 476.653776 320 512 320 547.346224 348.653776 576 384 576 419.346224 576 448 547.346224 448 512 448 476.653776 419.346224 448 384 448ZM384 128C348.653776 128 320 156.653779 320 192 320 227.346221 348.653776 256 384 256 419.346224 256 448 227.346221 448 192 448 156.653779 419.346224 128 384 128ZM640 768C604.653776 768 576 796.653776 576 832 576 867.346224 604.653776 896 640 896 675.346221 896 704 867.346224 704 832 704 796.653776 675.346221 768 640 768ZM640 448C604.653776 448 576 476.653776 576 512 576 547.346224 604.653776 576 640 576 675.346221 576 704 547.346224 704 512 704 476.653776 675.346221 448 640 448ZM640 128C604.653776 128 576 156.653779 576 192 576 227.346221 604.653776 256 640 256 675.346221 256 704 227.346221 704 192 704 156.653779 675.346221 128 640 128Z",
|
|
288
|
+
fill: "#2c2c2c",
|
|
289
|
+
"p-id": "8065"
|
|
290
|
+
})
|
|
291
|
+
], -1)),
|
|
283
292
|
vue.createTextVNode(" " + vue.toDisplayString(item.title), 1)
|
|
284
293
|
]),
|
|
285
294
|
vue.createVNode(vue.unref(ElementPlus.ElSwitch), {
|
package/package.json
CHANGED
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
:key="item.attrName"
|
|
44
44
|
:label="item.title"
|
|
45
45
|
:prop="item.fullAttrName"
|
|
46
|
-
:width="getColumnWidth(item)"
|
|
46
|
+
:min-width="getColumnWidth(item)"
|
|
47
47
|
:fixed="item.fixed"
|
|
48
48
|
:align="item.align"
|
|
49
49
|
v-bind="item.componentProps"
|
|
50
|
-
:sortable="item.sortable=='custom'"
|
|
50
|
+
:sortable="item.sortable=='custom' ?'custom':false"
|
|
51
51
|
>
|
|
52
52
|
<template #header>
|
|
53
53
|
<slot :name="`table-header-col-${item.attrName}`">
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<div :class="ns.be('section', 'content')">
|
|
68
68
|
<div :class="ns.e('field-item')">
|
|
69
69
|
<span style="display: flex;align-items: center">
|
|
70
|
-
<
|
|
70
|
+
<svg t="1782437689736" class="icon" viewBox="0 0 1616 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8064" width="20" height="20"><path d="M384 768C348.653776 768 320 796.653776 320 832 320 867.346224 348.653776 896 384 896 419.346224 896 448 867.346224 448 832 448 796.653776 419.346224 768 384 768ZM384 448C348.653776 448 320 476.653776 320 512 320 547.346224 348.653776 576 384 576 419.346224 576 448 547.346224 448 512 448 476.653776 419.346224 448 384 448ZM384 128C348.653776 128 320 156.653779 320 192 320 227.346221 348.653776 256 384 256 419.346224 256 448 227.346221 448 192 448 156.653779 419.346224 128 384 128ZM640 768C604.653776 768 576 796.653776 576 832 576 867.346224 604.653776 896 640 896 675.346221 896 704 867.346224 704 832 704 796.653776 675.346221 768 640 768ZM640 448C604.653776 448 576 476.653776 576 512 576 547.346224 604.653776 576 640 576 675.346221 576 704 547.346224 704 512 704 476.653776 675.346221 448 640 448ZM640 128C604.653776 128 576 156.653779 576 192 576 227.346221 604.653776 256 640 256 675.346221 256 704 227.346221 704 192 704 156.653779 675.346221 128 640 128Z" fill="#2c2c2c" p-id="8065"></path></svg>
|
|
71
71
|
{{ item.title }}
|
|
72
72
|
</span>
|
|
73
73
|
<ElSwitch
|
package/es/utils.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.letter-circle[data-v-9ba46efc]{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;margin-right:8px;width:24px}.pct-select-ellipsis .el-select-dropdown__item{box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;width:100%!important}.letter-circle[data-v-c1065f11]{align-items:center;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:12px;height:22px;justify-content:center;width:22px}.option-container[data-v-c1065f11]{align-items:center;display:flex;width:100%}.option-text[data-v-c1065f11]{flex:1;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
package/lib/utils.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.letter-circle[data-v-9ba46efc]{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:14px;height:24px;justify-content:center;margin-right:8px;width:24px}.pct-select-ellipsis .el-select-dropdown__item{box-sizing:border-box!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;width:100%!important}.letter-circle[data-v-c1065f11]{align-items:center;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:12px;height:22px;justify-content:center;width:22px}.option-container[data-v-c1065f11]{align-items:center;display:flex;width:100%}.option-text[data-v-c1065f11]{flex:1;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|