@ardium-ui/ui 3.3.0-alpha.5 → 3.3.0-alpha.6
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/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +5 -2
- package/esm2022/lib/_internal/selectable-list-component.mjs +4 -4
- package/esm2022/lib/segment/segment.component.mjs +26 -4
- package/fesm2022/ardium-ui-ui.mjs +27 -4
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/_internal/item-storages/simple-item-storage.d.ts +1 -0
- package/lib/_internal/selectable-list-component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export interface SimpleItemStorageHost {
|
|
|
17
17
|
readonly isValueRequired: Signal<boolean>;
|
|
18
18
|
readonly maxSelectedItems: Signal<Nullable<number>>;
|
|
19
19
|
readonly _componentId: string;
|
|
20
|
+
readonly _componentName: string;
|
|
20
21
|
}
|
|
21
22
|
export declare class SimpleItemStorage {
|
|
22
23
|
private readonly _ardParentComp;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import { ArdOptionSimple, CompareWithFn, OptionContext } from '../types/item-storage.types';
|
|
3
3
|
import { Nullable } from '../types/utility.types';
|
|
4
|
+
import { _FormFieldComponentBase, _FormFieldComponentDefaults } from './form-field-component';
|
|
4
5
|
import { SimpleItemStorage, SimpleItemStorageHost } from './item-storages/simple-item-storage';
|
|
5
|
-
import { _NgModelComponentBase, _NgModelComponentDefaults } from './ngmodel-component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export interface _SelectableListComponentDefaults extends
|
|
7
|
+
export interface _SelectableListComponentDefaults extends _FormFieldComponentDefaults {
|
|
8
8
|
valueFrom: string;
|
|
9
9
|
labelFrom: string;
|
|
10
10
|
disabledFrom: string;
|
|
@@ -15,7 +15,7 @@ export interface _SelectableListComponentDefaults extends _NgModelComponentDefau
|
|
|
15
15
|
maxSelectedItems: Nullable<number>;
|
|
16
16
|
}
|
|
17
17
|
export declare const _selectableListComponentDefaults: _SelectableListComponentDefaults;
|
|
18
|
-
export declare abstract class _SelectableListComponentBase extends
|
|
18
|
+
export declare abstract class _SelectableListComponentBase extends _FormFieldComponentBase implements ControlValueAccessor, SimpleItemStorageHost {
|
|
19
19
|
protected readonly _DEFAULTS: _SelectableListComponentDefaults;
|
|
20
20
|
readonly itemStorage: SimpleItemStorage;
|
|
21
21
|
readonly element: HTMLElement;
|