@omnia/fx 8.0.384-dev → 8.0.386-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 (58) hide show
  1. package/internal-do-not-import-from-here/stores/DefineStore.d.ts +7 -7
  2. package/internal-do-not-import-from-here/ux/UxModels.d.ts +1 -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 +15 -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/app/management/tabs/namingpolicies/AffixRow.d.ts +4 -4
  9. package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceprogressblade/AppInstanceProgressBlade.d.ts +1 -1
  10. package/internal-do-not-import-from-here/ux/appprovisioning/components/AppInstanceCompletedStepVueComponent.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +2 -2
  12. package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +1 -1
  13. package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonBlueprintsViewer.d.ts +2 -2
  14. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.css.d.ts +5 -1
  15. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +30 -20
  16. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPickerPreview.css.d.ts +4 -0
  17. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker_old.d.ts +0 -0
  18. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPreview.d.ts +99 -0
  19. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/renderers/SwatchCardRenderer.d.ts +47 -0
  20. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/renderers/SwatchRenderer.d.ts +47 -0
  21. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/stores/ColorPickerStore.d.ts +69 -0
  22. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/aurora/components/containerFillpicker/ContainerBlueprintsViewer.d.ts +2 -2
  24. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.css.d.ts +1 -0
  25. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +3 -3
  26. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker_old.d.ts +0 -0
  27. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/store/FillPickerStore.d.ts +39 -0
  28. package/internal-do-not-import-from-here/ux/aurora/components/headerpicker/HeaderViewer.d.ts +2 -2
  29. package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStyleEditor.d.ts +1 -1
  30. package/internal-do-not-import-from-here/ux/aurora/components/iconstylepicker/IconStylePicker.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/aurora/components/input/InputBlueprintsViewer.d.ts +2 -2
  32. package/internal-do-not-import-from-here/ux/aurora/components/tabs/TabBlueprintsViewer.d.ts +2 -2
  33. package/internal-do-not-import-from-here/ux/aurora/components/textstylepicker/TextStylePicker.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyBlueprintsViewer.d.ts +2 -2
  35. package/internal-do-not-import-from-here/ux/enterpriseproperties/settingpicker/EnterprisePropertySettingPicker.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +3 -2
  37. package/internal-do-not-import-from-here/ux/journey/SettingsJourneyMenu.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/journey/models/BladeInstance.d.ts +0 -1
  39. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +4 -4
  40. package/internal-do-not-import-from-here/ux/models/DataTable.d.ts +1 -13
  41. package/internal-do-not-import-from-here/ux/oxide/actionmenu/ActionMenu.d.ts +30 -0
  42. package/internal-do-not-import-from-here/ux/oxide/actionmenu/ActionMenu.stylex.d.ts +4 -0
  43. package/internal-do-not-import-from-here/ux/oxide/colorpicker/ColorPicker.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/oxide/datatable/CellRenderer.d.ts +10 -0
  45. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +3 -3
  46. package/internal-do-not-import-from-here/ux/oxide/datatable/RowRenderer.d.ts +4 -26
  47. package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +3 -3
  48. package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +2 -2
  49. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.stylex.d.ts +0 -1
  50. package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +2 -2
  51. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +1 -1
  53. package/internal-do-not-import-from-here/ux/oxide/treeview/OTreeViewV3.d.ts +1 -1
  54. package/internal-do-not-import-from-here/wctypings.d.ts +25 -7
  55. package/package.json +3 -3
  56. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/LocalizationAdminStyles.css.d.ts +0 -3
  57. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/NodeComponent.d.ts +0 -38
  58. package/internal-do-not-import-from-here/ux/admin/system/submenu/localizationadmin/ServiceNode.d.ts +0 -17
