@alauda/ui 6.1.1-beta.0 → 6.1.1-beta.4
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/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +13 -13
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/esm2015/status-bar/status-bar.component.js +1 -1
- package/esm2015/status-bar/status-bar.component.scss.ngstyle.js +1 -1
- package/esm2015/table/table-cell.component.js +2 -2
- package/esm2015/table/table-cell.component.ngfactory.js +1 -1
- package/esm2015/table/table-cell.component.ngsummary.json +1 -1
- package/esm2015/table/table-row.component.js +11 -8
- package/esm2015/table/table-row.component.ngfactory.js +1 -1
- package/esm2015/table/table-row.component.ngsummary.json +1 -1
- package/fesm2015/alauda-ui.js +12 -8
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +1 -1
- package/table/table-row.component.d.ts +5 -3
package/bundles/alauda-ui.umd.js
CHANGED
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
animations: [
|
|
800
800
|
animations.trigger('expand', [
|
|
801
801
|
animations.state('*', animations.style({ height: 0 })),
|
|
802
|
-
animations.state('expanded', animations.style({ height: '*', 'margin-bottom': '
|
|
802
|
+
animations.state('expanded', animations.style({ height: '*', 'margin-bottom': '15px' })),
|
|
803
803
|
animations.transition('* <=> expanded', [animations.animate('0.1s ease-in-out')]),
|
|
804
804
|
]),
|
|
805
805
|
]
|
|
@@ -1033,19 +1033,17 @@
|
|
|
1033
1033
|
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
1034
1034
|
var TableRowComponent = /** @class */ (function (_super) {
|
|
1035
1035
|
__extends(TableRowComponent, _super);
|
|
1036
|
-
function TableRowComponent() {
|
|
1037
|
-
var _this = _super.
|
|
1036
|
+
function TableRowComponent(elRef) {
|
|
1037
|
+
var _this = _super.call(this) || this;
|
|
1038
|
+
_this.elRef = elRef;
|
|
1038
1039
|
_this.disabled = false;
|
|
1039
1040
|
_this.hasPanel = false;
|
|
1040
1041
|
return _this;
|
|
1041
1042
|
}
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
enumerable: false,
|
|
1047
|
-
configurable: true
|
|
1048
|
-
});
|
|
1043
|
+
TableRowComponent.prototype.ngAfterContentInit = function () {
|
|
1044
|
+
var panel = this.elRef.nativeElement.querySelector('aui-table-cell[auiExpandPanel]');
|
|
1045
|
+
this.hasPanel = !!panel;
|
|
1046
|
+
};
|
|
1049
1047
|
return TableRowComponent;
|
|
1050
1048
|
}(table.CdkRow));
|
|
1051
1049
|
TableRowComponent.decorators = [
|
|
@@ -1062,10 +1060,12 @@
|
|
|
1062
1060
|
preserveWhitespaces: false
|
|
1063
1061
|
},] }
|
|
1064
1062
|
];
|
|
1063
|
+
TableRowComponent.ctorParameters = function () { return [
|
|
1064
|
+
{ type: i0.ElementRef }
|
|
1065
|
+
]; };
|
|
1065
1066
|
TableRowComponent.propDecorators = {
|
|
1066
1067
|
disabled: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.isDisabled',] }],
|
|
1067
|
-
hasPanel: [{ type: i0.HostBinding, args: ['class.hasPanel',] }]
|
|
1068
|
-
panel: [{ type: i0.ContentChild, args: [TableExpandPanelCellComponent, { static: false },] }]
|
|
1068
|
+
hasPanel: [{ type: i0.HostBinding, args: ['class.hasPanel',] }]
|
|
1069
1069
|
};
|
|
1070
1070
|
|
|
1071
1071
|
var CLASS_PREFIX = 'aui-table';
|
|
@@ -9556,7 +9556,7 @@
|
|
|
9556
9556
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
9557
9557
|
encapsulation: i0.ViewEncapsulation.None,
|
|
9558
9558
|
preserveWhitespaces: false,
|
|
9559
|
-
styles: [".aui-status-bar{display:inline-flex;overflow:hidden;width:100%;vertical-align:middle;border-radius:5px}.aui-status-bar--medium{height:10px}.aui-status-bar--small{height:8px;border-radius:4px}.aui-status-bar--small .aui-status-bar__chunk:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.aui-status-bar--small .aui-status-bar__chunk:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.aui-status-bar__chunk{min-width:2px;height:100%;flex:1 1 1;border-radius:var(--aui-border-radius-m)}.aui-status-bar__chunk:first-child{border-top-left-radius:5px;border-bottom-left-radius:5px}.aui-status-bar__chunk:last-child{border-top-right-radius:5px;border-bottom-right-radius:5px}.aui-status-bar__chunk--primary{background-color:rgb(var(--aui-color-primary))}.aui-status-bar__chunk--success{background-color:rgb(var(--aui-color-green))}.aui-status-bar__chunk--warning{background-color:rgb(var(--aui-color-yellow))}.aui-status-bar__chunk--error{background-color:rgb(var(--aui-color-red))}.aui-status-bar__chunk--info{background-color:rgb(var(--aui-color-n-4))}.aui-status-bar__chunk--pending{height:var(--aui-inline-height-m);-webkit-animation:pending .5s linear infinite;animation:pending .5s linear infinite;background:repeating-linear-gradient(-60deg,rgb(var(--aui-color-b-5)),rgb(var(--aui-color-b-5)) var(--aui-spacing-s),rgb(var(--aui-color-b-6)) var(--aui-spacing-s),rgb(var(--aui-color-b-6)) var(--aui-spacing-m))}.aui-status-bar__chunk+.aui-status-bar__chunk{margin-left:var(--aui-spacing-xs)}
|
|
9559
|
+
styles: [".aui-status-bar{display:inline-flex;overflow:hidden;width:100%;vertical-align:middle;border-radius:5px}.aui-status-bar--medium{height:10px}.aui-status-bar--small{height:8px;border-radius:4px}.aui-status-bar--small .aui-status-bar__chunk:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.aui-status-bar--small .aui-status-bar__chunk:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.aui-status-bar__chunk{min-width:2px;height:100%;flex:1 1 1;border-radius:var(--aui-border-radius-m)}.aui-status-bar__chunk:first-child{border-top-left-radius:5px;border-bottom-left-radius:5px}.aui-status-bar__chunk:last-child{border-top-right-radius:5px;border-bottom-right-radius:5px}.aui-status-bar__chunk--primary{background-color:rgb(var(--aui-color-primary))}.aui-status-bar__chunk--primary:hover{background-color:rgb(var(--aui-color-p-2))}.aui-status-bar__chunk--success{background-color:rgb(var(--aui-color-green))}.aui-status-bar__chunk--success:hover{background-color:rgb(var(--aui-color-g-2))}.aui-status-bar__chunk--warning{background-color:rgb(var(--aui-color-yellow))}.aui-status-bar__chunk--warning:hover{background-color:rgb(var(--aui-color-y-2))}.aui-status-bar__chunk--error{background-color:rgb(var(--aui-color-red))}.aui-status-bar__chunk--error:hover{background-color:rgb(var(--aui-color-r-2))}.aui-status-bar__chunk--info{background-color:rgb(var(--aui-color-n-4))}.aui-status-bar__chunk--info:hover{background-color:rgb(var(--aui-color-n-6))}.aui-status-bar__chunk--pending{height:var(--aui-inline-height-m);-webkit-animation:pending .5s linear infinite;animation:pending .5s linear infinite;background:repeating-linear-gradient(-60deg,rgb(var(--aui-color-b-5)),rgb(var(--aui-color-b-5)) var(--aui-spacing-s),rgb(var(--aui-color-b-6)) var(--aui-spacing-s),rgb(var(--aui-color-b-6)) var(--aui-spacing-m))}.aui-status-bar__chunk+.aui-status-bar__chunk{margin-left:var(--aui-spacing-xs)}@-webkit-keyframes pending{0%{transform:translateY(-50%)}to{transform:translateY(0)}}@keyframes pending{0%{transform:translateY(-50%)}to{transform:translateY(0)}}"]
|
|
9560
9560
|
},] }
|
|
9561
9561
|
];
|
|
9562
9562
|
StatusBarComponent.propDecorators = {
|