@omnia/fx 8.0.374-dev → 8.0.376-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 (75) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/ux/UxModels.d.ts +3 -0
  3. package/internal-do-not-import-from-here/ux/analytics/metric/Metric.d.ts +11 -0
  4. package/internal-do-not-import-from-here/ux/app/appinstance/renderer/AppInstanceRollup.d.ts +11 -65
  5. package/internal-do-not-import-from-here/ux/app/appinstance/renderer/AppInstanceRollupRenderer.d.ts +5 -16
  6. package/internal-do-not-import-from-here/ux/app/appinstance/renderer/MainRenderer.d.ts +14 -81
  7. package/internal-do-not-import-from-here/ux/app/appinstance/renderer/metric/MetricDetailsDialogRenderer.d.ts +10 -51
  8. package/internal-do-not-import-from-here/ux/app/appinstance/renderer/metric/MetricRenderer.d.ts +7 -47
  9. package/internal-do-not-import-from-here/ux/app/appinstance/settings/AppInstanceRollupSettings.d.ts +10 -16
  10. package/internal-do-not-import-from-here/ux/app/appinstance/view/BaseView.d.ts +12 -38
  11. package/internal-do-not-import-from-here/ux/app/appinstance/view/MixManager.d.ts +11 -1
  12. package/internal-do-not-import-from-here/ux/app/appinstance/view/card/CardView.d.ts +11 -26
  13. package/internal-do-not-import-from-here/ux/app/appinstance/view/card/CardViewSettings.d.ts +11 -26
  14. package/internal-do-not-import-from-here/ux/app/appinstance/view/listing/ListView.d.ts +11 -22
  15. package/internal-do-not-import-from-here/ux/app/appinstance/view/listing/ListViewSettings.d.ts +11 -28
  16. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +1 -0
  17. package/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +1 -1
  18. package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +1 -1
  19. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +7 -4
  21. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker_old.d.ts +14 -0
  22. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/stores/EnterprisePropertyPickerStore.d.ts +40 -0
  23. package/internal-do-not-import-from-here/ux/enterpriseproperties/settingpicker/EnterprisePropertySettingPicker.d.ts +4 -3
  24. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +4 -2
  25. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker_new.d.ts +0 -0
  26. package/internal-do-not-import-from-here/ux/identitypicker/stores/IdentityPickerStore.d.ts +97 -0
  27. package/internal-do-not-import-from-here/ux/journey/models/JourneySelectItem.d.ts +9 -0
  28. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.d.ts +11 -15
  29. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelect.stylex.d.ts +6 -1
  30. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelectedRenderer.d.ts +12 -0
  31. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelectionListRenderer.d.ts +7 -0
  32. package/internal-do-not-import-from-here/ux/journey/selection/JourneySelectionRenderer.d.ts +12 -0
  33. package/internal-do-not-import-from-here/ux/journey/selection/JourneySettingsRenderer.d.ts +11 -0
  34. package/internal-do-not-import-from-here/ux/journey/stores/JourneySelectStore.d.ts +131 -0
  35. package/internal-do-not-import-from-here/ux/journey/stores/index.d.ts +1 -0
  36. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +10 -0
  37. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/items/SectionItemListing.d.ts +5 -5
  38. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/oxide/form/Form.d.ts +3 -2
  40. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.d.ts +2 -2
  41. package/internal-do-not-import-from-here/ux/oxide/inputfield/InputField.stylex.d.ts +1 -0
  42. package/internal-do-not-import-from-here/ux/oxide/picker/Picker.d.ts +11 -8
  43. package/internal-do-not-import-from-here/ux/oxide/picker/Picker.stylex.d.ts +1 -0
  44. package/internal-do-not-import-from-here/ux/oxide/picker/PickerSelection.d.ts +10 -7
  45. package/internal-do-not-import-from-here/ux/oxide/picker/models/SharedSettings.d.ts +2 -3
  46. package/internal-do-not-import-from-here/ux/oxide/picker/stores/PickerStore.d.ts +35 -0
  47. package/internal-do-not-import-from-here/ux/oxide/switch/Switches.d.ts +7 -0
  48. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayConfiguration.d.ts +6 -68
  49. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeConfiguration.d.ts +6 -68
  50. package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlConfiguration.d.ts +6 -68
  51. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityConfiguration.d.ts +8 -71
  52. package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageConfiguration.d.ts +8 -71
  53. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkConfiguration.d.ts +8 -71
  54. package/internal-do-not-import-from-here/ux/properties/models/PropertyPicker.d.ts +3 -0
  55. package/internal-do-not-import-from-here/ux/properties/property-configuration/LabelOptionsRenderer.d.ts +4 -0
  56. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfiguration.d.ts +9 -71
  57. package/internal-do-not-import-from-here/ux/properties/property-cover/PropertyCover.d.ts +11 -0
  58. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +6 -4
  59. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  60. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts +1 -0
  61. package/internal-do-not-import-from-here/wctypings.d.ts +92 -0
  62. package/package.json +3 -3
  63. package/internal-do-not-import-from-here/ux/app/appinstance/index.d.ts +0 -1
  64. package/internal-do-not-import-from-here/ux/app/appinstance/renderer/AppInstanceRollup.css.d.ts +0 -1
  65. package/internal-do-not-import-from-here/ux/app/appinstance/settings/IAppInstanceRollupSettings.d.ts +0 -18
  66. package/internal-do-not-import-from-here/ux/app/appinstance/settings/components/DisplayTab.d.ts +0 -30
  67. package/internal-do-not-import-from-here/ux/app/appinstance/settings/components/FilterTab.d.ts +0 -26
  68. package/internal-do-not-import-from-here/ux/app/appinstance/settings/components/GeneralTab.d.ts +0 -16
  69. package/internal-do-not-import-from-here/ux/app/appinstance/settings/components/MetricTab.d.ts +0 -57
  70. package/internal-do-not-import-from-here/ux/app/appinstance/settings/components/QueryTab.d.ts +0 -40
  71. package/internal-do-not-import-from-here/ux/app/appinstance/view/BaseView.css.d.ts +0 -1
  72. package/internal-do-not-import-from-here/ux/app/appinstance/view/card/CardView.css.d.ts +0 -1
  73. package/internal-do-not-import-from-here/ux/app/appinstance/view/card/CardViewSettings.css.d.ts +0 -1
  74. package/internal-do-not-import-from-here/ux/app/appinstance/view/listing/ListView.css.d.ts +0 -1
  75. package/internal-do-not-import-from-here/ux/app/appinstance/view/listing/ListViewSettings.css.d.ts +0 -1
