@omnia/fx 8.0.361-dev → 8.0.363-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/stores/ProfileCardHandlerStore.d.ts +23 -0
  3. package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
  4. package/internal-do-not-import-from-here/ux/DefineVueTypings.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/InternalDefineComponent.d.ts +2 -13
  7. package/internal-do-not-import-from-here/ux/VueComponentBase.d.ts +2 -1
  8. package/internal-do-not-import-from-here/ux/admin/recurrence/RecurrenceSetting.d.ts +17 -0
  9. package/internal-do-not-import-from-here/ux/admin/recurrence/RecurrenceSettingStatus.d.ts +9 -0
  10. package/internal-do-not-import-from-here/ux/admin/recurrence/loc/localize.d.ts +56 -0
  11. package/internal-do-not-import-from-here/ux/admin/usermanagement/loc/localize.d.ts +66 -0
  12. package/internal-do-not-import-from-here/ux/admin/usermanagement/shared/UserManagementConstants.d.ts +1 -0
  13. package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/blades/AddOrEditUserTypeBladeProfileCompletion.d.ts +15 -0
  14. package/internal-do-not-import-from-here/ux/admin/usermanagement/usertypes/core/factory.d.ts +15 -0
  15. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +1 -0
  16. package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +2 -2
  17. package/internal-do-not-import-from-here/ux/profilecard/ProfileSwitchingBtn.d.ts +8 -0
  18. package/internal-do-not-import-from-here/ux/profilecard/loc/localize.d.ts +2 -0
  19. package/internal-do-not-import-from-here/ux/properties/models/PropertyPicker.d.ts +5 -0
  20. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyInput.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +9 -174
  22. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  23. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
  25. package/internal-do-not-import-from-here/wctypings.d.ts +28 -0
  26. package/package.json +2 -2
  27. package/postinstall.js +2 -2
  28. package/types/index.d.ts +25 -0
  29. package/types/jsx.d.ts +0 -22
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","LocalizationServiceProviders","Localize","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","ObjectMerger","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","WebComponentBootstrapper","WebUtils","createEventHook","createVueApp","defineFactory","defineInjectable","defineService","extendApi","getVueMixins","getVueOptionsHooks","getVuePlugins","injectByTypeId","isInjectable","mergeLocaliation","omniaScriptApi","propertyPath","propertyPathValue","registerApi","registerInjectResolver","registerVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BaseProviderImageHandler","BaseProviderVideoHandler","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","ImageCropperByRatioHandler","ImageCropperUtils","ImageFilterHandler","ImageFlipHandler","ImageGalleryHandler","ImageRotateHandler","KEEP_ORIGINAL_SIZE_OPTION_VALUE","LinkReferencesStore","MSTeamsStore","MediaFileProcessor","MediaPickerImageHandler","MediaPickerStore","MediaPickerUtils","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","TuiImgScaleQuality","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","VideoGalleryHandler","defineStore","getMediaProviderEditor","getTuiImageRendition","onApplyStyle","updateTransformedImageBase64","useCommandStore","useCompontentHostStore","useCompontentSharedSettingsStore","useFlowEditorPluginStore","useFlowEditorToolbarStateStore","useGalleryStore","useLocalizationStore","useMediaPickerCommonStore","useMediaPickerImageTransformerStore","useMediaPickerStorageProviderContext","useProviderStore","useSizeContainerStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["createVueApp","getVueMixins","getVueOptionsHooks","getVuePlugins","registerVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AIEngineSetupService","AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SemanticSearchService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus","defineService","themeService"]}}}
1
+ {"name":"omniaWebpackJsonp['bb000000-0000-bbbb-0000-0000000000bb']['a5a89056-b5f5-475d-8518-a1f55090379d']","content":{"./node_modules/@omnia/fx/Bootstrapper.js":{"id":"./node_modules/@omnia/fx/bootstrapper.js","buildMeta":{"exportsType":"namespace"},"expo.js":[]},"./node_modules/@omnia/fx/index.js":{"id":"14a8d443-2e58-450b-a462-258bdaf69b49","buildMeta":{"exportsType":"namespace"},"expo.js":["ApiHelper","AppRoutePropertyBagFactory","AuthenticationSessionService","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","LocalizationServiceProviders","Localize","MD5Util","ManifestResourceLoader","MessageBus","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","ObjectMerger","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","UserTypeStore","Utils","WebComponentBootstrapper","WebUtils","createEventHook","createVueApp","defineFactory","defineInjectable","defineService","extendApi","getVueMixins","getVueOptionsHooks","getVuePlugins","injectByTypeId","isInjectable","mergeLocaliation","omniaScriptApi","propertyPath","propertyPathValue","registerApi","registerInjectResolver","registerVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AiSettingsStore","AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BaseProviderImageHandler","BaseProviderVideoHandler","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","ConnectedTenantStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","ImageCropperByRatioHandler","ImageCropperUtils","ImageFilterHandler","ImageFlipHandler","ImageGalleryHandler","ImageRotateHandler","KEEP_ORIGINAL_SIZE_OPTION_VALUE","LinkReferencesStore","MSTeamsStore","MediaFileProcessor","MediaPickerImageHandler","MediaPickerStore","MediaPickerUtils","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","TuiImgScaleQuality","UserIdentityStore","UserTargetingStore","UserTypeIdentityPickerStore","UserTypeIdentityStore","UserTypeStore","VersionedLayoutStore","VideoGalleryHandler","defineStore","getMediaProviderEditor","getTuiImageRendition","onApplyStyle","updateTransformedImageBase64","useCommandStore","useCompontentHostStore","useCompontentSharedSettingsStore","useFlowEditorPluginStore","useFlowEditorToolbarStateStore","useGalleryStore","useLocalizationStore","useMediaPickerCommonStore","useMediaPickerImageTransformerStore","useMediaPickerStorageProviderContext","useProfileCardHandlerStore","useProviderStore","useSizeContainerStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["createVueApp","getVueMixins","getVueOptionsHooks","getVuePlugins","registerVueComponent","registerVueMixin","registerVueOptionsHook","registerVuePlugin","resolveAsyncVueComponent","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AIEngineSetupService","AiSettingsService","AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdGroupService","AzureAdUserService","AzureOpenAIService","BusinessProfilePropertyBindingProvider","BusinessProfileService","ConnectedTenantService","DataSourcePropertiesService","DataSourcePropertyDefinitionHandler","DynamicGroupService","DynamicPropertyDataSource","EnterpriseGlossaryService","EnterprisePropertiesProvider","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtendedEnterprisePropertiesPropertyBindingProvider","ExtensionsService","FeatureService","FileStorageService","GroupIdentityService","GroupService","IdentityAuthenticationService","IdentityCreationRequestService","IdentityPropertyBindingProvider","IdentitySelfServiceService","IdentityService","IdentitySyncProviderService","ImageProxyService","LinkStatusService","LocalizationService","LoginLogService","ManifestService","MediaPickerService","MicrosoftStreamService","OmniaSearchService","OmniaSearchUserService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","PropertyBindingService","PropertyDataSourceBase","QueryablePropertiesService","QueueService","ReindexOmniaSearchUserService","SecretsService","SecurityRoles","SecurityService","SemanticSearchService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TestDataSourcePropertiesService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserPropertyBindingProvider","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService","WriteBackStatus","defineService","themeService"]}}}
@@ -0,0 +1,23 @@
1
+ import { ResolvedUserType, UserTypeLayoutMode, VersionedLayoutId } from "../models";
2
+ export declare const useProfileCardHandlerStore: () => {
3
+ get: {
4
+ readonly getLayoutMode: UserTypeLayoutMode;
5
+ readonly isUsingProfileCard: boolean;
6
+ isInProfileCard: (id: VersionedLayoutId) => boolean;
7
+ };
8
+ events: import("./DefineStore").StoreEvents<{
9
+ userTypes: ResolvedUserType;
10
+ initPromise: Promise<void>;
11
+ mode: UserTypeLayoutMode;
12
+ isUsingProfileCard: boolean;
13
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
14
+ actions: import("./DefineStore").StoreReturnDefineAction<{
15
+ setMode: (mode: UserTypeLayoutMode) => void;
16
+ switchMode: () => void;
17
+ useProfileCard: () => void;
18
+ stopUsingProfileCard: () => void;
19
+ initStore: () => Promise<void>;
20
+ }>;
21
+ } & {
22
+ dispose?: () => void;
23
+ };
@@ -48,3 +48,4 @@ export * from "./UserTypeIdentityStore";
48
48
  export * from "./mediapicker";
49
49
  export * from "./floweditor";
50
50
  export * from "./CommandPaletteStore";
51
+ export * from "./ProfileCardHandlerStore";
@@ -12,7 +12,7 @@ export type DefineType<T> = T;
12
12
  export type DefineSlot<TName extends string, TType extends Function, Description extends string = ""> = {
13
13
  [K in BuildSlotName<TName>]?: TType;
14
14
  };
15
- export type DefineExpose<TType extends Record<string, any>, Description extends string = ""> = {
15
+ export type DefineRef<TType extends Record<string, any>, Description extends string = ""> = {
16
16
  ref?: TType;
17
17
  };
18
18
  export type DefineEmit<TName extends string, TType extends Function, Description extends string = ""> = {
@@ -76,4 +76,4 @@ export { FocusDirective, LinkHandlerDirective } from "./directives";
76
76
  export { VueComponentBase, VueComponentConnect, getVuetifyAppClasses } from "./VueComponentBase";
77
77
  export type { VueComponentBaseEvents, VueComponentBaseProps } from "./VueComponentBase";
78
78
  export { createVueNode, definePropFunctionType, definePropObjectType, defineVue, defineVueComponent, getElementName, isElement, type VNodeEvents, type SetupComponentContext, type ExtractProps, type ExtractEmits, type ExtractSlots, type ConstructComponentProps, type ExtractVModels } from "./InternalDefineComponent";
79
- export { type DefineEmit, type DefineProp, type DefineExpose, type DefinePropTheming, type DefineSlot, type DefineType, type DefineVModel, type ItemType, type SelectItemKey, type ItemValueType } from "./DefineVueTypings";
79
+ export { type DefineEmit, type DefineProp, type DefineRef, type DefinePropTheming, type DefineSlot, type DefineType, type DefineVModel, type ItemType, type SelectItemKey, type ItemValueType } from "./DefineVueTypings";
@@ -302,20 +302,9 @@ export declare function getElementName(componentManifestId: guid): string;
302
302
  export declare function createVueNode(element: VNodeTypes | guid, props?: RawProps, children?: RawChildren | RawSlots): VNode;
303
303
  export declare function internalDVCByFS(injectOptions: any, options: any, extraOptions: any, register: any): (props: ExtractProps<Record<string, any>> & {} & SlotsToProps<ExtractSlotsFromProps<Record<string, any>>> & ExtractRefFromProps<Record<string, any>> & Omit<VueComponentBaseProps, string> & VNodeEvents) => any;
304
304
  export declare function isElement<TElement = typeof omfx>(element: string, cb: (elements: TElement) => any): boolean;
305
- declare module "@vue/runtime-dom" {
305
+ declare module "vue" {
306
306
  interface HTMLAttributes {
307
- $children?: any;
308
- }
309
- interface SVGAttributes {
310
- $children?: any;
311
- }
312
- }
313
- declare global {
314
- namespace JSX {
315
- interface IntrinsicAttributes {
316
- $children?: any;
317
- "v-directives"?: (d: Directives) => any;
318
- }
307
+ "v-directives"?: (d: Directives) => any;
319
308
  }
320
309
  }
321
310
  export {};
@@ -1,7 +1,7 @@
1
1
  import { Events, HTMLAttributes, VNode, VNodeArrayChildren, VNodeProps, VNodeRef } from "vue";
2
2
  import { Vue } from "./decorators";
3
3
  import * as models from "../models";
4
- import { guid } from "../models";
4
+ import { Directives, guid } from "../models";
5
5
  import { ConfirmDialogOptions, ConfirmDialogResponse } from "./confirmdialog/IVueConfirmDialog";
6
6
  import { ITheming } from "./theming";
7
7
  type VuetifyThemeItem = string | number | {
@@ -122,6 +122,7 @@ export type VueComponentBaseProps = Pick<HTMLAttributes, "id" | "class" | "style
122
122
  $children?: any;
123
123
  ref?: VNodeRef | string;
124
124
  slot?: string;
125
+ "v-directives"?: (d: Directives) => any;
125
126
  };
126
127
  export interface VueComponentBaseEvents {
127
128
  }
@@ -0,0 +1,17 @@
1
+ import { RecurrenceSettings } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ "emit:update:modelValue": (value: RecurrenceSettings) => void;
4
+ } & {
5
+ "v-model"?: RecurrenceSettings;
6
+ } & {
7
+ modelValue?: RecurrenceSettings;
8
+ } & {
9
+ variant?: string;
10
+ }> & {
11
+ "onUpdate:modelValue"?: (value: RecurrenceSettings) => any;
12
+ } & {
13
+ "v-slots"?: {} & Omit<{
14
+ default?: import("vue").Slot;
15
+ }, never>;
16
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "modelValue" | "v-model" | "emit:update:modelValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
17
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { RecurrenceSettings } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ value?: RecurrenceSettings;
4
+ }> & {} & {
5
+ "v-slots"?: {} & Omit<{
6
+ default?: import("vue").Slot;
7
+ }, never>;
8
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "value"> & import("@omnia/fx/ux").VNodeEvents) => any;
9
+ export default _default;
@@ -0,0 +1,56 @@
1
+ export declare namespace RecurrenceLocalization {
2
+ const namespace = "Omnia.Admin.Recurrence";
3
+ interface locInterface {
4
+ Daily: string;
5
+ Weekly: string;
6
+ Monthly: string;
7
+ Never: string;
8
+ Title: string;
9
+ Description: string;
10
+ FeedbackEmail: string;
11
+ Levels: string;
12
+ WeakLevelPercentage: string;
13
+ GoodLevelPercentage: string;
14
+ EveryWeekday: string;
15
+ Every: string;
16
+ Days: string;
17
+ Weeks: string;
18
+ Months: string;
19
+ DayOfWeeks: {
20
+ Monday: string;
21
+ Tuesday: string;
22
+ Wednesday: string;
23
+ Thursday: string;
24
+ Friday: string;
25
+ Saturday: string;
26
+ Sunday: string;
27
+ Day: string;
28
+ Weekday: string;
29
+ WeekendDay: string;
30
+ };
31
+ Day: string;
32
+ OfEvery: string;
33
+ The: string;
34
+ WeekOfMonth: {
35
+ First: string;
36
+ Second: string;
37
+ Third: string;
38
+ Fourth: string;
39
+ Last: string;
40
+ };
41
+ StartDate: string;
42
+ NoEndDate: string;
43
+ EndBy: string;
44
+ InvalidWeeklyErrorMessage: string;
45
+ RecurrenceSetting: string;
46
+ NotSet: string;
47
+ RecurringInfo: {
48
+ EveryDay: string;
49
+ EveryWeekday: string;
50
+ EveryWeek: string;
51
+ DayOfMonth: string;
52
+ WeekDayOfMonth: string;
53
+ PleaseSelectRecurrence: string;
54
+ };
55
+ }
56
+ }
@@ -177,6 +177,7 @@ export declare namespace UserManagementLocalization {
177
177
  General: string;
178
178
  Properties: string;
179
179
  Authentication: string;
180
+ UserProfileCompletion: string;
180
181
  };
181
182
  FormProperties: {
182
183
  Request: string;
@@ -353,5 +354,70 @@ export declare namespace UserManagementLocalization {
353
354
  TotalDeletedUsersErrors: string;
354
355
  };
355
356
  };
357
+ ProfileCompletion: {
358
+ Table: {
359
+ Name: string;
360
+ DataSource: string;
361
+ CompletenessImpact: string;
362
+ };
363
+ Error: {
364
+ DuplicateError: string;
365
+ };
366
+ Titles: {
367
+ ProfileCompletionAdmin: string;
368
+ GeneralTabTitle: string;
369
+ MappingTabTitle: string;
370
+ AddProperty: string;
371
+ EditProperty: string;
372
+ ScheduleTitle: string;
373
+ };
374
+ Buttons: {
375
+ Update: string;
376
+ AddSection: string;
377
+ AddPropertyMapping: string;
378
+ AddProperty: string;
379
+ };
380
+ MappingSetting: {
381
+ Section: string;
382
+ };
383
+ Section: {
384
+ Property: string;
385
+ Name: string;
386
+ Description: string;
387
+ };
388
+ PropertyMapping: {
389
+ SourceType: string;
390
+ Type: string;
391
+ Property: string;
392
+ Label: string;
393
+ CompletenessImpact: string;
394
+ ReadyOnly: string;
395
+ Multiple: string;
396
+ AllowFeedback: string;
397
+ CustomTarget: string;
398
+ CustomTargetUrl: string;
399
+ DeleteUserProfileCompletionSectionConfirmation: string;
400
+ Confirmation: string;
401
+ DisplayTypes: {
402
+ ProfilePicture: string;
403
+ Text: string;
404
+ MultilineText: string;
405
+ HtmlText: string;
406
+ TermSet: string;
407
+ Person: string;
408
+ };
409
+ CompletenessImpacts: {
410
+ High: string;
411
+ Medium: string;
412
+ Low: string;
413
+ None: string;
414
+ };
415
+ SourceTypes: {
416
+ SPUserProfile: string;
417
+ AzureAD: string;
418
+ OmniaSystemLanguage: string;
419
+ };
420
+ };
421
+ };
356
422
  }
357
423
  }
@@ -38,6 +38,7 @@ export declare const UserManagementBladeIds: {
38
38
  detailGeneral: guid;
39
39
  detailAuthentication: guid;
40
40
  detailProperties: guid;
41
+ detailUserProfileCompletion: guid;
41
42
  };
42
43
  userproperties: {
43
44
  listing: guid;
@@ -0,0 +1,15 @@
1
+ import { ProfileCompletionSetting } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ "emit:update:modelValue": (value: ProfileCompletionSetting) => void;
4
+ } & {
5
+ "v-model"?: ProfileCompletionSetting;
6
+ } & {
7
+ modelValue?: ProfileCompletionSetting;
8
+ }> & {
9
+ "onUpdate:modelValue"?: (value: ProfileCompletionSetting) => any;
10
+ } & {
11
+ "v-slots"?: {} & Omit<{
12
+ default?: import("vue").Slot;
13
+ }, never>;
14
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "v-model" | "emit:update:modelValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
15
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { CompletionImpactType, ProfileCompletionSetting } from "@omnia/fx-models";
2
+ export declare const DefaultProfileCompletionSettingFactory: {
3
+ create(): ProfileCompletionSetting;
4
+ };
5
+ export declare const CompletionImpactTypeFactory: {
6
+ readonly completenessImpacts: {
7
+ 3: string;
8
+ 2: string;
9
+ 1: string;
10
+ };
11
+ readonly toList: {
12
+ id: CompletionImpactType;
13
+ value: string;
14
+ }[];
15
+ };
@@ -113,6 +113,7 @@ export declare class AppManagementInstanceApi implements IAppManagementInstanceA
113
113
  notification: import("@omnia/fx-models").FontAwesomeIcon;
114
114
  organization: import("@omnia/fx-models").FontAwesomeIcon;
115
115
  pageInformation: import("@omnia/fx-models").FontAwesomeIcon;
116
+ padding: import("@omnia/fx-models").FontAwesomeIcon;
116
117
  paste: import("@omnia/fx-models").FontAwesomeIcon;
117
118
  picker: import("@omnia/fx-models").FontAwesomeIcon;
118
119
  penClip: import("@omnia/fx-models").FontAwesomeIcon;
@@ -1,8 +1,8 @@
1
1
  import { LayoutRendererCanvasApi } from "@omnia/fx/models";
2
- import { DefineExpose, DefineProp } from "@omnia/fx/ux";
2
+ import { DefineRef, DefineProp } from "@omnia/fx/ux";
3
3
  import { LayoutCanvasStore } from "../";
4
4
  import "./LayoutRendererCanvas.stylex";
5
- type Props = DefineProp<"designRender", boolean, false, null> & DefineProp<"getApi", (inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void, false, null> & DefineExpose<LayoutRendererCanvasApi> & DefineProp<"height", string, false, null> & DefineProp<"provider", string, false, null> & DefineProp<"disableScrollCompensation", boolean, false, false> & DefineProp<"noScroll", boolean, false, false>;
5
+ type Props = DefineProp<"designRender", boolean, false, null> & DefineProp<"getApi", (inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void, false, null> & DefineRef<LayoutRendererCanvasApi> & DefineProp<"height", string, false, null> & DefineProp<"provider", string, false, null> & DefineProp<"disableScrollCompensation", boolean, false, false> & DefineProp<"noScroll", boolean, false, false>;
6
6
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
7
7
  "v-slots"?: {} & Omit<{
8
8
  default?: import("vue").Slot;
@@ -0,0 +1,8 @@
1
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
2
+ isMobileMode?: boolean;
3
+ }> & {} & {
4
+ "v-slots"?: {} & Omit<{
5
+ default?: import("vue").Slot;
6
+ }, never>;
7
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "isMobileMode"> & import("@omnia/fx/ux").VNodeEvents) => any;
8
+ export default _default;
@@ -10,5 +10,7 @@ export declare namespace ProfileCardLocalization {
10
10
  goToMySite: string;
11
11
  mySubscriptions: string;
12
12
  EditMyProfile: string;
13
+ SwitchToPublicView: string;
14
+ SwitchToPrivateView: string;
13
15
  }
14
16
  }
@@ -1,5 +1,6 @@
1
1
  import { DataSourceProperty, guid, PropertyConfiguration, PropertyDefinition } from "@omnia/fx-models";
2
2
  import { DataSourcePropertyDefintionHandlerId } from "../../../services";
3
+ import { CompletionImpactType } from "@omnia/fx-models";
3
4
  export interface IDataSourcePropertySelection {
4
5
  dataSourceProperty: DataSourceProperty;
5
6
  selectedConverter: DataSourcePropertyDefintionHandlerId;
@@ -18,3 +19,7 @@ export interface IPropertyPicker {
18
19
  selectablePropertyConverters?: Array<guid>;
19
20
  hideLabelIfSingleSource?: boolean;
20
21
  }
22
+ export interface PropertySelection extends IDataSourcePropertySelection {
23
+ id?: string;
24
+ completionImpactType: CompletionImpactType;
25
+ }
@@ -386,9 +386,9 @@ declare const _default: {
386
386
  hideDetails?: boolean;
387
387
  "v-model"?: PropertyRegistration;
388
388
  hideConfiguration?: boolean;
389
+ propertyRegistrations?: PropertyRegistration[];
389
390
  loadingProperties?: boolean;
390
391
  propertyCreator?: IDataSourcePropertyCreator;
391
- propertyRegistrations?: PropertyRegistration[];
392
392
  }>, "onUpdate:modelValue" | "onDoc$"> & {
393
393
  "onUpdate:modelValue"?: (model: PropertyRegistration) => any;
394
394
  onDoc$?: (description?: string) => any;
@@ -1,175 +1,10 @@
1
- import { guid, PropertyDefinition } from "@omnia/fx-models";
2
- import { IDataSourcePropertySelection } from "@omnia/fx/ux";
3
- declare const _default: {
4
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
- onDataSourcePropertySelected: {
6
- type: import("vue").PropType<(selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>>;
7
- };
8
- hideLabelIfSingleSource: {
9
- type: import("vue").PropType<boolean>;
10
- required: false;
11
- };
12
- selectablePropertyConverters: {
13
- type: import("vue").PropType<guid[]>;
14
- required: false;
15
- };
16
- selectableProperties: {
17
- type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
18
- required: false;
19
- };
20
- selectableDataSources: {
21
- type: import("vue").PropType<guid[]>;
22
- required: false;
23
- };
24
- selectionProperty: {
25
- type: import("vue").PropType<IDataSourcePropertySelection>;
26
- required: false;
27
- };
28
- resetAfterSelected: {
29
- type: import("vue").PropType<boolean>;
30
- required: false;
31
- };
32
- hideConfiguration: {
33
- type: import("vue").PropType<boolean>;
34
- required: false;
35
- };
36
- hideDetails: {
37
- type: import("vue").PropType<boolean>;
38
- required: false;
39
- };
40
- multiple: {
41
- type: import("vue").PropType<boolean>;
42
- required: false;
43
- };
44
- disabled: {
45
- type: import("vue").PropType<boolean>;
46
- required: false;
47
- };
48
- filled: {
49
- type: import("vue").PropType<boolean>;
50
- required: false;
51
- };
52
- }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
53
- P: {};
54
- B: {};
55
- D: {};
56
- C: {};
57
- M: {};
58
- Defaults: {};
59
- }, Readonly<import("vue").ExtractPropTypes<{
60
- onDataSourcePropertySelected: {
61
- type: import("vue").PropType<(selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>>;
62
- };
63
- hideLabelIfSingleSource: {
64
- type: import("vue").PropType<boolean>;
65
- required: false;
66
- };
67
- selectablePropertyConverters: {
68
- type: import("vue").PropType<guid[]>;
69
- required: false;
70
- };
71
- selectableProperties: {
72
- type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
73
- required: false;
74
- };
75
- selectableDataSources: {
76
- type: import("vue").PropType<guid[]>;
77
- required: false;
78
- };
79
- selectionProperty: {
80
- type: import("vue").PropType<IDataSourcePropertySelection>;
81
- required: false;
82
- };
83
- resetAfterSelected: {
84
- type: import("vue").PropType<boolean>;
85
- required: false;
86
- };
87
- hideConfiguration: {
88
- type: import("vue").PropType<boolean>;
89
- required: false;
90
- };
91
- hideDetails: {
92
- type: import("vue").PropType<boolean>;
93
- required: false;
94
- };
95
- multiple: {
96
- type: import("vue").PropType<boolean>;
97
- required: false;
98
- };
99
- disabled: {
100
- type: import("vue").PropType<boolean>;
101
- required: false;
102
- };
103
- filled: {
104
- type: import("vue").PropType<boolean>;
105
- required: false;
106
- };
107
- }>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
108
- __isFragment?: never;
109
- __isTeleport?: never;
110
- __isSuspense?: never;
111
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
112
- onDataSourcePropertySelected: {
113
- type: import("vue").PropType<(selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>>;
114
- };
115
- hideLabelIfSingleSource: {
116
- type: import("vue").PropType<boolean>;
117
- required: false;
118
- };
119
- selectablePropertyConverters: {
120
- type: import("vue").PropType<guid[]>;
121
- required: false;
122
- };
123
- selectableProperties: {
124
- type: import("vue").PropType<guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[]>;
125
- required: false;
126
- };
127
- selectableDataSources: {
128
- type: import("vue").PropType<guid[]>;
129
- required: false;
130
- };
131
- selectionProperty: {
132
- type: import("vue").PropType<IDataSourcePropertySelection>;
133
- required: false;
134
- };
135
- resetAfterSelected: {
136
- type: import("vue").PropType<boolean>;
137
- required: false;
138
- };
139
- hideConfiguration: {
140
- type: import("vue").PropType<boolean>;
141
- required: false;
142
- };
143
- hideDetails: {
144
- type: import("vue").PropType<boolean>;
145
- required: false;
146
- };
147
- multiple: {
148
- type: import("vue").PropType<boolean>;
149
- required: false;
150
- };
151
- disabled: {
152
- type: import("vue").PropType<boolean>;
153
- required: false;
154
- };
155
- filled: {
156
- type: import("vue").PropType<boolean>;
157
- required: false;
158
- };
159
- }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
160
- propsDefinition: Omit<Readonly<{} & {
161
- filled?: boolean;
162
- multiple?: boolean;
163
- disabled?: boolean;
164
- hideDetails?: boolean;
165
- hideConfiguration?: boolean;
166
- resetAfterSelected?: boolean;
167
- selectionProperty?: IDataSourcePropertySelection;
168
- selectableDataSources?: guid[];
169
- selectableProperties?: guid[] | PropertyDefinition<any, any, any, import("@omnia/fx-models").PropertySetupBase>[];
170
- selectablePropertyConverters?: guid[];
171
- hideLabelIfSingleSource?: boolean;
172
- onDataSourcePropertySelected?: (selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>;
173
- }>, never>;
174
- };
1
+ import { guid, PropertyDefinition, PropertyDefinitionId } from "@omnia/fx-models";
2
+ import { IDataSourcePropertySelection, DefineProp } from "@omnia/fx/ux";
3
+ declare const emptyArray: any[];
4
+ type DataSourcePropertySelectionProp = DefineProp<"filled", boolean> & DefineProp<"disabled", boolean> & DefineProp<"multiple", boolean> & DefineProp<"hideDetails", boolean> & DefineProp<"hideConfiguration", boolean> & DefineProp<"resetAfterSelected", boolean> & DefineProp<"selectionProperty", IDataSourcePropertySelection> & DefineProp<"selectableDataSources", Array<guid>, false, typeof emptyArray> & DefineProp<"selectableProperties", Array<PropertyDefinition<any, any, any>> | Array<PropertyDefinitionId>, false, typeof emptyArray> & DefineProp<"selectablePropertyConverters", Array<guid>, false, typeof emptyArray> & DefineProp<"hideLabelIfSingleSource", boolean> & DefineProp<"onDataSourcePropertySelected", (selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise<void>> & DefineProp<"hideConverter", boolean>;
5
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DataSourcePropertySelectionProp> & {} & {
6
+ "v-slots"?: {} & Omit<{
7
+ default?: import("vue").Slot;
8
+ }, never>;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filled" | "multiple" | "disabled" | "hideDetails" | "hideConfiguration" | "resetAfterSelected" | "selectionProperty" | "selectableDataSources" | "selectableProperties" | "selectablePropertyConverters" | "hideLabelIfSingleSource" | "onDataSourcePropertySelected" | "hideConverter"> & import("@omnia/fx/ux").VNodeEvents) => any;
175
10
  export default _default;
@@ -84,6 +84,7 @@ export declare function useIcons(): {
84
84
  notification: FontAwesomeIcon;
85
85
  organization: FontAwesomeIcon;
86
86
  pageInformation: FontAwesomeIcon;
87
+ padding: FontAwesomeIcon;
87
88
  paste: FontAwesomeIcon;
88
89
  picker: FontAwesomeIcon;
89
90
  penClip: FontAwesomeIcon;
@@ -467,9 +467,9 @@ declare const _default: {
467
467
  "onUpdate:modelValue"?: (value: boolean) => any | void;
468
468
  colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
469
469
  "v-model"?: boolean;
470
- allowEdit?: boolean;
471
470
  categoryFilters?: guid[];
472
471
  renderTypeFilters?: guid[];
472
+ allowEdit?: boolean;
473
473
  previewState?: VelcronState;
474
474
  exclusions?: guid[];
475
475
  allowBuiltIn?: boolean;
@@ -133,6 +133,7 @@ export declare class VersionedLayoutDefinitionEditorItem implements IEditorItem
133
133
  notification: import("@omnia/fx-models").FontAwesomeIcon;
134
134
  organization: import("@omnia/fx-models").FontAwesomeIcon;
135
135
  pageInformation: import("@omnia/fx-models").FontAwesomeIcon;
136
+ padding: import("@omnia/fx-models").FontAwesomeIcon;
136
137
  paste: import("@omnia/fx-models").FontAwesomeIcon;
137
138
  picker: import("@omnia/fx-models").FontAwesomeIcon;
138
139
  penClip: import("@omnia/fx-models").FontAwesomeIcon;
@@ -93,6 +93,7 @@ import wc1a58948a606a42078da3fb919cc4f7e6 from './ux/presetupwizard/PreSetupWiza
93
93
  import wc6489472fd8d24a1b9413537fde528566 from './ux/profilecard/ProfileCard';
94
94
  import wc3c421adf849a4f8abc88b667ceb5d374 from './ux/profilecard/ProfileCardDialog';
95
95
  import wc6d1d84cb210643c59ca8437fc36c75a1 from './ux/profilecard/ProfileCardRenderer';
96
+ import wc6b7b970b284443abb7a86f0afa4462e3 from './ux/profilecard/ProfileSwitchingBtn';
96
97
  import wc091ee9b103234b26a5e2bd5f992b2582 from './ux/properties/property-picker/PropertyPicker';
97
98
  import wcf36a8a2b1c70423ebc4647aaddab8f4f from './ux/properties/property-renderer/PropertyBindingValueRenderer';
98
99
  import wc48e897be803c4b5cb1db09dbadd04fe5 from './ux/properties/property-renderer/PropertyValueRenderer';
@@ -155,6 +156,8 @@ import wcbc947f375ee34d2a98e2d431f2e45b62 from './ux/admin/chrome/AdminChromeWra
155
156
  import wc253e469ef68e4cb5b526343736c2ff11 from './ux/admin/chrome/AdminChrome';
156
157
  import wc759fc5cd65954caaaaf142223a054ea5 from './ux/admin/queryableproperties/QueryablePropertiesJourney';
157
158
  import wcf74692483c39443d969714abc70bb73c from './ux/admin/recaptcha/ReCaptcha';
159
+ import wcae460b0a3c984c8389e9c8fbfddd9b3a from './ux/admin/recurrence/RecurrenceSetting';
160
+ import wc5c952928b894442594436f38b5875075 from './ux/admin/recurrence/RecurrenceSettingStatus';
158
161
  import wc1d60e6da39df4458b6213b4d64bf2843 from './ux/admin/secrets/TenantSecretsJourney';
159
162
  import wcb52c92f655744e1da37fca6159c9eb1d from './ux/admin/secrets/BusinessProfileSecretsJourney';
160
163
  import wc64414dbb034543c89572b254ef41aae7 from './ux/admin/security/AdminJourney';
@@ -1986,6 +1989,15 @@ declare global {
1986
1989
  $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1987
1990
  };
1988
1991
  } : typeof wc6489472fd8d24a1b9413537fde528566;
1992
+ "profileswitch": {
1993
+ "btn": typeof wc6b7b970b284443abb7a86f0afa4462e3 extends {
1994
+ propsDefinition: infer TProp;
1995
+ } ? {
1996
+ new (...args: any[]): {
1997
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
1998
+ };
1999
+ } : typeof wc6b7b970b284443abb7a86f0afa4462e3;
2000
+ };
1989
2001
  "datasource": {
1990
2002
  "property": {
1991
2003
  "picker": typeof wc091ee9b103234b26a5e2bd5f992b2582 extends {
@@ -4254,6 +4266,22 @@ declare global {
4254
4266
  };
4255
4267
  } : typeof wcf74692483c39443d969714abc70bb73c;
4256
4268
  };
4269
+ "recurrence": {
4270
+ "setting": typeof wcae460b0a3c984c8389e9c8fbfddd9b3a extends {
4271
+ propsDefinition: infer TProp;
4272
+ } ? {
4273
+ new (...args: any[]): {
4274
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
4275
+ };
4276
+ } : typeof wcae460b0a3c984c8389e9c8fbfddd9b3a;
4277
+ "status": typeof wc5c952928b894442594436f38b5875075 extends {
4278
+ propsDefinition: infer TProp;
4279
+ } ? {
4280
+ new (...args: any[]): {
4281
+ $props: TProp & Omit<VueComponentBaseProps, keyof TProp>;
4282
+ };
4283
+ } : typeof wc5c952928b894442594436f38b5875075;
4284
+ };
4257
4285
  "tenant": {
4258
4286
  "secrets": {
4259
4287
  "journey": typeof wc1d60e6da39df4458b6213b4d64bf2843 extends {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.361-dev",
4
+ "version": "8.0.363-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.361-dev",
23
+ "@omnia/fx-models": "8.0.363-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
package/postinstall.js CHANGED
@@ -2,8 +2,8 @@
2
2
  const fs = require('fs');
3
3
  const path = require('path');
4
4
 
5
- const srcPath = path.join(process.cwd(), "types/jsx.d.ts");
6
- const destPath = path.join(process.cwd(), "../../vue/jsx.d.ts");
5
+ const srcPath = path.join(process.cwd(), "types/index.d.ts");
6
+ const destPath = path.join(process.cwd(), "../../vue/jsx-runtime/index.d.ts");
7
7
 
8
8
  if (fs.existsSync(destPath)) {
9
9
  fs.copyFileSync(srcPath, destPath);
@@ -0,0 +1,25 @@
1
+ /* eslint-disable @typescript-eslint/prefer-ts-expect-error */
2
+ import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
3
+
4
+ /**
5
+ * JSX namespace for usage with @jsxImportsSource directive
6
+ * when ts compilerOptions.jsx is 'react-jsx' or 'react-jsxdev'
7
+ * https://www.typescriptlang.org/tsconfig#jsxImportSource
8
+ */
9
+ export { h as jsx, h as jsxDEV, Fragment } from '@vue/runtime-dom'
10
+
11
+ export namespace JSX {
12
+ export interface Element extends VNode {}
13
+ export interface ElementClass {
14
+ $props: {}
15
+ }
16
+ export interface ElementAttributesProperty {
17
+ $props: {}
18
+ }
19
+ export interface IntrinsicElements extends NativeElements {
20
+ // allow arbitrary elements
21
+ // @ts-ignore suppress ts:2374 = Duplicate string index signature.
22
+ [name: string]: any
23
+ }
24
+ export interface IntrinsicAttributes extends Omit<ReservedProps, "ref"> {}
25
+ }
package/types/jsx.d.ts DELETED
@@ -1,22 +0,0 @@
1
- /* eslint-disable @typescript-eslint/prefer-ts-expect-error */
2
- // global JSX namespace registration
3
- // somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
4
- import type { NativeElements, ReservedProps, VNode } from '@vue/runtime-dom'
5
-
6
- declare global {
7
- namespace JSX {
8
- export interface Element extends VNode {}
9
- export interface ElementClass {
10
- $props: {}
11
- }
12
- export interface ElementAttributesProperty {
13
- $props: {}
14
- }
15
- export interface IntrinsicElements extends NativeElements {
16
- // allow arbitrary elements
17
- // @ts-ignore suppress ts:2374 = Duplicate string index signature.
18
- [name: string]: any
19
- }
20
- export interface IntrinsicAttributes extends Omit<ReservedProps, "ref"> {}
21
- }
22
- }