@omnia/fx 8.0.388-dev → 8.0.390-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.
@@ -661,7 +661,7 @@ export interface OmniaUxLocalization {
661
661
  Providers: string;
662
662
  };
663
663
  Features: {
664
- SeoCore: {
664
+ PublicWeb: {
665
665
  Category: string;
666
666
  Description: string;
667
667
  Title: string;
@@ -4,8 +4,8 @@ export interface SubMenuItem {
4
4
  element: string;
5
5
  title: string;
6
6
  /**
7
- *This influence the order of the items, be nice, use ordering with gap -100, 0, 100, 200
8
- So other extensions etc can inject between
7
+ * This influence the order of the items, be nice, use ordering with gap -100, 0, 100, 200
8
+ * So other extensions etc can inject between. Default value is 200.
9
9
  */
10
10
  weight?: number;
11
11
  }
@@ -1,7 +1,8 @@
1
- import { ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
1
+ import { guid, ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
2
2
  declare const ModeSettingDefinitions: readonly ["admin", "default"];
3
3
  export type ModeSetting = typeof ModeSettingDefinitions[number];
4
4
  export interface ThemingRender {
5
+ id: guid;
5
6
  title: string;
6
7
  themeDefinition: ITemplateRegistration<ResolvedThemeDefinition>;
7
8
  modeSetting: ModeSetting;
@@ -0,0 +1,25 @@
1
+ import { AppThemeManager, BusinessProfileThemeManager, ResolvedThemeDefinition, TargetResolverTypes, TenantThemeManager, ThemeSelection } from "@omnia/fx-models";
2
+ import { ThemingRender } from "../models";
3
+ export declare enum ColorMode {
4
+ colorOnly = "color",
5
+ linearGradient = "linear",
6
+ radialGradient = "radial"
7
+ }
8
+ export declare const useThemeJourneyStore: () => {
9
+ state: {
10
+ themeManager: AppThemeManager | BusinessProfileThemeManager | TenantThemeManager;
11
+ themingSetting: ThemeSelection;
12
+ themeRenderers: ThemingRender[];
13
+ settings: {
14
+ targetResolverType: TargetResolverTypes;
15
+ };
16
+ };
17
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
18
+ setTheme: (theme: ThemingRender, newTheme: ResolvedThemeDefinition) => void;
19
+ initState: (targetResolverType: TargetResolverTypes) => Promise<void>;
20
+ }>;
21
+ get: {};
22
+ rules: {};
23
+ } & {
24
+ dispose?: () => void;
25
+ };
@@ -1,11 +1,13 @@
1
- import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
2
- import { Func, ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
1
+ import { DefineSlot, DefineEmit } from "@omnia/fx/ux";
2
+ import { Func, ITemplateRegistration, ResolvedThemeDefinition, TemplateRegistrationType } from "@omnia/fx-models";
3
3
  import { VNodeChild } from "vue";
4
- type ThemePickerVariant = "default" | "table-selection" | "panel" | "table-selection-edit" | "table";
4
+ type ThemePickerVariant = "picker" | "virtual-list" | "journey";
5
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
6
6
  variant?: ThemePickerVariant;
7
7
  } & {
8
8
  toned?: string;
9
+ } & {
10
+ label?: string;
9
11
  } & {
10
12
  enableClear?: boolean;
11
13
  } & {
@@ -18,12 +20,12 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
18
20
  modelValue?: ResolvedThemeDefinition;
19
21
  } & DefineSlot<"activator", Func<[VNodeChild]>> & DefineEmit<"item:selected", (theme: ITemplateRegistration<ResolvedThemeDefinition>) => true>> & {
20
22
  "onUpdate:modelValue"?: (value: ResolvedThemeDefinition) => any;
21
- "onItem:selected"?: (theme: ITemplateRegistration<ResolvedThemeDefinition, import("@omnia/fx-models").TemplateRegistrationType>) => any;
23
+ "onItem:selected"?: (theme: ITemplateRegistration<ResolvedThemeDefinition, TemplateRegistrationType>) => any;
22
24
  } & {
23
25
  "v-slots"?: {
24
26
  activator?: Func<[VNodeChild]>;
25
27
  } & Omit<{
26
28
  default?: import("vue").Slot;
27
29
  }, "activator">;
28
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "variant" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "slot:activator" | "enableClear" | "emit:item:selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
30
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "slot:activator" | "enableClear" | "emit:item:selected"> & import("@omnia/fx/ux").VNodeEvents) => any;
29
31
  export default _default;
@@ -0,0 +1,59 @@
1
+ import { ITemplateRegistration, ResolvedThemeDefinition } from "@omnia/fx-models";
2
+ export declare enum ColorMode {
3
+ colorOnly = "color",
4
+ linearGradient = "linear",
5
+ radialGradient = "radial"
6
+ }
7
+ export declare const useThemePickerStore: () => {
8
+ state: {
9
+ internalModel: ResolvedThemeDefinition;
10
+ pickerStore: {
11
+ readonly slots: {
12
+ selectionRender: () => import("vue").VNodeChild;
13
+ };
14
+ state: {
15
+ searchText: string;
16
+ blueprint: import("@omnia/fx-models").InputBlueprint;
17
+ variant: "dialog" | "dropdown" | "journey" | "virtual-list";
18
+ showMenu: boolean;
19
+ };
20
+ events: import("@omnia/fx/stores").StoreEvents<{
21
+ searchText: string;
22
+ blueprint: import("@omnia/fx-models").InputBlueprint;
23
+ variant: "dialog" | "dropdown" | "journey" | "virtual-list";
24
+ showMenu: boolean;
25
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
26
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
27
+ itemSelections: () => {
28
+ show: () => void;
29
+ hide: () => void;
30
+ };
31
+ init(externalModel: import("@omnia/fx-models").MenuState, renderingSlots: any, blueprint: import("@omnia/fx-models").InputBlueprint, variant: "dialog" | "dropdown" | "journey" | "virtual-list"): void;
32
+ }>;
33
+ get: {
34
+ readonly bladesId: {
35
+ selection: import("@omnia/fx-models").guid;
36
+ };
37
+ };
38
+ } & {
39
+ dispose?: () => void;
40
+ };
41
+ };
42
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
43
+ clear: () => void;
44
+ select: (theme: ITemplateRegistration<ResolvedThemeDefinition>) => void;
45
+ initState: (model: ResolvedThemeDefinition) => void;
46
+ }>;
47
+ get: {
48
+ selectedRegistration: () => ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>;
49
+ themes: {
50
+ readonly all: ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>[];
51
+ withFilter: (filter: string) => ITemplateRegistration<any, import("@omnia/fx-models").TemplateRegistrationType>[];
52
+ };
53
+ };
54
+ rules: {
55
+ readonly hasSelection: boolean;
56
+ };
57
+ } & {
58
+ dispose?: () => void;
59
+ };
@@ -17,7 +17,10 @@ export declare function defineBlade<TRoute extends JourneyBladeRoute = {}>(blade
17
17
  travelTo(toBladeId: guid): void;
18
18
  defineValueToSave<T>(value?: T): {
19
19
  value: T;
20
- setValue: (value: T) => void;
20
+ /**
21
+ * reset initial value to trigger new watching value change.
22
+ */
23
+ resetValue: (value: T) => void;
21
24
  };
22
25
  defineValueToFilter<T>(value?: T): {
23
26
  filterValues: T;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.388-dev",
4
+ "version": "8.0.390-dev",
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": "8.0.388-dev",
23
+ "@omnia/fx-models": "8.0.390-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",