@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.
Files changed (29) hide show
  1. package/internal-do-not-import-from-here/core/services/ServiceManifestProviderInternal.d.ts +4 -0
  2. package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstanceenterprisepropertiesstep/AppInstanceEnterprisePropertiesStep.d.ts +1 -1
  3. package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstanceinformationstep/AppInstanceInformationStep.d.ts +1 -1
  4. package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstancesummarystep/AppInstanceSummaryStep.d.ts +1 -1
  5. package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningsteps/appinstanceusersstep/AppInstanceUsersStep.d.ts +1 -1
  6. package/internal-do-not-import-from-here/ux/appprovisioning/appprovisioningwizard/AppProvisioningWizard.d.ts +14 -324
  7. package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceFeatureVueComponent.d.ts +2 -3
  8. package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceTemplatePickerVueComponent.d.ts +37 -161
  9. package/internal-do-not-import-from-here/ux/appprovisioning/components/AppProvisioningComponentBase.d.ts +2 -36
  10. package/internal-do-not-import-from-here/ux/appprovisioning/components/index.d.ts +1 -0
  11. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +1 -1
  12. package/internal-do-not-import-from-here/ux/layoutcanvas/renderer/LayoutRendererCanvas.d.ts +7 -79
  13. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +3 -3
  14. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -2
  15. package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -0
  16. package/internal-do-not-import-from-here/ux/post/Post.d.ts +1 -1
  17. package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
  18. package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +2 -2
  19. package/internal-do-not-import-from-here/ux/social/Comment.d.ts +12 -278
  20. package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +10 -155
  21. package/internal-do-not-import-from-here/ux/social/templates/LikeListingTemplate.d.ts +8 -73
  22. package/internal-do-not-import-from-here/ux/use/UseDraggable.d.ts +3 -1
  23. package/package.json +2 -2
  24. package/postinstall.js +2 -2
  25. package/types/jsx.d.ts +22 -0
  26. package/internal-do-not-import-from-here/ux/richtexteditorrenderer/IRichTextEditorRenderer.d.ts +0 -4
  27. package/internal-do-not-import-from-here/ux/richtexteditorrenderer/index.d.ts +0 -1
  28. package/internal-do-not-import-from-here/ux/social/templates/ILikeListingTemplate.d.ts +0 -0
  29. package/types/vue.custom.d.ts +0 -135
@@ -1,164 +1,19 @@
1
+ import { DefineEmit, DefineProp } from "@omnia/fx/ux";
1
2
  import { ICommentLikeService } from "../../../stores";
2
- import { type Comment, type CommentLikeTemplateSettings, ResolvedUserIdentity, LegacyThemeDefinition, guid } from "../../../models";
3
+ import { type Comment, type CommentLikeTemplateSettings, ResolvedUserIdentity, guid, ColorValue } from "../../../models";
3
4
  export interface CommentLikeTemplateDynamicInput {
4
5
  service: ICommentLikeService;
5
6
  likeListingTemplate?: string;
6
7
  dateFormat?: string | "social";
7
8
  }