@@ -0,0 +1,69 @@
1
+ import { ColorSchemaType, ColorValue, ThemeContextType, ThemedColorValue } from "@omnia/fx-models";
2
+ export interface swatch {
3
+ color: ColorValue;
4
+ colorString: string;
5
+ }
6
+ export type ColorPickerType = "default" | "base" | "onBase" | "colorSchema";
7
+ export declare const useColorPickerStore: () => {
8
+ get: {
9
+ swatches: {
10
+ baseColor: (swatchSchema: swatch[], toned: boolean) => string;
11
+ onBaseColor: (swatchSchema: swatch[], toned: boolean) => string;
12
+ colorSchema: {
13
+ name: (swatchSchema: swatch[]) => string;
14
+ formattedName: (swatchSchema: swatch[]) => string;
15
+ };
16
+ };
17
+ };
18
+ state: {
19
+ selection: {
20
+ currentSelection: ColorValue;
21
+ themedColorValue: ThemedColorValue;
22
+ customColor: string;
23
+ };
24
+ prevSelectedColorSchemaType: any;
25
+ opacity: number;
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
+ };
38
+ swatches: {
39
+ dynamic: swatch[];
40
+ schemas: swatch[][];
41
+ };
42
+ };
43
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
44
+ toggleColorPicker: () => void;
45
+ setDynamicColor: (value: any) => void;
46
+ selectColor: (value: ColorValue) => void;
47
+ selectCustomColor: (color: string) => void;
48
+ deleteColor: () => void;
49
+ setOpacity: (opacity: number) => void;
50
+ initState: (model: ColorValue, themeContextType: ThemeContextType, dynamicColorSchemaType: ColorSchemaType, colorPickerType: ColorPickerType, enableDynamicColor: boolean, showplaceHolders: boolean, showSystemColors: boolean) => void;
51
+ }>;
52
+ rules: {
53
+ selection: {
54
+ isDynamicColor: () => "" | "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
55
+ isCustomColor: () => boolean;
56
+ isCurrentValue: (value: ColorValue) => boolean;
57
+ };
58
+ swatches: {
59
+ isPlaceHolder: (swatchSchema: swatch[]) => boolean;
60
+ isDynamicColorSchema: (swatchSchema: swatch[]) => boolean;
61
+ isIncludedInRender: (index: number) => boolean;
62
+ };
63
+ colorSchema: {
64
+ isIncludedInTheme: (colorSchema: ColorSchemaType) => boolean;
65
+ };
66
+ };
67
+ } & {
68
+ dispose?: () => void;
69
+ };
@@ -478,8 +478,8 @@ declare const _default: {
478
478
  "v-model"?: "background" | "primary" | "secondary" | "accent1" | ColorSchema | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | ColorSchemaTypes;
479
479
  toned?: boolean;
480
480
  placeholder?: string;
481
- defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
482
481
  enableDynamicColor?: boolean;
482
+ defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
483
483
  customSchema?: boolean;
484
484
  }>, "onUpdate:modelValue" | "onColor:enter" | "onColor:leave"> & {
485
485
  "onUpdate:modelValue"?: (colorSchemaType: ColorSchema | ColorSchemaTypes) => any;
@@ -16,11 +16,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
16
16
  defaultColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
17
17
  } & DefineEmit<"click:select", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true>> & {
18
18
  "onUpdate:modelValue"?: (value: ContainerFillBlueprints) => any;
19
- "onClick:add"?: () => any;
20
19
  "onClick:select"?: (variant: BlueprintVariant) => any;
20
+ "onClick:add"?: () => any;
21
21
  } & {
22
22
  "v-slots"?: {} & Omit<{
23
23
  default?: import("vue").Slot;
24
24
  }, never>;
25
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:add" | "emit:click:select" | "defaultColorSchemaType"> & import("@omnia/fx/ux").VNodeEvents) => any;
25
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:select" | "emit:click:add" | "defaultColorSchemaType"> & import("@omnia/fx/ux").VNodeEvents) => any;
26
26
  export default _default;
@@ -2,4 +2,5 @@ export declare const FillPickerStyles: {
2
2
  viewWrapper: string;
3
3
  hoverCursor: string;
4
4
  selector: (dark: boolean) => string;
5
+ transparentBackground: string;
5
6
  };
@@ -1,8 +1,8 @@
1
1
  import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
2
2
  import { ThemeContextType, FillDefinitionValue } from "@omnia/fx-models";
3
3
  import { VNodeChild } from "vue";
4
- export type ColorPickerType = "default" | "all" | "onBase" | "base";
5
- type FillPickerVariant = "dialog" | "editor" | "blade";
4
+ export type ColorPickerType = "default" | "colorSchema" | "onBase" | "base";
5
+ type FillPickerVariant = "dialog" | "editor" | "journey";
6
6
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
7
7
  "emit:update:modelValue": (value: FillDefinitionValue) => void;
8
8
  } & {
@@ -38,5 +38,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
38
38
  } & Omit<{
39
39
  default?: import("vue").Slot;
40
40
  }, "activator">;
41
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "colorType" | "emit:update:modelValue" | "themeType" | "slot:activator" | "defaultColorSchemaType" | "enableDynamicColor" | "emit:init:actionButtons" | "singleColor" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
41
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "colorType" | "emit:update:modelValue" | "themeType" | "slot:activator" | "enableDynamicColor" | "emit:init:actionButtons" | "defaultColorSchemaType" | "singleColor" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
42
42
  export default _default;
