quasar-ui-sellmate-ui-kit 3.14.53 → 3.14.54
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.common.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.min.css +1 -1
- package/dist/index.rtl.css +1 -1
- package/dist/index.rtl.min.css +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.min.js +2 -2
- package/package.json +1 -1
- package/src/composables/table/use-resizable.js +3 -3
package/package.json
CHANGED
|
@@ -174,6 +174,7 @@ export function useResizable() {
|
|
|
174
174
|
|
|
175
175
|
const tableEl = tableRef.value.$el;
|
|
176
176
|
const cols = getTableCols(tableEl);
|
|
177
|
+
const isResizableTable = tableEl.classList.contains('resizable-table');
|
|
177
178
|
const isSelectTable = tableEl.classList.contains('s-select-table');
|
|
178
179
|
|
|
179
180
|
let startLeftIndex = 0;
|
|
@@ -181,7 +182,6 @@ export function useResizable() {
|
|
|
181
182
|
// Left Sticky Columns
|
|
182
183
|
if (isSelectTable && cols[0]) {
|
|
183
184
|
applyStickyToColumn(tableEl, 0, true, '0px'); // 체크박스 컬럼 고정
|
|
184
|
-
appendResizableDiv(cols[0], 'right', true); // 오른쪽에 리사이즈 핸들 추가
|
|
185
185
|
startLeftIndex = 1; // 이후 데이터 컬럼은 1번부터 시작
|
|
186
186
|
}
|
|
187
187
|
|
|
@@ -189,7 +189,7 @@ export function useResizable() {
|
|
|
189
189
|
const colIdx = startLeftIndex + i;
|
|
190
190
|
if (!cols[colIdx]) break;
|
|
191
191
|
applyStickyToColumn(tableEl, colIdx, true, '0px'); // 컬럼 고정
|
|
192
|
-
appendResizableDiv(cols[colIdx], 'right', true); // 오른쪽에 리사이즈 핸들 추가
|
|
192
|
+
if (isResizableTable) appendResizableDiv(cols[colIdx], 'right', true); // 오른쪽에 리사이즈 핸들 추가
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
detectStickyWidth(tableEl, true); // 좌측 스티키 너비 재계산
|
|
@@ -198,7 +198,7 @@ export function useResizable() {
|
|
|
198
198
|
if (rightStickyCount > 0) {
|
|
199
199
|
for (let i = cols.length - rightStickyCount; i < cols.length; i++) {
|
|
200
200
|
applyStickyToColumn(tableEl, i, false, '0px');
|
|
201
|
-
appendResizableDiv(cols[i], 'left', true); // 왼쪽에 리사이즈 핸들 추가 (우측 스티키)
|
|
201
|
+
if (isResizableTable) appendResizableDiv(cols[i], 'left', true); // 왼쪽에 리사이즈 핸들 추가 (우측 스티키)
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
detectStickyWidth(tableEl, false); // 우측 스티키 너비 재계산
|