@omnia/fx 7.10.0-preview.35 → 7.10.0-preview.37
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/internal-do-not-import-from-here/stores/BlockTitleSettingsStore.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +5 -1
- package/internal-do-not-import-from-here/ux/filterengine/FilterEngineRenderer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/text/TextPropertyRefinementLinkButton.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertySettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertySettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertySettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertySettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertySettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertySettings.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Header.d.ts +5 -11
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +5 -6
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +4 -9
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/BlockCatalogStore.d.ts +13 -1
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ export interface SettingsValue {
|
|
|
7
7
|
blockTitleSettings: BlockTitleSettings;
|
|
8
8
|
icon: IIcon;
|
|
9
9
|
customSettings: boolean;
|
|
10
|
-
|
|
10
|
+
headerLevel?: GuidValue;
|
|
11
11
|
}
|
|
12
12
|
export declare class BlockTitleSettingsStore extends Store {
|
|
13
13
|
blockTitleGlobalSettingsStore: BlockTitleGlobalSettingsStore;
|
|
@@ -37,9 +37,9 @@ export declare class BlockTitleSettingsStore extends Store {
|
|
|
37
37
|
setLayoutInheritage: (key: any) => void;
|
|
38
38
|
setComponentIcon: (key: any, icon: IIcon) => void;
|
|
39
39
|
removeComponentIcon: (key: any) => void;
|
|
40
|
-
setComponentSettings: (key: any, blockTitleSettings: BlockTitleSettings, icon?: IIcon,
|
|
40
|
+
setComponentSettings: (key: any, blockTitleSettings: BlockTitleSettings, icon?: IIcon, headerLevel?: GuidValue) => void;
|
|
41
41
|
revertComponentToGlobalSettings: (key: any) => void;
|
|
42
|
-
|
|
42
|
+
setComponentTitleHeaderLevel: (key: any, headerLevel: GuidValue) => void;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Implementation of actions
|
|
@@ -840,6 +840,9 @@ export interface OmniaUxLocalization {
|
|
|
840
840
|
FromTo: string;
|
|
841
841
|
Period: string;
|
|
842
842
|
};
|
|
843
|
+
LinkButtons: {
|
|
844
|
+
Label: string;
|
|
845
|
+
};
|
|
843
846
|
};
|
|
844
847
|
};
|
|
845
848
|
Operator: {
|
|
@@ -863,6 +866,7 @@ export interface OmniaUxLocalization {
|
|
|
863
866
|
ShowResultCount: string;
|
|
864
867
|
ShowZeroResultCountValues: string;
|
|
865
868
|
IconButtonsWidth: string;
|
|
869
|
+
AllowMultipleSelections: string;
|
|
866
870
|
DateType: {
|
|
867
871
|
Label: {
|
|
868
872
|
All: string;
|
|
@@ -974,7 +978,7 @@ export interface OmniaUxLocalization {
|
|
|
974
978
|
AnchorName: string;
|
|
975
979
|
CustomAnchorName: string;
|
|
976
980
|
ScrollIntoView: string;
|
|
977
|
-
|
|
981
|
+
HeaderLevel: string;
|
|
978
982
|
};
|
|
979
983
|
Buttons: {
|
|
980
984
|
AddColor: string;
|
|
@@ -13,7 +13,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
13
13
|
prependRightSection: () => JSX.Element | JSX.Element[];
|
|
14
14
|
dialogScopedInjectables: Object[];
|
|
15
15
|
spacing: SpacingSettings;
|
|
16
|
-
}, "
|
|
16
|
+
}, "renderContent" | "context" | "getApi">, any, any, any>> & {
|
|
17
17
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
18
18
|
getApi: (handler: FilterEngineHandler) => void;
|
|
19
19
|
renderContent: () => JSX.Element | JSX.Element[];
|
|
@@ -26,7 +26,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
26
26
|
prependRightSection: () => JSX.Element | JSX.Element[];
|
|
27
27
|
dialogScopedInjectables: Object[];
|
|
28
28
|
spacing: SpacingSettings;
|
|
29
|
-
}, "
|
|
29
|
+
}, "renderContent" | "context" | "getApi">;
|
|
30
30
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
31
31
|
getApi: (handler: FilterEngineHandler) => void;
|
|
32
32
|
renderContent: () => JSX.Element | JSX.Element[];
|
|
@@ -39,7 +39,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
39
39
|
prependRightSection: () => JSX.Element | JSX.Element[];
|
|
40
40
|
dialogScopedInjectables: Object[];
|
|
41
41
|
spacing: SpacingSettings;
|
|
42
|
-
}, "
|
|
42
|
+
}, "renderContent" | "context" | "getApi">, any, any, any>> & {
|
|
43
43
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
44
44
|
getApi: (handler: FilterEngineHandler) => void;
|
|
45
45
|
renderContent: () => JSX.Element | JSX.Element[];
|
|
@@ -52,6 +52,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
52
52
|
prependRightSection: () => JSX.Element | JSX.Element[];
|
|
53
53
|
dialogScopedInjectables: Object[];
|
|
54
54
|
spacing: SpacingSettings;
|
|
55
|
-
}, "
|
|
55
|
+
}, "renderContent" | "context" | "getApi">;
|
|
56
56
|
});
|
|
57
57
|
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import TextFilterEngineHandler from "../../../handler/TextFilterEngineHandler";
|
|
2
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<{
|
|
3
|
+
typedHandler: TextFilterEngineHandler;
|
|
4
|
+
}, "typedHandler">, any, any, any>;
|
|
5
|
+
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
7
7
|
};
|
|
8
8
|
context: FilterEngineContext;
|
|
9
|
-
}, "
|
|
9
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
10
10
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
11
|
property: BooleanFilterEngineProperty;
|
|
12
12
|
updateData: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
14
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
15
|
};
|
|
16
16
|
context: FilterEngineContext;
|
|
17
|
-
}, "
|
|
17
|
+
}, "updateData" | "context">;
|
|
18
18
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
19
|
property: BooleanFilterEngineProperty;
|
|
20
20
|
updateData: () => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
22
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
23
23
|
};
|
|
24
24
|
context: FilterEngineContext;
|
|
25
|
-
}, "
|
|
25
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
26
26
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
27
|
property: BooleanFilterEngineProperty;
|
|
28
28
|
updateData: () => void;
|
|
@@ -30,6 +30,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
30
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
31
31
|
};
|
|
32
32
|
context: FilterEngineContext;
|
|
33
|
-
}, "
|
|
33
|
+
}, "updateData" | "context">;
|
|
34
34
|
});
|
|
35
35
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
7
7
|
};
|
|
8
8
|
context: FilterEngineContext;
|
|
9
|
-
}, "
|
|
9
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
10
10
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
11
|
property: DateTimeFilterEngineProperty;
|
|
12
12
|
updateData: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
14
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
15
|
};
|
|
16
16
|
context: FilterEngineContext;
|
|
17
|
-
}, "
|
|
17
|
+
}, "updateData" | "context">;
|
|
18
18
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
19
|
property: DateTimeFilterEngineProperty;
|
|
20
20
|
updateData: () => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
22
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
23
23
|
};
|
|
24
24
|
context: FilterEngineContext;
|
|
25
|
-
}, "
|
|
25
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
26
26
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
27
|
property: DateTimeFilterEngineProperty;
|
|
28
28
|
updateData: () => void;
|
|
@@ -30,6 +30,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
30
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
31
31
|
};
|
|
32
32
|
context: FilterEngineContext;
|
|
33
|
-
}, "
|
|
33
|
+
}, "updateData" | "context">;
|
|
34
34
|
});
|
|
35
35
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
7
7
|
};
|
|
8
8
|
context: FilterEngineContext;
|
|
9
|
-
}, "
|
|
9
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
10
10
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
11
|
property: NumberFilterEngineProperty;
|
|
12
12
|
updateData: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
14
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
15
|
};
|
|
16
16
|
context: FilterEngineContext;
|
|
17
|
-
}, "
|
|
17
|
+
}, "updateData" | "context">;
|
|
18
18
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
19
|
property: NumberFilterEngineProperty;
|
|
20
20
|
updateData: () => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
22
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
23
23
|
};
|
|
24
24
|
context: FilterEngineContext;
|
|
25
|
-
}, "
|
|
25
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
26
26
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
27
|
property: NumberFilterEngineProperty;
|
|
28
28
|
updateData: () => void;
|
|
@@ -30,6 +30,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
30
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
31
31
|
};
|
|
32
32
|
context: FilterEngineContext;
|
|
33
|
-
}, "
|
|
33
|
+
}, "updateData" | "context">;
|
|
34
34
|
});
|
|
35
35
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
7
7
|
};
|
|
8
8
|
context: FilterEngineContext;
|
|
9
|
-
}, "
|
|
9
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
10
10
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
11
|
property: PersonFilterEngineProperty;
|
|
12
12
|
updateData: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
14
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
15
|
};
|
|
16
16
|
context: FilterEngineContext;
|
|
17
|
-
}, "
|
|
17
|
+
}, "updateData" | "context">;
|
|
18
18
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
19
|
property: PersonFilterEngineProperty;
|
|
20
20
|
updateData: () => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
22
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
23
23
|
};
|
|
24
24
|
context: FilterEngineContext;
|
|
25
|
-
}, "
|
|
25
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
26
26
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
27
|
property: PersonFilterEngineProperty;
|
|
28
28
|
updateData: () => void;
|
|
@@ -30,6 +30,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
30
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
31
31
|
};
|
|
32
32
|
context: FilterEngineContext;
|
|
33
|
-
}, "
|
|
33
|
+
}, "updateData" | "context">;
|
|
34
34
|
});
|
|
35
35
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
7
7
|
};
|
|
8
8
|
context: FilterEngineContext;
|
|
9
|
-
}, "
|
|
9
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
10
10
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
11
|
property: TagsFilterEngineProperty;
|
|
12
12
|
updateData: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
14
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
15
|
};
|
|
16
16
|
context: FilterEngineContext;
|
|
17
|
-
}, "
|
|
17
|
+
}, "updateData" | "context">;
|
|
18
18
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
19
|
property: TagsFilterEngineProperty;
|
|
20
20
|
updateData: () => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
22
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
23
23
|
};
|
|
24
24
|
context: FilterEngineContext;
|
|
25
|
-
}, "
|
|
25
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
26
26
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
27
|
property: TagsFilterEngineProperty;
|
|
28
28
|
updateData: () => void;
|
|
@@ -30,6 +30,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
30
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
31
31
|
};
|
|
32
32
|
context: FilterEngineContext;
|
|
33
|
-
}, "
|
|
33
|
+
}, "updateData" | "context">;
|
|
34
34
|
});
|
|
35
35
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
7
7
|
};
|
|
8
8
|
context: FilterEngineContext;
|
|
9
|
-
}, "
|
|
9
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
10
10
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
11
|
property: TextFilterEngineProperty;
|
|
12
12
|
updateData: () => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
14
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
15
15
|
};
|
|
16
16
|
context: FilterEngineContext;
|
|
17
|
-
}, "
|
|
17
|
+
}, "updateData" | "context">;
|
|
18
18
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
19
|
property: TextFilterEngineProperty;
|
|
20
20
|
updateData: () => void;
|
|
@@ -22,7 +22,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
22
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
23
23
|
};
|
|
24
24
|
context: FilterEngineContext;
|
|
25
|
-
}, "
|
|
25
|
+
}, "updateData" | "context">, any, any, any>> & {
|
|
26
26
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
27
|
property: TextFilterEngineProperty;
|
|
28
28
|
updateData: () => void;
|
|
@@ -30,6 +30,6 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
30
|
[internalName: string]: EnterprisePropertyDefinition;
|
|
31
31
|
};
|
|
32
32
|
context: FilterEngineContext;
|
|
33
|
-
}, "
|
|
33
|
+
}, "updateData" | "context">;
|
|
34
34
|
});
|
|
35
35
|
export default _default;
|
package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HeadingConfiguration, HeadingStyleConfiguration } from "@omnia/fx-models";
|
|
1
|
+
import { HeadingConfiguration, HeadingStyleConfiguration, HeaderLevel } from "@omnia/fx-models";
|
|
2
2
|
export declare const HeadingConfigurationFactory: {
|
|
3
3
|
create(): Array<HeadingConfiguration>;
|
|
4
4
|
createInitial(): HeadingConfiguration;
|
|
5
5
|
createDefaultHeadingStyle(): HeadingStyleConfiguration;
|
|
6
6
|
getHeadingStyle(heading: HeadingConfiguration, useImportant?: boolean): any;
|
|
7
|
+
getHeaderLevels(): Array<HeaderLevel>;
|
|
7
8
|
};
|
|
@@ -1,30 +1,24 @@
|
|
|
1
1
|
import { BlockInstance } from "../../../..";
|
|
2
|
-
import { HeadingSettings } from "../../../../../models";
|
|
3
2
|
import { LayoutCanvasStore } from "../../..";
|
|
4
3
|
import { VueComponentBase } from "../../../..";
|
|
5
|
-
import { BlockTitleSettingsStore
|
|
4
|
+
import { BlockTitleSettingsStore } from "../../../../../stores";
|
|
6
5
|
import { OmniaSpfxSettingsProvider } from "internal/fx/spfx/services/SpfxWPSettingProvider";
|
|
7
|
-
import { SettingsService } from "../../../../../services";
|
|
8
6
|
export default class HeaderItem extends VueComponentBase {
|
|
9
7
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
10
8
|
editorStore: LayoutCanvasStore;
|
|
11
9
|
blockInstance: BlockInstance;
|
|
12
10
|
private omniaUxLoc;
|
|
13
11
|
spfxSettingsService: OmniaSpfxSettingsProvider;
|
|
14
|
-
|
|
15
|
-
multilingualStore: MultilingualStore;
|
|
12
|
+
private localizationService;
|
|
16
13
|
private item;
|
|
17
14
|
private settings;
|
|
18
15
|
private model;
|
|
19
|
-
private
|
|
20
|
-
private showTitleFormattingSetting;
|
|
16
|
+
private headerLevels;
|
|
21
17
|
mounted(): void;
|
|
22
|
-
created():
|
|
23
|
-
private loadTextStylesSettings;
|
|
18
|
+
created(): void;
|
|
24
19
|
private headerValueChanged;
|
|
25
20
|
private onIconValueChanged;
|
|
26
|
-
private
|
|
21
|
+
private onHeaderLevelValueChanged;
|
|
27
22
|
private updateSpfxSettings;
|
|
28
|
-
private createHeadingItem;
|
|
29
23
|
render(): VueTsxSupport.JSX.Element;
|
|
30
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconSizes, BlockTitleIconSettings, BlockTitleSettings, TextAlignment
|
|
1
|
+
import { IconSizes, BlockTitleIconSettings, BlockTitleSettings, TextAlignment } from "../../../../../models";
|
|
2
2
|
import { ITheming } from "../../../..";
|
|
3
3
|
export declare const BlockTitleStyles: {
|
|
4
4
|
safeGetSpacingPixels(value: any, spacing: any): string;
|
|
@@ -7,5 +7,5 @@ export declare const BlockTitleStyles: {
|
|
|
7
7
|
iconWrapperButton: (settings: BlockTitleIconSettings) => string;
|
|
8
8
|
iconInButton: (settings: BlockTitleIconSettings, theming: ITheming) => string;
|
|
9
9
|
wrapper: (settings: BlockTitleSettings, textAlignment: TextAlignment, theming: ITheming) => string;
|
|
10
|
-
headingWrapper: (
|
|
10
|
+
headingWrapper: (theming: ITheming, settings: BlockTitleSettings) => string;
|
|
11
11
|
};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { VueComponentBase } from "../../../..";
|
|
2
2
|
import { IWebComponentInstance, OmniaContext } from "../../../../..";
|
|
3
|
-
import {
|
|
3
|
+
import { HeaderLevel, MultilingualString, TextAlignment } from "../../../../../models";
|
|
4
4
|
import { BlockTitleSettingsStore, DirectionRuleStore, MultilingualStore } from "../../../../../stores";
|
|
5
5
|
import { IBlockTitleComponent } from "./IBlockTitle";
|
|
6
6
|
import { BlockInstance } from "../../../../BlockInstance";
|
|
7
|
-
import { SettingsService } from "../../../../../services";
|
|
8
7
|
export declare class BlockTitleComponent extends VueComponentBase implements IWebComponentInstance, IBlockTitleComponent {
|
|
9
8
|
title: string;
|
|
10
9
|
multilingualtitle: string | MultilingualString;
|
|
11
10
|
settingsKey: any;
|
|
12
11
|
alternativeContent?: JSX.Element;
|
|
12
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
13
13
|
multilingualStore: MultilingualStore;
|
|
14
14
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
15
15
|
blockInstance: BlockInstance;
|
|
16
16
|
directionStore: DirectionRuleStore;
|
|
17
17
|
omniaContext: OmniaContext;
|
|
18
|
-
headingSettingsService: SettingsService<HeadingSettings>;
|
|
19
18
|
private model;
|
|
20
19
|
private useAccessibilityFeature;
|
|
21
20
|
private textStylesSettings;
|
|
22
|
-
|
|
21
|
+
private headerLevels;
|
|
22
|
+
mounted(): void;
|
|
23
23
|
onSectionUpdated(): void;
|
|
24
|
-
private loadTextStylesSettings;
|
|
25
24
|
getFormatedTitleStringValue(title: string): string;
|
|
26
25
|
getFormattedTitleString(): string;
|
|
27
26
|
getTextAlignment(): TextAlignment;
|
|
28
27
|
renderBlockIcon(title: string): VueTsxSupport.JSX.Element;
|
|
29
28
|
renderTitle(title: string): VueTsxSupport.JSX.Element;
|
|
30
|
-
|
|
29
|
+
renderTitleWithHeaderLevel(heading: HeaderLevel, title: string): import("vue").VNode;
|
|
31
30
|
render(): VueTsxSupport.JSX.Element;
|
|
32
31
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts
CHANGED
|
@@ -4,7 +4,11 @@ export interface IBlockTitleComponent {
|
|
|
4
4
|
title?: string;
|
|
5
5
|
multilingualtitle?: MultilingualString | string;
|
|
6
6
|
settingsKey: any;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use wrapWithHeaderLevel instead.
|
|
9
|
+
*/
|
|
7
10
|
alternativeContent?: JSX.Element;
|
|
11
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
8
12
|
}
|
|
9
13
|
declare global {
|
|
10
14
|
namespace VueTsxSupport.JSX {
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts
CHANGED
|
@@ -1,29 +1,24 @@
|
|
|
1
|
-
import { HeadingSettings } from "@omnia/fx/models";
|
|
2
1
|
import { LayoutCanvasStore } from "../../..";
|
|
3
2
|
import { BlockTitleSettingsStore, MultilingualStore } from "@omnia/fx/stores";
|
|
4
3
|
import { VueComponentBase } from "@omnia/fx/ux";
|
|
5
|
-
import { SettingsService } from "../../../../../services";
|
|
6
4
|
export default class HeaderSectionItem extends VueComponentBase {
|
|
7
5
|
editorStore: LayoutCanvasStore;
|
|
8
6
|
private subscriptionHandler;
|
|
9
7
|
multilingualStore: MultilingualStore;
|
|
10
8
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
11
|
-
|
|
9
|
+
private localizationService;
|
|
12
10
|
private omniaUxLoc;
|
|
13
11
|
private section;
|
|
14
12
|
private model;
|
|
15
|
-
private
|
|
16
|
-
private showTitleFormattingSetting;
|
|
13
|
+
private headerLevels;
|
|
17
14
|
mounted(): void;
|
|
18
|
-
created():
|
|
19
|
-
private loadTextStylesSettings;
|
|
15
|
+
created(): void;
|
|
20
16
|
/**
|
|
21
17
|
* Watch for section changes
|
|
22
18
|
* */
|
|
23
19
|
private onSectionChange;
|
|
24
20
|
private onIconValueChanged;
|
|
25
|
-
private
|
|
21
|
+
private onHeaderLevelValueChanged;
|
|
26
22
|
private onHeaderValueChanged;
|
|
27
|
-
private createHeadingItem;
|
|
28
23
|
render(): VueTsxSupport.JSX.Element;
|
|
29
24
|
}
|
|
@@ -22,7 +22,19 @@ export declare class BlockCatalogStore extends Store {
|
|
|
22
22
|
filterBlockRegistrationOnFeatureDependency(blockRegistration: BlockRegistration): boolean;
|
|
23
23
|
filterBlockRegistrationByBackendRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
24
24
|
filterBlockRegistrationByClientRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Validate if block is valid for layout provider.
|
|
27
|
+
* @param blockRegistration
|
|
28
|
+
* @param layoutProvider
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
filterBlockRegistrationOnLayoutDependency(blockRegistration: BlockRegistration, layoutProvider: string): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Validate if block is valid for current environment (backend/client runtime) and feature dependencies.
|
|
34
|
+
* @param block
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
isBlockValidForEnvironment(block: BlockRegistration): boolean;
|
|
26
38
|
filterBlockRegistrationByDisableAuth(blockRegistration: BlockRegistration): boolean;
|
|
27
39
|
/**
|
|
28
40
|
* Implementation of mutations
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.10.0-preview.
|
|
4
|
+
"version": "7.10.0-preview.37",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.10.0-preview.
|
|
23
|
+
"@omnia/fx-models": "7.10.0-preview.37",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|