8
- declare const _default: {
9
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
10
- readOnly: {
11
- type: import("vue").PropType<boolean>;
12
- };
13
- hideEdit: {
14
- type: import("vue").PropType<boolean>;
15
- required: false;
16
- };
17
- cardStyle: {
18
- type: import("vue").PropType<LegacyThemeDefinition>;
19
- };
20
- additionalRoles: {
21
- type: import("vue").PropType<guid[]>;
22
- };
23
- canLike: {
24
- type: import("vue").PropType<boolean>;
25
- };
26
- canShowEditDialogOnLoad: {
27
- type: import("vue").PropType<boolean>;
28
- };
29
- currentUser: {
30
- type: import("vue").PropType<ResolvedUserIdentity>;
31
- };
32
- templateSettings: {
33
- type: import("vue").PropType<CommentLikeTemplateSettings>;
34
- };
35
- dynamicInput: {
36
- type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
37
- };
38
- comment: {
39
- type: import("vue").PropType<Comment>;
40
- };
41
- }>> & {
42
- onDoc$?: (description?: string) => any;
43
- onOpenReply?: (commentToReplyOn: Comment) => any;
44
- onCancelReply?: (comment: Comment) => any;
45
- onRefresh?: (addedComment: boolean) => any;
46
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- refresh: (addedComment: boolean) => void;
48
- doc$(description?: string): {
49
- refresh: (addedComment: boolean) => void;
50
- };
51
- cancelReply: (comment: Comment) => void;
52
- openReply: (commentToReplyOn: Comment) => Comment;
53
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
54
- P: {};
55
- B: {};
56
- D: {};
57
- C: {};
58
- M: {};
59
- Defaults: {};
60
- }, Readonly<import("vue").ExtractPropTypes<{
61
- readOnly: {
62
- type: import("vue").PropType<boolean>;
63
- };
64
- hideEdit: {
65
- type: import("vue").PropType<boolean>;
66
- required: false;
67
- };
68
- cardStyle: {
69
- type: import("vue").PropType<LegacyThemeDefinition>;
70
- };
71
- additionalRoles: {
72
- type: import("vue").PropType<guid[]>;
73
- };
74
- canLike: {
75
- type: import("vue").PropType<boolean>;
76
- };
77
- canShowEditDialogOnLoad: {
78
- type: import("vue").PropType<boolean>;
79
- };
80
- currentUser: {
81
- type: import("vue").PropType<ResolvedUserIdentity>;
82
- };
83
- templateSettings: {
84
- type: import("vue").PropType<CommentLikeTemplateSettings>;
85
- };
86
- dynamicInput: {
87
- type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
88
- };
89
- comment: {
90
- type: import("vue").PropType<Comment>;
91
- };
92
- }>> & {
93
- onDoc$?: (description?: string) => any;
94
- onOpenReply?: (commentToReplyOn: Comment) => any;
95
- onCancelReply?: (comment: Comment) => any;
96
- onRefresh?: (addedComment: boolean) => any;
97
- }, () => JSX.Element, {}, {}, {}, {}>;
98
- __isFragment?: never;
99
- __isTeleport?: never;
100
- __isSuspense?: never;
101
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
102
- readOnly: {
103
- type: import("vue").PropType<boolean>;
104
- };
105
- hideEdit: {
106
- type: import("vue").PropType<boolean>;
107
- required: false;
108
- };
109
- cardStyle: {
110
- type: import("vue").PropType<LegacyThemeDefinition>;
111
- };
112
- additionalRoles: {
113
- type: import("vue").PropType<guid[]>;
114
- };
115
- canLike: {
116
- type: import("vue").PropType<boolean>;
117
- };
118
- canShowEditDialogOnLoad: {
119
- type: import("vue").PropType<boolean>;
120
- };
121
- currentUser: {
122
- type: import("vue").PropType<ResolvedUserIdentity>;
123
- };
124
- templateSettings: {
125
- type: import("vue").PropType<CommentLikeTemplateSettings>;
126
- };
127
- dynamicInput: {
128
- type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
129
- };
130
- comment: {
131
- type: import("vue").PropType<Comment>;
132
- };
133
- }>> & {
134
- onDoc$?: (description?: string) => any;
135
- onOpenReply?: (commentToReplyOn: Comment) => any;
9
+ type CommentLikeTemplateProps = DefineProp<"comment", Comment> & DefineProp<"dynamicInput", CommentLikeTemplateDynamicInput> & DefineProp<"templateSettings", CommentLikeTemplateSettings> & DefineProp<"currentUser", ResolvedUserIdentity> & DefineProp<"canShowEditDialogOnLoad", boolean> & DefineProp<"canLike", boolean> & DefineProp<"additionalRoles", Array<guid>> & DefineProp<"backgroundColor", ColorValue> & DefineProp<"foregroundColor", ColorValue> & DefineProp<"textColor", ColorValue> & DefineProp<"hideEdit", boolean> & DefineProp<"readOnly", boolean> & DefineEmit<"openReply", (commentToReplyOn: Comment) => Comment> & DefineEmit<"cancelReply", (comment: Comment) => void> & DefineEmit<"refresh", (addedComment: boolean) => void>;
10
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<CommentLikeTemplateProps> & {
136
11
  onCancelReply?: (comment: Comment) => any;
12
+ onOpenReply?: (commentToReplyOn: Comment) => any;
137
13
  onRefresh?: (addedComment: boolean) => any;
138
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
139
- refresh: (addedComment: boolean) => void;
140
- doc$(description?: string): {
141
- refresh: (addedComment: boolean) => void;
142
- };
143
- cancelReply: (comment: Comment) => void;
144
- openReply: (commentToReplyOn: Comment) => Comment;
145
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
146
- propsDefinition: Omit<Readonly<{} & {
147
- currentUser?: ResolvedUserIdentity;
148
- comment?: Comment;
149
- dynamicInput?: CommentLikeTemplateDynamicInput;
150
- templateSettings?: CommentLikeTemplateSettings;
151
- canShowEditDialogOnLoad?: boolean;
152
- canLike?: boolean;
153
- additionalRoles?: guid[];
154
- cardStyle?: LegacyThemeDefinition;
155
- hideEdit?: boolean;
156
- readOnly?: boolean;
157
- }>, "onDoc$" | "onOpenReply" | "onCancelReply" | "onRefresh"> & {
158
- onDoc$?: (description?: string) => any;
159
- onOpenReply?: (commentToReplyOn: Comment) => any;
160
- onCancelReply?: (comment: Comment) => any;
161
- onRefresh?: (addedComment: boolean) => any;
162
- };
163
- };
14
+ } & {
15
+ "v-slots"?: {} & Omit<{
16
+ default?: import("vue").Slot;
17
+ }, never>;
18
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "backgroundColor" | "textColor" | "currentUser" | "comment" | "dynamicInput" | "templateSettings" | "canShowEditDialogOnLoad" | "canLike" | "additionalRoles" | "foregroundColor" | "hideEdit" | "readOnly" | "emit:openReply" | "emit:cancelReply" | "emit:refresh"> & import("@omnia/fx/ux").VNodeEvents) => any;
164
19
  export default _default;
