@omnia/fx 8.0.355-dev → 8.0.357-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/AnchorLink.d.ts +2 -1
- 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/renderer/LayoutRendererCanvas.d.ts +7 -79
- package/internal-do-not-import-from-here/ux/layoutcanvas/stores/ReactiveLayoutItemsSettingsStore.d.ts +2 -2
- 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/profilecard/ProfileCardRenderer.d.ts +4 -2
- 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/types/vue.custom.d.ts +0 -135
@@ -2,10 +2,14 @@ import { OmniaManifests, ComponentBundleManifest } from "../../models";
|
|
2
2
|
export declare class ServiceManifestProviderInternal {
|
3
3
|
private static omniaManifests;
|
4
4
|
private static wcManifests;
|
5
|
+
private static elementNamesMappings;
|
5
6
|
static init(): Promise<void>;
|
6
7
|
static getAllOmniaManifests(): OmniaManifests[];
|
7
8
|
static getAllWebComponentsManifests(): {
|
8
9
|
[manifestId: string]: ComponentBundleManifest;
|
9
10
|
};
|
11
|
+
static getElementNamesMappings(): {
|
12
|
+
[legacyElementName: string]: string;
|
13
|
+
};
|
10
14
|
private static mergeManifests;
|
11
15
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { AnchorLinkRoute, TokenBasedRouteStateData, IMessageBusSubscriptionHandler } from "../models";
|
2
2
|
import { TokenBasedRouter } from "./TokenBasedRouter";
|
3
3
|
import { VueComponentBase } from "./VueComponentBase";
|
4
|
+
import { ComponentPublicInstance } from "vue";
|
4
5
|
interface AnchorLinkConfiguration {
|
5
6
|
validate(anchorName: string): boolean;
|
6
7
|
trigger?(options: AnchorLinkTriggerOptions): void;
|
@@ -30,7 +31,7 @@ export declare class AnchorLink {
|
|
30
31
|
router: InternalAnchorLinkRouter;
|
31
32
|
private disabled;
|
32
33
|
constructor();
|
33
|
-
initInheritedState(currentComponent: VueComponentBase): void;
|
34
|
+
initInheritedState(currentComponent: VueComponentBase | ComponentPublicInstance): void;
|
34
35
|
get tokenExistsOnUrl(): boolean;
|
35
36
|
get enabled(): boolean;
|
36
37
|
disable(): void;
|
@@ -70,8 +70,8 @@ declare const _default: {
|
|
70
70
|
}>>, () => 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 & {
|
71
71
|
propsDefinition: Omit<Readonly<{} & {
|
72
72
|
context?: import("@omnia/fx-models").AppProvisioningStepContext;
|
73
|
-
allowMultipleAppAdministrators?: boolean;
|
74
73
|
allowMemberAndGroup?: boolean;
|
74
|
+
allowMultipleAppAdministrators?: boolean;
|
75
75
|
registerOnGoToNext?: (onGoToNext: () => Promise<boolean>) => void;
|
76
76
|
registerOnGoToPrev?: (onGoToPrev: () => Promise<boolean>) => void;
|
77
77
|
isJourneyProvisioning?: boolean;
|
@@ -70,8 +70,8 @@ declare const _default: {
|
|
70
70
|
}>>, () => 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 & {
|
71
71
|
propsDefinition: Omit<Readonly<{} & {
|
72
72
|
context?: import("@omnia/fx-models").AppProvisioningStepContext;
|
73
|
-
allowMultipleAppAdministrators?: boolean;
|
74
73
|
allowMemberAndGroup?: boolean;
|
74
|
+
allowMultipleAppAdministrators?: boolean;
|
75
75
|
registerOnGoToNext?: (onGoToNext: () => Promise<boolean>) => void;
|
76
76
|
registerOnGoToPrev?: (onGoToPrev: () => Promise<boolean>) => void;
|
77
77
|
isJourneyProvisioning?: boolean;
|
@@ -70,8 +70,8 @@ declare const _default: {
|
|
70
70
|
}>>, () => 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 & {
|
71
71
|
propsDefinition: Omit<Readonly<{} & {
|
72
72
|
context?: import("@omnia/fx-models").AppProvisioningStepContext;
|
73
|
-
allowMultipleAppAdministrators?: boolean;
|
74
73
|
allowMemberAndGroup?: boolean;
|
74
|
+
allowMultipleAppAdministrators?: boolean;
|
75
75
|
registerOnGoToNext?: (onGoToNext: () => Promise<boolean>) => void;
|
76
76
|
registerOnGoToPrev?: (onGoToPrev: () => Promise<boolean>) => void;
|
77
77
|
isJourneyProvisioning?: boolean;
|
@@ -70,8 +70,8 @@ declare const _default: {
|
|
70
70
|
}>>, () => 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 & {
|
71
71
|
propsDefinition: Omit<Readonly<{} & {
|
72
72
|
context?: import("@omnia/fx-models").AppProvisioningStepContext;
|
73
|
-
allowMultipleAppAdministrators?: boolean;
|
74
73
|
allowMemberAndGroup?: boolean;
|
74
|
+
allowMultipleAppAdministrators?: boolean;
|
75
75
|
registerOnGoToNext?: (onGoToNext: () => Promise<boolean>) => void;
|
76
76
|
registerOnGoToPrev?: (onGoToPrev: () => Promise<boolean>) => void;
|
77
77
|
isJourneyProvisioning?: boolean;
|
@@ -1,327 +1,17 @@
|
|
1
|
+
import { WizardStyles, DefineProp, DefineEmit } from "@omnia/fx/ux";
|
1
2
|
import { AppDefinition, AppInstance, AppTemplate, guid } from "../../../models";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
isSort: {
|
8
|
-
type: import("vue").PropType<boolean>;
|
9
|
-
};
|
10
|
-
stylesTemplate: {
|
11
|
-
type: import("vue").PropType<{
|
12
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
13
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
14
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
15
|
-
}>;
|
16
|
-
};
|
17
|
-
templatePickerWrapperClass: {
|
18
|
-
type: import("vue").PropType<string>;
|
19
|
-
};
|
20
|
-
colsGrid: {
|
21
|
-
type: import("vue").PropType<number>;
|
22
|
-
};
|
23
|
-
horizontalMinHeight: {
|
24
|
-
type: import("vue").PropType<number>;
|
25
|
-
};
|
26
|
-
isOnDialog: {
|
27
|
-
type: import("vue").PropType<boolean>;
|
28
|
-
};
|
29
|
-
templatesToShow: {
|
30
|
-
type: import("vue").PropType<guid[]>;
|
31
|
-
};
|
32
|
-
initialAppInstance: {
|
33
|
-
type: import("vue").PropType<AppInstance>;
|
34
|
-
};
|
35
|
-
initialAppDefinition: {
|
36
|
-
type: import("vue").PropType<AppDefinition>;
|
37
|
-
};
|
38
|
-
initialAppTemplate: {
|
39
|
-
type: import("vue").PropType<AppTemplate>;
|
40
|
-
};
|
41
|
-
styles: {
|
42
|
-
type: import("vue").PropType<{
|
43
|
-
container?: import("typestyle/lib/types").NestedCSSProperties;
|
44
|
-
card?: import("typestyle/lib/types").NestedCSSProperties;
|
45
|
-
header?: import("typestyle/lib/types").NestedCSSProperties;
|
46
|
-
content?: import("typestyle/lib/types").NestedCSSProperties;
|
47
|
-
bottom?: import("typestyle/lib/types").NestedCSSProperties;
|
48
|
-
outline?: import("typestyle/lib/types").NestedCSSProperties;
|
49
|
-
verticalDialogStep?: import("typestyle/lib/types").NestedCSSProperties;
|
50
|
-
horizontalStepContentMinHeightWrapper?: (isHeaderShown: boolean, parentMinHeight: number) => import("typestyle/lib/types").NestedCSSProperties;
|
51
|
-
textFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
52
|
-
summaryHeadingStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
53
|
-
summaryPersonFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
54
|
-
}>;
|
55
|
-
};
|
56
|
-
allowMemberAndGroup: {
|
57
|
-
type: import("vue").PropType<boolean>;
|
58
|
-
};
|
59
|
-
allowMultipleAppAdministrators: {
|
60
|
-
type: import("vue").PropType<boolean>;
|
61
|
-
};
|
62
|
-
enableUserStep: {
|
63
|
-
type: import("vue").PropType<boolean>;
|
64
|
-
};
|
65
|
-
onProvisioningCompleted: {
|
66
|
-
type: import("vue").PropType<(appInstance: AppInstance) => void>;
|
67
|
-
};
|
68
|
-
onInstancePropertiesChanged: {
|
69
|
-
type: import("vue").PropType<() => void>;
|
70
|
-
};
|
71
|
-
onProvisioningStarted: {
|
72
|
-
type: import("vue").PropType<() => void>;
|
73
|
-
};
|
74
|
-
onProvisioningCanceled: {
|
75
|
-
type: import("vue").PropType<() => void>;
|
76
|
-
};
|
77
|
-
onApproved: {
|
78
|
-
type: import("vue").PropType<() => void>;
|
79
|
-
};
|
80
|
-
showEnabledTemplatesOnly: {
|
81
|
-
type: import("vue").PropType<boolean>;
|
82
|
-
};
|
83
|
-
appDefinitionId: {
|
84
|
-
type: import("vue").PropType<guid>;
|
85
|
-
};
|
86
|
-
}>> & {
|
87
|
-
onDoc$?: (description?: string) => any;
|
88
|
-
onRefreshAllTabs?: () => any;
|
89
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
90
|
-
refreshAllTabs: () => void;
|
91
|
-
doc$(description?: string): {
|
92
|
-
refreshAllTabs: () => void;
|
93
|
-
};
|
94
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
95
|
-
P: {};
|
96
|
-
B: {};
|
97
|
-
D: {};
|
98
|
-
C: {};
|
99
|
-
M: {};
|
100
|
-
Defaults: {};
|
101
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
102
|
-
isBlade: {
|
103
|
-
type: import("vue").PropType<boolean>;
|
104
|
-
};
|
105
|
-
isSort: {
|
106
|
-
type: import("vue").PropType<boolean>;
|
107
|
-
};
|
108
|
-
stylesTemplate: {
|
109
|
-
type: import("vue").PropType<{
|
110
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
111
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
112
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
113
|
-
}>;
|
114
|
-
};
|
115
|
-
templatePickerWrapperClass: {
|
116
|
-
type: import("vue").PropType<string>;
|
117
|
-
};
|
118
|
-
colsGrid: {
|
119
|
-
type: import("vue").PropType<number>;
|
120
|
-
};
|
121
|
-
horizontalMinHeight: {
|
122
|
-
type: import("vue").PropType<number>;
|
123
|
-
};
|
124
|
-
isOnDialog: {
|
125
|
-
type: import("vue").PropType<boolean>;
|
126
|
-
};
|
127
|
-
templatesToShow: {
|
128
|
-
type: import("vue").PropType<guid[]>;
|
129
|
-
};
|
130
|
-
initialAppInstance: {
|
131
|
-
type: import("vue").PropType<AppInstance>;
|
132
|
-
};
|
133
|
-
initialAppDefinition: {
|
134
|
-
type: import("vue").PropType<AppDefinition>;
|
135
|
-
};
|
136
|
-
initialAppTemplate: {
|
137
|
-
type: import("vue").PropType<AppTemplate>;
|
138
|
-
};
|
139
|
-
styles: {
|
140
|
-
type: import("vue").PropType<{
|
141
|
-
container?: import("typestyle/lib/types").NestedCSSProperties;
|
142
|
-
card?: import("typestyle/lib/types").NestedCSSProperties;
|
143
|
-
header?: import("typestyle/lib/types").NestedCSSProperties;
|
144
|
-
content?: import("typestyle/lib/types").NestedCSSProperties;
|
145
|
-
bottom?: import("typestyle/lib/types").NestedCSSProperties;
|
146
|
-
outline?: import("typestyle/lib/types").NestedCSSProperties;
|
147
|
-
verticalDialogStep?: import("typestyle/lib/types").NestedCSSProperties;
|
148
|
-
horizontalStepContentMinHeightWrapper?: (isHeaderShown: boolean, parentMinHeight: number) => import("typestyle/lib/types").NestedCSSProperties;
|
149
|
-
textFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
150
|
-
summaryHeadingStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
151
|
-
summaryPersonFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
152
|
-
}>;
|
153
|
-
};
|
154
|
-
allowMemberAndGroup: {
|
155
|
-
type: import("vue").PropType<boolean>;
|
156
|
-
};
|
157
|
-
allowMultipleAppAdministrators: {
|
158
|
-
type: import("vue").PropType<boolean>;
|
159
|
-
};
|
160
|
-
enableUserStep: {
|
161
|
-
type: import("vue").PropType<boolean>;
|
162
|
-
};
|
163
|
-
onProvisioningCompleted: {
|
164
|
-
type: import("vue").PropType<(appInstance: AppInstance) => void>;
|
165
|
-
};
|
166
|
-
onInstancePropertiesChanged: {
|
167
|
-
type: import("vue").PropType<() => void>;
|
168
|
-
};
|
169
|
-
onProvisioningStarted: {
|
170
|
-
type: import("vue").PropType<() => void>;
|
171
|
-
};
|
172
|
-
onProvisioningCanceled: {
|
173
|
-
type: import("vue").PropType<() => void>;
|
174
|
-
};
|
175
|
-
onApproved: {
|
176
|
-
type: import("vue").PropType<() => void>;
|
177
|
-
};
|
178
|
-
showEnabledTemplatesOnly: {
|
179
|
-
type: import("vue").PropType<boolean>;
|
180
|
-
};
|
181
|
-
appDefinitionId: {
|
182
|
-
type: import("vue").PropType<guid>;
|
183
|
-
};
|
184
|
-
}>> & {
|
185
|
-
onDoc$?: (description?: string) => any;
|
186
|
-
onRefreshAllTabs?: () => any;
|
187
|
-
}, () => JSX.Element, {}, {}, {}, {}>;
|
188
|
-
__isFragment?: never;
|
189
|
-
__isTeleport?: never;
|
190
|
-
__isSuspense?: never;
|
191
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
192
|
-
isBlade: {
|
193
|
-
type: import("vue").PropType<boolean>;
|
194
|
-
};
|
195
|
-
isSort: {
|
196
|
-
type: import("vue").PropType<boolean>;
|
197
|
-
};
|
198
|
-
stylesTemplate: {
|
199
|
-
type: import("vue").PropType<{
|
200
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
201
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
202
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
203
|
-
}>;
|
204
|
-
};
|
205
|
-
templatePickerWrapperClass: {
|
206
|
-
type: import("vue").PropType<string>;
|
207
|
-
};
|
208
|
-
colsGrid: {
|
209
|
-
type: import("vue").PropType<number>;
|
210
|
-
};
|
211
|
-
horizontalMinHeight: {
|
212
|
-
type: import("vue").PropType<number>;
|
213
|
-
};
|
214
|
-
isOnDialog: {
|
215
|
-
type: import("vue").PropType<boolean>;
|
216
|
-
};
|
217
|
-
templatesToShow: {
|
218
|
-
type: import("vue").PropType<guid[]>;
|
219
|
-
};
|
220
|
-
initialAppInstance: {
|
221
|
-
type: import("vue").PropType<AppInstance>;
|
222
|
-
};
|
223
|
-
initialAppDefinition: {
|
224
|
-
type: import("vue").PropType<AppDefinition>;
|
225
|
-
};
|
226
|
-
initialAppTemplate: {
|
227
|
-
type: import("vue").PropType<AppTemplate>;
|
228
|
-
};
|
229
|
-
styles: {
|
230
|
-
type: import("vue").PropType<{
|
231
|
-
container?: import("typestyle/lib/types").NestedCSSProperties;
|
232
|
-
card?: import("typestyle/lib/types").NestedCSSProperties;
|
233
|
-
header?: import("typestyle/lib/types").NestedCSSProperties;
|
234
|
-
content?: import("typestyle/lib/types").NestedCSSProperties;
|
235
|
-
bottom?: import("typestyle/lib/types").NestedCSSProperties;
|
236
|
-
outline?: import("typestyle/lib/types").NestedCSSProperties;
|
237
|
-
verticalDialogStep?: import("typestyle/lib/types").NestedCSSProperties;
|
238
|
-
horizontalStepContentMinHeightWrapper?: (isHeaderShown: boolean, parentMinHeight: number) => import("typestyle/lib/types").NestedCSSProperties;
|
239
|
-
textFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
240
|
-
summaryHeadingStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
241
|
-
summaryPersonFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
242
|
-
}>;
|
243
|
-
};
|
244
|
-
allowMemberAndGroup: {
|
245
|
-
type: import("vue").PropType<boolean>;
|
246
|
-
};
|
247
|
-
allowMultipleAppAdministrators: {
|
248
|
-
type: import("vue").PropType<boolean>;
|
249
|
-
};
|
250
|
-
enableUserStep: {
|
251
|
-
type: import("vue").PropType<boolean>;
|
252
|
-
};
|
253
|
-
onProvisioningCompleted: {
|
254
|
-
type: import("vue").PropType<(appInstance: AppInstance) => void>;
|
255
|
-
};
|
256
|
-
onInstancePropertiesChanged: {
|
257
|
-
type: import("vue").PropType<() => void>;
|
258
|
-
};
|
259
|
-
onProvisioningStarted: {
|
260
|
-
type: import("vue").PropType<() => void>;
|
261
|
-
};
|
262
|
-
onProvisioningCanceled: {
|
263
|
-
type: import("vue").PropType<() => void>;
|
264
|
-
};
|
265
|
-
onApproved: {
|
266
|
-
type: import("vue").PropType<() => void>;
|
267
|
-
};
|
268
|
-
showEnabledTemplatesOnly: {
|
269
|
-
type: import("vue").PropType<boolean>;
|
270
|
-
};
|
271
|
-
appDefinitionId: {
|
272
|
-
type: import("vue").PropType<guid>;
|
273
|
-
};
|
274
|
-
}>> & {
|
275
|
-
onDoc$?: (description?: string) => any;
|
3
|
+
import { TemplateStyles } from "../../templatepicker/TemplatePicker.css";
|
4
|
+
import { appProvisioningComponentBaseProps } from "../components";
|
5
|
+
type AppProvisioningWizardProps = appProvisioningComponentBaseProps & DefineProp<"styles", typeof WizardStyles> & DefineProp<"stylesTemplate", typeof TemplateStyles> & DefineProp<"initialAppTemplate", AppTemplate> & DefineProp<"initialAppDefinition", AppDefinition> & DefineProp<"initialAppInstance", AppInstance> & DefineProp<"templatesToShow", Array<guid>> & DefineProp<"isOnDialog", boolean> & DefineProp<"horizontalMinHeight", number> & DefineProp<"colsGrid", number> & DefineProp<"templatePickerWrapperClass", string> & DefineProp<"isSort", boolean> & DefineProp<"isBlade", boolean> & DefineEmit<"refreshAllTabs", () => void>;
|
6
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<AppProvisioningWizardProps> & {
|
7
|
+
onApproved?: () => any;
|
276
8
|
onRefreshAllTabs?: () => any;
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
}
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
styles?: {
|
286
|
-
container?: import("typestyle/lib/types").NestedCSSProperties;
|
287
|
-
card?: import("typestyle/lib/types").NestedCSSProperties;
|
288
|
-
header?: import("typestyle/lib/types").NestedCSSProperties;
|
289
|
-
content?: import("typestyle/lib/types").NestedCSSProperties;
|
290
|
-
bottom?: import("typestyle/lib/types").NestedCSSProperties;
|
291
|
-
outline?: import("typestyle/lib/types").NestedCSSProperties;
|
292
|
-
verticalDialogStep?: import("typestyle/lib/types").NestedCSSProperties;
|
293
|
-
horizontalStepContentMinHeightWrapper?: (isHeaderShown: boolean, parentMinHeight: number) => import("typestyle/lib/types").NestedCSSProperties;
|
294
|
-
textFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
295
|
-
summaryHeadingStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
296
|
-
summaryPersonFieldStyles?: import("typestyle/lib/types").NestedCSSProperties;
|
297
|
-
};
|
298
|
-
colsGrid?: number;
|
299
|
-
stylesTemplate?: {
|
300
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
301
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
302
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
303
|
-
};
|
304
|
-
isSort?: boolean;
|
305
|
-
isOnDialog?: boolean;
|
306
|
-
horizontalMinHeight?: number;
|
307
|
-
initialAppInstance?: AppInstance;
|
308
|
-
showEnabledTemplatesOnly?: boolean;
|
309
|
-
onApproved?: () => void;
|
310
|
-
onProvisioningCanceled?: () => void;
|
311
|
-
onProvisioningStarted?: () => void;
|
312
|
-
onInstancePropertiesChanged?: () => void;
|
313
|
-
onProvisioningCompleted?: (appInstance: AppInstance) => void;
|
314
|
-
enableUserStep?: boolean;
|
315
|
-
allowMultipleAppAdministrators?: boolean;
|
316
|
-
allowMemberAndGroup?: boolean;
|
317
|
-
initialAppTemplate?: AppTemplate;
|
318
|
-
initialAppDefinition?: AppDefinition;
|
319
|
-
templatesToShow?: guid[];
|
320
|
-
templatePickerWrapperClass?: string;
|
321
|
-
isBlade?: boolean;
|
322
|
-
}>, "onDoc$" | "onRefreshAllTabs"> & {
|
323
|
-
onDoc$?: (description?: string) => any;
|
324
|
-
onRefreshAllTabs?: () => any;
|
325
|
-
};
|
326
|
-
};
|
9
|
+
onProvisioningCanceled?: () => any;
|
10
|
+
onInstancePropertiesChanged?: () => any;
|
11
|
+
onProvisioningCompleted?: (appInstance: AppInstance) => any;
|
12
|
+
} & {
|
13
|
+
"v-slots"?: {} & Omit<{
|
14
|
+
default?: import("vue").Slot;
|
15
|
+
}, never>;
|
16
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appDefinitionId" | "styles" | "colsGrid" | "stylesTemplate" | "isSort" | "isOnDialog" | "horizontalMinHeight" | "initialAppInstance" | "emit:refreshAllTabs" | "showEnabledTemplatesOnly" | "enableUserStep" | "allowMemberAndGroup" | "allowMultipleAppAdministrators" | "emit:approved" | "emit:provisioningCanceled" | "emit:instancePropertiesChanged" | "emit:provisioningCompleted" | "initialAppTemplate" | "initialAppDefinition" | "templatesToShow" | "templatePickerWrapperClass" | "isBlade"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
327
17
|
export default _default;
|
@@ -5,7 +5,7 @@ export interface IAppInstanceFeatureVueComponentProps {
|
|
5
5
|
registerOnGoToNext: (onGoToNext: () => Promise<boolean>) => void;
|
6
6
|
registerOnGoToPrev: (onGoToPrev: () => Promise<boolean>) => void;
|
7
7
|
}
|
8
|
-
declare const
|
8
|
+
export declare const AppInstanceFeatureVueComponent: {
|
9
9
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
10
10
|
elementToRender: {
|
11
11
|
type: import("vue").PropType<string>;
|
@@ -87,11 +87,10 @@ declare const _default: {
|
|
87
87
|
propsDefinition: Omit<Readonly<{} & {
|
88
88
|
context?: AppProvisioningStepContext;
|
89
89
|
elementToRender?: string;
|
90
|
-
allowMultipleAppAdministrators?: boolean;
|
91
90
|
allowMemberAndGroup?: boolean;
|
91
|
+
allowMultipleAppAdministrators?: boolean;
|
92
92
|
registerOnGoToNext?: (onGoToNext: () => Promise<boolean>) => void;
|
93
93
|
registerOnGoToPrev?: (onGoToPrev: () => Promise<boolean>) => void;
|
94
94
|
isJourneyProvisioning?: boolean;
|
95
95
|
}>, never>;
|
96
96
|
};
|
97
|
-
export default _default;
|
@@ -1,162 +1,38 @@
|
|
1
1
|
import { AppDefinition, AppTemplate, guid } from "@omnia/fx-models";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
initialAppTemplateId: {
|
40
|
-
type: import("vue").PropType<guid>;
|
41
|
-
required: false;
|
42
|
-
};
|
43
|
-
appDefinitionId: {
|
44
|
-
type: import("vue").PropType<guid>;
|
45
|
-
};
|
46
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
47
|
-
P: {};
|
48
|
-
B: {};
|
49
|
-
D: {};
|
50
|
-
C: {};
|
51
|
-
M: {};
|
52
|
-
Defaults: {};
|
53
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
54
|
-
isSort: {
|
55
|
-
type: import("vue").PropType<boolean>;
|
56
|
-
};
|
57
|
-
wrapperClass: {
|
58
|
-
type: import("vue").PropType<string>;
|
59
|
-
};
|
60
|
-
stylesTemplate: {
|
61
|
-
type: import("vue").PropType<{
|
62
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
63
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
64
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
65
|
-
}>;
|
66
|
-
};
|
67
|
-
colsGrid: {
|
68
|
-
type: import("vue").PropType<number>;
|
69
|
-
};
|
70
|
-
templatesToShow: {
|
71
|
-
type: import("vue").PropType<guid[]>;
|
72
|
-
};
|
73
|
-
waitingAfterTemplateSelected: {
|
74
|
-
type: import("vue").PropType<boolean>;
|
75
|
-
};
|
76
|
-
handleTemplateSelected: {
|
77
|
-
type: import("vue").PropType<(template: AppTemplate, definition: AppDefinition) => void>;
|
78
|
-
};
|
79
|
-
showEnabledTemplatesOnly: {
|
80
|
-
type: import("vue").PropType<boolean>;
|
81
|
-
};
|
82
|
-
"onUpdate:initialAppTemplateId": {
|
83
|
-
type: import("vue").PropType<(value: guid) => any | void>;
|
84
|
-
};
|
85
|
-
"v-model:initialAppTemplateId": {
|
86
|
-
type: import("vue").PropType<guid>;
|
87
|
-
required: false;
|
88
|
-
};
|
89
|
-
initialAppTemplateId: {
|
90
|
-
type: import("vue").PropType<guid>;
|
91
|
-
required: false;
|
92
|
-
};
|
93
|
-
appDefinitionId: {
|
94
|
-
type: import("vue").PropType<guid>;
|
95
|
-
};
|
96
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
97
|
-
__isFragment?: never;
|
98
|
-
__isTeleport?: never;
|
99
|
-
__isSuspense?: never;
|
100
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
101
|
-
isSort: {
|
102
|
-
type: import("vue").PropType<boolean>;
|
103
|
-
};
|
104
|
-
wrapperClass: {
|
105
|
-
type: import("vue").PropType<string>;
|
106
|
-
};
|
107
|
-
stylesTemplate: {
|
108
|
-
type: import("vue").PropType<{
|
109
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
110
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
111
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
112
|
-
}>;
|
113
|
-
};
|
114
|
-
colsGrid: {
|
115
|
-
type: import("vue").PropType<number>;
|
116
|
-
};
|
117
|
-
templatesToShow: {
|
118
|
-
type: import("vue").PropType<guid[]>;
|
119
|
-
};
|
120
|
-
waitingAfterTemplateSelected: {
|
121
|
-
type: import("vue").PropType<boolean>;
|
122
|
-
};
|
123
|
-
handleTemplateSelected: {
|
124
|
-
type: import("vue").PropType<(template: AppTemplate, definition: AppDefinition) => void>;
|
125
|
-
};
|
126
|
-
showEnabledTemplatesOnly: {
|
127
|
-
type: import("vue").PropType<boolean>;
|
128
|
-
};
|
129
|
-
"onUpdate:initialAppTemplateId": {
|
130
|
-
type: import("vue").PropType<(value: guid) => any | void>;
|
131
|
-
};
|
132
|
-
"v-model:initialAppTemplateId": {
|
133
|
-
type: import("vue").PropType<guid>;
|
134
|
-
required: false;
|
135
|
-
};
|
136
|
-
initialAppTemplateId: {
|
137
|
-
type: import("vue").PropType<guid>;
|
138
|
-
required: false;
|
139
|
-
};
|
140
|
-
appDefinitionId: {
|
141
|
-
type: import("vue").PropType<guid>;
|
142
|
-
};
|
143
|
-
}>>, () => 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 & {
|
144
|
-
propsDefinition: Omit<Readonly<{} & {
|
145
|
-
appDefinitionId?: guid;
|
146
|
-
colsGrid?: number;
|
147
|
-
stylesTemplate?: {
|
148
|
-
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
149
|
-
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
150
|
-
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
151
|
-
};
|
152
|
-
isSort?: boolean;
|
153
|
-
showEnabledTemplatesOnly?: boolean;
|
154
|
-
templatesToShow?: guid[];
|
155
|
-
initialAppTemplateId?: guid;
|
156
|
-
"onUpdate:initialAppTemplateId"?: (value: guid) => any | void;
|
157
|
-
"v-model:initialAppTemplateId"?: guid;
|
158
|
-
handleTemplateSelected?: (template: AppTemplate, definition: AppDefinition) => void;
|
159
|
-
waitingAfterTemplateSelected?: boolean;
|
160
|
-
wrapperClass?: string;
|
161
|
-
}>, never>;
|
162
|
-
};
|
2
|
+
import { DefineEmit } from "@omnia/fx/ux";
|
3
|
+
export declare const AppInstanceTemplatePickerVueComponent: (props: import("@omnia/fx/ux").ExtractProps<{
|
4
|
+
"emit:update:initialAppTemplateId": (value: guid) => void;
|
5
|
+
} & {
|
6
|
+
"v-model:initialAppTemplateId"?: guid;
|
7
|
+
} & {
|
8
|
+
initialAppTemplateId?: guid;
|
9
|
+
} & {
|
10
|
+
appDefinitionId?: guid;
|
11
|
+
} & {
|
12
|
+
showEnabledTemplatesOnly?: boolean;
|
13
|
+
} & {
|
14
|
+
waitingAfterTemplateSelected?: boolean;
|
15
|
+
} & {
|
16
|
+
templatesToShow?: guid[];
|
17
|
+
} & {
|
18
|
+
colsGrid?: number;
|
19
|
+
} & {
|
20
|
+
stylesTemplate?: {
|
21
|
+
itemTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
22
|
+
titleTemplateStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
23
|
+
buttonStyle?: import("typestyle/lib/types").NestedCSSProperties;
|
24
|
+
};
|
25
|
+
} & {
|
26
|
+
wrapperClass?: string;
|
27
|
+
} & {
|
28
|
+
isSort?: boolean;
|
29
|
+
} & {
|
30
|
+
isBlade?: boolean;
|
31
|
+
} & DefineEmit<"handleTemplateSelected", (template: AppTemplate, definition: AppDefinition) => void>> & {
|
32
|
+
onHandleTemplateSelected?: (template: AppTemplate, definition: AppDefinition) => any;
|
33
|
+
"onUpdate:initialAppTemplateId"?: (value: guid) => any;
|
34
|
+
} & {
|
35
|
+
"v-slots"?: {} & Omit<{
|
36
|
+
default?: import("vue").Slot;
|
37
|
+
}, never>;
|
38
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "appDefinitionId" | "colsGrid" | "stylesTemplate" | "isSort" | "showEnabledTemplatesOnly" | "templatesToShow" | "isBlade" | "initialAppTemplateId" | "emit:update:initialAppTemplateId" | "v-model:initialAppTemplateId" | "waitingAfterTemplateSelected" | "wrapperClass" | "emit:handleTemplateSelected"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
@@ -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: {
|
@@ -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,4 +1,4 @@
|
|
1
|
-
import { ReactiveLayoutItemSettings, IReactiveLayoutItemsSettingsStore, BlockSettings, IMessageBusTopicSubscription } from "../../../models";
|
1
|
+
import { ReactiveLayoutItemSettings, IReactiveLayoutItemsSettingsStore, BlockSettings, guid, IMessageBusTopicSubscription } from "../../../models";
|
2
2
|
import { MessageBusTopicMediator } from "../../../core";
|
3
3
|
interface ReactiveLayoutItemSettingsExtends extends ReactiveLayoutItemSettings {
|
4
4
|
readyWatchSettings?: boolean;
|
@@ -20,7 +20,7 @@ export declare class ReactiveLayoutItemsSettingsStore implements IReactiveLayout
|
|
20
20
|
copySetting(existingKey: string, newKey: string): ReactiveLayoutItemSettings;
|
21
21
|
deleteSetting(key: string): void;
|
22
22
|
resetSetting(key: string): void;
|
23
|
-
updateSettingsElement(id: string,
|
23
|
+
updateSettingsElement(id: string, editElementManifestId: guid): void;
|
24
24
|
registerWatchSettings(settings: ReactiveLayoutItemSettingsExtends): void;
|
25
25
|
getSettingsSubcriber<TSettings = void>(settingKey: string): IMessageBusTopicSubscription<TSettings>;
|
26
26
|
getSettings(): BlockSettings;
|
@@ -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> & {} & {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { UserIdentity } from "@omnia/fx-models";
|
2
|
+
import { DefineEmit } from "@omnia/fx/ux";
|
2
3
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
3
4
|
"emit:update:modelValue": (value: UserIdentity) => void;
|
4
5
|
} & {
|
@@ -7,11 +8,12 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
|
|
7
8
|
modelValue?: UserIdentity;
|
8
9
|
} & {
|
9
10
|
removeElementAfterClosing?: boolean;
|
10
|
-
}
|
11
|
+
} & DefineEmit<"close", () => void>> & {
|
12
|
+
onClose?: () => any;
|
11
13
|
"onUpdate:modelValue"?: (value: UserIdentity) => any;
|
12
14
|
} & {
|
13
15
|
"v-slots"?: {} & Omit<{
|
14
16
|
default?: import("vue").Slot;
|
15
17
|
}, never>;
|
16
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "v-model" | "emit:update:modelValue" | "removeElementAfterClosing"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
18
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "v-model" | "emit:update:modelValue" | "emit:close" | "removeElementAfterClosing"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
17
19
|
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.
|
4
|
+
"version": "8.0.357-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.
|
23
|
+
"@omnia/fx-models": "8.0.357-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/
|
6
|
-
const destPath = path.join(process.cwd(), "../../vue/
|
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
|
+
}
|
package/types/vue.custom.d.ts
DELETED
@@ -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;
|