@@ -1,5 +1,15 @@
1
- import { AppInstanceRollupCardViewTypes } from "@omnia/fx-models";
1
+ import { AppInstanceInfo, AppInstanceInfoUser, AppInstanceRollupCardViewTypes, AppInstanceRollupViewPropertySettings } from "@omnia/fx-models";
2
2
  import { ITheming, Theming } from "../../..";
3
+ export type ViewApi = {
4
+ getAppInstanceUrl: (appInstanceInfo: AppInstanceInfo) => string;
5
+ goToAppInstance: (event: MouseEvent, appInstanceInfo: AppInstanceInfo, url: string) => void;
6
+ onClickFollowIcon: (e: Event, appInstanceInfo: AppInstanceInfoUser) => Promise<void>;
7
+ renderLink: (appInstanceInfo: AppInstanceInfo) => JSX.Element;
8
+ renderAvatar: (appInstanceInfo: AppInstanceInfo) => JSX.Element;
9
+ renderAvatarAndLink: (appInstanceInfo: AppInstanceInfo) => JSX.Element;
10
+ renderFollowIcon: (appInstanceInfo: AppInstanceInfoUser) => JSX.Element;
11
+ renderEnterprisePropertyValue: (appInstanceInfo: AppInstanceInfo, column: AppInstanceRollupViewPropertySettings) => JSX.Element;
12
+ };
3
13
  export interface Replacement {
4
14
  row: number;
5
15
  column: number;
@@ -1,26 +1,11 @@
1
- import { IWebComponentInstance } from "@omnia/fx";
2
- import { MediaPickerStore } from "../../../../../stores";
3
- import { AppInstanceRollupViewBase } from "../BaseView";
4
- import "./CardView.css";
5
- export declare class AppInstanceRollupCardViewComponent extends AppInstanceRollupViewBase implements IWebComponentInstance {
6
- mediaPickerStore: MediaPickerStore;
7
- private cardViewStyles;
8
- private cardMixingStrategy;
9
- private get viewSettings();
10
- private cardCols;
11
- private sourceTermProperties;
12
- private customThemes;
13
- private isReadyRenderImage;
14
- created(): void;
15
- mounted(): void;
16
- private getColumnsOfGrid;
17
- private getCustomTheme;
18
- private getOverlayGradient;
19
- private getTextColorClass;
20
- private renderImage;
21
- private renderTitle;
22
- private renderTermProperties;
23
- private renderBottomDrawer;
24
- private renderCard;
25
- render(): import("vue/jsx-runtime").JSX.Element;
26
- }
1
+ import { AppInstanceInfo, AppInstanceInfoUser, AppInstanceRollupBlockDisplaySettings } from "@omnia/fx-models";
2
+ import { DefineEmit, DefineProp } from "@omnia/fx/ux";
3
+ type ViewProps = DefineProp<"total", number> & DefineProp<"items", AppInstanceInfo[]> & DefineProp<"displaySettings", AppInstanceRollupBlockDisplaySettings> & DefineProp<"appInstanceUrlBuilder", (appInstanceInfo: AppInstanceInfo) => string> & DefineProp<"navigateToAppInstance", (appInstanceInfo: AppInstanceInfo) => void> & DefineEmit<"followAppInstanceClicked", (appInstanceInfoUser: AppInstanceInfoUser) => void>;
4
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ViewProps> & {
5
+ onFollowAppInstanceClicked?: (appInstanceInfoUser: AppInstanceInfoUser) => any;
6
+ } & {
7
+ "v-slots"?: {} & Omit<{
8
+ default?: import("vue").Slot;
9
+ }, never>;
10
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "displaySettings" | "total" | "emit:followAppInstanceClicked" | "appInstanceUrlBuilder" | "navigateToAppInstance"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
+ export default _default;
@@ -1,26 +1,11 @@
1
- import { IWebComponentInstance } from "@omnia/fx";
2
- import { AppInstanceRollupCardViewSettings, AppInstanceRollupViewComponentSettings, EnterprisePropertyDefinition, IAppInstanceRollupViewSettingsComponent } from "@omnia/fx-models";
3
- import { OmniaUxLocalization, VueComponentBase } from "../../../..";
4
- import "./CardViewSettings.css";
5
- export declare class AppInstanceRollupCardViewSettingsComponent extends VueComponentBase implements IWebComponentInstance, IAppInstanceRollupViewSettingsComponent<AppInstanceRollupCardViewSettings> {
6
- viewSettings: AppInstanceRollupCardViewSettings;
7
- selectableProperties: EnterprisePropertyDefinition[];
8
- onUpdatedViewSettings?: (viewSettings: AppInstanceRollupViewComponentSettings) => void;
9
- uxLoc: OmniaUxLocalization;
10
- private cardsPerRowValues;
11
- private cardTypes;
12
- private currentTabIndex;
13
- private termPropertiesLayoutSettingsMode;
14
- private cardViewSettingStyles;
15
- mounted(): void;
16
- beforeDestroy(): void;
17
- created(): void;
18
- private updateSelectProperties;
19
- private addTermProperty;
20
- private switchIndex;
21
- private renderOrderUI;
22
- private renderTermPropertiesSetting;
23
- private renderPropertiesMapping;
24
- private renderStylesSettings;
25
- render(): import("vue/jsx-runtime").JSX.Element;
26
- }
1
+ import { AppInstanceRollupCardViewSettings, EnterprisePropertyDefinition } from "@omnia/fx-models";
2
+ import { DefineProp, DefineVModel } from "@omnia/fx/ux";
3
+ type ListViewSettingsProps = DefineProp<"selectableProperties", EnterprisePropertyDefinition[]> & DefineVModel<"", AppInstanceRollupCardViewSettings>;
4
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ListViewSettingsProps> & {
5
+ "onUpdate:modelValue"?: (value: AppInstanceRollupCardViewSettings) => any;
6
+ } & {
7
+ "v-slots"?: {} & Omit<{
8
+ default?: import("vue").Slot;
9
+ }, never>;
10
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "v-model" | "emit:update:modelValue" | "selectableProperties"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
+ export default _default;
@@ -1,22 +1,11 @@
1
- import { IWebComponentInstance } from "@omnia/fx";
2
- import { MediaPickerService } from "../../../../../services";
3
- import { DirectionRuleStore } from "../../../../../stores";
4
- import { AppInstanceRollupViewBase } from "../BaseView";
5
- import "./ListView.css";
6
- export declare class AppInstanceRollupListViewComponent extends AppInstanceRollupViewBase implements IWebComponentInstance {
7
- mediaPickerService: MediaPickerService;
8
- directionStore: DirectionRuleStore;
9
- private listViewStyles;
10
- private skipPaddingTable;
11
- private skipPaddingRowCells;
12
- private paddingForCell;
13
- private isRightToLeft;
14
- created(): void;
15
- mounted(): void;
16
- private init;
17
- private registerStickyHeader;
18
- private initSpacingAndPadding;
19
- private renderColumn;
20
- private renderColumns;
21
- render(): import("vue/jsx-runtime").JSX.Element;
22
- }
1
+ import { AppInstanceInfo, AppInstanceInfoUser, AppInstanceRollupBlockDisplaySettings } from "@omnia/fx-models";
2
+ import { DefineEmit, DefineProp } from "@omnia/fx/ux";
3
+ type ViewProps = DefineProp<"total", number> & DefineProp<"items", AppInstanceInfo[]> & DefineProp<"displaySettings", AppInstanceRollupBlockDisplaySettings> & DefineProp<"appInstanceUrlBuilder", (appInstanceInfo: AppInstanceInfo) => string> & DefineProp<"navigateToAppInstance", (appInstanceInfo: AppInstanceInfo) => void> & DefineEmit<"followAppInstanceClicked", (appInstanceInfoUser: AppInstanceInfoUser) => void>;
4
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ViewProps> & {
5
+ onFollowAppInstanceClicked?: (appInstanceInfoUser: AppInstanceInfoUser) => any;
6
+ } & {
7
+ "v-slots"?: {} & Omit<{
8
+ default?: import("vue").Slot;
9
+ }, never>;
10
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "items" | "displaySettings" | "total" | "emit:followAppInstanceClicked" | "appInstanceUrlBuilder" | "navigateToAppInstance"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
+ export default _default;
@@ -1,28 +1,11 @@
1
- import { IWebComponentInstance } from "@omnia/fx";
2
- import { AppInstanceRollupListViewSettings, AppInstanceRollupViewComponentSettings, EnterprisePropertyDefinition, IAppInstanceRollupViewSettingsComponent } from "@omnia/fx-models";
3
- import { OmniaUxLocalization, VueComponentBase } from "../../../..";
4
- import "./ListViewSettings.css";
5
- export declare class AppInstanceRollupListViewSettingsComponent extends VueComponentBase implements IWebComponentInstance, IAppInstanceRollupViewSettingsComponent<AppInstanceRollupListViewSettings> {
6
- viewSettings: AppInstanceRollupListViewSettings;
7
- selectableProperties: EnterprisePropertyDefinition[];
8
- onUpdatedViewSettings: (viewSettings: AppInstanceRollupViewComponentSettings) => void;
9
- uxLoc: OmniaUxLocalization;
10
- private dateModes;
11
- private modifyColumnMode;
12
- private externalPropertyItems;
13
- private listViewSettingsStyles;
14
- mounted(): void;
15
- beforeDestroy(): void;
16
- created(): void;
17
- private init;
18
- private initExternalPropertyItems;
19
- private switchIndex;
20
- private updateSettings;
21
- private onSelectedPropertyChanged;
22
- private addColumn;
23
- private updateSelectProperties;
24
- private renderOrderUI;
25
- private renderDateTimeProperty;
26
- private renderPropertySelection;
27
- render(): import("vue/jsx-runtime").JSX.Element;
28
- }
1
+ import { AppInstanceRollupListViewSettings, EnterprisePropertyDefinition } from "@omnia/fx-models";
2
+ import { DefineProp, DefineVModel } from "@omnia/fx/ux";
3
+ type ListViewSettingsProps = DefineProp<"selectableProperties", EnterprisePropertyDefinition[]> & DefineVModel<"", AppInstanceRollupListViewSettings>;
4
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<ListViewSettingsProps> & {
5
+ "onUpdate:modelValue"?: (value: AppInstanceRollupListViewSettings) => any;
6
+ } & {
7
+ "v-slots"?: {} & Omit<{
8
+ default?: import("vue").Slot;
9
+ }, never>;
10
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "modelValue" | "v-model" | "emit:update:modelValue" | "selectableProperties"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
+ export default _default;
@@ -60,6 +60,7 @@ export declare class AppManagementInstanceApi implements IAppManagementInstanceA
60
60
  collapse: import("@omnia/fx-models").FontAwesomeIcon;
61
61
  comment: import("@omnia/fx-models").FontAwesomeIcon;
62
62
  comments: import("@omnia/fx-models").FontAwesomeIcon;
63
+ column: import("@omnia/fx-models").FontAwesomeIcon;
63
64
  save: import("@omnia/fx-models").FontAwesomeIcon;
64
65
  share: import("@omnia/fx-models").FontAwesomeIcon;
65
66
  chart: import("@omnia/fx-models").FontAwesomeIcon;
@@ -42,5 +42,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
42
42
  } & Omit<{
43
43
  default?: import("vue").Slot;
44
44
  }, "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" | "individualBorderWidthSelection" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
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
46
  export default _default;
@@ -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" | "createNewColorDynamic" | "individualWidthSelection"> & 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" | "defaultColorSchemaType" | "enableDynamicColor" | "individualRadiusSelection" | "individualWidthSelection" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
38
38
  export default _default;
@@ -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" | "createNewColorDynamic" | "singleColor"> & 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" | "defaultColorSchemaType" | "enableDynamicColor" | "emit:init:actionButtons" | "singleColor" | "createNewColorDynamic"> & import("@omnia/fx/ux").VNodeEvents) => any;
42
42
  export default _default;
@@ -1,14 +1,17 @@
1
- import { DefineEmit, DefineProp } from "@omnia/fx/ux";
2
- import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid } from "../../../models";
1
+ import { DefineEmit, DefineProp, DefineVModel } from "@omnia/fx/ux";
2
+ import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid, OSelectVariants } from "../../../models";
3
3
  import "./EnterprisePropertyPickerStyles.css";
4
4
  declare const emptyArray: any[];
5
5
  declare const excludedPropertyTypeIds: guid[];
6
- type EnterprisePropertyPickerProps = DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false>;
6
+ type EnterprisePropertyPickerProps = DefineVModel<"", Array<string> | string, false, null> & DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray, "Depricated use v-model instead"> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"variant", OSelectVariants, false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> &
7
+ /**To support old settings... */
8
+ DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false>;
7
9
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePropertyPickerProps> & {
8
10
  onChange?: (propertyInternalName: string | string[]) => any;
11
+ "onUpdate:modelValue"?: (value: string | string[]) => any;
9
12
  } & {
10
13
  "v-slots"?: {} & Omit<{
11
14
  default?: import("vue").Slot;
12
15
  }, never>;
13
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "emit:change" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems"> & import("@omnia/fx/ux").VNodeEvents) => any;
16
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "required" | "multiple" | "disabled" | "modelValue" | "hideDetails" | "v-model" | "emit:update:modelValue" | "emit:change" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems"> & import("@omnia/fx/ux").VNodeEvents) => any;
14
17
  export default _default;
@@ -0,0 +1,14 @@
1
+ import { DefineEmit, DefineProp } from "@omnia/fx/ux";
2
+ import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid, OSelectVariants } from "../../../models";
3
+ import "./EnterprisePropertyPickerStyles.css";
4
+ declare const emptyArray: any[];
5
+ declare const excludedPropertyTypeIds: guid[];
6
+ type EnterprisePropertyPickerProps = DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"variant", OSelectVariants, false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false>;
7
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePropertyPickerProps> & {
8
+ onChange?: (propertyInternalName: string | string[]) => any;
9
+ } & {
10
+ "v-slots"?: {} & Omit<{
11
+ default?: import("vue").Slot;
12
+ }, never>;
13
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "variant" | "label" | "required" | "multiple" | "disabled" | "hideDetails" | "emit:change" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems"> & import("@omnia/fx/ux").VNodeEvents) => any;
14
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { EnterprisePropertyDefinition, ExternalPropertySelectionItem, guid } from "@omnia/fx-models";
2
+ import { JourneySelectItem } from "@omnia/fx/ux";
3
+ interface SettingsValue {
4
+ preSelectedPropertyInternalName: string | Array<string>;
5
+ modelValue: string | Array<string>;
6
+ propertyItems: Array<EnterprisePropertyDefinition>;
7
+ externalPropertyItems: Array<ExternalPropertySelectionItem>;
8
+ excludedPropertyTypeIds: Array<guid>;
9
+ }
10
+ export declare const useEnterprisePropertyPickerStore: () => {
11
+ state: {
12
+ items: JourneySelectItem<any>[];
13
+ selectedItems: string[];
14
+ properties: {
15
+ internal: EnterprisePropertyDefinition[];
16
+ external: ExternalPropertySelectionItem[];
17
+ };
18
+ isLoading: boolean;
19
+ };
20
+ events: import("@omnia/fx/stores").StoreEvents<{
21
+ items: JourneySelectItem<any>[];
22
+ selectedItems: string[];
23
+ properties: {
24
+ internal: EnterprisePropertyDefinition[];
25
+ external: ExternalPropertySelectionItem[];
26
+ };
27
+ isLoading: boolean;
28
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
29
+ actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
30
+ validateState(): void;
31
+ setSelection(selection: string | Array<string>): void;
32
+ init(settingsValue: SettingsValue): Promise<unknown>;
33
+ }>;
34
+ get: {
35
+ displayName: (internalName: string) => string;
36
+ };
37
+ } & {
38
+ dispose?: () => void;
39
+ };
40
+ export {};
@@ -5,14 +5,15 @@ declare const emptyArray: any[];
5
5
  declare const excludedPropertyTypeIds: guid[];
6
6
  declare const EnterprisePropertyPickerVariantDefinitions: readonly ["default", "journey"];
7
7
  export type EnterprisePropertyPickerVariant = typeof EnterprisePropertyPickerVariantDefinitions[number];
8
- type EnterprisePropertyPickerProps = DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false> & DefineProp<"allowDuplicate", boolean, false, false> & DefineSlot<"selection", (item: JourneySelectItem<EnterprisePropertyDefinition | ExternalPropertySelectionItem>, index?: number) => VNode>;
8
+ type EnterprisePropertyPickerProps = DefineProp<"preSelectedPropertyInternalName", string | Array<string>, false, typeof emptyArray> & DefineProp<"propertyItems", Array<EnterprisePropertyDefinition>, false, typeof emptyArray> & DefineProp<"externalPropertyItems", Array<ExternalPropertySelectionItem>, false, typeof emptyArray> & DefineProp<"label", string, false, null> & DefineProp<"disabled", boolean, false, false> & DefineProp<"multiple", boolean, false, false> & DefineProp<"required", boolean, false, false> & DefineEmit<"change", (propertyInternalName: string | Array<string>) => void> & DefineEmit<"click:delete", (item: JourneySelectItem<EnterprisePropertyDefinition | ExternalPropertySelectionItem>, index?: Number) => true> & DefineProp<"excludedPropertyTypeIds", Array<guid>, false, typeof excludedPropertyTypeIds> & DefineProp<"hideDetails", boolean, false, false> & DefineProp<"allowDuplicate", boolean, false, false> & DefineSlot<"selection", (item: JourneySelectItem<EnterprisePropertyDefinition | ExternalPropertySelectionItem>, index?: Number) => VNode>;
9
9
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<EnterprisePropertyPickerProps> & {
10
10
  onChange?: (propertyInternalName: string | string[]) => any;
11
+ "onClick:delete"?: (item: JourneySelectItem<EnterprisePropertyDefinition | ExternalPropertySelectionItem>, index?: Number) => any;
11
12
  } & {
12
13
  "v-slots"?: {
13
- selection?: (item: JourneySelectItem<EnterprisePropertyDefinition | ExternalPropertySelectionItem>, index?: number) => VNode;
14
+ selection?: (item: JourneySelectItem<EnterprisePropertyDefinition | ExternalPropertySelectionItem>, index?: Number) => VNode;
14
15
  } & Omit<{
15
16
  default?: import("vue").Slot;
16
17
  }, "selection">;
17
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "required" | "multiple" | "disabled" | "hideDetails" | "slot:selection" | "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" | "slot:selection" | "emit:click:delete" | "emit:change" | "excludedPropertyTypeIds" | "preSelectedPropertyInternalName" | "propertyItems" | "externalPropertyItems" | "allowDuplicate"> & import("@omnia/fx/ux").VNodeEvents) => any;
18
19
  export default _default;
@@ -1,4 +1,4 @@
1
- import { guid, IResolvedIdentity, Identity, PrincipalTypes, BoolFilter, ISpecialUserConfiguration } from "@omnia/fx-models";
1
+ import { guid, IResolvedIdentity, Identity, PrincipalTypes, BoolFilter, ISpecialUserConfiguration, OSelectTypes } from "@omnia/fx-models";
2
2
  import { DefineEmit } from "@omnia/fx/ux";
3
3
  import { IIdentityPickerStore } from "@omnia/fx/stores";
4
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
@@ -11,6 +11,8 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
11
11
  type?: PrincipalTypes;
12
12
  } & {
13
13
  providerIds?: guid[];
14
+ } & {
15
+ variant?: OSelectTypes;
14
16
  } & {
15
17
  label?: string;
16
18
  } & {
@@ -70,5 +72,5 @@ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<{
70
72
  "v-slots"?: {} & Omit<{
71
73
  default?: import("vue").Slot;
72
74
  }, never>;
73
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "label" | "identityStore" | "required" | "multiple" | "dense" | "disabled" | "modelValue" | "v-model" | "emit:update:modelValue" | "description" | "ariaInvalid" | "ariaDescribedby" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "hideDynamicGroupSelection" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
75
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "filter" | "type" | "top" | "variant" | "label" | "identityStore" | "required" | "multiple" | "dense" | "disabled" | "modelValue" | "v-model" | "emit:update:modelValue" | "description" | "ariaInvalid" | "ariaDescribedby" | "providerIds" | "emailEnabled" | "permissionEnabled" | "businessProfileId" | "singleLine" | "attachToParent" | "keepSelectionMenu" | "showCurrentUserOption" | "autoOpenSelection" | "disabledIdentities" | "blockedIdentities" | "emit:menuToggle" | "hideTab" | "hideGroupTypeSelection" | "hideUserTypeSelection" | "hideDynamicGroupSelection" | "enableSpecialUser"> & import("@omnia/fx/ux").VNodeEvents) => any;
74
76
  export default _default;
@@ -0,0 +1,97 @@
1
+ import { IIdentityPickerStore } from "@omnia/fx/stores";
2
+ import { BoolFilter, guid, Identity, IResolvedIdentity, ISpecialUserConfiguration, PrincipalTypes } from "@omnia/fx-models";
3
+ type SelectionTypeViewModel = {
4
+ title: string;
5
+ id: guid;
6
+ };
7
+ export declare const useIdentityPickerStore: () => {
8
+ state: {
9
+ properties: {
10
+ type: PrincipalTypes;
11
+ providerIds: guid[];
12
+ attachToParent: boolean;
13
+ top: boolean;
14
+ disabled: boolean;
15
+ disabledIdentities: Identity[];
16
+ blockedIdentities: Identity[];
17
+ hideTab: boolean;
18
+ hideDynamicGroupSelection: boolean;
19
+ hideGroupTypeSelection: boolean;
20
+ hideUserTypeSelection: boolean;
21
+ showSelectedIdentities: boolean;
22
+ displayIdentityType: boolean;
23
+ filter: (identities: IResolvedIdentity[]) => IResolvedIdentity[];
24
+ identityStore: IIdentityPickerStore;
25
+ emailEnabled: BoolFilter;
26
+ permissionEnabled: BoolFilter;
27
+ enableSpecialUser: ISpecialUserConfiguration;
28
+ isClosed: boolean;
29
+ businessProfileId: string;
30
+ };
31
+ identity: {
32
+ userTypes: SelectionTypeViewModel[];
33
+ groupTypes: SelectionTypeViewModel[];
34
+ selectedType: SelectionTypeViewModel;
35
+ canLoadMore: boolean;
36
+ searchText: string;
37
+ loadingSearch: boolean;
38
+ };
39
+ isExecutingQuery: boolean;
40
+ resolvingIdentities: boolean;
41
+ searchEntireDirectory: boolean;
42
+ showSearchEntireDirectoryOption: boolean;
43
+ scope: string;
44
+ tenantIdentityOnly: boolean;
45
+ openFilterMenu: boolean;
46
+ };
47
+ events: import("@omnia/fx/stores").StoreEvents<{
48
+ properties: {
49
+ type: PrincipalTypes;
50
+ providerIds: guid[];
51
+ attachToParent: boolean;
52
+ top: boolean;
53
+ disabled: boolean;
54
+ disabledIdentities: Identity[];
55
+ blockedIdentities: Identity[];
56
+ hideTab: boolean;
57
+ hideDynamicGroupSelection: boolean;
58
+ hideGroupTypeSelection: boolean;
59
+ hideUserTypeSelection: boolean;
60
+ showSelectedIdentities: boolean;
61
+ displayIdentityType: boolean;
62
+ filter: (identities: IResolvedIdentity[]) => IResolvedIdentity[];
63
+ identityStore: IIdentityPickerStore;
64
+ emailEnabled: BoolFilter;
65
+ permissionEnabled: BoolFilter;
66
+ enableSpecialUser: ISpecialUserConfiguration;
67
+ isClosed: boolean;
68
+ businessProfileId: string;
69
+ };
70
+ identity: {
71
+ userTypes: SelectionTypeViewModel[];
72
+ groupTypes: SelectionTypeViewModel[];
73
+ selectedType: SelectionTypeViewModel;
74
+ canLoadMore: boolean;
75
+ searchText: string;
76
+ loadingSearch: boolean;
77
+ };
78
+ isExecutingQuery: boolean;
79
+ resolvingIdentities: boolean;
80
+ searchEntireDirectory: boolean;
81
+ showSearchEntireDirectoryOption: boolean;
82
+ scope: string;
83
+ tenantIdentityOnly: boolean;
84
+ openFilterMenu: boolean;
85
+ }, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
86
+ actions: {
87
+ onDispatching: {};
88
+ onDispatched: {};
89
+ onFailure: {};
90
+ };
91
+ get: {
92
+ readonly bladesId: any;
93
+ };
94
+ } & {
95
+ dispose?: () => void;
96
+ };
97
+ export {};
@@ -1,8 +1,17 @@
1
1
  import { guid, IIcon } from "@omnia/fx-models";
2
+ export interface JourneySelectPropertyMapping {
3
+ id: string;
4
+ title: string;
5
+ subTitle?: string;
6
+ icon?: string;
7
+ value?: string;
8
+ caption?: string;
9
+ }
2
10
  export interface JourneySelectItem<TValue = any> {
3
11
  id: guid;
4
12
  title: string;
5
13
  subTitle?: string;
14
+ caption?: string;
6
15
  icon?: IIcon;
7
16
  value?: TValue;
8
17
  }
@@ -1,26 +1,22 @@
1
- import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel } from "@omnia/fx/ux";
1
+ import { DefineEmit, DefineProp, DefinePropTheming, DefineSlot, DefineVModel, JourneySelectPropertyMapping, useJourneySelectStore } from "@omnia/fx/ux";
2
2
  import { VNodeChild } from "vue";
3
- import { JourneySelectItem } from "../models/JourneySelectItem";
4
- export declare const SelectionTypeDefinitions: readonly ["selection", "custom"];
5
- export type SelectionTypes = typeof SelectionTypeDefinitions[number];
6
- type BaseProps = DefinePropTheming & DefineVModel<"", Array<JourneySelectItem>, false, null, false, "The v-model of the component"> & 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<"label", string, null, null, "The label of the component"> & DefineProp<"labelAdd", string, null, null, "The add label of the component"> & DefineProp<"items", Array<JourneySelectItem>, false, null, "Items to select from"> & DefineProp<"searchable", boolean, false, null, "If it is allowed to 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<"bladeless", boolean, false, null, "If add/edit is not a blade and only fires events"> & DefineProp<"allowDuplicate", boolean, false, false, "Enable to allow the user to select duplicate properties."> & DefineEmit<"search", (searchText: string) => true> & DefineSlot<"selectionItemRender", (item: JourneySelectItem, index: Number, onSave?: (item: JourneySelectItem) => void) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"title", (item: JourneySelectItem) => VNodeChild> & DefineSlot<"settingsRender", (item: JourneySelectItem, index: number) => VNodeChild> & DefineSlot<"chipRenderer", (item: JourneySelectItem, index: Number) => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: JourneySelectItem) => true> & DefineEmit<"click:add", () => true> & DefineEmit<"click:update", (item: JourneySelectItem) => true> & DefineEmit<"click:delete", (item: JourneySelectItem) => true>;
3
+ type BaseProps = 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<any>, 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: any, index: number, isSelected: boolean) => VNodeChild> & DefineSlot<"selectionRender", () => VNodeChild> & DefineSlot<"selectedItemRenderer", (item: any, index: number) => VNodeChild> & DefineSlot<"settingsRender", (item: any, index: number) => VNodeChild> & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: any) => true> & DefineEmit<"search", (searchText: string) => true> & DefineEmit<"click:add", () => true> & DefineEmit<"click:update", (item: any, index: number) => true> & DefineEmit<"click:delete", (item: any, index: number) => true>;
7
4
  declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps> & {
8
- "onUpdate:modelValue"?: (value: JourneySelectItem<any>[]) => any;
5
+ "onUpdate:modelValue"?: (value: any) => any;
9
6
  onSearch?: (searchText: string) => any;
10
7
  "onClick:add"?: () => any;
11
- "onClick:delete"?: (item: JourneySelectItem<any>) => any;
8
+ "onClick:delete"?: (item: any, index: number) => any;
12
9
  onShowAdd?: () => any;
13
- onShowEdit?: (item: JourneySelectItem<any>) => any;
14
- "onClick:update"?: (item: JourneySelectItem<any>) => any;
10
+ onShowEdit?: (item: any) => any;
11
+ "onClick:update"?: (item: any, index: number) => any;
15
12
  } & {
16
13
  "v-slots"?: {
17
- selectionItemRender?: (item: JourneySelectItem, index: Number, onSave?: (item: JourneySelectItem) => void) => VNodeChild;
14
+ selectionItemRender?: (item: any, index: number, isSelected: boolean) => VNodeChild;
18
15
  selectionRender?: () => VNodeChild;
19
- title?: (item: JourneySelectItem) => VNodeChild;
20
- settingsRender?: (item: JourneySelectItem, index: number) => VNodeChild;
21
- chipRenderer?: (item: JourneySelectItem, index: Number) => VNodeChild;
16
+ selectedItemRenderer?: (item: any, index: number) => VNodeChild;
17
+ settingsRender?: (item: any, index: number) => VNodeChild;
22
18
  } & Omit<{
23
19
  default?: import("vue").Slot;
24
- }, "title" | "selectionItemRender" | "selectionRender" | "settingsRender" | "chipRenderer">;
25
- } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "list" | "multiple" | "colorSchemaType" | "modelValue" | "items" | "readonly" | "colors" | "v-model" | "toned" | "emit:update:modelValue" | "searchable" | "emit:click:add" | "emit:search" | "slot:title" | "emit:click:delete" | "sortable" | "allowDuplicate" | "disableSave" | "labelAdd" | "confirmDelete" | "bladeless" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:settingsRender" | "slot:chipRenderer" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
20
+ }, "selectionItemRender" | "selectionRender" | "selectedItemRenderer" | "settingsRender">;
21
+ } & {} & 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:delete" | "sortable" | "propertyValueMapping" | "returnSelectionAsObject" | "labelAdd" | "disableSearch" | "disableSave" | "confirmDelete" | "noAddConfirm" | "bladeless" | "slot:selectionItemRender" | "slot:selectionRender" | "slot:selectedItemRenderer" | "slot:settingsRender" | "emit:showAdd" | "emit:showEdit" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
26
22
  export default _default;