@@ -1,77 +1,12 @@
1
+ import { DefineEmit, DefineProp } from "@omnia/fx/ux";
1
2
  import { ISocialReaction, type ISocialReactionStyling } from "../../../models";
2
3
  import "../Like.css";
3
- declare const _default: {
4
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
- currentSocialReaction: {
6
- type: import("vue").PropType<ISocialReactionStyling>;
7
- };
8
- socialReactionStylings: {
9
- type: import("vue").PropType<ISocialReactionStyling[]>;
10
- required: false;
11
- };
12
- likes: {
13
- type: import("vue").PropType<ISocialReaction[]>;
14
- };
15
- }>> & {
16
- onClose?: () => any;
17
- onDoc$?: (description?: string) => any;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
- close: () => void;
20
- doc$(description?: string): {
21
- close: () => void;
22
- };
23
- }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
24
- P: {};
25
- B: {};
26
- D: {};
27
- C: {};
28
- M: {};
29
- Defaults: {};
30
- }, Readonly<import("vue").ExtractPropTypes<{
31
- currentSocialReaction: {
32
- type: import("vue").PropType<ISocialReactionStyling>;
33
- };
34
- socialReactionStylings: {
35
- type: import("vue").PropType<ISocialReactionStyling[]>;
36
- required: false;
37
- };
38
- likes: {
39
- type: import("vue").PropType<ISocialReaction[]>;
40
- };
41
- }>> & {
42
- onClose?: () => any;
43
- onDoc$?: (description?: string) => any;
44
- }, () => JSX.Element, {}, {}, {}, {}>;
45
- __isFragment?: never;
46
- __isTeleport?: never;
47
- __isSuspense?: never;
48
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
49
- currentSocialReaction: {
50
- type: import("vue").PropType<ISocialReactionStyling>;
51
- };
52
- socialReactionStylings: {
53
- type: import("vue").PropType<ISocialReactionStyling[]>;
54
- required: false;
55
- };
56
- likes: {
57
- type: import("vue").PropType<ISocialReaction[]>;
58
- };
59
- }>> & {
4
+ type LikeListingTemplateProps = DefineProp<"likes", Array<ISocialReaction>> & DefineProp<"socialReactionStylings", Array<ISocialReactionStyling>> & DefineProp<"currentSocialReaction", ISocialReactionStyling> & DefineEmit<"close", () => void>;
5
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<LikeListingTemplateProps> & {
60
6
  onClose?: () => any;
61
- onDoc$?: (description?: string) => any;
62
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
- close: () => void;
64
- doc$(description?: string): {
65
- close: () => void;
66
- };
67
- }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
68
- propsDefinition: Omit<Readonly<{} & {
69
- likes?: ISocialReaction[];
70
- socialReactionStylings?: ISocialReactionStyling[];
71
- currentSocialReaction?: ISocialReactionStyling;
72
- }>, "onClose" | "onDoc$"> & {
73
- onClose?: () => any;
74
- onDoc$?: (description?: string) => any;
75
- };
76
- };
7
+ } & {
8
+ "v-slots"?: {} & Omit<{
9
+ default?: import("vue").Slot;
10
+ }, never>;
11
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "likes" | "emit:close" | "socialReactionStylings" | "currentSocialReaction"> & import("@omnia/fx/ux").VNodeEvents) => any;
77
12
  export default _default;
