@ticatec/uniface-element 0.3.14 → 0.3.15

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.
@@ -44,7 +44,6 @@
44
44
  await tick();
45
45
  selectionMode = value ? SelectionMode.All : SelectionMode.None;
46
46
  rows = [...rows];
47
- console.log('选中行', selectionMode)
48
47
  }
49
48
 
50
49
  const handleRowSelectChange = async (row: TableRow, value: boolean) => {
@@ -139,11 +139,8 @@
139
139
  const scrollHeight = target.scrollHeight;
140
140
  const clientHeight = target.clientHeight;
141
141
 
142
- console.log('Scroll event:', { scrollTop, scrollHeight, clientHeight, hasMore, isBusy });
143
-
144
142
  // 当滚动到距离底部20px以内时,自动加载下一页
145
143
  if (scrollTop + clientHeight >= scrollHeight - 20 && hasMore && !isBusy) {
146
- console.log('Auto loading more...');
147
144
  loadMore();
148
145
  }
149
146
  }
@@ -133,7 +133,6 @@
133
133
  }
134
134
 
135
135
  const handleSelectionChanged = (item: any) => () => {
136
- console.log('选择项目', item);
137
136
  let idx = selectedList.indexOf(item);
138
137
  if (idx < 0) {
139
138
  selectedList = [...selectedList, item];
@@ -27,7 +27,6 @@
27
27
  }
28
28
 
29
29
  let showMessageBox = (_message: string, _buttons: Array<any> | null, _title: string, _type: string | null, _escapeHTML: boolean = true): Promise<any> => {
30
- console.log('显示消息框')
31
30
  if (!visible) {
32
31
  top = 0;
33
32
  left = 0;
@@ -16,7 +16,6 @@
16
16
  export let placeholder: string | null = null;
17
17
 
18
18
  export const focus = () => {
19
- console.log('查询框获取焦点')
20
19
  editor.focus();
21
20
  }
22
21
 
@@ -43,7 +43,6 @@
43
43
 
44
44
  const checkOverflow = () => {
45
45
  if (container) {
46
- console.log(currentLeft, container.clientWidth, container.scrollWidth);
47
46
  if (currentLeft + container.clientWidth >= container.scrollWidth) {
48
47
  currentLeft = container.scrollWidth - container.clientWidth;
49
48
  scrollX.set(currentLeft);
@@ -19,7 +19,6 @@
19
19
  let loading: boolean = false;
20
20
 
21
21
  const isDirectory = () => {
22
- console.log('检测目录函数', checkIsDirectory);
23
22
  return lazyLoader == null ? checkIsDirectory?.(node) : lazyLoader.isBranch(node);
24
23
  }
25
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticatec/uniface-element",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "A comprehensive UI component library for Svelte applications with rich form controls, data tables, layouts and interactive elements",
5
5
  "keywords": [
6
6
  "svelte",