@ibiz-template/vue3-components 0.7.19 → 0.7.20

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.
@@ -215,6 +215,8 @@ const TreeControl = /* @__PURE__ */ defineComponent({
215
215
  const onNodeClick = (nodeData, evt) => {
216
216
  var _a, _b;
217
217
  evt.stopPropagation();
218
+ if (nodeData._disableSelect)
219
+ return;
218
220
  if (forbidClick) {
219
221
  return;
220
222
  }
@@ -239,6 +241,8 @@ const TreeControl = /* @__PURE__ */ defineComponent({
239
241
  };
240
242
  const onNodeDbClick = (nodeData, evt) => {
241
243
  evt.stopPropagation();
244
+ if (nodeData._disableSelect)
245
+ return;
242
246
  c.onDbTreeNodeClick(nodeData);
243
247
  };
244
248
  let ContextMenu;
@@ -118,6 +118,13 @@ declare const _default: {
118
118
  confirmDataDeletion: string;
119
119
  noImportModel: string;
120
120
  };
121
+ md: {
122
+ rowData: string;
123
+ simpleMode: string;
124
+ dataDeleted: string;
125
+ noChange: string;
126
+ firstComplete: string;
127
+ };
121
128
  editor: {
122
129
  editorNoConfigured: string;
123
130
  };
@@ -180,14 +187,9 @@ declare const _default: {
180
187
  searchTerms: string;
181
188
  saveSearch: string;
182
189
  };
183
- md: {
190
+ gantt: {
184
191
  noNode: string;
185
- rowData: string;
186
- simpleMode: string;
187
192
  nonentity: string;
188
- noChange: string;
189
- dataDeleted: string;
190
- firstComplete: string;
191
193
  noSupport: string;
192
194
  };
193
195
  grid: {
@@ -118,6 +118,13 @@ declare const _default: {
118
118
  confirmDataDeletion: string;
119
119
  noImportModel: string;
120
120
  };
121
+ md: {
122
+ rowData: string;
123
+ simpleMode: string;
124
+ dataDeleted: string;
125
+ noChange: string;
126
+ firstComplete: string;
127
+ };
121
128
  editor: {
122
129
  editorNoConfigured: string;
123
130
  };
@@ -180,14 +187,9 @@ declare const _default: {
180
187
  searchTerms: string;
181
188
  saveSearch: string;
182
189
  };
183
- md: {
190
+ gantt: {
184
191
  noNode: string;
185
- rowData: string;
186
- simpleMode: string;
187
192
  nonentity: string;
188
- noChange: string;
189
- dataDeleted: string;
190
- firstComplete: string;
191
193
  noSupport: string;
192
194
  };
193
195
  grid: {
@@ -217,6 +217,8 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
217
217
  const onNodeClick = (nodeData, evt) => {
218
218
  var _a, _b;
219
219
  evt.stopPropagation();
220
+ if (nodeData._disableSelect)
221
+ return;
220
222
  if (forbidClick) {
221
223
  return;
222
224
  }
@@ -241,6 +243,8 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
241
243
  };
242
244
  const onNodeDbClick = (nodeData, evt) => {
243
245
  evt.stopPropagation();
246
+ if (nodeData._disableSelect)
247
+ return;
244
248
  c.onDbTreeNodeClick(nodeData);
245
249
  };
246
250
  let ContextMenu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.19",
3
+ "version": "0.7.20",
4
4
  "description": "使用 rollup 编译 vue 组件或者 jsx",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -29,13 +29,13 @@
29
29
  "dependencies": {
30
30
  "@floating-ui/dom": "^1.5.3",
31
31
  "@ibiz-template-plugin/ai-chat": "^0.0.5",
32
- "@ibiz-template-plugin/gantt": "0.1.6",
32
+ "@ibiz-template-plugin/gantt": "0.1.7",
33
33
  "@ibiz-template/core": "0.7.18",
34
34
  "@ibiz-template/devtool": "0.0.1-dev.6",
35
- "@ibiz-template/model-helper": "0.7.19",
36
- "@ibiz-template/runtime": "0.7.19",
35
+ "@ibiz-template/model-helper": "0.7.20",
36
+ "@ibiz-template/runtime": "0.7.20",
37
37
  "@ibiz-template/theme": "^0.7.0",
38
- "@ibiz-template/vue3-util": "0.7.19",
38
+ "@ibiz-template/vue3-util": "0.7.20",
39
39
  "@ibiz-template/web-theme": "^1.1.17",
40
40
  "@ibiz/model-core": "^0.1.29",
41
41
  "@imengyu/vue3-context-menu": "^1.3.5",