@@ -1 +1,6 @@
1
- export declare const JourneySelectStyles: {};
1
+ import { useColorSchemaStore } from "../../aurora";
2
+ export declare const JourneySelectStyles: {
3
+ selectorWrapper: (colors: ReturnType<typeof useColorSchemaStore>) => import("../..").StylexValue;
4
+ containerOverflow: import("../..").StylexValue;
5
+ overlay: (dark: boolean, noHover?: boolean) => string;
6
+ };
@@ -0,0 +1,12 @@
1
+ import { DefineEmit, DefinePropTheming } from "@omnia/fx/ux";
2
+ type BaseProps = DefinePropTheming & DefineEmit<"showAdd", () => true> & DefineEmit<"showEdit", (item: any) => true> & DefineEmit<"click:delete", (item: any, index: number) => true>;
3
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps> & {
4
+ "onClick:delete"?: (item: any, index: number) => any;
5
+ onShowAdd?: () => any;
6
+ onShowEdit?: (item: any) => any;
7
+ } & {
8
+ "v-slots"?: {} & Omit<{
9
+ default?: import("vue").Slot;
10
+ }, never>;
11
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors" | "emit:click:delete" | "emit:showAdd" | "emit:showEdit"> & import("@omnia/fx/ux").VNodeEvents) => any;
12
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { DefinePropTheming } from "@omnia/fx/ux";
2
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<DefinePropTheming> & {} & {
3
+ "v-slots"?: {} & Omit<{
4
+ default?: import("vue").Slot;
5
+ }, never>;
6
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors"> & import("@omnia/fx/ux").VNodeEvents) => any;
7
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { DefineEmit, DefinePropTheming } from "@omnia/fx/ux";
2
+ export declare const SelectionTypeDefinitions: readonly ["selection", "custom"];
3
+ export type SelectionTypes = typeof SelectionTypeDefinitions[number];
4
+ type BaseProps = DefinePropTheming & DefineEmit<"click:add", () => true>;
5
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps> & {
6
+ "onClick:add"?: () => any;
7
+ } & {
8
+ "v-slots"?: {} & Omit<{
9
+ default?: import("vue").Slot;
10
+ }, never>;
11
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors" | "emit:click:add"> & import("@omnia/fx/ux").VNodeEvents) => any;
12
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { DefineEmit, DefinePropTheming } from "@omnia/fx/ux";
2
+ type BaseProps = DefinePropTheming & DefineEmit<"click:update", (item: any, index: number) => true> & DefineEmit<"click:delete", (item: any, index: number) => true>;
3
+ declare const _default: (props: import("@omnia/fx/ux").ExtractProps<BaseProps> & {
4
+ "onClick:delete"?: (item: any, index: number) => any;
5
+ "onClick:update"?: (item: any, index: number) => any;
6
+ } & {
7
+ "v-slots"?: {} & Omit<{
8
+ default?: import("vue").Slot;
9
+ }, never>;
10
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "colorSchemaType" | "colors" | "emit:click:delete" | "emit:click:update"> & import("@omnia/fx/ux").VNodeEvents) => any;
11
+ export default _default;