@omnia/fx 8.0.286-dev → 8.0.287-dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. package/internal-do-not-import-from-here/ux/app/management/components/TabsManagement.d.ts +1 -1
  2. package/internal-do-not-import-from-here/ux/appprovisioning/apptitleinput/AppTitleInput.d.ts +1 -1
  3. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/spacing/store/SpacingEditorStore.d.ts +7 -7
  4. package/internal-do-not-import-from-here/ux/aurora/admin/blades/blueprints/typography/components/FontPicker.d.ts +3 -3
  5. package/internal-do-not-import-from-here/ux/aurora/components/blueprinttemplatespicker/BlueprintsTemplatePicker.d.ts +2 -2
  6. package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPreview.d.ts +1 -1
  7. package/internal-do-not-import-from-here/ux/aurora/components/chrome/ChromeEditor.d.ts +4 -4
  8. package/internal-do-not-import-from-here/ux/aurora/components/chrome/ChromePicker.d.ts +1 -1
  9. package/internal-do-not-import-from-here/ux/aurora/components/colorpickerV2/ColorPicker.d.ts +3 -3
  10. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaDefinitionPicker.d.ts +1 -1
  11. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaEditor.d.ts +4 -4
  12. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaPicker.d.ts +4 -4
  13. package/internal-do-not-import-from-here/ux/aurora/components/colorschemapicker/ColorSchemaViewer.d.ts +2 -2
  14. package/internal-do-not-import-from-here/ux/aurora/components/containerpicker/ContainerPicker.d.ts +3 -3
  15. package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPreview.d.ts +1 -1
  16. package/internal-do-not-import-from-here/ux/aurora/components/spacingpicker/SpacingEditor.d.ts +9 -9
  17. package/internal-do-not-import-from-here/ux/aurora/components/spacingpicker/SpacingPicker3.d.ts +1 -1
  18. package/internal-do-not-import-from-here/ux/aurora/components/spacingpicker/SpacingViewer.d.ts +9 -9
  19. package/internal-do-not-import-from-here/ux/aurora/components/stylepicker/StylePicker.d.ts +1 -1
  20. package/internal-do-not-import-from-here/ux/aurora/components/themepicker/ThemePicker.d.ts +4 -4
  21. package/internal-do-not-import-from-here/ux/aurora/components/typography/TypographyEditor.d.ts +4 -4
  22. package/internal-do-not-import-from-here/ux/aurora/designkits/shared/BlueprintsTemplates.d.ts +4 -4
  23. package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +136 -124
  24. package/internal-do-not-import-from-here/ux/aurora/store/SpacingMigration.d.ts +4 -0
  25. package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +136 -124
  26. package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +1 -0
  27. package/internal-do-not-import-from-here/ux/aurora/styling/UseStyling.d.ts +9 -13
  28. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Blueprints.d.ts +6 -5
  29. package/internal-do-not-import-from-here/ux/aurora/styling/styles/Chrome.d.ts +3 -3
  30. package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +2 -2
  32. package/internal-do-not-import-from-here/ux/enterpriseproperties/display/personfield/PersonFieldDisplay.d.ts +1 -1
  33. package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyConfiguration.d.ts +3 -3
  34. package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +7 -7
  35. package/internal-do-not-import-from-here/ux/filterengine/components/renderer/date/DateTimePeriodSlider.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/filterengine/components/renderer/person/PersonPropertyChipItem.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertyDefaultValueInput.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/filterengine/components/settings/boolean/BooleanPropertySettings.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertyDefaultValueInput.d.ts +1 -1
  40. package/internal-do-not-import-from-here/ux/filterengine/components/settings/date/DatePropertySettings.d.ts +1 -1
  41. package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertyDefaultValueInput.d.ts +1 -1
  42. package/internal-do-not-import-from-here/ux/filterengine/components/settings/number/NumberPropertySettings.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertyDefaultValueInput.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/filterengine/components/settings/person/PersonPropertySettings.d.ts +1 -1
  45. package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertyDefaultValueInput.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/filterengine/components/settings/tags/TagsPropertySettings.d.ts +1 -1
  47. package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertyDefaultValueInput.d.ts +1 -1
  48. package/internal-do-not-import-from-here/ux/filterengine/components/settings/text/TextPropertySettings.d.ts +1 -1
  49. package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +3 -3
  50. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +5 -5
  51. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +2 -2
  53. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +2 -2
  54. package/internal-do-not-import-from-here/ux/image/scalingsettings/ScalingSettings.d.ts +1 -1
  55. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +3 -3
  56. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/ColorSettings.d.ts +1 -1
  57. package/internal-do-not-import-from-here/ux/layoutcanvas/shared/layoutitemsrenderer/LayoutStepRenderer.d.ts +1 -1
  58. package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +1 -1
  59. package/internal-do-not-import-from-here/ux/mediapickerV2/chrome/MediaPicker.d.ts +3 -3
  60. package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +5 -5
  61. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +2 -2
  62. package/internal-do-not-import-from-here/ux/oxide/pagination/Pagination.d.ts +1 -1
  63. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/oxide/rangeslider/RangeSlider.d.ts +2 -2
  65. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +3 -3
  66. package/internal-do-not-import-from-here/ux/properties/block/components/PropertySettings.d.ts +1 -1
  67. package/internal-do-not-import-from-here/ux/properties/builtins/birthday/BirthdayEditor.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/properties/builtins/boolean/BooleanEditor.d.ts +1 -1
  69. package/internal-do-not-import-from-here/ux/properties/builtins/businessprofile/BusinessProfileEditor.d.ts +1 -1
  70. package/internal-do-not-import-from-here/ux/properties/builtins/date/DateEditor.d.ts +1 -1
  71. package/internal-do-not-import-from-here/ux/properties/builtins/date-time/DateTimeEditor.d.ts +1 -1
  72. package/internal-do-not-import-from-here/ux/properties/builtins/email/EmailEditor.d.ts +1 -1
  73. package/internal-do-not-import-from-here/ux/properties/builtins/html/HtmlEditor.d.ts +1 -1
  74. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityConfiguration.d.ts +1 -1
  75. package/internal-do-not-import-from-here/ux/properties/builtins/identity/IdentityEditor.d.ts +1 -1
  76. package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageConfiguration.d.ts +1 -1
  77. package/internal-do-not-import-from-here/ux/properties/builtins/image/ImageEditor.d.ts +1 -1
  78. package/internal-do-not-import-from-here/ux/properties/builtins/integer/IntegerEditor.d.ts +1 -1
  79. package/internal-do-not-import-from-here/ux/properties/builtins/language/LanguageEditor.d.ts +1 -1
  80. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkConfiguration.d.ts +1 -1
  81. package/internal-do-not-import-from-here/ux/properties/builtins/link/LinkEditor.d.ts +1 -1
  82. package/internal-do-not-import-from-here/ux/properties/builtins/media/MediaEditor.d.ts +1 -1
  83. package/internal-do-not-import-from-here/ux/properties/builtins/multilingualText/MultilingualTextEditor.d.ts +1 -1
  84. package/internal-do-not-import-from-here/ux/properties/builtins/phone-number/PhoneNumberEditor.d.ts +1 -1
  85. package/internal-do-not-import-from-here/ux/properties/builtins/tags/TagsEditor.d.ts +1 -1
  86. package/internal-do-not-import-from-here/ux/properties/builtins/text/TextEditor.d.ts +1 -1
  87. package/internal-do-not-import-from-here/ux/properties/builtins/time/TimeEditor.d.ts +1 -1
  88. package/internal-do-not-import-from-here/ux/properties/property-configuration/LabelOptionsRenderer.d.ts +1 -1
  89. package/internal-do-not-import-from-here/ux/properties/property-configuration/PropertyConfiguration.d.ts +1 -1
  90. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyInput.d.ts +1 -1
  91. package/internal-do-not-import-from-here/ux/properties/property-renderer/PropertyBindingValueRenderer.d.ts +1 -1
  92. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditorSettings.d.ts +1 -1
  93. package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +1 -1
  94. package/internal-do-not-import-from-here/ux/social/Reactions.d.ts +12 -12
  95. package/internal-do-not-import-from-here/ux/timeperiodpicker/TimePeriodPicker.d.ts +1 -1
  96. package/internal-do-not-import-from-here/ux/urlinput/UrlInputLegacy.d.ts +1 -1
  97. package/internal-do-not-import-from-here/ux/use/index.d.ts +0 -1
  98. package/internal-do-not-import-from-here/ux/userpresence/UserPresence.d.ts +1 -1
  99. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +4 -4
  100. package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPreview.d.ts +1 -1
  101. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/VelcronPropertiesEditor.d.ts +1 -1
  102. package/internal-do-not-import-from-here/ux/velcron/core/models/Enums.d.ts +1 -2
  103. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -2
  104. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronTypes.d.ts +1 -1
  105. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronData.d.ts +1 -0
  106. package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronStyles.d.ts +17 -3
  107. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +2 -2
  108. package/internal-do-not-import-from-here/ux/velcron/editor/models/ComponentePropertiesGroupDescriptorTemplates.d.ts +2 -2
  109. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +32 -3
  110. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/AlignmentEditor.d.ts +1 -1
  111. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/BackgroundEditor.d.ts +1 -1
  112. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/BlueprintEditor.d.ts +1 -1
  113. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ColorEditor.d.ts +1 -1
  114. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ColorSchemaEditor.d.ts +1 -1
  115. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/FlowEditor.d.ts +1 -1
  116. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/GridEditor.d.ts +1 -1
  117. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/IconEditor.d.ts +1 -1
  118. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/ImageEditor.d.ts +1 -1
  119. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/NumberEditor.d.ts +1 -1
  120. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyEditorCreator.d.ts +1 -1
  121. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/SelectEditor.d.ts +1 -1
  122. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/SliderEditor.d.ts +1 -1
  123. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/SpacingEditor.d.ts +1 -1
  124. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/SwitchEditor.d.ts +1 -1
  125. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/TextEditor.d.ts +1 -1
  126. package/internal-do-not-import-from-here/ux/velcron/renderer/editors/TypographyEditor.d.ts +1 -1
  127. package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +6 -1
  128. package/package.json +3 -3
  129. package/internal-do-not-import-from-here/ux/use/useSpacingScaling.d.ts +0 -13
