@omnia/fx 8.0.385-dev → 8.0.387-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +4 -2
  2. package/internal-do-not-import-from-here/ux/UxModels.d.ts +2 -0
  3. package/internal-do-not-import-from-here/ux/admin/chrome/DashboardLayout.d.ts +6 -0
  4. package/internal-do-not-import-from-here/ux/admin/system/loc/localize.d.ts +1 -0
  5. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/EditLocalizationBlade.d.ts +17 -0
  6. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/LocalizationAdmin.d.ts +2 -2
  7. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/stores/LocalizationAdminStore.d.ts +47 -2
  8. package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +5 -4
  9. package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +2 -2
  10. package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/store/BorderPickerStore.d.ts +32 -0
  11. package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStyleEditor.d.ts +5 -4
  12. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.css.d.ts +6 -3
  13. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +36 -16
  14. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPickerPreview.css.d.ts +4 -0
  15. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPreview.d.ts +99 -0
  16. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/renderers/{SwatchRenderer.d.ts → SwatchCardRenderer.d.ts} +3 -3
  17. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/stores/ColorPickerStore.d.ts +29 -8
  18. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaEditor.d.ts +11 -7
  19. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.css.d.ts +1 -0
  21. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +7 -6
  22. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/store/FillPickerStore.d.ts +12 -5
  23. package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStyleEditor.d.ts +5 -4
  24. package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStylePicker.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/aurora/components/input/InputStyleEditor.d.ts +4 -3
  26. package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabStyleEditor.d.ts +4 -3
  27. package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +2 -2
  28. package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemeEditor.d.ts +4 -3
  29. package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyEditor.d.ts +11 -7
  30. package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyPicker.d.ts +4 -1
  31. package/internal-do-not-import-from-here/ux/features/FeatureActivation.d.ts +4 -1
  32. package/internal-do-not-import-from-here/ux/features/blades/FeatureHomeBlade.d.ts +8 -0
  33. package/internal-do-not-import-from-here/ux/features/loc/localize.d.ts +2 -0
  34. package/internal-do-not-import-from-here/ux/features/models/FeatureAction.d.ts +2 -1
  35. package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +4 -0
  36. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.css.d.ts +3 -0
  37. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +6 -4
  38. package/internal-do-not-import-from-here/ux/journey/journeyfilter/JourneyFilterDialog.d.ts +21 -0
  39. package/internal-do-not-import-from-here/ux/journey/models/BladeInstance.d.ts +1 -1
  40. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +5 -4
  41. package/internal-do-not-import-from-here/ux/journey/stores/JourneySelectStore.d.ts +10 -1
  42. package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -3
  43. package/internal-do-not-import-from-here/ux/jsonexportimport/ExportImport.d.ts +13 -3
  44. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/LayoutCanvasStore.d.ts +3 -3
  45. package/internal-do-not-import-from-here/ux/mediapickerV2/mediaprovider/MediaProvider.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/oxide/actionmenu/ActionMenu.d.ts +20 -0
  47. package/internal-do-not-import-from-here/ux/oxide/actionmenu/ActionMenu.stylex.d.ts +4 -0
  48. package/internal-do-not-import-from-here/ux/oxide/datatable/CellRenderer.d.ts +3 -1
  49. package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +3 -1
  50. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +3 -3
  51. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.stylex.d.ts +2 -0
  52. package/internal-do-not-import-from-here/ux/oxide/image/Image.d.ts +10 -2
  53. package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +2 -2
  54. package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +4 -3
  55. package/internal-do-not-import-from-here/ux/oxide/scrollcontainer/store/ScrollContainerStore.d.ts +4 -3
  56. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +1 -1
  57. package/internal-do-not-import-from-here/wctypings.d.ts +25 -7
  58. package/package.json +3 -3
  59. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/LocalizationAdminStyles.css.d.ts +0 -3
  60. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/NodeComponent.d.ts +0 -38
  61. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/ServiceNode.d.ts +0 -17
  62. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts +0 -475