@@ -22,6 +22,8 @@ export declare function useDraggable(): {
22
22
  colorType?: "base" | "onBase";
23
23
  } & {
24
24
  variant?: "background" | "default";
25
+ } & {
26
+ tooltip?: import("@omnia/fx-models").IconTooltipOptions;
25
27
  } & {
26
28
  size?: "small" | "default" | "x-large" | "x-small" | "large";
27
29
  } & {
@@ -36,7 +38,7 @@ export declare function useDraggable(): {
36
38
  "v-slots"?: {} & Omit<{
37
39
  default?: import("vue").Slot;
38
40
  }, never>;
39
- } & Omit<import("..").VueComponentBaseProps, "icon" | "blueprint" | "animation" | "variant" | "filled" | "size" | "class" | "disabled" | "colorSchemaType" | "colors" | "toned" | "colorType" | "customSize"> & import("../InternalDefineComponent").VNodeEvents) => any;
41
+ } & Omit<import("..").VueComponentBaseProps, "icon" | "blueprint" | "animation" | "variant" | "filled" | "size" | "class" | "disabled" | "tooltip" | "colorSchemaType" | "colors" | "toned" | "colorType" | "customSize"> & import("../InternalDefineComponent").VNodeEvents) => any;
40
42
  draggableContainerRef: import("vue").Ref<any, any>;
41
43
  draggableItemClass: string;
42
44
  disabledItemClass: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.354-dev",
4
+ "version": "8.0.356-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.354-dev",
23
+ "@omnia/fx-models": "8.0.356-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/vue.custom.d.ts");
6
- const destPath = path.join(process.cwd(), "../../vue/types/vue.d.ts");
5
+ const srcPath = path.join(process.cwd(), "types/jsx.d.ts");
6
+ const destPath = path.join(process.cwd(), "../../vue/jsx.d.ts");
7
7
 