@@ -1,10 +1,24 @@
1
1
  import { VelcronBorder, VelcronColorStyling, VelcronDefinitionHasEffects, VelcronDefinitionHasOverflow, VelcronDimensions, VelcronEffects, VelcronRenderContext } from "../models";
2
2
  import { VelcronUnitProvider } from "../models/VelcronUnitProvider";
3
- import { SpacingDefinition, VelcronBindableProp, VelcronDefinition } from "..";
3
+ import { SpacingBlueprint, VelcronBindableProp, VelcronDefinition } from "..";
4
4
  export declare class VelcronStyles {
5
5
  static styleProvider: (baseStyles: object, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => any;
6
6
  static effectsProvider: (effects: VelcronEffects, renderCtx: VelcronRenderContext) => VelcronEffects;
7
7
  static unitProvider: VelcronUnitProvider;
8
+ spacingScaling: {
9
+ get: {
10
+ valueWithoutScale: (value: import("..").SpacingValue) => string | number;
11
+ scaleFromValue: (value: import("..").SpacingValue) => import("..").SpacingScale;
12
+ scale: (value: import("..").Spacing | import("..").SpacingValue) => import("..").SpacingScale;
13
+ };
14
+ add: {
15
+ scaleToValue: (value: import("..").SpacingValue, scale: import("..").SpacingScale) => string | number;
16
+ fallBackScale: (value: import("..").SpacingValue, scale: import("..").SpacingScale) => string | number;
17
+ };
18
+ has: {
19
+ scaling: (value: import("..").SpacingValue) => boolean;
20
+ };
21
+ };
8
22
  static registerStyleProvider(fn: (styleBase: object, definition: VelcronDefinition, renderCtx: VelcronRenderContext) => object | string, unitProvider: VelcronUnitProvider): void;
9
23
  static registerEffectsProvider(fn: (effects: VelcronEffects, renderCtx: VelcronRenderContext) => VelcronEffects): void;
10
24
  static applyEffects(definition: VelcronDefinitionHasEffects, renderCtx: VelcronRenderContext, applyTo: (effects: VelcronEffects) => any): any;
@@ -12,8 +26,8 @@ export declare class VelcronStyles {
12
26
  static insertBorderRadiusStyles(styleBase: any, settings: VelcronDimensions): void;
13
27
  static insertBorderStyles(styleBase: any, borderSettings: VelcronBorder, renderCtx: VelcronRenderContext): void;
14
28
  static create(definition: VelcronDefinition, renderCtx: VelcronRenderContext): object | string;
15
- static applySpacingDimension(value: string | number, spacing: SpacingDefinition): string | number;
29
+ static applySpacingDimension(value: string | number, spacing: SpacingBlueprint): string | number;
16
30
  static applyOverflow(definition: VelcronDefinitionHasOverflow, renderCtx: VelcronRenderContext, styleBase: any): void;
17
- static applySpacingStyles<T>(spacing: VelcronBindableProp<T>, renderCtx: VelcronRenderContext, styleBase: any, spacingDef: SpacingDefinition, styleType: string, objectIsDatabound?: (obj: T) => void, additionalPropsToDataBind?: object): void;
31
+ static applySpacingStyles<T>(spacing: VelcronBindableProp<T>, renderCtx: VelcronRenderContext, styleBase: any, spacingDef: SpacingBlueprint, styleType: string, objectIsDatabound?: (obj: T) => void, additionalPropsToDataBind?: object): void;
18
32
  static dataBindStyles(styles: object, renderCtx: VelcronRenderContext): object;
19
33
  }
@@ -1,4 +1,4 @@
1
- import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerBlueprint, ContainerVariant, ThemeDefinitionV2, TypographySize, TypographySizes, TypographyType, TypographyTypes, VelcronDefinition } from "..";
1
+ import { ColorSchemaType, ColorSchemaTypes, ColorType, ColorTypes, ContainerBlueprint, ContainerVariant, ThemeDefinitionV2, TypographySize, TypographySizes, TypographyType, TypographyTypes } from "..";
2
2
  export declare const useVelcronThemingStore: (newStateWithName?: string) => {
3
3
  state: {
4
4
  currentTheme: ThemeDefinitionV2;
@@ -7,7 +7,7 @@ export declare const useVelcronThemingStore: (newStateWithName?: string) => {
7
7
  componentBlueprints: () => void;
8
8
  containerBlueprint: (type: ContainerVariant | ContainerBlueprint | string) => any;
9
9
  colorSchema: (colorSchemaType: ColorSchemaTypes | ColorSchemaType) => import("..").ColorSchema;
10
- spacing: (definition?: VelcronDefinition) => import("..").SpacingDefinition;
10
+ spacing: () => import("..").SpacingBlueprint;
11
11
  typography: (typographyType: TypographyTypes | TypographyType, size: TypographySizes | TypographySize) => any;
12
12
  color: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => string;
13
13
  colorDefinition: (colorSchemaType: ColorSchemaTypes | ColorSchemaType, colorType: ColorTypes | ColorType) => import("..").ColorDefinition;
@@ -1,7 +1,7 @@
1
- import { VelcronComponentArrayPropertyDescriptor, VelcronComponentPropertyDescriptor, VelcronComponentPropertyDescriptorGroup } from "./VelcronDescriptors";
1
+ import { VelcronComponentArrayPropertyDescriptor, VelcronComponentPropertyDescriptor, VelcronComponentPropertyDescriptorGroup, VelcronComponentPropertyDescriptorWithType } from "./VelcronDescriptors";
2
2
  export declare const ComponentPropertiesDescriptorGroupTemplates: {
3
3
  spacing: (properties: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>) => VelcronComponentPropertyDescriptorGroup;
4
- settings: (properties: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>) => VelcronComponentPropertyDescriptorGroup;
4
+ settings: (properties: Array<VelcronComponentPropertyDescriptorWithType | VelcronComponentArrayPropertyDescriptor>) => VelcronComponentPropertyDescriptorGroup;
5
5
  style: (properties: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>) => VelcronComponentPropertyDescriptorGroup;
6
6
  size: (properties: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>) => VelcronComponentPropertyDescriptorGroup;
7
7
  layout: (properties: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>) => VelcronComponentPropertyDescriptorGroup;
@@ -1,6 +1,6 @@
1
1
  import { IFontAwesomeIcon, IIcon, VelcronDefinition, VelcronEditor } from "@omnia/fx-models";
2
2
  import { VelcronDataTypes } from "../../core/models/Enums";
3
- import { VelcroncomponentArrayType, VelcronObjectType, VelcronPrimitiveType } from "../../core/models/VelcronTypes";
3
+ import { VelcronComponentArrayType, VelcronObjectType, VelcronPrimitiveType } from "../../core/models/VelcronTypes";
4
4
  import { VelcronDescriptorTypes } from "./Enums";
5
5
  export interface VelcronDescriptor {
6
6
  descriptorType: VelcronDescriptorTypes;
@@ -17,7 +17,7 @@ export interface VelcronComponentTemplateDescriptor extends VelcronDescriptor {
17
17
  export interface VelcronComponentPropertyDescriptorGroup {
18
18
  name: string;
19
19
  icon: IFontAwesomeIcon;
20
- properties?: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>;
20
+ properties?: Array<VelcronComponentPropertyDescriptorWithType | VelcronComponentArrayPropertyDescriptor>;
21
21
  }
22
22
  export interface VelcronComponentDescriptor extends VelcronDescriptor {
23
23
  descriptorType: VelcronDescriptorTypes.component;
@@ -46,12 +46,41 @@ export interface VelcronComponentPropertyDescriptor {
46
46
  group?: string;
47
47
  editor?: VelcronEditor<any>;
48
48
  required?: boolean;
49
- defaultValue?: VelcronPrimitiveType | VelcroncomponentArrayType | VelcronObjectType<{}>;
49
+ defaultValue?: VelcronPrimitiveType | VelcronComponentArrayType | VelcronObjectType<{}> | boolean;
50
50
  disableRemovePropertyOnEmptyOrFalse?: boolean;
51
51
  label?: string;
52
52
  bindable?: boolean;
53
53
  propertyCleanup?: Array<VelcronComponentPropertyCleanupCondition>;
54
54
  }
55
+ export interface VelcronComponentPropertyDescriptorBoolean extends VelcronComponentPropertyDescriptor {
56
+ type: VelcronDataTypes.boolean;
57
+ defaultValue?: boolean;
58
+ }
59
+ export interface VelcronComponentPropertyDescriptorText extends VelcronComponentPropertyDescriptor {
60
+ type: VelcronDataTypes.text;
61
+ defaultValue?: string;
62
+ }
63
+ export interface VelcronComponentPropertyDescriptorNumber extends VelcronComponentPropertyDescriptor {
64
+ type: VelcronDataTypes.number;
65
+ defaultValue?: number;
66
+ }
67
+ export interface VelcronComponentPropertyDescriptorArray extends VelcronComponentPropertyDescriptor {
68
+ type: VelcronDataTypes.array;
69
+ defaultValue?: VelcronComponentArrayType;
70
+ }
71
+ export interface VelcronComponentPropertyDescriptorComponentArray extends VelcronComponentPropertyDescriptor {
72
+ type: VelcronDataTypes.componentArray;
73
+ defaultValue?: VelcronComponentArrayType;
74
+ }
75
+ export interface VelcronComponentPropertyDescriptorObject extends VelcronComponentPropertyDescriptor {
76
+ type: VelcronDataTypes.object;
77
+ defaultValue?: VelcronObjectType<{}>;
78
+ }
79
+ export interface VelcronComponentPropertyDescriptorUnknown extends VelcronComponentPropertyDescriptor {
80
+ type: VelcronDataTypes.unknown;
81
+ defaultValue?: unknown;
82
+ }
83
+ export type VelcronComponentPropertyDescriptorWithType = VelcronComponentPropertyDescriptorBoolean | VelcronComponentPropertyDescriptorText | VelcronComponentPropertyDescriptorNumber | VelcronComponentPropertyDescriptorArray | VelcronComponentPropertyDescriptorComponentArray | VelcronComponentPropertyDescriptorObject | VelcronComponentPropertyDescriptorUnknown;
55
84
  export interface VelcronComponentArrayPropertyDescriptor extends VelcronComponentPropertyDescriptor {
56
85
  type: VelcronDataTypes.componentArray;
57
86
  subComponent: VelcronSubComponentDescriptor;
@@ -370,8 +370,8 @@ declare const _default: {
370
370
  }>;
371
371
  };
372
372
  settings?: VelcronAlignmentPropertyEditorSettings;
373
- "v-model"?: "left" | "right" | "top" | "center" | "bottom";
374
373
  modelValue?: "left" | "right" | "top" | "center" | "bottom";
374
+ "v-model"?: "left" | "right" | "top" | "center" | "bottom";
375
375
  "onUpdate:modelValue"?: (value: "left" | "right" | "top" | "center" | "bottom") => any | void;
376
376
  }>, "onUpdate:modelValue"> & {
377
377
  "onUpdate:modelValue"?: (value: "left" | "right" | "top" | "center" | "bottom") => any;
@@ -366,8 +366,8 @@ declare const _default: {
366
366
  };
367
367
  }>;
368
368
  };
369
- "v-model"?: BackgroundDefinition;
370
369
  modelValue?: BackgroundDefinition;
370
+ "v-model"?: BackgroundDefinition;
371
371
  "onUpdate:modelValue"?: (value: BackgroundDefinition) => any | void;
372
372
  location?: EditorLocation;
373
373
  }>, "onUpdate:modelValue"> & {
@@ -403,8 +403,8 @@ declare const _default: {
403
403
  }>;
404
404
  };
405
405
  settings?: VelcronBlueprintEditorSettings;
406
- "v-model"?: any;
407
406
  modelValue?: any;
407
+ "v-model"?: any;
408
408
  "onUpdate:modelValue"?: (value: any) => any | void;
409
409
  location?: EditorLocation;
410
410
  previewColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
@@ -354,8 +354,8 @@ declare const _default: {
354
354
  };
355
355
  }>;
356
356
  };
357
- "v-model"?: VelcronColorStyling;
358
357
  modelValue?: VelcronColorStyling;
358
+ "v-model"?: VelcronColorStyling;
359
359
  "onUpdate:modelValue"?: (value: VelcronColorStyling) => any | void;
360
360
  }>, "onUpdate:modelValue"> & {
361
361
  "onUpdate:modelValue"?: (value: VelcronColorStyling) => any;
@@ -378,8 +378,8 @@ declare const _default: {
378
378
  };
379
379
  }>;
380
380
  };
381
- "v-model"?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
382
381
  modelValue?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
382
+ "v-model"?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
383
383
  "onUpdate:modelValue"?: (value: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic") => any | void;
384
384
  location?: EditorLocation;
385
385
  }>, "onUpdate:modelValue" | "onValue:enter" | "onValue:leave"> & {
@@ -380,8 +380,8 @@ declare const _default: {
380
380
  }>;
381
381
  };
382
382
  settings?: VelcronFlowEditorSettings;
383
- "v-model"?: string | FlowContent;
384
383
  modelValue?: string | FlowContent;
384
+ "v-model"?: string | FlowContent;
385
385
  "onUpdate:modelValue"?: (value: string | FlowContent) => any | void;
386
386
  location?: EditorLocation;
387
387
  }>, "onUpdate:modelValue"> & {
@@ -342,8 +342,8 @@ declare const _default: {
342
342
  };
343
343
  }>;