@@ -69,9 +69,8 @@ type VuetifySlots<T> = {
69
69
  type VuetifyValue<T> = T extends {
70
70
  value?: any;
71
71
  } ? T["value"] : T;
72
- import { VIcon, VTooltip, VTextarea, VSwitch, VRadioGroup, VLazy, VForm, VTextField, VBtn, VBtnToggle, VBtnGroup, VNavigationDrawer, VList, VListItem, VListGroup, VListImg, VListItemAction, VListItemTitle, VListItemSubtitle, VListItemMedia, VListSubheader, VDialog, VDialogBottomTransition, VDialogTopTransition, VDialogTransition, VCard, VCardActions, VCardItem, VCardSubtitle, VCardText, VCardTitle, VExpansionPanels, VExpansionPanel, VExpansionPanelText, VExpansionPanelTitle, VAutocomplete, VMenu, VTable, VCheckbox, VCheckboxBtn, VVirtualScroll, VChip, VSelect, VBadge, VCol, VPagination, VRating, VRangeSlider, VSnackbar, VRadio, VSlideGroup, VSlideGroupItem, VStepper, VStepperHeader, VStepperWindow, VStepperActions, VStepperWindowItem, VStepperItem, VTabs, VTab, VBreadcrumbs, VHover } from "vuetify/components";
72
+ import { VIcon, VTooltip, VTextarea, VSwitch, VRadioGroup, VLazy, VForm, VTextField, VBtn, VBtnToggle, VBtnGroup, VNavigationDrawer, VList, VListItem, VListGroup, VListImg, VListItemAction, VListItemTitle, VListItemSubtitle, VListItemMedia, VListSubheader, VDialog, VDialogBottomTransition, VDialogTopTransition, VDialogTransition, VCard, VCardActions, VCardItem, VCardSubtitle, VCardText, VCardTitle, VExpansionPanels, VExpansionPanel, VExpansionPanelText, VExpansionPanelTitle, VAutocomplete, VMenu, VTable, VCheckbox, VCheckboxBtn, VVirtualScroll, VChip, VSelect, VBadge, VCol, VPagination, VRating, VRangeSlider, VSnackbar, VRadio, VSlideGroup, VSlideGroupItem, VStepper, VStepperHeader, VStepperWindow, VStepperActions, VStepperWindowItem, VStepperItem, VTabs, VTab, VBreadcrumbs, VHover, VImg, VDataTable, VDataTableRow, VDataTableRows, VDataTableVirtual, VDataTableServer, VInfiniteScroll, VDatePicker, VFab, VSpeedDial } from "vuetify/components";
73
73
  import { Intersect } from "vuetify/directives";
74
- import { VDataTable, VDataTableRow, VDataTableRows, VDataTableVirtual, VDataTableServer, VInfiniteScroll, VDatePicker, VFab, VSpeedDial } from "vuetify/components";
75
74
  import { VCalendar } from "vuetify/labs/VCalendar";
76
75
  import { VTimePicker } from "vuetify/labs/VTimePicker";
77
76
  import { VNumberInput } from "vuetify/labs/VNumberInput";
@@ -101,6 +100,9 @@ declare module "vue" {
101
100
  "v-intersect"?: VuetifyValue<Pick<Parameters<typeof Intersect.mounted>[1], "value">>;
102
101
  }
103
102
  interface IntrinsicElementAttributes {
103
+ "v-img": VuetifyProps<Pick<VImg, "$props">> & {
104
+ [name: string]: any;
105
+ };
104
106
  "v-tabs": VuetifyProps<Pick<VTabs, "$props">> & {
105
107
  [name: string]: any;
106
108
  };
@@ -126,6 +126,8 @@ export interface OmniaUxLocalization {
126
126
  CurrentTerm: string;
127
127
  PlaceholderImage: string;
128
128
  InheritFromTenant: string;
129
+ Filters: string;
130
+ ApplyFilter: string;
129
131
  };
130
132
  Apps: {
131
133
  Policies: {
@@ -0,0 +1,6 @@
1
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
2
+ "v-slots"?: {} & Omit<{
3
+ default?: import("vue").Slot;
4
+ }, never>;
5
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
6
+ export default _default;
@@ -18,6 +18,7 @@ export declare namespace SystemLocalization {
18
18
  ExternalDeploymentContactEmail: string;
19
19
  ExternalEmailInputHint: string;
20
20
  ExternalUserSyncContactEmail: string;
21
+ InvalidEmailHint: string;
21
22
  };
22
23
  AzureAdPermissions: {
23
24
  Id: string;
@@ -0,0 +1,17 @@
1
+ import { MultilingualString } from "@omnia/fx-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
3
+ "emit:update:modelValue": (value: MultilingualString) => void;
4
+ } & {
5
+ "v-model"?: MultilingualString;
6
+ } & {
7
+ modelValue?: MultilingualString;
8
+ } & {
9
+ label?: string;
10
+ }> & {
11
+ "onUpdate:modelValue"?: (value: MultilingualString) => any;
12
+ } & {
13
+ "v-slots"?: {} & Omit<{
14
+ default?: import("vue").Slot;
15
+ }, never>;
16
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "modelValue" | "v-model" | "emit:update:modelValue"> & import("@omnia/fx/ux").VNodeEvents) => any;
17
+ export default _default;
@@ -1,6 +1,6 @@
1
- declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{}> & {} & {
1
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {} & {
2
2
  "v-slots"?: {} & Omit<{
3
3
  default?: import("vue").Slot;
4
4
  }, never>;
5
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never> & import("@omnia/fx/ux").VNodeEvents) => any;
5
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string> & import("@omnia/fx/ux").VNodeEvents) => any;
6
6
  export default _default;
@@ -1,5 +1,5 @@
1
- import { Language, LanguageTags, UserdefinedLocalizationProperty, guid } from "@omnia/fx-models";
2
- import { LocalizationJson, OmniaServiceLocalizations, ServiceDefinition } from "../models";
1
+ import { Language, LanguageTags, MultilingualString, UserdefinedLocalizationProperty, guid } from "@omnia/fx-models";
2
+ import { LocalizationJson, LocalizationViewMode, OmniaServiceLocalizations, ServiceDefinition } from "../models";
3
3
  export interface JsonData {
4
4
  name?: string;
5
5
  json: any;
@@ -8,6 +8,51 @@ export interface JsonData {
8
8
  serviceId?: guid;
9
9
  language?: LanguageTags;
10
10
  }
11
+ export declare const useSystemLocalizationStore: () => {
12
+ events: import("@omnia/fx/stores").StoreEvents<{
13
+ currentOmniaServiceId: guid;
14
+ languageTags: LanguageTags[];
15
+ localizationTable: Record<string, string>;
16
+ currentLanguage: LanguageTags;
17
+ sortedLocalizationKey: string[];
18
+ languageInfos: Record<string, Language>;
19
+ localizationChanges: Record<string, UserdefinedLocalizationProperty>;
20
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
21
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
22
+ ensureLoadLocalization: (serviceId: guid) => Promise<void>;
23
+ onAddorUpdateLocalizationChange: (localizationChange: UserdefinedLocalizationProperty) => Promise<UserdefinedLocalizationProperty>;
24
+ updateLocalizationChanges: (changes?: UserdefinedLocalizationProperty[]) => void;
25
+ changeServiceId: (serviceId: guid) => void;
26
+ changeLanguage: (language: LanguageTags) => void;
27
+ resolveLocalizationTable: (json: object) => Record<string, string>;
28
+ }>;
29
+ get: {
30
+ getServiceIds: () => Promise<ServiceDefinition[]>;
31
+ getLocalization: (serviceId: guid) => OmniaServiceLocalizations<LocalizationJson>;
32
+ readonly localizationTable: Record<string, string>;
33
+ readonly localizationKeys: string[];
34
+ readonly localizationList: {
35
+ path: string;
36
+ value: string;
37
+ key: string;
38
+ }[];
39
+ otherLanguageLocalizations: (path: string, serviceId?: guid) => {
40
+ [language: string]: string;
41
+ };
42
+ multilingualModel: (path: string, languages: Language[]) => MultilingualString;
43
+ value: (json: object, path: string) => any;
44
+ haveMissingTranslation: (path: string) => boolean;
45
+ haveUpdate: (path: string) => boolean;
46
+ searchText: (text: string, path: string) => boolean;
47
+ queryKeys: ({ text, viewMode }: {
48
+ text?: string;
49
+ viewMode?: LocalizationViewMode;
50
+ }) => string[];
51
+ jsonStructure: (paths: string[]) => {};
52
+ };
53
+ } & {
54
+ dispose?: () => void;
55
+ };
11
56
  export declare const LocalizationAdminStore: () => {
12
57
  state: {
13
58
  languageTags: LanguageTags[];
@@ -1,7 +1,7 @@
1
1
  import { BackgroundDefinition, ThemeContextType } from "@omnia/fx-models";
2
2
  import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
- type EditorVariant = "default" | "dialog" | "blade";
4
+ type EditorVariant = "default" | "dialog" | "journey";
5
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
6
6
  "emit:update:modelValue": (value: BackgroundDefinition) => void;
7
7
  } & {
@@ -30,17 +30,18 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
30
30
  defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
31
31
  } & {
32
32
  enableDynamicColor?: boolean;
33
+ } & {
34
+ toolbarCallback?: (value: () => VNodeChild) => void;
33
35
  } & {
34
36
  label?: string;
35
- } & DefineEmit<"click:confirm", (value: BackgroundDefinition) => void> & DefineEmit<"init:actionButtons", (value: () => VNodeChild) => void> & DefineSlot<"activator", () => VNodeChild>> & {
37
+ } & DefineEmit<"click:confirm", (value: BackgroundDefinition) => void> & DefineSlot<"activator", () => VNodeChild>> & {
36
38
  "onUpdate:modelValue"?: (value: BackgroundDefinition) => any;
37
39
  "onClick:confirm"?: (value: BackgroundDefinition) => any;
38
- "onInit:actionButtons"?: (value: () => VNodeChild) => any;
39
40
  } & {
40
41
  "v-slots"?: {
41
42
  activator?: () => VNodeChild;
42
43
  } & Omit<{
43
44
  default?: import("vue").Slot;
44
45
  }, "activator">;
45
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "fill" | "border" | "variant" | "label" | "modelValue" | "elevation" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "emit:click:confirm" | "defaultColorSchemaType" | "enableDynamicColor" | "emit:init:actionButtons" | "individualRadiusSelection" | "createNewColorDynamic" | "individualBorderWidthSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
46
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "fill" | "border" | "variant" | "label" | "modelValue" | "elevation" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "emit:click:confirm" | "enableDynamicColor" | "toolbarCallback" | "defaultColorSchemaType" | "individualRadiusSelection" | "createNewColorDynamic" | "individualBorderWidthSelection"> & import("@omnia/fx/ux").VNodeEvents) => any;
46
47
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { DefineSlot } from "@omnia/fx/ux";
2
2
  import { BorderStylingDefinition, ThemeContextType } from "@omnia/fx-models";
3
3
  import { VNodeChild } from "vue";
4
- type BorderPickerVariant = "dialog" | "blade";
4
+ type BorderPickerVariant = "dialog" | "journey";
5
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
6
6
  "emit:update:modelValue": (value: BorderStylingDefinition) => void;
7
7
  } & {
@@ -34,5 +34,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
34
34
  } & Omit<{
35
35
  default?: import("vue").Slot;
36
36
  }, "activator">;
37
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "defaultColorSchemaType" | "enableDynamicColor" | "individualRadiusSelection" | "individualWidthSelection" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
37
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "enableDynamicColor" | "defaultColorSchemaType" | "individualRadiusSelection" | "individualWidthSelection" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
38
38
  export default _default;
@@ -0,0 +1,32 @@
1
+ import { BorderStylingDefinition, BoxDimensions, FillDefinition, FilterPickerFilter } from "@omnia/fx-models";
2
+ export declare const useBorderPickerStore: () => {
3
+ state: {
4
+ internalModel: BorderStylingDefinition;
5
+ settings: {
6
+ show: boolean;
7
+ individualWidthSelection: boolean;
8
+ individualRadiusSelection: boolean;
9
+ };
10
+ exportImportModel: any;
11
+ fill: FillDefinition;
12
+ };
13
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
14
+ update: () => {
15
+ radius: (value: BoxDimensions) => void;
16
+ width: (value: BoxDimensions) => void;
17
+ fill: (value: FillDefinition) => void;
18
+ borderPattern: (value: any) => void;
19
+ };
20
+ clear: () => void;
21
+ initState: (model: BorderStylingDefinition, individualWidthSelection: boolean, individualRadiusSelection: boolean) => void;
22
+ }>;
23
+ rules: {
24
+ readonly canShowBorderColor: boolean | import("@omnia/fx-models").SpacingValue;
25
+ readonly canShowBorderPattern: boolean;
26
+ };
27
+ dataTypes: {
28
+ borderPatterns: FilterPickerFilter[];
29
+ };
30
+ } & {
31
+ dispose?: () => void;
32
+ };
@@ -1,7 +1,7 @@
1
1
  import { ButtonBlueprint, ThemeContextType } from "@omnia/fx-models";
2
2
  import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
- type EditorVariant = "default" | "dialog" | "blade";
4
+ type EditorVariant = "editor" | "dialog";
5
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
6
6
  "emit:update:modelValue": (value: ButtonBlueprint) => void;
7
7
  } & {
@@ -18,10 +18,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
18
18
  toned?: boolean;
19
19
  } & {
20
20
  iconButton?: boolean;
21
- } & DefineEmit<"click:confirm", (value: ButtonBlueprint) => void> & DefineEmit<"init:actionButtons", (value: () => VNodeChild) => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"definitionButton", () => VNodeChild>> & {
21
+ } & {
22
+ toolbarCallback?: (value: () => VNodeChild) => void;
23
+ } & DefineEmit<"click:confirm", (value: ButtonBlueprint) => void> & DefineSlot<"activator", () => VNodeChild> & DefineSlot<"definitionButton", () => VNodeChild>> & {
22
24
  "onUpdate:modelValue"?: (value: ButtonBlueprint) => any;
23
25
  "onClick:confirm"?: (value: ButtonBlueprint) => any;
24
- "onInit:actionButtons"?: (value: () => VNodeChild) => any;
25
26
  } & {
26
27
  "v-slots"?: {
27
28
  activator?: () => VNodeChild;
@@ -29,5 +30,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
29
30
  } & Omit<{
30
31
  default?: import("vue").Slot;
31
32
  }, "activator" | "definitionButton">;
32
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "emit:click:confirm" | "emit:init:actionButtons" | "buttonLabel" | "iconButton" | "slot:definitionButton"> & import("@omnia/fx/ux").VNodeEvents) => any;
33
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "emit:click:confirm" | "toolbarCallback" | "buttonLabel" | "iconButton" | "slot:definitionButton"> & import("@omnia/fx/ux").VNodeEvents) => any;
33
34
  export default _default;
@@ -1,9 +1,12 @@
1
1
  export declare const ColorPickerStyles: {
2
- transparentBackground: string;
3
2
  separator: (dark: boolean) => string;
4
3
  sliderBackground: (backgroundColor: string) => string;
5
- swatch: (color: string) => string;
6
- swatchWrapper: (color: string, selected: boolean, disabled: boolean) => string;
4
+ swatchCard: {
5
+ card: string;
6
+ wrapper: (color: string, selected: boolean, disabled: boolean) => string;
7
+ color: (color: string) => string;
8
+ };
7
9
  disabled: string;
8
10
  selected: (color: string) => string;
11
+ overlay: (dark: boolean) => string;
9
12
  };
@@ -1,6 +1,6 @@
1
1
  import { ColorSchemaType, ColorValue, ThemeContextType } from "@omnia/fx-models";
2
2
  import { VNodeChild } from "vue";
3
- export type ColorPickerType = "default" | "base" | "onBase";
3
+ export type ColorPickerType = "default" | "base" | "onBase" | "colorSchema";
4
4
  declare const _default: {
5
5
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
6
6
  "v-slots": import("vue").Prop<{
@@ -8,6 +8,9 @@ declare const _default: {
8
8
  } & {
9
9
  activator?: () => VNodeChild;
10
10
  }>;
11
+ toolbarCallback: {
12
+ type: import("vue").PropType<(value: () => VNodeChild) => void>;
13
+ };
11
14
  disabled: {
12
15
  type: import("vue").PropType<boolean>;
13
16
  required: false;
@@ -18,19 +21,22 @@ declare const _default: {
18
21
  label: {
19
22
  type: import("vue").PropType<string>;
20
23
  };
21
- switchableColorSchema: {
24
+ opacity: {
22
25
  type: import("vue").PropType<boolean>;
23
26
  };
24
- opacity: {
27
+ showSystemColors: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ showPlaceholders: {
25
31
  type: import("vue").PropType<boolean>;
26
32
  };
27
- customColor: {
33
+ disableCustomColor: {
28
34
  type: import("vue").PropType<boolean>;
29
35
  };
30
36
  enableDynamicColor: {
31
37
  type: import("vue").PropType<boolean>;
32
38
  };
33
- defaultColorSchemaType: {
39
+ dynamicColorSchemaType: {
34
40
  type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
35
41
  };
36
42
  type: {
@@ -139,6 +145,9 @@ declare const _default: {
139
145
  } & {
140
146
  activator?: () => VNodeChild;
141
147
  }>;
148
+ toolbarCallback: {
149
+ type: import("vue").PropType<(value: () => VNodeChild) => void>;
150
+ };
142
151
  disabled: {
143
152
  type: import("vue").PropType<boolean>;
144
153
  required: false;
@@ -149,19 +158,22 @@ declare const _default: {
149
158
  label: {
150
159
  type: import("vue").PropType<string>;
151
160
  };
152
- switchableColorSchema: {
161
+ opacity: {
153
162
  type: import("vue").PropType<boolean>;
154
163
  };
155
- opacity: {
164
+ showSystemColors: {
156
165
  type: import("vue").PropType<boolean>;
157
166
  };
158
- customColor: {
167
+ showPlaceholders: {
168
+ type: import("vue").PropType<boolean>;
169
+ };
170
+ disableCustomColor: {
159
171
  type: import("vue").PropType<boolean>;
160
172
  };
161
173
  enableDynamicColor: {
162
174
  type: import("vue").PropType<boolean>;
163
175
  };
164
- defaultColorSchemaType: {
176
+ dynamicColorSchemaType: {
165
177
  type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
166
178
  };
167
179
  type: {
@@ -265,6 +277,9 @@ declare const _default: {
265
277
  } & {
266
278
  activator?: () => VNodeChild;
267
279
  }>;
280
+ toolbarCallback: {
281
+ type: import("vue").PropType<(value: () => VNodeChild) => void>;
282
+ };
268
283
  disabled: {
269
284
  type: import("vue").PropType<boolean>;
270
285
  required: false;
@@ -275,19 +290,22 @@ declare const _default: {
275
290
  label: {
276
291
  type: import("vue").PropType<string>;
277
292
  };
278
- switchableColorSchema: {
293
+ opacity: {
279
294
  type: import("vue").PropType<boolean>;
280
295
  };
281
- opacity: {
296
+ showSystemColors: {
297
+ type: import("vue").PropType<boolean>;
298
+ };
299
+ showPlaceholders: {
282
300
  type: import("vue").PropType<boolean>;
283
301
  };
284
- customColor: {
302
+ disableCustomColor: {
285
303
  type: import("vue").PropType<boolean>;
286
304
  };
287
305
  enableDynamicColor: {
288
306
  type: import("vue").PropType<boolean>;
289
307
  };
290
- defaultColorSchemaType: {
308
+ dynamicColorSchemaType: {
291
309
  type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
292
310
  };
293
311
  type: {
@@ -464,10 +482,12 @@ declare const _default: {
464
482
  "v-model"?: ColorValue;
465
483
  toned?: boolean;
466
484
  themeType?: ThemeContextType;
467
- defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
485
+ dynamicColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
468
486
  enableDynamicColor?: boolean;
469
- customColor?: boolean;
470
- switchableColorSchema?: boolean;
487
+ disableCustomColor?: boolean;
488
+ showPlaceholders?: boolean;
489
+ showSystemColors?: boolean;
490
+ toolbarCallback?: (value: () => VNodeChild) => void;
471
491
  }>, "onUpdate:modelValue"> & {
472
492
  "onUpdate:modelValue"?: (value: ColorValue) => any;
473
493
  };
@@ -0,0 +1,4 @@
1
+ import { InputBlueprint } from "@omnia/fx-models";
2
+ export declare const ColorPreviewStyles: {
3
+ transparentBackground: (blueprint: InputBlueprint) => string;
4
+ };
@@ -0,0 +1,99 @@
1
+ import { ColorSchemaType, ColorValue } from "@omnia/fx-models";
2
+ export type ColorPickerType = "default" | "base" | "onBase" | "colorSchema";
3
+ declare const _default: {
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
+ dynamicColorSchemaType: {
6
+ type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
7
+ };
8
+ color: {
9
+ type: import("vue").PropType<ColorValue>;
10
+ };
11
+ colorSchemaType: {
12
+ type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
13
+ required: boolean;
14
+ };
15
+ container: {
16
+ type: BooleanConstructor;
17
+ required: boolean;
18
+ };
19
+ colors: {
20
+ type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
21
+ required: boolean;
22
+ };
23
+ }>> & {
24
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
25
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ "update:modelValue": (value: ColorValue) => any;
27
+ }, import("vue").PublicProps, {
28
+ container: boolean;
29
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
30
+ P: {};
31
+ B: {};
32
+ D: {};
33
+ C: {};
34
+ M: {};
35
+ Defaults: {};
36
+ }, Readonly<import("vue").ExtractPropTypes<{
37
+ dynamicColorSchemaType: {
38
+ type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
39
+ };
40
+ color: {
41
+ type: import("vue").PropType<ColorValue>;
42
+ };
43
+ colorSchemaType: {
44
+ type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
45
+ required: boolean;
46
+ };
47
+ container: {
48
+ type: BooleanConstructor;
49
+ required: boolean;
50
+ };
51
+ colors: {
52
+ type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
53
+ required: boolean;
54
+ };
55
+ }>> & {
56
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
57
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
58
+ container: boolean;
59
+ }>;
60
+ __isFragment?: never;
61
+ __isTeleport?: never;
62
+ __isSuspense?: never;
63
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
64
+ dynamicColorSchemaType: {
65
+ type: import("vue").PropType<"background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic">;
66
+ };
67
+ color: {
68
+ type: import("vue").PropType<ColorValue>;
69
+ };
70
+ colorSchemaType: {
71
+ type: import("vue").PropType<import("@omnia/fx-models").ColorSchemaTypes | ColorSchemaType>;
72
+ required: boolean;
73
+ };
74
+ container: {
75
+ type: BooleanConstructor;
76
+ required: boolean;
77
+ };
78
+ colors: {
79
+ type: import("vue").PropType<import("@omnia/fx/ux").ColorSchemaStoreType>;
80
+ required: boolean;
81
+ };
82
+ }>> & {
83
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
84
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
+ "update:modelValue": (value: ColorValue) => any;
86
+ }, string, {
87
+ container: boolean;
88
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
89
+ propsDefinition: Omit<Readonly<{} & {
90
+ color?: ColorValue;
91
+ container?: boolean;
92
+ colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
93
+ colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
94
+ dynamicColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
95
+ }>, "onUpdate:modelValue"> & {
96
+ "onUpdate:modelValue"?: (value: ColorValue) => any;
97
+ };
98
+ };
99
+ export default _default;
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  };
9
9
  }>> & {
10
10
  onSelect?: (value: ColorValue) => any;
11
- }, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  select: (value: ColorValue) => any;
13
13
  }, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
14
14
  P: {};
@@ -24,7 +24,7 @@ declare const _default: {
24
24
  };
25
25
  }>> & {
26
26
  onSelect?: (value: ColorValue) => any;
27
- }, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], {}, {}, {}, {}>;
27
+ }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
28
28
  __isFragment?: never;
29
29
  __isTeleport?: never;
30
30
  __isSuspense?: never;
@@ -35,7 +35,7 @@ declare const _default: {
35
35
  };
36
36
  }>> & {
37
37
  onSelect?: (value: ColorValue) => any;
38
- }, () => import("vue/jsx-runtime").JSX.Element | import("vue/jsx-runtime").JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
39
  select: (value: ColorValue) => any;
40
40
  }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
41
41
  propsDefinition: Omit<Readonly<{} & {
@@ -3,23 +3,38 @@ export interface swatch {
3
3
  color: ColorValue;
4
4
  colorString: string;
5
5
  }
6
+ export type ColorPickerType = "default" | "base" | "onBase" | "colorSchema";
6
7
  export declare const useColorPickerStore: () => {
7
8
  get: {
8
9
  swatches: {
9
10
  baseColor: (swatchSchema: swatch[], toned: boolean) => string;
10
11
  onBaseColor: (swatchSchema: swatch[], toned: boolean) => string;
11
- colorSchemaName: (swatchSchema: swatch[]) => string;
12
+ colorSchema: {
13
+ name: (swatchSchema: swatch[]) => string;
14
+ formattedName: (swatchSchema: swatch[]) => string;
15
+ };
12
16
  };
13
17
  };
14
18
  state: {
15
- currentSelection: ColorValue;
16
- themedColorValue: ThemedColorValue;
19
+ selection: {
20
+ currentSelection: ColorValue;
21
+ themedColorValue: ThemedColorValue;
22
+ customColor: string;
23
+ };
17
24
  prevSelectedColorSchemaType: any;
18
- customColor: string;
19
25
  opacity: number;
20
- dynamicColor: boolean;
21
- showColorPicker: boolean;
22
- showDialog: boolean;
26
+ settings: {
27
+ dynamicColor: {
28
+ show: boolean;
29
+ enable: boolean;
30
+ colorShemaType: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
31
+ };
32
+ showCustomColorPicker: boolean;
33
+ showDialog: boolean;
34
+ pickerType: ColorPickerType;
35
+ showplaceHolders: boolean;
36
+ showSystemColors: boolean;
37
+ };
23
38
  swatches: {
24
39
  dynamic: swatch[];
25
40
  schemas: swatch[][];
@@ -27,21 +42,27 @@ export declare const useColorPickerStore: () => {
27
42
  };
28
43
  actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
29
44
  toggleColorPicker: () => void;
45
+ setDynamicColor: (value: any) => void;
30
46
  selectColor: (value: ColorValue) => void;
31
47
  selectCustomColor: (color: string) => void;
32
48
  deleteColor: () => void;
33
49
  setOpacity: (opacity: number) => void;
34
- initState: (model: ColorValue, themeContextType: ThemeContextType, defaultColorSchemaType: ColorSchemaType, switchableColorSchema: boolean) => void;
50
+ initState: (model: ColorValue, themeContextType: ThemeContextType, dynamicColorSchemaType: ColorSchemaType, colorPickerType: ColorPickerType, enableDynamicColor: boolean, showplaceHolders: boolean, showSystemColors: boolean) => void;
35
51
  }>;
36
52
  rules: {
37
53
  selection: {
54
+ isDynamicColor: () => "" | "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
38
55
  isCustomColor: () => boolean;
39
56
  isCurrentValue: (value: ColorValue) => boolean;
40
57
  };
41
58
  swatches: {
59
+ isPlaceHolder: (swatchSchema: swatch[]) => boolean;
42
60
  isDynamicColorSchema: (swatchSchema: swatch[]) => boolean;
43
61
  isIncludedInRender: (index: number) => boolean;
44
62
  };
63
+ colorSchema: {
64
+ isIncludedInTheme: (colorSchema: ColorSchemaType) => boolean;
65
+ };
45
66
  };
46
67
  } & {
47
68
  dispose?: () => void;