@alauda/ui 6.1.4 → 6.1.5-beta.2
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 +87 -93
- 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/accordion/accordion-item/accordion-item.component.js +1 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.scss.ngstyle.js +1 -1
- package/esm2015/card/section.component.js +1 -1
- package/esm2015/card/section.component.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.js +3 -3
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +3 -3
- package/esm2015/date-picker/calendar/date-picker-panel/style.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/range-picker-panel/component.js +3 -3
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +4 -4
- package/esm2015/date-picker/calendar/range-picker-panel/style.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/date-picker/trigger/trigger.component.js +1 -1
- package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +1 -1
- package/esm2015/input/number-input/number-input.component.js +1 -1
- package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +1 -1
- package/esm2015/select/multi-select/multi-select.component.js +3 -3
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +25 -26
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/select.component.js +2 -2
- package/esm2015/select/select.component.ngfactory.js +32 -33
- package/esm2015/select/select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/select.module.ngfactory.js +1 -1
- package/esm2015/steps/steps.module.js +2 -2
- package/esm2015/table/table.component.js +4 -8
- package/esm2015/time-picker/component.js +42 -31
- package/esm2015/time-picker/component.ngfactory.js +51 -58
- package/esm2015/time-picker/component.ngsummary.json +1 -1
- package/esm2015/time-picker/panel/panel.component.js +3 -3
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +2 -2
- package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +1 -1
- package/esm2015/time-picker/style.scss.ngstyle.js +1 -1
- package/esm2015/time-picker/time-picker.module.js +6 -2
- package/esm2015/time-picker/time-picker.module.ngfactory.js +1 -1
- package/esm2015/time-picker/time-picker.type.js +1 -1
- package/esm2015/tree-select/tree-select.component.js +6 -9
- package/esm2015/tree-select/tree-select.component.ngfactory.js +28 -29
- package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
- package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +1 -1
- package/esm2015/tree-select/tree-select.module.ngfactory.js +1 -1
- package/fesm2015/alauda-ui.js +84 -80
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +7 -7
- package/table/table.component.d.ts +1 -2
- package/theme/_mixin.scss +35 -0
- package/time-picker/component.d.ts +10 -11
- package/time-picker/time-picker.type.d.ts +3 -3
- package/tree-select/tree-select.component.d.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda/ui",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.5-beta.2",
|
|
4
4
|
"description": "Angular UI components by Alauda Frontend Team.",
|
|
5
5
|
"repository": "git+https://github.com/alauda/alauda-ui.git",
|
|
6
6
|
"author": "Alauda Frontend",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"ui"
|
|
17
17
|
],
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "
|
|
20
|
-
"@angular/cdk": "
|
|
21
|
-
"@angular/common": "
|
|
22
|
-
"@angular/core": "
|
|
23
|
-
"@angular/forms": "
|
|
24
|
-
"@angular/platform-browser": "
|
|
19
|
+
"@angular/animations": ">=11.0.0",
|
|
20
|
+
"@angular/cdk": ">=11.2.0",
|
|
21
|
+
"@angular/common": ">=11.0.0",
|
|
22
|
+
"@angular/core": ">=11.0.0",
|
|
23
|
+
"@angular/forms": ">=11.0.0",
|
|
24
|
+
"@angular/platform-browser": ">=11.0.0",
|
|
25
25
|
"clipboard-polyfill": "^3.0.0",
|
|
26
26
|
"dayjs": "^1.0.0",
|
|
27
27
|
"rxjs": "^6.0.0"
|
|
@@ -5,8 +5,7 @@ export declare class TableComponent<T> extends CdkTable<T> implements AfterConte
|
|
|
5
5
|
enableScrollWrapper: boolean;
|
|
6
6
|
_placeholderOutlet: TablePlaceholderOutlet;
|
|
7
7
|
_placeholderDef: TablePlaceholderDefDirective;
|
|
8
|
-
protected
|
|
9
|
-
protected set stickyCssClass(_stickyCssClass: string);
|
|
8
|
+
protected stickyCssClass: string;
|
|
10
9
|
ngAfterContentInit(): void;
|
|
11
10
|
private _createPlaceholder;
|
|
12
11
|
private _clearPlaceholder;
|
package/theme/_mixin.scss
CHANGED
|
@@ -98,6 +98,41 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
@mixin input-field-indicator() {
|
|
102
|
+
&__icon-container {
|
|
103
|
+
display: block;
|
|
104
|
+
position: relative;
|
|
105
|
+
color: get-color(n-4);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__clear {
|
|
109
|
+
display: none;
|
|
110
|
+
|
|
111
|
+
.aui-icon {
|
|
112
|
+
@include clear-button;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.isClearable:not(.isDisabled):hover & {
|
|
117
|
+
&__indicator {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__clear {
|
|
122
|
+
display: flex;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@mixin input-error() {
|
|
128
|
+
border-color: get-color(red) !important;
|
|
129
|
+
|
|
130
|
+
&:focus,
|
|
131
|
+
&.isFocused {
|
|
132
|
+
@include outline-shadow(red);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
101
136
|
@mixin expand-button() {
|
|
102
137
|
display: inline-flex;
|
|
103
138
|
justify-content: center;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Dayjs } from 'dayjs';
|
|
3
3
|
import { CommonFormControl } from '../form/common-form';
|
|
4
|
-
import {
|
|
4
|
+
import { TooltipDirective } from '../tooltip/public-api';
|
|
5
5
|
import { ComponentSize } from '../types';
|
|
6
|
+
import { TimePickerDataLike, TimePickerModel } from './time-picker.type';
|
|
6
7
|
export declare class TimePickerComponent extends CommonFormControl<TimePickerDataLike, TimePickerModel> {
|
|
7
8
|
format: string;
|
|
8
9
|
size: ComponentSize;
|
|
@@ -16,21 +17,19 @@ export declare class TimePickerComponent extends CommonFormControl<TimePickerDat
|
|
|
16
17
|
minuteStep: number;
|
|
17
18
|
secondStep: number;
|
|
18
19
|
footerTemplate: TemplateRef<void>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
readonly open: EventEmitter<void>;
|
|
21
|
+
readonly close: EventEmitter<void>;
|
|
22
|
+
tooltipRef: TooltipDirective;
|
|
22
23
|
timeValue: Dayjs;
|
|
23
24
|
timeFormatValue: string;
|
|
24
|
-
focused: boolean;
|
|
25
|
-
hovered: boolean;
|
|
26
|
-
bem: import("../public-api").Bem;
|
|
27
|
-
get rootClass(): string;
|
|
28
25
|
writeValue(value: TimePickerDataLike): void;
|
|
29
26
|
setValue(value: Dayjs): void;
|
|
30
27
|
changeFromPanel(value: Dayjs): void;
|
|
31
28
|
changeFromInput(source: string): void;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
30
|
+
onBlur(): void;
|
|
31
|
+
openPanel(): void;
|
|
32
|
+
closePanel(): void;
|
|
33
|
+
clearValue(event: Event): void;
|
|
35
34
|
submit(close?: boolean, value?: Dayjs): void;
|
|
36
35
|
}
|
|
@@ -5,9 +5,9 @@ export declare enum TimePickerControlType {
|
|
|
5
5
|
Second = "second"
|
|
6
6
|
}
|
|
7
7
|
export interface TimePickerModel {
|
|
8
|
-
hour
|
|
9
|
-
minute
|
|
10
|
-
second
|
|
8
|
+
hour?: number;
|
|
9
|
+
minute?: number;
|
|
10
|
+
second?: number;
|
|
11
11
|
}
|
|
12
12
|
export declare type TimePickerDataLike = ConfigType | TimePickerModel;
|
|
13
13
|
export declare function isTimePickerModel(item: any): item is TimePickerModel;
|
|
@@ -37,11 +37,11 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
|
|
|
37
37
|
containerWidth: string;
|
|
38
38
|
displayText: string;
|
|
39
39
|
flattedNodes: Array<TreeNode<T>>;
|
|
40
|
+
get isClearable(): string;
|
|
40
41
|
get opened(): boolean;
|
|
41
42
|
get inputReadonly(): boolean;
|
|
42
43
|
get filterString(): string;
|
|
43
44
|
set filterString(val: string);
|
|
44
|
-
get rootClass(): string;
|
|
45
45
|
openNodes(): void;
|
|
46
46
|
closeNodes(): void;
|
|
47
47
|
updatePosition(): void;
|
|
@@ -58,7 +58,6 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
|
|
|
58
58
|
writeValue(value: T): void;
|
|
59
59
|
getPlaceholder(): string;
|
|
60
60
|
getInputValue(): string;
|
|
61
|
-
displayClearable(): string;
|
|
62
61
|
trackByLabel: (_: number, node: TreeNode<T>) => string;
|
|
63
62
|
private flatNodesData;
|
|
64
63
|
private getLabelFromNode;
|