@@ -0,0 +1,39 @@
1
+ import { ColorGradientValue, ColorSchemaType, ColorValue, FillDefinition, FillDefinitionValue, FilterPickerFilter, ThemeContextType } from "@omnia/fx-models";
2
+ export declare enum ColorMode {
3
+ colorOnly = "color",
4
+ linearGradient = "linear",
5
+ radialGradient = "radial"
6
+ }
7
+ export declare const useFillPickerStore: () => {
8
+ state: {
9
+ internalModel: FillDefinition;
10
+ selection: {
11
+ colorValue: ColorGradientValue;
12
+ gradient: any[];
13
+ index: number;
14
+ };
15
+ colors: any[];
16
+ colorMode: ColorMode;
17
+ showSettings: boolean;
18
+ fillOpacity: any;
19
+ linearGradient: number;
20
+ radialGradient: number;
21
+ };
22
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
23
+ changeColor: (index: number, color: ColorValue) => void;
24
+ editColor: (color: ColorGradientValue, index: any) => void;
25
+ addColor: (colorType: string, defaultColorSchemaType: ColorSchemaType, dynamicColor: boolean) => ColorGradientValue;
26
+ removeColor: (index: number) => void;
27
+ changeGradientMode: (newVal: any) => void;
28
+ initState: (fill: FillDefinitionValue, themeContextType: ThemeContextType) => void;
29
+ }>;
30
+ rules: {
31
+ hasFillOneColor: () => boolean;
32
+ canShowGradientRange: () => boolean;
33
+ };
34
+ dataTypes: {
35
+ gradients: FilterPickerFilter[];
36
+ };
37
+ } & {
38
+ dispose?: () => void;
39
+ };
@@ -16,11 +16,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
16
16
  editable?: boolean;
17
17
  } & DefineEmit<"click:select", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true>> & {
18
18
  "onUpdate:modelValue"?: (value: HeaderBlueprints) => any;
19
- "onClick:add"?: () => any;
20
19
  "onClick:select"?: (variant: BlueprintVariant) => any;
20
+ "onClick:add"?: () => any;
21
21
  } & {
22
22
  "v-slots"?: {} & Omit<{
23
23
  default?: import("vue").Slot;
24
24
  }, never>;
25
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:add" | "emit:click:select" | "selectable"> & import("@omnia/fx/ux").VNodeEvents) => any;
25
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:select" | "emit:click:add" | "selectable"> & import("@omnia/fx/ux").VNodeEvents) => any;
26
26
  export default _default;
@@ -33,5 +33,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
33
33
  } & Omit<{
34
34
  default?: import("vue").Slot;
35
35
  }, "activator">;
36
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "defaultColorSchemaType" | "enableDynamicColor" | "emit:init:actionButtons" | "simpleMode"> & import("@omnia/fx/ux").VNodeEvents) => any;
36
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "enableDynamicColor" | "emit:init:actionButtons" | "defaultColorSchemaType" | "simpleMode"> & import("@omnia/fx/ux").VNodeEvents) => any;
37
37
  export default _default;
@@ -30,5 +30,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
30
30
  } & Omit<{
31
31
  default?: import("vue").Slot;
32
32
  }, "activator">;
33
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "defaultColorSchemaType" | "enableDynamicColor"> & import("@omnia/fx/ux").VNodeEvents) => any;
33
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "enableDynamicColor" | "defaultColorSchemaType"> & import("@omnia/fx/ux").VNodeEvents) => any;
34
34
  export default _default;
@@ -18,11 +18,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
18
18
  blueprintStrategy?: string;
