@omnia/fx 8.0.102-vnext → 8.0.103-vnext

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 (24) hide show
  1. package/internal-do-not-import-from-here/core/messaging/InternalTopics.d.ts +3 -0
  2. package/internal-do-not-import-from-here/core/services/ServiceManifestProviderInternal.d.ts +2 -2
  3. package/internal-do-not-import-from-here/index.d.ts +5 -5
  4. package/internal-do-not-import-from-here/runtime/core/InternalWebComponentBootstrapper.d.ts +4 -4
  5. package/internal-do-not-import-from-here/runtime/core/ManifestByElementLoader.d.ts +1 -0
  6. package/internal-do-not-import-from-here/runtime/core/PrivateWebComponentBootstrapper.d.ts +7 -7
  7. package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +20 -36
  9. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.css.d.ts +7 -0
  10. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.d.ts +4 -3
  11. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor_old.d.ts +0 -66
  12. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformFilter/ImageTransformFilter.d.ts +130 -17
  13. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformFilter/ImageTransformFilter_old.d.ts +23 -0
  14. package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.css.d.ts +1 -1
  15. package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.d.ts +2 -2
  16. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +6 -6
  17. package/internal-do-not-import-from-here/ux/mediapicker/components/ImageEditor.css.d.ts +1 -0
  18. package/internal-do-not-import-from-here/ux/oxide/list/List.css.d.ts +1 -1
  19. package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +11 -0
  20. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.css.d.ts +4 -1
  21. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +16 -5
  22. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +10 -0
  23. package/internal-do-not-import-from-here/vue/VueApp.d.ts +2 -2
  24. package/package.json +3 -3
@@ -28,6 +28,9 @@ export declare class InternalTopics {
28
28
  instance: any;
29
29
  object: any;
30
30
  }>;
31
+ static get requestedLoadManifestByElement(): IMessageBusTopicPublishSubscriber<{
32
+ elementName: string;
33
+ }>;
31
34
  static get vueOnDestroyed(): IMessageBusTopicPublishSubscriber<{
32
35
  instance: ComponentInternalInstance;
33
36
  }>;
@@ -1,10 +1,10 @@
1
- import { OmniaManifests, WebComponentBundleManifest } from "../../models";
1
+ import { OmniaManifests, ComponentBundleManifest } from "../../models";
2
2
  export declare class ServiceManifestProviderInternal {
3
3
  private static _omniaManifests;
4
4
  private static _wcManifests;
5
5
  static init(): Promise<void>;
6
6
  static getAllOmniaManifests(): OmniaManifests[];
7
7
  static getAllWebComponentsManifests(): {
8
- [manifestId: string]: WebComponentBundleManifest;
8
+ [manifestId: string]: ComponentBundleManifest;
9
9
  };
10
10
  }
@@ -1,7 +1,7 @@
1
1
  export * from "./expose";
2
2
  import * as Exposes from "./expose";
3
3
  import * as Models from "internal/fx/models";
4
- import { IExtend, ThemeDefinitionV2, WebComponentBundleManifest } from "./models";
4
+ import { IExtend, ThemeDefinitionV2, ComponentBundleManifest } from "./models";
5
5
  interface IExtendApi {
6
6
  extendApi: <T>(targetApi: (extend: IExtend) => Promise<T>, callback?: (api: T) => void | Promise<void>) => void;
7
7
  }