344
344
  };
345
- "v-model"?: VelcronGridState;
346
345
  modelValue?: VelcronGridState;
346
+ "v-model"?: VelcronGridState;
347
347
  "onUpdate:modelValue"?: (value: VelcronGridState) => any | void;
348
348
  }>, never>;
349
349
  };
@@ -380,8 +380,8 @@ declare const _default: {
380
380
  };
381
381
  label?: string;
382
382
  settings?: VelcronTextEditorSettings;
383
- "v-model"?: string;
384
383
  modelValue?: string;
384
+ "v-model"?: string;
385
385
  "onUpdate:modelValue"?: (value: string) => any | void;
386
386
  }>, "onUpdate:modelValue"> & {
387
387
  "onUpdate:modelValue"?: (value: string) => any;
@@ -379,8 +379,8 @@ declare const _default: {
379
379
  }>;
380
380
  };
381
381
  settings?: any;
382
- "v-model"?: any;
383
382
  modelValue?: any;
383
+ "v-model"?: any;
384
384
  "onUpdate:modelValue"?: (value: any) => any | void;
385
385
  location?: EditorLocation;
386
386
  }>, "onUpdate:modelValue"> & {
@@ -392,8 +392,8 @@ declare const _default: {
392
392
  };
393
393
  label?: string;
394
394
  settings?: VelcronNumberEditorSettings;
395
- "v-model"?: number;
396
395
  modelValue?: number;
396
+ "v-model"?: number;
397
397
  "onUpdate:modelValue"?: (value: number) => any | void;
398
398
  location?: EditorLocation;
399
399
  }>, "onUpdate:modelValue"> & {
@@ -416,8 +416,8 @@ declare const _default: {
416
416
  };
417
417
  label?: string;
418
418
  editor?: VelcronEditor<any>;
419
- "v-model"?: any;
420
419
  modelValue?: any;
420
+ "v-model"?: any;
421
421
  "onUpdate:modelValue"?: (value: any) => any | void;
422
422
  location?: EditorLocation;
423
423
  previewColorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic";
@@ -379,8 +379,8 @@ declare const _default: {
379
379
  }>;
380
380
  };
