@omnia/fx 7.0.385-dev → 7.0.387-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.
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/filterengine/Helper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditor.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditorExtensionHelper.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagConfiguration.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagEditorExtension.d.ts +5 -2
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagNode.d.ts +4 -12
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagToolbar.d.ts +6 -7
- package/internal-do-not-import-from-here/ux/tag/HashTagList.d.ts +30 -0
- package/internal-do-not-import-from-here/ux/tag/IHashTagList.d.ts +24 -0
- package/internal-do-not-import-from-here/ux/tag/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/validation/FieldValidation.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/validation/IFieldValidation.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/vuetify/VuetifyCore.d.ts +1 -0
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +2 -2
|
@@ -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","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","CurrentDisplayUserContext","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","DirectionRuleStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeStore","VersionedLayoutStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdUserService","BusinessProfileService","DynamicGroupService","EnterpriseGlossaryService","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtensionsService","FileStorageService","GroupIdentityService","GroupService","IdentityService","IdentitySyncProviderService","ImageProxyService","LocalizationService","ManifestService","MediaPickerService","MicrosoftStreamService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","QueryablePropertiesService","QueueService","RealtimeService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService"]}}}
|
|
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","BusinessProfilePathPropertyBagFactory","BusinessProfilePropertyBagFactory","Console","ConsoleUIService","ContextProviderCollection","Cookies","CurrentDisplayUserContext","DisplayRules","Encoder","EnterprisePropertyHandler","ErrorBus","Extend","GraphClient","HttpClient","HttpContextProviderCollection","IAppRouteFactory","IBusinessProfileFactory","ITenantFactory","ImageProxyService","Inject","Injectable","LocalStorage","Localize","MD5Util","ManifestResourceLoader","MessageBusExposeOnlyPublication","MessageBusExposeOnlySubscription","MessageBusTopicMediator","MigrationUtils","NamedPropertyOperationsFactory","OmniaContext","OmniaContextProvider","OmniaPropertyBagBase","Provide","ReplaceToken","Require","ScrollPagingUtils","ServiceContainer","ServiceContainerContext","ServiceLocator","ServiceManifestProvider","SubscriptionHandler","TenantPropertyBagFactory","TokenService","Topics","UserAgentUtils","UserPropertyBagFactory","Utils","VueWebComponentSlot","WebComponentBootstrapper","WebUtils","extendApi","install","isInjectable","omniaScriptApi","propertyPath","propertyPathValue","registerApi","setCurrentManifest","useInject","useLocalize","useOmniaClient","useProvide","vueCustomElement"]},"./node_modules/@omnia/fx/stores/index.js":{"id":"5e618f4d-d014-414e-a681-89e34cbeda0f","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyStore","AppStore","AuditLogStore","AzureAdUserStore","BlockTitleGlobalSettingsStore","BlockTitleSettingsStore","BusinessProfileStore","ClipboardStore","CommentLikeStore","DirectionRuleStore","DynamicGroupStore","EnterpriseGlossaryStore","EnterprisePropertyCategoryStore","EnterprisePropertySetStore","EnterprisePropertyStore","ExtensionStore","FeatureStore","FileUploaderStore","GroupIdentityStore","IdentityStore","IdentitySyncProviderStore","LocalizationStore","MSTeamsStore","MediaPickerStore","MultilingualStore","OrganizationTreeStore","PostStore","ProfileCardStore","PromotedTagStore","SiteStore","Store","StoreAction","StoreLogTypes","StoreLogger","StoreMutation","StoreState","SystemLogStore","TargetingPropertyStore","TimeZoneStore","TokenStatus","TokenStore","UserIdentityStore","UserTargetingStore","UserTypeStore","VersionedLayoutStore"]},"./node_modules/@omnia/fx/vue/index.js":{"id":"c041fe9f-1e14-443d-9407-5aa8829fbc21","buildMeta":{"exportsType":"namespace"},"expo.js":["Localize","VueWebComponentSlot","install","useLocalize","vueCustomElement"]},"./node_modules/@omnia/fx/services/index.js":{"id":"e25b9dd8-6dd7-4437-8ddd-0b9fadba73ac","buildMeta":{"exportsType":"namespace"},"expo.js":["AppNamingPolicyService","AppRouteService","AppService","AuditLogService","AzureAdUserService","BusinessProfileService","DynamicGroupService","EnterpriseGlossaryService","EnterprisePropertyCategoryService","EnterprisePropertySetService","ExtensionsService","FileStorageService","GroupIdentityService","GroupService","IdentityService","IdentitySyncProviderService","ImageProxyService","LocalizationService","ManifestService","MediaPickerService","MicrosoftStreamService","OrganizationTreeService","PermissionNode","PermissionService","PostService","ProfileCardService","QueryablePropertiesService","QueueService","RealtimeService","SecretsService","SecurityRoles","SecurityService","SettingsService","SiteService","TagsService","TargetingPropertyService","TenantContactService","TenantPreSetupService","TimeZoneService","TranslationService","UserIdentityService","UserPresenceStatus","UserService","UserTypeService","VersionedDataService","VersionedLayoutService","WebImageService"]}}}
|
|
@@ -54,6 +54,7 @@ export * from "./filepicker";
|
|
|
54
54
|
export * from "./filepickerprovider/mycomputerprovider";
|
|
55
55
|
export * from "./filterengine";
|
|
56
56
|
export * from "./use";
|
|
57
|
+
export * from "./tag";
|
|
57
58
|
export * from "./TokenBasedRouter";
|
|
58
59
|
export * from "./StyleFlow";
|
|
59
60
|
export * from "./UxCoreTypings";
|
|
@@ -581,6 +581,15 @@ export interface OmniaUxLocalization {
|
|
|
581
581
|
From: string;
|
|
582
582
|
To: string;
|
|
583
583
|
TermSetNotFound: string;
|
|
584
|
+
DefaultPosition: {
|
|
585
|
+
Label: string;
|
|
586
|
+
Option: {
|
|
587
|
+
Top: string;
|
|
588
|
+
Left: string;
|
|
589
|
+
Right: string;
|
|
590
|
+
Dialog: string;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
584
593
|
};
|
|
585
594
|
GeneralTab: string;
|
|
586
595
|
StyleTab: string;
|
|
@@ -600,15 +609,6 @@ export interface OmniaUxLocalization {
|
|
|
600
609
|
IconButtons: string;
|
|
601
610
|
};
|
|
602
611
|
};
|
|
603
|
-
DefaultPosition: {
|
|
604
|
-
Label: string;
|
|
605
|
-
Option: {
|
|
606
|
-
Top: string;
|
|
607
|
-
Left: string;
|
|
608
|
-
Right: string;
|
|
609
|
-
Dialog: string;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
612
|
Operator: {
|
|
613
613
|
Label: string;
|
|
614
614
|
Option: {
|
|
@@ -637,6 +637,7 @@ export interface OmniaUxLocalization {
|
|
|
637
637
|
};
|
|
638
638
|
Renderer: {
|
|
639
639
|
Common: {
|
|
640
|
+
Title: string;
|
|
640
641
|
ShowMore: string;
|
|
641
642
|
ShowLess: string;
|
|
642
643
|
};
|
|
@@ -652,7 +653,6 @@ export interface OmniaUxLocalization {
|
|
|
652
653
|
Dialog: {
|
|
653
654
|
ClearAll: string;
|
|
654
655
|
ShowResult: string;
|
|
655
|
-
Title: string;
|
|
656
656
|
};
|
|
657
657
|
};
|
|
658
658
|
};
|
|
@@ -3,8 +3,8 @@ import { NodeExtension } from "./NodeExtension";
|
|
|
3
3
|
import { ToolbarExtension, BubbleMenuToolbarExtension } from "./ToolbarExtension";
|
|
4
4
|
import { MarkExtension } from "./MarkExtension";
|
|
5
5
|
import { EditorExtension } from "./EditorExtension";
|
|
6
|
-
import { GuidValue, RichTextEditorExtensionRegistration, RichTextModes } from "../../models";
|
|
7
|
-
import { RichTextContentHelper } from "./RichTextContentHelper";
|
|
6
|
+
import { GuidValue, RichTextEditorExtensionRegistration, RichTextModes, TipTapEditor } from "../../models";
|
|
7
|
+
import { RichTextContentExtensionData, RichTextContentHelper } from "./RichTextContentHelper";
|
|
8
8
|
import { IRichTextEditorExtensionHelper } from "./IRichTextEditorExtensionHelper";
|
|
9
9
|
export interface IRichTextEditorInstance {
|
|
10
10
|
/**
|
|
@@ -37,6 +37,7 @@ export interface RichTextEditorExtensionDefinition {
|
|
|
37
37
|
toolbarItems?: Array<ToolbarConfiguration>;
|
|
38
38
|
bubbleMenuItems?: Array<BubbleMenuConfiguration>;
|
|
39
39
|
id?: GuidValue;
|
|
40
|
+
onBlur?: (editor: TipTapEditor, setExtensionData: (data: RichTextContentExtensionData) => void) => void;
|
|
40
41
|
}
|
|
41
42
|
export interface RichTextEditorPlaceHolder {
|
|
42
43
|
emptyNodeText: string;
|
|
@@ -54,6 +55,7 @@ export interface IRichTextEditor {
|
|
|
54
55
|
onContentChange: (content: string, extenres: any) => void;
|
|
55
56
|
onContentDataChange?: (richtextHelper: RichTextContentHelper) => void;
|
|
56
57
|
onInstanceCreated?: (instance: IRichTextEditorInstance) => void;
|
|
58
|
+
onBlur?: () => void;
|
|
57
59
|
/**
|
|
58
60
|
* Configure all extesions before passing into RTE
|
|
59
61
|
* @param {RichTextEditorExtension[]} currentExtensions The first number to add.
|
package/internal-do-not-import-from-here/ux/richtexteditor/IRichTextEditorExtensionHelper.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MediaPickerEnums, MediaPickerImageRatioDefinition, MediaPickerStorageProviderContext, RichTextEditorExtensionRegistration } from "@omnia/fx-models";
|
|
1
|
+
import { MediaPickerEnums, MediaPickerImageRatioDefinition, MediaPickerStorageProviderContext, PromotedTagOptions, RichTextEditorExtensionRegistration } from "@omnia/fx-models";
|
|
2
2
|
import { RichTextEditorExtension } from "./IRichTextEditor";
|
|
3
3
|
export interface IRichTextEditorExtensionHelper {
|
|
4
4
|
getDefaultRTFExtensionRegistrations: () => Array<RichTextEditorExtensionRegistration>;
|
|
@@ -6,5 +6,5 @@ export interface IRichTextEditorExtensionHelper {
|
|
|
6
6
|
getDefaultLimitedRTFExtensionRegistrations: () => Array<RichTextEditorExtensionRegistration>;
|
|
7
7
|
getDefaultLimitedRTFExtensions: () => Array<RichTextEditorExtension>;
|
|
8
8
|
configureMediaPickerExtension: (configuredExtensions: Array<RichTextEditorExtension>, mediaPickerStorageProviderContext: MediaPickerStorageProviderContext, selectableMediaTypes?: Array<MediaPickerEnums.OmniaMediaTypes>, selectableRatios?: Array<MediaPickerImageRatioDefinition>) => Array<RichTextEditorExtension>;
|
|
9
|
-
addHashTagExtension: (configuredExtensions: Array<RichTextEditorExtension
|
|
9
|
+
addHashTagExtension: (configuredExtensions: Array<RichTextEditorExtension>, promotedTagOptions: PromotedTagOptions) => Array<RichTextEditorExtension>;
|
|
10
10
|
}
|
|
@@ -14,6 +14,7 @@ export default class RichTextEditor extends VueComponentBase implements IWebComp
|
|
|
14
14
|
onContentChange: (content: string) => void;
|
|
15
15
|
onContentDataChange?: (richtextHelper: RichTextContentHelper) => void;
|
|
16
16
|
onInstanceCreated?: (inst: IRichTextEditorInstance) => void;
|
|
17
|
+
onBlur?: () => void;
|
|
17
18
|
placeholder: RichTextEditorPlaceHolder;
|
|
18
19
|
styles?: typeof RichTextEditorStyles;
|
|
19
20
|
disabled: boolean;
|
|
@@ -55,6 +56,7 @@ export default class RichTextEditor extends VueComponentBase implements IWebComp
|
|
|
55
56
|
private extensions;
|
|
56
57
|
private allExtensions;
|
|
57
58
|
private isRightToLeft;
|
|
59
|
+
private extensionOnBlurFuncs;
|
|
58
60
|
private hasLanguagePicker;
|
|
59
61
|
onTopicIdChange(newValue: boolean, oldValue: boolean): void;
|
|
60
62
|
created(): void;
|
|
@@ -69,6 +71,7 @@ export default class RichTextEditor extends VueComponentBase implements IWebComp
|
|
|
69
71
|
private currentEmitedContent;
|
|
70
72
|
private onEditorUpdated;
|
|
71
73
|
private onContentChangedFromToolbar;
|
|
74
|
+
private setExtensionData;
|
|
72
75
|
get builtInExtensions(): any[];
|
|
73
76
|
get elementWidth(): number;
|
|
74
77
|
beforeDestroy(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HashTagEditorExtensionConfiguration, IHashTagMenuBarDefinition, Tag } from "../../../../models";
|
|
1
|
+
import { HashTagEditorExtensionConfiguration, IHashTagMenuBarDefinition, PromotedTagOptions, Tag } from "../../../../models";
|
|
2
2
|
import { RichTextContentExtensionData } from "../../RichTextContentHelper";
|
|
3
3
|
export declare class HashTagContentData extends RichTextContentExtensionData {
|
|
4
|
-
tags:
|
|
4
|
+
tags: Tag[];
|
|
5
5
|
constructor(tags?: any);
|
|
6
6
|
}
|
|
7
7
|
export declare class HashTagConfiguration {
|
|
@@ -13,15 +13,16 @@ export declare class HashTagConfiguration {
|
|
|
13
13
|
onEditorUpdated?: (extensionName?: string, data?: HashTagContentData) => void;
|
|
14
14
|
suggestionMenu: IHashTagMenuBarDefinition;
|
|
15
15
|
private selectionDebounce;
|
|
16
|
-
private tags;
|
|
17
16
|
private searchTagKeyword;
|
|
17
|
+
private promotedTagOptions;
|
|
18
18
|
constructor(options: {
|
|
19
19
|
onEditorUpdated: (extensionName?: string, data?: HashTagContentData) => void;
|
|
20
|
-
});
|
|
20
|
+
}, promotedTagOptions?: PromotedTagOptions);
|
|
21
21
|
getConfig(): HashTagEditorExtensionConfiguration;
|
|
22
22
|
getToolbarConfig: () => {
|
|
23
23
|
menuHandler: (menu: IHashTagMenuBarDefinition) => void;
|
|
24
24
|
selectTag: (tag: Tag) => void;
|
|
25
|
+
promotedTagOptions: PromotedTagOptions;
|
|
25
26
|
};
|
|
26
27
|
menuHandler: (menu: IHashTagMenuBarDefinition) => void;
|
|
27
28
|
getItems: (query: string, virtualNode: any) => Promise<Tag[]>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { RichTextEditorExtension, RichTextEditorExtensionDefinition } from "../../IRichTextEditor";
|
|
2
|
-
import { Guid, HashTagEditorExtensionConfiguration } from "../../../../models";
|
|
2
|
+
import { Guid, HashTagEditorExtensionConfiguration, PromotedTagOptions } from "../../../../models";
|
|
3
3
|
import { RichTextContentExtensionData } from "../../RichTextContentHelper";
|
|
4
4
|
export declare class HashTagEditorExtension implements RichTextEditorExtension {
|
|
5
5
|
static get id(): Guid;
|
|
6
6
|
configuration: HashTagEditorExtensionConfiguration;
|
|
7
|
+
promotedTagOptions: PromotedTagOptions;
|
|
7
8
|
getDefition(options: {
|
|
8
9
|
onEditorUpdated: (extensionName?: string, data?: RichTextContentExtensionData) => void;
|
|
9
10
|
}): Promise<RichTextEditorExtensionDefinition>;
|
|
10
|
-
|
|
11
|
+
private setTagData;
|
|
12
|
+
private static getHashTagFromString;
|
|
13
|
+
constructor(promotedTagOptions: PromotedTagOptions);
|
|
11
14
|
}
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagNode.d.ts
CHANGED
|
@@ -15,19 +15,11 @@ export default class HashTagNode extends NodeExtension {
|
|
|
15
15
|
static options: Partial<HashTagOptions>;
|
|
16
16
|
constructor(options?: Partial<HashTagEditorExtensionConfiguration>);
|
|
17
17
|
get name(): string;
|
|
18
|
-
get defaultOptions(): {
|
|
19
|
-
matcher: {
|
|
20
|
-
char: string;
|
|
21
|
-
allowSpaces: boolean;
|
|
22
|
-
startOfLine: boolean;
|
|
23
|
-
};
|
|
24
|
-
suggestionClass: string;
|
|
25
|
-
};
|
|
18
|
+
get defaultOptions(): {};
|
|
26
19
|
get schema(): any;
|
|
27
|
-
get view(): any;
|
|
28
|
-
commands({ schema }: {
|
|
29
|
-
schema: any;
|
|
30
|
-
}): (attrs: any) => any;
|
|
31
20
|
get plugins(): any[];
|
|
21
|
+
myReplaceText(range: any, attrs: {
|
|
22
|
+
tagName: string;
|
|
23
|
+
}, schema: any, fragment?: any): (state: any, dispatch: any) => boolean;
|
|
32
24
|
}
|
|
33
25
|
export {};
|
package/internal-do-not-import-from-here/ux/richtexteditor/extensions/HashTag/HashTagToolbar.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ToolbarExtension } from "../../ToolbarExtension";
|
|
2
|
-
import { HashTagToolbarProperties, HashTagMenuBar, EditorHashTagMenuBar, IHashTagMenuBarDefinition, TipTapEditor, Tag } from "../../../../models";
|
|
3
|
-
import { TagsService } from "../../../../services";
|
|
2
|
+
import { HashTagToolbarProperties, HashTagMenuBar, EditorHashTagMenuBar, IHashTagMenuBarDefinition, TipTapEditor, Tag, PromotedTagOptions } from "../../../../models";
|
|
4
3
|
import { RichTextContentExtensionData } from "../../RichTextContentHelper";
|
|
5
4
|
export declare class HashTagMenuBarDefinition implements IHashTagMenuBarDefinition {
|
|
6
|
-
constructor(
|
|
5
|
+
constructor();
|
|
7
6
|
_items: Array<Tag>;
|
|
8
7
|
_showLoading: boolean;
|
|
9
8
|
_showMenu: boolean;
|
|
10
9
|
_offsetX: number;
|
|
11
10
|
_offsetY: number;
|
|
12
11
|
_index: number;
|
|
13
|
-
|
|
12
|
+
_searchKeyword: string;
|
|
14
13
|
SetItems(items: Array<Tag>): this;
|
|
15
14
|
SetLoading(loading: boolean): this;
|
|
16
15
|
SetShowMenu(show: boolean): this;
|
|
17
16
|
SetOffsetX(offsetX: number): this;
|
|
18
17
|
SetOffsetY(offsetY: number): this;
|
|
19
18
|
SetIndex(idx: number): this;
|
|
19
|
+
SetSearchKeyword(searchKeyword: string): this;
|
|
20
20
|
GetMenu(): HashTagMenuBar;
|
|
21
21
|
}
|
|
22
22
|
export default class HashTagToolbar extends ToolbarExtension implements HashTagToolbarProperties {
|
|
@@ -25,12 +25,11 @@ export default class HashTagToolbar extends ToolbarExtension implements HashTagT
|
|
|
25
25
|
onContentChanged?: (content: string, extensionName?: string, data?: RichTextContentExtensionData, pushChange?: boolean) => void;
|
|
26
26
|
menuHandler: (menubar: IHashTagMenuBarDefinition) => void;
|
|
27
27
|
selectTag: (tag: Tag) => void;
|
|
28
|
-
|
|
28
|
+
promotedTagOptions?: PromotedTagOptions;
|
|
29
|
+
onBlur: () => void;
|
|
29
30
|
menuDefinition: IHashTagMenuBarDefinition;
|
|
30
31
|
created(): void;
|
|
31
32
|
mounted(): void;
|
|
32
33
|
onItemSelected(tag: Tag): void;
|
|
33
34
|
render(h: any): VueTsxSupport.JSX.Element;
|
|
34
|
-
private renderMenu;
|
|
35
|
-
private renderLoading;
|
|
36
35
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { VueComponentBase } from "../VueComponentBase";
|
|
2
|
+
import { PromotedTagOptions, Tag } from "@omnia/fx-models";
|
|
3
|
+
import { PromotedTagStore } from "../../stores";
|
|
4
|
+
import { IHashTagListComponent } from ".";
|
|
5
|
+
export default class HashTagListComponent extends VueComponentBase implements IHashTagListComponent {
|
|
6
|
+
searchKeyword: string;
|
|
7
|
+
positionInfo: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
};
|
|
11
|
+
promotedTagOptions?: PromotedTagOptions;
|
|
12
|
+
onTagSelected: (selectedValue: Tag) => void;
|
|
13
|
+
private tagService;
|
|
14
|
+
promotedTagStore: PromotedTagStore;
|
|
15
|
+
private isLoading;
|
|
16
|
+
private tags;
|
|
17
|
+
private showMenuValue;
|
|
18
|
+
private searchTagTimewatch;
|
|
19
|
+
private promotedTags;
|
|
20
|
+
private lastPromotedTag;
|
|
21
|
+
searchKeywordChanged(newValue: string, oldValue: string): void;
|
|
22
|
+
created(): void;
|
|
23
|
+
mounted(): void;
|
|
24
|
+
private onItemSelected;
|
|
25
|
+
private ensurePromotedTags;
|
|
26
|
+
private handleSearchTag;
|
|
27
|
+
render(h: any): VueTsxSupport.JSX.Element;
|
|
28
|
+
private renderMenu;
|
|
29
|
+
private renderLoading;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PromotedTagOptions, Tag } from "@omnia/fx-models";
|
|
2
|
+
import { TsxAllowUnknowProperties } from "../";
|
|
3
|
+
export interface IHashTagListComponent {
|
|
4
|
+
searchKeyword: string;
|
|
5
|
+
positionInfo: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
};
|
|
9
|
+
promotedTagOptions?: PromotedTagOptions;
|
|
10
|
+
onTagSelected: (selectedValue: Tag) => void;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
namespace JSX {
|
|
14
|
+
interface Element {
|
|
15
|
+
}
|
|
16
|
+
interface ElementClass {
|
|
17
|
+
}
|
|
18
|
+
interface ElementAttributesProperty {
|
|
19
|
+
}
|
|
20
|
+
interface IntrinsicElements {
|
|
21
|
+
"omfx-tag-list": TsxAllowUnknowProperties<IHashTagListComponent>;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./IHashTagList";
|
|
@@ -4,6 +4,7 @@ import { VueComponentBase } from "../VueComponentBase";
|
|
|
4
4
|
export declare class FieldValidation extends VueComponentBase implements IWebComponentInstance, IFieldValidation {
|
|
5
5
|
checkValue: any;
|
|
6
6
|
rules: Array<(value: any) => boolean | string>;
|
|
7
|
+
getCheckValue: () => any;
|
|
7
8
|
private defaultValidationMsgs;
|
|
8
9
|
private isShowingValidation;
|
|
9
10
|
onVisibleChanges(newValue: any, oldValue: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"omfx-enterpriseproperties-taxonomyfield-value-definition":["availableParents"],"omfx-sp-language-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-targeting-filter":["filter","onFilterChanged","fullWidth"],"omfx-term-picker":["startWithIds","termSetId","preSelectedTermIds","lcid","onTermsSelected","filterOptions","validator","description"],"omfx-termset-picker":["termSetId","onChanged"],"omnia-fx-spfx-wp-settings":["onClosed","onChange"],"omfx-queryable-enterpriseproperties":["serviceId","additionalBuiltInProperties "],"omfx-app-instance-delete-blade":["appInstance","handleClose","handleDeleteCompleted"],"omfx-app-instance-permission-blade":["appInstance","handleClose","onAppPermissionsUpdated"],"omfx-app-instance-information-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-users-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-enterprise-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-provisioning-wizard":["initialAppTemplate","initialAppDefinition","initialAppInstance","onInstancePropertiesChanged","onProvisioningStarted","onProvisioningCompleted","styles","templatesToShow"],"omfx-button":["preset","icon","tooltip","size","mode","styles","onClick"],"omfx-color-picker":["display","valueBind","onValueChanged","errorMessages","validator","attachedToParent"],"omfx-confirm-dialog":["dialogOptions","onClose","styles","icon"],"omfx-context-language-picker":["onValueChanged","scopedSlots"],"omfx-datatable":["items","header","onSort","renderItem","onPaging","scrollElementSelector"],"omfx-date-time-picker":["valueBind","onValueChanged","formatter","description"],"omfx-enterpriseproperties-datetimefield-display":["settings"],"omfx-enterpriseproperty-picker":["preSelectedPropertyInternalName","propertyItems","externalPropertyItems","onChange","requiredWithValidator"],"omfx-enterprisepropertyset-picker":["preSelectedPropertySetId","propertySetItems","onChange","requiredWithValidator"],"omfx-features-journey":["onInstanceClosed"],"omfx-file-uploader":["onFileChanged","limitedFileTypes"],"omfx-numeric-indicator":["clickCallback","valueBind","label","style"],"omfx-barchart-indicator":["clickCallback","loadData","hasData","chartValues"],"omfx-heading":["styles","onChange"],"omfx-icon":["valueBind","styles","iconAttrs"],"omfx-icon-picker":["valueBind","onValueChanged","errorMessages","validator"],"omfx-iframe":["js","html","css","iframeHeight","iframeCustomStyle"],"omfx-media-imagegrid":["images","onImageSelected"],"omfx-input-language-picker":["multilingualContext"],"omfx-journey":["onInstanceCreated","onInstanceClosed","blades"],"omfx-language-picker":["valueBind","onValueChanged","scopedSlots","styles","loadLanguage"],"omfx-media-picker-image":["image","imageStyle"],"omfx-media-picker-video":["video"],"omfx-multilingual-input":["valueBind","richTextSettings","requiredWithValidator","onValueChanged"],"omfx-organizationtree":["valueBind","onNewUserSelected"],"omfx-reportees":["users","manager","onUserClick"],"omfx-permission-input":["settings","contextParams"],"omfx-persona":["largeImage","linkToProfilecard","highlight","user","onUserClick"],"omfx-post-component":["richTextSettings","cardStyle","showMoreSize","styles","allowLikes","enableMention","customSlots"],"omfx-aboutuser":["user"],"omfx-profilecard":["user","scopedSlots","appendToBody"],"omfx-profilecard-dialog":["user"],"omfx-rich-text-editor":["onContentChange","onContentDataChange","onInstanceCreated"],"omfx-rich-text-editor-renderer":["editorContent"],"omfx-rollup-empty":["text","renderingMode"],"omfx-rollup-filter":["valueBind","onFilterChange","useRollupFilterRouter"],"omfx-security-trimer":["content","alternativeContent","roles"],"omfx-settings-pane":["valueBind","onCancel","onSave"],"omfx-comment-component":["topicId","comments","template","dynamicInput","richTextSettings","enableBestReply","canMarkBestReply","sortOrder","allowLikes","cardStyle","showMoreSize","additionalRoles"],"omfx-people-tagging-component":["content","richTextSettings","enableMention","contentChanged","mentionChanged","resetContetnRte"],"omfx-like-component":["topicId","commendId","commentLikeService","likes","likeListingTemplate","extendComponents"],"omfx-like-listing-template":["likes","socialReactionStylings","currentSocialReaction","close"],"omfx-spacing-picker":["valueBind","onValueChanged"],"omfx-status-message-overlay":["content"],"omfx-template-picker":["valueBind","templates","onValueChanged"],"omfx-text-translator":["onTranslateCompleted"],"omfx-themedefinition-editor":["hideBodySettings","hideChromeSettings","hideBorderSettings","valueBind","onValueChanged","attachedToParent"],"omfx-timezone-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-url-input":["valueBind","requiredWithValidator","onValueChanged","onBlur"],"omfx-field-validation":["useValidator","checkValue","rules"],"omfx-wizard":["styles","onInstanceCreated","steps"]}
|
|
1
|
+
{"omfx-enterpriseproperties-taxonomyfield-value-definition":["availableParents"],"omfx-sp-language-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-targeting-filter":["filter","onFilterChanged","fullWidth"],"omfx-term-picker":["startWithIds","termSetId","preSelectedTermIds","lcid","onTermsSelected","filterOptions","validator","description"],"omfx-termset-picker":["termSetId","onChanged"],"omnia-fx-spfx-wp-settings":["onClosed","onChange"],"omfx-queryable-enterpriseproperties":["serviceId","additionalBuiltInProperties "],"omfx-app-instance-delete-blade":["appInstance","handleClose","handleDeleteCompleted"],"omfx-app-instance-permission-blade":["appInstance","handleClose","onAppPermissionsUpdated"],"omfx-app-instance-information-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-users-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-enterprise-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-provisioning-wizard":["initialAppTemplate","initialAppDefinition","initialAppInstance","onInstancePropertiesChanged","onProvisioningStarted","onProvisioningCompleted","styles","templatesToShow"],"omfx-button":["preset","icon","tooltip","size","mode","styles","onClick"],"omfx-color-picker":["display","valueBind","onValueChanged","errorMessages","validator","attachedToParent"],"omfx-confirm-dialog":["dialogOptions","onClose","styles","icon"],"omfx-context-language-picker":["onValueChanged","scopedSlots"],"omfx-datatable":["items","header","onSort","renderItem","onPaging","scrollElementSelector"],"omfx-date-time-picker":["valueBind","onValueChanged","formatter","description"],"omfx-enterpriseproperties-datetimefield-display":["settings"],"omfx-enterpriseproperty-picker":["preSelectedPropertyInternalName","propertyItems","externalPropertyItems","onChange","requiredWithValidator"],"omfx-enterprisepropertyset-picker":["preSelectedPropertySetId","propertySetItems","onChange","requiredWithValidator"],"omfx-features-journey":["onInstanceClosed"],"omfx-file-uploader":["onFileChanged","limitedFileTypes"],"omfx-numeric-indicator":["clickCallback","valueBind","label","style"],"omfx-barchart-indicator":["clickCallback","loadData","hasData","chartValues"],"omfx-heading":["styles","onChange"],"omfx-icon":["valueBind","styles","iconAttrs"],"omfx-icon-picker":["valueBind","onValueChanged","errorMessages","validator"],"omfx-iframe":["js","html","css","iframeHeight","iframeCustomStyle"],"omfx-media-imagegrid":["images","onImageSelected"],"omfx-input-language-picker":["multilingualContext"],"omfx-journey":["onInstanceCreated","onInstanceClosed","blades"],"omfx-language-picker":["valueBind","onValueChanged","scopedSlots","styles","loadLanguage"],"omfx-media-picker-image":["image","imageStyle"],"omfx-media-picker-video":["video"],"omfx-multilingual-input":["valueBind","richTextSettings","requiredWithValidator","onValueChanged"],"omfx-organizationtree":["valueBind","onNewUserSelected"],"omfx-reportees":["users","manager","onUserClick"],"omfx-permission-input":["settings","contextParams"],"omfx-persona":["largeImage","linkToProfilecard","highlight","user","onUserClick"],"omfx-post-component":["richTextSettings","cardStyle","showMoreSize","styles","allowLikes","enableMention","customSlots"],"omfx-aboutuser":["user"],"omfx-profilecard":["user","scopedSlots","appendToBody"],"omfx-profilecard-dialog":["user"],"omfx-rich-text-editor":["onContentChange","onContentDataChange","onInstanceCreated"],"omfx-rich-text-editor-renderer":["editorContent"],"omfx-rollup-empty":["text","renderingMode"],"omfx-rollup-filter":["valueBind","onFilterChange","useRollupFilterRouter"],"omfx-security-trimer":["content","alternativeContent","roles"],"omfx-settings-pane":["valueBind","onCancel","onSave"],"omfx-comment-component":["topicId","comments","template","dynamicInput","richTextSettings","enableBestReply","canMarkBestReply","sortOrder","allowLikes","cardStyle","showMoreSize","additionalRoles"],"omfx-people-tagging-component":["content","richTextSettings","enableMention","contentChanged","mentionChanged","resetContetnRte"],"omfx-like-component":["topicId","commendId","commentLikeService","likes","likeListingTemplate","extendComponents"],"omfx-like-listing-template":["likes","socialReactionStylings","currentSocialReaction","close"],"omfx-spacing-picker":["valueBind","onValueChanged"],"omfx-status-message-overlay":["content"],"omfx-template-picker":["valueBind","templates","onValueChanged"],"omfx-text-translator":["onTranslateCompleted"],"omfx-themedefinition-editor":["hideBodySettings","hideChromeSettings","hideBorderSettings","valueBind","onValueChanged","attachedToParent"],"omfx-timezone-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-url-input":["valueBind","requiredWithValidator","onValueChanged","onBlur"],"omfx-field-validation":["useValidator","checkValue","rules","getCheckValue"],"omfx-wizard":["styles","onInstanceCreated","steps"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.387-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": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.0.
|
|
23
|
+
"@omnia/fx-models": "7.0.387-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|