@@ -16,15 +16,15 @@ declare global {
16
16
  export interface IWebComponentInstance {
17
17
  }
18
18
  export interface IWebComponentRegistrationHandler {
19
- (webComponentManifest: WebComponentBundleManifest): void;
19
+ (webComponentManifest: ComponentBundleManifest): void;
20
20
  }
21
21
  export interface IConnectedWebComponent {
22
22
  setRegistrationHandler: (registrationHandler: IWebComponentRegistrationHandler) => void;
23
23
  addElementInstanceHandler: (instanceHandler: IWebComponentInstance, htmlElement: HTMLElement) => IWebComponentInstanceContext;
24
- getManifest: () => WebComponentBundleManifest;
24
+ getManifest: () => ComponentBundleManifest;
25
25
  }
26
26
  export interface IWebComponentInstanceContext {
27
- getManifest: () => WebComponentBundleManifest;
27
+ getManifest: () => ComponentBundleManifest;
28
28
  }
29
29
  export declare class WebComponentBootstrapper {
30
30
  static registerElement: (registrationHandler: IWebComponentRegistrationHandler) => void;
@@ -117,7 +117,7 @@ export declare function setCurrentManifest(omniaServiceId: any, resourceId: any)
117
117
  getVueApps(): Set<import("vue").App<Element>>;
118
118
  destroyVueApp(app: import("vue").App<Element>): void;
119
119
  createVueApp(rootComponent: any, rootProps?: any): import("vue").App<Element>;
120
- registerAsyncVueComponent(app: import("vue").App<any>, component: Models.WebComponentBundleManifest): void;
120
+ registerAsyncVueComponent(app: import("vue").App<any>, component: Models.ComponentBundleManifest): void;
121
121
  resolveAsyncVueComponent(elementName: string, definition: import("vue").DefineComponent): void;
122
122
  vueCustomElement(tag: string, componentDefinition: Object | Exposes.ComponentDefinitionFunc, options?: Exposes.VueCustomElementOptions): HTMLElement;
123
123
  DisplayRules: typeof Exposes.DisplayRules;
@@ -1,16 +1,16 @@
1
- import { GuidValue, WebComponentBundleManifest } from "../../models";
1
+ import { GuidValue, ComponentBundleManifest } from "../../models";
2
2
  export interface IWebComponentInstance {
3
3
  }
4
4
  export interface IWebComponentRegistrationHandler {
5
- (webComponentManifest: WebComponentBundleManifest): void;
5
+ (webComponentManifest: ComponentBundleManifest): void;
6
6
  }
7
7
  export interface IConnectedWebComponent {
8
8
  setRegistrationHandler: (registrationHandler: IWebComponentRegistrationHandler) => void;
9
9
  addElementInstanceHandler: (instanceHandler: IWebComponentInstance, htmlElement: HTMLElement) => IWebComponentInstanceContext;
10
- getManifest: () => WebComponentBundleManifest;
10
+ getManifest: () => ComponentBundleManifest;
11
11
  }
12
12
  export interface IWebComponentInstanceContext {
13
- getManifest: () => WebComponentBundleManifest;
13
+ getManifest: () => ComponentBundleManifest;
14
14
  }
15
15
  export declare class InternalWebComponentBootstrapper {
16
16
  static registerElement: (omniaServiceId: GuidValue, manifestId: GuidValue, registrationHandler: IWebComponentRegistrationHandler) => void;
@@ -6,6 +6,7 @@ export declare class ManifestByElementLoader {
6
6
  private static ElementNameToManifestMap;
7
7
  private static StoredAddMutations;
8
8
  private static StoredMutationsLimit;
9
+ private static requestedLoadManifestMatchingElement;
9
10
  private Subscriber;
10
11
  private constructor();
11
12
  static manifestSubscriber: () => IManifestSubscriber;
@@ -1,23 +1,23 @@
1
1
  import { IWebComponentInstanceContext, IConnectedWebComponent, IWebComponentRegistrationHandler, IWebComponentInstance } from "./InternalWebComponentBootstrapper";
2
- import { WebComponentBundleManifest } from "../../models";
2
+ import { ComponentBundleManifest } from "../../models";
3
3
  export declare class WebComponentInstanceContext implements IWebComponentInstanceContext {
4
4
  private instance;
5
- getManifest: () => WebComponentBundleManifest;
6
- constructor(instance: IWebComponentInstance, getManifest: () => WebComponentBundleManifest);
5
+ getManifest: () => ComponentBundleManifest;
6
+ constructor(instance: IWebComponentInstance, getManifest: () => ComponentBundleManifest);
7
7
  }
8
8
  export declare class ConnectedWebComponent implements IConnectedWebComponent {
9
9
  private webComponentManifest;
10
10
  private registrationHandler;
11
11
  instanceContexts: Array<WebComponentInstanceContext>;
12
- constructor(webComponentManifest: WebComponentBundleManifest);
12
+ constructor(webComponentManifest: ComponentBundleManifest);
13
13
  hasElementRegistrationHandler: () => boolean;
14
- getManifest: () => WebComponentBundleManifest;
14
+ getManifest: () => ComponentBundleManifest;
15
15
  setRegistrationHandler: (registrationHandler: IWebComponentRegistrationHandler) => void;
16
16
  executeElementRegistration: () => void;
17
17
  addElementInstanceHandler: (instanceHandler: IWebComponentInstance, htmlElement: HTMLElement) => IWebComponentInstanceContext;
18
18
  }
19
19
  export declare class PrivateBootstrapper {
20
20
  private static ProxyHolder;
21
- static newWebComponentProxy: (webComponentManifest: WebComponentBundleManifest) => ConnectedWebComponent;
22
- static getWebComponentProxy: (webComponentManifest: WebComponentBundleManifest) => ConnectedWebComponent;
21
+ static newWebComponentProxy: (webComponentManifest: ComponentBundleManifest) => ConnectedWebComponent;
22
+ static getWebComponentProxy: (webComponentManifest: ComponentBundleManifest) => ConnectedWebComponent;
23
23
  }
@@ -79,4 +79,4 @@ export type { FocusOption, ClickOutOption, ScrollOption, LinkHandlerOptions, } f
79
79
  export { FocusDirective, ClickOutDirective, ScrollDirective, LinkHandlerDirective, } from "./directives";
80
80
  export { VueComponentBase, getVuetifyAppClasses, VueComponentConnect, } from "./VueComponentBase";
81
81
  export type { VueComponentBaseProps, VueComponentBaseEvents, } from "./VueComponentBase";
82
- export { defineVueWebComponent, defineVueComponent, definePropFunctionType, definePropObjectType, defineVue } from "./InternalDefineWebComponent";
82
+ export { defineVueComponent, definePropFunctionType, definePropObjectType, defineVue } from "./InternalDefineWebComponent";
@@ -1,7 +1,7 @@
1
1
  import { SubscriptionHandler } from "@omnia/fx";
2
2
  import { ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, ComponentPropsOptions, DefineComponent, ComponentObjectPropsOptions, Prop, PropType, ObjectEmitsOptions, CreateComponentPublicInstance, ExtractPropTypes, ExtractDefaultPropTypes, ComponentOptionsBase, RenderFunction, watchEffect, SlotsType, ComponentOptions, Slot, watch } from "vue";
3
3
  import { LooseRequired, UnionToIntersection, Prettify } from "@vue/shared";
4
- import { ThemeableComponentProps, WebComponentBundleManifest } from "@omnia/fx-models";
4
+ import { ThemeableComponentProps, ComponentBundleManifest } from "@omnia/fx-models";
5
5
  import { useColorSchemaSetup, useBlueprintSetup } from "./use";
6
6
  import { IValidatorBase } from "./models/Validation";
7
7
  export declare function definePropFunctionType<T>(): PropType<T>;
@@ -113,6 +113,25 @@ type SetupContext<Props, E = EmitsOptions> = E extends any ? {
113
113
  interface ComponentOptionsBaseExtends<Props, RawBindings, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, E extends EmitsOptions, EE extends string = string, Defaults = {}, I extends ComponentInjectOptions = {}, II extends string = string> extends ComponentOptionsBase<ExcludeJsxPropKeys<Props>, RawBindings, D, C, M, Mixin, Extends, E, EE, Defaults, I, II> {
114
114
  setup?: (this: void, props: LooseRequired<ExcludeJsxPropKeys<Props> & Prettify<UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "P">>>, ctx: SetupContext<Props, E>) => Promise<RawBindings> | RawBindings | RenderFunction | void;
115
115
  }
116
+ export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
117
+ props?: (keyof Props)[];
118
+ emits?: E | EE[];
119
+ slots?: S;
120
+ }, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
121
+ export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
122
+ props?: ComponentObjectPropsOptions<Props>;
123
+ emits?: E | EE[];
124
+ slots?: S;
125
+ }, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
126
+ export declare function defineVueComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
127
+ export declare function defineVueComponent<Props extends Object, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectPropsCustom<ComponentObjectPropsOptions<Props>, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<RemoveDefinePropApi<ComponentObjectPropsOptions<Props>>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
128
+ export declare function defineVueComponent<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<Readonly<{
129
+ [key in PropNames]?: any;
130
+ }>, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<Readonly<{
131
+ [key in PropNames]?: any;
132
+ }>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
133
+ export declare function defineVueComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectPropsCustom<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: ComponentBundleManifest, component: TsxComponentV3<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<RemoveDefinePropApi<PropsOptions>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
134
+ export declare function internalDefineVueWebComponent(omniaServiceId: any, manifestId: any, options: any, extraOptions?: any, register?: (manifest: ComponentBundleManifest, component: any) => void): any;
116
135
  export declare function createPropType<T>(): PropType<T>;
117
136
  export declare function defineVue(): {
118
137
  slots<Slots_1>(): {
@@ -226,41 +245,6 @@ export declare function defineVue(): {
226
245
  };
227
246
  };
228
247
  };
229
- export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
230
- props?: (keyof Props)[];
231
- emits?: E | EE[];
232
- slots?: S;
233
- }): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
234
- export declare function defineVueComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
235
- props?: ComponentObjectPropsOptions<Props>;
236
- emits?: E | EE[];
237
- slots?: S;
238
- }): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
239
- export declare function defineVueComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
240
- export declare function defineVueComponent<Props extends Object, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectPropsCustom<ComponentObjectPropsOptions<Props>, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): TsxComponentV3<RemoveDefinePropApi<ComponentObjectPropsOptions<Props>>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
241
- export declare function defineVueComponent<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): TsxComponentV3<Readonly<{
242
- [key in PropNames]?: any;
243
- }>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
244
- export declare function defineVueComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectPropsCustom<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>): TsxComponentV3<RemoveDefinePropApi<PropsOptions>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
245
- export declare function defineVueWebComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
246
- props?: (keyof Props)[];
247
- emits?: E | EE[];
248
- slots?: S;
249
- }, register?: (manifest: WebComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
250
- export declare function defineVueWebComponent<Props extends Record<string, any>, E extends EmitsOptions = {}, EE extends string = string, S extends SlotsType = {}>(setup: (props: Props, ctx: SetupContext<E, S>) => RenderFunction | Promise<RenderFunction>, options?: Pick<ComponentOptions, "name" | "inheritAttrs"> & {
251
- props?: ComponentObjectPropsOptions<Props>;
252
- emits?: E | EE[];
253
- slots?: S;
254
- }, register?: (manifest: WebComponentBundleManifest, component: TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>) => void): TsxComponentV3<Props, {}, {}, {}, {}, {}, {}, E, EE>;
255
- export declare function defineVueWebComponent<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: WebComponentBundleManifest, component: TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>;
256
- export declare function defineVueWebComponent<Props extends Object, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectPropsCustom<ComponentObjectPropsOptions<Props>, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: WebComponentBundleManifest, component: TsxComponentV3<Props, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<RemoveDefinePropApi<ComponentObjectPropsOptions<Props>>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
257
- export declare function defineVueWebComponent<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: WebComponentBundleManifest, component: TsxComponentV3<Readonly<{
258
- [key in PropNames]?: any;
259
- }>, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<Readonly<{
260
- [key in PropNames]?: any;
261
- }>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
262
- export declare function defineVueWebComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = {}, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string>(options: ComponentOptionsWithObjectPropsCustom<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II>, register?: (manifest: WebComponentBundleManifest, component: TsxComponentV3<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>) => void): TsxComponentV3<RemoveDefinePropApi<PropsOptions>, RawBindings, D, C, M, Mixin, Extends, E, EE>;
263
- export declare function internalDefineVueWebComponent(omniaServiceId: any, manifestId: any, options: any, extraOptions?: any, register?: (manifest: WebComponentBundleManifest, component: any) => void): any;
264
248
  declare global {
265
249
  namespace JSX {
266
250
  interface IntrinsicAttributes {
@@ -0,0 +1,7 @@
1
+ import { ColorDefinition } from "@omnia/fx-models";
2
+ export declare const ImageTransformEditorStyles: {
3
+ imageMenuWrapper: (color: ColorDefinition) => string;
4
+ rotateIcon90: string;
5
+ menyDrawerExpanded: string;
6
+ menyDrawer: (dark: boolean) => string;
7
+ };
@@ -1,4 +1,5 @@
1
1
  import { MediaPickerCropTransformation, MediaPickerImageRatioDefinition, MediaPickerTransformedBase64Image, MediaPickerBase64Image, ImageTransformerEditorOptions } from "../../../../models";
2
+ import { nextTick } from "vue";
2
3
  export interface ImageTransformEditorProps {
3
4
  sourceImage: MediaPickerBase64Image;
4
5
  containerId: string;
@@ -64,6 +65,7 @@ declare const _default: {
64
65
  }>) => void)[];
65
66
  readonly sourceImage?: MediaPickerBase64Image;
66
67
  readonly containerId?: string;
68
+ readonly selectableRatios?: MediaPickerImageRatioDefinition[];
67
69
  readonly shareableRenditions?: MediaPickerCropTransformation[];
68
70
  readonly selectedRenditionId?: {
69
71
  value: number;
@@ -71,7 +73,6 @@ declare const _default: {
71
73
  readonly isShowWarningDialog?: {
72
74
  value: boolean;
73
75
  };
74
- readonly selectableRatios?: MediaPickerImageRatioDefinition[];
75
76
  readonly "source-image"?: MediaPickerBase64Image;
76
77
  readonly "container-id"?: string;
77
78
  readonly "selectable-ratios"?: MediaPickerImageRatioDefinition[];
@@ -169,7 +170,7 @@ declare const _default: {
169
170
  errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
170
171
  };
171
172
  $forceUpdate: () => void;
172
- $nextTick: typeof import("vue").nextTick;
173
+ $nextTick: typeof nextTick;
173
174
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
174
175
  } & Readonly<import("vue").ExtractPropTypes<{
175
176
  options: {
@@ -286,6 +287,7 @@ declare const _default: {
286
287
  options?: ImageTransformerEditorOptions;
287
288
  sourceImage?: MediaPickerBase64Image;
288
289
  containerId?: string;
290
+ selectableRatios?: MediaPickerImageRatioDefinition[];
289
291
  shareableRenditions?: MediaPickerCropTransformation[];
290
292
  selectedRenditionId?: {
291
293
  value: number;
@@ -293,7 +295,6 @@ declare const _default: {
293
295
  isShowWarningDialog?: {
294
296
  value: boolean;
295
297
  };
296
- selectableRatios?: MediaPickerImageRatioDefinition[];
297
298
  "source-image"?: MediaPickerBase64Image;
298
299
  "container-id"?: string;
299
300
  "selectable-ratios"?: MediaPickerImageRatioDefinition[];
@@ -1,66 +0,0 @@
1
- import { IWebComponentInstance } from "../../../..";
2
- import { OmniaTheming, VueComponentBase, ConfirmDialogResponse } from "../../..";
3
- import { MediaPickerEnums, MediaPickerCropTransformation, MediaPickerTransformation, MediaPickerImageRatioDefinition, MediaPickerTransformedBase64Image, MediaPickerBase64Image, ImageTransformerEditorOptions } from "../../../../models";
4
- import { ImageTransformerLocalization } from "../../loc/localize";
5
- import { ImageEditorMenu } from "../../../imagetransformation/enums";
6
- import { MediaPickerService } from "../../../../services";
7
- export interface ImageTransformEditorProps {
8
- sourceImage: MediaPickerBase64Image;
9
- containerId: string;
10
- selectableRatios?: Array<MediaPickerImageRatioDefinition>;
11
- transformationChanged: (originalBase64: MediaPickerBase64Image, transformation: MediaPickerTransformedBase64Image) => void;
12
- shareableRenditions?: Array<MediaPickerCropTransformation>;
13
- selectedRenditionId?: {
14
- value: number;
15
- };
16
- isShowWarningDialog?: {
17
- value: boolean;
18
- };
19
- options?: ImageTransformerEditorOptions;
20
- }
21
- export declare class ImageTransformEditor extends VueComponentBase<ImageTransformEditorProps> implements IWebComponentInstance, ImageTransformEditorProps {
22
- sourceImage: MediaPickerBase64Image;
23
- containerId: string;
24
- selectableRatios?: Array<MediaPickerImageRatioDefinition>;
25
- transformationChanged: (originalBase64: MediaPickerBase64Image, transformation: MediaPickerTransformedBase64Image) => void;
26
- shareableRenditions: Array<MediaPickerCropTransformation>;
27
- selectedRenditionId: {
28
- value: number;
29
- };
30
- isShowWarningDialog: {
31
- value: boolean;
32
- };
33
- options: ImageTransformerEditorOptions;
34
- omniaTheming: OmniaTheming;
35
- mediaPickerService: MediaPickerService;
36
- loc: ImageTransformerLocalization.locInterface;
37
- private transformedImage;
38
- private transformedImageInformation;
39
- private editorInstance;
40
- private maxImageHeight;
41
- private maxImageWidth;
42
- private menu;
43
- private cropButton;
44
- private flipButton;
45
- private filterButton;
46
- private isHiddenMenu;
47
- private editorId;
48
- private imageEditorMenuClassname;
49
- private imageEditorMenuOptionClassname;
50
- private isLoadingAndTransforming;
51
- created(): void;
52
- mounted(): void;
53
- beforeDestroy(): void;
54
- private init;
55
- private transformUsingTuiEditor;
56
- private onImageTransformationDataChanged;
57
- resizeCanvasDimension(forceDefault?: boolean): Promise<void>;
58
- resetStyle(res: ConfirmDialogResponse): void;
59
- getConfig(data: Array<MediaPickerTransformation>, type: MediaPickerEnums.MediaPickerTransformationTypes): MediaPickerTransformation;
60
- getUiOption(): void;
61
- openMenu(menu: ImageEditorMenu, res?: ConfirmDialogResponse): void;
62
- toogleCurrentButton(currentMenu: ImageEditorMenu): void;
63
- renderMenu(): JSX.Element;
64
- renderMenuOptions(): JSX.Element;
65
- render(): JSX.Element;
66
- }
@@ -1,23 +1,136 @@
1
- import { IWebComponentInstance } from "../../../..";
2
1
  import "../../ImageTransformer.css";
3
- import { OmniaTheming, VueComponentBase } from "../../..";
4
- import { ImageTransformerLocalization } from "../../loc/localize";
5
2
  import { MediaPickerFilterTransformation, MediaPickerTransformation } from "../../../../models";
6
3
  export interface ImageTransformFilterProps {
7
4
  imageTransformationData?: Array<MediaPickerTransformation>;
8
5
  changedImageConfigurationCallback?: (imageFilterTransformationData: MediaPickerFilterTransformation) => void;
9
6
  }
10
- export declare class ImageTransformFilter extends VueComponentBase<ImageTransformFilterProps> implements IWebComponentInstance {
11
- imageTransformationData?: Array<MediaPickerTransformation>;
12
- changedImageConfigurationCallback?: (imageFilterTransformationData: MediaPickerFilterTransformation) => void;
13
- omniaTheming: OmniaTheming;
14
- loc: ImageTransformerLocalization.locInterface;
15
- private currentFilterTransformationData;
16
- private isLoading;
17
- private imageWithoutFilterTransformationData;
18
- created(): void;
19
- mounted(): void;
20
- private init;
21
- private onFilterTransformationChanged;
22
- render(): JSX.Element;
23
- }
7
+ declare const _default: {
8
+ new (...args: any[]): {
9
+ $: import("vue").ComponentInternalInstance;
10
+ $data: {};
11
+ $props: {
12
+ style?: unknown;
13
+ class?: unknown;
14
+ key?: string | number | symbol;
15
+ ref?: import("vue").VNodeRef;
16
+ ref_for?: boolean;
17
+ ref_key?: string;
18
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }>) => void)[];
23
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
+ [key: string]: any;
27
+ }>) => void)[];
28
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ [key: string]: any;
30
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>) => void)[];
37
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
+ [key: string]: any;
45
+ }>) => void)[];
46
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void)[];
51
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
+ [key: string]: any;
55
+ }>) => void)[];
56
+ readonly imageTransformationData?: MediaPickerTransformation[];
57
+ readonly "image-transformation-data"?: MediaPickerTransformation[];
58
+ onChangedImageConfiguration?: (imageFilterTransformationData: MediaPickerFilterTransformation) => any;
59
+ };
60
+ $attrs: {
61
+ [x: string]: unknown;
62
+ };
63
+ $refs: {
64
+ [x: string]: unknown;
65
+ };
66
+ $slots: Readonly<{
67
+ [name: string]: import("vue").Slot<any>;
68
+ }>;
69
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
70
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
71
+ $emit: (event: "changedImageConfiguration", imageFilterTransformationData: MediaPickerFilterTransformation) => void;
72
+ $el: any;
73
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
74
+ "image-transformation-data": {
75
+ type: import("vue").PropType<MediaPickerTransformation[]>;
76
+ };
77
+ imageTransformationData: {
78
+ type: import("vue").PropType<MediaPickerTransformation[]>;
79
+ };
80
+ }>> & {
81
+ onChangedImageConfiguration?: (imageFilterTransformationData: MediaPickerFilterTransformation) => any;
82
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ changedImageConfiguration: (imageFilterTransformationData: MediaPickerFilterTransformation) => true;
84
+ }, string, {}, {}, string, {}> & {
85
+ beforeCreate?: (() => void) | (() => void)[];
86
+ created?: (() => void) | (() => void)[];
87
+ beforeMount?: (() => void) | (() => void)[];
88
+ mounted?: (() => void) | (() => void)[];
89
+ beforeUpdate?: (() => void) | (() => void)[];
90
+ updated?: (() => void) | (() => void)[];
91
+ activated?: (() => void) | (() => void)[];
92
+ deactivated?: (() => void) | (() => void)[];
93
+ beforeDestroy?: (() => void) | (() => void)[];
94
+ beforeUnmount?: (() => void) | (() => void)[];
95
+ destroyed?: (() => void) | (() => void)[];
96
+ unmounted?: (() => void) | (() => void)[];
97
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
98
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
99
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
100
+ };
101
+ $forceUpdate: () => void;
102
+ $nextTick: typeof import("vue").nextTick;
103
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
104
+ } & Readonly<import("vue").ExtractPropTypes<{
105
+ "image-transformation-data": {
106
+ type: import("vue").PropType<MediaPickerTransformation[]>;
107
+ };
108
+ imageTransformationData: {
109
+ type: import("vue").PropType<MediaPickerTransformation[]>;
110
+ };
111
+ }>> & {
112
+ onChangedImageConfiguration?: (imageFilterTransformationData: MediaPickerFilterTransformation) => any;
113
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
114
+ __isFragment?: never;
115
+ __isTeleport?: never;
116
+ __isSuspense?: never;
117
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
118
+ "image-transformation-data": {
119
+ type: import("vue").PropType<MediaPickerTransformation[]>;
120
+ };
121
+ imageTransformationData: {
122
+ type: import("vue").PropType<MediaPickerTransformation[]>;
123
+ };
124
+ }>> & {
125
+ onChangedImageConfiguration?: (imageFilterTransformationData: MediaPickerFilterTransformation) => any;
126
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
127
+ changedImageConfiguration: (imageFilterTransformationData: MediaPickerFilterTransformation) => true;
128
+ }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
129
+ propsDefinition: Omit<Readonly<{} & {
130
+ imageTransformationData?: MediaPickerTransformation[];
131
+ "image-transformation-data"?: MediaPickerTransformation[];
132
+ }>, "onChangedImageConfiguration"> & {
133
+ onChangedImageConfiguration?: (imageFilterTransformationData: MediaPickerFilterTransformation) => any;
134
+ };
135
+ };
136
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { IWebComponentInstance } from "../../../..";
2
+ import "../../ImageTransformer.css";
3
+ import { OmniaTheming, VueComponentBase } from "../../..";
4
+ import { ImageTransformerLocalization } from "../../loc/localize";
5
+ import { MediaPickerFilterTransformation, MediaPickerTransformation } from "../../../../models";
6
+ export interface ImageTransformFilterProps {
7
+ imageTransformationData?: Array<MediaPickerTransformation>;
8
+ changedImageConfigurationCallback?: (imageFilterTransformationData: MediaPickerFilterTransformation) => void;
9
+ }
10
+ export declare class ImageTransformFilter extends VueComponentBase<ImageTransformFilterProps> implements IWebComponentInstance {
11
+ imageTransformationData?: Array<MediaPickerTransformation>;
12
+ changedImageConfigurationCallback?: (imageFilterTransformationData: MediaPickerFilterTransformation) => void;
13
+ omniaTheming: OmniaTheming;
14
+ loc: ImageTransformerLocalization.locInterface;
15
+ private currentFilterTransformationData;
16
+ private isLoading;
17
+ private imageWithoutFilterTransformationData;
18
+ created(): void;
19
+ mounted(): void;
20
+ private init;
21
+ private onFilterTransformationChanged;
22
+ render(): JSX.Element;
23
+ }
@@ -2,4 +2,4 @@ import { OmniaTheming } from "..";
2
2
  export declare const MediaStyles: {
3
3
  hideDisplayWrapper: string;
4
4
  };
