ui-core-abv 0.4.4 → 0.4.7
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.
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonColor } from '../button/button.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type selectId = UicTagData[];
|
|
5
|
+
declare const base: abstract new () => {
|
|
6
|
+
value: selectId;
|
|
7
|
+
valueChange: EventEmitter<selectId>;
|
|
8
|
+
onChange: (value: selectId) => void;
|
|
9
|
+
onTouched: () => void;
|
|
10
|
+
writeValue(obj: selectId): void;
|
|
11
|
+
registerOnChange(fn: any): void;
|
|
12
|
+
registerOnTouched(fn: any): void;
|
|
13
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
14
|
+
notifyChange(value: selectId): void;
|
|
15
|
+
};
|
|
16
|
+
export declare class UicTagSelectorComponent extends base {
|
|
17
|
+
icon: string;
|
|
18
|
+
iconColor: ButtonColor;
|
|
19
|
+
label: string;
|
|
20
|
+
error: string;
|
|
21
|
+
tip: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
buttonText: string;
|
|
26
|
+
predefinedTitle: string;
|
|
27
|
+
newTagTitle: string;
|
|
28
|
+
predefinedLabels: UicTagData[];
|
|
29
|
+
selectedTags: UicTagData[];
|
|
30
|
+
filterText: string;
|
|
31
|
+
newTagLabel: string;
|
|
32
|
+
filterArray: UicTagData[];
|
|
33
|
+
filter(): void;
|
|
34
|
+
select(tag: UicTagData): void;
|
|
35
|
+
removeTag(tag: UicTagData): void;
|
|
36
|
+
createTag(): void;
|
|
37
|
+
isSelected(name: string): boolean;
|
|
38
|
+
writeValue(value: UicTagData[] | null | undefined): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTagSelectorComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicTagSelectorComponent, "ui-tag-selector", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "predefinedTitle": { "alias": "predefinedTitle"; "required": false; }; "newTagTitle": { "alias": "newTagTitle"; "required": false; }; "predefinedLabels": { "alias": "predefinedLabels"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
export interface UicTagData {
|
|
43
|
+
id: number;
|
|
44
|
+
name: string;
|
|
45
|
+
color: string;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './lib/components/work-panel/work-panel.component';
|
|
|
32
32
|
export * from './lib/components/overlay-card/overlay-card.component';
|
|
33
33
|
export * from './lib/components/accordion/accordion.component';
|
|
34
34
|
export * from './lib/components/pool-options/pool-options.component';
|
|
35
|
+
export * from './lib/components/tag-selector/tag-selector.component';
|
|
35
36
|
export * from './lib/animations/animatios.index';
|
|
36
37
|
export * from './lib/components/dynamic-form/form.models';
|
|
37
38
|
export * from './lib/services/modal.service';
|