381
381
  settings?: VelcronSelectEditorSettings;
382
- "v-model"?: string;
383
382
  modelValue?: string;
383
+ "v-model"?: string;
384
384
  "onUpdate:modelValue"?: (value: string) => any | void;
385
385
  location?: EditorLocation;
386
386
  }>, "onUpdate:modelValue"> & {
@@ -383,8 +383,8 @@ declare const _default: {
383
383
  }>;
384
384
  };
385
385
  settings?: VelcronSliderPropertyEditorSettings;
386
- "v-model"?: number;
387
386
  modelValue?: number;
387
+ "v-model"?: number;
388
388
  "onUpdate:modelValue"?: (value: number) => any | void;
389
389
  location?: EditorLocation;
390
390
  }>, "onUpdate:modelValue"> & {
@@ -379,8 +379,8 @@ declare const _default: {
379
379
  }>;
380
380
  };
381
381
  settings?: VelcronSpacingEditorSettings;
382
- "v-model"?: VelcronSpacing | SpacingValue | VelcronPosition;
383
382
  modelValue?: VelcronSpacing | SpacingValue | VelcronPosition;
383
+ "v-model"?: VelcronSpacing | SpacingValue | VelcronPosition;
384
384
  "onUpdate:modelValue"?: (value: VelcronSpacing | SpacingValue | VelcronPosition) => any | void;