5
- export declare const transformer: (theme: OmniaTheming) => string;
5
+ export declare function transformer(theme: OmniaTheming): string;
@@ -52,11 +52,11 @@ declare const _default: {
52
52
  }>) => void)[];
53
53
  readonly sourceImage?: MediaPickerBase64Image | MediaPickerTransformedBase64Image;
54
54
  onChanged?: (currentTransformationResult: MediaPickerImageTransformationResult) => any;
55
- readonly rollupRatios?: MediaPickerRollupImageRatio[];
56
55
  readonly selectableRatios?: MediaPickerImageRatioDefinition[];
57
56
  readonly "source-image"?: MediaPickerBase64Image | MediaPickerTransformedBase64Image;
58
57
  readonly "selectable-ratios"?: MediaPickerImageRatioDefinition[];
59
58
  readonly renditions?: MediaPickerRenditionData[];
59
+ readonly rollupRatios?: MediaPickerRollupImageRatio[];
60
60
  readonly "rollup-ratios"?: MediaPickerRollupImageRatio[];
61
61
  };
62
62
  $attrs: {
@@ -197,11 +197,11 @@ declare const _default: {
197
197
  propsDefinition: Omit<Readonly<{} & {
198
198
  options?: ImageTransformerOptions;
199
199
  sourceImage?: MediaPickerBase64Image | MediaPickerTransformedBase64Image;
200
- rollupRatios?: MediaPickerRollupImageRatio[];
201
200
  selectableRatios?: MediaPickerImageRatioDefinition[];
202
201
  "source-image"?: MediaPickerBase64Image | MediaPickerTransformedBase64Image;
203
202
  "selectable-ratios"?: MediaPickerImageRatioDefinition[];
204
203
  renditions?: MediaPickerRenditionData[];
204
+ rollupRatios?: MediaPickerRollupImageRatio[];
205
205
  "rollup-ratios"?: MediaPickerRollupImageRatio[];
206
206
  }>, "onChanged"> & {
207
207
  onChanged?: (currentTransformationResult: MediaPickerImageTransformationResult) => any;
@@ -86,7 +86,7 @@ declare const _default: {
86
86
  drawerPanel: import("@omnia/fx-models").NestedCSSPropertiesExtends;
87
87
  developerDialog: import("@omnia/fx-models").NestedCSSPropertiesExtends;
88
88
  drawerToolbar: import("@omnia/fx-models").NestedCSSPropertiesExtends;
89
- drawerToolbarWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
89
+ drawerToolbarWrapper: (dark: boolean) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
90
90
  settingsWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
91
91
  closeButton: import("@omnia/fx-models").NestedCSSPropertiesExtends;
92
92
  rightResizer: (backgroundColor: string) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
@@ -103,7 +103,7 @@ declare const _default: {
103
103
  drawerPanel: import("@omnia/fx-models").NestedCSSPropertiesExtends;
104
104
  developerDialog: import("@omnia/fx-models").NestedCSSPropertiesExtends;
105
105
  drawerToolbar: import("@omnia/fx-models").NestedCSSPropertiesExtends;
106
- drawerToolbarWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
106
+ drawerToolbarWrapper: (dark: boolean) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
107
107
  settingsWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
108
108
  closeButton: import("@omnia/fx-models").NestedCSSPropertiesExtends;
109
109
  rightResizer: (backgroundColor: string) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
@@ -153,7 +153,7 @@ declare const _default: {
153
153
  drawerPanel: import("@omnia/fx-models").NestedCSSPropertiesExtends;
154
154
  developerDialog: import("@omnia/fx-models").NestedCSSPropertiesExtends;
155
155
  drawerToolbar: import("@omnia/fx-models").NestedCSSPropertiesExtends;
156
- drawerToolbarWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
156
+ drawerToolbarWrapper: (dark: boolean) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
157
157
  settingsWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
158
158
  closeButton: import("@omnia/fx-models").NestedCSSPropertiesExtends;
159
159
  rightResizer: (backgroundColor: string) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
@@ -170,7 +170,7 @@ declare const _default: {
170
170
  drawerPanel: import("@omnia/fx-models").NestedCSSPropertiesExtends;
171
171
  developerDialog: import("@omnia/fx-models").NestedCSSPropertiesExtends;
172
172
  drawerToolbar: import("@omnia/fx-models").NestedCSSPropertiesExtends;
173
- drawerToolbarWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
173
+ drawerToolbarWrapper: (dark: boolean) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
174
174
  settingsWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
175
175
  closeButton: import("@omnia/fx-models").NestedCSSPropertiesExtends;
176
176
  rightResizer: (backgroundColor: string) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
@@ -204,7 +204,7 @@ declare const _default: {
204
204
  drawerPanel: import("@omnia/fx-models").NestedCSSPropertiesExtends;
205
205
  developerDialog: import("@omnia/fx-models").NestedCSSPropertiesExtends;
206
206
  drawerToolbar: import("@omnia/fx-models").NestedCSSPropertiesExtends;
207
- drawerToolbarWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
207
+ drawerToolbarWrapper: (dark: boolean) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
208
208
  settingsWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
209
209
  closeButton: import("@omnia/fx-models").NestedCSSPropertiesExtends;
210
210
  rightResizer: (backgroundColor: string) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
@@ -221,7 +221,7 @@ declare const _default: {
221
221
  drawerPanel: import("@omnia/fx-models").NestedCSSPropertiesExtends;
222
222
  developerDialog: import("@omnia/fx-models").NestedCSSPropertiesExtends;
223
223
  drawerToolbar: import("@omnia/fx-models").NestedCSSPropertiesExtends;
224
- drawerToolbarWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
224
+ drawerToolbarWrapper: (dark: boolean) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
225
225
  settingsWrapper: import("@omnia/fx-models").NestedCSSPropertiesExtends;
226
226
  closeButton: import("@omnia/fx-models").NestedCSSPropertiesExtends;
227
227
  rightResizer: (backgroundColor: string) => import("@omnia/fx-models").NestedCSSPropertiesExtends;
@@ -4,6 +4,7 @@ export declare const ImageEditorStyles: {
4
4
  imageRendition: string;
5
5
  renditionTypesWrapper: string;
6
6
  imageMenuWrapper: (dark: boolean) => string;
7
+ settingsWrapper: (dark: boolean) => string;
7
8
  renditionTypes: {
8
9
  common: (color: ColorDefinition, selected: boolean) => string;
9
10
  landscape: string;
@@ -1,4 +1,4 @@
1
1
  import { ListTypes } from "@omnia/fx-models";
2
2
  export declare const listStyles: {
3
- wrapper: (listType: ListTypes, dark: any) => string;
3
+ wrapper: (listType: ListTypes, dark: any, divider: boolean) => string;
4
4
  };
@@ -55,6 +55,7 @@ declare const _default: {
55
55
  }>) => void)[];
56
56
  readonly variant?: "navigation" | "default" | "options";
57
57
  readonly lines?: false | "one" | "two" | "three";
58
+ readonly divider?: boolean;
58
59
  readonly toned?: boolean;
59
60
  };
60
61
  $attrs: {
@@ -74,6 +75,9 @@ declare const _default: {
74
75
  variant: {
75
76
  type: import("vue").PropType<"navigation" | "default" | "options">;
76
77
  };
78
+ divider: {
79
+ type: import("vue").PropType<boolean>;
80
+ };
77
81
  toned: {
78
82
  type: import("vue").PropType<boolean>;
79
83
  } & {
@@ -124,6 +128,9 @@ declare const _default: {
124
128
  variant: {
125
129
  type: import("vue").PropType<"navigation" | "default" | "options">;
126
130
  };
131
+ divider: {
132
+ type: import("vue").PropType<boolean>;
133
+ };
127
134
  toned: {
128
135
  type: import("vue").PropType<boolean>;
129
136
  } & {
@@ -152,6 +159,9 @@ declare const _default: {
152
159
  variant: {
153
160
  type: import("vue").PropType<"navigation" | "default" | "options">;
154
161
  };
162
+ divider: {
163
+ type: import("vue").PropType<boolean>;
164
+ };
155
165
  toned: {
156
166
  type: import("vue").PropType<boolean>;
157
167
  } & {
@@ -190,6 +200,7 @@ declare const _default: {
190
200
  class?: String | String[];
191
201
  variant?: "navigation" | "default" | "options";
192
202
  lines?: false | "one" | "two" | "three";
203
+ divider?: boolean;
193
204
  toned?: boolean;
194
205
  }>, never>;
195
206
  };
@@ -1,6 +1,9 @@
1
+ import { ToolbarVariants } from "@omnia/fx-models";
1
2
  export declare const ToolbarStyles: {
2
- templateTitle: string;
3
+ templateTitle: (variant: ToolbarVariants) => string;
3
4
  templateTitleCustom: string;
4
5
  content: string;
6
+ drawer: string;
5
7
  iconWrapper: (color: string) => string;
8
+ divider: (dark: boolean) => string;
6
9
  };
@@ -63,7 +63,8 @@ declare const _default: {
63
63
  title?: Func<[VNodeChild]>;
64
64
  customButtons?: Func<[VNodeChild]>;
65
65
  };
66
- readonly variant?: "default" | "menu" | "blade";
66
+ readonly variant?: "default" | "menu" | "drawer" | "blade";
67
+ readonly divider?: boolean;
67
68
  readonly toned?: boolean;
68
69
  readonly subTitle?: string;
69
70
  "onClick:close"?: () => any;
@@ -99,6 +100,9 @@ declare const _default: {
99
100
  closeButton: {
100
101
  type: import("vue").PropType<boolean>;
101
102
  };
103
+ divider: {
104
+ type: import("vue").PropType<boolean>;
105
+ };
102
106
  icon: {
103
107
  type: import("vue").PropType<IIcon>;
104
108
  };
@@ -109,7 +113,7 @@ declare const _default: {
109
113
  type: import("vue").PropType<string>;
110
114
  };
111
115
  variant: {
112
- type: import("vue").PropType<"default" | "menu" | "blade">;
116
+ type: import("vue").PropType<"default" | "menu" | "drawer" | "blade">;
113
117
  };
114
118
  class: {
115
119
  type: import("vue").PropType<String | String[]>;
@@ -168,6 +172,9 @@ declare const _default: {
168
172
  closeButton: {
169
173
  type: import("vue").PropType<boolean>;
170
174
  };
175
+ divider: {
176
+ type: import("vue").PropType<boolean>;
177
+ };
171
178
  icon: {
172
179
  type: import("vue").PropType<IIcon>;
173
180
  };
@@ -178,7 +185,7 @@ declare const _default: {
178
185
  type: import("vue").PropType<string>;
179
186
  };
180
187
  variant: {
181
- type: import("vue").PropType<"default" | "menu" | "blade">;
188
+ type: import("vue").PropType<"default" | "menu" | "drawer" | "blade">;
182
189
  };
183
190
  class: {
184
191
  type: import("vue").PropType<String | String[]>;
@@ -212,6 +219,9 @@ declare const _default: {
212
219
  closeButton: {
213
220
  type: import("vue").PropType<boolean>;
214
221
  };
222
+ divider: {
223
+ type: import("vue").PropType<boolean>;
224
+ };
215
225
  icon: {
216
226
  type: import("vue").PropType<IIcon>;
217
227
  };
@@ -222,7 +232,7 @@ declare const _default: {
222
232
  type: import("vue").PropType<string>;
223
233
  };
224
234
  variant: {
225
- type: import("vue").PropType<"default" | "menu" | "blade">;
235
+ type: import("vue").PropType<"default" | "menu" | "drawer" | "blade">;
226
236
  };
227
237
  class: {
228
238
  type: import("vue").PropType<String | String[]>;
@@ -263,7 +273,8 @@ declare const _default: {
263
273
  title?: Func<[VNodeChild]>;
264
274
  customButtons?: Func<[VNodeChild]>;
265
275
  };
266
- variant?: "default" | "menu" | "blade";
276
+ variant?: "default" | "menu" | "drawer" | "blade";
277
+ divider?: boolean;
267
278
  toned?: boolean;
268
279
  subTitle?: string;
269
280
  backButton?: boolean;
@@ -9,10 +9,12 @@ export declare function useIcons(): {
9
9
  customIcon: (name: string) => CustomIcon;
10
10
  icon: {
11
11
  add: FontAwesomeIcon;
12
+ adjust: FontAwesomeIcon;
12
13
  back: FontAwesomeIcon;
13
14
  clone: FontAwesomeIcon;
14
15
  clipboard: FontAwesomeIcon;
15
16
  close: FontAwesomeIcon;
17
+ crop: FontAwesomeIcon;
16
18
  code: MaterialIcon;
17
19
  color: MaterialIcon;
18
20
  copy: MaterialIcon;
@@ -21,6 +23,8 @@ export declare function useIcons(): {
21
23
  drag: FontAwesomeIcon;
22
24
  edit: FontAwesomeIcon;
23
25
  expand: FontAwesomeIcon;
26
+ flip: MaterialIcon;
27
+ filter: FontAwesomeIcon;
24
28
  header: FontAwesomeIcon;
25
29
  info: FontAwesomeIcon;
26
30
  lock: FontAwesomeIcon;
@@ -33,6 +37,7 @@ export declare function useIcons(): {
33
37
  tag: FontAwesomeIcon;
34
38
  tags: FontAwesomeIcon;
35
39
  targeting: FontAwesomeIcon;
40
+ redo: FontAwesomeIcon;
36
41
  remove: FontAwesomeIcon;
37
42
  settings: FontAwesomeIcon;
38
43
  sort: MaterialIcon;
@@ -51,10 +56,12 @@ export declare function useIcons(): {
51
56
  };
52
57
  presets: {
53
58
  add: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
59
+ adjust: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
54
60
  back: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
55
61
  close: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
56
62
  clipboard: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
57
63
  clone: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
64
+ crop: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
58
65
  color: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
59
66
  copy: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
60
67
  code: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
@@ -62,6 +69,8 @@ export declare function useIcons(): {
62
69
  device: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
63
70
  drag: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
64
71
  edit: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
72
+ filter: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
73
+ flip: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
65
74
  expand: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
66
75
  header: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
67
76
  info: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
@@ -74,6 +83,7 @@ export declare function useIcons(): {
74
83
  navigate: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
75
84
  tag: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
76
85
  tags: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
86
+ redo: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
77
87
  remove: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
78
88
  settings: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
79
89
  sort: (size?: OIconSizes, toned?: boolean, theming?: ThemeableComponentProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { App, DefineComponent } from "vue";
2
- import { WebComponentBundleManifest } from "@omnia/fx-models";
2
+ import { ComponentBundleManifest } from "@omnia/fx-models";
3
3
  export declare function getVueApps(): Set<App<Element>>;
4
4
  export declare function destroyVueApp(app: App<Element>): void;
5
5
  export declare function createVueApp(rootComponent: any, rootProps?: any): App<Element>;
6
- export declare function registerAsyncVueComponent(app: App, component: WebComponentBundleManifest): void;
6
+ export declare function registerAsyncVueComponent(app: App, component: ComponentBundleManifest): void;
7
7
  export declare function resolveAsyncVueComponent(elementName: string, definition: DefineComponent): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.102-vnext",
4
+ "version": "8.0.103-vnext",
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,13 +20,13 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.102-vnext",
23
+ "@omnia/fx-models": "8.0.103-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
27
27
  "vue-virtual-scroller": "1.0.0-rc.2",
28
28
  "splitpanes": "2.4.1",
29
- "vuetify": "3.3.14",
29
+ "vuetify": "3.3.16",
30
30
  "vue": "3.3.4",
31
31
  "tslib": "2.5.0",
32
32
  "typescript": "5.0.4",