@omnia/fx 8.0.544-dev → 8.0.545-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.
Files changed (46) hide show
  1. package/internal-do-not-import-from-here/ux/editor/index.d.ts +1 -0
  2. package/internal-do-not-import-from-here/ux/editor/models/StatusCodeLayoutItem.d.ts +7 -0
  3. package/internal-do-not-import-from-here/ux/editor/models/index.d.ts +1 -0
  4. package/internal-do-not-import-from-here/ux/editorchrome/EditorChrome_testSetup.d.ts +2 -1
  5. package/internal-do-not-import-from-here/ux/editorchrome/buttons/ToolbarButton.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeConfiguration.d.ts +2 -1
  7. package/internal-do-not-import-from-here/ux/editorchrome/define/DefineEditorChromeView.d.ts +2 -1
  8. package/internal-do-not-import-from-here/ux/editorchrome/define/EditorChromeConfigurationHelper.d.ts +1 -1
  9. package/internal-do-not-import-from-here/ux/editorchrome/hooks/useRenderActions.d.ts +2 -2
  10. package/internal-do-not-import-from-here/ux/editorchrome/models/EditorChromeRegistration.d.ts +79 -0
  11. package/internal-do-not-import-from-here/ux/editorchrome/models/EditorLeaveDestination.d.ts +7 -0
  12. package/internal-do-not-import-from-here/ux/editorchrome/models/EditorSettings.d.ts +11 -0
  13. package/internal-do-not-import-from-here/ux/editorchrome/models/IActionButton.d.ts +31 -0
  14. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorDisplayActionButton.d.ts +6 -0
  15. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItem.d.ts +16 -0
  16. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemMainRenderer.d.ts +3 -0
  17. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemPanelsRenderer.d.ts +3 -0
  18. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemTitleRenderer.d.ts +3 -0
  19. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorItemTopToolbarRenderer.d.ts +3 -0
  20. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorTabRegistration.d.ts +19 -0
  21. package/internal-do-not-import-from-here/ux/editorchrome/models/IEditorTabRenderer.d.ts +3 -0
  22. package/internal-do-not-import-from-here/ux/editorchrome/models/index.d.ts +12 -0
  23. package/internal-do-not-import-from-here/ux/editorchrome/renderers/ChromeActionItemRenderer.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStore.d.ts +2 -1
  25. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorChromeStoreV2.d.ts +2 -1
  26. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorSettingsStore.d.ts +2 -1
  27. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorTabStore.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/editorchrome/stores/EditorViewManager.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +13 -0
  30. package/internal-do-not-import-from-here/ux/identities/components/shared/IdentitySyncAddCondition.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/identities/loc/Localize.d.ts +2 -0
  32. package/internal-do-not-import-from-here/ux/identities/stores/IdentityRendererStore.d.ts +16 -0
  33. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +71 -331
  34. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/identitypicker/stores/IdentityPickerStore.d.ts +20 -0
  37. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/DefineLayoutEditorCanvas.d.ts +2 -1
  38. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +4 -3
  39. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +2 -1
  40. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/DefineDefaultView.d.ts +24 -23
  41. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CanvasActions.d.ts +1 -1
  42. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/CheckedOutActions.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/NotCheckedOutActions.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/versionedlayout/editor/views/actions/PanelActions.d.ts +1 -1
  45. package/internal-do-not-import-from-here/ux/versionedlayout/stores/VersionedLayoutEditorStoreV2.d.ts +8 -7
  46. package/package.json +2 -2
@@ -2,3 +2,4 @@ export * from "./settings";
2
2
  export * from "./stores";
3
3
  export * from "./use";
4
4
  export * from "../editorchrome/define";
5
+ export * from "../editorchrome/models";
@@ -0,0 +1,7 @@
1
+ import { IEditorItem } from "../../editorchrome/models/IEditorItem";
2
+ export interface IStatusCodeLayoutItem extends IEditorItem {
3
+ layout: any;
4
+ onSave<ItemType>(): Promise<ItemType>;
5
+ onEdit<ItemType>(): Promise<ItemType>;
6
+ onCancel<ItemType>(): Promise<ItemType>;
7
+ }
@@ -1 +1,2 @@
1
1
  export * from "./SettingsJourneyMenu";
2
+ export * from "./StatusCodeLayoutItem";
@@ -1,5 +1,6 @@
1
- import { guid, ChromeActionItem, EditorChromeConfiguration } from "@omnia/fx-models";
1
+ import { guid } from "@omnia/fx-models";
2
2
  import { useEditorChromeStore } from "..";
