@simpleangularcontrols/sac-common 10.0.0-rc.28 → 10.0.0-rc.29
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/bundles/simpleangularcontrols-sac-common.umd.js +13 -8
- package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
- package/controls/grid/gridcolumnbase.d.ts +4 -0
- package/controls/treeview/treeview.d.ts +1 -1
- package/esm2015/controls/grid/gridcolumnbase.js +6 -1
- package/esm2015/controls/treeview/treeview.js +9 -9
- package/fesm2015/simpleangularcontrols-sac-common.js +13 -8
- package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
- package/package.json +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.29.tgz +0 -0
- package/simpleangularcontrols-sac-common.metadata.json +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.28.tgz +0 -0
|
@@ -6384,6 +6384,10 @@
|
|
|
6384
6384
|
* Align the column
|
|
6385
6385
|
*/
|
|
6386
6386
|
this.alignment = 'left';
|
|
6387
|
+
/**
|
|
6388
|
+
* defines the style of the row
|
|
6389
|
+
*/
|
|
6390
|
+
this.contextstyle = 'none';
|
|
6387
6391
|
/**
|
|
6388
6392
|
* Click on Column Element
|
|
6389
6393
|
*/
|
|
@@ -6508,6 +6512,7 @@
|
|
|
6508
6512
|
SacGridColumnBaseCommon.propDecorators = {
|
|
6509
6513
|
alignment: [{ type: i0.Input }],
|
|
6510
6514
|
bodyElement: [{ type: i0.ViewChild, args: ['bodyElement', { static: false },] }],
|
|
6515
|
+
contextstyle: [{ type: i0.Input }],
|
|
6511
6516
|
header: [{ type: i0.Input }],
|
|
6512
6517
|
headerElement: [{ type: i0.ViewChild, args: ['headerElement', { static: false },] }],
|
|
6513
6518
|
name: [{ type: i0.Input }],
|
|
@@ -9332,7 +9337,7 @@
|
|
|
9332
9337
|
/**
|
|
9333
9338
|
* Property on the 'data' object that stores the expanded state. Property must be of type boolean. Default is 'expanded'
|
|
9334
9339
|
*/
|
|
9335
|
-
_this.
|
|
9340
|
+
_this.attrexpanded = 'expanded';
|
|
9336
9341
|
/**
|
|
9337
9342
|
* Property for saving the HoverState on the field. If the property is not present on the node, it is automatically created and removed again. The value can usually be left at the default value unless there is a conflict with a property on the node that is required for other purposes.
|
|
9338
9343
|
*/
|
|
@@ -9489,10 +9494,10 @@
|
|
|
9489
9494
|
return value === true || value === 'true';
|
|
9490
9495
|
};
|
|
9491
9496
|
SacTreeviewCommon.prototype.isExpandedState = function (node) {
|
|
9492
|
-
if (!node || !this.
|
|
9497
|
+
if (!node || !this.attrexpanded) {
|
|
9493
9498
|
return false;
|
|
9494
9499
|
}
|
|
9495
|
-
var value = node[this.
|
|
9500
|
+
var value = node[this.attrexpanded];
|
|
9496
9501
|
return value === true || value === 'true';
|
|
9497
9502
|
};
|
|
9498
9503
|
SacTreeviewCommon.prototype.isHoverState = function (node) {
|
|
@@ -9635,21 +9640,21 @@
|
|
|
9635
9640
|
return null;
|
|
9636
9641
|
};
|
|
9637
9642
|
SacTreeviewCommon.prototype.invertExpandedState = function (node) {
|
|
9638
|
-
if (!node || !this.
|
|
9643
|
+
if (!node || !this.attrexpanded) {
|
|
9639
9644
|
return;
|
|
9640
9645
|
}
|
|
9641
9646
|
// Items with no children cannot be collabsed
|
|
9642
9647
|
if (!this.hasChildren(node) && !(this.enableasynchload === true || this.enableasynchload === 'true')) {
|
|
9643
9648
|
return;
|
|
9644
9649
|
}
|
|
9645
|
-
var value = node[this.
|
|
9650
|
+
var value = node[this.attrexpanded];
|
|
9646
9651
|
if (value === true || value === 'true') {
|
|
9647
9652
|
this.collabsed.emit(node);
|
|
9648
|
-
node[this.
|
|
9653
|
+
node[this.attrexpanded] = false;
|
|
9649
9654
|
}
|
|
9650
9655
|
else {
|
|
9651
9656
|
this.expanded.emit(node);
|
|
9652
|
-
node[this.
|
|
9657
|
+
node[this.attrexpanded] = true;
|
|
9653
9658
|
}
|
|
9654
9659
|
};
|
|
9655
9660
|
SacTreeviewCommon.prototype.resetSelectedState = function (node) {
|
|
@@ -9675,7 +9680,7 @@
|
|
|
9675
9680
|
actionclicked: [{ type: i0.Output }],
|
|
9676
9681
|
attrchildren: [{ type: i0.Input }],
|
|
9677
9682
|
attrdisableaction: [{ type: i0.Input }],
|
|
9678
|
-
|
|
9683
|
+
attrexpanded: [{ type: i0.Input }],
|
|
9679
9684
|
attrhoverstate: [{ type: i0.Input }],
|
|
9680
9685
|
attricon: [{ type: i0.Input }],
|
|
9681
9686
|
attrid: [{ type: i0.Input }],
|