385
385
  location?: EditorLocation;
386
386
  }>, "onUpdate:modelValue"> & {
@@ -379,8 +379,8 @@ declare const _default: {
379
379
  }>;
380
380
  };
381
381
  label?: string;
382
- "v-model"?: boolean;
383
382
  modelValue?: boolean;
383
+ "v-model"?: boolean;
384
384
  "onUpdate:modelValue"?: (value: boolean) => any | void;
385
385
  location?: EditorLocation;
386
386
  }>, "onUpdate:modelValue"> & {
@@ -392,8 +392,8 @@ declare const _default: {
392
392
  };
393
393
  label?: string;
394
394
  settings?: VelcronTextEditorSettings;
395
- "v-model"?: string;
396
395
  modelValue?: string;
396
+ "v-model"?: string;
397
397
  "onUpdate:modelValue"?: (value: string) => any | void;
398
398
  location?: EditorLocation;
399
399
  }>, "onUpdate:modelValue"> & {
@@ -379,8 +379,8 @@ declare const _default: {
379
379
  }>;
380
380
  };
381
381
  settings?: VelcronTypographyEditorSettings;
382
- "v-model"?: TextBlueprint;
383
382
  modelValue?: TextBlueprint;
383
+ "v-model"?: TextBlueprint;
384
384
  "onUpdate:modelValue"?: (value: TextBlueprint) => any | void;
