@omnia/fx 7.1.52-dev → 7.1.53-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/core/utils/index.d.ts +0 -1
- package/internal-do-not-import-from-here/index.d.ts +0 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.vendor.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/AiSettingsService.d.ts +10 -0
- package/internal-do-not-import-from-here/services/AzureOpenAIService.d.ts +1 -3
- package/internal-do-not-import-from-here/services/identities/UserIdentityService.d.ts +2 -0
- package/internal-do-not-import-from-here/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/services/properties/EnterprisePropertiesProvider.d.ts +4 -23
- package/internal-do-not-import-from-here/services/properties/bindings/providers/ExtendedEnterprisePropertyBindingProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/services/properties/datasource/DataSourcePropertiesService.d.ts +8 -0
- package/internal-do-not-import-from-here/shared/http/Bring.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/EnterprisePropertyStore.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/IdentityStore.d.ts +4 -2
- package/internal-do-not-import-from-here/stores/IdentitySyncProviderStore.d.ts +1 -1
- package/internal-do-not-import-from-here/stores/TimeZoneStore.d.ts +1 -5
- package/internal-do-not-import-from-here/stores/UserIdentityStore.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +62 -8
- package/internal-do-not-import-from-here/ux/app/AppPropertiesProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/app/appinstance/settings/components/QueryTab.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/app/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PoliciesTab.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/authsetup/AuthSetup.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/compositiontests/OptionsBlockCurrent.d.ts +4 -12
- package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settings/registration/RegistrationEnterprisePropertyToPropertySettingMap.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/PropertyDropdownRenderer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/date/DateTimePeriodSlider.d.ts +23 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/person/PersonPropertyChipItem.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/person/PersonPropertyItemRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/tags/TagsPropertyChips.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/text/TextPropertyRefinementList.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/filterengine/components/renderer/text/TextPropertyRefinementSelection.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/BooleanFilterEngineHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/DateFilterEngineHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineHandler.d.ts +8 -3
- package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineRouter.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/NumberFilterEngineHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/PersonFilterEngineHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/TagsFilterEngineHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/TextFilterEngineHandler.d.ts +10 -6
- package/internal-do-not-import-from-here/ux/filterengine/handler/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/filterengine/shared/date/DateTimeFilterEngineHelper.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/filterengine/shared/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +18 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +14 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +14 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +18 -1
- package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +17 -1
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageSetting/ImageSetting.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformCropper/ImageTransformCropper.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutBlockRenderer.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/styles/SharedRendererStyles.css.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/magiclink/MagicLink.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediagallery/Helper.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/apis/IInternalGalleryDialogProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/apis/Registration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Delimiter.css.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Delimiter.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Slider.css.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/Slider.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/mediagallery/gallerydialogproviders/slider/localize.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/apis/IInternalGalleryDisplayProvider.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/apis/Registration.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/apis/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/PhotoWall.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/CollageMetadata.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/NumberOfRemaining.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoCollage.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoCollageWrapper.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoGrid.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoMask.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoRow.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/PhotoThumb.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/RowPhotos.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/components/ViewMore.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/mediagallery/galleryviewproviders/photowall/loc/localize.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/mediagallery/view/GalleryViewDefault.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/mediagallery/view/MediaView.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/mediapicker/GalleryPanels.d.ts +7 -13
- package/internal-do-not-import-from-here/ux/mediapicker/IMediaPicker.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapicker/MediaPicker.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/mediapicker/MediaPicker.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapicker/MediaPickerComponentProps.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapicker/MediaPickerRenderer.d.ts +7 -5
- package/internal-do-not-import-from-here/ux/mediapickerimage/IMediaPickerImage.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/mediapickerimage/MediaPickerImage.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/MicrosoftStream/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/YouTubeProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/dalleprovider/DallEProvider.css.d.ts +15 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/dalleprovider/PollingImageComponent.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/MediaflowProvider.d.ts +46 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/MediaflowProviderStyles.css.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/loc/localize.d.ts +25 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/service/MediaflowService.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/store/MediaflowProviderStore.d.ts +29 -0
- package/internal-do-not-import-from-here/ux/mediapickervideo/IMediaPickerVideo.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/models/DateTimePickerStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/models/ProfileCardStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/multilingualinput/IMultilingualInput.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/properties/models/PropertyPicker.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/TextCompletionPanel/TextCompletionPanel.d.ts +12 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/TextCompletionPanel/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextCompletion/TextCompletionHandler.d.ts +14 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/TextCompletion/TextCompletionMenu.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/securitytrimer/ISecurityTrimer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/securitytrimer/SecurityTrimer.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/shapedivider/ShapeDivider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/signin/SignInBlock.css.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/signin/loc/localize.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/signout/SignOut.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/social/IComment.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/theming/ThemeManager.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/user/UserPropertiesByMicrosoftGraphProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/user/UserPropertiesProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/ActionHooks.d.ts +12 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +16 -25
- package/internal-do-not-import-from-here/ux/velcron/core/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronActions.d.ts +7 -1
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronRenderers.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/editor/components/pickers/colorschemamapper/ColorSchemaMapper.d.ts +8 -9
- package/internal-do-not-import-from-here/ux/velcron/editor/models/BuiltInDescriptors.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronActionHooks.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/App.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +10 -0
- package/package.json +2 -2
- package/internal-do-not-import-from-here/core/utils/gpt3utils/Encoder.d.ts +0 -50259
- package/internal-do-not-import-from-here/core/utils/gpt3utils/GPT3Utils.d.ts +0 -5
- package/internal-do-not-import-from-here/core/utils/gpt3utils/Vocab.d.ts +0 -1
- package/internal-do-not-import-from-here/core/utils/gpt3utils/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/components/FlexView.d.ts +0 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface PhotoThumb {
|
|
2
|
+
thumb: string;
|
|
3
|
+
borderRadius: string;
|
|
4
|
+
isVideo: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<PhotoThumb, never>, any, any, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const PhotoThumnailCss: {
|
|
9
|
+
container: (backGroundImg: String, borderRadius: string) => string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CollageMetadata } from "./CollageMetadata";
|
|
2
|
+
import { PhotoWallMediaWithId } from "@omnia/fx-models";
|
|
3
|
+
export interface RowPhotos extends CollageMetadata {
|
|
4
|
+
height: string;
|
|
5
|
+
photos: Array<PhotoWallMediaWithId>;
|
|
6
|
+
layoutNum: number;
|
|
7
|
+
remainingNum: number;
|
|
8
|
+
showNumOfRemainingPhotos: boolean;
|
|
9
|
+
photoGap: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default, {}, import("vue-tsx-support").PropsForOutside<RowPhotos, never>, any, any, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MediaPickerMedia } from "@omnia/fx-models";
|
|
2
|
+
export interface GalleryViewDefault {
|
|
3
|
+
media: Array<MediaPickerMedia>;
|
|
4
|
+
mediaData: string;
|
|
5
|
+
defaultVSlot: JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<GalleryViewDefault, never>, any, any, any>> & {
|
|
8
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<GalleryViewDefault, never>;
|
|
9
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<GalleryViewDefault, never>, any, any, any>> & {
|
|
10
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<GalleryViewDefault, never>;
|
|
11
|
+
});
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MediaPickerMedia } from "@omnia/fx-models";
|
|
2
|
+
export interface MediaViewDefault {
|
|
3
|
+
media: MediaPickerMedia | MediaPickerMedia[];
|
|
4
|
+
imageRatioId?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<MediaViewDefault, never>, any, any, any>> & {
|
|
7
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<MediaViewDefault, never>;
|
|
8
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<any>, {}, import("vue-tsx-support").PropsForOutside<MediaViewDefault, never>, any, any, any>> & {
|
|
9
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<MediaViewDefault, never>;
|
|
10
|
+
});
|
|
11
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VueComponentBase } from "../VueComponentBase";
|
|
2
2
|
import { IWebComponentInstance } from "internal/fx/runtime/core/InternalWebComponentBootstrapper";
|
|
3
|
-
import {
|
|
3
|
+
import { MediaPickerImage, MediaPickerImageTransformationResult, MediaPickerVideo } from "../../models";
|
|
4
|
+
import { MediaPickerService } from "@omnia/fx/services";
|
|
4
5
|
export interface IGalleryPanels {
|
|
5
6
|
selectedMedia: (Array<MediaPickerImageTransformationResult | MediaPickerImage | MediaPickerVideo>);
|
|
6
7
|
selectEvent: (index: number) => void;
|
|
@@ -8,7 +9,6 @@ export interface IGalleryPanels {
|
|
|
8
9
|
removeItemEvent: (index: number) => void;
|
|
9
10
|
activeIndex: number;
|
|
10
11
|
addNewEvent: () => void;
|
|
11
|
-
setFocus: (setFocusEvent: () => void) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare class GalleryPanels extends VueComponentBase<IGalleryPanels> implements IWebComponentInstance, IGalleryPanels {
|
|
14
14
|
selectedMedia: (Array<MediaPickerImageTransformationResult | MediaPickerImage | MediaPickerVideo>);
|
|
@@ -17,24 +17,18 @@ export declare class GalleryPanels extends VueComponentBase<IGalleryPanels> impl
|
|
|
17
17
|
removeItemEvent: (index: number) => void;
|
|
18
18
|
activeIndex: number;
|
|
19
19
|
addNewEvent: () => void;
|
|
20
|
-
|
|
20
|
+
mediaPickerService: MediaPickerService;
|
|
21
21
|
private activeElement;
|
|
22
22
|
private omniaUrl;
|
|
23
|
-
private activeId;
|
|
24
|
-
private media;
|
|
25
23
|
created(): void;
|
|
26
|
-
onSelectedMediaChange(): void;
|
|
27
|
-
processMedia(): void;
|
|
28
24
|
updated(): void;
|
|
29
25
|
setActiveIndexIntoView(): void;
|
|
30
26
|
getMediaPickerImageTransformationResultImg(media: MediaPickerImageTransformationResult, index: number): VueTsxSupport.JSX.Element;
|
|
31
27
|
getVideoThumbnail(media: MediaPickerVideo, index: number): VueTsxSupport.JSX.Element;
|
|
32
|
-
getImgSource(media: MediaPickerImageTransformationResult | MediaPickerImage | MediaPickerVideo, index: number
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
media: MediaPickerImageTransformationResult | MediaPickerImage | MediaPickerVideo;
|
|
37
|
-
}>): VueTsxSupport.JSX.Element;
|
|
28
|
+
getImgSource(media: MediaPickerImageTransformationResult | MediaPickerImage | MediaPickerVideo, index: number): VueTsxSupport.JSX.Element;
|
|
29
|
+
getMediaPickerImage(img: MediaPickerImage, index: number): VueTsxSupport.JSX.Element;
|
|
30
|
+
private resolveImageUrl;
|
|
31
|
+
renderMultiSelectPanel(media: Array<MediaPickerImageTransformationResult | MediaPickerImage | MediaPickerVideo>): VueTsxSupport.JSX.Element;
|
|
38
32
|
private onMediaSelect;
|
|
39
33
|
private onOrdinalChange;
|
|
40
34
|
render(): VueTsxSupport.JSX.Element;
|
|
@@ -7,8 +7,8 @@ export declare const MediaPickerStyles: {
|
|
|
7
7
|
providerWrapper: string;
|
|
8
8
|
toolbarTitle: string;
|
|
9
9
|
selectedProvider: (bgColor: string) => string;
|
|
10
|
-
multiPanelNavigationDrawer: string;
|
|
11
|
-
navigationDrawer: string;
|
|
10
|
+
multiPanelNavigationDrawer: (width: string) => string;
|
|
11
|
+
navigationDrawer: (width: any) => string;
|
|
12
12
|
bodyWrapper: (showGallery: boolean) => string;
|
|
13
13
|
body: string;
|
|
14
14
|
elementWrapper: string;
|
|
@@ -13,6 +13,7 @@ export declare class MediaPicker extends VueComponentBase<IMediaPicker> implemen
|
|
|
13
13
|
dialog: boolean;
|
|
14
14
|
enableGallery: boolean;
|
|
15
15
|
itemLimit: number;
|
|
16
|
+
enableMediaCaption?: boolean;
|
|
16
17
|
mounted(): void;
|
|
17
18
|
private renderRenderer;
|
|
18
19
|
render(): VueTsxSupport.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IMediaPicker } from "@omnia/fx/ux";
|
|
2
2
|
import { OmniaContext } from "../../";
|
|
3
3
|
import { SubscriptionHandler } from "../../core";
|
|
4
|
-
import { MediaPickerEnums, MediaPickerImage, MediaPickerImageSettings, MediaPickerLimitedSizeSettings, MediaPickerMedia, MediaPickerProvider, MediaPickerRenditionData, MediaPickerStorageProviderContext, MediaPickerTransformedBase64Image, MediaPickerVideo } from "../../models";
|
|
4
|
+
import { GuidValue, MediaPickerEnums, MediaPickerImage, MediaPickerImageSettings, MediaPickerImageTransformationResult, MediaPickerLimitedSizeSettings, MediaPickerMedia, MediaPickerProvider, MediaPickerRenditionData, MediaPickerStorageProviderContext, MediaPickerTransformedBase64Image, MediaPickerVideo } from "../../models";
|
|
5
5
|
import { MediaPickerService, SettingsService } from "../../services";
|
|
6
6
|
import { MediaPickerStore, MultilingualStore } from "../../stores";
|
|
7
7
|
import { VueComponentBase, VueComponentBaseProps } from "../VueComponentBase";
|
|
@@ -26,6 +26,7 @@ export declare class MediaPickerRenderer extends VueComponentBase<IMediaPicker &
|
|
|
26
26
|
closed?: () => void;
|
|
27
27
|
enableGallery: boolean;
|
|
28
28
|
itemLimit: number;
|
|
29
|
+
enableMediaCaption?: boolean;
|
|
29
30
|
protected settingsService: SettingsService<MediaPickerLimitedSizeSettings>;
|
|
30
31
|
omniaContext: OmniaContext;
|
|
31
32
|
multilingualStore: MultilingualStore;
|
|
@@ -50,6 +51,7 @@ export declare class MediaPickerRenderer extends VueComponentBase<IMediaPicker &
|
|
|
50
51
|
private mediaStates;
|
|
51
52
|
private cacheKey;
|
|
52
53
|
private galleryPanelRefreshKey;
|
|
54
|
+
private finishItemCount;
|
|
53
55
|
isSearching: boolean;
|
|
54
56
|
hasLoadedInfiniteScrollHandler: boolean;
|
|
55
57
|
searchTimeout: any;
|
|
@@ -63,6 +65,7 @@ export declare class MediaPickerRenderer extends VueComponentBase<IMediaPicker &
|
|
|
63
65
|
private transformerResults;
|
|
64
66
|
private menuItems;
|
|
65
67
|
private registeredProviders;
|
|
68
|
+
private readonly navigationDrawerWidth;
|
|
66
69
|
created(): void;
|
|
67
70
|
private processMediaGallery;
|
|
68
71
|
private initMediaState;
|
|
@@ -83,7 +86,7 @@ export declare class MediaPickerRenderer extends VueComponentBase<IMediaPicker &
|
|
|
83
86
|
private onSelectMenuItem;
|
|
84
87
|
private onChangedExistedImage;
|
|
85
88
|
private getMediaProvider;
|
|
86
|
-
CurrentRendition(): [MediaPickerRenditionData[], MediaPickerTransformedBase64Image];
|
|
89
|
+
CurrentRendition(): [GuidValue, MediaPickerRenditionData[], MediaPickerTransformedBase64Image];
|
|
87
90
|
setActiveEditingMedia(index: number): void;
|
|
88
91
|
private onMediaOrderChange;
|
|
89
92
|
onEditingMediaIndexChange(): void;
|
|
@@ -92,11 +95,10 @@ export declare class MediaPickerRenderer extends VueComponentBase<IMediaPicker &
|
|
|
92
95
|
private updateMediaToServer;
|
|
93
96
|
private saveMediaToServer;
|
|
94
97
|
private onStateChange;
|
|
95
|
-
panelRef: import("vue").Ref<
|
|
96
|
-
focusEvent: () => void;
|
|
97
|
-
setFocusEvent(focusEvent: () => void): void;
|
|
98
|
+
panelRef: import("vue").Ref<any>;
|
|
98
99
|
renderMenuItems(): VueTsxSupport.JSX.Element[];
|
|
99
100
|
onNewMediaBtnClick(): void;
|
|
101
|
+
getData(): (MediaPickerImage | MediaPickerImageTransformationResult | MediaPickerVideo)[];
|
|
100
102
|
renderMultiSelectPanel(): VueTsxSupport.JSX.Element;
|
|
101
103
|
renderLeftMenu(): VueTsxSupport.JSX.Element;
|
|
102
104
|
renderActionButtons(buttons: Array<MediaPickerActionButton>): JSX.Element[];
|
|
@@ -14,7 +14,9 @@ export declare class MediaPickerImageComponent extends VueComponentBase<IMediaPi
|
|
|
14
14
|
size: number;
|
|
15
15
|
};
|
|
16
16
|
displayVSlot?: boolean;
|
|
17
|
+
contain: boolean;
|
|
17
18
|
mediaPickerService: MediaPickerService;
|
|
19
|
+
private omniaUrl;
|
|
18
20
|
created(): void;
|
|
19
21
|
mounted(): void;
|
|
20
22
|
onImagedataChanged(imagejson: string): void;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { types } from "typestyle";
|
|
2
|
+
import { ITheming } from "@omnia/fx/ux";
|
|
1
3
|
export declare const imageSize = 357.25;
|
|
2
4
|
export declare const DallEProviderStyles: {
|
|
3
5
|
wrapper: string;
|
|
@@ -14,6 +16,19 @@ export declare const DallEProviderStyles: {
|
|
|
14
16
|
DallEFilterContentErrorWrapper: string;
|
|
15
17
|
ErrorIcon: string;
|
|
16
18
|
promptTip: string;
|
|
19
|
+
FullHeight: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const dallEImageGridStyles: {
|
|
22
|
+
row?: types.NestedCSSProperties;
|
|
23
|
+
column?: types.NestedCSSProperties;
|
|
24
|
+
imageWrapper?: types.NestedCSSProperties;
|
|
25
|
+
image?: types.NestedCSSProperties;
|
|
26
|
+
noResultsWrapper: types.NestedCSSProperties;
|
|
27
|
+
noResultsPositioner: types.NestedCSSProperties;
|
|
28
|
+
noResultsText: (theme: ITheming) => types.NestedCSSProperties;
|
|
29
|
+
overlay?: types.NestedCSSProperties;
|
|
30
|
+
backgroundColor?: types.NestedCSSProperties;
|
|
31
|
+
defaultOverlay?: types.NestedCSSProperties;
|
|
17
32
|
};
|
|
18
33
|
export declare const MediaProviderComponentBaseStyles: {
|
|
19
34
|
baseWrapper: string;
|
|
@@ -7,6 +7,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
7
7
|
onRegenerateImage: (textToImageRequest: TextToImageRequest) => void;
|
|
8
8
|
textToImageResponse: TextToImageResponse;
|
|
9
9
|
addTextToImageResponse: (textToImageResponse: TextToImageResponse, textToImageRequest: TextToImageRequest) => void;
|
|
10
|
+
imageRef: HTMLImageElement;
|
|
11
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
10
12
|
}, never>, any, any, any>> & {
|
|
11
13
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
12
14
|
textToImageRequest: TextToImageRequest;
|
|
@@ -16,6 +18,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
16
18
|
onRegenerateImage: (textToImageRequest: TextToImageRequest) => void;
|
|
17
19
|
textToImageResponse: TextToImageResponse;
|
|
18
20
|
addTextToImageResponse: (textToImageResponse: TextToImageResponse, textToImageRequest: TextToImageRequest) => void;
|
|
21
|
+
imageRef: HTMLImageElement;
|
|
22
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
19
23
|
}, never>;
|
|
20
24
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
21
25
|
textToImageRequest: TextToImageRequest;
|
|
@@ -25,6 +29,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
25
29
|
onRegenerateImage: (textToImageRequest: TextToImageRequest) => void;
|
|
26
30
|
textToImageResponse: TextToImageResponse;
|
|
27
31
|
addTextToImageResponse: (textToImageResponse: TextToImageResponse, textToImageRequest: TextToImageRequest) => void;
|
|
32
|
+
imageRef: HTMLImageElement;
|
|
33
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
28
34
|
}, never>, any, any, any>> & {
|
|
29
35
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
30
36
|
textToImageRequest: TextToImageRequest;
|
|
@@ -34,6 +40,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
34
40
|
onRegenerateImage: (textToImageRequest: TextToImageRequest) => void;
|
|
35
41
|
textToImageResponse: TextToImageResponse;
|
|
36
42
|
addTextToImageResponse: (textToImageResponse: TextToImageResponse, textToImageRequest: TextToImageRequest) => void;
|
|
43
|
+
imageRef: HTMLImageElement;
|
|
44
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
37
45
|
}, never>;
|
|
38
46
|
});
|
|
39
47
|
export default _default;
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/MediaflowProvider.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IWebComponentInstance } from "@omnia/fx";
|
|
2
|
+
import { MultiSelectMediaProviderComponentBase } from "@omnia/fx/ux";
|
|
3
|
+
import { ImageInformation, MediaFlowImage, MediaPickerImageTransformationResult, MediaPickerVideo, MediaflowEventData, MediaflowInformation, VideoInformation } from "@omnia/fx-models";
|
|
4
|
+
import { MediaflowService } from "./service/MediaflowService";
|
|
5
|
+
import { MediaflowProviderStore } from "./store/MediaflowProviderStore";
|
|
6
|
+
import "./MediaflowProviderStyles.css";
|
|
7
|
+
declare interface MediaflowImageInformation extends ImageInformation, MediaflowInformation {
|
|
8
|
+
folderId: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class MediaflowProvider extends MultiSelectMediaProviderComponentBase implements IWebComponentInstance {
|
|
11
|
+
mediaflowStore: MediaflowProviderStore;
|
|
12
|
+
mediaflowService: MediaflowService;
|
|
13
|
+
private loc;
|
|
14
|
+
private loadedMediaFlowJS;
|
|
15
|
+
private loadedMediaFlowCSS;
|
|
16
|
+
private containerIsSetup;
|
|
17
|
+
private isTransformImage;
|
|
18
|
+
private settings;
|
|
19
|
+
private authenticationInfo;
|
|
20
|
+
private settingsLoaded;
|
|
21
|
+
private static mediaflowClientScriptId;
|
|
22
|
+
private lastSelectedFolderId;
|
|
23
|
+
private get mediaflowLoaded();
|
|
24
|
+
private mediafileSelector;
|
|
25
|
+
private mediaflowRefElement;
|
|
26
|
+
constructor();
|
|
27
|
+
created(): void;
|
|
28
|
+
loadMediaflowClient(): void;
|
|
29
|
+
loadScript(url: any): Promise<any>;
|
|
30
|
+
mounted(): void;
|
|
31
|
+
updated(): void;
|
|
32
|
+
private makeMediaflowUIFullScreen;
|
|
33
|
+
onContainerIsSetupChanged(): void;
|
|
34
|
+
beforeDestroy(): void;
|
|
35
|
+
beforeSaved(resultToBeSaved: MediaPickerImageTransformationResult | VideoInformation): Promise<MediaPickerVideo | MediaPickerImageTransformationResult>;
|
|
36
|
+
private getLocale;
|
|
37
|
+
private setupMediaContainer;
|
|
38
|
+
handleMediaflowEvent(eventName: string, eventData: MediaflowEventData): void;
|
|
39
|
+
saveMediaflowMedia(): void;
|
|
40
|
+
handleImageSelection(source: any): void;
|
|
41
|
+
fixEmbedHtmlForTextArea(htmlString: string): string;
|
|
42
|
+
downloadImage(source: MediaFlowImage): Promise<MediaflowImageInformation>;
|
|
43
|
+
render(): VueTsxSupport.JSX.Element;
|
|
44
|
+
renderMediaflowContainer(): VueTsxSupport.JSX.Element;
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare module MediaflowLocalization {
|
|
2
|
+
const namespace = "Omnia.Ux.MediaflowProvider";
|
|
3
|
+
interface locInterface {
|
|
4
|
+
Settings: {
|
|
5
|
+
MainHeader: string;
|
|
6
|
+
AuthenticationSectionHeader: string;
|
|
7
|
+
MediaSectionHeader: string;
|
|
8
|
+
ClientIdHeader: string;
|
|
9
|
+
ClientSecretHeader: string;
|
|
10
|
+
RefreshtokenHeader: string;
|
|
11
|
+
DefaultLanguageHeader: string;
|
|
12
|
+
ShowUnsafeGDPRHeader: string;
|
|
13
|
+
ShowUnassignedGDPRHeader: string;
|
|
14
|
+
LimitFormatHeader: string;
|
|
15
|
+
SaveButton: string;
|
|
16
|
+
};
|
|
17
|
+
Features: {
|
|
18
|
+
MediaflowFeature: string;
|
|
19
|
+
Description: string;
|
|
20
|
+
};
|
|
21
|
+
Mediapicker: {
|
|
22
|
+
IframeMsg: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Store } from "@omnia/fx/stores";
|
|
2
|
+
import { OmniaContext } from "@omnia/fx";
|
|
3
|
+
import { MediaflowAuthenticationInfo, MediaflowSettings } from "@omnia/fx-models";
|
|
4
|
+
import { SettingsService, SecretsService } from "@omnia/fx/services";
|
|
5
|
+
export declare class MediaflowProviderStore extends Store {
|
|
6
|
+
settingService: SettingsService<MediaflowSettings>;
|
|
7
|
+
secretService: SecretsService;
|
|
8
|
+
omniaContext: OmniaContext;
|
|
9
|
+
private settings;
|
|
10
|
+
private authenticationInfo;
|
|
11
|
+
private mediaflowSecretKey;
|
|
12
|
+
private mediaflowSettingKey;
|
|
13
|
+
constructor();
|
|
14
|
+
getters: {
|
|
15
|
+
getSettings: () => MediaflowSettings;
|
|
16
|
+
getAuthenticationInfo: () => MediaflowAuthenticationInfo;
|
|
17
|
+
};
|
|
18
|
+
actions: {
|
|
19
|
+
loadSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: any) => void, (failureReason: any) => void, () => Promise<any>>;
|
|
20
|
+
loadAuthenticationInfo: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
21
|
+
};
|
|
22
|
+
mutations: {
|
|
23
|
+
setSetting: import("@omnia/fx/stores").StoreMutation<(item: MediaflowSettings) => void, (item: MediaflowSettings) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
24
|
+
setAuthenticationInfo: import("@omnia/fx/stores").StoreMutation<(item: MediaflowAuthenticationInfo) => void, (item: MediaflowAuthenticationInfo) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
25
|
+
};
|
|
26
|
+
protected onActivated(): void;
|
|
27
|
+
protected onDisposing(): void;
|
|
28
|
+
private extractAuthenticationInfoFromSecret;
|
|
29
|
+
}
|
|
@@ -8,8 +8,19 @@ export declare class MediaPickerVideoComponent extends VueComponentBase<IMediaPi
|
|
|
8
8
|
videodata?: string;
|
|
9
9
|
videoStyle?: string | object | object[];
|
|
10
10
|
mediaPickerService: MediaPickerService;
|
|
11
|
+
dark: boolean;
|
|
12
|
+
displayVSlot: boolean;
|
|
13
|
+
private isYoutubeSrc;
|
|
14
|
+
private iframeVideo;
|
|
15
|
+
private javascriptRenditionData;
|
|
11
16
|
created(): void;
|
|
12
17
|
mounted(): void;
|
|
18
|
+
private get isMediaflowVideo();
|
|
13
19
|
onVideodataChanged(videojson: string): void;
|
|
20
|
+
pauseYoutubeVideo(iframeVideo: HTMLIFrameElement): void;
|
|
21
|
+
tryPauseMediaflowVideo(): void;
|
|
22
|
+
pauseVideoWhenOutOfSight(): void;
|
|
23
|
+
isYoutubeVideo(url: string): boolean;
|
|
24
|
+
private getVideoWrapper;
|
|
14
25
|
render(): VueTsxSupport.JSX.Element;
|
|
15
26
|
}
|
|
@@ -2,5 +2,6 @@ import { types } from "typestyle";
|
|
|
2
2
|
export declare const DateTimePickerStyles: {
|
|
3
3
|
errorText?: types.NestedCSSProperties;
|
|
4
4
|
textField?: types.NestedCSSProperties;
|
|
5
|
+
iconField?: types.NestedCSSProperties;
|
|
5
6
|
wrapper: (isDateTimeMode: boolean) => types.NestedCSSProperties;
|
|
6
7
|
};
|
|
@@ -13,6 +13,8 @@ export interface IMultilingualInputProperties {
|
|
|
13
13
|
multipleLines?: boolean;
|
|
14
14
|
/**Vuetify filled mode*/
|
|
15
15
|
filled?: boolean;
|
|
16
|
+
/**Vuetify auto focus mode*/
|
|
17
|
+
autofocus?: boolean;
|
|
16
18
|
}
|
|
17
19
|
/**Multilingual Input - the component for setting MultilingualString model*/
|
|
18
20
|
export interface IMultilingualInput extends IMultilingualInputProperties {
|
|
@@ -23,6 +23,7 @@ export declare class MultilingualInput extends VueComponentBase implements IWebC
|
|
|
23
23
|
multilingualContext: MultilingualContext;
|
|
24
24
|
requiredWithValidator: IValidator;
|
|
25
25
|
stylesMultilingualInput?: typeof MultilingualInputStyles;
|
|
26
|
+
autofocus: boolean;
|
|
26
27
|
private inheritedMultilingualContext;
|
|
27
28
|
omniaCtx: OmniaContext;
|
|
28
29
|
multilingualStringStore: MultilingualStore;
|
|
@@ -5,6 +5,7 @@ import { FeatureStore, ProfileCardStore } from "../../stores";
|
|
|
5
5
|
import { IProfileCard } from ".";
|
|
6
6
|
import "./ProfileCard.css";
|
|
7
7
|
import { OmniaTheming } from "../OmniaTheming";
|
|
8
|
+
import { DataSourcePropertiesService } from "../../services";
|
|
8
9
|
export declare class ProfileCardComponent extends VueComponentBase<IProfileCard> implements IWebComponentInstance, IProfileCard {
|
|
9
10
|
user: UserIdentity;
|
|
10
11
|
scopedSlots?: ScopedSlots<IProfileCardScopedSlots>;
|
|
@@ -16,6 +17,7 @@ export declare class ProfileCardComponent extends VueComponentBase<IProfileCard>
|
|
|
16
17
|
href?: string;
|
|
17
18
|
ripple: boolean;
|
|
18
19
|
profileCardStore: ProfileCardStore;
|
|
20
|
+
dataSourcePropertiesService: DataSourcePropertiesService;
|
|
19
21
|
omniaCtx: OmniaContext;
|
|
20
22
|
omniaTheming: OmniaTheming;
|
|
21
23
|
featureStore: FeatureStore;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataSourceProperty, PropertyConfiguration, PropertyDataSourceId, PropertyDefinition } from "@omnia/fx-models";
|
|
1
|
+
import { DataSourceProperty, GuidValue, PropertyConfiguration, PropertyDataSourceId, PropertyDefinition } from "@omnia/fx-models";
|
|
2
2
|
import { DataSourcePropertyDefintionHandlerId } from "../../../services";
|
|
3
3
|
export interface IDataSourcePropertySelection {
|
|
4
4
|
dataSourceProperty: DataSourceProperty;
|
|
@@ -13,4 +13,7 @@ export interface IPropertyPicker {
|
|
|
13
13
|
dark?: boolean;
|
|
14
14
|
hideDetails?: boolean;
|
|
15
15
|
multiple?: boolean;
|
|
16
|
+
hideConfiguration?: boolean;
|
|
17
|
+
selectionProperty?: IDataSourcePropertySelection;
|
|
18
|
+
selectablePropertyConverters?: Array<GuidValue>;
|
|
16
19
|
}
|
|
@@ -73,6 +73,7 @@ export default class RichTextEditor extends VueComponentBase implements IWebComp
|
|
|
73
73
|
loadFromExtensionRegistrations(extensionSettings: RichTextEditorExtensionRegistration[]): Promise<Array<RichTextEditorExtension>>;
|
|
74
74
|
buildExtensionList(extensionListFromTenantSettings: RichTextEditorExtensionRegistration[]): RichTextEditorExtension[];
|
|
75
75
|
initExtensions(): void;
|
|
76
|
+
handlePastedContext(formatedText: any, formatedHtml: any, view: any, slice: any): void;
|
|
76
77
|
setupEditor(): void;
|
|
77
78
|
private currentEmitedContent;
|
|
78
79
|
private onEditorUpdated;
|
|
@@ -2,9 +2,17 @@ import { types } from "typestyle";
|
|
|
2
2
|
export declare const StepRowStyle: {
|
|
3
3
|
cancelButtonDisplay?: types.NestedCSSProperties;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<
|
|
5
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
6
|
+
triggerOnLoad: boolean;
|
|
7
|
+
}, never>, any, any, any>> & {
|
|
8
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
9
|
+
triggerOnLoad: boolean;
|
|
10
|
+
}, never>;
|
|
11
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
12
|
+
triggerOnLoad: boolean;
|
|
13
|
+
}, never>, any, any, any>> & {
|
|
14
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
15
|
+
triggerOnLoad: boolean;
|
|
16
|
+
}, never>;
|
|
9
17
|
});
|
|
10
18
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OmniaContext } from "@omnia/fx";
|
|
2
|
+
import { AiSettings, TextCompletionMenuBar, TipTapEditor } from "@omnia/fx-models";
|
|
2
3
|
import { Store } from "@omnia/fx/stores";
|
|
3
4
|
import { SidePanelContext } from "@omnia/fx/ux";
|
|
5
|
+
import { AiSettingsService, AzureOpenAIService } from "../../../../services";
|
|
4
6
|
export declare const panelElementName: "omfx-textcompletion-panel";
|
|
5
7
|
export declare class TextCompletionHandler extends Store {
|
|
6
8
|
private sidePanelInstanceId;
|
|
@@ -9,8 +11,12 @@ export declare class TextCompletionHandler extends Store {
|
|
|
9
11
|
private menuBar;
|
|
10
12
|
private prompt;
|
|
11
13
|
private forceClose;
|
|
14
|
+
private settings;
|
|
15
|
+
aiSettingService: AiSettingsService;
|
|
16
|
+
openAiService: AzureOpenAIService;
|
|
17
|
+
omniaContext: OmniaContext;
|
|
12
18
|
onClickOpenEvent(sidePanelContext: SidePanelContext, editor: TipTapEditor, menuBar: TextCompletionMenuBar): void;
|
|
13
|
-
ensureOpenPanel(sidePanelContext: SidePanelContext, editor: TipTapEditor, menuBar: TextCompletionMenuBar): void;
|
|
19
|
+
ensureOpenPanel(sidePanelContext: SidePanelContext, editor: TipTapEditor, menuBar: TextCompletionMenuBar, triggerOnLoad?: boolean): void;
|
|
14
20
|
ensureClosePanel(sidePanelContext: SidePanelContext): void;
|
|
15
21
|
forceClosePanel(sidePanelContext: SidePanelContext): void;
|
|
16
22
|
getters: {
|
|
@@ -19,6 +25,7 @@ export declare class TextCompletionHandler extends Store {
|
|
|
19
25
|
getMenuBar: () => TextCompletionMenuBar;
|
|
20
26
|
prompt: () => string;
|
|
21
27
|
forceClose: () => boolean;
|
|
28
|
+
settings: () => AiSettings[];
|
|
22
29
|
};
|
|
23
30
|
setters: {
|
|
24
31
|
setEditor: (editor: TipTapEditor) => TipTapEditor;
|
|
@@ -28,6 +35,11 @@ export declare class TextCompletionHandler extends Store {
|
|
|
28
35
|
mutations: {
|
|
29
36
|
prompt: import("@omnia/fx/stores").StoreMutation<(prompt: string) => void, (prompt: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
30
37
|
forceClose: import("@omnia/fx/stores").StoreMutation<(forceClose: boolean) => void, (forceClose: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
38
|
+
settings: import("@omnia/fx/stores").StoreMutation<(newState: Array<AiSettings>) => void, (newState: AiSettings[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
39
|
+
};
|
|
40
|
+
actions: {
|
|
41
|
+
ensureTextCompletionSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: AiSettings[]) => void, (failureReason: any) => void, () => Promise<AiSettings[]>>;
|
|
42
|
+
validateCount: import("@omnia/fx/stores").StoreAction<unknown, (text: string) => void, (result: number, text: string) => void, (failureReason: any, text: string) => void, (text: string) => Promise<number>>;
|
|
31
43
|
};
|
|
32
44
|
protected onActivated(): void;
|
|
33
45
|
protected onDisposing(): void;
|