@omnia/fx 7.9.33-preview → 7.9.34
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/LICENSE.txt +14 -0
- package/internal-do-not-import-from-here/core/Cookies.d.ts +2 -1
- package/internal-do-not-import-from-here/core/http/HttpClient.d.ts +3 -2
- 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.fx.ux.richtexteditor.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.worker.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/AzureOpenAIService.d.ts +2 -1
- package/internal-do-not-import-from-here/services/BusinessProfileService.d.ts +2 -1
- package/internal-do-not-import-from-here/services/permissions/PermissionService.d.ts +2 -1
- package/internal-do-not-import-from-here/spfx/components/SpfxCustomizeStyle.d.ts +5 -0
- package/internal-do-not-import-from-here/stores/BlockTitleSettingsStore.d.ts +4 -2
- package/internal-do-not-import-from-here/stores/BusinessProfileStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/AnchorLink.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/ComponentDefinitions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/TokenBasedRouter.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +25 -4
- package/internal-do-not-import-from-here/ux/VueTags.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/analytics/metric/Metric.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/appprovisioning/apptitledescription/AppDescriptionInput.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/appprovisioning/apptitledescription/IAppDescriptionInput.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/authsetup/AuthSetupConfirm.d.ts +7 -0
- package/internal-do-not-import-from-here/ux/authsetup/loc/localize.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/blockgallery/store/BlockGalleryStore.d.ts +11 -3
- package/internal-do-not-import-from-here/ux/blockgallery/style/General.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/draggable/Draggable.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/EnterprisePropertyComponentProps.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/richtextfield/RichTextFieldEdit.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/identities/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Header.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/styles/SharedRendererStyles.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/BlockCatalogStore.d.ts +13 -1
- package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/YouTubeProvider.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/gptimageprovider/GptImageProvider.css.d.ts +41 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/gptimageprovider/GptImageProvider.d.ts +53 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/gptimageprovider/PollingImageComponent.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/gptimageprovider/loc/localize.d.ts +23 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaflow/models/MediaflowMedia.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/mediaproviderbase/GridViewMediaProviderComponent.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/mediapickervideo/MediaPickerVideo.css.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/models/enterpriseproperties/PersonFieldDisplayStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/organizationtree/OrganizationTree.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/permissioninput/loc/localize.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityDisplay.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorSettings.d.ts +11 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/MediaPicker/MediaPickerEditorExtension.d.ts +7 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/loc/localize.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/settings/ISettingsPane.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/signin/omnia/Renderer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/vuetify/index.d.ts +0 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +178 -174
- package/package.json +4 -4
- package/internal-do-not-import-from-here/microsoftteams/MicrosoftTeams.d.ts +0 -5
- package/internal-do-not-import-from-here/shared/models/Bring.d.ts +0 -23
- package/internal-do-not-import-from-here/shared/models/Bring.js +0 -2
- package/internal-do-not-import-from-here/shared/models/Broadcasting.d.ts +0 -25
- package/internal-do-not-import-from-here/shared/models/Broadcasting.js +0 -12
- package/internal-do-not-import-from-here/shared/models/Future.d.ts +0 -52
- package/internal-do-not-import-from-here/shared/models/Future.js +0 -158
- package/internal-do-not-import-from-here/shared/models/Guid.d.ts +0 -17
- package/internal-do-not-import-from-here/shared/models/Guid.js +0 -51
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +0 -32
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.js +0 -2
- package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +0 -40
- package/internal-do-not-import-from-here/shared/models/Realtime.js +0 -40
- package/internal-do-not-import-from-here/shared/models/SharedConstants.d.ts +0 -6
- package/internal-do-not-import-from-here/shared/models/SharedConstants.js +0 -10
- package/internal-do-not-import-from-here/shared/models/StringExtensions.d.ts +0 -6
- package/internal-do-not-import-from-here/shared/models/StringExtensions.js +0 -3
- package/internal-do-not-import-from-here/shared/models/Tenant.d.ts +0 -4
- package/internal-do-not-import-from-here/shared/models/Tenant.js +0 -2
- package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +0 -14
- package/internal-do-not-import-from-here/shared/models/Tokens.js +0 -2
- package/internal-do-not-import-from-here/shared/models/Topic.d.ts +0 -10
- package/internal-do-not-import-from-here/shared/models/Topic.js +0 -2
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +0 -8
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.js +0 -14
- package/internal-do-not-import-from-here/shared/models/Workers.d.ts +0 -29
- package/internal-do-not-import-from-here/shared/models/Workers.js +0 -8
- package/internal-do-not-import-from-here/shared/models/index.d.ts +0 -14
- package/internal-do-not-import-from-here/shared/models/index.js +0 -18
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.d.ts +0 -27
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.js +0 -2
- package/internal-do-not-import-from-here/shared/models/theming/OmniaThemes.d.ts +0 -5
- package/internal-do-not-import-from-here/shared/models/theming/OmniaThemes.js +0 -18
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +0 -61
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.js +0 -24
- package/internal-do-not-import-from-here/shared/models/theming/ThemeMethods.d.ts +0 -11
- package/internal-do-not-import-from-here/shared/models/theming/ThemeMethods.js +0 -143
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +0 -29
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.js +0 -11
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +0 -4
- package/internal-do-not-import-from-here/shared/models/theming/index.js +0 -7
- package/internal-do-not-import-from-here/ux/shim-tsx.d.ts +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BusinessProfile, BusinessProfileWithProperties, MultilingualString } from "../models";
|
|
1
|
+
import { BusinessProfile, BusinessProfileWithProperties, MultilingualString, GuidValue } from "../models";
|
|
2
2
|
import { Store } from "./Store";
|
|
3
3
|
import { BusinessProfileService } from "../services/BusinessProfileService";
|
|
4
4
|
import { OmniaContext } from "../contexts";
|
|
@@ -31,6 +31,7 @@ export declare class BusinessProfileStore extends Store {
|
|
|
31
31
|
ensureAllProfiles: import("./Store").StoreAction<unknown, (forceRefresh?: boolean) => void, (result: void, forceRefresh?: boolean) => void, (failureReason: any, forceRefresh?: boolean) => void, (forceRefresh?: boolean) => Promise<void>>;
|
|
32
32
|
ensureProfile: import("./Store").StoreAction<unknown, (profileId: string, forceRefresh?: boolean) => void, (result: void, profileId: string, forceRefresh?: boolean) => void, (failureReason: any, profileId: string, forceRefresh?: boolean) => void, (profileId: string, forceRefresh?: boolean) => Promise<void>>;
|
|
33
33
|
ensureProfileWithProperties: import("./Store").StoreAction<unknown, (profileId: string, forceRefresh?: boolean) => void, (result: void, profileId: string, forceRefresh?: boolean) => void, (failureReason: any, profileId: string, forceRefresh?: boolean) => void, (profileId: string, forceRefresh?: boolean) => Promise<void>>;
|
|
34
|
+
getProfileIdsHavingValidAppInstance: import("./Store").StoreAction<unknown, () => void, (result: GuidValue[]) => void, (failureReason: any) => void, () => Promise<Array<GuidValue>>>;
|
|
34
35
|
};
|
|
35
36
|
private publishBusinessProfileUpdateIfNeeded;
|
|
36
37
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AnchorLinkRoute, TokenBasedRouteStateData, IMessageBusSubscriptionHandler } from "../models";
|
|
2
|
+
import { StateData } from "../ux/InternalRouter";
|
|
2
3
|
import { TokenBasedRouter } from "./TokenBasedRouter";
|
|
3
4
|
import { VueComponentBase } from "./VueComponentBase";
|
|
4
5
|
interface AnchorLinkConfiguration {
|
|
@@ -21,6 +22,7 @@ declare class InternalAnchorLinkRouter extends TokenBasedRouter<AnchorLinkRoute,
|
|
|
21
22
|
subscribe: (config: AnchorLinkConfiguration) => IMessageBusSubscriptionHandler;
|
|
22
23
|
silentNavigate: (anchorName: string) => void;
|
|
23
24
|
clearRoute: () => void;
|
|
25
|
+
getTokenValue: (stateData: StateData) => TokenBasedRouteStateData;
|
|
24
26
|
private useConfiguration;
|
|
25
27
|
private scrollToElement;
|
|
26
28
|
private onMutationObserved;
|
|
@@ -37,6 +39,7 @@ export declare class AnchorLink {
|
|
|
37
39
|
clear(): void;
|
|
38
40
|
subscribe(config: AnchorLinkConfiguration): IMessageBusSubscriptionHandler;
|
|
39
41
|
silentNavigate(anchorName: string): void;
|
|
42
|
+
getTokenValue(stateData: StateData): TokenBasedRouteStateData;
|
|
40
43
|
static combine(path: string, anchorName: string): string | null;
|
|
41
44
|
static split(path: string): string[];
|
|
42
45
|
static transformToDefaultFormat(value: string): string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StateData } from "./InternalRouter";
|
|
1
2
|
import { ITokenBasedRouteContext, TokenBasedRouteStateData, IMessageBusTopicSubscription, TokenBasedRoute } from "../models";
|
|
2
3
|
export declare abstract class TokenBasedRouter<T1 extends TokenBasedRoute, T2 extends TokenBasedRouteStateData> {
|
|
3
4
|
private static initialized;
|
|
@@ -19,6 +20,7 @@ export declare abstract class TokenBasedRouter<T1 extends TokenBasedRoute, T2 ex
|
|
|
19
20
|
get onNavigate(): IMessageBusTopicSubscription<ITokenBasedRouteContext<T1, T2>>;
|
|
20
21
|
get routeContext(): ITokenBasedRouteContext<T1, T2>;
|
|
21
22
|
get tokenExistsOnUrl(): boolean;
|
|
23
|
+
protected protectedGetTokenValue(stateData?: StateData): TokenBasedRouteStateData;
|
|
22
24
|
protected protectedNavigate(title: string, route: T1, stateData?: T2, replaceState?: boolean): void;
|
|
23
25
|
protected protectedClearRoute(): void;
|
|
24
26
|
protected combinePathParts(...parts: string[]): string;
|
|
@@ -320,6 +320,7 @@ export interface OmniaUxLocalization {
|
|
|
320
320
|
Rejected: string;
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
|
+
InvalidMagicLinkMessage: string;
|
|
323
324
|
Rollup: {
|
|
324
325
|
Settings: {
|
|
325
326
|
Scope: string;
|
|
@@ -723,6 +724,18 @@ export interface OmniaUxLocalization {
|
|
|
723
724
|
Title: string;
|
|
724
725
|
};
|
|
725
726
|
};
|
|
727
|
+
ExtraIDAdditionalUserProperties: {
|
|
728
|
+
Category: string;
|
|
729
|
+
Description: string;
|
|
730
|
+
Title: string;
|
|
731
|
+
ConsentInformation: string;
|
|
732
|
+
};
|
|
733
|
+
ManagedMetadataProperties: {
|
|
734
|
+
Category: string;
|
|
735
|
+
Description: string;
|
|
736
|
+
Title: string;
|
|
737
|
+
ConsentInformation: string;
|
|
738
|
+
};
|
|
726
739
|
};
|
|
727
740
|
AuditLog: {
|
|
728
741
|
Title: string;
|
|
@@ -967,6 +980,7 @@ export interface OmniaUxLocalization {
|
|
|
967
980
|
AnchorName: string;
|
|
968
981
|
CustomAnchorName: string;
|
|
969
982
|
ScrollIntoView: string;
|
|
983
|
+
HeaderLevel: string;
|
|
970
984
|
};
|
|
971
985
|
Buttons: {
|
|
972
986
|
AddColor: string;
|
|
@@ -1138,7 +1152,9 @@ export interface OmniaUxLocalization {
|
|
|
1138
1152
|
LabelPadding: string;
|
|
1139
1153
|
Tab: string;
|
|
1140
1154
|
Accordion: string;
|
|
1155
|
+
AccordionDescription: string;
|
|
1141
1156
|
Stepper: string;
|
|
1157
|
+
StepperDescription: string;
|
|
1142
1158
|
Label: string;
|
|
1143
1159
|
Tooltip: string;
|
|
1144
1160
|
Icon: string;
|
|
@@ -1244,11 +1260,15 @@ export interface OmniaUxLocalization {
|
|
|
1244
1260
|
};
|
|
1245
1261
|
PredefinedSections: {
|
|
1246
1262
|
OneColumn: string;
|
|
1263
|
+
OneColumnDescription: string;
|
|
1247
1264
|
TwoColumns: string;
|
|
1265
|
+
TwoColumnsDescription: string;
|
|
1248
1266
|
ThreeColumn: string;
|
|
1267
|
+
ThreeColumnsDescription: string;
|
|
1249
1268
|
Center: string;
|
|
1250
1269
|
Hero: string;
|
|
1251
1270
|
Tab: string;
|
|
1271
|
+
TabSummary: string;
|
|
1252
1272
|
};
|
|
1253
1273
|
DisplayBreakPoints: {
|
|
1254
1274
|
ExtraSmall: string;
|
|
@@ -1417,14 +1437,15 @@ export interface OmniaUxLocalization {
|
|
|
1417
1437
|
};
|
|
1418
1438
|
InvalidJsonField: string;
|
|
1419
1439
|
ErrorMsg: string;
|
|
1420
|
-
|
|
1440
|
+
ListEmptyMsg: string;
|
|
1421
1441
|
DeleteConfirmationTitle: string;
|
|
1422
|
-
|
|
1442
|
+
DeleteConfirmationMsg: string;
|
|
1423
1443
|
};
|
|
1424
1444
|
BlockDialog: {
|
|
1425
1445
|
Title: string;
|
|
1426
1446
|
AddBlocks: string;
|
|
1427
|
-
|
|
1447
|
+
EmptyMessage: string;
|
|
1448
|
+
NoBlocksFoundMsg: string;
|
|
1428
1449
|
AddHeader: string;
|
|
1429
1450
|
EditHeader: string;
|
|
1430
1451
|
ManageList: string;
|
|
@@ -1437,7 +1458,7 @@ export interface OmniaUxLocalization {
|
|
|
1437
1458
|
Title: string;
|
|
1438
1459
|
Authentication: string;
|
|
1439
1460
|
Default: string;
|
|
1440
|
-
|
|
1461
|
+
SPFx: string;
|
|
1441
1462
|
};
|
|
1442
1463
|
Tooltips: {
|
|
1443
1464
|
Management: string;
|
|
@@ -3,7 +3,6 @@ export declare const VCardActionsTag = "v-card-actions";
|
|
|
3
3
|
export declare const VCardMediaTag = "v-card-media";
|
|
4
4
|
export declare const VCardTextTag = "v-card-text";
|
|
5
5
|
export declare const VCardTitleTag = "v-card-title";
|
|
6
|
-
export declare const VCardSubtitleTag = "v-card-subtitle";
|
|
7
6
|
export declare const VAlertTag = "v-alert";
|
|
8
7
|
export declare const VAppTag = "v-app";
|
|
9
8
|
export declare const VAvatarTag = "v-avatar";
|
|
@@ -6,6 +6,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
6
6
|
icon: IIcon;
|
|
7
7
|
iconColor: string;
|
|
8
8
|
onClickCallBack: () => void;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
textColor: string;
|
|
9
11
|
}, never>, any, any, any>> & {
|
|
10
12
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
13
|
title: string;
|
|
@@ -14,6 +16,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
14
16
|
icon: IIcon;
|
|
15
17
|
iconColor: string;
|
|
16
18
|
onClickCallBack: () => void;
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
textColor: string;
|
|
17
21
|
}, never>;
|
|
18
22
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
19
23
|
title: string;
|
|
@@ -22,6 +26,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
22
26
|
icon: IIcon;
|
|
23
27
|
iconColor: string;
|
|
24
28
|
onClickCallBack: () => void;
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
textColor: string;
|
|
25
31
|
}, never>, any, any, any>> & {
|
|
26
32
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
27
33
|
title: string;
|
|
@@ -30,6 +36,8 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
|
30
36
|
icon: IIcon;
|
|
31
37
|
iconColor: string;
|
|
32
38
|
onClickCallBack: () => void;
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
textColor: string;
|
|
33
41
|
}, never>;
|
|
34
42
|
});
|
|
35
43
|
export default _default;
|
|
@@ -3,6 +3,7 @@ import { VueComponentBase } from "../../VueComponentBase";
|
|
|
3
3
|
import { IAppDescriptionInput } from "./IAppDescriptionInput";
|
|
4
4
|
export declare class AppDescriptionInput extends VueComponentBase implements IAppDescriptionInput, IWebComponentInstance {
|
|
5
5
|
description: string;
|
|
6
|
+
maximumLength: number;
|
|
6
7
|
dark: boolean;
|
|
7
8
|
onDescriptionChanged: (title: string) => void;
|
|
8
9
|
private omniaUxLoc;
|
|
@@ -17,5 +18,6 @@ export declare class AppDescriptionInput extends VueComponentBase implements IAp
|
|
|
17
18
|
created(): void;
|
|
18
19
|
mounted(): void;
|
|
19
20
|
checkDescription(): void;
|
|
21
|
+
private getValidationRules;
|
|
20
22
|
render(): VueTsxSupport.JSX.Element;
|
|
21
23
|
}
|
|
@@ -2,6 +2,7 @@ import { TsxAllowUnknowProperties } from "../../TsxAllowUnknowProperties";
|
|
|
2
2
|
import { IValidator } from "../../validation";
|
|
3
3
|
export interface IAppDescriptionInput {
|
|
4
4
|
description: string;
|
|
5
|
+
maximumLength?: number;
|
|
5
6
|
onDescriptionChanged: (value: string) => void;
|
|
6
7
|
useValidator: IValidator;
|
|
7
8
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./AuthSetup.css";
|
|
2
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
|
|
3
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
4
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
|
|
5
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
6
|
+
});
|
|
7
|
+
export default _default;
|
|
@@ -3,6 +3,8 @@ import { LocalizationService, SettingsService } from "@omnia/fx/services";
|
|
|
3
3
|
import { MultilingualStore, Store } from "@omnia/fx/stores";
|
|
4
4
|
import { OmniaUxLocalization } from "../../UxModels";
|
|
5
5
|
import { BlockCatalogStore } from "../../layoutcanvas";
|
|
6
|
+
import * as _ from "lodash";
|
|
7
|
+
export { _ };
|
|
6
8
|
export declare class BlockGalleryStore extends Store {
|
|
7
9
|
blockCatalogStore: BlockCatalogStore;
|
|
8
10
|
multilingualStore: MultilingualStore;
|
|
@@ -28,6 +30,7 @@ export declare class BlockGalleryStore extends Store {
|
|
|
28
30
|
private initSpfxDictionary;
|
|
29
31
|
private layoutBlockSettingForRender;
|
|
30
32
|
private dialogLayouts;
|
|
33
|
+
private registeredDialogLayoutProviders;
|
|
31
34
|
protected onActivated(): Promise<void>;
|
|
32
35
|
getters: {
|
|
33
36
|
blocks: () => {
|
|
@@ -47,6 +50,7 @@ export declare class BlockGalleryStore extends Store {
|
|
|
47
50
|
dialogLayouts: () => BlockDialogLayoutInfo[];
|
|
48
51
|
getDialogLayoutType: (layoutProvider: string) => string;
|
|
49
52
|
};
|
|
53
|
+
private isCompatibleWithAuthenticationLayoutOnly;
|
|
50
54
|
private isBlockValidForLayout;
|
|
51
55
|
mutations: {
|
|
52
56
|
addSelectedBlocks: import("@omnia/fx/stores").StoreMutation<(selectedBlockIds: Array<string>) => void, (selectedBlockIds: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
@@ -68,15 +72,19 @@ export declare class BlockGalleryStore extends Store {
|
|
|
68
72
|
actions: {
|
|
69
73
|
ensureLoadAllBlocksForAdminView: import("@omnia/fx/stores").StoreAction<unknown, (forceReload?: boolean) => void, (result: void, forceReload?: boolean) => void, (failureReason: any, forceReload?: boolean) => void, (forceReload?: boolean) => Promise<void>>;
|
|
70
74
|
ensureLoadAllBlocksForRender: import("@omnia/fx/stores").StoreAction<unknown, (layoutType: string) => void, (result: void, layoutType: string) => void, (failureReason: any, layoutType: string) => void, (layoutType: string) => Promise<void>>;
|
|
71
|
-
getOmniaBlocks: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
72
|
-
getBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, (layoutType: string) => void, (result: void, layoutType: string) => void, (failureReason: any, layoutType: string) => void, (layoutType: string) => Promise<void>>;
|
|
73
75
|
updateBlockDialogSettings: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
74
76
|
addOrUpdateBlockTemplate: import("@omnia/fx/stores").StoreAction<unknown, (blockTemplate: BlockTemplate, isEdit: boolean) => void, (result: void, blockTemplate: BlockTemplate, isEdit: boolean) => void, (failureReason: any, blockTemplate: BlockTemplate, isEdit: boolean) => void, (blockTemplate: BlockTemplate, isEdit: boolean) => Promise<void>>;
|
|
75
77
|
removeBlockTemplate: import("@omnia/fx/stores").StoreAction<unknown, (blockTemplateId: number) => void, (result: boolean, blockTemplateId: number) => void, (failureReason: any, blockTemplateId: number) => void, (blockTemplateId: number) => Promise<boolean>>;
|
|
76
78
|
ensureGeneralSetting: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: BlockGalleryGeneralSetting) => void, (failureReason: any) => void, () => Promise<BlockGalleryGeneralSetting>>;
|
|
77
79
|
};
|
|
80
|
+
private ensureOmniaBlocks;
|
|
81
|
+
private loadBlockDialogSettings;
|
|
82
|
+
private ensureDefaultBlocksIfDialogLayoutIsEmpty;
|
|
83
|
+
private getIdOfLayoutItemRegistrationBlock;
|
|
84
|
+
private insertDefaultHeader;
|
|
85
|
+
private insertDefaultBlocks;
|
|
78
86
|
private ensureSpfxBlockDictionary;
|
|
79
|
-
private
|
|
87
|
+
private loadBlockTemplateViews;
|
|
80
88
|
private getLayoutBlockSettingKey;
|
|
81
89
|
private loadConfiguredBlockTemplates;
|
|
82
90
|
private getBlockTemplateIdFromGalleryItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* If we import vuedraggable directly from node-modules, error will occur on SharePoint modern page, because the library try to use AMD instead of Modules.
|
|
3
3
|
* The error: unexpected anonymous amd define.
|
|
4
|
-
* Therefore, we modified vuedraggable (and its dependency Sortable), then put it in
|
|
4
|
+
* Therefore, we modified vuedraggable (and its dependency Sortable), then put it in assets/scripts/vuedraggable.js
|
|
5
5
|
* */
|
|
6
6
|
export {};
|
|
@@ -5,6 +5,7 @@ export interface EnterprisePropertyComponentProps {
|
|
|
5
5
|
}
|
|
6
6
|
export interface EnterprisePropertyEditProps<TSettings extends EnterprisePropertyItemSettings = EnterprisePropertyItemSettings> extends EnterprisePropertyComponentProps {
|
|
7
7
|
disabled: boolean;
|
|
8
|
+
disableAutofocus?: boolean;
|
|
8
9
|
hideDetails?: boolean;
|
|
9
10
|
dark?: boolean;
|
|
10
11
|
required?: boolean;
|
|
@@ -15,6 +15,7 @@ export declare class RichTextFieldEdit extends VueComponentBase implements IWebC
|
|
|
15
15
|
box?: boolean;
|
|
16
16
|
settings: EnterprisePropertyRichTextItemSettings;
|
|
17
17
|
queryable?: boolean;
|
|
18
|
+
disableAutofocus?: boolean;
|
|
18
19
|
private loc;
|
|
19
20
|
private mediaPickerService;
|
|
20
21
|
multilingualStore: MultilingualStore;
|
package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HeadingConfiguration, HeadingStyleConfiguration } from "@omnia/fx-models";
|
|
1
|
+
import { HeadingConfiguration, HeadingStyleConfiguration, HeaderLevel } from "@omnia/fx-models";
|
|
2
2
|
export declare const HeadingConfigurationFactory: {
|
|
3
3
|
create(): Array<HeadingConfiguration>;
|
|
4
4
|
createInitial(): HeadingConfiguration;
|
|
5
5
|
createDefaultHeadingStyle(): HeadingStyleConfiguration;
|
|
6
6
|
getHeadingStyle(heading: HeadingConfiguration, useImportant?: boolean): any;
|
|
7
|
+
getHeaderLevels(): Array<HeaderLevel>;
|
|
7
8
|
};
|
|
@@ -9,13 +9,16 @@ export default class HeaderItem extends VueComponentBase {
|
|
|
9
9
|
blockInstance: BlockInstance;
|
|
10
10
|
private omniaUxLoc;
|
|
11
11
|
spfxSettingsService: OmniaSpfxSettingsProvider;
|
|
12
|
+
private localizationService;
|
|
12
13
|
private item;
|
|
13
14
|
private settings;
|
|
14
15
|
private model;
|
|
16
|
+
private headerLevels;
|
|
15
17
|
mounted(): void;
|
|
16
18
|
created(): void;
|
|
17
19
|
private headerValueChanged;
|
|
18
20
|
private onIconValueChanged;
|
|
21
|
+
private onHeaderLevelValueChanged;
|
|
19
22
|
private updateSpfxSettings;
|
|
20
23
|
render(): VueTsxSupport.JSX.Element;
|
|
21
24
|
}
|
|
@@ -7,4 +7,5 @@ export declare const BlockTitleStyles: {
|
|
|
7
7
|
iconWrapperButton: (settings: BlockTitleIconSettings) => string;
|
|
8
8
|
iconInButton: (settings: BlockTitleIconSettings, theming: ITheming) => string;
|
|
9
9
|
wrapper: (settings: BlockTitleSettings, textAlignment: TextAlignment, theming: ITheming) => string;
|
|
10
|
+
headingWrapper: (theming: ITheming, settings: BlockTitleSettings) => string;
|
|
10
11
|
};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueComponentBase } from "../../../..";
|
|
2
2
|
import { IWebComponentInstance } from "../../../../..";
|
|
3
|
-
import { MultilingualString, TextAlignment } from "../../../../../models";
|
|
3
|
+
import { HeaderLevel, MultilingualString, TextAlignment } from "../../../../../models";
|
|
4
4
|
import { BlockTitleSettingsStore, DirectionRuleStore, MultilingualStore } from "../../../../../stores";
|
|
5
5
|
import { IBlockTitleComponent } from "./IBlockTitle";
|
|
6
6
|
import { BlockInstance } from "../../../../BlockInstance";
|
|
@@ -9,16 +9,21 @@ export declare class BlockTitleComponent extends VueComponentBase implements IWe
|
|
|
9
9
|
multilingualtitle: string | MultilingualString;
|
|
10
10
|
settingsKey: any;
|
|
11
11
|
alternativeContent?: JSX.Element;
|
|
12
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
13
|
+
contentClass?: string;
|
|
12
14
|
multilingualStore: MultilingualStore;
|
|
13
15
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
14
16
|
blockInstance: BlockInstance;
|
|
15
17
|
directionStore: DirectionRuleStore;
|
|
16
18
|
private model;
|
|
19
|
+
private headerLevels;
|
|
17
20
|
mounted(): void;
|
|
18
21
|
onSectionUpdated(): void;
|
|
19
22
|
getFormatedTitleStringValue(title: string): string;
|
|
20
23
|
getFormattedTitleString(): string;
|
|
21
24
|
getTextAlignment(): TextAlignment;
|
|
22
25
|
renderBlockIcon(title: string): VueTsxSupport.JSX.Element;
|
|
26
|
+
renderTitle(title: string): VueTsxSupport.JSX.Element;
|
|
27
|
+
renderTitleWithHeaderLevel(heading: HeaderLevel, title: string): import("vue").VNode;
|
|
23
28
|
render(): VueTsxSupport.JSX.Element;
|
|
24
29
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/IBlockTitle.d.ts
CHANGED
|
@@ -4,7 +4,12 @@ export interface IBlockTitleComponent {
|
|
|
4
4
|
title?: string;
|
|
5
5
|
multilingualtitle?: MultilingualString | string;
|
|
6
6
|
settingsKey: any;
|
|
7
|
+
contentClass?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use wrapWithHeaderLevel instead.
|
|
10
|
+
*/
|
|
7
11
|
alternativeContent?: JSX.Element;
|
|
12
|
+
wrapWithHeaderLevel?: (headerElement: JSX.Element) => JSX.Element;
|
|
8
13
|
}
|
|
9
14
|
declare global {
|
|
10
15
|
namespace VueTsxSupport.JSX {
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ import { VueComponentBase } from "@omnia/fx/ux";
|
|
|
4
4
|
export default class HeaderSectionItem extends VueComponentBase {
|
|
5
5
|
editorStore: LayoutCanvasStore;
|
|
6
6
|
private subscriptionHandler;
|
|
7
|
-
|
|
7
|
+
multilingualStore: MultilingualStore;
|
|
8
8
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
9
|
+
private localizationService;
|
|
9
10
|
private omniaUxLoc;
|
|
10
11
|
private section;
|
|
11
12
|
private model;
|
|
13
|
+
private headerLevels;
|
|
12
14
|
mounted(): void;
|
|
13
15
|
created(): void;
|
|
14
16
|
/**
|
|
@@ -16,6 +18,7 @@ export default class HeaderSectionItem extends VueComponentBase {
|
|
|
16
18
|
* */
|
|
17
19
|
private onSectionChange;
|
|
18
20
|
private onIconValueChanged;
|
|
21
|
+
private onHeaderLevelValueChanged;
|
|
19
22
|
private onHeaderValueChanged;
|
|
20
23
|
render(): VueTsxSupport.JSX.Element;
|
|
21
24
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/shared/styles/SharedRendererStyles.css.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare const SharedRendererStyles: {
|
|
|
32
32
|
columnWrapper: string;
|
|
33
33
|
backgroundWrapperImage: string;
|
|
34
34
|
getStyleStringForTitle: (settings: SectionSettings) => string;
|
|
35
|
+
getTitleContentClass: (settings: SectionSettings) => string;
|
|
35
36
|
adjustScrollCompensation: (extra: number) => void;
|
|
36
37
|
getStylesFromSettings: (settings: SectionSettings, useScrollMargingFix: boolean) => string;
|
|
37
38
|
getStylesForSpacingInContainer(sectionSettings: SectionSettings, fullHeight: boolean): string;
|
|
@@ -22,7 +22,19 @@ export declare class BlockCatalogStore extends Store {
|
|
|
22
22
|
filterBlockRegistrationOnFeatureDependency(blockRegistration: BlockRegistration): boolean;
|
|
23
23
|
filterBlockRegistrationByBackendRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
24
24
|
filterBlockRegistrationByClientRuntimes(blockRegistration: BlockRegistration): boolean;
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Validate if block is valid for layout provider.
|
|
27
|
+
* @param blockRegistration
|
|
28
|
+
* @param layoutProvider
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
filterBlockRegistrationOnLayoutDependency(blockRegistration: BlockRegistration, layoutProvider: string): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Validate if block is valid for current environment (backend/client runtime) and feature dependencies.
|
|
34
|
+
* @param block
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
isBlockValidForEnvironment(block: BlockRegistration): boolean;
|
|
26
38
|
filterBlockRegistrationByDisableAuth(blockRegistration: BlockRegistration): boolean;
|
|
27
39
|
/**
|
|
28
40
|
* Implementation of mutations
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/YouTubeProvider.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ export declare class YouTubeProviderComponent extends MultiSelectMediaProviderCo
|
|
|
46
46
|
private getStartTimeAsSeconds;
|
|
47
47
|
private processResponsiveIframe;
|
|
48
48
|
private updateVideoState;
|
|
49
|
+
private waitForIframeLoad;
|
|
49
50
|
private saveYoutubeResult;
|
|
50
51
|
private renderVideoIframe;
|
|
51
52
|
private renderResponsiveVideoIframe;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { types } from "typestyle";
|
|
2
|
+
import { ITheming } from "@omnia/fx/ux";
|
|
3
|
+
export declare const imageSize = 357.25;
|
|
4
|
+
export declare const GptImageProviderStyles: {
|
|
5
|
+
wrapper: string;
|
|
6
|
+
text: string;
|
|
7
|
+
notify: string;
|
|
8
|
+
label: string;
|
|
9
|
+
inputText: string;
|
|
10
|
+
selectInputStyle: string;
|
|
11
|
+
imageCol: string;
|
|
12
|
+
imageHeight: string;
|
|
13
|
+
image: string;
|
|
14
|
+
shadowCard: string;
|
|
15
|
+
skeletonWrapper: string;
|
|
16
|
+
GptImageFilterContentErrorWrapper: string;
|
|
17
|
+
ErrorIcon: string;
|
|
18
|
+
promptTip: string;
|
|
19
|
+
FullHeight: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const gptImageImageGridStyles: {
|
|
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;
|
|
32
|
+
};
|
|
33
|
+
export declare const MediaProviderComponentBaseStyles: {
|
|
34
|
+
baseWrapper: string;
|
|
35
|
+
providerWrapper: string;
|
|
36
|
+
loadingProviderWrapper: string;
|
|
37
|
+
providerContent: string;
|
|
38
|
+
loadingOverlayWrapper: string;
|
|
39
|
+
loadingWrapper: string;
|
|
40
|
+
gridWrapper: string;
|
|
41
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OmniaTheming } from "@omnia/fx/ux";
|
|
2
|
+
import { IWebComponentInstance, OmniaContext } from "@omnia/fx";
|
|
3
|
+
import { type OmniaUxLocalization } from "@omnia/fx/ux";
|
|
4
|
+
import { GridViewMediaProviderComponent } from "../mediaproviderbase/GridViewMediaProviderComponent";
|
|
5
|
+
import { ImageInformation, VideoItem, ImageItem, MediaPickerVideo, VideoInformation, MediaPickerImageTransformationResult, IBusinessProfile } from "../../../models";
|
|
6
|
+
import { AzureOpenAIService } from "../../../services";
|
|
7
|
+
import { GptImageProviderLocalization } from "./loc/localize";
|
|
8
|
+
import { TextToImagesRequest, GeneratedImage, TextToImagesResponse } from "@omnia/fx-models";
|
|
9
|
+
import "./GptImageProvider.css";
|
|
10
|
+
import { MultilingualStore } from "@omnia/fx/stores";
|
|
11
|
+
export default class GptImageProvider extends GridViewMediaProviderComponent implements IWebComponentInstance {
|
|
12
|
+
beforeSaved(resultToBeSaved: MediaPickerImageTransformationResult | VideoInformation): Promise<MediaPickerVideo | MediaPickerImageTransformationResult>;
|
|
13
|
+
getMediaItems(searchKeyword: string): Promise<GeneratedImage[]>;
|
|
14
|
+
getMoreMediaItems(lastLoadedIndex: number): Promise<GeneratedImage[]>;
|
|
15
|
+
getMediaInfo(mediaItem: ImageItem | VideoItem): Promise<ImageInformation | VideoInformation>;
|
|
16
|
+
setEmptyResultHandler(): void;
|
|
17
|
+
azureOpenAiService: AzureOpenAIService;
|
|
18
|
+
omniaTheming: OmniaTheming;
|
|
19
|
+
private aiSettingsService;
|
|
20
|
+
omniaCtx: OmniaContext;
|
|
21
|
+
multilingualStore: MultilingualStore;
|
|
22
|
+
gptImageLoc: GptImageProviderLocalization.locInterface;
|
|
23
|
+
omniaUxLoc: OmniaUxLocalization;
|
|
24
|
+
private searchKeyword;
|
|
25
|
+
private GptImageSupportImageResolution;
|
|
26
|
+
private generatedImages;
|
|
27
|
+
private textToImagesRequests;
|
|
28
|
+
private resultStyles;
|
|
29
|
+
private selectedImageResolution;
|
|
30
|
+
private textToImagesResponseMap;
|
|
31
|
+
private gptImagePredefinedPromptList;
|
|
32
|
+
private preDefinedPrompt;
|
|
33
|
+
private preDefaultPrompt;
|
|
34
|
+
private gptImageConstant;
|
|
35
|
+
private displayPrompts;
|
|
36
|
+
private getTextToImagesRequest;
|
|
37
|
+
constructor();
|
|
38
|
+
created(): void;
|
|
39
|
+
mounted(): void;
|
|
40
|
+
initGptImagePromptSettingsListing(businessProfileId: IBusinessProfile): Promise<void>;
|
|
41
|
+
onGenerateImage(): void;
|
|
42
|
+
onPressEnter: (event: KeyboardEvent) => void;
|
|
43
|
+
getPredefinedPrompts(predefinedPrompt: string): void;
|
|
44
|
+
selectGridItemPublic(item: GeneratedImage): void;
|
|
45
|
+
addGeneratedImage(item: GeneratedImage, textToImagesRequest: TextToImagesRequest): void;
|
|
46
|
+
addTextToImagesResponse(item: TextToImagesResponse, textToImagesRequest: TextToImagesRequest): void;
|
|
47
|
+
onRegenerateImage(textToImagesRequest: TextToImagesRequest): void;
|
|
48
|
+
private renderCustomSlot;
|
|
49
|
+
private getPredefinedPromptsItem;
|
|
50
|
+
private renderPredefinedPrompts;
|
|
51
|
+
private renderPromptInput;
|
|
52
|
+
render(): VueTsxSupport.JSX.Element;
|
|
53
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { GeneratedImage, TextToImagesRequest, TextToImagesResponse } from "@omnia/fx-models";
|
|
2
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
3
|
+
textToImageRequest: TextToImagesRequest;
|
|
4
|
+
selectGridItem: (mediaItem: GeneratedImage) => void;
|
|
5
|
+
generatedImage: GeneratedImage;
|
|
6
|
+
addGeneratedImage: (generatedImage: GeneratedImage, textToImageRequest: TextToImagesRequest) => void;
|
|
7
|
+
onRegenerateImage: (textToImageRequest: TextToImagesRequest) => void;
|
|
8
|
+
textToImageResponse: TextToImagesResponse;
|
|
9
|
+
addTextToImageResponse: (textToImageResponse: TextToImagesResponse, textToImageRequest: TextToImagesRequest) => void;
|
|
10
|
+
imageRef: HTMLImageElement;
|
|
11
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
12
|
+
}, never>, any, any, any>> & {
|
|
13
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
14
|
+
textToImageRequest: TextToImagesRequest;
|
|
15
|
+
selectGridItem: (mediaItem: GeneratedImage) => void;
|
|
16
|
+
generatedImage: GeneratedImage;
|
|
17
|
+
addGeneratedImage: (generatedImage: GeneratedImage, textToImageRequest: TextToImagesRequest) => void;
|
|
18
|
+
onRegenerateImage: (textToImageRequest: TextToImagesRequest) => void;
|
|
19
|
+
textToImageResponse: TextToImagesResponse;
|
|
20
|
+
addTextToImageResponse: (textToImageResponse: TextToImagesResponse, textToImageRequest: TextToImagesRequest) => void;
|
|
21
|
+
imageRef: HTMLImageElement;
|
|
22
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
23
|
+
}, never>;
|
|
24
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
25
|
+
textToImageRequest: TextToImagesRequest;
|
|
26
|
+
selectGridItem: (mediaItem: GeneratedImage) => void;
|
|
27
|
+
generatedImage: GeneratedImage;
|
|
28
|
+
addGeneratedImage: (generatedImage: GeneratedImage, textToImageRequest: TextToImagesRequest) => void;
|
|
29
|
+
onRegenerateImage: (textToImageRequest: TextToImagesRequest) => void;
|
|
30
|
+
textToImageResponse: TextToImagesResponse;
|
|
31
|
+
addTextToImageResponse: (textToImageResponse: TextToImagesResponse, textToImageRequest: TextToImagesRequest) => void;
|
|
32
|
+
imageRef: HTMLImageElement;
|
|
33
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
34
|
+
}, never>, any, any, any>> & {
|
|
35
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
36
|
+
textToImageRequest: TextToImagesRequest;
|
|
37
|
+
selectGridItem: (mediaItem: GeneratedImage) => void;
|
|
38
|
+
generatedImage: GeneratedImage;
|
|
39
|
+
addGeneratedImage: (generatedImage: GeneratedImage, textToImageRequest: TextToImagesRequest) => void;
|
|
40
|
+
onRegenerateImage: (textToImageRequest: TextToImagesRequest) => void;
|
|
41
|
+
textToImageResponse: TextToImagesResponse;
|
|
42
|
+
addTextToImageResponse: (textToImageResponse: TextToImagesResponse, textToImageRequest: TextToImagesRequest) => void;
|
|
43
|
+
imageRef: HTMLImageElement;
|
|
44
|
+
setImageRef: (imageRef: HTMLImageElement) => void;
|
|
45
|
+
}, never>;
|
|
46
|
+
});
|
|
47
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/mediapickerproviders/gptimageprovider/loc/localize.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare module GptImageProviderLocalization {
|
|
2
|
+
const namespace = "Omnia.Ux.GptImageProvider";
|
|
3
|
+
interface locInterface {
|
|
4
|
+
Title: string;
|
|
5
|
+
FeatureTitle: string;
|
|
6
|
+
FeatureDescription: string;
|
|
7
|
+
DowloadImageFailed: string;
|
|
8
|
+
PhotoBy: string;
|
|
9
|
+
PhotosProviderBy: string;
|
|
10
|
+
MaxInputLength: number;
|
|
11
|
+
Generate: string;
|
|
12
|
+
SelectSizePicture: string;
|
|
13
|
+
Download: string;
|
|
14
|
+
GenerateNewImage: string;
|
|
15
|
+
ErrorMessage: string;
|
|
16
|
+
ImageName: string;
|
|
17
|
+
PromptHeader: string;
|
|
18
|
+
PromptContent: string;
|
|
19
|
+
PromptExample: string;
|
|
20
|
+
Label: string;
|
|
21
|
+
ImageStyle: string;
|
|
22
|
+
}
|
|
23
|
+
}
|