@omnia/fx 8.0.94-vnext → 8.0.96-vnext
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/stores/oxide/ComponentHostStore.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.css.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +80 -32
- package/internal-do-not-import-from-here/ux/journey/v2/JourneyBlade.d.ts +36 -47
- package/internal-do-not-import-from-here/ux/journey/v2/JourneyMenu.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/journey/v2/models/BladeInstance.d.ts +2 -7
- package/internal-do-not-import-from-here/ux/journey/v2/stores/JourneyStore.d.ts +14 -11
- package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +18 -1
- package/internal-do-not-import-from-here/ux/oxide/badge/Badge.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +16 -5
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.css.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/oxide/hostprovider/HostProvider.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +22 -0
- package/internal-do-not-import-from-here/ux/oxide/panel/docs/ShowHide.d.ts +91 -0
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.css.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.d.ts +426 -0
- package/internal-do-not-import-from-here/ux/properties/block/shared/PropertyBlockModels.d.ts +2 -5
- package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyValueRenderer.d.ts +45 -1
- package/internal-do-not-import-from-here/ux/typographypicker/TypographyPicker.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +10 -1
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +7 -3
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronEditorBuilder.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/editor/VelcronPropertyMappingEditorBuilder.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronPropertyMappingStateBuilder.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/velcron/core/templatebuilder/state/VelcronStateBuilder.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ImageEditor.d.ts +450 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/TypographyEditor.d.ts +455 -0
- package/internal-do-not-import-from-here/wctypings.d.ts +511 -504
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const HostTypeDefinitions: readonly ["admin", "editor", "docs"];
|
2
2
|
export type HostTypes = typeof HostTypeDefinitions[number];
|
3
|
-
declare const ComponentHostTypeDefinitions: readonly ["dialog", "drawer", "expansion-panel", "blade", "app", "table", "appbar", "toolbar", "tab", "tab-vertical", "panel", "omfx"];
|
3
|
+
declare const ComponentHostTypeDefinitions: readonly ["dialog", "drawer", "expansion-panel", "blade", "app", "table", "appbar", "toolbar", "tab", "tab-vertical", "panel", "omfx", "menu"];
|
4
4
|
export type ComponentHostTypes = typeof ComponentHostTypeDefinitions[number];
|
5
5
|
declare const ComponentVariantDefinitions: readonly ["footer", "content", "navigation", "header", "settings", "info-section", "default", "section"];
|
6
6
|
export type ComponentVariants = typeof ComponentVariantDefinitions[number];
|
@@ -14,7 +14,7 @@ export interface NewHostSettings {
|
|
14
14
|
export declare const useCompontentHostStore: (newInstanceWithName?: string) => {
|
15
15
|
state: {
|
16
16
|
host: "admin" | "editor" | "docs";
|
17
|
-
componentHost: "dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
17
|
+
componentHost: "dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
18
18
|
componentVariant: "section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section";
|
19
19
|
appliedComponents: string[];
|
20
20
|
force: boolean;
|
@@ -22,7 +22,7 @@ export declare const useCompontentHostStore: (newInstanceWithName?: string) => {
|
|
22
22
|
get: {
|
23
23
|
canApplyOn: (hostType: ComponentHostTypes | HostTypes, variant?: any) => boolean;
|
24
24
|
readonly host: "admin" | "editor" | "docs";
|
25
|
-
readonly componentHost: "dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
25
|
+
readonly componentHost: "dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx";
|
26
26
|
readonly componentVariant: "section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section";
|
27
27
|
readonly force: boolean;
|
28
28
|
appliedComponents(host: string): boolean;
|
@@ -38,8 +38,8 @@ export declare const useCompontentHostStore: (newInstanceWithName?: string) => {
|
|
38
38
|
events: {
|
39
39
|
onMutatingHost: import("@omnia/fx").EventHook<"admin" | "editor" | "docs">;
|
40
40
|
onMutatedHost: import("@omnia/fx").EventHook<"admin" | "editor" | "docs">;
|
41
|
-
onMutatingComponentHost: import("@omnia/fx").EventHook<"dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
42
|
-
onMutatedComponentHost: import("@omnia/fx").EventHook<"dialog" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
41
|
+
onMutatingComponentHost: import("@omnia/fx").EventHook<"dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
42
|
+
onMutatedComponentHost: import("@omnia/fx").EventHook<"dialog" | "menu" | "table" | "toolbar" | "tab" | "blade" | "app" | "drawer" | "expansion-panel" | "appbar" | "tab-vertical" | "panel" | "omfx">;
|
43
43
|
onMutatingComponentVariant: import("@omnia/fx").EventHook<"section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section">;
|
44
44
|
onMutatedComponentVariant: import("@omnia/fx").EventHook<"section" | "navigation" | "default" | "footer" | "header" | "content" | "settings" | "info-section">;
|
45
45
|
onMutatingAppliedComponents: import("@omnia/fx").EventHook<string[]>;
|
@@ -4,5 +4,8 @@ export type FilterSizes = typeof FilterSizeDefinitions[number];
|
|
4
4
|
export declare const FilterSizesName = "FilterSizes";
|
5
5
|
export declare const FilterPickerStyles: {
|
6
6
|
lastItem: string;
|
7
|
+
actionIcon: (size: FilterSizes) => string;
|
8
|
+
sortButton: string;
|
9
|
+
icon: (size: FilterSizes) => string;
|
7
10
|
wrapper: (base: ColorDefinition, onBase: ColorDefinition, selected: boolean, size: FilterSizes, grow: boolean) => string;
|
8
11
|
};
|
@@ -1,7 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
id: any;
|
4
|
-
}
|
1
|
+
import { VNodeChild } from "vue";
|
2
|
+
import { FilterPickerFilter } from "@omnia/fx-models";
|
5
3
|
declare const _default: {
|
6
4
|
new (...args: any[]): {
|
7
5
|
$: import("vue").ComponentInternalInstance;
|
@@ -15,7 +13,7 @@ declare const _default: {
|
|
15
13
|
style?: unknown;
|
16
14
|
class?: String | String[];
|
17
15
|
key?: string | number | symbol;
|
18
|
-
readonly filters:
|
16
|
+
readonly filters: FilterPickerFilter[];
|
19
17
|
readonly size?: "small" | "default" | "x-small";
|
20
18
|
ref?: import("vue").VNodeRef;
|
21
19
|
ref_for?: boolean;
|
@@ -58,11 +56,19 @@ declare const _default: {
|
|
58
56
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
57
|
[key: string]: any;
|
60
58
|
}>) => void)[];
|
61
|
-
readonly
|
62
|
-
|
63
|
-
|
59
|
+
readonly "v-slots"?: {
|
60
|
+
default?: import("../DefineVueTypings").Slot<any[]>;
|
61
|
+
} & {
|
62
|
+
itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
|
63
|
+
};
|
64
|
+
readonly modelValue?: FilterPickerFilter[];
|
65
|
+
"onUpdate:modelValue"?: ((value: FilterPickerFilter[]) => any) & ((value: FilterPickerFilter[]) => any);
|
66
|
+
readonly "v-model"?: FilterPickerFilter[];
|
64
67
|
readonly grow?: boolean;
|
68
|
+
readonly sortable?: boolean;
|
65
69
|
readonly singleSelect?: "small" | "default" | "x-small";
|
70
|
+
"onItem:removed"?: (value: FilterPickerFilter) => any;
|
71
|
+
"onItem:sorted"?: (value: FilterPickerFilter[]) => any;
|
66
72
|
};
|
67
73
|
$attrs: {
|
68
74
|
[x: string]: unknown;
|
@@ -75,9 +81,17 @@ declare const _default: {
|
|
75
81
|
}>;
|
76
82
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
77
83
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
78
|
-
$emit: (event: "update:modelValue", value:
|
84
|
+
$emit: ((event: "update:modelValue", value: FilterPickerFilter[]) => void) & ((event: "item:removed", value: FilterPickerFilter) => void) & ((event: "item:sorted", value: FilterPickerFilter[]) => void);
|
79
85
|
$el: any;
|
80
86
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
87
|
+
"v-slots": import("vue").Prop<{
|
88
|
+
default?: import("../DefineVueTypings").Slot<any[]>;
|
89
|
+
} & {
|
90
|
+
itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
|
91
|
+
}>;
|
92
|
+
sortable: {
|
93
|
+
type: import("vue").PropType<boolean>;
|
94
|
+
};
|
81
95
|
grow: {
|
82
96
|
type: import("vue").PropType<boolean>;
|
83
97
|
};
|
@@ -88,18 +102,18 @@ declare const _default: {
|
|
88
102
|
type: import("vue").PropType<"small" | "default" | "x-small">;
|
89
103
|
};
|
90
104
|
filters: {
|
91
|
-
type: import("vue").PropType<
|
105
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
92
106
|
required: true;
|
93
107
|
};
|
94
108
|
"onUpdate:modelValue": {
|
95
|
-
type: import("vue").PropType<(value:
|
109
|
+
type: import("vue").PropType<(value: FilterPickerFilter[]) => any>;
|
96
110
|
};
|
97
111
|
"v-model": {
|
98
|
-
type: import("vue").PropType<
|
112
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
99
113
|
required: false;
|
100
114
|
};
|
101
115
|
modelValue: {
|
102
|
-
type: import("vue").PropType<
|
116
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
103
117
|
required: false;
|
104
118
|
};
|
105
119
|
class: {
|
@@ -112,9 +126,13 @@ declare const _default: {
|
|
112
126
|
blueprintType?: any;
|
113
127
|
blueprint?: any;
|
114
128
|
}>> & {
|
115
|
-
"onUpdate:modelValue"?: (value:
|
129
|
+
"onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
|
130
|
+
"onItem:removed"?: (value: FilterPickerFilter) => any;
|
131
|
+
"onItem:sorted"?: (value: FilterPickerFilter[]) => any;
|
116
132
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
117
|
-
"update:modelValue": (value:
|
133
|
+
"update:modelValue": (value: FilterPickerFilter[]) => any;
|
134
|
+
"item:removed": (value: FilterPickerFilter) => any;
|
135
|
+
"item:sorted": (value: FilterPickerFilter[]) => any;
|
118
136
|
}, string, {
|
119
137
|
container?: any;
|
120
138
|
blueprint?: any;
|
@@ -142,6 +160,14 @@ declare const _default: {
|
|
142
160
|
$nextTick: typeof import("vue").nextTick;
|
143
161
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
144
162
|
} & Readonly<import("vue").ExtractPropTypes<{
|
163
|
+
"v-slots": import("vue").Prop<{
|
164
|
+
default?: import("../DefineVueTypings").Slot<any[]>;
|
165
|
+
} & {
|
166
|
+
itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
|
167
|
+
}>;
|
168
|
+
sortable: {
|
169
|
+
type: import("vue").PropType<boolean>;
|
170
|
+
};
|
145
171
|
grow: {
|
146
172
|
type: import("vue").PropType<boolean>;
|
147
173
|
};
|
@@ -152,18 +178,18 @@ declare const _default: {
|
|
152
178
|
type: import("vue").PropType<"small" | "default" | "x-small">;
|
153
179
|
};
|
154
180
|
filters: {
|
155
|
-
type: import("vue").PropType<
|
181
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
156
182
|
required: true;
|
157
183
|
};
|
158
184
|
"onUpdate:modelValue": {
|
159
|
-
type: import("vue").PropType<(value:
|
185
|
+
type: import("vue").PropType<(value: FilterPickerFilter[]) => any>;
|
160
186
|
};
|
161
187
|
"v-model": {
|
162
|
-
type: import("vue").PropType<
|
188
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
163
189
|
required: false;
|
164
190
|
};
|
165
191
|
modelValue: {
|
166
|
-
type: import("vue").PropType<
|
192
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
167
193
|
required: false;
|
168
194
|
};
|
169
195
|
class: {
|
@@ -176,12 +202,22 @@ declare const _default: {
|
|
176
202
|
blueprintType?: any;
|
177
203
|
blueprint?: any;
|
178
204
|
}>> & {
|
179
|
-
"onUpdate:modelValue"?: (value:
|
205
|
+
"onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
|
206
|
+
"onItem:removed"?: (value: FilterPickerFilter) => any;
|
207
|
+
"onItem:sorted"?: (value: FilterPickerFilter[]) => any;
|
180
208
|
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
181
209
|
__isFragment?: never;
|
182
210
|
__isTeleport?: never;
|
183
211
|
__isSuspense?: never;
|
184
212
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
213
|
+
"v-slots": import("vue").Prop<{
|
214
|
+
default?: import("../DefineVueTypings").Slot<any[]>;
|
215
|
+
} & {
|
216
|
+
itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
|
217
|
+
}>;
|
218
|
+
sortable: {
|
219
|
+
type: import("vue").PropType<boolean>;
|
220
|
+
};
|
185
221
|
grow: {
|
186
222
|
type: import("vue").PropType<boolean>;
|
187
223
|
};
|
@@ -192,18 +228,18 @@ declare const _default: {
|
|
192
228
|
type: import("vue").PropType<"small" | "default" | "x-small">;
|
193
229
|
};
|
194
230
|
filters: {
|
195
|
-
type: import("vue").PropType<
|
231
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
196
232
|
required: true;
|
197
233
|
};
|
198
234
|
"onUpdate:modelValue": {
|
199
|
-
type: import("vue").PropType<(value:
|
235
|
+
type: import("vue").PropType<(value: FilterPickerFilter[]) => any>;
|
200
236
|
};
|
201
237
|
"v-model": {
|
202
|
-
type: import("vue").PropType<
|
238
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
203
239
|
required: false;
|
204
240
|
};
|
205
241
|
modelValue: {
|
206
|
-
type: import("vue").PropType<
|
242
|
+
type: import("vue").PropType<FilterPickerFilter[]>;
|
207
243
|
required: false;
|
208
244
|
};
|
209
245
|
class: {
|
@@ -216,9 +252,13 @@ declare const _default: {
|
|
216
252
|
blueprintType?: any;
|
217
253
|
blueprint?: any;
|
218
254
|
}>> & {
|
219
|
-
"onUpdate:modelValue"?: (value:
|
255
|
+
"onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
|
256
|
+
"onItem:removed"?: (value: FilterPickerFilter) => any;
|
257
|
+
"onItem:sorted"?: (value: FilterPickerFilter[]) => any;
|
220
258
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
221
|
-
"update:modelValue": (value:
|
259
|
+
"update:modelValue": (value: FilterPickerFilter[]) => any;
|
260
|
+
"item:removed": (value: FilterPickerFilter) => any;
|
261
|
+
"item:sorted": (value: FilterPickerFilter[]) => any;
|
222
262
|
}, string, {
|
223
263
|
container?: any;
|
224
264
|
blueprint?: any;
|
@@ -228,7 +268,7 @@ declare const _default: {
|
|
228
268
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
229
269
|
propsDefinition: Omit<Readonly<{
|
230
270
|
container?: any;
|
231
|
-
filters:
|
271
|
+
filters: FilterPickerFilter[];
|
232
272
|
blueprint?: any;
|
233
273
|
colorSchemaType?: any;
|
234
274
|
blueprintType?: any;
|
@@ -236,13 +276,21 @@ declare const _default: {
|
|
236
276
|
} & {
|
237
277
|
class?: String | String[];
|
238
278
|
size?: "small" | "default" | "x-small";
|
239
|
-
|
240
|
-
|
241
|
-
|
279
|
+
"v-slots"?: {
|
280
|
+
default?: import("../DefineVueTypings").Slot<any[]>;
|
281
|
+
} & {
|
282
|
+
itemRendering?: (element: VNodeChild, item: FilterPickerFilter) => VNodeChild;
|
283
|
+
};
|
284
|
+
modelValue?: FilterPickerFilter[];
|
285
|
+
"onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
|
286
|
+
"v-model"?: FilterPickerFilter[];
|
242
287
|
grow?: boolean;
|
288
|
+
sortable?: boolean;
|
243
289
|
singleSelect?: "small" | "default" | "x-small";
|
244
|
-
}>, "onUpdate:modelValue"> & {
|
245
|
-
"onUpdate:modelValue"?: (value:
|
290
|
+
}>, "onUpdate:modelValue" | "onItem:removed" | "onItem:sorted"> & {
|
291
|
+
"onUpdate:modelValue"?: (value: FilterPickerFilter[]) => any;
|
292
|
+
"onItem:removed"?: (value: FilterPickerFilter) => any;
|
293
|
+
"onItem:sorted"?: (value: FilterPickerFilter[]) => any;
|
246
294
|
};
|
247
295
|
};
|
248
296
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { BladeSizes, Func, IIcon } from "@omnia/fx-models";
|
2
|
-
import { ConfirmDialogOptions
|
1
|
+
import { BladeSizes, Func, Guid, GuidValue, IIcon } from "@omnia/fx-models";
|
2
|
+
import { ConfirmDialogOptions } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild, nextTick } from "vue";
|
4
4
|
declare const _default: {
|
5
5
|
new (...args: any[]): {
|
@@ -10,7 +10,7 @@ declare const _default: {
|
|
10
10
|
style?: unknown;
|
11
11
|
class?: unknown;
|
12
12
|
key?: string | number | symbol;
|
13
|
-
readonly id?:
|
13
|
+
readonly id?: Guid;
|
14
14
|
readonly delete?: boolean;
|
15
15
|
readonly size?: BladeSizes;
|
16
16
|
ref?: import("vue").VNodeRef;
|
@@ -65,13 +65,12 @@ declare const _default: {
|
|
65
65
|
readonly loading?: boolean;
|
66
66
|
readonly settings?: boolean;
|
67
67
|
readonly remove?: boolean;
|
68
|
-
readonly getApi?: (api: IBladeApi) => void;
|
69
68
|
readonly save?: boolean;
|
70
69
|
readonly create?: boolean;
|
71
70
|
readonly ok?: boolean;
|
72
71
|
readonly subTitle?: string;
|
73
72
|
onDoc$?: (description?: string) => any;
|
74
|
-
"onClick:cancel"?: (id:
|
73
|
+
"onClick:cancel"?: (id: GuidValue) => any;
|
75
74
|
readonly searchable?: boolean;
|
76
75
|
readonly onOk?: () => boolean | Promise<boolean>;
|
77
76
|
readonly onRemove?: () => boolean | Promise<boolean>;
|
@@ -79,9 +78,9 @@ declare const _default: {
|
|
79
78
|
readonly onDelete?: () => boolean | Promise<boolean>;
|
80
79
|
readonly confirmDeleteDialogOption?: unknown;
|
81
80
|
onSearch?: (searchText: string) => any;
|
82
|
-
"onClick:add"?: (id:
|
83
|
-
"onClick:back"?: (id:
|
84
|
-
"onClick:settings"?: (id:
|
81
|
+
"onClick:add"?: (id: GuidValue) => any;
|
82
|
+
"onClick:back"?: (id: GuidValue) => any;
|
83
|
+
"onClick:settings"?: (id: GuidValue) => any;
|
85
84
|
};
|
86
85
|
$attrs: {
|
87
86
|
[x: string]: unknown;
|
@@ -94,7 +93,7 @@ declare const _default: {
|
|
94
93
|
}>;
|
95
94
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
96
95
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
97
|
-
$emit: ((event: "search", searchText: string) => void) & ((event: "doc$", description?: string) => void) & ((event: "click:cancel", id:
|
96
|
+
$emit: ((event: "search", searchText: string) => void) & ((event: "doc$", description?: string) => void) & ((event: "click:cancel", id: GuidValue) => void) & ((event: "click:add", id: GuidValue) => void) & ((event: "click:back", id: GuidValue) => void) & ((event: "click:settings", id: GuidValue) => void);
|
98
97
|
$el: any;
|
99
98
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
100
99
|
"v-slots": import("vue").Prop<{
|
@@ -118,9 +117,6 @@ declare const _default: {
|
|
118
117
|
onOk: {
|
119
118
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
120
119
|
};
|
121
|
-
getApi: {
|
122
|
-
type: import("vue").PropType<(api: IBladeApi) => void>;
|
123
|
-
};
|
124
120
|
variant: {
|
125
121
|
type: import("vue").PropType<"info" | "new" | "edit">;
|
126
122
|
};
|
@@ -156,7 +152,7 @@ declare const _default: {
|
|
156
152
|
required: false;
|
157
153
|
};
|
158
154
|
id: {
|
159
|
-
type: import("vue").PropType<
|
155
|
+
type: import("vue").PropType<Guid>;
|
160
156
|
};
|
161
157
|
subTitle: {
|
162
158
|
type: import("vue").PropType<string>;
|
@@ -166,20 +162,20 @@ declare const _default: {
|
|
166
162
|
};
|
167
163
|
}>> & {
|
168
164
|
onDoc$?: (description?: string) => any;
|
169
|
-
"onClick:cancel"?: (id:
|
165
|
+
"onClick:cancel"?: (id: GuidValue) => any;
|
170
166
|
onSearch?: (searchText: string) => any;
|
171
|
-
"onClick:add"?: (id:
|
172
|
-
"onClick:back"?: (id:
|
173
|
-
"onClick:settings"?: (id:
|
167
|
+
"onClick:add"?: (id: GuidValue) => any;
|
168
|
+
"onClick:back"?: (id: GuidValue) => any;
|
169
|
+
"onClick:settings"?: (id: GuidValue) => any;
|
174
170
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
175
171
|
search: (searchText: string) => true;
|
176
172
|
doc$(description?: string): {
|
177
173
|
search: (searchText: string) => true;
|
178
174
|
};
|
179
|
-
"click:settings": (id:
|
180
|
-
"click:cancel": (id:
|
181
|
-
"click:back": (id:
|
182
|
-
"click:add": (id:
|
175
|
+
"click:settings": (id: GuidValue) => true;
|
176
|
+
"click:cancel": (id: GuidValue) => true;
|
177
|
+
"click:back": (id: GuidValue) => true;
|
178
|
+
"click:add": (id: GuidValue) => true;
|
183
179
|
}, string, {}, {}, string, {}> & {
|
184
180
|
beforeCreate?: (() => void) | (() => void)[];
|
185
181
|
created?: (() => void) | (() => void)[];
|
@@ -222,9 +218,6 @@ declare const _default: {
|
|
222
218
|
onOk: {
|
223
219
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
224
220
|
};
|
225
|
-
getApi: {
|
226
|
-
type: import("vue").PropType<(api: IBladeApi) => void>;
|
227
|
-
};
|
228
221
|
variant: {
|
229
222
|
type: import("vue").PropType<"info" | "new" | "edit">;
|
230
223
|
};
|
@@ -260,7 +253,7 @@ declare const _default: {
|
|
260
253
|
required: false;
|
261
254
|
};
|
262
255
|
id: {
|
263
|
-
type: import("vue").PropType<
|
256
|
+
type: import("vue").PropType<Guid>;
|
264
257
|
};
|
265
258
|
subTitle: {
|
266
259
|
type: import("vue").PropType<string>;
|
@@ -270,11 +263,11 @@ declare const _default: {
|
|
270
263
|
};
|
271
264
|
}>> & {
|
272
265
|
onDoc$?: (description?: string) => any;
|
273
|
-
"onClick:cancel"?: (id:
|
266
|
+
"onClick:cancel"?: (id: GuidValue) => any;
|
274
267
|
onSearch?: (searchText: string) => any;
|
275
|
-
"onClick:add"?: (id:
|
276
|
-
"onClick:back"?: (id:
|
277
|
-
"onClick:settings"?: (id:
|
268
|
+
"onClick:add"?: (id: GuidValue) => any;
|
269
|
+
"onClick:back"?: (id: GuidValue) => any;
|
270
|
+
"onClick:settings"?: (id: GuidValue) => any;
|
278
271
|
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
279
272
|
__isFragment?: never;
|
280
273
|
__isTeleport?: never;
|
@@ -301,9 +294,6 @@ declare const _default: {
|
|
301
294
|
onOk: {
|
302
295
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
303
296
|
};
|
304
|
-
getApi: {
|
305
|
-
type: import("vue").PropType<(api: IBladeApi) => void>;
|
306
|
-
};
|
307
297
|
variant: {
|
308
298
|
type: import("vue").PropType<"info" | "new" | "edit">;
|
309
299
|
};
|
@@ -339,7 +329,7 @@ declare const _default: {
|
|
339
329
|
required: false;
|
340
330
|
};
|
341
331
|
id: {
|
342
|
-
type: import("vue").PropType<
|
332
|
+
type: import("vue").PropType<Guid>;
|
343
333
|
};
|
344
334
|
subTitle: {
|
345
335
|
type: import("vue").PropType<string>;
|
@@ -349,24 +339,24 @@ declare const _default: {
|
|
349
339
|
};
|
350
340
|
}>> & {
|
351
341
|
onDoc$?: (description?: string) => any;
|
352
|
-
"onClick:cancel"?: (id:
|
342
|
+
"onClick:cancel"?: (id: GuidValue) => any;
|
353
343
|
onSearch?: (searchText: string) => any;
|
354
|
-
"onClick:add"?: (id:
|
355
|
-
"onClick:back"?: (id:
|
356
|
-
"onClick:settings"?: (id:
|
344
|
+
"onClick:add"?: (id: GuidValue) => any;
|
345
|
+
"onClick:back"?: (id: GuidValue) => any;
|
346
|
+
"onClick:settings"?: (id: GuidValue) => any;
|
357
347
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
358
348
|
search: (searchText: string) => true;
|
359
349
|
doc$(description?: string): {
|
360
350
|
search: (searchText: string) => true;
|
361
351
|
};
|
362
|
-
"click:settings": (id:
|
363
|
-
"click:cancel": (id:
|
364
|
-
"click:back": (id:
|
365
|
-
"click:add": (id:
|
352
|
+
"click:settings": (id: GuidValue) => true;
|
353
|
+
"click:cancel": (id: GuidValue) => true;
|
354
|
+
"click:back": (id: GuidValue) => true;
|
355
|
+
"click:add": (id: GuidValue) => true;
|
366
356
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
367
357
|
propsDefinition: Omit<Readonly<{} & {
|
368
358
|
title?: string;
|
369
|
-
id?:
|
359
|
+
id?: Guid;
|
370
360
|
delete?: boolean;
|
371
361
|
size?: BladeSizes;
|
372
362
|
icon?: IIcon;
|
@@ -380,7 +370,6 @@ declare const _default: {
|
|
380
370
|
loading?: boolean;
|
381
371
|
settings?: boolean;
|
382
372
|
remove?: boolean;
|
383
|
-
getApi?: (api: IBladeApi) => void;
|
384
373
|
save?: boolean;
|
385
374
|
create?: boolean;
|
386
375
|
ok?: boolean;
|
@@ -393,11 +382,11 @@ declare const _default: {
|
|
393
382
|
confirmDeleteDialogOption?: unknown;
|
394
383
|
}>, "onDoc$" | "onClick:cancel" | "onSearch" | "onClick:add" | "onClick:back" | "onClick:settings"> & {
|
395
384
|
onDoc$?: (description?: string) => any;
|
396
|
-
"onClick:cancel"?: (id:
|
385
|
+
"onClick:cancel"?: (id: GuidValue) => any;
|
397
386
|
onSearch?: (searchText: string) => any;
|
398
|
-
"onClick:add"?: (id:
|
399
|
-
"onClick:back"?: (id:
|
400
|
-
"onClick:settings"?: (id:
|
387
|
+
"onClick:add"?: (id: GuidValue) => any;
|
388
|
+
"onClick:back"?: (id: GuidValue) => any;
|
389
|
+
"onClick:settings"?: (id: GuidValue) => any;
|
401
390
|
};
|
402
391
|
};
|
403
392
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IIcon, JourneyMenuItem } from "@omnia/fx-models";
|
1
|
+
import { Guid, IIcon, JourneyMenuItem } from "@omnia/fx-models";
|
2
2
|
import { VNode } from "vue";
|
3
3
|
declare const _default: {
|
4
4
|
new (...args: any[]): {
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
9
9
|
style?: unknown;
|
10
10
|
class?: unknown;
|
11
11
|
key?: string | number | symbol;
|
12
|
-
readonly id?:
|
12
|
+
readonly id?: Guid;
|
13
13
|
ref?: import("vue").VNodeRef;
|
14
14
|
ref_for?: boolean;
|
15
15
|
ref_key?: string;
|
@@ -91,7 +91,7 @@ declare const _default: {
|
|
91
91
|
type: import("vue").PropType<IIcon>;
|
92
92
|
};
|
93
93
|
id: {
|
94
|
-
type: import("vue").PropType<
|
94
|
+
type: import("vue").PropType<Guid>;
|
95
95
|
};
|
96
96
|
title: {
|
97
97
|
type: import("vue").PropType<string>;
|
@@ -137,7 +137,7 @@ declare const _default: {
|
|
137
137
|
type: import("vue").PropType<IIcon>;
|
138
138
|
};
|
139
139
|
id: {
|
140
|
-
type: import("vue").PropType<
|
140
|
+
type: import("vue").PropType<Guid>;
|
141
141
|
};
|
142
142
|
title: {
|
143
143
|
type: import("vue").PropType<string>;
|
@@ -165,7 +165,7 @@ declare const _default: {
|
|
165
165
|
type: import("vue").PropType<IIcon>;
|
166
166
|
};
|
167
167
|
id: {
|
168
|
-
type: import("vue").PropType<
|
168
|
+
type: import("vue").PropType<Guid>;
|
169
169
|
};
|
170
170
|
title: {
|
171
171
|
type: import("vue").PropType<string>;
|
@@ -177,7 +177,7 @@ declare const _default: {
|
|
177
177
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
178
178
|
propsDefinition: Omit<Readonly<{} & {
|
179
179
|
title?: string;
|
180
|
-
id?:
|
180
|
+
id?: Guid;
|
181
181
|
icon?: IIcon;
|
182
182
|
"v-slots"?: {
|
183
183
|
default?: import("../../DefineVueTypings").Slot<any[]>;
|
@@ -1,14 +1,9 @@
|
|
1
1
|
import { BladeSizes, GuidValue } from "@omnia/fx-models";
|
2
2
|
export interface BladeInstance {
|
3
|
-
|
4
|
-
id: string;
|
3
|
+
id: GuidValue;
|
5
4
|
size: BladeSizes;
|
6
5
|
visible?: boolean;
|
7
6
|
active?: boolean;
|
8
7
|
stacked?: boolean;
|
9
|
-
|
10
|
-
export interface IBladeApi {
|
11
|
-
moveNext(): void;
|
12
|
-
movePrev(): void;
|
13
|
-
travelTo(bladeId: string): void;
|
8
|
+
disabledSaveButton?: boolean;
|
14
9
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models";
|
1
2
|
import { BladeInstance } from "@omnia/fx/ux";
|
2
3
|
import { useJourneyMenuStore } from "./JourneyMenuStore";
|
3
4
|
export type JourneyStore = ReturnType<typeof useJourneyStore>;
|
@@ -6,7 +7,6 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
|
|
6
7
|
blades: BladeInstance[];
|
7
8
|
activeIndex: number;
|
8
9
|
nested: boolean;
|
9
|
-
disabledSave: boolean;
|
10
10
|
journeyMenuStore: {
|
11
11
|
state: {
|
12
12
|
menuItems: import("@omnia/fx-models").JourneyMenuItem[];
|
@@ -41,21 +41,26 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
|
|
41
41
|
events: { [K in keyof T as `onMutating${Capitalize<string & K>}` | `onMutated${Capitalize<string & K>}`]: import("@omnia/fx").EventHook<T[K]>; };
|
42
42
|
deactivated(): void;
|
43
43
|
}, "state" | "deactivated">;
|
44
|
-
blade: (id:
|
45
|
-
showBackButton: (bladeId:
|
44
|
+
blade: (id: GuidValue) => BladeInstance;
|
45
|
+
showBackButton: (bladeId: GuidValue) => boolean;
|
46
46
|
readonly isNested: boolean;
|
47
47
|
};
|
48
48
|
actions: {
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
getBladeApis: (bladeId: GuidValue) => {
|
50
|
+
moveNext(): void;
|
51
|
+
movePrev(): void;
|
52
|
+
travelTo(toBladeId: string): void;
|
53
|
+
createObservableValueToSave<T_1>(value: T_1): {
|
54
|
+
value: T_1;
|
55
|
+
setValue: (value: T_1) => void;
|
56
|
+
};
|
52
57
|
};
|
53
58
|
addBlade: (blade: BladeInstance) => void;
|
54
59
|
removeBlade: (blade: BladeInstance) => void;
|
55
60
|
setActiveIndex: (index: number) => void;
|
56
|
-
moveNext: (fromBladeId
|
57
|
-
movePrev: (fromBladeId
|
58
|
-
travelTo: (
|
61
|
+
moveNext: (fromBladeId: GuidValue) => void;
|
62
|
+
movePrev: (fromBladeId: GuidValue) => void;
|
63
|
+
travelTo: (fromBladeId: GuidValue, toBladeId: GuidValue) => void;
|
59
64
|
setNested: (menuStore: ReturnType<typeof useJourneyMenuStore>) => void;
|
60
65
|
};
|
61
66
|
events: {
|
@@ -65,8 +70,6 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
|
|
65
70
|
onMutatedActiveIndex: import("@omnia/fx").EventHook<number>;
|
66
71
|
onMutatingNested: import("@omnia/fx").EventHook<boolean>;
|
67
72
|
onMutatedNested: import("@omnia/fx").EventHook<boolean>;
|
68
|
-
onMutatingDisabledSave: import("@omnia/fx").EventHook<boolean>;
|
69
|
-
onMutatedDisabledSave: import("@omnia/fx").EventHook<boolean>;
|
70
73
|
onMutatingJourneyMenuStore: import("@omnia/fx").EventHook<{
|
71
74
|
state: {
|
72
75
|
menuItems: import("@omnia/fx-models").JourneyMenuItem[];
|