19
19
  } & DefineEmit<"click:select", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true>> & {
20
20
  "onUpdate:modelValue"?: (value: InputBlueprints) => any;
21
- "onClick:add"?: () => any;
22
21
  "onClick:select"?: (variant: BlueprintVariant) => any;
22
+ "onClick:add"?: () => any;
23
23
  } & {
24
24
  "v-slots"?: {} & Omit<{
25
25
  default?: import("vue").Slot;
26
26
  }, never>;
27
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:add" | "emit:click:select" | "selectable" | "blueprintStrategy"> & import("@omnia/fx/ux").VNodeEvents) => any;
27
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:select" | "emit:click:add" | "selectable" | "blueprintStrategy"> & import("@omnia/fx/ux").VNodeEvents) => any;
28
28
  export default _default;
@@ -18,11 +18,11 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
18
18
  blueprintStrategy?: string;
19
19
  } & DefineEmit<"click:select", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true>> & {
20
20
  "onUpdate:modelValue"?: (value: TabsBlueprints) => any;
21
- "onClick:add"?: () => any;
22
21
  "onClick:select"?: (variant: BlueprintVariant) => any;
22
+ "onClick:add"?: () => any;
23
23
  } & {
24
24
  "v-slots"?: {} & Omit<{
25
25
  default?: import("vue").Slot;
26
26
  }, never>;
27
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:add" | "emit:click:select" | "selectable" | "blueprintStrategy"> & import("@omnia/fx/ux").VNodeEvents) => any;
27
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:select" | "emit:click:add" | "selectable" | "blueprintStrategy"> & import("@omnia/fx/ux").VNodeEvents) => any;
28
28
  export default _default;
@@ -32,5 +32,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
32
32
  } & Omit<{
33
33
  default?: import("vue").Slot;
34
34
  }, "activator">;
35
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "customTyping" | "defaultColorSchemaType" | "enableDynamicColor" | "singleColor"> & import("@omnia/fx/ux").VNodeEvents) => any;
35
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "slot:activator" | "customTyping" | "enableDynamicColor" | "defaultColorSchemaType" | "singleColor"> & import("@omnia/fx/ux").VNodeEvents) => any;
36
36
  export default _default;
@@ -16,13 +16,13 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
16
16
  themeType?: ThemeContextType;
17
17
  } & DefineEmit<"click:select", (typography: TypographyType, size: TypographySizes) => true> & DefineEmit<"click:selectFill", (variant: BlueprintVariant) => true> & DefineEmit<"click:add", () => true> & DefineEmit<"click:addFill", () => true>> & {
18
18
  "onUpdate:modelValue"?: (value: TypographyBlueprint) => any;
19
- "onClick:add"?: () => any;
20
19
  "onClick:select"?: (typography: "title" | "text" | "navigation" | "variants" | "fills", size: TypographySizes) => any;
20
+ "onClick:add"?: () => any;
21
21
  "onClick:selectFill"?: (variant: BlueprintVariant) => any;
22
22
  "onClick:addFill"?: () => any;
23
23
  } & {
24
24
  "v-slots"?: {} & Omit<{
25
25
  default?: import("vue").Slot;
26
26
  }, never>;
27
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:add" | "emit:click:select" | "sampleText" | "emit:click:selectFill" | "emit:click:addFill"> & import("@omnia/fx/ux").VNodeEvents) => any;
27
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "editable" | "modelValue" | "v-model" | "toned" | "emit:update:modelValue" | "themeType" | "emit:click:select" | "emit:click:add" | "sampleText" | "emit:click:selectFill" | "emit:click:addFill"> & import("@omnia/fx/ux").VNodeEvents) => any;
28
28
  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" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems" | "allowDuplicate"> & import("@omnia/fx/ux").VNodeEvents) => any;
18
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "emit:click:delete" | "slot:selection" | "emit:change" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems" | "allowDuplicate"> & import("@omnia/fx/ux").VNodeEvents) => any;
19
19
  export default _default;
@@ -1,6 +1,7 @@
1
1
  import { guid, IIcon } from "@omnia/fx-models";
2
2
  import { BladeContext, BladeContexts, BladeSizeTypes, BladeVariantTypes, ConfirmDialogOptions, DefineEmit, DefineProp, DefineSlot, useJourneyStore } from "@omnia/fx/ux";
3
3
  import { Ref, VNodeChild } from "vue";
4
+ import { ActionDefinition } from "../oxide/actionmenu/ActionMenu";
4
5
  export interface SwitchValue {
5
6
  value: boolean;
6
7
  label: string;
@@ -11,7 +12,7 @@ export interface DisabledButtonTooltips {
11
12
  delete?: string;
12
13
  remove?: string;
13
14
  }
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<"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> & 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<"click:manageList", () => true>;
15
+ 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"> & DefineProp<"actionMenuV2", boolean, false, null, "Enable a new responsive action menu in blade. Will be removed in future versions."> & DefineSlot<"actions", () => VNodeChild> & DefineSlot<"actionsFooter", () => 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<"click:manageList", () => true>;
15
16
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBladeProps> & {
16
17
  "onClick:cancel"?: (id: guid) => any;
17
18
  "onClick:confirm"?: () => any;
@@ -28,5 +29,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<JourneyBlade
28
29
  } & Omit<{
29
30
  default?: import("vue").Slot;
30
31
  }, "actions" | "actionsFooter">;
31
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "title" | "switch" | "icon" | "variant" | "size" | "add" | "id" | "delete" | "disabled" | "eager" | "settings" | "loading" | "create" | "remove" | "slot:actions" | "ok" | "save" | "toned" | "subTitle" | "emit:click:cancel" | "emit:click:confirm" | "getApi" | "searchable" | "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:search" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
32
+ } & {} & 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" | "getApi" | "searchable" | "manageList" | "bladeContext" | "onOk" | "onRemove" | "onSave" | "onDelete" | "onSwitch" | "confirmDeleteDialogOption" | "disabledButtonTooltips" | "sizeOnMobile" | "actionMenuV2" | "slot:actionsFooter" | "emit:click:create" | "emit:click:add" | "emit:click:back" | "emit:click:settings" | "emit:search" | "emit:click:manageList"> & import("@omnia/fx/ux").VNodeEvents) => any;
32
33
  export default _default;
