webcake-ui-kit 1.2.18 → 1.2.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webcake-ui-kit",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "description": "UI Kit for Vue 2 && 3 - Pure Options API",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -2,7 +2,7 @@
2
2
  <Menu
3
3
  :open="isOpen"
4
4
  :disabled="disabled || loading"
5
- placement="bottom-start"
5
+ :placement="placement"
6
6
  :offset="4"
7
7
  :anchor-width="dropdownMatchSelectWidth"
8
8
  :close-on-select="false"
@@ -220,7 +220,11 @@ export default {
220
220
  overlayClassName: { type: [String, Array, Object], default: null },
221
221
  overlayStyle: { type: [Object, Array], default: null },
222
222
  dropdownMatchSelectWidth: { type: Boolean, default: true },
223
- overlayWidth: { type: [String, Number], default: null }
223
+ overlayWidth: { type: [String, Number], default: null },
224
+ placement: {
225
+ type: String,
226
+ default: 'bottom-start'
227
+ }
224
228
  },
225
229
 
226
230
  emits: ['change', 'update:modelValue'],
@@ -124,7 +124,7 @@ export default {
124
124
  style = { overflow: 'auto hidden' }
125
125
  }
126
126
 
127
- if (this.minHeight > 0) {
127
+ if (this.minHeight) {
128
128
  style.minHeight = `${this.toCssSize(this.minHeight)}`
129
129
  }
130
130
  return style
@@ -8,7 +8,7 @@
8
8
 
9
9
  <template v-if="isEmpty">
10
10
  <tr class="ui-table__row">
11
- <td colspan="100">
11
+ <td colspan="100" :style="{ borderBottom: 'none' }">
12
12
  <div class="ui-table__row-empty ui-table__empty" :style="emptyStyle">
13
13
  <slot name="empty">
14
14
  <div class="wrapper-img">
@@ -41,6 +41,7 @@
41
41
  import Sortable from 'sortablejs'
42
42
  import TableRow from './TableRow.vue'
43
43
  import MeasureCell from './MeasureCell.vue'
44
+ import { toCssSize } from '../../../utils/common'
44
45
 
45
46
  export default {
46
47
  name: 'TableBody',
@@ -73,10 +74,14 @@ export default {
73
74
  emptyText() {
74
75
  return this.tableContext.data.emptyText || 'Không có dữ liệu'
75
76
  },
77
+
78
+ minHeight: function () {
79
+ return this.tableContext.layout.height
80
+ },
81
+
76
82
  emptyStyle() {
77
- const { height, rowHeight } = this.tableContext.layout
78
- if (!height) return {}
79
- return { minHeight: `calc(${height}px - ${rowHeight}px)` }
83
+ const { rowHeight } = this.tableContext.layout
84
+ return { minHeight: `calc(${toCssSize(this.minHeight)} - ${toCssSize(rowHeight)})` }
80
85
  }
81
86
  },
82
87
  beforeUnmount: function () {
@@ -25,7 +25,7 @@
25
25
  @focus="onFocus"
26
26
  @blur="onBlur"
27
27
  ></textarea>
28
- <span v-if="showCounter" class="ui-textarea__counter"
28
+ <span v-if="showCount" class="ui-textarea__counter"
29
29
  >{{ charCount }}<template v-if="maxLength !== undefined"> / {{ maxLength }}</template></span
30
30
  >
31
31
  </span>
@@ -0,0 +1,2 @@
1
+ {"t":0,"agent":"ae435b9","agent_type":"unknown","event":"agent_stop","success":true}
2
+ {"t":0,"agent":"ae345ba","agent_type":"unknown","event":"agent_stop","success":true}
@@ -0,0 +1,7 @@
1
+ {
2
+ "agents": [],
3
+ "total_spawned": 0,
4
+ "total_completed": 0,
5
+ "total_failed": 0,
6
+ "last_updated": "2026-05-12T04:07:51.819Z"
7
+ }