@omnia/fx 8.0.136-dev → 8.0.138-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/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/stores/DefineStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/admin/AdminRouter.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/backgroundstyle/BackgroundStyleEditor.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/buttonstyle/ButtonBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/buttonstyle/ButtonStyleEditor.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromeBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/chrome/ChromeEditor.d.ts +27 -1
- package/internal-do-not-import-from-here/ux/blueprintpickers/componentblueprints/ComponentBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconBlueprintsViewer.d.ts +84 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStyleEditor.d.ts +99 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/stylepicker/StylePicker.d.ts +36 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/tabs/TabBlueprintsViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/blueprintpickers/tabs/TabStyleEditor.d.ts +8 -3
- package/internal-do-not-import-from-here/ux/blueprintpickers/textstylepicker/TextStylePicker.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +27 -1
- package/internal-do-not-import-from-here/ux/enterpriseglossary/componentbase/EnterpriseGlossaryTermComponentBase.d.ts +113 -41
- package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +9 -5
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyRouterStore.d.ts +71 -0
- package/internal-do-not-import-from-here/ux/journey/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +18 -17
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/targetselector/TargetSelector.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/models/PostStyles.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +43 -9
- package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +145 -142
- package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +290 -284
- package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +290 -284
- package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +34 -0
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/social/loc/localize.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/theming/components/ThemeDefinitionEditor.d.ts +0 -468
- package/internal-do-not-import-from-here/ux/theming-v2/actionhandler/ThemeSelectorAction.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/theming-v2/actionhandler/ThemeSelectorClickHandler.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/blades/IconsBlade.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/blades/IconsBladeEdit.d.ts +16 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +73 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/store/IconsEditorStore.d.ts +52 -0
- package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/typography/store/TypographyEditorStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/DefinitionsChrome.d.ts +10 -10
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsTypography.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsTypography.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/BlueprintsTemplates.d.ts +101 -35
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/ButtonStyleBlueprints.d.ts +17 -5
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/ChromeStyleBlueprints.d.ts +14 -4
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/ThemeDefinitionInstance.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/shared/TypographyBlueprints.d.ts +5 -5
- package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +34 -32
- package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +144 -142
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaDefinitionStore.d.ts +12 -10
- package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +144 -142
- package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +144 -142
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +12 -3
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeDefinitionStoreV2.d.ts +15 -5
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/store/ThemingService.d.ts +45 -0
- package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +144 -142
- package/internal-do-not-import-from-here/ux/theming-v2/store/tmpUseIndexDb.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeViewer.d.ts +8 -4
- package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +11 -12
- package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +145 -142
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/VelcronContentEditor.d.ts +211 -201
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/models/ContentDefinitionRegistration.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/velcron/components/contenteditor/store/ContentEditorStore.d.ts +44 -42
- package/internal-do-not-import-from-here/ux/velcron/core/actions/IActionHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +8 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronTypes.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronActions.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronConstants.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronData.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutCreationBlade.d.ts +7 -3
- package/internal-do-not-import-from-here/wctypings.d.ts +77 -12
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/enterpriseglossary/componentbase/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/journey/JourneyRouter.d.ts +0 -8
@@ -0,0 +1,69 @@
|
|
1
|
+
import { Future } from "@omnia/fx-models";
|
2
|
+
import { Ref } from "vue";
|
3
|
+
/**
|
4
|
+
* Async api for working with indexedDB. Remember to await the useIndexedDb since its async
|
5
|
+
* @export
|
6
|
+
* @param {string} name
|
7
|
+
* @param {string} table
|
8
|
+
* @return {*} {Future<IndexedDbApi>}
|
9
|
+
*/
|
10
|
+
export declare function useIndexedDb(name: string, table: string): Future<IndexedDbApi>;
|
11
|
+
/**
|
12
|
+
*
|
13
|
+
*
|
14
|
+
* @export
|
15
|
+
* @interface IndexedDbApi
|
16
|
+
*/
|
17
|
+
export interface IndexedDbApi {
|
18
|
+
/**
|
19
|
+
* Current database instance
|
20
|
+
* @type {(IDBDatabase | null)}
|
21
|
+
* @memberof IndexedDbApi
|
22
|
+
*/
|
23
|
+
currentDb: IDBDatabase | null;
|
24
|
+
/**
|
25
|
+
* Current database name
|
26
|
+
* @type {Ref<string>}
|
27
|
+
* @memberof IndexedDbApi
|
28
|
+
*/
|
29
|
+
currentDbName: Ref<string>;
|
30
|
+
/**
|
31
|
+
* Current database version
|
32
|
+
* @type {Ref<number>}
|
33
|
+
* @memberof IndexedDbApi
|
34
|
+
*/
|
35
|
+
currentDbVersion: Ref<number>;
|
36
|
+
/**
|
37
|
+
* Gets the data by key from the database
|
38
|
+
* @memberof IndexedDbApi
|
39
|
+
*/
|
40
|
+
get: <T>(key: IDBValidKey) => Promise<T>;
|
41
|
+
/**
|
42
|
+
* Gets all the data from the database
|
43
|
+
* @memberof IndexedDbApi
|
44
|
+
*/
|
45
|
+
getAll: <T>() => Promise<Map<IDBValidKey, T>>;
|
46
|
+
/**
|
47
|
+
* Adds the key to the database if the key exists it will throw exception
|
48
|
+
* use upsert for add or update operations
|
49
|
+
* @memberof IndexedDbApi
|
50
|
+
*/
|
51
|
+
add: <T>(key: IDBValidKey, data: T) => Promise<unknown>;
|
52
|
+
/**
|
53
|
+
* Does an add or update depending on if the key exists
|
54
|
+
* @memberof IndexedDbApi
|
55
|
+
*/
|
56
|
+
upsert: <T>(key: IDBValidKey, data: T) => Promise<unknown>;
|
57
|
+
/**
|
58
|
+
* Removes the key from the database
|
59
|
+
* @memberof IndexedDbApi
|
60
|
+
*/
|
61
|
+
remove: (key: IDBValidKey) => Promise<unknown>;
|
62
|
+
/**
|
63
|
+
* Closes the database connection and dispsoses the instance from the cache
|
64
|
+
* Note if you have multiple tables opened on the same database it will close all instances
|
65
|
+
* this means you have to call useIndexedDb again after this
|
66
|
+
* @memberof IndexedDbApi
|
67
|
+
*/
|
68
|
+
close: () => void;
|
69
|
+
}
|
@@ -1,17 +1,19 @@
|
|
1
|
-
import { ThemeDefinitionV2 } from "@omnia/fx-models";
|
1
|
+
import { ThemeContextType, ThemeDefinitionV2 } from "@omnia/fx-models";
|
2
2
|
declare const _default: (props: {
|
3
3
|
"v-model"?: ThemeDefinitionV2;
|
4
4
|
} & {
|
5
5
|
"onUpdate:modelValue"?: (value: ThemeDefinitionV2) => void;
|
6
6
|
} & {
|
7
7
|
modelValue?: ThemeDefinitionV2;
|
8
|
+
} & {
|
9
|
+
themeType?: ThemeContextType;
|
8
10
|
} & {
|
9
11
|
toned?: boolean;
|
10
|
-
} & Omit<{}, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue"> & {
|
12
|
+
} & Omit<{}, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue" | "themeType"> & {
|
11
13
|
"v-slots"?: {
|
12
14
|
default?: import("vue").Slot;
|
13
15
|
};
|
14
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue">) => {
|
16
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue" | "themeType">) => {
|
15
17
|
$: import("vue").ComponentInternalInstance;
|
16
18
|
$data: {};
|
17
19
|
$props: {};
|
@@ -55,13 +57,15 @@ declare const _default: (props: {
|
|
55
57
|
"onUpdate:modelValue"?: (value: ThemeDefinitionV2) => void;
|
56
58
|
} & {
|
57
59
|
modelValue?: ThemeDefinitionV2;
|
60
|
+
} & {
|
61
|
+
themeType?: ThemeContextType;
|
58
62
|
} & {
|
59
63
|
toned?: boolean;
|
60
64
|
} & {
|
61
65
|
"v-slots"?: {
|
62
66
|
default?: import("vue").Slot;
|
63
67
|
};
|
64
|
-
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue">;
|
68
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "toned" | "v-model" | "onUpdate:modelValue" | "modelValue" | "themeType">;
|
65
69
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
66
70
|
[key: string]: any;
|
67
71
|
}>;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { useThemeStoreV2, useColorSchemaStore, useTypographyBlueprintStore, useSpacingBlueprintStore, useChromeBlueprintStore } from "@omnia/fx/ux";
|
2
|
-
import { ColorSchemaTypes, ThemeDefinitionV2 } from "@omnia/fx-models";
|
3
|
-
type themeType = "default" | "admin" | "preview" | "color-context";
|
2
|
+
import { ColorSchemaTypes, ThemeDefinitionV2, ThemeContextType } from "@omnia/fx-models";
|
4
3
|
declare const _default: {
|
5
4
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
6
5
|
"color-schema-type": {
|
@@ -10,10 +9,10 @@ declare const _default: {
|
|
10
9
|
type: import("vue").PropType<"info" | "error" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic">;
|
11
10
|
};
|
12
11
|
"theme-type": {
|
13
|
-
type: import("vue").PropType<
|
12
|
+
type: import("vue").PropType<ThemeContextType>;
|
14
13
|
};
|
15
14
|
themeType: {
|
16
|
-
type: import("vue").PropType<
|
15
|
+
type: import("vue").PropType<ThemeContextType>;
|
17
16
|
};
|
18
17
|
"theme-definition": {
|
19
18
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -47,10 +46,10 @@ declare const _default: {
|
|
47
46
|
type: import("vue").PropType<"info" | "error" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic">;
|
48
47
|
};
|
49
48
|
"theme-type": {
|
50
|
-
type: import("vue").PropType<
|
49
|
+
type: import("vue").PropType<ThemeContextType>;
|
51
50
|
};
|
52
51
|
themeType: {
|
53
|
-
type: import("vue").PropType<
|
52
|
+
type: import("vue").PropType<ThemeContextType>;
|
54
53
|
};
|
55
54
|
"theme-definition": {
|
56
55
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -81,10 +80,10 @@ declare const _default: {
|
|
81
80
|
type: import("vue").PropType<"info" | "error" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic">;
|
82
81
|
};
|
83
82
|
"theme-type": {
|
84
|
-
type: import("vue").PropType<
|
83
|
+
type: import("vue").PropType<ThemeContextType>;
|
85
84
|
};
|
86
85
|
themeType: {
|
87
|
-
type: import("vue").PropType<
|
86
|
+
type: import("vue").PropType<ThemeContextType>;
|
88
87
|
};
|
89
88
|
"theme-definition": {
|
90
89
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -114,10 +113,10 @@ declare const _default: {
|
|
114
113
|
type: import("vue").PropType<"info" | "error" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic">;
|
115
114
|
};
|
116
115
|
"theme-type": {
|
117
|
-
type: import("vue").PropType<
|
116
|
+
type: import("vue").PropType<ThemeContextType>;
|
118
117
|
};
|
119
118
|
themeType: {
|
120
|
-
type: import("vue").PropType<
|
119
|
+
type: import("vue").PropType<ThemeContextType>;
|
121
120
|
};
|
122
121
|
"theme-definition": {
|
123
122
|
type: import("vue").PropType<ThemeDefinitionV2>;
|
@@ -149,8 +148,8 @@ declare const _default: {
|
|
149
148
|
themeDefinition?: ThemeDefinitionV2;
|
150
149
|
colorSchemaType?: "info" | "error" | "primary" | "secondary" | ColorSchemaTypes | "accent1" | "accent2" | "accent3" | "neutral" | "warning" | "notification" | "background" | "dynamic";
|
151
150
|
"theme-definition"?: ThemeDefinitionV2;
|
152
|
-
themeType?:
|
153
|
-
"theme-type"?:
|
151
|
+
themeType?: ThemeContextType;
|
152
|
+
"theme-type"?: ThemeContextType;
|
154
153
|
}>, "onTheme:initialized"> & {
|
155
154
|
"onTheme:initialized"?: (theme: {
|
156
155
|
themeStore: ReturnType<typeof useThemeStoreV2>;
|