@a2simcode/ui 0.0.262 → 0.0.263
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/components/tree/index.d.ts +15 -0
- package/dist/components/tree/src/tree.vue.d.ts +15 -0
- package/dist/simcode-ui.es.js +7 -1
- package/dist/simcode-ui.umd.js +1 -1
- package/dist/stats.html +1 -1
- package/docs/components/tree.md +15 -0
- package/docs/examples/tree/check-strictly.vue +53 -0
- package/docs/examples/tree/checkable.vue +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,10 @@ export declare const JTree: {
|
|
|
46
46
|
dataType: StringConstructor;
|
|
47
47
|
dataCode: StringConstructor;
|
|
48
48
|
checkable: BooleanConstructor;
|
|
49
|
+
checkStrictly: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
49
53
|
check: FunctionConstructor;
|
|
50
54
|
emptyDes: {
|
|
51
55
|
type: StringConstructor;
|
|
@@ -107,6 +111,7 @@ export declare const JTree: {
|
|
|
107
111
|
"node-drop": (...args: any[]) => void;
|
|
108
112
|
}, import('vue').PublicProps, {
|
|
109
113
|
immediate: boolean;
|
|
114
|
+
checkStrictly: boolean;
|
|
110
115
|
accordion: boolean;
|
|
111
116
|
defaultExpandAll: boolean;
|
|
112
117
|
theme: string;
|
|
@@ -182,6 +187,10 @@ export declare const JTree: {
|
|
|
182
187
|
dataType: StringConstructor;
|
|
183
188
|
dataCode: StringConstructor;
|
|
184
189
|
checkable: BooleanConstructor;
|
|
190
|
+
checkStrictly: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
185
194
|
check: FunctionConstructor;
|
|
186
195
|
emptyDes: {
|
|
187
196
|
type: StringConstructor;
|
|
@@ -241,6 +250,7 @@ export declare const JTree: {
|
|
|
241
250
|
getCheck: (leafOnly?: boolean) => any;
|
|
242
251
|
}, {}, {}, {}, {
|
|
243
252
|
immediate: boolean;
|
|
253
|
+
checkStrictly: boolean;
|
|
244
254
|
accordion: boolean;
|
|
245
255
|
defaultExpandAll: boolean;
|
|
246
256
|
theme: string;
|
|
@@ -311,6 +321,10 @@ export declare const JTree: {
|
|
|
311
321
|
dataType: StringConstructor;
|
|
312
322
|
dataCode: StringConstructor;
|
|
313
323
|
checkable: BooleanConstructor;
|
|
324
|
+
checkStrictly: {
|
|
325
|
+
type: BooleanConstructor;
|
|
326
|
+
default: boolean;
|
|
327
|
+
};
|
|
314
328
|
check: FunctionConstructor;
|
|
315
329
|
emptyDes: {
|
|
316
330
|
type: StringConstructor;
|
|
@@ -372,6 +386,7 @@ export declare const JTree: {
|
|
|
372
386
|
"node-drop": (...args: any[]) => void;
|
|
373
387
|
}, string, {
|
|
374
388
|
immediate: boolean;
|
|
389
|
+
checkStrictly: boolean;
|
|
375
390
|
accordion: boolean;
|
|
376
391
|
defaultExpandAll: boolean;
|
|
377
392
|
theme: string;
|
|
@@ -98,6 +98,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
98
98
|
* @zh 是否可选择
|
|
99
99
|
*/
|
|
100
100
|
checkable: BooleanConstructor;
|
|
101
|
+
/**
|
|
102
|
+
* @zh 在显示复选框的情况下,是否严格的遵循父子不互相关联的做法,默认为 false
|
|
103
|
+
*/
|
|
104
|
+
checkStrictly: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
101
108
|
/**
|
|
102
109
|
* @zh 勾选方法
|
|
103
110
|
*/
|
|
@@ -298,6 +305,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
298
305
|
* @zh 是否可选择
|
|
299
306
|
*/
|
|
300
307
|
checkable: BooleanConstructor;
|
|
308
|
+
/**
|
|
309
|
+
* @zh 在显示复选框的情况下,是否严格的遵循父子不互相关联的做法,默认为 false
|
|
310
|
+
*/
|
|
311
|
+
checkStrictly: {
|
|
312
|
+
type: BooleanConstructor;
|
|
313
|
+
default: boolean;
|
|
314
|
+
};
|
|
301
315
|
/**
|
|
302
316
|
* @zh 勾选方法
|
|
303
317
|
*/
|
|
@@ -396,6 +410,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
396
410
|
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
|
397
411
|
}>, {
|
|
398
412
|
immediate: boolean;
|
|
413
|
+
checkStrictly: boolean;
|
|
399
414
|
accordion: boolean;
|
|
400
415
|
defaultExpandAll: boolean;
|
|
401
416
|
theme: string;
|
package/dist/simcode-ui.es.js
CHANGED
|
@@ -13362,6 +13362,10 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13362
13362
|
dataType: String,
|
|
13363
13363
|
dataCode: String,
|
|
13364
13364
|
checkable: Boolean,
|
|
13365
|
+
checkStrictly: {
|
|
13366
|
+
type: Boolean,
|
|
13367
|
+
default: !1
|
|
13368
|
+
},
|
|
13365
13369
|
check: Function,
|
|
13366
13370
|
emptyDes: {
|
|
13367
13371
|
type: String,
|
|
@@ -13492,6 +13496,7 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13492
13496
|
draggable: e.draggable,
|
|
13493
13497
|
"allow-drop": B,
|
|
13494
13498
|
"expand-on-click-node": e.expandOnClickNode,
|
|
13499
|
+
"check-strictly": e.checkStrictly,
|
|
13495
13500
|
onNodeClick: C,
|
|
13496
13501
|
onCheck: v,
|
|
13497
13502
|
onNodeDrop: _
|
|
@@ -13559,7 +13564,8 @@ var Kp = /* @__PURE__ */ we({
|
|
|
13559
13564
|
"filter-node-method",
|
|
13560
13565
|
"render-after-expand",
|
|
13561
13566
|
"draggable",
|
|
13562
|
-
"expand-on-click-node"
|
|
13567
|
+
"expand-on-click-node",
|
|
13568
|
+
"check-strictly"
|
|
13563
13569
|
])) : (k(), L("div", gb, [ee(Q, { description: G(r)(e.emptyDes) }, null, 8, ["description"])]))], 2)), [[U, d.value]]);
|
|
13564
13570
|
};
|
|
13565
13571
|
}
|