@@ -21,5 +21,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
21
21
  }> | ((ref: {
22
22
  journeyStore: ReturnType<typeof useJourneyStore>;
23
23
  }) => void);
24
- } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "ref" | "slot:item" | "getApi" | "slot:append"> & import("@omnia/fx/ux").VNodeEvents) => any;
24
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "ref" | "slot:item" | "slot:append" | "getApi"> & import("@omnia/fx/ux").VNodeEvents) => any;
25
25
  export default _default;
@@ -5,6 +5,5 @@ export interface BladeInstance {
5
5
  size: BladeSizeTypes;
6
6
  visible?: boolean;
7
7
  active?: boolean;
8
- stacked?: boolean;
9
8
  disabledSaveButton?: boolean;
10
9
  }
@@ -1,14 +1,14 @@
1
1
  import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectItem, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
2
2
  import { VNodeChild } from "vue";
3
- 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, 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<"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<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & 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> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: TItem) => 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>;
3
+ 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, 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<"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<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & 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> & 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>;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps<any>> & {
5
5
  "onUpdate:modelValue"?: (value: any) => any;
6
+ "onClick:delete"?: (item: any, index: number) => any;
6
7
  "onClick:clear"?: () => any;
7
8
  onSearch?: (searchText: string) => any;
8
9
  "onClick:add"?: (item: any) => any;
9
- "onClick:delete"?: (item: any, index: number) => any;
10
10
  onShowAdd?: () => any;
11
- onShowEdit?: (item: any) => any;
11
+ onShowEdit?: (item: any, index: number) => any;
12
12
  "onClick:update"?: (item: any, index: number) => any;
