@omnia/workplace 6.6.16-dev → 6.6.17-dev
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.
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ApiPath, BlockSettings, EnterpriseGlossaryInformationProviderId, EnterpriseGlossaryInformationSourceSettings, GuidValue, IBlockInstance, MultilingualString, SpacingSettings, ThemeDefinition } from "@omnia/fx/models";
|
|
2
|
-
import {
|
|
3
|
-
import { IVueComponentBase } from "@omnia/fx/internal-do-not-import-from-here/ux/VueComponentBase";
|
|
2
|
+
import { VueComponentBase } from '@omnia/fx/ux';
|
|
4
3
|
export interface TaxonomyNavigationQuerySettings {
|
|
5
4
|
enterpriseGlossaryInstanceId: number;
|
|
6
5
|
}
|
|
7
|
-
|
|
6
|
+
export interface TaxonomyCardStyle {
|
|
8
7
|
theming: ThemeDefinition;
|
|
9
8
|
width: number;
|
|
10
9
|
spacing: SpacingSettings;
|
|
11
|
-
}
|
|
10
|
+
}
|
|
12
11
|
export interface TaxonomyNavigationSelectionViewSettings {
|
|
13
12
|
cardStyle: TaxonomyCardStyle;
|
|
14
13
|
}
|
|
@@ -16,6 +15,7 @@ export interface TaxonomyNavigationViewSettings {
|
|
|
16
15
|
numberOfParentLevels: number;
|
|
17
16
|
numberOfChildrensLimit: number;
|
|
18
17
|
showTaxonomyName: boolean;
|
|
18
|
+
lineColor: string;
|
|
19
19
|
defaultView: TaxonomyNavigationSelectionViewSettings;
|
|
20
20
|
currentView: TaxonomyNavigationSelectionViewSettings;
|
|
21
21
|
}
|
|
@@ -30,11 +30,6 @@ export interface TaxonomyNavigationBlockSettings<TQuery extends TaxonomyNavigati
|
|
|
30
30
|
borderColor: string;
|
|
31
31
|
spacing: SpacingSettings;
|
|
32
32
|
title: MultilingualString;
|
|
33
|
-
cardStyle: {
|
|
34
|
-
theming: ThemeDefinition;
|
|
35
|
-
width: number;
|
|
36
|
-
spacing: SpacingSettings;
|
|
37
|
-
};
|
|
38
33
|
query: TQuery;
|
|
39
34
|
view: TView;
|
|
40
35
|
provider: EnterpriseGlossaryTaxonomyNavigationSettingsProvider;
|
|
@@ -45,13 +40,12 @@ export interface ITaxonomyNavigationRegistration {
|
|
|
45
40
|
}
|
|
46
41
|
export interface ITaxonomyNavigationSettingsProvider<TQuery extends TaxonomyNavigationQuerySettings = TaxonomyNavigationQuerySettings, TView extends TaxonomyNavigationViewSettings = TaxonomyNavigationViewSettings> {
|
|
47
42
|
provider: EnterpriseGlossaryTaxonomyNavigationSettingsProvider;
|
|
48
|
-
renderQuerySettings?: (settings: TQuery, omponentRef:
|
|
49
|
-
renderViewSettings?: (settings: TView, omponentRef:
|
|
43
|
+
renderQuerySettings?: (settings: TQuery, omponentRef: VueComponentBase) => JSX.Element;
|
|
44
|
+
renderViewSettings?: (settings: TView, omponentRef: VueComponentBase) => JSX.Element;
|
|
50
45
|
}
|
|
51
46
|
export declare abstract class TaxonomyNavigationDisplayProviderBase<TQuery extends TaxonomyNavigationQuerySettings = TaxonomyNavigationQuerySettings, TView extends TaxonomyNavigationViewSettings = TaxonomyNavigationViewSettings> {
|
|
52
47
|
provider: EnterpriseGlossaryTaxonomyNavigationDisplayProvider;
|
|
53
|
-
abstract
|
|
54
|
-
abstract triggered(renderingCallBack: (element: TaxonomyNavigationDisplayProviderRenderResult) => void): void;
|
|
48
|
+
abstract triggered(settings: TaxonomyNavigationBlockSettings<TQuery, TView>, blockInstance: IBlockInstance<TaxonomyNavigationBlockSettings<TQuery, TView>>, componentRef: VueComponentBase, renderingCallBack: (element: TaxonomyNavigationDisplayProviderRenderResult) => void): void;
|
|
55
49
|
abstract dispose(): void;
|
|
56
50
|
}
|
|
57
51
|
export declare type TaxonomyNavigationDisplayProviderRenderResult = {
|
|
@@ -77,4 +71,3 @@ declare module './WorkplaceApi' {
|
|
|
77
71
|
};
|
|
78
72
|
}
|
|
79
73
|
}
|
|
80
|
-
export {};
|