@omnia/fx-models 8.0.52-dev → 8.0.53-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.
package/FilterEngineStyles.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
|
-
import { ITheming } from "../ux";
|
|
3
2
|
import { NestedCSSPropertiesExtends } from "./ux";
|
|
4
3
|
import { SpacingSettings } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
5
4
|
export declare const FilterEngineStyles: {
|
|
@@ -11,15 +10,14 @@ export declare const FilterEngineStyles: {
|
|
|
11
10
|
slimListScrollbar: types.NestedCSSProperties;
|
|
12
11
|
dropdownMenuActivator: (hasDefaultStyling: boolean) => types.NestedCSSProperties;
|
|
13
12
|
nodeLevelIndentation: (nodeLevel: number) => types.NestedCSSProperties;
|
|
14
|
-
textDefaultStyle: (dark: boolean) => types.NestedCSSProperties;
|
|
15
13
|
avatarStyle: types.NestedCSSProperties;
|
|
16
14
|
avatarOptionStyle: types.NestedCSSProperties;
|
|
17
15
|
searchBoxDefaultStyle: types.NestedCSSProperties;
|
|
18
16
|
searchValueBoxDefaultStyle: types.NestedCSSProperties;
|
|
19
17
|
searchTextColor: types.NestedCSSProperties;
|
|
20
18
|
treeNodeText: (isSelected: boolean) => types.NestedCSSProperties;
|
|
21
|
-
treeNodeResultCount: (
|
|
22
|
-
dialogContent:
|
|
19
|
+
treeNodeResultCount: (isSelected: boolean) => types.NestedCSSProperties;
|
|
20
|
+
dialogContent: types.NestedCSSProperties;
|
|
23
21
|
popUpDialogButton: types.NestedCSSProperties;
|
|
24
22
|
panelDialogButton: types.NestedCSSProperties;
|
|
25
23
|
mainSection: (maxWidth: number) => types.NestedCSSProperties;
|
|
@@ -29,28 +27,21 @@ export declare const FilterEngineStyles: {
|
|
|
29
27
|
panelDialog: types.NestedCSSProperties;
|
|
30
28
|
fullscreenScrollableFilterArea: types.NestedCSSProperties;
|
|
31
29
|
closePropertyPanelButton: types.NestedCSSProperties;
|
|
32
|
-
reactiveContentColor: (isDark: boolean) => types.NestedCSSProperties;
|
|
33
30
|
invisible: types.NestedCSSProperties;
|
|
34
|
-
|
|
35
|
-
reactiveVuetifyFilledTextFieldStyles: (isDark: boolean, alternateColor?: boolean) => types.NestedCSSProperties;
|
|
36
|
-
reactiveVuetifyOutlinedTextFieldStyles: (isDark: boolean) => types.NestedCSSProperties;
|
|
31
|
+
vuetifyOutlinedTextFieldStyles: types.NestedCSSProperties;
|
|
37
32
|
vuetifyRoundedTextFieldStyles: types.NestedCSSProperties;
|
|
38
33
|
headerTextStyle: types.NestedCSSProperties;
|
|
39
|
-
|
|
40
|
-
chipBackgroundColor: (backgroundColor: string, outlinedStyling: boolean, moreTransparent?: boolean) => types.NestedCSSProperties;
|
|
34
|
+
vuetifyUnderlinedTextField: types.NestedCSSProperties;
|
|
41
35
|
chipBorder: (backgroundColor: string) => types.NestedCSSProperties;
|
|
42
36
|
transparentBackground: types.NestedCSSProperties;
|
|
43
37
|
headerFontStyles: types.NestedCSSProperties;
|
|
44
38
|
listItemFontStyles: types.NestedCSSProperties;
|
|
45
39
|
expansionPanelContentWrapper: (hasDefaultStyling: boolean) => types.NestedCSSProperties;
|
|
46
|
-
listItemSpacingStyles:
|
|
40
|
+
listItemSpacingStyles: types.NestedCSSProperties;
|
|
47
41
|
textFieldSpacingStyles: types.NestedCSSProperties;
|
|
48
42
|
chipItemFontStyles: types.NestedCSSProperties;
|
|
49
|
-
reactiveResultCountBackgroundColor: (isDark: boolean) => types.NestedCSSProperties;
|
|
50
|
-
reactiveOpacity: (isDark: boolean) => types.NestedCSSProperties;
|
|
51
43
|
smallerExpansionPanelHeader: types.NestedCSSProperties;
|
|
52
|
-
|
|
53
|
-
reactiveHighlightedBorder: (isDark: boolean) => types.NestedCSSProperties;
|
|
44
|
+
highlightedBorder: types.NestedCSSProperties;
|
|
54
45
|
scrollableListContent: types.NestedCSSProperties;
|
|
55
46
|
getPaddingStyle?: (spacing: SpacingSettings, skip?: {
|
|
56
47
|
top?: boolean;
|
package/filterengine/Shared.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GuidValue } from "../../shared";
|
|
2
2
|
import { EnterprisePropertyDefinition } from "../enterprise-properties";
|
|
3
|
-
import { PropertyIndexedType, UserPickingType } from "../Enums";
|
|
3
|
+
import { PrincipalTypes, PropertyIndexedType, UserPickingType } from "../Enums";
|
|
4
4
|
import { Identity } from "../identities";
|
|
5
5
|
import { PromotedTagOptions } from "../PromotedTagOptions";
|
|
6
6
|
import { FilterLogicalOperator, FilterOperator } from "../QueryFilter";
|
|
@@ -20,8 +20,7 @@ export declare enum FilterEngineDefaultPosition {
|
|
|
20
20
|
}
|
|
21
21
|
export declare enum FilterEngineChipColorType {
|
|
22
22
|
Default = 0,
|
|
23
|
-
EnterpriseGlossary = 1
|
|
24
|
-
Custom = 2
|
|
23
|
+
EnterpriseGlossary = 1
|
|
25
24
|
}
|
|
26
25
|
export declare enum FilterEngineBooleanOption {
|
|
27
26
|
No = 0,
|
|
@@ -90,6 +89,16 @@ export interface FilterEngineContextProperty {
|
|
|
90
89
|
type: BaseFilterEnginePropertyType;
|
|
91
90
|
inheritFromType?: GuidValue;
|
|
92
91
|
}
|
|
92
|
+
export interface FilterEngineIdentityType {
|
|
93
|
+
identityType: PrincipalTypes;
|
|
94
|
+
}
|
|
95
|
+
export interface FilterEnginePropertyRendererProps<T extends ITypedFilterEngineHandler> {
|
|
96
|
+
typedHandler: T;
|
|
97
|
+
}
|
|
98
|
+
export interface FilterEnginePropertySelectionsAreaProps<T extends ITypedFilterEngineHandler> {
|
|
99
|
+
typedHandler: T;
|
|
100
|
+
visibleSelectionsCount: number;
|
|
101
|
+
}
|
|
93
102
|
export interface FilterEngineContextPropertyDefinition {
|
|
94
103
|
typedHandler: new (property: any, defaultRouterValue: any, isRefinable: boolean, hasFilterState: boolean, enterpriseProperty: EnterprisePropertyDefinition) => ITypedFilterEngineHandler;
|
|
95
104
|
propertyRendererManifestId: GuidValue;
|
|
@@ -100,6 +109,47 @@ export interface FilterEngineContextPropertyDefinition {
|
|
|
100
109
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
101
110
|
}) => void;
|
|
102
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Implementation only props interface, used for default value input component
|
|
114
|
+
*/
|
|
115
|
+
export type FilterEnginePersonPropertyDefaultValueInputImplProps = FilterEnginePropertyDefaultValueInputImplProps<PersonFilterEngineProperty> & FilterEngineIdentityType;
|
|
116
|
+
/**
|
|
117
|
+
* General usage props interface
|
|
118
|
+
*/
|
|
119
|
+
export type FilterEnginePersonPropertyDefaultValueInputProps = FilterEnginePropertyDefaultValueInputProps<PersonFilterEngineProperty> & FilterEngineIdentityType;
|
|
120
|
+
/**
|
|
121
|
+
* Implementation only props interface, used for default value input component
|
|
122
|
+
*/
|
|
123
|
+
export type FilterEnginePropertyDefaultValueInputImplProps<T extends BaseFilterEngineProperty> = FilterEnginePropertyDefaultValueInputProps<T> & {
|
|
124
|
+
"v-model"?: T;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* General usage props interface
|
|
128
|
+
*/
|
|
129
|
+
export interface FilterEnginePropertyDefaultValueInputProps<T extends BaseFilterEngineProperty> {
|
|
130
|
+
modelValue: T;
|
|
131
|
+
propertyDefinitionAsHash: {
|
|
132
|
+
[internalName: string]: EnterprisePropertyDefinition;
|
|
133
|
+
};
|
|
134
|
+
updateData: () => void;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Implementation only props interface, used for property settings component
|
|
138
|
+
*/
|
|
139
|
+
export type FilterEnginePropertySettingsImplProps<T extends BaseFilterEngineProperty> = FilterEnginePropertySettingsProps<T> & {
|
|
140
|
+
"v-model"?: T;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* General usage props interface
|
|
144
|
+
*/
|
|
145
|
+
export interface FilterEnginePropertySettingsProps<T extends BaseFilterEngineProperty> {
|
|
146
|
+
modelValue: T;
|
|
147
|
+
updateData: () => void;
|
|
148
|
+
propertyDefinitionAsHash: {
|
|
149
|
+
[internalName: string]: EnterprisePropertyDefinition;
|
|
150
|
+
};
|
|
151
|
+
context: FilterEngineContext;
|
|
152
|
+
}
|
|
103
153
|
export type BaseFilterEnginePropertyType = PropertyIndexedType | GuidValue;
|
|
104
154
|
export interface BaseFilterEngineProperty {
|
|
105
155
|
value: unknown;
|
|
@@ -237,8 +287,6 @@ export interface FilterEngineSettings {
|
|
|
237
287
|
roundedStyle: boolean;
|
|
238
288
|
filledStyle: boolean;
|
|
239
289
|
chipColors: FilterEngineChipColorType;
|
|
240
|
-
customChipTextColor: string;
|
|
241
|
-
customChipBackgroundColor: string;
|
|
242
290
|
runQueryOnLoad: boolean;
|
|
243
291
|
fixedFilter: boolean;
|
|
244
292
|
breakLine: boolean;
|
package/filterengine/Shared.js
CHANGED
|
@@ -19,7 +19,6 @@ var FilterEngineChipColorType;
|
|
|
19
19
|
(function (FilterEngineChipColorType) {
|
|
20
20
|
FilterEngineChipColorType[FilterEngineChipColorType["Default"] = 0] = "Default";
|
|
21
21
|
FilterEngineChipColorType[FilterEngineChipColorType["EnterpriseGlossary"] = 1] = "EnterpriseGlossary";
|
|
22
|
-
FilterEngineChipColorType[FilterEngineChipColorType["Custom"] = 2] = "Custom";
|
|
23
22
|
})(FilterEngineChipColorType = exports.FilterEngineChipColorType || (exports.FilterEngineChipColorType = {}));
|
|
24
23
|
var FilterEngineBooleanOption;
|
|
25
24
|
(function (FilterEngineBooleanOption) {
|
|
@@ -46,7 +46,7 @@ export declare const OButtonGroupTypeDefinitions: readonly ["default", "dial", "
|
|
|
46
46
|
export type OButtonGroupTypes = typeof OButtonGroupTypeDefinitions[number];
|
|
47
47
|
export declare const OButtonGroupTypesName = "OButtonGroupTypes";
|
|
48
48
|
/** Column */
|
|
49
|
-
export declare const OColValueDefinitions: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
49
|
+
export declare const OColValueDefinitions: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
50
50
|
export type OColValues = typeof OColValueDefinitions[number];
|
|
51
51
|
export declare const OColValuesName = "OColValues";
|
|
52
52
|
export declare const OAlignmentTypeDefinitions: readonly ["end", "center", "start", "baseline", "stretch", "auto"];
|
|
@@ -35,7 +35,7 @@ exports.OButtonVariantsName = "OButtonVariants";
|
|
|
35
35
|
exports.OButtonGroupTypeDefinitions = ["default", "dial", "settings"];
|
|
36
36
|
exports.OButtonGroupTypesName = "OButtonGroupTypes";
|
|
37
37
|
/** Column */
|
|
38
|
-
exports.OColValueDefinitions = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
38
|
+
exports.OColValueDefinitions = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "auto", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
39
39
|
exports.OColValuesName = "OColValues";
|
|
40
40
|
exports.OAlignmentTypeDefinitions = ["end", "center", "start", "baseline", "stretch", "auto"];
|
|
41
41
|
exports.OAlignmentTypesName = "OAlignmentTypes";
|