@omnia/fx 8.0.354-dev → 8.0.356-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/core/services/ServiceManifestProviderInternal.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstanceenterprisepropertiesstep/AppInstanceEnterprisePropertiesStep.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstanceinformationstep/AppInstanceInformationStep.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstancesummarystep/AppInstanceSummaryStep.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstanceusersstep/AppInstanceUsersStep.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningwizard/AppProvisioningWizard.d.ts +14 -324
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceFeatureVueComponent.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceTemplatePickerVueComponent.d.ts +37 -161
- package/internal-do-not-import-from-here/ux/appprovisioning/components/AppProvisioningComponentBase.d.ts +2 -36
- package/internal-do-not-import-from-here/ux/appprovisioning/components/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +7 -79
- package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +12 -278
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +10 -155
- package/internal-do-not-import-from-here/ux/social/templates/LikeListingTemplate.d.ts +8 -73
- package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +3 -1
- package/package.json +2 -2
- package/postinstall.js +2 -2
- package/types/jsx.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/IRichTextEditorRenderer.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/social/templates/ILikeListingTemplate.d.ts +0 -0
- package/types/vue.custom.d.ts +0 -135
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AppInstanceCreateInfo, AppInstance, AppTemplate, AppProvisioningStepContext, AppDefinition, AppProvisioningStepInfo, AppProvisioningHandlerMessage, IMessageBusSubscriptionHandler, AppProvisioningStepRegistration, InformationSummaryRenderer, guid } from "../../../models";
|
2
2
|
import { SubscriptionHandler } from "../../..";
|
3
3
|
import { AppStore, DirectionRuleStore, EnterprisePropertyStore, FeatureStore, MultilingualStore, TargetingPropertyStore, useLocalizationStore } from "../../../stores";
|
4
|
-
import { VueComponentBase, OmniaTheming, OmniaUxLocalization } from "../..";
|
4
|
+
import { VueComponentBase, OmniaTheming, OmniaUxLocalization, DefineProp, DefineEmit } from "../..";
|
5
5
|
import { AppService } from "../../../services";
|
6
6
|
export interface IAppProvisioningComponentProps {
|
7
7
|
appDefinitionId?: guid;
|
@@ -13,41 +13,7 @@ export interface IAppProvisioningComponentProps {
|
|
13
13
|
onProvisioningCompleted?: (appInstance: AppInstance) => void;
|
14
14
|
allowMemberAndGroup?: boolean;
|
15
15
|
}
|
16
|
-
export
|
17
|
-
allowMemberAndGroup: {
|
18
|
-
type: import("vue").PropType<boolean>;
|
19
|
-
};
|
20
|
-
require(): import("../../DefineVueTypings").DefinePropRequire<"allowMemberAndGroup", boolean, {}>;
|
21
|
-
defaultValue(value?: boolean): import("../../DefineVueTypings").DefinePropDefaultValue<"allowMemberAndGroup", boolean, {}, false>;
|
22
|
-
doc$(description?: string): import("../../DefineVueTypings").DefinePropDoc<"allowMemberAndGroup", boolean, {}>;
|
23
|
-
allowMultipleAppAdministrators: {
|
24
|
-
type: import("vue").PropType<boolean>;
|
25
|
-
};
|
26
|
-
enableUserStep: {
|
27
|
-
type: import("vue").PropType<boolean>;
|
28
|
-
};
|
29
|
-
onProvisioningCompleted: {
|
30
|
-
type: import("vue").PropType<(appInstance: AppInstance) => void>;
|
31
|
-
};
|
32
|
-
onInstancePropertiesChanged: {
|
33
|
-
type: import("vue").PropType<() => void>;
|
34
|
-
};
|
35
|
-
onProvisioningStarted: {
|
36
|
-
type: import("vue").PropType<() => void>;
|
37
|
-
};
|
38
|
-
onProvisioningCanceled: {
|
39
|
-
type: import("vue").PropType<() => void>;
|
40
|
-
};
|
41
|
-
onApproved: {
|
42
|
-
type: import("vue").PropType<() => void>;
|
43
|
-
};
|
44
|
-
showEnabledTemplatesOnly: {
|
45
|
-
type: import("vue").PropType<boolean>;
|
46
|
-
};
|
47
|
-
appDefinitionId: {
|
48
|
-
type: import("vue").PropType<guid>;
|
49
|
-
};
|
50
|
-
};
|
16
|
+
export type appProvisioningComponentBaseProps = DefineProp<"appDefinitionId", guid> & DefineProp<"showEnabledTemplatesOnly", boolean, true> & DefineProp<"enableUserStep", boolean> & DefineProp<"allowMemberAndGroup", boolean> & DefineProp<"allowMultipleAppAdministrators", boolean> & DefineEmit<"approved", () => void> & DefineEmit<"provisioningCanceled", () => void> & DefineEmit<"instancePropertiesChanged", () => void> & DefineEmit<"provisioningCompleted", (appInstance: AppInstance) => void>;
|
51
17
|
export declare function useAppProvisioningComponentBase(props: IAppProvisioningComponentProps): {
|
52
18
|
defaultSteps: AppProvisioningStepRegistration[];
|
53
19
|
appState: {
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
@@ -98,9 +98,9 @@ declare const _default: {
|
|
98
98
|
container?: boolean;
|
99
99
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
100
100
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
101
|
+
alternativeContent?: JSX.Element;
|
101
102
|
settingsKey?: any;
|
102
103
|
multilingualtitle?: string | MultilingualString;
|
103
|
-
alternativeContent?: JSX.Element;
|
104
104
|
}>, never>;
|
105
105
|
};
|
106
106
|
export default _default;
|
@@ -1,83 +1,11 @@
|
|
1
1
|
import { LayoutRendererCanvasApi } from "@omnia/fx/models";
|
2
|
+
import { DefineExpose, DefineProp } from "@omnia/fx/ux";
|
2
3
|
import { LayoutCanvasStore } from "../";
|
3
4
|
import "./LayoutRendererCanvas.stylex";
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
type: import("vue").PropType<boolean>;
|
11
|
-
};
|
12
|
-
disableScrollCompensation: {
|
13
|
-
type: import("vue").PropType<boolean>;
|
14
|
-
};
|
15
|
-
provider: {
|
16
|
-
type: import("vue").PropType<string>;
|
17
|
-
};
|
18
|
-
getApi: {
|
19
|
-
type: import("vue").PropType<(inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void>;
|
20
|
-
};
|
21
|
-
designRender: {
|
22
|
-
type: import("vue").PropType<boolean>;
|
23
|
-
};
|
24
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
25
|
-
P: {};
|
26
|
-
B: {};
|
27
|
-
D: {};
|
28
|
-
C: {};
|
29
|
-
M: {};
|
30
|
-
Defaults: {};
|
31
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
32
|
-
height: {
|
33
|
-
type: import("vue").PropType<string>;
|
34
|
-
};
|
35
|
-
noScroll: {
|
36
|
-
type: import("vue").PropType<boolean>;
|
37
|
-
};
|
38
|
-
disableScrollCompensation: {
|
39
|
-
type: import("vue").PropType<boolean>;
|
40
|
-
};
|
41
|
-
provider: {
|
42
|
-
type: import("vue").PropType<string>;
|
43
|
-
};
|
44
|
-
getApi: {
|
45
|
-
type: import("vue").PropType<(inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void>;
|
46
|
-
};
|
47
|
-
designRender: {
|
48
|
-
type: import("vue").PropType<boolean>;
|
49
|
-
};
|
50
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
51
|
-
__isFragment?: never;
|
52
|
-
__isTeleport?: never;
|
53
|
-
__isSuspense?: never;
|
54
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
55
|
-
height: {
|
56
|
-
type: import("vue").PropType<string>;
|
57
|
-
};
|
58
|
-
noScroll: {
|
59
|
-
type: import("vue").PropType<boolean>;
|
60
|
-
};
|
61
|
-
disableScrollCompensation: {
|
62
|
-
type: import("vue").PropType<boolean>;
|
63
|
-
};
|
64
|
-
provider: {
|
65
|
-
type: import("vue").PropType<string>;
|
66
|
-
};
|
67
|
-
getApi: {
|
68
|
-
type: import("vue").PropType<(inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void>;
|
69
|
-
};
|
70
|
-
designRender: {
|
71
|
-
type: import("vue").PropType<boolean>;
|
72
|
-
};
|
73
|
-
}>>, () => 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 & {
|
74
|
-
propsDefinition: Omit<Readonly<{} & {
|
75
|
-
height?: string;
|
76
|
-
provider?: string;
|
77
|
-
getApi?: (inst: LayoutRendererCanvasApi, layoutCanvasStore: LayoutCanvasStore) => void;
|
78
|
-
designRender?: boolean;
|
79
|
-
disableScrollCompensation?: boolean;
|
80
|
-
noScroll?: boolean;
|
81
|
-
}>, never>;
|
82
|
-
};
|
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>;
|
6
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Props> & {} & {
|
7
|
+
"v-slots"?: {} & Omit<{
|
8
|
+
default?: import("vue").Slot;
|
9
|
+
}, never>;
|
10
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "height" | "provider" | "ref" | "getApi" | "designRender" | "disableScrollCompensation" | "noScroll"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
83
11
|
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { IIcon, OIconVariants, OIconSizes, ColorType, OIconAnimations, IconBlueprint } from "@omnia/fx-models";
|
1
|
+
import { IIcon, OIconVariants, OIconSizes, ColorType, OIconAnimations, IconBlueprint, IconTooltipOptions } from "@omnia/fx-models";
|
2
2
|
import { DefinePropTheming, DefineProp } from "@omnia/fx/ux";
|
3
|
-
type IconProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"icon", IIcon, false, null, "The icon to be displayed."> & DefineProp<"toned", boolean, false, false> & DefineProp<"colorType", ColorType, false, null, "Sets the colorType to use for the icons. Default is onBase."> & DefineProp<"variant", OIconVariants, false, null, "Sets the variant of the icon."> & DefineProp<"size", OIconSizes, false, null, "Sets the height and width of the icon. Should be used as default."> & DefineProp<"animation", OIconAnimations, false, null, "Sets the animation on the icon when hovering."> & DefineProp<"customSize", number, false, null, "Sets a custom height and width of the icon. Should be used only as an exception."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"blueprint", IconBlueprint, false, null, "Sets a custom blueprint for the icon.">;
|
3
|
+
type IconProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"filled", boolean, false, false, "Applies the a background color to the flex. The color is based on the colorSchema either set or inherited."> & DefineProp<"icon", IIcon, false, null, "The icon to be displayed."> & DefineProp<"toned", boolean, false, false> & DefineProp<"colorType", ColorType, false, null, "Sets the colorType to use for the icons. Default is onBase."> & DefineProp<"variant", OIconVariants, false, null, "Sets the variant of the icon."> & DefineProp<"tooltip", IconTooltipOptions, false, null, "Sets tooltip to display when hovering the icon."> & DefineProp<"size", OIconSizes, false, null, "Sets the height and width of the icon. Should be used as default."> & DefineProp<"animation", OIconAnimations, false, null, "Sets the animation on the icon when hovering."> & DefineProp<"customSize", number, false, null, "Sets a custom height and width of the icon. Should be used only as an exception."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the component."> & DefineProp<"blueprint", IconBlueprint, false, null, "Sets a custom blueprint for the icon.">;
|
4
4
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<IconProps> & {} & {
|
5
5
|
"v-slots"?: {} & Omit<{
|
6
6
|
default?: import("vue").Slot;
|
7
7
|
}, never>;
|
8
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "blueprint" | "animation" | "variant" | "filled" | "size" | "class" | "disabled" | "colorSchemaType" | "colors" | "toned" | "colorType" | "customSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
8
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "blueprint" | "animation" | "variant" | "filled" | "size" | "class" | "disabled" | "tooltip" | "colorSchemaType" | "colors" | "toned" | "colorType" | "customSize"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
9
9
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DefineEmit,
|
1
|
+
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, ExtractProps, ValidationRule } from "@omnia/fx/ux";
|
2
2
|
import { ColorValue, TextBlueprint, OTextFieldTypes, InputBlueprint } from "@omnia/fx/models";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
export declare const InputTypeDefinitions: readonly ["text", "password", "number"];
|
@@ -6,7 +6,7 @@ export type InputTypes = typeof InputTypeDefinitions[number];
|
|
6
6
|
export type InputApi = {
|
7
7
|
focus: () => void;
|
8
8
|
};
|
9
|
-
type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> &
|
9
|
+
type BaseProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OTextFieldTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"color", ColorValue, false, null, "Define the custom color for text field."> & DefineProp<"readonly", boolean, false, null, "Makes the text field readonly."> & DefineProp<"persistentHint", boolean, false, null, "Forces hint to always be visible."> & DefineProp<"hint", string, false, null, "Sets the hint of the text field. Hint will be displayed below the input when focused."> & DefineProp<"errorMessages", string | string[], false, null, "Puts the input in an error state and passes through custom error messages. Will be combined with any validations that occur from the rules prop. This field will not trigger validation."> & DefineProp<"rules", ValidationRule[], false, null, "Accepts a mixed array of types function. Functions pass an input value as an argument and must return either true / false or a string containing an error message."> & DefineProp<"toned", boolean, false, null, ""> & DefineProp<"label", string, false, null, "The label of the input field."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"disabled", boolean, false, false, "Removes the ability to click or target the input."> & DefineProp<"textBlueprint", TextBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"blueprint", InputBlueprint, false, null, "Sets a custom blueprint for the text."> & DefineProp<"getApi", (api: InputApi) => void, false, null, "Gets the api"> & DefineSlot<"append", () => VNodeChild, "Adds an item inside the input and after input content."> & DefineSlot<"append-inner", () => VNodeChild, "Adds an item inside the input content."> & DefineSlot<"prepend", () => VNodeChild, "Adds an item outside the input and before input content."> & DefineSlot<"prepend-inner", () => VNodeChild, "Slot that is prepended to the input."> & DefineSlot<"message", () => VNodeChild, "Slot used to customize the message content."> & DefineEmit<"update:focused", (value: boolean) => void, "Emit when search input field is focused."> & DefineEmit<"click:button", () => void, "Emit when click on icon."> & DefineEmit<"click:clear", () => void, "Emit when search input field is cleared.">;
|
10
10
|
type NumberInputProps = DefineVModel<"", number, false, null, true, "The v-model value of the component."> & DefineProp<"max", number, false, null, "The max value."> & DefineProp<"min", number, false, null, "The min value."> & DefineProp<"step", number, false, null, "incremental steps for adjusting the numeric value."> & BaseProps;
|
11
11
|
type TextInputProps = DefineVModel<"", string, false, null, true, "The v-model value of the component."> & DefineProp<"suffix", string, false, null, "The suffix text of the text field."> & DefineProp<"prefix", string, false, null, "The prefix text of the text field."> & DefineProp<"clearable", boolean, false, false, "Adds a clear button when the text field is not empty."> & DefineProp<"autofocus", boolean, false, false, "Enables autofocus."> & DefineProp<"placeholder", string, false, null, "Sets the input’s placeholder text."> & BaseProps;
|
12
12
|
declare const _default: <TType extends "text" | "number" | "password" = "text">(props: ExtractProps<{
|
@@ -5,6 +5,7 @@ type IconPositions = "left" | "right" | "top";
|
|
5
5
|
export interface TabIconModel {
|
6
6
|
iconType: IIcon;
|
7
7
|
position?: IconPositions;
|
8
|
+
tooltipText?: string;
|
8
9
|
}
|
9
10
|
type TabProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"disabled", boolean, false, false, "Removed the ability to click or target the component."> & DefineProp<"title", string, false, null, "The title of the tab."> & DefineProp<"notificationCount", number, false, null, "Show a notificaton count on the tab."> & DefineProp<"eager", boolean, false, false, "Force the tab content to preload. This is useful if you have content that you want to be preloaded, instead of 'load on click' default behavior."> & DefineProp<"icon", TabIconModel, false, null, "The icon of the tab."> & DefineProp<"variant", OTabVariants, false, null, "Applies a distinct style to the component."> & DefineSlot<"itemRendering", () => VNodeChild>;
|
10
11
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<TabProps> & {} & {
|
@@ -52,5 +52,5 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
52
52
|
"v-slots"?: {} & Omit<{
|
53
53
|
default?: import("vue").Slot;
|
54
54
|
}, never>;
|
55
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "omniaServiceId" | "provider" | "styles" | "richTextSettings" | "
|
55
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "omniaServiceId" | "provider" | "styles" | "richTextSettings" | "enableMention" | "editContentOnTop" | "postTypeId" | "showMoreSize" | "cardStyle" | "allowLikes" | "customSlots" | "hideEditOption" | "getTopPostIds" | "getUserHash" | "topicPermissionDictionary"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
56
56
|
export default _default;
|
@@ -47,8 +47,8 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
47
47
|
[topicId: string]: PostPermission;
|
48
48
|
};
|
49
49
|
} & DefineEmit<"openReply", (postToReplyOn: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"cancelReply", (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"openEdit", (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"closeEdit", (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"refresh", (addedPost: boolean) => void>> & {
|
50
|
-
onOpenReply?: (postToReplyOn: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
51
50
|
onCancelReply?: (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
51
|
+
onOpenReply?: (postToReplyOn: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
52
52
|
onRefresh?: (addedPost: boolean) => any;
|
53
53
|
onOpenEdit?: (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
54
54
|
onCloseEdit?: (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
@@ -56,5 +56,5 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
56
56
|
"v-slots"?: {} & Omit<{
|
57
57
|
default?: import("vue").Slot;
|
58
58
|
}, never>;
|
59
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "currentUser" | "richTextSettings" | "canShowEditDialogOnLoad" | "canLike" | "
|
59
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "currentUser" | "richTextSettings" | "canShowEditDialogOnLoad" | "canLike" | "hideEdit" | "emit:openReply" | "emit:cancelReply" | "emit:refresh" | "enableMention" | "cardStyle" | "customSlots" | "hideEditOption" | "getTopPostIds" | "getUserHash" | "topicPermissionDictionary" | "persistedPost" | "persistedPosts" | "handleAddingPost" | "handleUpdatingPost" | "handleDeletingPost" | "handleTogglingLike" | "handleSocialReacts" | "emit:openEdit" | "emit:closeEdit"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
60
60
|
export default _default;
|
@@ -134,11 +134,11 @@ declare const _default: {
|
|
134
134
|
default?: import("../DefineVueTypings").Slot;
|
135
135
|
} & SecurityTrimmerSlots;
|
136
136
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
137
|
+
excludedRoles?: guid[];
|
138
|
+
clearCacheAndRetryIfUnauthorized?: boolean;
|
137
139
|
contextParams?: {
|
138
140
|
[key: string]: string | number;
|
139
141
|
};
|
140
|
-
excludedRoles?: guid[];
|
141
|
-
clearCacheAndRetryIfUnauthorized?: boolean;
|
142
142
|
}>, never>;
|
143
143
|
};
|
144
144
|
export default _default;
|
@@ -1,281 +1,15 @@
|
|
1
|
-
import { CommentLikeTemplateDynamicInput } from "@omnia/fx/ux";
|
2
|
-
import { Comment, OmitProperties,
|
1
|
+
import { CommentLikeTemplateDynamicInput, DefineProp } from "@omnia/fx/ux";
|
2
|
+
import { Comment, OmitProperties, guid, ColorValue } from "../../models";
|
3
|
+
import { CommentStyles } from "..";
|
3
4
|
import { IRichTextEditor } from "../richtexteditor";
|
4
5
|
import { CommentSorting } from "../../models/Social";
|
5
|
-
declare const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
};
|
15
|
-
readOnly: {
|
16
|
-
type: import("vue").PropType<boolean>;
|
17
|
-
};
|
18
|
-
hideEdit: {
|
19
|
-
type: import("vue").PropType<boolean>;
|
20
|
-
required: false;
|
21
|
-
};
|
22
|
-
cardStyle: {
|
23
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
24
|
-
};
|
25
|
-
allowLikes: {
|
26
|
-
type: import("vue").PropType<boolean>;
|
27
|
-
};
|
28
|
-
sortOrder: {
|
29
|
-
type: import("vue").PropType<CommentSorting>;
|
30
|
-
};
|
31
|
-
additionalRoles: {
|
32
|
-
type: import("vue").PropType<string[]>;
|
33
|
-
};
|
34
|
-
styles: {
|
35
|
-
type: import("vue").PropType<{
|
36
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
37
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
38
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
39
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
40
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
41
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
42
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
43
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
44
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
45
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
46
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
47
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
48
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
49
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
50
|
-
}>;
|
51
|
-
};
|
52
|
-
dynamicInput: {
|
53
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
54
|
-
};
|
55
|
-
canMarkBestReply: {
|
56
|
-
type: import("vue").PropType<boolean>;
|
57
|
-
};
|
58
|
-
enableMention: {
|
59
|
-
type: import("vue").PropType<boolean>;
|
60
|
-
};
|
61
|
-
enableBestReply: {
|
62
|
-
type: import("vue").PropType<boolean>;
|
63
|
-
};
|
64
|
-
richTextSettings: {
|
65
|
-
type: import("vue").PropType<OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">>;
|
66
|
-
};
|
67
|
-
topicId: {
|
68
|
-
type: import("vue").PropType<string>;
|
69
|
-
};
|
70
|
-
comments: {
|
71
|
-
type: import("vue").PropType<Comment[]>;
|
72
|
-
};
|
73
|
-
template: {
|
74
|
-
type: import("vue").PropType<string>;
|
75
|
-
required: false;
|
76
|
-
};
|
77
|
-
showMoreSize: {
|
78
|
-
type: import("vue").PropType<number>;
|
79
|
-
required: false;
|
80
|
-
};
|
81
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
82
|
-
P: {};
|
83
|
-
B: {};
|
84
|
-
D: {};
|
85
|
-
C: {};
|
86
|
-
M: {};
|
87
|
-
Defaults: {};
|
88
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
89
|
-
contextParams: {
|
90
|
-
type: import("vue").PropType<{
|
91
|
-
[key: string]: string | number;
|
92
|
-
}>;
|
93
|
-
};
|
94
|
-
hideTotalNumber: {
|
95
|
-
type: import("vue").PropType<boolean>;
|
96
|
-
};
|
97
|
-
readOnly: {
|
98
|
-
type: import("vue").PropType<boolean>;
|
99
|
-
};
|
100
|
-
hideEdit: {
|
101
|
-
type: import("vue").PropType<boolean>;
|
102
|
-
required: false;
|
103
|
-
};
|
104
|
-
cardStyle: {
|
105
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
106
|
-
};
|
107
|
-
allowLikes: {
|
108
|
-
type: import("vue").PropType<boolean>;
|
109
|
-
};
|
110
|
-
sortOrder: {
|
111
|
-
type: import("vue").PropType<CommentSorting>;
|
112
|
-
};
|
113
|
-
additionalRoles: {
|
114
|
-
type: import("vue").PropType<string[]>;
|
115
|
-
};
|
116
|
-
styles: {
|
117
|
-
type: import("vue").PropType<{
|
118
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
119
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
120
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
121
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
122
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
123
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
124
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
125
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
126
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
127
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
128
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
129
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
130
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
131
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
132
|
-
}>;
|
133
|
-
};
|
134
|
-
dynamicInput: {
|
135
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
136
|
-
};
|
137
|
-
canMarkBestReply: {
|
138
|
-
type: import("vue").PropType<boolean>;
|
139
|
-
};
|
140
|
-
enableMention: {
|
141
|
-
type: import("vue").PropType<boolean>;
|
142
|
-
};
|
143
|
-
enableBestReply: {
|
144
|
-
type: import("vue").PropType<boolean>;
|
145
|
-
};
|
146
|
-
richTextSettings: {
|
147
|
-
type: import("vue").PropType<OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">>;
|
148
|
-
};
|
149
|
-
topicId: {
|
150
|
-
type: import("vue").PropType<string>;
|
151
|
-
};
|
152
|
-
comments: {
|
153
|
-
type: import("vue").PropType<Comment[]>;
|
154
|
-
};
|
155
|
-
template: {
|
156
|
-
type: import("vue").PropType<string>;
|
157
|
-
required: false;
|
158
|
-
};
|
159
|
-
showMoreSize: {
|
160
|
-
type: import("vue").PropType<number>;
|
161
|
-
required: false;
|
162
|
-
};
|
163
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
164
|
-
__isFragment?: never;
|
165
|
-
__isTeleport?: never;
|
166
|
-
__isSuspense?: never;
|
167
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
168
|
-
contextParams: {
|
169
|
-
type: import("vue").PropType<{
|
170
|
-
[key: string]: string | number;
|
171
|
-
}>;
|
172
|
-
};
|
173
|
-
hideTotalNumber: {
|
174
|
-
type: import("vue").PropType<boolean>;
|
175
|
-
};
|
176
|
-
readOnly: {
|
177
|
-
type: import("vue").PropType<boolean>;
|
178
|
-
};
|
179
|
-
hideEdit: {
|
180
|
-
type: import("vue").PropType<boolean>;
|
181
|
-
required: false;
|
182
|
-
};
|
183
|
-
cardStyle: {
|
184
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
185
|
-
};
|
186
|
-
allowLikes: {
|
187
|
-
type: import("vue").PropType<boolean>;
|
188
|
-
};
|
189
|
-
sortOrder: {
|
190
|
-
type: import("vue").PropType<CommentSorting>;
|
191
|
-
};
|
192
|
-
additionalRoles: {
|
193
|
-
type: import("vue").PropType<string[]>;
|
194
|
-
};
|
195
|
-
styles: {
|
196
|
-
type: import("vue").PropType<{
|
197
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
198
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
199
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
200
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
201
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
202
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
203
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
204
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
205
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
206
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
207
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
208
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
209
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
210
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
211
|
-
}>;
|
212
|
-
};
|
213
|
-
dynamicInput: {
|
214
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
215
|
-
};
|
216
|
-
canMarkBestReply: {
|
217
|
-
type: import("vue").PropType<boolean>;
|
218
|
-
};
|
219
|
-
enableMention: {
|
220
|
-
type: import("vue").PropType<boolean>;
|
221
|
-
};
|
222
|
-
enableBestReply: {
|
223
|
-
type: import("vue").PropType<boolean>;
|
224
|
-
};
|
225
|
-
richTextSettings: {
|
226
|
-
type: import("vue").PropType<OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">>;
|
227
|
-
};
|
228
|
-
topicId: {
|
229
|
-
type: import("vue").PropType<string>;
|
230
|
-
};
|
231
|
-
comments: {
|
232
|
-
type: import("vue").PropType<Comment[]>;
|
233
|
-
};
|
234
|
-
template: {
|
235
|
-
type: import("vue").PropType<string>;
|
236
|
-
required: false;
|
237
|
-
};
|
238
|
-
showMoreSize: {
|
239
|
-
type: import("vue").PropType<number>;
|
240
|
-
required: false;
|
241
|
-
};
|
242
|
-
}>>, () => 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 & {
|
243
|
-
propsDefinition: Omit<Readonly<{} & {
|
244
|
-
template?: string;
|
245
|
-
styles?: {
|
246
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
247
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
248
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
249
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
250
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
251
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
252
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
253
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
254
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
255
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
256
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
257
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
258
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
259
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
260
|
-
};
|
261
|
-
richTextSettings?: OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">;
|
262
|
-
dynamicInput?: CommentLikeTemplateDynamicInput;
|
263
|
-
additionalRoles?: string[];
|
264
|
-
cardStyle?: LegacyThemeDefinition;
|
265
|
-
hideEdit?: boolean;
|
266
|
-
readOnly?: boolean;
|
267
|
-
topicId?: string;
|
268
|
-
enableMention?: boolean;
|
269
|
-
comments?: Comment[];
|
270
|
-
contextParams?: {
|
271
|
-
[key: string]: string | number;
|
272
|
-
};
|
273
|
-
showMoreSize?: number;
|
274
|
-
allowLikes?: boolean;
|
275
|
-
enableBestReply?: boolean;
|
276
|
-
canMarkBestReply?: boolean;
|
277
|
-
sortOrder?: CommentSorting;
|
278
|
-
hideTotalNumber?: boolean;
|
279
|
-
}>, never>;
|
280
|
-
};
|
6
|
+
declare const defaultTemplate: guid;
|
7
|
+
type CommentProps = DefineProp<"showMoreSize", number, false, 10> & DefineProp<"template", guid, false, typeof defaultTemplate> & DefineProp<"comments", Array<Comment>> & DefineProp<"topicId", string> & DefineProp<"richTextSettings", OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">> & DefineProp<"enableBestReply", boolean> & DefineProp<"enableMention", boolean> & DefineProp<"canMarkBestReply", boolean> & DefineProp<"dynamicInput", CommentLikeTemplateDynamicInput> & DefineProp<"styles", typeof CommentStyles> & DefineProp<"additionalRoles", Array<string>> & DefineProp<"sortOrder", CommentSorting> & DefineProp<"allowLikes", boolean> & DefineProp<"backgroundColor", ColorValue> & DefineProp<"foregroundColor", ColorValue> & DefineProp<"textColor", ColorValue> & DefineProp<"hideEdit", boolean> & DefineProp<"readOnly", boolean> & DefineProp<"hideReply", boolean> & DefineProp<"hideTotalNumber", boolean> & DefineProp<"hideLike", boolean> & DefineProp<"contextParams", {
|
8
|
+
[key: string]: string | number;
|
9
|
+
}>;
|
10
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<CommentProps> & {} & {
|
11
|
+
"v-slots"?: {} & Omit<{
|
12
|
+
default?: import("vue").Slot;
|
13
|
+
}, never>;
|
14
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "backgroundColor" | "textColor" | "template" | "styles" | "richTextSettings" | "dynamicInput" | "additionalRoles" | "foregroundColor" | "hideEdit" | "readOnly" | "topicId" | "contextParams" | "enableMention" | "comments" | "showMoreSize" | "allowLikes" | "enableBestReply" | "canMarkBestReply" | "sortOrder" | "hideReply" | "hideTotalNumber" | "hideLike"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
281
15
|
export default _default;
|