8
8
  if (fs.existsSync(destPath)) {
9
9
  fs.copyFileSync(srcPath, destPath);
package/types/jsx.d.ts ADDED
@@ -0,0 +1,22 @@
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
+ }
@@ -1,4 +0,0 @@
1
- import { MultilingualString } from "@omnia/fx-models";
2
- export interface IRichTextEditorRenderer {
3
- editorContent: string | MultilingualString;
4
- }
@@ -1 +0,0 @@
1
- export * from "./IRichTextEditorRenderer";
@@ -1,135 +0,0 @@
1
- import {
2
- Component,
3
- AsyncComponent,
4
- ComponentOptions,
5
- FunctionalComponentOptions,
6
- WatchOptionsWithHandler,
7
- WatchHandler,
8
- DirectiveOptions,
9
- DirectiveFunction,
10
- RecordPropsDefinition,
11
- ThisTypedComponentOptionsWithArrayProps,
12
- ThisTypedComponentOptionsWithRecordProps,
13
- WatchOptions,
14
- } from "./options";
15
- import { VNode, VNodeData, VNodeChildren, NormalizedScopedSlot } from "./vnode";
16
- import { PluginFunction, PluginObject } from "./plugin";
17
-
18
- export interface CreateElement {
19
- (tag?: string | Component<any, any, any, any> | AsyncComponent<any, any, any, any> | (() => Component), children?: VNodeChildren): VNode;
20
- (tag?: string | Component<any, any, any, any> | AsyncComponent<any, any, any, any> | (() => Component), data?: VNodeData, children?: VNodeChildren): VNode;
21
- }
22
-
23
- export interface Vue {
24
- readonly $el: Element;
25
- readonly $options: ComponentOptions<Vue>;
26
- readonly $parent: Vue;
27
- readonly $root: Vue;
28
- readonly $children: Vue[];
29
- readonly $refs: { [key: string]: Vue | Element | (Vue | Element)[] | undefined };
30
- readonly $slots: { [key: string]: VNode[] | undefined };
31
- readonly $scopedSlots: { [key: string]: NormalizedScopedSlot | undefined };
32
- readonly $isServer: boolean;
33
- readonly $data: Record<string, any>;
34
- readonly $props: Record<string, any>;
35
- readonly $ssrContext: any;
36
- readonly $vnode: VNode;
37
- readonly $attrs: Record<string, string>;
38
- readonly $listeners: Record<string, Function | Function[]>;
39
-
40
- $mount(elementOrSelector?: Element | string, hydrating?: boolean): this;
41
- $forceUpdate(): void;
42
- $destroy(): void;
43
- $set: typeof Vue.set;
44
- $delete: typeof Vue.delete;
45
- $watch(
46
- expOrFn: string,
47
- callback: (this: this, n: any, o: any) => void,
48
- options?: WatchOptions
49
- ): (() => void);
50
- $watch<T>(
51
- expOrFn: (this: this) => T,
52
- callback: (this: this, n: T, o: T) => void,
53
- options?: WatchOptions
54
- ): (() => void);
55
- $on(event: string | string[], callback: Function): this;
56
- $once(event: string | string[], callback: Function): this;
57
- $off(event?: string | string[], callback?: Function): this;
58
- $emit(event: string, ...args: any[]): this;
59
- $nextTick(callback: (this: this) => void): void;
60
- $nextTick(): Promise<void>;
61
- // remove $createElement to force build failed
62
- // this function should never be called outside of tooling injection since it affects hierarchy vnode
63
- // we forcing this for Omnia 7 breaking changes
64
- //$createElement: CreateElement;
65
- }
66
-
67
- export type CombinedVueInstance<Instance extends Vue, Data, Methods, Computed, Props> = Data & Methods & Computed & Props & Instance;
68
- export type ExtendedVue<Instance extends Vue, Data, Methods, Computed, Props> = VueConstructor<CombinedVueInstance<Instance, Data, Methods, Computed, Props> & Vue>;
69
-
70
- export interface VueConfiguration {
71
- silent: boolean;
72
- optionMergeStrategies: any;
73
- devtools: boolean;
74
- productionTip: boolean;
75
- performance: boolean;
76
- errorHandler(err: Error, vm: Vue, info: string): void;
77
- warnHandler(msg: string, vm: Vue, trace: string): void;
78
- ignoredElements: (string | RegExp)[];
79
- keyCodes: { [key: string]: number | number[] };
80
- async: boolean;
81
- }
82
-
83
- export interface VueConstructor<V extends Vue = Vue> {
84
- new <Data = object, Methods = object, Computed = object, PropNames extends string = never>(options?: ThisTypedComponentOptionsWithArrayProps<V, Data, Methods, Computed, PropNames>): CombinedVueInstance<V, Data, Methods, Computed, Record<PropNames, any>>;
85
- // ideally, the return type should just contain Props, not Record<keyof Props, any>. But TS requires to have Base constructors with the same return type.
86
- new <Data = object, Methods = object, Computed = object, Props = object>(options?: ThisTypedComponentOptionsWithRecordProps<V, Data, Methods, Computed, Props>): CombinedVueInstance<V, Data, Methods, Computed, Record<keyof Props, any>>;
87
- new (options?: ComponentOptions<V>): CombinedVueInstance<V, object, object, object, Record<keyof object, any>>;
88
-
89
- extend<Data, Methods, Computed, PropNames extends string = never>(options?: ThisTypedComponentOptionsWithArrayProps<V, Data, Methods, Computed, PropNames>): ExtendedVue<V, Data, Methods, Computed, Record<PropNames, any>>;
90
- extend<Data, Methods, Computed, Props>(options?: ThisTypedComponentOptionsWithRecordProps<V, Data, Methods, Computed, Props>): ExtendedVue<V, Data, Methods, Computed, Props>;
91
- extend<PropNames extends string = never>(definition: FunctionalComponentOptions<Record<PropNames, any>, PropNames[]>): ExtendedVue<V, {}, {}, {}, Record<PropNames, any>>;
92
- extend<Props>(definition: FunctionalComponentOptions<Props, RecordPropsDefinition<Props>>): ExtendedVue<V, {}, {}, {}, Props>;
93
- extend(options?: ComponentOptions<V>): ExtendedVue<V, {}, {}, {}, {}>;
94
-
95
- nextTick<T>(callback: (this: T) => void, context?: T): void;
96
- nextTick(): Promise<void>
97
- set<T>(object: object, key: string | number, value: T): T;
98
- set<T>(array: T[], key: number, value: T): T;
99
- delete(object: object, key: string | number): void;
100
- delete<T>(array: T[], key: number): void;
101
-
102
- directive(
103
- id: string,
104
- definition?: DirectiveOptions | DirectiveFunction
105
- ): DirectiveOptions;
106
- filter(id: string, definition?: Function): Function;
107
-
108
- component(id: string): VueConstructor;
109
- component<VC extends VueConstructor>(id: string, constructor: VC): VC;
110
- component<Data, Methods, Computed, Props>(id: string, definition: AsyncComponent<Data, Methods, Computed, Props>): ExtendedVue<V, Data, Methods, Computed, Props>;
111
- component<Data, Methods, Computed, PropNames extends string = never>(id: string, definition?: ThisTypedComponentOptionsWithArrayProps<V, Data, Methods, Computed, PropNames>): ExtendedVue<V, Data, Methods, Computed, Record<PropNames, any>>;
112
- component<Data, Methods, Computed, Props>(id: string, definition?: ThisTypedComponentOptionsWithRecordProps<V, Data, Methods, Computed, Props>): ExtendedVue<V, Data, Methods, Computed, Props>;
113
- component<PropNames extends string>(id: string, definition: FunctionalComponentOptions<Record<PropNames, any>, PropNames[]>): ExtendedVue<V, {}, {}, {}, Record<PropNames, any>>;
114
- component<Props>(id: string, definition: FunctionalComponentOptions<Props, RecordPropsDefinition<Props>>): ExtendedVue<V, {}, {}, {}, Props>;
115
- component(id: string, definition?: ComponentOptions<V>): ExtendedVue<V, {}, {}, {}, {}>;
116
-
117
- use<T>(plugin: PluginObject<T> | PluginFunction<T>, options?: T): VueConstructor<V>;
118
- use(plugin: PluginObject<any> | PluginFunction<any>, ...options: any[]): VueConstructor<V>;
119
- mixin(mixin: VueConstructor | ComponentOptions<Vue>): VueConstructor<V>;
120
- compile(template: string): {
121
- render(createElement: typeof Vue.prototype.$createElement): VNode;
122
- staticRenderFns: (() => VNode)[];
123
- };
124
-
125
- observable<T>(obj: T): T;
126
-
127
- util: {
128
- warn(msg: string, vm?: InstanceType<VueConstructor>): void;
129
- };
130
-
131
- config: VueConfiguration;
132
- version: string;
133
- }
134
-
135
- export const Vue: VueConstructor;