@alauda/ui 6.2.1-beta.9 → 6.2.1
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.d.ts +21 -20
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +97 -127
- 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/button/button.component.d.ts +0 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/dropdown/dropdown.directive.d.ts +0 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +2 -2
- package/esm2015/alauda-ui.js +22 -21
- package/esm2015/alauda-ui.ngsummary.json +1 -1
- package/esm2015/back-top/back-top.component.ngfactory.js +2 -2
- package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +2 -2
- package/esm2015/button/button.component.js +2 -7
- package/esm2015/button/button.component.ngfactory.js +3 -3
- package/esm2015/button/button.component.ngsummary.json +1 -1
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +1 -1
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +1 -1
- package/esm2015/checkbox/checkbox.component.js +6 -7
- package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
- package/esm2015/checkbox/checkbox.component.ngsummary.json +1 -1
- package/esm2015/color-picker/color-picker.component.ngfactory.js +1 -1
- package/esm2015/color-picker/color-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +6 -6
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +5 -5
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +9 -9
- package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +3 -3
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +5 -5
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +1 -1
- package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +4 -4
- package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +4 -4
- package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +9 -9
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.js +2 -2
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +5 -5
- package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +2 -2
- package/esm2015/dialog/dialog.component.js +3 -3
- package/esm2015/dialog/dialog.component.ngfactory.js +2 -2
- package/esm2015/dialog/dialog.component.scss.ngstyle.js +1 -1
- package/esm2015/dialog/dialog.module.ngfactory.js +1 -1
- package/esm2015/drawer/component/drawer.component.ngfactory.js +2 -2
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +2 -2
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +3 -3
- package/esm2015/dropdown/dropdown.directive.js +2 -8
- package/esm2015/dropdown/dropdown.directive.ngsummary.json +1 -1
- package/esm2015/dropdown/menu/menu.component.js +1 -1
- package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +1 -1
- package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +2 -2
- package/esm2015/form/common-form.js +4 -12
- package/esm2015/form/common-form.ngsummary.json +1 -1
- package/esm2015/icon/icon.component.js +8 -6
- package/esm2015/icon/icon.component.ngfactory.js +5 -4
- package/esm2015/icon/icon.component.ngsummary.json +1 -1
- package/esm2015/icon/icon.component.scss.ngstyle.js +1 -1
- package/esm2015/icon/icon.module.ngfactory.js +1 -1
- package/esm2015/inline-alert/inline-alert.component.js +2 -2
- package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
- package/esm2015/input/input.component.js +2 -9
- package/esm2015/input/input.component.ngfactory.js +1 -1
- package/esm2015/input/input.component.ngsummary.json +1 -1
- package/esm2015/input/number-input/number-input.component.ngfactory.js +6 -6
- package/esm2015/input/number-input/number-input.component.ngsummary.json +1 -1
- package/esm2015/input/search/search.component.ngfactory.js +6 -6
- package/esm2015/input/tags-input/tags-input.component.js +4 -5
- package/esm2015/input/tags-input/tags-input.component.ngfactory.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.ngsummary.json +1 -1
- package/esm2015/message/message.component.js +2 -2
- package/esm2015/message/message.component.ngfactory.js +2 -2
- package/esm2015/message/message.module.ngfactory.js +1 -1
- package/esm2015/notification/notification.component.js +2 -2
- package/esm2015/notification/notification.component.ngfactory.js +3 -3
- package/esm2015/notification/notification.module.ngfactory.js +1 -1
- package/esm2015/paginator/paginator.component.ngfactory.js +18 -18
- package/esm2015/public-api.ngsummary.json +1 -1
- package/esm2015/radio/base-radio.js +2 -6
- package/esm2015/radio/base-radio.ngsummary.json +1 -1
- package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +3 -3
- package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -1
- package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +1 -1
- package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -1
- package/esm2015/radio/radio.component.ngfactory.js +1 -1
- package/esm2015/radio/radio.component.ngsummary.json +1 -1
- package/esm2015/select/multi-select/multi-select.component.js +5 -6
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +7 -7
- package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -1
- package/esm2015/select/option/option.component.js +2 -6
- package/esm2015/select/option/option.component.ngfactory.js +3 -3
- package/esm2015/select/option/option.component.ngsummary.json +1 -1
- package/esm2015/select/select.component.js +2 -2
- package/esm2015/select/select.component.ngfactory.js +7 -7
- package/esm2015/select/select.component.ngsummary.json +1 -1
- package/esm2015/steps/steps.component.js +1 -1
- package/esm2015/steps/steps.component.ngfactory.js +3 -3
- package/esm2015/steps/steps.component.scss.ngstyle.js +1 -1
- package/esm2015/switch/switch.component.ngfactory.js +1 -1
- package/esm2015/switch/switch.component.ngsummary.json +1 -1
- package/esm2015/table/table-cell.component.ngfactory.js +2 -2
- package/esm2015/tabs/tab-group.component.ngfactory.js +3 -3
- package/esm2015/tabs/tab-header.component.ngfactory.js +3 -3
- package/esm2015/tag/tag.component.ngfactory.js +3 -3
- package/esm2015/theme/color.pipe.js +26 -0
- package/esm2015/theme/color.pipe.ngsummary.json +1 -0
- package/esm2015/theme/theme.module.js +4 -3
- package/esm2015/theme/theme.module.ngfactory.js +1 -1
- package/esm2015/theme/theme.module.ngsummary.json +1 -1
- package/esm2015/time-picker/component.ngfactory.js +8 -8
- package/esm2015/time-picker/component.ngsummary.json +1 -1
- package/esm2015/time-picker/panel/panel.component.js +4 -5
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +5 -5
- package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -1
- package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +4 -4
- package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -5
- package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
- package/esm2015/utils/fn.js +1 -10
- package/esm2015/utils/fn.ngsummary.json +1 -1
- package/esm2015/utils/index.ngsummary.json +1 -1
- package/fesm2015/alauda-ui.js +61 -79
- package/fesm2015/alauda-ui.js.map +1 -1
- package/form/common-form.d.ts +2 -4
- package/icon/icon.component.d.ts +2 -0
- package/input/input.component.d.ts +0 -1
- package/input/tags-input/tags-input.component.d.ts +1 -1
- package/package.json +1 -1
- package/radio/base-radio.d.ts +0 -1
- package/select/multi-select/multi-select.component.d.ts +1 -1
- package/select/option/option.component.d.ts +0 -1
- package/theme/color.pipe.d.ts +10 -0
- package/time-picker/panel/panel.component.d.ts +1 -1
- package/utils/fn.d.ts +0 -1
package/form/common-form.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
4
4
|
/**
|
|
@@ -7,10 +7,8 @@ import { Observable, ReplaySubject } from 'rxjs';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class CommonFormControl<T, V = T> implements ControlValueAccessor {
|
|
9
9
|
protected cdr: ChangeDetectorRef;
|
|
10
|
-
private readonly elementRef;
|
|
11
10
|
get disabled(): boolean | '';
|
|
12
11
|
set disabled(val: boolean | '');
|
|
13
|
-
get testId(): string;
|
|
14
12
|
get readonly(): boolean | "";
|
|
15
13
|
set readonly(val: boolean | "");
|
|
16
14
|
get propValue(): T;
|
|
@@ -25,7 +23,7 @@ export declare class CommonFormControl<T, V = T> implements ControlValueAccessor
|
|
|
25
23
|
value: V;
|
|
26
24
|
};
|
|
27
25
|
value$: Observable<V>;
|
|
28
|
-
constructor(cdr: ChangeDetectorRef
|
|
26
|
+
constructor(cdr: ChangeDetectorRef);
|
|
29
27
|
registerOnChange(fn: (_: T) => void): void;
|
|
30
28
|
registerOnTouched(fn: () => void): void;
|
|
31
29
|
setDisabledState(isDisabled: boolean): void;
|
package/icon/icon.component.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { BehaviorSubject } from 'rxjs';
|
|
|
3
3
|
export declare class InputComponent {
|
|
4
4
|
elementRef: ElementRef<HTMLInputElement>;
|
|
5
5
|
private readonly renderer;
|
|
6
|
-
get testId(): string;
|
|
7
6
|
get size(): import("../types").ValueOf<{
|
|
8
7
|
readonly Large: "large";
|
|
9
8
|
readonly Medium: "medium";
|
|
@@ -40,7 +40,7 @@ export declare class TagsInputComponent extends CommonFormControl<string[]> impl
|
|
|
40
40
|
get rootClass(): string;
|
|
41
41
|
get tagSize(): "medium" | "mini";
|
|
42
42
|
get inputClass(): string;
|
|
43
|
-
constructor(cdr: ChangeDetectorRef, fb: FormBuilder, renderer: Renderer2, injector: Injector
|
|
43
|
+
constructor(cdr: ChangeDetectorRef, fb: FormBuilder, renderer: Renderer2, injector: Injector);
|
|
44
44
|
ngOnChanges({ inputValidator, inputAsyncValidator, disabled, }: SimpleChanges): void;
|
|
45
45
|
ngAfterViewInit(): void;
|
|
46
46
|
writeValue(val: string[]): void;
|
package/package.json
CHANGED
package/radio/base-radio.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare class MultiSelectComponent<T = unknown> extends BaseSelect<T, T[]
|
|
|
33
33
|
private readonly withMaxRowCount;
|
|
34
34
|
focused: boolean;
|
|
35
35
|
trackByValue: (_: number, item: SelectFilterOption<T>) => unknown;
|
|
36
|
-
constructor(cdr: ChangeDetectorRef, renderer: Renderer2
|
|
36
|
+
constructor(cdr: ChangeDetectorRef, renderer: Renderer2);
|
|
37
37
|
ngAfterContentInit(): void;
|
|
38
38
|
ngAfterViewInit(): void;
|
|
39
39
|
onShowOptions(): void;
|
|
@@ -14,7 +14,6 @@ export declare class OptionComponent<T> {
|
|
|
14
14
|
private readonly value$$;
|
|
15
15
|
get label(): string | TemplateRef<unknown>;
|
|
16
16
|
set label(val: string | TemplateRef<unknown>);
|
|
17
|
-
get testId(): string;
|
|
18
17
|
get labelContext(): unknown;
|
|
19
18
|
set labelContext(val: unknown);
|
|
20
19
|
get value(): T;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class RgbColorPipe implements PipeTransform {
|
|
3
|
+
transform(color: string): string;
|
|
4
|
+
}
|
|
5
|
+
export declare class RgbaColorPipe implements PipeTransform {
|
|
6
|
+
transform([color, opacity]: [string, number]): string;
|
|
7
|
+
}
|
|
8
|
+
export declare class CssVarPipe implements PipeTransform {
|
|
9
|
+
transform(value: string): string;
|
|
10
|
+
}
|
|
@@ -37,7 +37,7 @@ export declare class TimePickerPanelComponent extends CommonFormControl<Dayjs> i
|
|
|
37
37
|
secondRef: ElementRef<HTMLElement>;
|
|
38
38
|
enabledColumns: number;
|
|
39
39
|
firstScrolled: boolean;
|
|
40
|
-
constructor(cdr: ChangeDetectorRef
|
|
40
|
+
constructor(cdr: ChangeDetectorRef);
|
|
41
41
|
isDisabled(value: number, type: TimePickerControlType): boolean;
|
|
42
42
|
ngOnChanges({ hourStep, minuteStep, secondStep }: SimpleChanges): void;
|
|
43
43
|
writeValue(value: Dayjs): void;
|
package/utils/fn.d.ts
CHANGED
|
@@ -3,4 +3,3 @@ export declare function isUndefined(val: unknown): boolean;
|
|
|
3
3
|
export declare const last: <T>(values: T[]) => T;
|
|
4
4
|
export declare const isTemplateRef: (label: string | TemplateRef<unknown>) => label is TemplateRef<unknown>;
|
|
5
5
|
export declare const handlePixel: (value: number | string) => string;
|
|
6
|
-
export declare const simplifyStringToTestId: (input: string) => string;
|