13
13
  } & {
14
14
  "v-slots"?: {
@@ -19,5 +19,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps<an
19
19
  } & Omit<{
20
20
  default?: import("vue").Slot;
21
21
  }, "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender">;
22
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "getApi" | "emit:click:add" | "emit:search" | "emit:click:clear" | "emit:click:delete" | "sortable" | "disableSave" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "disableSearch" | "confirmDelete" | "noAddConfirm" | "bladeless" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
22
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "emit:click:delete" | "getApi" | "emit:click:add" | "emit:search" | "emit:click:clear" | "sortable" | "disableSave" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "disableSearch" | "confirmDelete" | "noAddConfirm" | "bladeless" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
23
23
  export default _default;
@@ -1,5 +1,4 @@
1
- import { IIcon } from "@omnia/fx-models";
2
- import { TdHTMLAttributes, VNodeChild } from "vue";
1
+ import { TdHTMLAttributes } from "vue";
3
2
  import { ConstructComponentProps } from "@omnia/fx/ux";
4
3
  import { PublicDataTableRowProps } from "../oxide/datatable/RowRenderer";
5
4
  export type SelectItemKey = boolean | string | (string | number)[] | ((item: Record<string, any>, fallback?: any) => any);
@@ -20,17 +19,6 @@ export type DataTableHeader = {
20
19
  };
21
20
  export declare const RowVariant: readonly ["navigation", "default"];
22
21
  export type RowVariantType = typeof RowVariant[number];
23
- export interface IDataTableRowRenderer<T = any> {
24
- value: T;
25
- index: number;
26
- classes(classes: string): Omit<IDataTableRowRenderer, "classes">;
27
- disableNavigation(): any;
28
- select(selected: boolean): Omit<IDataTableRowRenderer, "select">;
29
- onClick(callback: () => void): Omit<IDataTableRowRenderer, "onClick">;
30
- addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
31
- addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
32
- addIcon(icon: IIcon): any;
33
- }
34
22
  export interface IDataTableRow<T = any> {
35
23
  value: T;
36
24
  index: number;
@@ -0,0 +1,30 @@
1
+ import { IIcon, Spacing, SpacingValue } from "@omnia/fx-models";
2
+ import { DefineEmit, DefineSlot } from "@omnia/fx/ux";
3
+ import { VNodeChild } from "vue";
4
+ export interface ActionDefinition {
5
+ title: string;
6
+ description?: string;
7
+ separator?: boolean;
8
+ id?: string;
9
+ disabled?: boolean;
10
+ loading?: boolean;
11
+ icon: IIcon;
12
+ onClick?: () => void;
13
+ }
14
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
15
+ items?: ActionDefinition[];
16
+ } & {
17
+ padding?: SpacingValue | Spacing;
18
+ } & {
19
+ gapX?: SpacingValue;
20
+ } & DefineEmit<"click:item", (item: ActionDefinition, index: number) => void, "Emits when an item is clicked"> & DefineSlot<"item", (item: ActionDefinition, index: number) => VNodeChild> & DefineSlot<"menuItem", (item: ActionDefinition, index: number) => VNodeChild>> & {
21
+ "onClick:item"?: (item: ActionDefinition, index: number) => any;
22
+ } & {
23
+ "v-slots"?: {
24
+ item?: (item: ActionDefinition, index: number) => VNodeChild;
25
+ menuItem?: (item: ActionDefinition, index: number) => VNodeChild;
26
+ } & Omit<{
27
+ default?: import("vue").Slot;
28
+ }, "item" | "menuItem">;
29
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "padding" | "items" | "slot:item" | "gapX" | "emit:click:item" | "slot:menuItem"> & import("@omnia/fx/ux").VNodeEvents) => any;
30
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare const ActionMenuStylex: {
2
+ wrapper: import("../..").StylexValue;
3
+ overflowHidden: import("../..").StylexValue;
4
+ };
@@ -6,7 +6,7 @@ export declare enum ColorType {
6
6
  CorporateColor = 3,
7
7
  CustomColor = 4
8
8
  }
9
- type ColorPickerVariant = "default" | "blade";
9
+ type ColorPickerVariant = "default" | "blade" | "virtual-list";
10
10
  type ColorPickerProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"toned", boolean, false, false, "Toned color picker."> & DefineVModel<"", string, false, null, false, "The v-model of the component."> & DefineProp<"variant", ColorPickerVariant, false, null, "The variant of the color picker."> & DefineProp<"label", string, false, null, "Specifies the label to display on the component."> & DefineProp<"labelColor", string, false, null, "Specifies the color of the label."> & DefineProp<"selectedColorAsLabel", boolean, false, false, "Displays the selected color on the label."> & DefineProp<"show", boolean, false, false, "Control show/hide of the color picker."> & DefineProp<"disabled", boolean, false, false, "Removed the ability to interact with the component."> & DefineSlot<"activator", () => VNodeChild>;
11
11
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ColorPickerProps> & {
12
12
  "onUpdate:modelValue"?: (value: string) => any;
@@ -0,0 +1,10 @@
1
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
2
+ columnName?: string;
3
+ } & {
4
+ colspan?: number;
5
+ }> & {} & {
6
+ "v-slots"?: {} & Omit<{
7
+ default?: import("vue").Slot;
8
+ }, never>;
9
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "columnName" | "colspan"> & import("@omnia/fx/ux").VNodeEvents) => any;
10
+ export default _default;
@@ -1,11 +1,11 @@
1
- import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, IDataTableRowRenderer, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
1
+ import { DataTableHeader, DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineType, DefineVModel, ExtractProps, IDataTableRow, ItemValueType, SelectItemKey, SortItem } from "@omnia/fx/ux";
2
2
  import { VNodeChild } from "vue";
3
3
  export type DataTableOptions = {
4
4
  page: number;
5
5
  itemsPerPage: number;
6
6
  sortBy: SortItem[];
7
7
  };
8
- export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, true, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, true, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"item", (row: IDataTableRowRenderer<T>) => void, "Deprecated, Use slot row instead."> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<"top", () => VNodeChild> & DefineSlot<"expanded-row", (e: {
8
+ export type DataTablePropsBase<T> = DefinePropTheming & DefineProp<"class", String | String[]> & DefineVModel<"expanded", Array<string>, false, null, true, "Whether the item is expanded or not."> & DefineVModel<"sortBy", SortItem[], false, null, true, "Changes which item property (or properties) should be used for sort order."> & DefineProp<"mustSort", boolean, false, false, "If true then one can not disable sorting, it will always switch between ascending and descending."> & DefineProp<"showSelect", boolean, false, false, "Shows a checkbox for each row."> & DefineProp<"itemSelectable", SelectItemKey<T>, false, false, "SProperty on supplied items that indicates whether the item is selectable."> & DefineProp<"height", string | number, false, null, "Sets and explicit height of the tablet."> & DefineProp<"noDataText", string, false, null, "Text shown when no items are provided to the component."> & DefineProp<"itemValue", ItemValueType<T>, false, null, "Property on supplied items that contains its value."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"drag", boolean, false, false, "Enable draggable row."> & DefineProp<"hover", boolean, false, false, "Property on supplied items that contains its value."> & DefineProp<"search", string, false, null, "Text input used to filter items."> & DefineProp<"searchBy", (keyof T)[] | ((item: T) => string[]), false, null, "Property on supplied items that contains its value to search."> & DefineProp<"showExpand", boolean, false, false, "Shows the expand toggle in default rows."> & DefineProp<"headers", DataTableHeader[], false, typeof defaultHeaders, "An array of objects that each describe a header column."> & DefineVModel<"items", T[], false, typeof emptyArray, true, "An array of strings or objects used for automatically generating children components."> & DefineVModel<"", Array<any>, false, typeof emptyArray, true, "The v-model value of the component. If component supports the multiple prop, this defaults to an empty array."> & DefineEmit<"update:expanded", (expanded: string[]) => void, "Emits when the expanded property of the options prop is updated."> & DefineEmit<"update:sortBy", (sort: SortItem[]) => void, "Emits when the sortBy property of the options prop is updated."> & DefineEmit<"update:options", (options: DataTableOptions) => void, "Emits when one of the options properties is updated."> & DefineEmit<"update:page", (page: number) => void, "Emits when the page property of the options prop is updated."> & DefineEmit<"update:itemsPerPage", (value: number) => void, "Emits when the items-per-page property of the options prop is updated."> & DefineEmit<"click:loadMore", () => void> & DefineSlot<"row", (row: IDataTableRow<T>) => VNodeChild> & DefineSlot<"top", () => VNodeChild> & DefineSlot<"expanded-row", (e: {
9
9
  item: T;
10
10
  }) => VNodeChild> & DefineSlot<`header.${string}`, (header: DataTableHeader) => void> & DefineSlot<`item.${string}`, (e: {
11
11
  item: T;
@@ -27,7 +27,7 @@ declare const _default: <TItem extends unknown, TVariant extends "default" | "cl
27
27
  "v-slots"?: (DataTableProps<TItem, TVariant> extends infer T_3 ? { [K_3 in keyof T_3 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never) & Omit<{
28
28
  default?: import("vue").Slot;
29
29
  }, keyof (DataTableProps<TItem, TVariant> extends infer T_4 ? { [K_3 in keyof T_4 as K_3 extends `slot:${infer N_1}` ? N_1 : never]: DataTableProps<TItem, TVariant>[K_3]; } : never)>;
30
- } & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "drag" | "class" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "loading" | "hover" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "slot:item" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
30
+ } & (DataTableProps<TItem, TVariant> extends infer T_5 ? { [K_4 in keyof T_5 as K_4 extends "ref" ? "ref" : never]: import("vue").Ref<DataTableProps<TItem, TVariant>[K_4], DataTableProps<TItem, TVariant>[K_4]> | ((ref: DataTableProps<TItem, TVariant>[K_4]) => void); } : never) & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "search" | "height" | "variant" | "drag" | "class" | "expanded" | "colorSchemaType" | "modelValue" | "items" | "loading" | "hover" | "colors" | "v-model" | "emit:update:modelValue" | "itemValue" | "emit:update:expanded" | "v-model:expanded" | "sortBy" | "emit:update:sortBy" | "v-model:sortBy" | "mustSort" | "showSelect" | "itemSelectable" | "noDataText" | "searchBy" | "showExpand" | "emit:update:items" | "v-model:items" | "emit:update:options" | "emit:update:page" | "emit:update:itemsPerPage" | "emit:click:loadMore" | "slot:row" | "slot:top" | "slot:expanded-row" | `slot:header.${string}` | `slot:item.${string}` | keyof (TVariant extends "client-pagination-scroll" ? {
31
31
  itemHeight?: string | number;
32
32
  } : TVariant extends "client-pagination-page" ? ClientPaginationPageProps<TItem_1> : TVariant extends "server-pagination-page" ? ServerPaginationPageProps : TVariant extends "server-pagination-scroll" ? ServerPaginationScrollProps<TItem> : DefaultProps)> & import("@omnia/fx/ux").VNodeEvents) => any;
33
33
  export default _default;
@@ -1,30 +1,6 @@
1
1
  import { IIcon } from "@omnia/fx-models";
2
- import { DefineEmit, DefineProp, DefineSlot, IDataTableRowRenderer } from "@omnia/fx/ux";
2
+ import { DataTableHeader, DefineEmit, DefineProp, DefineSlot } from "@omnia/fx/ux";
3
3
  import { VNodeChild } from "vue";
4
- export declare class DataTableRowRenderer implements IDataTableRowRenderer {
5
- value: any;
6
- index: any;
7
- cells: Array<{
8
- node: VNodeChild;
9
- colSpan: number;
10
- classes?: string;
11
- styles?: string;
12
- }>;
13
- icon: IIcon;
14
- actions: Array<VNodeChild>;
15
- click: () => void;
16
- preselect: any;
17
- navigation: boolean;
18
- cssRowClasses: string;
19
- constructor(value: any, index: any);
20
- select(selected: boolean): this;
21
- classes(classes: string): this;
22
- onClick(callback: () => void): this;
23
- disableNavigation(): this;
24
- addCell(node: VNodeChild, colSpan?: number, classes?: string, styles?: string): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
25
- addIcon(icon: IIcon): void;
26
- addAction(node: VNodeChild): Pick<IDataTableRowRenderer, "addCell" | "addAction">;
27
- }
28
4
  export type PublicDataTableRowProps = DefineProp<"active", boolean, false, false> & DefineProp<"remove", boolean, false, false> & DefineProp<"icon", IIcon> & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row.">;
29
5
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
30
6
  active?: boolean;
@@ -34,6 +10,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
34
10
  icon?: IIcon;
35
11
  } & DefineSlot<"actions", () => VNodeChild> & DefineEmit<"update:mouseOver", () => void, "Emits when moving the mouse pointer onto a row."> & DefineEmit<"update:mouseOut", () => void, "Emits when moving the mouse pointer out of a row."> & DefineEmit<"click:navigation", (e: MouseEvent) => void> & {
36
12
  drag?: boolean;
13
+ } & {
14
+ headers?: DataTableHeader[];
37
15
  } & {
38
16
  draggableIcon?: () => VNodeChild;
39
17
  }> & {
@@ -46,5 +24,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
46
24
  } & Omit<{
47
25
  default?: import("vue").Slot;
48
26
  }, "actions">;
49
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
27
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "headers" | "icon" | "active" | "drag" | "remove" | "slot:actions" | "emit:update:mouseOver" | "emit:update:mouseOut" | "emit:click:navigation" | "draggableIcon"> & import("@omnia/fx/ux").VNodeEvents) => any;
50
28
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import { DefineProp } from "@omnia/fx/ux";
2
- import { OPageDividerTypes, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
3
- type DividerProps = DefineProp<"class", String | String[]> & DefineProp<"variant", OPageDividerTypes, false, null> & DefineProp<"label", string, false, null> & DefineProp<"vertical", boolean, false, false> & DefineProp<"toned", boolean, false, false> & DefineProp<"labelSize", TypographySize | TypographySizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"labelType", TypographyType | TypographyTypes, false, null, "Specifies the typography type. Should be used only if the variants size does not match the context.">;
2
+ import { IIcon, OPageDividerTypes, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "@omnia/fx-models";
3
+ type DividerProps = DefineProp<"class", String | String[]> & DefineProp<"variant", OPageDividerTypes, false, null> & DefineProp<"icon", IIcon, false, null, "The icon to be displayed."> & DefineProp<"label", string, false, null> & DefineProp<"vertical", boolean, false, false> & DefineProp<"toned", boolean, false, false> & DefineProp<"labelSize", TypographySize | TypographySizes, false, null, "Specifies the title typography size. Should be used only if the variants size does not match the context."> & DefineProp<"labelType", TypographyType | TypographyTypes, false, null, "Specifies the typography type. Should be used only if the variants size does not match the context.">;
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DividerProps> & {} & {
5
5
  "v-slots"?: {} & Omit<{
6
6
  default?: import("vue").Slot;
7
7
  }, never>;
8
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "vertical" | "class" | "label" | "toned" | "labelSize" | "labelType"> & import("@omnia/fx/ux").VNodeEvents) => any;
8
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "icon" | "variant" | "vertical" | "class" | "label" | "toned" | "labelSize" | "labelType"> & import("@omnia/fx/ux").VNodeEvents) => any;
9
9
  export default _default;