3
+ import { ChromeActionItem, EditorChromeConfiguration } from "./models";
3
4
  export declare function defineEditorChromeTestSetup(editorStore: ReturnType<typeof useEditorChromeStore>): {
4
5
  tabs: {
5
6
  tab1: EditorChromeConfiguration;
@@ -1,5 +1,5 @@
1
1
  import { DefineProp, DefinePropTheming } from "@omnia/fx/ux";
2
- import { ChromeActionItem } from "@omnia/fx-models";
2
+ import { ChromeActionItem } from "../models";
3
3
  type ToolbarButtonProps = DefinePropTheming & DefineProp<"action", ChromeActionItem> & DefineProp<"alignHeader", boolean> & DefineProp<"position", "topBar" | "bottomBar" | "rightBar"> & DefineProp<"border", "left" | "right" | "left right" | "bottom">;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ToolbarButtonProps> & {} & {
5
5
  "v-slots"?: {} & Omit<{
@@ -1,4 +1,5 @@
1
- import { EditorChromeConfiguration, InstanceLifetimes } from "@omnia/fx-models";
1
+ import { InstanceLifetimes } from "@omnia/fx-models";
2
+ import { EditorChromeConfiguration } from "../models";
2
3
  type ReturnEditorChromeConfigurationSetup = {
3
4
  configuration: EditorChromeConfiguration;
4
5
  };
@@ -1,4 +1,5 @@
1
- import { EditorChromeView, InstanceLifetimes } from "@omnia/fx-models";
1
+ import { InstanceLifetimes } from "@omnia/fx-models";
2
+ import { EditorChromeView } from "../models";
2
3
  type ReturnEditorChromeViewSetup = {
3
4
  view: EditorChromeView;
4
5
  };
@@ -1,4 +1,4 @@
1
- import { ChromeActionItem, EditorChromeConfiguration } from "@omnia/fx-models";
1
+ import { ChromeActionItem, EditorChromeConfiguration } from "../models";
2
2
  export declare function useEditorChromeConfigurationHelper(): {
3
3
  add: {
4
4
  actionToLeftFooter: (configuration: EditorChromeConfiguration | EditorChromeConfiguration[], action: ChromeActionItem) => void;
@@ -1,4 +1,4 @@
1
- import { ChromeActionItem } from "@omnia/fx-models";
1
+ import { ChromeActionItemRegister } from "../models";
2
2
  export interface RenderActionsOptions {
3
3
  /**
4
4
  * The border style for the toolbar buttons
@@ -16,4 +16,4 @@ export interface RenderActionsOptions {
16
16
  * @param options Configuration options for rendering actions
17
17
  * @returns Function to render actions
18
18
  */
19
- export declare function useRenderActions(options: RenderActionsOptions): (items: ChromeActionItem[]) => import("vue").VNodeChild[];
19
+ export declare function useRenderActions(options: RenderActionsOptions): (items: ChromeActionItemRegister[]) => import("vue").VNodeChild[];
@@ -0,0 +1,79 @@
1
+ import { VNodeChild } from "vue";
2
+ import { guid, IIcon } from "@omnia/fx-models";
3
+ import { ConfirmDialogOptions } from "@omnia/fx/ux";
4
+ import { type defineChromeAction } from "../define/DefineChromeAction";
5
+ export type ChromeActionItemRegister = ChromeActionItem | ReturnType<typeof defineChromeAction>;
6
+ export interface EditorChromePanel {
7
+ title?: string;
8
+ icon?: IIcon;
9
+ renderer?: () => Array<JSX.Element> | JSX.Element;
10
+ actions?: Array<ChromeActionItem>;
11
+ closeHook?: () => void;
12
+ footerToolbar?: {
13
+ actionsLeft?: Array<ChromeActionItem>;
14
+ actionsCenter?: Array<ChromeActionItem>;
15
+ actionsRight?: Array<ChromeActionItem>;
16
+ ExtendActionsRight?: Array<ChromeActionItem>;
17
+ };
18
+ }
19
+ export interface EditorChromeNavigationConfiguration {
20
+ title?: string;
21
+ renderer?: () => Array<JSX.Element> | JSX.Element;
22
+ }
23
+ export interface EditorChromeView {
24
+ id: guid;
25
+ configurations: Array<EditorChromeConfiguration>;
26
+ }
27
+ export interface EditorChromeConfiguration {
28
+ id: guid;
29
+ renderer?: () => Array<JSX.Element> | JSX.Element;
30
+ title?: string;
31
+ hidden?: boolean | (() => boolean);
32
+ icon?: IIcon;
33
+ onActivated?: () => void;
34
+ focused?: boolean;
35
+ settings?: {
36
+ displayResizable?: boolean;
37
+ zoomable?: boolean;
38
+ backNavigation?: boolean;
39
+ renderingMode?: "default" | "journey" | "center-panel";
40
+ };
41
+ active?: boolean;
42
+ rightDrawer?: {
43
+ title?: string;
44
+ renderer?: () => Array<JSX.Element> | JSX.Element;
45
+ actions?: Array<ChromeActionItemRegister>;
46
+ };
47
+ footerToolbar?: {
48
+ actionsLeft?: Array<ChromeActionItemRegister>;
49
+ actionsCenter?: Array<ChromeActionItemRegister>;
50
+ actionsRight?: Array<ChromeActionItemRegister>;
51
+ ExtendActionsRight?: Array<ChromeActionItemRegister>;
52
+ };
53
+ headerToolbar?: {
54
+ actions?: Array<ChromeActionItemRegister>;
55
+ actionSlot?: () => Array<JSX.Element> | JSX.Element;
56
+ };
57
+ }
58
+ export interface ChromeActionItem {
59
+ id?: guid;
60
+ active?: boolean | (() => boolean);
61
+ disableToggle?: boolean;
62
+ disabled?: boolean | (() => boolean);
63
+ hidden?: boolean | (() => boolean);
64
+ onActivated?: (action: ChromeActionItem) => void;
65
+ compactMode?: {
66
+ showText?: boolean;
67
+ hide?: boolean;
68
+ };
69
+ confirmation?: ConfirmDialogOptions;
70
+ requiredRoles?: guid[];
71
+ excludedRoles?: guid[];
72
+ title?: string | (() => string);
73
+ toolTip?: string | (() => string);
74
+ description?: string;
75
+ loading?: boolean | (() => boolean);
76
+ icon?: IIcon;
77
+ clickHandler?: (e: MouseEvent, store: any) => void | Promise<void>;
78
+ activator?: (activatorRenderer: VNodeChild) => VNodeChild;
79
+ }
@@ -0,0 +1,7 @@
1
+ import { IEditorTabRegistration } from "./IEditorTabRegistration";
2
+ export interface EditorLeaveDestination {
3
+ name: string;
4
+ }
5
+ export interface EditorTabLeaveDestination extends EditorLeaveDestination {
6
+ tab: IEditorTabRegistration;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { EditorDisplayModes, EditorUserExperience, LayoutItem } from "@omnia/fx-models";
2
+ export interface EditorSettings {
3
+ showContentNavigation: boolean;
4
+ editorDisplayMode: EditorDisplayModes;
5
+ editorUserExperience: EditorUserExperience;
6
+ itemIsCheckOut: boolean;
7
+ }
8
+ export interface LayoutItemSettingsRequest {
9
+ showSettings?: boolean;
10
+ item: LayoutItem;
11
+ }
@@ -0,0 +1,31 @@
1
+ import { ActionItemType, guid } from "@omnia/fx-models";
2
+ import { ConfirmDialogOptions, Vue } from "@omnia/fx/ux";
3
+ export interface IActionItem {
4
+ id?: string;
5
+ type: ActionItemType;
6
+ highLighted: boolean;
7
+ visibilityCallBack?: Function;
8
+ requiredRoles?: guid[];
9
+ }
10
+ export interface IActionCustomButton extends IActionItem {
11
+ render: (vue: Vue) => JSX.Element;
12
+ loading?: boolean;
13
+ }
14
+ export interface IActionButton extends IActionItem {
15
+ title: () => string;
16
+ actionCallback: Function;
17
+ icon: string;
18
+ iconRight?: boolean;
19
+ disableCallBack?: Function;
20
+ confirmationOptions?: ConfirmDialogOptions;
21
+ loading?: boolean;
22
+ disabled?: boolean;
23
+ hasBottomDelimiter?: boolean;
24
+ }
25
+ export interface IActionButtonGroup extends IActionButton {
26
+ tooltip?: string;
27
+ color?: string;
28
+ }
29
+ export interface IActionGroupButtons extends IActionItem {
30
+ buttons?: Array<IActionButton>;
31
+ }
@@ -0,0 +1,6 @@
1
+ import { IActionButton } from "./IActionButton";
2
+ import { EditorDisplayModes, guid } from "@omnia/fx-models";
3
+ export interface IEditorDisplayActionButton extends IActionButton {
4
+ editorDisplayMode: EditorDisplayModes;
5
+ requiredRoles?: guid[];
6
+ }
@@ -0,0 +1,16 @@
1
+ import { EditorDisplayModes } from "@omnia/fx-models";
2
+ import { IEditorItemPanelsRenderer } from "./IEditorItemPanelsRenderer";
3
+ import { IEditorItemTitleRenderer } from "./IEditorItemTitleRenderer";
4
+ import { IEditorItemTopToolbarRenderer } from "./IEditorItemTopToolbarRenderer";
5
+ import { IEditorTabRegistration } from "./IEditorTabRegistration";
6
+ export interface IEditorItem {
7
+ settings: {
8
+ defaultDisplayMode: EditorDisplayModes;
9
+ };
10
+ tabs: Array<IEditorTabRegistration>;
11
+ title: JSX.Element[] | JSX.Element | string;
12
+ onEditorActivation(): any;
13
+ titleRenderer?: IEditorItemTitleRenderer;
14
+ topToolbarRenderer?: IEditorItemTopToolbarRenderer;
15
+ panelsRenderer?: IEditorItemPanelsRenderer;
16
+ }
@@ -0,0 +1,3 @@
1
+ export interface IEditorItemMainRenderer {
2
+ generateElement(h: any): Array<JSX.Element> | JSX.Element;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface IEditorItemPanelsRenderer {
2
+ generateElement(): JSX.Element;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface IEditorItemTitleRenderer {
2
+ generateElement(): Array<JSX.Element> | JSX.Element;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface IEditorItemTopToolbarRenderer {
2
+ getElement(): Array<JSX.Element> | JSX.Element;
3
+ }
@@ -0,0 +1,19 @@
1
+ import { IActionItem } from "./IActionButton";
2
+ import { IEditorTabRenderer } from "./IEditorTabRenderer";
3
+ export interface IEditorTabRegistration {
4
+ tabId: string;
5
+ tabRenderer: IEditorTabRenderer;
6
+ tabName: string;
7
+ journey?: boolean;
8
+ active: boolean;
9
+ actionToolbar: {
10
+ leftItemRenderer?: () => Array<IActionItem>;
11
+ leftItemExtendRenderer?: () => Array<IActionItem>;
12
+ rightItemRenderer?: () => Array<IActionItem>;
13
+ rightItemExtendRenderer?: () => Array<IActionItem>;
14
+ };
15
+ footer?: () => Array<IActionItem>;
16
+ header?: () => Array<IActionItem>;
17
+ maxHeight?: number | string;
18
+ tabIcon?: string;
19
+ }
@@ -0,0 +1,3 @@
1
+ export interface IEditorTabRenderer {
2
+ getElement(): Array<JSX.Element> | JSX.Element;
3
+ }
@@ -0,0 +1,12 @@
1
+ export * from "./EditorSettings";
2
+ export * from "./IActionButton";
3
+ export * from "./IEditorDisplayActionButton";
4
+ export * from "./IEditorItem";
5
+ export * from "./IEditorItemTitleRenderer";
6
+ export * from "./IEditorItemMainRenderer";
7
+ export * from "./IEditorTabRegistration";
8
+ export * from "./IEditorTabRenderer";
9
+ export * from "./IEditorItemTopToolbarRenderer";
10
+ export * from "./IEditorItemPanelsRenderer";
11
+ export * from "./EditorLeaveDestination";
12
+ export * from "./EditorChromeRegistration";
@@ -1,6 +1,6 @@
1
- import { ChromeActionItem } from "@omnia/fx-models";
2
1
  import { DefineSlot } from "@omnia/fx/ux";
3
2
  import { VNodeChild } from "vue";
3
+ import { ChromeActionItem } from "../models";
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
5
5
  action: ChromeActionItem;
6
6
  } & DefineSlot<"renderer", (action: ChromeActionItem) => VNodeChild>> & {} & {
@@ -1,7 +1,8 @@
1
- import { IActionItem, IEditorItem, IMessageBusSubscriptionHandler, NotificationMessage, EditorLeaveDestination } from "../../../models";
1
+ import { IMessageBusSubscriptionHandler, NotificationMessage } from "../../../models";
2
2
  import { EditorTabStore } from "./EditorTabStore";
3
3
  import { Store } from "../../../stores";
4
4
  import { EditorSettingsStore } from "./EditorSettingsStore";
5
+ import { EditorLeaveDestination, IActionItem, IEditorItem } from "../models";
5
6
  export declare class EditorChromeStore extends Store {
6
7
  private serviceContainerContext;
7
8
  settings: EditorSettingsStore;
@@ -1,4 +1,5 @@
1
- import { DisplayBreakpointTypes, guid, EditorChromeConfiguration, NotificationMessage, IIcon, EditorChromeNavigationConfiguration, Future, EditorChromeView, EditorChromePanel, ChromeActionItem } from "@omnia/fx-models";
1
+ import { DisplayBreakpointTypes, guid, NotificationMessage, IIcon, Future } from "@omnia/fx-models";
2
+ import { ChromeActionItem, EditorChromeConfiguration, EditorChromeNavigationConfiguration, EditorChromePanel, EditorChromeView } from "../models";
2
3
  export interface EditorChromeViewRegistration {
3
4
  view: EditorChromeView;
4
5
  configuration: EditorChromeConfiguration;
@@ -1,5 +1,6 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
- import { EditorSettings, EditorDisplayModes, EditorUserExperience, DisplayBreakpointTypes, LayoutEditorCanvasApi, LayoutRendererCanvasApi } from "../../../models";
2
+ import { EditorDisplayModes, EditorUserExperience, DisplayBreakpointTypes, LayoutEditorCanvasApi, LayoutRendererCanvasApi } from "../../../models";
3
+ import { EditorSettings } from "../models";
3
4
  export declare class EditorSettingsStore extends Store {
4
5
  /**
5
6
  * State
@@ -1,5 +1,5 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
- import { IEditorTabRegistration } from "@omnia/fx-models";
2
+ import { IEditorTabRegistration } from "../models";
3
3
  export declare class EditorTabStore extends Store {
4
4
  /**
5
5
  * State
@@ -1,4 +1,4 @@
1
- import { EditorChromeConfiguration } from "@omnia/fx-models";
1
+ import { EditorChromeConfiguration } from "../models";
2
2
  export declare function useEditorViewManager(): {
3
3
  configuration: {
4
4
  extend: (target: EditorChromeConfiguration, configuration: EditorChromeConfiguration) => void;
@@ -36,6 +36,10 @@ declare const _default: {
36
36
  identities: Array<IResolvedIdentity>;
37
37
  }) => VNodeChild;
38
38
  }>;
39
+ displayIdentityType: {
40
+ type: import("vue").PropType<boolean>;
41
+ required: false;
42
+ };
39
43
  avatarStyles: {
40
44
  type: import("vue").PropType<{
41
45
  styles?: {
@@ -139,6 +143,10 @@ declare const _default: {
139
143
  identities: Array<IResolvedIdentity>;
140
144
  }) => VNodeChild;
141
145
  }>;
146
+ displayIdentityType: {
147
+ type: import("vue").PropType<boolean>;
148
+ required: false;
149
+ };
142
150
  avatarStyles: {
143
151
  type: import("vue").PropType<{
144
152
  styles?: {
@@ -239,6 +247,10 @@ declare const _default: {
239
247
  identities: Array<IResolvedIdentity>;
240
248
  }) => VNodeChild;
241
249
  }>;
250
+ displayIdentityType: {
251
+ type: import("vue").PropType<boolean>;
252
+ required: false;
253
+ };
242
254
  avatarStyles: {
243
255
  type: import("vue").PropType<{
244
256
  styles?: {
@@ -379,6 +391,7 @@ declare const _default: {
379
391
  };
380
392
  class?: string;
381
393
  };
394
+ displayIdentityType?: boolean;
382
395
  }>, never>;
383
396
  };
384
397
  export default _default;
@@ -26,5 +26,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
26
26
  default?: import("vue").Slot;
27
27
  $stable?: boolean;
28
28
  }, never>;
29
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "editMode" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName" | "emit:add" | "emit:update" | "emit:remove"> & import("@omnia/fx/ux").VNodeEvents) => any;
29
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "modelValue" | "emit:update:modelValue" | "emit:add" | "emit:remove" | "editMode" | "getSyncPropertiesApi" | "getSyncPropertyDisplayName" | "emit:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
30
30
  export default _default;
@@ -80,5 +80,7 @@ export declare namespace IdentitiesLocalization {
80
80
  SharePointAllInternalExceptExternal: string;
81
81
  };
82
82
  System: string;
83
+ Extension: string;
84
+ DynamicGroup: string;
83
85
  }
84
86
  }
@@ -0,0 +1,16 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ export declare const useIdentityRendererStore: () => {
3
+ state: {
4
+ userTypes: Record<guid, string>;
5
+ groupTypes: Record<guid, string>;
6
+ };
7
+ events: import("@omnia/fx/stores").StoreEvents<{
8
+ userTypes: Record<guid, string>;
9
+ groupTypes: Record<guid, string>;
10
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
11
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
12
+ initIdentityTypes(): Promise<void>;
13
+ }>;
14
+ } & {
15
+ dispose?: () => void;
16
+ };
@@ -1,337 +1,77 @@
1
1
  import { BoolFilter, guid, Identity, IResolvedIdentity, ISpecialUserConfiguration, PrincipalTypes } from "@omnia/fx-models";
2
2
  import { IdentityStoreType } from "@omnia/fx/stores";
3
- declare const _default: {
4
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
- businessProfileId: {
6
- type: import("vue").PropType<string>;
7
- };
8
- isClosed: {
9
- type: import("vue").PropType<Boolean>;
10
- required: false;
11
- };
12
- enableSpecialUser: {
13
- type: import("vue").PropType<ISpecialUserConfiguration>;
14
- required: false;
15
- };
16
- permissionEnabled: {
17
- type: import("vue").PropType<BoolFilter>;
18
- required: false;
19
- };
20
- emailEnabled: {
21
- type: import("vue").PropType<BoolFilter>;
22
- required: false;
23
- };
24
- identityStore: {
25
- type: import("vue").PropType<IdentityStoreType>;
26
- };
27
- filter: {
28
- type: import("vue").PropType<(identities: IResolvedIdentity[]) => IResolvedIdentity[]>;
29
- };
30
- displayIdentityType: {
31
- type: import("vue").PropType<Boolean>;
32
- required: false;
33
- };
34
- showSelectedIdentities: {
35
- type: import("vue").PropType<Boolean>;
36
- required: false;
37
- };
38
- hideUserTypeSelection: {
39
- type: import("vue").PropType<Boolean>;
40
- required: false;
41
- };
42
- hideGroupTypeSelection: {
43
- type: import("vue").PropType<Boolean>;
44
- required: false;
45
- };
46
- hideDynamicGroupSelection: {
47
- type: import("vue").PropType<Boolean>;
48
- required: false;
49
- };
50
- hideTab: {
51
- type: import("vue").PropType<Boolean>;
52
- required: false;
53
- };
54
- blockedIdentities: {
55
- type: import("vue").PropType<Identity[]>;
56
- required: false;
57
- };
58
- disabledIdentities: {
59
- type: import("vue").PropType<Identity[]>;
60
- required: false;
61
- };
62
- disabled: {
63
- type: import("vue").PropType<Boolean>;
64
- required: false;
65
- };
66
- top: {
67
- type: import("vue").PropType<Boolean>;
68
- required: false;
69
- };
70
- attachToParent: {
71
- type: import("vue").PropType<boolean>;
72
- required: false;
73
- };
74
- providerIds: {
75
- type: import("vue").PropType<guid[]>;
76
- };
77
- type: {
78
- type: import("vue").PropType<PrincipalTypes>;
79
- };
80
- "onUpdate:modelValue": {
81
- type: import("vue").PropType<(value: Identity[]) => any | void>;
82
- };
83
- "v-model": {
84
- type: import("vue").PropType<Identity[]>;
85
- required: false;
86
- };
87
- modelValue: {
88
- type: import("vue").PropType<Identity[]>;
89
- required: false;
90
- };
91
- }>> & {
92
- onRemove?: (identity: Identity) => any;
93
- onAdd?: (identity: Identity) => any;
94
- onDoc$?: (description?: string) => any;
95
- onCloseDialog?: () => any;
96
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
97
- closeDialog: () => void;
98
- doc$(description?: string): {
99
- closeDialog: () => void;
100
- };
101
- remove: (identity: Identity) => void;
102
- add: (identity: Identity) => void;
103
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
104
- P: {};
105
- B: {};
106
- D: {};
107
- C: {};
108
- M: {};
109
- Defaults: {};
110
- }, Readonly<import("vue").ExtractPropTypes<{
111
- businessProfileId: {
112
- type: import("vue").PropType<string>;
113
- };
114
- isClosed: {
115
- type: import("vue").PropType<Boolean>;
116
- required: false;
117
- };
118
- enableSpecialUser: {
119
- type: import("vue").PropType<ISpecialUserConfiguration>;
120
- required: false;
121
- };
122
- permissionEnabled: {
123
- type: import("vue").PropType<BoolFilter>;
124
- required: false;
125
- };
126
- emailEnabled: {
127
- type: import("vue").PropType<BoolFilter>;
128
- required: false;
129
- };
130
- identityStore: {
131
- type: import("vue").PropType<IdentityStoreType>;
132
- };
133
- filter: {
134
- type: import("vue").PropType<(identities: IResolvedIdentity[]) => IResolvedIdentity[]>;
135
- };
136
- displayIdentityType: {
137
- type: import("vue").PropType<Boolean>;
138
- required: false;
139
- };
140
- showSelectedIdentities: {
141
- type: import("vue").PropType<Boolean>;
142
- required: false;
143
- };
144
- hideUserTypeSelection: {
145
- type: import("vue").PropType<Boolean>;
146
- required: false;
147
- };
148
- hideGroupTypeSelection: {
149
- type: import("vue").PropType<Boolean>;
150
- required: false;
151
- };
152
- hideDynamicGroupSelection: {
153
- type: import("vue").PropType<Boolean>;
154
- required: false;
155
- };
156
- hideTab: {
157
- type: import("vue").PropType<Boolean>;
158
- required: false;
159
- };
160
- blockedIdentities: {
161
- type: import("vue").PropType<Identity[]>;
162
- required: false;
163
- };
164
- disabledIdentities: {
165
- type: import("vue").PropType<Identity[]>;
166
- required: false;
167
- };
168
- disabled: {
169
- type: import("vue").PropType<Boolean>;
170
- required: false;
171
- };
172
- top: {
173
- type: import("vue").PropType<Boolean>;
174
- required: false;
175
- };
176
- attachToParent: {
177
- type: import("vue").PropType<boolean>;
178
- required: false;
179
- };
180
- providerIds: {
181
- type: import("vue").PropType<guid[]>;
182
- };
183
- type: {
184
- type: import("vue").PropType<PrincipalTypes>;
185
- };
186
- "onUpdate:modelValue": {
187
- type: import("vue").PropType<(value: Identity[]) => any | void>;
188
- };
189
- "v-model": {
190
- type: import("vue").PropType<Identity[]>;
191
- required: false;
192
- };
193
- modelValue: {
194
- type: import("vue").PropType<Identity[]>;
195
- required: false;
196
- };
197
- }>> & {
198
- onRemove?: (identity: Identity) => any;
199
- onAdd?: (identity: Identity) => any;
200
- onDoc$?: (description?: string) => any;
201
- onCloseDialog?: () => any;
202
- }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
203
- __isFragment?: never;
204
- __isTeleport?: never;
205
- __isSuspense?: never;
206
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
207
- businessProfileId: {
208
- type: import("vue").PropType<string>;
209
- };
210
- isClosed: {
211
- type: import("vue").PropType<Boolean>;
212
- required: false;
213
- };
214
- enableSpecialUser: {
215
- type: import("vue").PropType<ISpecialUserConfiguration>;
216
- required: false;
217
- };
218
- permissionEnabled: {
219
- type: import("vue").PropType<BoolFilter>;
220
- required: false;
221
- };
222
- emailEnabled: {
223
- type: import("vue").PropType<BoolFilter>;
224
- required: false;
225
- };
226
- identityStore: {
227
- type: import("vue").PropType<IdentityStoreType>;
228
- };
229
- filter: {
230
- type: import("vue").PropType<(identities: IResolvedIdentity[]) => IResolvedIdentity[]>;
231
- };
232
- displayIdentityType: {
233
- type: import("vue").PropType<Boolean>;
234
- required: false;
235
- };
236
- showSelectedIdentities: {
237
- type: import("vue").PropType<Boolean>;
238
- required: false;
239
- };
240
- hideUserTypeSelection: {
241
- type: import("vue").PropType<Boolean>;
242
- required: false;
243
- };
244
- hideGroupTypeSelection: {
245
- type: import("vue").PropType<Boolean>;
246
- required: false;
247
- };
248
- hideDynamicGroupSelection: {
249
- type: import("vue").PropType<Boolean>;
250
- required: false;
251
- };
252
- hideTab: {
253
- type: import("vue").PropType<Boolean>;
254
- required: false;
255
- };
256
- blockedIdentities: {
257
- type: import("vue").PropType<Identity[]>;
258
- required: false;
259
- };
260
- disabledIdentities: {
261
- type: import("vue").PropType<Identity[]>;
262
- required: false;
263
- };
264
- disabled: {
265
- type: import("vue").PropType<Boolean>;
266
- required: false;
267
- };
268
- top: {
269
- type: import("vue").PropType<Boolean>;
270
- required: false;
271
- };
272
- attachToParent: {
273
- type: import("vue").PropType<boolean>;
274
- required: false;
275
- };
276
- providerIds: {
277
- type: import("vue").PropType<guid[]>;
278
- };
279
- type: {
280
- type: import("vue").PropType<PrincipalTypes>;
281
- };
282
- "onUpdate:modelValue": {
283
- type: import("vue").PropType<(value: Identity[]) => any | void>;
284
- };
285
- "v-model": {
286
- type: import("vue").PropType<Identity[]>;
287
- required: false;
288
- };
289
- modelValue: {
290
- type: import("vue").PropType<Identity[]>;
291
- required: false;
292
- };
293
- }>> & {
3
+ import { DefineEmit } from "@omnia/fx/ux";
4
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
5
+ "emit:update:modelValue": (value: Identity[]) => void;
6
+ } & {
7
+ "v-model"?: Identity[];
8
+ } & {
9
+ modelValue?: Identity[];
10
+ } & {
11
+ type?: PrincipalTypes;
12
+ } & {
13
+ providerIds?: guid[];
14
+ } & {
15
+ attachToParent?: boolean;
16
+ } & {
17
+ top?: boolean;
18
+ } & {
19
+ disabled?: boolean;
20
+ } & {
21
+ disabledIdentities?: Identity[];
22
+ } & {
23
+ blockedIdentities?: Identity[];
24
+ } & {
25
+ hideTab?: boolean;
26
+ } & {
27
+ hideDynamicGroupSelection?: boolean;
28
+ } & {
29
+ hideGroupTypeSelection?: boolean;
30
+ } & {
31
+ hideUserTypeSelection?: boolean;
32
+ } & {
33
+ showSelectedIdentities?: boolean;
34
+ } & {
35
+ displayIdentityType?: boolean;
36
+ } & {
37
+ filter?: (identities: IResolvedIdentity[]) => IResolvedIdentity[];
38
+ } & {
39
+ identityStore?: IdentityStoreType;
40
+ } & {
41
+ emailEnabled?: BoolFilter;
42
+ } & {
43
+ permissionEnabled?: BoolFilter;
44
+ } & {
45
+ enableSpecialUser?: ISpecialUserConfiguration;
46
+ } & {
47
+ isClosed?: boolean;
48
+ } & {
49
+ businessProfileId?: string;
50
+ } & {
51
+ ariaDescribedby?: string;
52
+ } & {
53
+ ariaInvalid?: boolean;
54
+ } & {
55
+ singleLine?: boolean;
56
+ } & {
57
+ label?: string;
58
+ } & {
59
+ variant?: "search" | "fieldvalue";
60
+ } & {
61
+ multiple?: boolean;
62
+ } & {
63
+ keepSelectionMenu?: boolean;
64
+ } & {
65
+ autoOpenSelection?: boolean;
66
+ } & DefineEmit<"add", (identity: Identity) => void> & DefineEmit<"remove", (identity: Identity) => void> & DefineEmit<"closeDialog", () => void>> & {
67
+ "onUpdate:modelValue"?: (value: Identity[]) => any;
294
68
  onRemove?: (identity: Identity) => any;
295
69
  onAdd?: (identity: Identity) => any;
296
- onDoc$?: (description?: string) => any;
297
70
  onCloseDialog?: () => any;
298
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
299
- closeDialog: () => void;
300
- doc$(description?: string): {
301
- closeDialog: () => void;
302
- };
303
- remove: (identity: Identity) => void;
304
- add: (identity: Identity) => void;
305
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
306
- propsDefinition: Omit<Readonly<{} & {
307
- filter?: (identities: IResolvedIdentity[]) => IResolvedIdentity[];
308
- type?: PrincipalTypes;
309
- top?: Boolean;
310
- providerIds?: guid[];
311
- emailEnabled?: BoolFilter;
312
- permissionEnabled?: BoolFilter;
313
- businessProfileId?: string;
314
- identityStore?: IdentityStoreType;
315
- disabled?: Boolean;
316
- "v-model"?: Identity[];
317
- modelValue?: Identity[];
318
- "onUpdate:modelValue"?: (value: Identity[]) => any | void;
319
- hideDynamicGroupSelection?: Boolean;
320
- attachToParent?: boolean;
321
- disabledIdentities?: Identity[];
322
- blockedIdentities?: Identity[];
323
- hideTab?: Boolean;
324
- hideGroupTypeSelection?: Boolean;
325
- hideUserTypeSelection?: Boolean;
326
- displayIdentityType?: Boolean;
327
- enableSpecialUser?: ISpecialUserConfiguration;
328
- showSelectedIdentities?: Boolean;
329
- isClosed?: Boolean;
330
- }>, "onRemove" | "onDoc$" | "onAdd" | "onCloseDialog"> & {
331
- onRemove?: (identity: Identity) => any;
332
- onDoc$?: (description?: string) => any;
333
- onAdd?: (identity: Identity) => any;
334
- onCloseDialog?: () => any;
335
- };
336
- };
71
+ } & {
72
+ "v-slots"?: {} & Omit<{
73
+ default?: import("vue").Slot;
74
+ $stable?: boolean;
75
+ }, never>;
76
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "label" | "variant" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "multiple" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "ariaInvalid" | "displayIdentityType" | "ariaDescribedby" | "hideDynamicGroupSelection" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "enableSpecialUser" | "showSelectedIdentities" | "isClosed" | "emit:add" | "emit:remove" | "emit:closeDialog"> & import("@omnia/fx/ux").VNodeEvents) => any;
337
77
  export default _default;
@@ -55,5 +55,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
55
55
  default?: import("vue").Slot;
56
56
  $stable?: boolean;
57
57
  }, never>;
58
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "location" | "hideDynamicGroupSelection" | "attachToParent" | "keepSelectionMenu" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "displayIdentityType" | "enableSpecialUser" | "emit:identityChanged"> & import("@omnia/fx/ux").VNodeEvents) => any;
58
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "location" | "displayIdentityType" | "hideDynamicGroupSelection" | "attachToParent" | "keepSelectionMenu" | "disabledIdentities" | "blockedIdentities" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "enableSpecialUser" | "emit:identityChanged"> & import("@omnia/fx/ux").VNodeEvents) => any;
59
59
  export default _default;
@@ -75,5 +75,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
75
75
  default?: import("vue").Slot;
76
76
  $stable?: boolean;
77
77
  }, never>;
78
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "label" | "variant" | "required" | "description" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "dense" | "multiple" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "ariaInvalid" | "ariaDescribedby" | "hideDynamicGroupSelection" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "displayIdentityType" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
78
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "label" | "variant" | "required" | "description" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "identityStore" | "dense" | "multiple" | "disabled" | "v-model" | "modelValue" | "emit:update:modelValue" | "ariaInvalid" | "displayIdentityType" | "ariaDescribedby" | "hideDynamicGroupSelection" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
79
79
  export default _default;
@@ -0,0 +1,20 @@
1
+ import { guid } from "@omnia/fx-models";
2
+ export type SelectionTypeViewModel = {
3
+ title: string;
4
+ id: guid;
5
+ };
6
+ export declare const useIdentityPickerStore: () => {
7
+ state: {
8
+ userTypes: SelectionTypeViewModel[];
9
+ groupTypes: SelectionTypeViewModel[];
10
+ };
11
+ events: import("@omnia/fx/stores").StoreEvents<{
12
+ userTypes: SelectionTypeViewModel[];
13
+ groupTypes: SelectionTypeViewModel[];
14
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
15
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
16
+ initIdentityTypes(): Promise<void>;
17
+ }>;
18
+ } & {
19
+ dispose?: () => void;
20
+ };
@@ -1,5 +1,6 @@
1
- import { EditorChromeConfiguration, guid, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
1
+ import { guid, ILayoutFileContext, ILayoutMediaContext } from "@omnia/fx-models";
2
2
  import { useEditorChromeStore, useLayoutCanvasStore } from "@omnia/fx/ux";
3
+ import { EditorChromeConfiguration } from "../../editorchrome/models";
3
4
  export interface LayoutEditorCanvasSettings {
4
5
  blockProvider?: string;
5
6
  chromeStore: ReturnType<typeof useEditorChromeStore>;
@@ -1,14 +1,15 @@
1
1
  import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, ExtractProps, ValidationRule } from "@omnia/fx/ux";
2
2
  import { ColorValue, TextBlueprint, OTextFieldTypes, InputBlueprint } from "@omnia/fx/models";
3
- import { VNodeChild } from "vue";
3
+ import { FunctionalComponent, VNodeChild } from "vue";
4
4
  export declare const InputTypeDefinitions: readonly ["text", "password", "number"];
5
5
  export type InputTypes = typeof InputTypeDefinitions[number];
6
6
  export type InputApi = {
7
7
  focus: () => void;
8
8
  };
9
9
  type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextFieldTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"transparent", boolean, false, null, "Adds transparency to the text field."> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"textBlueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"getApi", (api: InputApi) => void, false, null, "Gets the api"> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineProp<"suffix", string, false, null, "The suffix text of the text field."> & DefineProp<"prefix", string, false, null, "The prefix text of the text field."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"update:blured", (value: boolean) => void, "Emit when search input field is blured."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
10
- type NumberInputProps = DefineVModel<"", number, false, null, true, "The v-model value of the component."> & DefineProp<"max", number, false, null, "The max value."> & DefineProp<"min", number, false, null, "The min value."> & DefineProp<"step", number, false, null, "incremental steps for adjusting the numeric value."> & DefineProp<"precision", number, false, null, "Enforces strict precision. It is expected to be an integer value in range between 0 and 15, or null for unrestricted."> & BaseProps;
11
- type TextInputProps = DefineVModel<"", string, false, null, true, "The v-model value of the component."> & DefineProp<"clearable", boolean, false, false, "Adds a clear button when the text field is not empty."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & BaseProps;
10
+ type CustomSlotsProps = DefineSlot<"input", (inputRenderer: FunctionalComponent) => VNodeChild, "Slot that is custom render input.">;
11
+ type NumberInputProps = DefineVModel<"", number, false, null, true, "The v-model value of the component."> & DefineProp<"max", number, false, null, "The max value."> & DefineProp<"min", number, false, null, "The min value."> & DefineProp<"step", number, false, null, "incremental steps for adjusting the numeric value."> & DefineProp<"precision", number, false, null, "Enforces strict precision. It is expected to be an integer value in range between 0 and 15, or null for unrestricted."> & BaseProps & CustomSlotsProps;
12
+ type TextInputProps = DefineVModel<"", string, false, null, true, "The v-model value of the component."> & DefineProp<"clearable", boolean, false, false, "Adds a clear button when the text field is not empty."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & BaseProps & CustomSlotsProps;
12
13
  declare const _default: <TType extends "text" | "number" | "password" = "text">(props: ExtractProps<{
13
14
  type?: TType;
14
15
  } & (TType extends "number" ? NumberInputProps : TextInputProps)> & (({
@@ -1,10 +1,11 @@
1
- import { VersionedLayout, VersionedLayoutDefinition, EditorDisplayModes, guid, IActionButton, IEditorItem, IEditorItemPanelsRenderer, IEditorTabRegistration, IVersionedData, Layout, LayoutEditorCanvasApi, LayoutEditorModes, LegacyThemeDefinition } from "@omnia/fx-models";
1
+ import { VersionedLayout, VersionedLayoutDefinition, guid, IVersionedData, Layout, LayoutEditorCanvasApi, LayoutEditorModes, LegacyThemeDefinition, EditorDisplayModes } from "@omnia/fx-models";
2
2
  import { VersionedLayoutEditorStore } from "..";
3
3
  import { VersionedLayoutStore, MultilingualStore } from "../../../stores";
4
4
  import { EditorChromeStore } from "../../editorchrome";
5
5
  import { OmniaUxLocalization } from "../../UxModels";
6
6
  import { IVersionedLayoutDefinitionEditorTabRenderer } from "./IVersionedLayoutDefinitionEditorTabRenderer";
7
7
  import { RefreshStateOption } from "./RefreshStateOption";
8
+ import { IActionButton, IEditorItem, IEditorItemPanelsRenderer, IEditorTabRegistration } from "../../editorchrome/models";
8
9
  declare class PanelRenderer implements IEditorItemPanelsRenderer {
9
10
  generateElement(): JSX.Element;
10
11
  }
@@ -1,4 +1,5 @@
1
- import { EditorChromeConfiguration, guid } from "@omnia/fx/models";
1
+ import { guid } from "@omnia/fx/models";
2
+ import { EditorChromeConfiguration } from "@omnia/fx/ux/editor";
2
3
  export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration, param2: {
3
4
  state: {
4
5
  id: guid;
@@ -83,7 +84,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
83
84
  };
84
85
  };
85
86
  view: () => {
86
- show: (view: import("@omnia/fx-models").EditorChromeView) => void;
87
+ show: (view: import("@omnia/fx/ux/editor").EditorChromeView) => void;
87
88
  };
88
89
  versioning: () => {
89
90
  init: () => void;
@@ -91,7 +92,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
91
92
  reset: () => void;
92
93
  };
93
94
  panel: () => {
94
- show: (panel: import("@omnia/fx-models").EditorChromePanel) => void;
95
+ show: (panel: import("@omnia/fx/ux/editor").EditorChromePanel) => void;
95
96
  close: () => void;
96
97
  };
97
98
  editor: () => {
@@ -101,7 +102,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
101
102
  };
102
103
  };
103
104
  navigation: () => {
104
- set: (configuration: import("@omnia/fx-models").EditorChromeNavigationConfiguration) => void;
105
+ set: (configuration: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration) => void;
105
106
  show: (value: boolean) => void;
106
107
  };
107
108
  close: () => void;
@@ -116,21 +117,21 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
116
117
  finishedLoading: boolean;
117
118
  compactMode: boolean;
118
119
  navigation: {
119
- configuration: import("@omnia/fx-models").EditorChromeNavigationConfiguration;
120
+ configuration: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration;
120
121
  enabled: boolean;
121
122
  show: boolean;
122
123
  };
123
124
  drawers: {
124
125
  right: {
125
126
  panel: {
126
- settings: import("@omnia/fx-models").EditorChromePanel;
127
+ settings: import("@omnia/fx/ux/editor").EditorChromePanel;
127
128
  show: boolean;
128
- actions: import("@omnia/fx-models").ChromeActionItem[];
129
+ actions: import("@omnia/fx/ux/editor").ChromeActionItem[];
129
130
  footerToolbar: {
130
- actionsLeft: import("@omnia/fx-models").ChromeActionItem[];
131
- actionsCenter: import("@omnia/fx-models").ChromeActionItem[];
132
- actionsRight: import("@omnia/fx-models").ChromeActionItem[];
133
- ExtendActionsRight: import("@omnia/fx-models").ChromeActionItem[];
131
+ actionsLeft: import("@omnia/fx/ux/editor").ChromeActionItem[];
132
+ actionsCenter: import("@omnia/fx/ux/editor").ChromeActionItem[];
133
+ actionsRight: import("@omnia/fx/ux/editor").ChromeActionItem[];
134
+ ExtendActionsRight: import("@omnia/fx/ux/editor").ChromeActionItem[];
134
135
  };
135
136
  };
136
137
  canvas: {
@@ -271,20 +272,20 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
271
272
  resetForNewActiveConfiguration: () => void;
272
273
  };
273
274
  views: () => {
274
- register: (editorView: import("@omnia/fx-models").EditorChromeView | import("@omnia/fx-models").EditorChromeView[]) => void;
275
+ register: (editorView: import("@omnia/fx/ux/editor").EditorChromeView | import("@omnia/fx/ux/editor").EditorChromeView[]) => void;
275
276
  active: {
276
- set: (view: import("@omnia/fx-models").EditorChromeView, addToHistory?: boolean) => void;
277
+ set: (view: import("@omnia/fx/ux/editor").EditorChromeView, addToHistory?: boolean) => void;
277
278
  clear: () => void;
278
279
  configuration: {
279
280
  set: (configuration: EditorChromeConfiguration) => void;
280
281
  };
281
282
  };
282
- remove: (view: import("@omnia/fx-models").EditorChromeView) => void;
283
+ remove: (view: import("@omnia/fx/ux/editor").EditorChromeView) => void;
283
284
  history: {
284
285
  removeCurrent: () => void;
285
286
  goBack: () => boolean;
286
287
  goForward: () => boolean;
287
- addToHistory: (view: import("@omnia/fx-models").EditorChromeView) => void;
288
+ addToHistory: (view: import("@omnia/fx/ux/editor").EditorChromeView) => void;
288
289
  clear: () => void;
289
290
  };
290
291
  };
@@ -298,17 +299,17 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
298
299
  waitForCompletion: () => Promise<void>;
299
300
  };
300
301
  navigation: () => {
301
- register: (navigationItem: import("@omnia/fx-models").EditorChromeNavigationConfiguration) => void;
302
+ register: (navigationItem: import("@omnia/fx/ux/editor").EditorChromeNavigationConfiguration) => void;
302
303
  show: (value: boolean) => void;
303
304
  toggle: () => void;
304
305
  };
305
306
  drawers: () => {
306
307
  right: {
307
308
  panel: {
308
- show: (panel: import("@omnia/fx-models").EditorChromePanel) => void;
309
+ show: (panel: import("@omnia/fx/ux/editor").EditorChromePanel) => void;
309
310
  footerToolbar: {
310
311
  add: {
311
- action: (action: import("@omnia/fx-models").ChromeActionItem | import("@omnia/fx-models").ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
312
+ action: (action: import("@omnia/fx/ux/editor").ChromeActionItem | import("@omnia/fx/ux/editor").ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
312
313
  };
313
314
  };
314
315
  close: () => void;
@@ -333,9 +334,9 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
333
334
  }>;
334
335
  get: {
335
336
  views: {
336
- active: () => import("@omnia/fx-models").EditorChromeView;
337
- all: () => import("@omnia/fx-models").EditorChromeView[];
338
- byId: (id: guid) => import("@omnia/fx-models").EditorChromeView;
337
+ active: () => import("@omnia/fx/ux/editor").EditorChromeView;
338
+ all: () => import("@omnia/fx/ux/editor").EditorChromeView[];
339
+ byId: (id: guid) => import("@omnia/fx/ux/editor").EditorChromeView;
339
340
  };
340
341
  operations: {
341
342
  all: () => guid[];
@@ -343,7 +344,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
343
344
  count: () => number;
344
345
  };
345
346
  history: () => {
346
- view: import("@omnia/fx-models").EditorChromeView;
347
+ view: import("@omnia/fx/ux/editor").EditorChromeView;
347
348
  id: guid;
348
349
  timestamp: number;
349
350
  }[];
@@ -372,7 +373,7 @@ export declare const defineDefaultEditorView: (param1: EditorChromeConfiguration
372
373
  } & {
373
374
  dispose?: () => void;
374
375
  };
375
- canvasView: () => import("@omnia/fx-models").EditorChromeView;
376
+ canvasView: () => import("@omnia/fx/ux/editor").EditorChromeView;
376
377
  };
377
378
  rules: {
378
379
  versioning: {
@@ -1,5 +1,5 @@
1
- import { ChromeActionItem } from "@omnia/fx-models";
2
1
  import { useVersionedLayoutEditorStore } from "@omnia/fx/ux";
2
+ import { ChromeActionItem } from "@omnia/fx/ux/editor";
3
3
  export declare function useCanvasActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
4
4
  preview: ChromeActionItem;
5
5
  design: ChromeActionItem;
@@ -1,5 +1,5 @@
1
- import { ChromeActionItem } from "@omnia/fx-models";
2
1
  import { useVersionedLayoutEditorStore } from "@omnia/fx/ux";
2
+ import { ChromeActionItem } from "internal/fx/ux/editorchrome/models";
3
3
  export declare function useCheckedOutActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
4
4
  discardChanges: ChromeActionItem;
5
5
  saveAsDraft: ChromeActionItem;
@@ -1,5 +1,5 @@
1
- import { ChromeActionItem } from "@omnia/fx-models";
2
1
  import { useVersionedLayoutEditorStore } from "@omnia/fx/ux";
2
+ import { ChromeActionItem } from "@omnia/fx/ux/editor";
3
3
  export declare function useNotCheckedOutActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
4
4
  takeControl: ChromeActionItem;
5
5
  edit: ChromeActionItem;
@@ -1,5 +1,5 @@
1
- import { ChromeActionItem } from "@omnia/fx-models";
2
1
  import { useVersionedLayoutEditorStore } from "@omnia/fx/ux";
2
+ import { ChromeActionItem } from "internal/fx/ux/editorchrome/models";
3
3
  export declare function usePanelActions(editorStore: ReturnType<typeof useVersionedLayoutEditorStore>): {
4
4
  versionHistory: ChromeActionItem;
5
5
  };
@@ -1,5 +1,6 @@
1
- import { EditorChromeConfiguration, EditorChromeNavigationConfiguration, EditorChromePanel, EditorChromeView, guid, ILayoutFileContext, ILayoutMediaContext, IVersionedData, IVersionInformation, Layout, LayoutCanvasEditorMode, MultilingualString, VersionedLayout, VersionedLayoutDefinition } from "@omnia/fx-models";
1
+ import { guid, ILayoutFileContext, ILayoutMediaContext, IVersionedData, IVersionInformation, Layout, LayoutCanvasEditorMode, MultilingualString, VersionedLayout, VersionedLayoutDefinition } from "@omnia/fx-models";
2
2
  import { useEditorChromeStore, useLayoutCanvasStore, VersionedLayoutEditorSettings } from "@omnia/fx/ux";
3
+ import { EditorChromeConfiguration, EditorChromeNavigationConfiguration, EditorChromePanel, EditorChromeView } from "../../editorchrome/models";
3
4
  export interface EditorViews {
4
5
  default: () => {
5
6
  view: EditorChromeView;
@@ -132,12 +133,12 @@ export declare const useVersionedLayoutEditorStore: () => {
132
133
  panel: {
133
134
  settings: EditorChromePanel;
134
135
  show: boolean;
135
- actions: import("@omnia/fx-models").ChromeActionItem[];
136
+ actions: import("../../editorchrome/models").ChromeActionItem[];
136
137
  footerToolbar: {
137
- actionsLeft: import("@omnia/fx-models").ChromeActionItem[];
138
- actionsCenter: import("@omnia/fx-models").ChromeActionItem[];
139
- actionsRight: import("@omnia/fx-models").ChromeActionItem[];
140
- ExtendActionsRight: import("@omnia/fx-models").ChromeActionItem[];
138
+ actionsLeft: import("../../editorchrome/models").ChromeActionItem[];
139
+ actionsCenter: import("../../editorchrome/models").ChromeActionItem[];
140
+ actionsRight: import("../../editorchrome/models").ChromeActionItem[];
141
+ ExtendActionsRight: import("../../editorchrome/models").ChromeActionItem[];
141
142
  };
142
143
  };
143
144
  canvas: {
@@ -315,7 +316,7 @@ export declare const useVersionedLayoutEditorStore: () => {
315
316
  show: (panel: EditorChromePanel) => void;
316
317
  footerToolbar: {
317
318
  add: {
318
- action: (action: import("@omnia/fx-models").ChromeActionItem | import("@omnia/fx-models").ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
319
+ action: (action: import("../../editorchrome/models").ChromeActionItem | import("../../editorchrome/models").ChromeActionItem[], position?: "left" | "center" | "right" | "extended-right") => void;
319
320
  };
320
321
  };
321
322
  close: () => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.544-dev",
4
+ "version": "8.0.545-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.544-dev",
23
+ "@omnia/fx-models": "8.0.545-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",