385
385
  location?: EditorLocation;
386
386
  }>, "onUpdate:modelValue"> & {
@@ -1,4 +1,4 @@
1
- import { DynamicState, VelcronAppDefinition, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRegistrationWithoutApp, VelcronDefinitionRendererTypeRegistration, VelcronRendererResolverReference, guid } from "@omnia/fx-models";
1
+ import { DynamicState, VelcronAppDefinition, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRegistrationWithoutApp, VelcronDefinitionRendererTypeRegistration, VelcronGridState, VelcronRendererResolverReference, guid } from "@omnia/fx-models";
2
2
  import { VelcronPropertyDefinitionValueResolver, VelcronPropertyEditorValue } from "../../models";
3
3
  export declare const useVelcronDefinitionStore: () => {
4
4
  state: {
@@ -32,6 +32,11 @@ export declare const useVelcronDefinitionStore: () => {
32
32
  state: VelcronPropertyEditorValue<T>;
33
33
  setState(value: VelcronPropertyEditorValue<T>): void;
34
34
  };
35
+ grid(): {
36
+ match: boolean;
37
+ state: VelcronGridState;
38
+ setState(value: VelcronGridState): void;
39
+ };
35
40
  };
36
41
  };
37
42
  actions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.286-dev",
4
+ "version": "8.0.287-dev",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,12 +20,12 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.286-dev",
23
+ "@omnia/fx-models": "8.0.287-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",
27
27
  "splitpanes": "3.1.5",
28
- "vue": "3.5.3",
28
+ "vue": "3.5.4",
29
29
  "vuetify": "3.7.0",
30
30
  "tslib": "2.6.2",
31
31
  "typescript": "5.6.2",
@@ -1,13 +0,0 @@
1
- import { SpacingValue } from "@omnia/fx-models";
2
- export declare function useSpacingScaling(): {
3
- get: {
4
- valueWithoutScale: (value: SpacingValue) => string | number;
5
- scaleFromValue: (value: SpacingValue) => "l" | "s";
6
- };
7
- add: {
8
- scaleToValue: (value: SpacingValue, scale: string) => string | number;
9
- };
10
- has: {
11
- scaling: (value: SpacingValue) => boolean;
12
- };
13
- };