@alauda/ui 6.1.4-beta.1 → 6.1.5-beta.0
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 +15 -25
- 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/date-picker/calendar/util.d.ts +9 -9
- package/esm2015/card/section.component.js +1 -1
- package/esm2015/card/section.component.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/util.js +1 -1
- package/esm2015/date-picker/date-picker.module.js +6 -2
- package/esm2015/steps/steps.module.js +2 -2
- package/esm2015/table/table.component.js +4 -8
- package/esm2015/time-picker/component.js +3 -2
- package/esm2015/time-picker/time-picker.module.js +6 -2
- package/fesm2015/alauda-ui.js +16 -20
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +7 -7
- package/table/table.component.d.ts +1 -2
- package/time-picker/component.d.ts +3 -2
package/bundles/alauda-ui.umd.js
CHANGED
|
@@ -1071,20 +1071,10 @@
|
|
|
1071
1071
|
var TableComponent = /** @class */ (function (_super) {
|
|
1072
1072
|
__extends(TableComponent, _super);
|
|
1073
1073
|
function TableComponent() {
|
|
1074
|
-
|
|
1074
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
1075
|
+
_this.stickyCssClass = 'aui-table-sticky';
|
|
1076
|
+
return _this;
|
|
1075
1077
|
}
|
|
1076
|
-
Object.defineProperty(TableComponent.prototype, "stickyCssClass", {
|
|
1077
|
-
// FIXME: workaround to override because it will break constructor if it is field, but why MatTable works?
|
|
1078
|
-
// @ts-expect-error
|
|
1079
|
-
get: function () {
|
|
1080
|
-
return 'aui-table-sticky';
|
|
1081
|
-
},
|
|
1082
|
-
set: function (_stickyCssClass) {
|
|
1083
|
-
//
|
|
1084
|
-
},
|
|
1085
|
-
enumerable: false,
|
|
1086
|
-
configurable: true
|
|
1087
|
-
});
|
|
1088
1078
|
TableComponent.prototype.ngAfterContentInit = function () {
|
|
1089
1079
|
this._createPlaceholder();
|
|
1090
1080
|
};
|
|
@@ -2419,7 +2409,7 @@
|
|
|
2419
2409
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2420
2410
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2421
2411
|
preserveWhitespaces: false,
|
|
2422
|
-
styles: [".aui-section{padding:var(--aui-spacing-xl) 0;font-size:var(--aui-font-size-m)}.aui-section__title{margin-bottom:var(--aui-spacing-
|
|
2412
|
+
styles: [".aui-section{padding:var(--aui-spacing-xl) 0;font-size:var(--aui-font-size-m)}.aui-section__title{margin-bottom:var(--aui-spacing-l);font-size:var(--aui-font-size-l);font-weight:var(--aui-font-weight-bold)}aui-section:first-child>.aui-section{padding-top:0}aui-section:last-child>.aui-section{padding-bottom:0}"]
|
|
2423
2413
|
},] }
|
|
2424
2414
|
];
|
|
2425
2415
|
|
|
@@ -10677,6 +10667,17 @@
|
|
|
10677
10667
|
return !a ? b : !b ? a : a.isAfter(b, unit) ? a : b;
|
|
10678
10668
|
}
|
|
10679
10669
|
|
|
10670
|
+
(function (TimePickerControlType) {
|
|
10671
|
+
TimePickerControlType["Hour"] = "hour";
|
|
10672
|
+
TimePickerControlType["Minute"] = "minute";
|
|
10673
|
+
TimePickerControlType["Second"] = "second";
|
|
10674
|
+
})(exports.TimePickerControlType || (exports.TimePickerControlType = {}));
|
|
10675
|
+
function isTimePickerModel(item) {
|
|
10676
|
+
return (_isNumberValue(item === null || item === void 0 ? void 0 : item.second) &&
|
|
10677
|
+
_isNumberValue(item === null || item === void 0 ? void 0 : item.minute) &&
|
|
10678
|
+
_isNumberValue(item === null || item === void 0 ? void 0 : item.hour));
|
|
10679
|
+
}
|
|
10680
|
+
|
|
10680
10681
|
dayjs__default['default'].extend(customParseFormat__default['default']);
|
|
10681
10682
|
var bem$3 = buildBem('aui-time-picker');
|
|
10682
10683
|
var TimePickerComponent = /** @class */ (function (_super) {
|
|
@@ -10822,17 +10823,6 @@
|
|
|
10822
10823
|
var SECOND_ITEMS = Array.from({ length: 60 }).map(ɵ2);
|
|
10823
10824
|
var CONTROL_ITEM_HEIGHT = 28;
|
|
10824
10825
|
|
|
10825
|
-
(function (TimePickerControlType) {
|
|
10826
|
-
TimePickerControlType["Hour"] = "hour";
|
|
10827
|
-
TimePickerControlType["Minute"] = "minute";
|
|
10828
|
-
TimePickerControlType["Second"] = "second";
|
|
10829
|
-
})(exports.TimePickerControlType || (exports.TimePickerControlType = {}));
|
|
10830
|
-
function isTimePickerModel(item) {
|
|
10831
|
-
return (_isNumberValue(item === null || item === void 0 ? void 0 : item.second) &&
|
|
10832
|
-
_isNumberValue(item === null || item === void 0 ? void 0 : item.minute) &&
|
|
10833
|
-
_isNumberValue(item === null || item === void 0 ? void 0 : item.hour));
|
|
10834
|
-
}
|
|
10835
|
-
|
|
10836
10826
|
var TIME_PICKER_COLUMN_WIDTH = 80;
|
|
10837
10827
|
var bem$4 = buildBem('aui-time-picker-panel');
|
|
10838
10828
|
var TimePickerPanelComponent = /** @class */ (function (_super) {
|