@ctzy-web-client/plugin-component-vue 1.0.58 → 1.0.59
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.
|
@@ -241,6 +241,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
241
241
|
};
|
|
242
242
|
emit("headerWidthChange", widthObj);
|
|
243
243
|
};
|
|
244
|
+
const selectionRow = (row, selected) => {
|
|
245
|
+
emit("selectionRow", row, selected);
|
|
246
|
+
};
|
|
247
|
+
const selectionRowAll = (selection) => {
|
|
248
|
+
emit("selectionRowAll", selection);
|
|
249
|
+
};
|
|
244
250
|
const totalPage = computed(() => dataTable.getTotalPage());
|
|
245
251
|
const tableSelectSubscription = tableSelectSubject.pipe(debounceTime(debounceDelay)).subscribe(unref(dataTable).setSelection.bind(unref(dataTable)));
|
|
246
252
|
const selectChangeAPIObservable = new Observable(
|
|
@@ -323,6 +329,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
323
329
|
fit: ""
|
|
324
330
|
}, unref(attrs), {
|
|
325
331
|
onHeaderDragend: headerDragend,
|
|
332
|
+
onSelect: selectionRow,
|
|
333
|
+
onSelectAll: selectionRowAll,
|
|
326
334
|
onSelectionChange: unref(selectionChange),
|
|
327
335
|
onSortChange: sortHandle,
|
|
328
336
|
border: __props.border
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -245,6 +245,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
245
245
|
};
|
|
246
246
|
emit("headerWidthChange", widthObj);
|
|
247
247
|
};
|
|
248
|
+
const selectionRow = (row, selected) => {
|
|
249
|
+
emit("selectionRow", row, selected);
|
|
250
|
+
};
|
|
251
|
+
const selectionRowAll = (selection) => {
|
|
252
|
+
emit("selectionRowAll", selection);
|
|
253
|
+
};
|
|
248
254
|
const totalPage = vue.computed(() => dataTable.getTotalPage());
|
|
249
255
|
const tableSelectSubscription = tableSelectSubject.pipe(rxjs.debounceTime(debounceDelay)).subscribe(vue.unref(dataTable).setSelection.bind(vue.unref(dataTable)));
|
|
250
256
|
const selectChangeAPIObservable = new rxjs.Observable(
|
|
@@ -327,6 +333,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
327
333
|
fit: ""
|
|
328
334
|
}, vue.unref(attrs), {
|
|
329
335
|
onHeaderDragend: headerDragend,
|
|
336
|
+
onSelect: selectionRow,
|
|
337
|
+
onSelectAll: selectionRowAll,
|
|
330
338
|
onSelectionChange: vue.unref(selectionChange),
|
|
331
339
|
onSortChange: sortHandle,
|
|
332
340
|
border: __props.border
|
|
@@ -0,0 +1 @@
|
|
|
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/package.json
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
fit
|
|
14
14
|
v-bind="attrs"
|
|
15
15
|
@header-dragend='headerDragend'
|
|
16
|
+
@select="selectionRow"
|
|
17
|
+
@select-all="selectionRowAll"
|
|
16
18
|
@selection-change="selectionChange"
|
|
17
19
|
@sort-change="sortHandle"
|
|
18
20
|
:border="border"
|
|
@@ -422,6 +424,12 @@ const headerDragend = (newWidth,oldWidth,column) =>{
|
|
|
422
424
|
}
|
|
423
425
|
emit('headerWidthChange',widthObj)
|
|
424
426
|
}
|
|
427
|
+
const selectionRow = (row, selected) => {
|
|
428
|
+
emit('selectionRow', row, selected);
|
|
429
|
+
}
|
|
430
|
+
const selectionRowAll = (selection) => {
|
|
431
|
+
emit('selectionRowAll', selection);
|
|
432
|
+
}
|
|
425
433
|
const totalPage = computed(() => dataTable.getTotalPage());
|
|
426
434
|
|
|
427
435
|
const tableSelectSubscription = tableSelectSubject
|
package/es/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
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}
|
package/lib/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
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}
|