@omnia/fx 8.0.398-dev → 8.0.399-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/ux/admin/system/submenu/auditlogs/blades/ListingBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fills/store/ContainerFillsEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/admin/blades/fills/store/FillsEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleViewer.d.ts +35 -5
- package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPreview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +11 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPreview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/DynamicColorIndicator.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/stores/ColorPickerStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +87 -77
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaViewer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/store/ColorSchemaPickerStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/ContainerFillPicker.d.ts +15 -12
- package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/store/ContainerFillPickerStore.d.ts +12 -3
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPreview.d.ts +16 -32
- package/internal-do-not-import-from-here/ux/aurora/components/stylepicker/StylePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/themeprovider/ThemeProvider.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyListingPicker.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker_old.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/enterpriseproperties/settingpicker/EnterprisePropertySettingPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/journey/models/JourneySelectItem.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/journey/stores/JourneySelectStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/blockplaceholder/BlockPlaceholder.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/TemplatePreview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/sizecontainer/SizeContainer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/LayoutRenditionManager.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelection.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutItemselector/LayoutItemSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutBlockRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutSectionRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/pagination/Pagination.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/selection/Selection.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/treeview/OTreeViewV3.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/rollupempty/RollupEmpty.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPreview.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +20 -0
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ContainerFillValue } from "@omnia/fx-models";
|
1
|
+
import { ContainerFillValue, ColorSchemaType, ColorSchema } from "@omnia/fx-models";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
type Variant = "default" | "journey";
|
4
4
|
declare const _default: {
|
@@ -26,9 +26,8 @@ declare const _default: {
|
|
26
26
|
toned: {
|
27
27
|
type: import("vue").PropType<boolean>;
|
28
28
|
};
|
29
|
-
|
30
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
31
|
-
required: false;
|
29
|
+
dynamicColorSchema: {
|
30
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema>;
|
32
31
|
};
|
33
32
|
"onUpdate:modelValue": {
|
34
33
|
type: import("vue").PropType<(value: ContainerFillValue) => any | void>;
|
@@ -100,10 +99,12 @@ declare const _default: {
|
|
100
99
|
"onUpdate:modelValue"?: (value: ContainerFillValue) => any;
|
101
100
|
"onItem:enter"?: (value: ContainerFillValue) => any;
|
102
101
|
"onItem:leave"?: (value: ContainerFillValue) => any;
|
102
|
+
"onUpdate:colorSchema"?: (value: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema) => any;
|
103
103
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
104
104
|
"update:modelValue": (value: ContainerFillValue) => any;
|
105
105
|
"item:enter": (value: ContainerFillValue) => any;
|
106
106
|
"item:leave": (value: ContainerFillValue) => any;
|
107
|
+
"update:colorSchema": (value: ColorSchemaType | ColorSchema) => any;
|
107
108
|
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
108
109
|
P: {};
|
109
110
|
B: {};
|
@@ -135,9 +136,8 @@ declare const _default: {
|
|
135
136
|
toned: {
|
136
137
|
type: import("vue").PropType<boolean>;
|
137
138
|
};
|
138
|
-
|
139
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
140
|
-
required: false;
|
139
|
+
dynamicColorSchema: {
|
140
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema>;
|
141
141
|
};
|
142
142
|
"onUpdate:modelValue": {
|
143
143
|
type: import("vue").PropType<(value: ContainerFillValue) => any | void>;
|
@@ -209,6 +209,7 @@ declare const _default: {
|
|
209
209
|
"onUpdate:modelValue"?: (value: ContainerFillValue) => any;
|
210
210
|
"onItem:enter"?: (value: ContainerFillValue) => any;
|
211
211
|
"onItem:leave"?: (value: ContainerFillValue) => any;
|
212
|
+
"onUpdate:colorSchema"?: (value: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema) => any;
|
212
213
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
213
214
|
__isFragment?: never;
|
214
215
|
__isTeleport?: never;
|
@@ -237,9 +238,8 @@ declare const _default: {
|
|
237
238
|
toned: {
|
238
239
|
type: import("vue").PropType<boolean>;
|
239
240
|
};
|
240
|
-
|
241
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
242
|
-
required: false;
|
241
|
+
dynamicColorSchema: {
|
242
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema>;
|
243
243
|
};
|
244
244
|
"onUpdate:modelValue": {
|
245
245
|
type: import("vue").PropType<(value: ContainerFillValue) => any | void>;
|
@@ -311,10 +311,12 @@ declare const _default: {
|
|
311
311
|
"onUpdate:modelValue"?: (value: ContainerFillValue) => any;
|
312
312
|
"onItem:enter"?: (value: ContainerFillValue) => any;
|
313
313
|
"onItem:leave"?: (value: ContainerFillValue) => any;
|
314
|
+
"onUpdate:colorSchema"?: (value: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema) => any;
|
314
315
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
315
316
|
"update:modelValue": (value: ContainerFillValue) => any;
|
316
317
|
"item:enter": (value: ContainerFillValue) => any;
|
317
318
|
"item:leave": (value: ContainerFillValue) => any;
|
319
|
+
"update:colorSchema": (value: ColorSchemaType | ColorSchema) => any;
|
318
320
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
319
321
|
propsDefinition: Omit<Readonly<{} & {
|
320
322
|
name?: {
|
@@ -389,14 +391,15 @@ declare const _default: {
|
|
389
391
|
"onUpdate:modelValue"?: (value: ContainerFillValue) => any | void;
|
390
392
|
"v-model"?: ContainerFillValue;
|
391
393
|
toned?: boolean;
|
392
|
-
previewColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
393
394
|
individualRadiusSelection?: boolean;
|
394
395
|
individualBorderWidthSelection?: boolean;
|
396
|
+
dynamicColorSchema?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema;
|
395
397
|
allowCustom?: boolean;
|
396
|
-
}>, "onUpdate:modelValue" | "onItem:enter" | "onItem:leave"> & {
|
398
|
+
}>, "onUpdate:modelValue" | "onItem:enter" | "onItem:leave" | "onUpdate:colorSchema"> & {
|
397
399
|
"onUpdate:modelValue"?: (value: ContainerFillValue) => any;
|
398
400
|
"onItem:enter"?: (value: ContainerFillValue) => any;
|
399
401
|
"onItem:leave"?: (value: ContainerFillValue) => any;
|
402
|
+
"onUpdate:colorSchema"?: (value: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema) => any;
|
400
403
|
};
|
401
404
|
};
|
402
405
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ContainerFillBlueprint, ContainerFillValue
|
1
|
+
import { ColorSchema, ColorSchemaType, ContainerFillBlueprint, ContainerFillValue } from "@omnia/fx-models";
|
2
2
|
export declare const useContainerFillPickerStore: () => {
|
3
3
|
state: {
|
4
4
|
internalModel: ContainerFillValue;
|
@@ -6,22 +6,31 @@ export declare const useContainerFillPickerStore: () => {
|
|
6
6
|
isCustom: boolean;
|
7
7
|
colorValue: any;
|
8
8
|
hasSelection: boolean;
|
9
|
+
dynamicColorShema: {
|
10
|
+
selected: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema;
|
11
|
+
internalSelection: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchema;
|
12
|
+
};
|
9
13
|
settings: {
|
10
|
-
defaultColorSchemaType: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
11
14
|
customSchema: boolean;
|
12
15
|
};
|
13
16
|
};
|
14
17
|
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
18
|
+
dynamicColorSchema: () => {
|
19
|
+
select: (type: ColorSchemaType | ColorSchema) => void;
|
20
|
+
set: () => void;
|
21
|
+
};
|
15
22
|
onSelectContainer(type: ContainerFillValue, colorValue: boolean): void;
|
16
23
|
initState: (model: ContainerFillValue) => void;
|
17
24
|
}>;
|
18
25
|
get: {
|
19
|
-
blueprintByValue: (value: ContainerFillValue) =>
|
26
|
+
blueprintByValue: (value: ContainerFillValue) => ContainerFillBlueprint;
|
27
|
+
name(type: ContainerFillValue): string;
|
20
28
|
};
|
21
29
|
rules: {
|
22
30
|
isSelected: (value: ContainerFillValue) => boolean;
|
23
31
|
isPlaceholder: (value: ContainerFillValue) => boolean;
|
24
32
|
hasCustomFill: () => import("@omnia/fx-models").BorderStylingDefinition | (import("@omnia/fx-models").ColorValue | import("@omnia/fx-models").ColorGradientValue)[];
|
33
|
+
showColorSchemaPicker: () => boolean;
|
25
34
|
};
|
26
35
|
} & {
|
27
36
|
dispose?: () => void;
|
@@ -1,19 +1,14 @@
|
|
1
|
-
import { ColorValue, FillDefinition } from "@omnia/fx-models";
|
1
|
+
import { ColorSchemaType, ColorValue, FillDefinition } from "@omnia/fx-models";
|
2
2
|
declare const _default: {
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
4
|
-
|
5
|
-
type: import("vue").PropType<
|
4
|
+
dynamicColorSchemaType: {
|
5
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
6
6
|
};
|
7
|
-
|
7
|
+
definition: {
|
8
8
|
type: import("vue").PropType<FillDefinition | ColorValue>;
|
9
|
-
required: false;
|
10
|
-
};
|
11
|
-
modelValue: {
|
12
|
-
type: import("vue").PropType<FillDefinition | ColorValue>;
|
13
|
-
required: false;
|
14
9
|
};
|
15
10
|
colorSchemaType: {
|
16
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes |
|
11
|
+
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
|
17
12
|
required: boolean;
|
18
13
|
};
|
19
14
|
container: {
|
@@ -34,19 +29,14 @@ declare const _default: {
|
|
34
29
|
M: {};
|
35
30
|
Defaults: {};
|
36
31
|
}, Readonly<import("vue").ExtractPropTypes<{
|
37
|
-
|
38
|
-
type: import("vue").PropType<
|
39
|
-
};
|
40
|
-
"v-model": {
|
41
|
-
type: import("vue").PropType<FillDefinition | ColorValue>;
|
42
|
-
required: false;
|
32
|
+
dynamicColorSchemaType: {
|
33
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
43
34
|
};
|
44
|
-
|
35
|
+
definition: {
|
45
36
|
type: import("vue").PropType<FillDefinition | ColorValue>;
|
46
|
-
required: false;
|
47
37
|
};
|
48
38
|
colorSchemaType: {
|
49
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes |
|
39
|
+
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
|
50
40
|
required: boolean;
|
51
41
|
};
|
52
42
|
container: {
|
@@ -64,19 +54,14 @@ declare const _default: {
|
|
64
54
|
__isTeleport?: never;
|
65
55
|
__isSuspense?: never;
|
66
56
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
67
|
-
|
68
|
-
type: import("vue").PropType<
|
69
|
-
};
|
70
|
-
"v-model": {
|
71
|
-
type: import("vue").PropType<FillDefinition | ColorValue>;
|
72
|
-
required: false;
|
57
|
+
dynamicColorSchemaType: {
|
58
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
73
59
|
};
|
74
|
-
|
60
|
+
definition: {
|
75
61
|
type: import("vue").PropType<FillDefinition | ColorValue>;
|
76
|
-
required: false;
|
77
62
|
};
|
78
63
|
colorSchemaType: {
|
79
|
-
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes |
|
64
|
+
type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
|
80
65
|
required: boolean;
|
81
66
|
};
|
82
67
|
container: {
|
@@ -92,11 +77,10 @@ declare const _default: {
|
|
92
77
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
93
78
|
propsDefinition: Omit<Readonly<{} & {
|
94
79
|
container?: boolean;
|
95
|
-
|
96
|
-
|
97
|
-
"onUpdate:modelValue"?: (value: FillDefinition | ColorValue) => any | void;
|
80
|
+
definition?: FillDefinition | ColorValue;
|
81
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
98
82
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
99
|
-
"
|
83
|
+
dynamicColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
100
84
|
}>, never>;
|
101
85
|
};
|
102
86
|
export default _default;
|
@@ -152,7 +152,7 @@ declare const _default: {
|
|
152
152
|
container?: boolean;
|
153
153
|
variant?: EditorVariant;
|
154
154
|
class?: String | String[];
|
155
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
155
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
156
156
|
"v-slots"?: {
|
157
157
|
default?: import("../../../DefineVueTypings").Slot;
|
158
158
|
} & {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, BlueprintVariant, ResolvedThemeDefinition, guid, TextFillDefinitionValue, ContainerFillValue } from "@omnia/fx-models";
|
1
|
+
import { ColorSchema, ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, BlueprintVariant, ResolvedThemeDefinition, guid, TextFillDefinitionValue, ContainerFillValue, ContainerFillBlueprint } from "@omnia/fx-models";
|
2
2
|
import { type ColorSchemaStoreType } from "./ColorSchemaStore";
|
3
3
|
export declare const useThemeStore: () => {
|
4
4
|
id: guid;
|
@@ -72,7 +72,7 @@ export declare const useThemeStore: () => {
|
|
72
72
|
container: {
|
73
73
|
hasVariant(type: BlueprintVariant | string): boolean;
|
74
74
|
bluePrints(): import("@omnia/fx-models").ContainerFillBlueprints;
|
75
|
-
byValue(value: ContainerFillValue):
|
75
|
+
byValue(value: ContainerFillValue): ContainerFillBlueprint;
|
76
76
|
};
|
77
77
|
};
|
78
78
|
spacing(): import("@omnia/fx-models").SpacingBlueprint;
|
@@ -3,7 +3,7 @@ import { ColorSchemaTypes, ResolvedThemeDefinition, ThemeContextType } from "@om
|
|
3
3
|
declare const _default: {
|
4
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
5
5
|
colorSchemaType: {
|
6
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
6
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
7
7
|
};
|
8
8
|
themeType: {
|
9
9
|
type: import("vue").PropType<ThemeContextType>;
|
@@ -36,7 +36,7 @@ declare const _default: {
|
|
36
36
|
Defaults: {};
|
37
37
|
}, Readonly<import("vue").ExtractPropTypes<{
|
38
38
|
colorSchemaType: {
|
39
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
39
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
40
40
|
};
|
41
41
|
themeType: {
|
42
42
|
type: import("vue").PropType<ThemeContextType>;
|
@@ -59,7 +59,7 @@ declare const _default: {
|
|
59
59
|
__isSuspense?: never;
|
60
60
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
61
61
|
colorSchemaType: {
|
62
|
-
type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
62
|
+
type: import("vue").PropType<"background" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
|
63
63
|
};
|
64
64
|
themeType: {
|
65
65
|
type: import("vue").PropType<ThemeContextType>;
|
@@ -85,7 +85,7 @@ declare const _default: {
|
|
85
85
|
}) => any;
|
86
86
|
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
87
87
|
propsDefinition: Omit<Readonly<{} & {
|
88
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
88
|
+
colorSchemaType?: "background" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
89
89
|
themeDefinition?: ResolvedThemeDefinition;
|
90
90
|
themeType?: ThemeContextType;
|
91
91
|
}>, "onTheme:initialized"> & {
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { EnterprisePropertyDefinition, ExternalPropertySelectionItem } from "@omnia/fx-models";
|
2
|
+
import { DefineProp, DefineSlot, DefineVModel } from "@omnia/fx/ux";
|
3
|
+
import { VNodeChild } from "vue";
|
4
|
+
declare const emptyArray: any[];
|
5
|
+
type EnterprisePropertyPickerProps<T = string> = DefineVModel<"", Array<T>, false, null> & DefineProp<"returnObject", boolean, false, false> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"labelAdd", string, false, null> & DefineSlot<"settings", (item: T) => VNodeChild>;
|
6
|
+
declare const _default: <TItem extends {
|
7
|
+
internalName: string;
|
8
|
+
}>(props: import("@omnia/fx/ux").ExtractProps<EnterprisePropertyPickerProps<string | TItem>> & {
|
9
|
+
"onUpdate:modelValue"?: (value: (string | TItem)[]) => any;
|
10
|
+
} & {
|
11
|
+
"v-slots"?: {
|
12
|
+
settings?: (item: string | TItem) => VNodeChild;
|
13
|
+
} & Omit<{
|
14
|
+
default?: import("vue").Slot;
|
15
|
+
}, "settings">;
|
16
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "modelValue" | "v-model" | "emit:update:modelValue" | "returnObject" | "propertyItems" | "externalPropertyItems" | "labelAdd" | "slot:settings"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
17
|
+
export default _default;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefineVModel } from "@omnia/fx/ux";
|
2
2
|
import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid, OSelectVariants } from "../../../models";
|
3
|
-
import "./EnterprisePropertyPickerStyles.css";
|
4
3
|
declare const emptyArray: any[];
|
5
4
|
declare const excludedPropertyTypeIds: guid[];
|
6
5
|
type EnterprisePropertyPickerProps = DefineVModel<"", Array<string> | string, false, null> & DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray, "Depricated use v-model instead"> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"variant", OSelectVariants, false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> &
|
@@ -13,5 +12,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePr
|
|
13
12
|
"v-slots"?: {} & Omit<{
|
14
13
|
default?: import("vue").Slot;
|
15
14
|
}, never>;
|
16
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "required" | "multiple" | "disabled" | "modelValue" | "hideDetails" | "v-model" | "emit:update:modelValue" | "emit:change" | "
|
15
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "required" | "multiple" | "disabled" | "modelValue" | "hideDetails" | "v-model" | "emit:update:modelValue" | "emit:change" | "propertyItems" | "externalPropertyItems" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
17
16
|
export default _default;
|
@@ -10,5 +10,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePr
|
|
10
10
|
"v-slots"?: {} & Omit<{
|
11
11
|
default?: import("vue").Slot;
|
12
12
|
}, never>;
|
13
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "required" | "multiple" | "disabled" | "hideDetails" | "emit:change" | "
|
13
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "required" | "multiple" | "disabled" | "hideDetails" | "emit:change" | "propertyItems" | "externalPropertyItems" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
14
14
|
export default _default;
|
@@ -15,5 +15,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePr
|
|
15
15
|
} & Omit<{
|
16
16
|
default?: import("vue").Slot;
|
17
17
|
}, "selection">;
|
18
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "slot:selection" | "emit:click:delete" | "emit:change" | "
|
18
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "slot:selection" | "emit:click:delete" | "emit:change" | "propertyItems" | "externalPropertyItems" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "allowDuplicate"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
19
19
|
export default _default;
|
@@ -11,13 +11,14 @@ export interface DisabledButtonTooltips {
|
|
11
11
|
delete?: string;
|
12
12
|
remove?: string;
|
13
13
|
}
|
14
|
-
export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"toned", boolean, false, null, "IF the color is toned"> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the blade and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"id", guid, true, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"ok", boolean, false, false, "Specify if the blade should show a ok button. If a ok button is shown, a cancel button will also be shown."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"searchable", boolean | Ref<boolean>, false, false, "Specify if the blade should show a search field."> & DefineProp<"delete", boolean, false, false, "Specify if the blade should show a delete button."> & DefineProp<"remove", boolean, false, false, "Specify if the blade should show a remove button."> & DefineProp<"disabled", boolean, false, false, "Specify if the blade should shoud be read only."> & DefineProp<"manageList", boolean | Ref<boolean>, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"settings", boolean, false, false, "Specify if the blade should show a settings button."> & DefineProp<"create", boolean, false, false, "Specify if the blade should show a create button."> & DefineProp<"add", boolean, false, false, "Specify if the blade should show a add button."> & DefineProp<"actions", ActionDefinition[], false, null, "Specify if the blade should show responsive actions. Useful for both mobile and desktop."> & DefineProp<"bladeContext", BladeContexts | BladeContext, false, null, "Specify context of the journey."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"variant", BladeVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"onOk", () => boolean | Promise<boolean>, false, null, "Trigger when user click ok, return true if ok to close the blade."> & DefineProp<"onRemove", () => boolean | Promise<boolean>, false, null, "Trigger when user click remove, return true if ok to close the blade."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onDelete", () => boolean | Promise<boolean>, false, null, "Trigger when user click delete, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"confirmDeleteDialogOption", ConfirmDialogOptions, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & 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<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"sizeOnMobile", BladeSizeTypes, false, null, "Specify the size of the blade on mobile. Default full width on mobile view"> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"click:create", (id: guid) => true> & DefineEmit<"click:add", (id: guid) => true> & DefineEmit<"click:back", (id: guid) => true> & DefineEmit<"click:cancel", (id: guid) => true> & DefineEmit<"click:settings", (id: guid) => true> & DefineEmit<"click:confirm", () => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"changeFilter", () => true> & DefineEmit<"closeFilter", () => true> & DefineEmit<"click:manageList", () => true>;
|
14
|
+
export type JourneyBladeProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"toned", boolean, false, null, "IF the color is toned"> & DefineProp<"subTitle", string, false, null, "Specify a subtitle for the blade and the title is displayed in a breadcrumb style where the subTittle is prominent."> & DefineProp<"id", guid, true, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"ok", boolean, false, false, "Specify if the blade should show a ok button. If a ok button is shown, a cancel button will also be shown."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"searchable", boolean | Ref<boolean>, false, false, "Specify if the blade should show a search field."> & DefineProp<"delete", boolean, false, false, "Specify if the blade should show a delete button."> & DefineProp<"remove", boolean, false, false, "Specify if the blade should show a remove button."> & DefineProp<"disabled", boolean, false, false, "Specify if the blade should shoud be read only."> & DefineProp<"manageList", boolean | Ref<boolean>, false, false, "Specify if the blade shoud be draggable on items."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"settings", boolean, false, false, "Specify if the blade should show a settings button."> & DefineProp<"create", boolean, false, false, "Specify if the blade should show a create button."> & DefineProp<"add", boolean, false, false, "Specify if the blade should show a add button."> & DefineProp<"actions", ActionDefinition[], false, null, "Specify if the blade should show responsive actions. Useful for both mobile and desktop."> & DefineProp<"bladeContext", BladeContexts | BladeContext, false, null, "Specify context of the journey."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"variant", BladeVariantTypes, false, null, "Applies a distinct style to the component."> & DefineProp<"onOk", () => boolean | Promise<boolean>, false, null, "Trigger when user click ok, return true if ok to close the blade."> & DefineProp<"onRemove", () => boolean | Promise<boolean>, false, null, "Trigger when user click remove, return true if ok to close the blade."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onDelete", () => boolean | Promise<boolean>, false, null, "Trigger when user click delete, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"confirmDeleteDialogOption", ConfirmDialogOptions, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & 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<"disabledButtonTooltips", DisabledButtonTooltips, false, null, "Specify a set of options for the confirm dialog shown before deleting."> & DefineProp<"sizeOnMobile", BladeSizeTypes, false, null, "Specify the size of the blade on mobile. Default full width on mobile view"> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineSlot<"filter", () => VNodeChild> & DefineEmit<"click:create", (id: guid) => true> & DefineEmit<"click:add", (id: guid) => true> & DefineEmit<"click:back", (id: guid) => true> & DefineEmit<"click:cancel", (id: guid) => true> & DefineEmit<"click:settings", (id: guid) => true> & DefineEmit<"click:confirm", () => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"changeFilter", () => true> & DefineEmit<"closeFilter", () => true> & DefineEmit<"hidden", () => true> & DefineEmit<"click:manageList", () => true>;
|
15
15
|
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBladeProps> & {
|
16
16
|
"onClick:cancel"?: (id: guid) => any;
|
17
17
|
"onClick:confirm"?: () => any;
|
18
18
|
"onClick:back"?: (id: guid) => any;
|
19
19
|
onSearch?: (searchText: string) => any;
|
20
20
|
onCloseFilter?: () => any;
|
21
|
+
onHidden?: () => any;
|
21
22
|
"onClick:create"?: (id: guid) => any;
|
22
23
|
"onClick:add"?: (id: guid) => any;
|
23
24
|
"onClick:settings"?: (id: guid) => any;
|
@@ -31,5 +32,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBlade
|
|
31
32
|
} & Omit<{
|
32
33
|
default?: import("vue").Slot;
|
33
34
|
}, "filter" | "actions" | "actionsFooter">;
|
34
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "actions" | "variant" | "size" | "add" | "id" | "delete" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "save" | "toned" | "subTitle" | "emit:click:cancel" | "emit:click:confirm" | "searchable" | "slot:filter" | "emit:search" | "emit:closeFilter" | "getApi" | "manageList" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:changeFilter" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
35
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "actions" | "variant" | "size" | "add" | "id" | "delete" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "save" | "toned" | "subTitle" | "emit:click:cancel" | "emit:click:confirm" | "searchable" | "slot:filter" | "emit:search" | "emit:closeFilter" | "getApi" | "manageList" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:changeFilter" | "emit:hidden" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
35
36
|
export default _default;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { guid, IIcon } from "@omnia/fx-models";
|
2
|
-
|
2
|
+
import { type ItemType, type ItemValueType } from "../../DefineVueTypings";
|
3
|
+
export interface JourneySelectPropertyMapping<TItem = any> {
|
3
4
|
id: string;
|
4
|
-
title: string
|
5
|
+
title: string | ItemValueType<ItemType<TItem>>;
|
5
6
|
subTitle?: string;
|
6
7
|
icon?: string;
|
7
8
|
value?: string;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectItem, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
import { ActionDefinition } from "@omnia/fx-models";
|
4
|
-
type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> & DefineProp<"getApi", (store: ReturnType<typeof useJourneySelectStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"items", Array<TItem>, false, null, "Items to select from"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"multiple", boolean, false, null, "If it is allowed to select multiple or single"> & DefineProp<"propertyValueMapping", JourneySelectPropertyMapping
|
5
|
-
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps<
|
4
|
+
type BaseProps<TItem> = DefinePropTheming & DefineVModel<"", Array<any> | any> & DefineProp<"getApi", (store: ReturnType<typeof useJourneySelectStore>) => void, false, null, "callback to get a reference to the store"> & DefineProp<"items", Array<TItem>, false, null, "Items to select from"> & DefineProp<"toned", boolean, false, null, "Sets the component to toned"> & DefineProp<"multiple", boolean, false, null, "If it is allowed to select multiple or single"> & DefineProp<"propertyValueMapping", JourneySelectPropertyMapping<TItem>, false, null, "Property value mappings"> & DefineProp<"returnSelectionAsObject", boolean, false, null, "Changes the selection behavior to return the object directly rather than the value specified with item-value"> & DefineProp<"label", string, null, null, "The label of the component"> & DefineProp<"labelAdd", string, null, null, "The add label of the component"> & DefineProp<"titleAdd", string, null, null, "The add title of the add blade"> & DefineProp<"titleEdit", string, null, null, "The edit title of the edit blade"> & DefineProp<"disableSearch", boolean, false, null, "Disables the automatic search"> & DefineProp<"disableSave", boolean, false, null, "If it is allowed save"> & DefineProp<"sortable", boolean, false, null, "If it is allowed to sort"> & DefineProp<"readonly", boolean, false, null, "Disable add and delete"> & DefineProp<"list", boolean, false, null, "Always render the items as a list"> & DefineProp<"confirmDelete", boolean, false, null, "If you confirm before delete from the items"> & DefineProp<"noAddConfirm", boolean, false, null, "If items are added without a save button"> & DefineProp<"bladelessAdd", boolean, false, null, "If addis not a blade and only fires events"> & DefineProp<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineProp<"actions", ActionDefinition[], false, null, "Actions to display in the blade header"> & DefineSlot<"selectionItemRender", (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: JourneySelectItem<any>, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: any, index: number) => VNodeChild> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem, index: number) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:clear", () => true> & DefineEmit<"click:add", (item: Array<TItem> | TItem) => true> & DefineEmit<"click:update", (item: TItem, index: number) => true> & DefineEmit<"click:delete", (item: TItem, index: number) => true>;
|
5
|
+
declare const _default: <TItem extends unknown = any>(props: import("@omnia/fx/ux").ExtractProps<BaseProps<TItem>> & {
|
6
6
|
"onUpdate:modelValue"?: (value: any) => any;
|
7
7
|
"onClick:clear"?: () => any;
|
8
8
|
onSearch?: (searchText: string) => any;
|
9
|
-
"onClick:add"?: (item:
|
10
|
-
"onClick:delete"?: (item:
|
9
|
+
"onClick:add"?: (item: TItem | TItem[]) => any;
|
10
|
+
"onClick:delete"?: (item: TItem, index: number) => any;
|
11
11
|
onShowAdd?: () => any;
|
12
|
-
onShowEdit?: (item:
|
13
|
-
"onClick:update"?: (item:
|
12
|
+
onShowEdit?: (item: TItem, index: number) => any;
|
13
|
+
"onClick:update"?: (item: TItem, index: number) => any;
|
14
14
|
} & {
|
15
15
|
"v-slots"?: {
|
16
16
|
selectionItemRender?: (item: JourneySelectItem<any>, index: number, isSelected: boolean) => VNodeChild;
|
@@ -21,5 +21,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps<an
|
|
21
21
|
} & Omit<{
|
22
22
|
default?: import("vue").Slot;
|
23
23
|
}, "actions" | "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender">;
|
24
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "actions" | "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "emit:search" | "getApi" | "emit:click:clear" | "emit:click:add" | "emit:click:delete" | "sortable" | "
|
24
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "actions" | "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "slot:actions" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "emit:search" | "getApi" | "emit:click:clear" | "emit:click:add" | "emit:click:delete" | "sortable" | "labelAdd" | "propertyValueMapping" | "returnSelectionAsObject" | "titleAdd" | "titleEdit" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladelessAdd" | "bladeless" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
25
25
|
export default _default;
|
@@ -13,7 +13,7 @@ export declare const useJourneySelectStore: () => {
|
|
13
13
|
noAddConfirm: boolean;
|
14
14
|
bladeless: boolean;
|
15
15
|
returnSelectionAsObject: boolean;
|
16
|
-
propertyValueMapping: JourneySelectPropertyMapping
|
16
|
+
propertyValueMapping: JourneySelectPropertyMapping<any>;
|
17
17
|
};
|
18
18
|
readonly slots: {
|
19
19
|
settingsRender: (item: any, index: number) => VNodeChild;
|
@@ -68,7 +68,7 @@ export declare const useJourneySelectStore: () => {
|
|
68
68
|
noAddConfirm: boolean;
|
69
69
|
bladeless: boolean;
|
70
70
|
returnSelectionAsObject: boolean;
|
71
|
-
propertyValueMapping: JourneySelectPropertyMapping
|
71
|
+
propertyValueMapping: JourneySelectPropertyMapping<any>;
|
72
72
|
};
|
73
73
|
bladeActions: ActionDefinition[];
|
74
74
|
containerBladeId: guid;
|
@@ -109,7 +109,7 @@ export declare const useJourneySelectStore: () => {
|
|
109
109
|
noAddConfirm: boolean;
|
110
110
|
bladeless: boolean;
|
111
111
|
returnSelectionAsObject: boolean;
|
112
|
-
propertyValueMapping: JourneySelectPropertyMapping
|
112
|
+
propertyValueMapping: JourneySelectPropertyMapping<any>;
|
113
113
|
};
|
114
114
|
bladeActions: ActionDefinition[];
|
115
115
|
containerBladeId: guid;
|
@@ -128,7 +128,7 @@ export declare const useJourneySelectStore: () => {
|
|
128
128
|
apply: () => void;
|
129
129
|
hide: () => void;
|
130
130
|
};
|
131
|
-
itemSelections: () => {
|
131
|
+
itemSelections: (disableTravel?: boolean) => {
|
132
132
|
set: (items: Array<any> | any) => void;
|
133
133
|
show: () => void;
|
134
134
|
hide: () => void;
|
@@ -450,9 +450,9 @@ declare const _default: {
|
|
450
450
|
hideDisplayFlag?: boolean;
|
451
451
|
hideDisplayName?: boolean;
|
452
452
|
loadLanguage?: () => Promise<Array<Language>>;
|
453
|
-
excludeCountry?: boolean;
|
454
453
|
enableContextSettings?: boolean;
|
455
454
|
defaultLanguage?: Language;
|
455
|
+
excludeCountry?: boolean;
|
456
456
|
}>, "onUpdate:modelValue"> & {
|
457
457
|
"onUpdate:modelValue"?: (value: Language) => any;
|
458
458
|
};
|
@@ -98,7 +98,7 @@ declare const _default: {
|
|
98
98
|
text?: string;
|
99
99
|
icon?: IIcon;
|
100
100
|
container?: boolean;
|
101
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
101
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
102
102
|
colors?: import("../../..").ColorSchemaStoreType;
|
103
103
|
description?: string;
|
104
104
|
}>, never>;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/TemplatePreview.d.ts
CHANGED
@@ -58,7 +58,7 @@ declare const _default: {
|
|
58
58
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
59
59
|
propsDefinition: Omit<Readonly<{} & {
|
60
60
|
container?: boolean;
|
61
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
61
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
62
62
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
63
63
|
}>, never>;
|
64
64
|
};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
@@ -96,7 +96,7 @@ declare const _default: {
|
|
96
96
|
propsDefinition: Omit<Readonly<{} & {
|
97
97
|
title?: string;
|
98
98
|
container?: boolean;
|
99
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
99
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
100
100
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
101
101
|
alternativeContent?: JSX.Element;
|
102
102
|
settingsKey?: any;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/sizecontainer/SizeContainer.d.ts
CHANGED
@@ -100,7 +100,7 @@ declare const _default: {
|
|
100
100
|
container?: boolean;
|
101
101
|
filled?: boolean;
|
102
102
|
class?: String | String[];
|
103
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
103
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
104
104
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
105
105
|
toned?: boolean;
|
106
106
|
getApi?: (store: ReturnType<typeof useSizeContainerStore>) => void;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts
CHANGED
@@ -104,7 +104,7 @@ declare const _default: {
|
|
104
104
|
propsDefinition: Omit<Readonly<{} & {
|
105
105
|
small?: boolean;
|
106
106
|
container?: boolean;
|
107
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
107
|
+
colorSchemaType?: "background" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
108
108
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
109
109
|
parentContainer?: LayoutItem;
|
110
110
|
siblingId?: string;
|
@@ -1,5 +1,8 @@
|
|
1
|
-
import { LayoutDefinition } from "../../../models";
|
1
|
+
import { LayoutDefinition, LayoutItem } from "../../../models";
|
2
2
|
import { BlockTitleSettingsStore } from "../../../stores";
|
3
|
+
import { useThemeStore } from "../../aurora";
|
4
|
+
import { useColorSchemaSetup } from "../../use";
|
3
5
|
export declare class LayoutRenditionManager {
|
6
|
+
static getColorSchemaTypeForContainer(store: ReturnType<typeof useColorSchemaSetup> | ReturnType<typeof useThemeStore>, item: LayoutItem): "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
4
7
|
static setBlockTitleSettingsForLayout(layoutDefinition: LayoutDefinition, blockTitleSettingsStore: BlockTitleSettingsStore): void;
|
5
8
|
}
|
@@ -79,7 +79,7 @@ declare const _default: {
|
|
79
79
|
propsDefinition: Omit<Readonly<{} & {
|
80
80
|
container?: boolean;
|
81
81
|
item?: LayoutItemRegistration;
|
82
|
-
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic"
|
82
|
+
colorSchemaType?: "background" | "primary" | "secondary" | import("@omnia/fx-models").ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
|
83
83
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
84
84
|
}>, "onClick"> & {
|
85
85
|
onClick?: () => any;
|