@noatgnu/cupcake-vanilla 1.3.3 → 1.3.4
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/index.d.ts
CHANGED
|
@@ -2624,12 +2624,15 @@ declare class ColumnTemplates implements OnInit {
|
|
|
2624
2624
|
declare class ColumnTemplateEditModal implements OnInit {
|
|
2625
2625
|
private fb;
|
|
2626
2626
|
private activeModal;
|
|
2627
|
+
private templateService;
|
|
2628
|
+
private ontologySearchService;
|
|
2627
2629
|
template: MetadataColumnTemplate | null;
|
|
2628
2630
|
labGroups: LabGroup[];
|
|
2629
2631
|
isEdit: boolean;
|
|
2630
2632
|
templateSaved: EventEmitter<Partial<MetadataColumnTemplate>>;
|
|
2631
2633
|
editForm: FormGroup;
|
|
2632
2634
|
isLoading: _angular_core.WritableSignal<boolean>;
|
|
2635
|
+
isLoadingSuggestions: _angular_core.WritableSignal<boolean>;
|
|
2633
2636
|
Object: ObjectConstructor;
|
|
2634
2637
|
columnTypes: ColumnTypeConfig[];
|
|
2635
2638
|
visibilityOptions: {
|
|
@@ -2637,10 +2640,12 @@ declare class ColumnTemplateEditModal implements OnInit {
|
|
|
2637
2640
|
label: string;
|
|
2638
2641
|
}[];
|
|
2639
2642
|
ontologyTypes: OntologyTypeConfig[];
|
|
2640
|
-
constructor(fb: FormBuilder, activeModal: NgbActiveModal);
|
|
2643
|
+
constructor(fb: FormBuilder, activeModal: NgbActiveModal, templateService: MetadataColumnTemplateService, ontologySearchService: OntologySearchService);
|
|
2641
2644
|
ngOnInit(): void;
|
|
2642
2645
|
private populateForm;
|
|
2646
|
+
private getOntologyValueForTemplate;
|
|
2643
2647
|
onVisibilityChange(): void;
|
|
2648
|
+
getOptionValue(ontology: OntologyTypeConfig, index: number): string;
|
|
2644
2649
|
onOntologyTypeChange(): void;
|
|
2645
2650
|
onSubmit(): void;
|
|
2646
2651
|
private markFormGroupTouched;
|
|
@@ -2649,6 +2654,11 @@ declare class ColumnTemplateEditModal implements OnInit {
|
|
|
2649
2654
|
onClose(): void;
|
|
2650
2655
|
getFieldError(fieldName: string): string;
|
|
2651
2656
|
get title(): string;
|
|
2657
|
+
get hasOntologyType(): boolean;
|
|
2658
|
+
searchDefaultValue: (text$: Observable<string>) => Observable<OntologySuggestion[]>;
|
|
2659
|
+
formatSuggestion: (suggestion: OntologySuggestion) => string;
|
|
2660
|
+
inputFormatter: (suggestion: OntologySuggestion) => string;
|
|
2661
|
+
onSuggestionSelected: (event: any) => void;
|
|
2652
2662
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnTemplateEditModal, never>;
|
|
2653
2663
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnTemplateEditModal, "ccv-column-template-edit-modal", never, { "template": { "alias": "template"; "required": false; }; "labGroups": { "alias": "labGroups"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, { "templateSaved": "templateSaved"; }, never, never, true, never>;
|
|
2654
2664
|
}
|
|
@@ -3035,7 +3045,7 @@ interface MetadataColumnAutofillConfig {
|
|
|
3035
3045
|
declare class MetadataColumnAutofillModal implements OnInit {
|
|
3036
3046
|
private activeModal;
|
|
3037
3047
|
config: MetadataColumnAutofillConfig;
|
|
3038
|
-
activeTab: _angular_core.WritableSignal<
|
|
3048
|
+
activeTab: _angular_core.WritableSignal<2 | 1>;
|
|
3039
3049
|
basicConfig: _angular_core.WritableSignal<BasicAutofillConfig | null>;
|
|
3040
3050
|
advancedConfig: _angular_core.WritableSignal<AdvancedAutofillConfig | null>;
|
|
3041
3051
|
constructor(activeModal: NgbActiveModal);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noatgnu/cupcake-vanilla",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "An extension for cupcake-core that provides additional api and interfaces for facility to manage and compose metadata.",
|
|
5
5
|
"author": "Toan Phung",
|
|
6
6
|
"license": "MIT",
|