@omnia/fx 8.0.60-vnext → 8.0.61-vnext

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 (149) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/shared/http/Bring.d.ts +1 -1
  3. package/internal-do-not-import-from-here/shared/models/Guid.js +1 -1
  4. package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.js +6 -1
  5. package/internal-do-not-import-from-here/ux/ComponentTypings.d.ts +10 -1
  6. package/internal-do-not-import-from-here/ux/alignmentpicker/AlignmentPicker.d.ts +2 -2
  7. package/internal-do-not-import-from-here/ux/app/management/components/TabsManagement.d.ts +2 -2
  8. package/internal-do-not-import-from-here/ux/compositiontests/OptionsBlockCurrent.d.ts +2 -2
  9. package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +2 -2
  10. package/internal-do-not-import-from-here/ux/filterengine/components/renderer/person/PersonPropertyChipItem.d.ts +2 -2
  11. package/internal-do-not-import-from-here/ux/filterpicker/FilterPicker.d.ts +2 -2
  12. package/internal-do-not-import-from-here/ux/hub/HubChat.css.d.ts +4 -0
  13. package/internal-do-not-import-from-here/ux/hub/HubChat.d.ts +104 -0
  14. package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +2 -2
  15. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +2 -2
  16. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +2 -2
  17. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +6 -6
  18. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +6 -6
  19. package/internal-do-not-import-from-here/ux/image/scalingsettings/ScalingSettings.d.ts +4 -4
  20. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/ColorSettings.d.ts +2 -2
  21. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.css.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/layoutcanvas/index.d.ts +0 -1
  23. package/internal-do-not-import-from-here/ux/layoutcanvas/stores/index.d.ts +0 -1
  24. package/internal-do-not-import-from-here/ux/markdown/MarkdownEditor.d.ts +59 -2
  25. package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.css.d.ts +4 -0
  26. package/internal-do-not-import-from-here/ux/markdown/MarkdownRenderer.d.ts +42 -2
  27. package/internal-do-not-import-from-here/ux/markdown/plugins/MarkdownPluginContext.d.ts +3 -0
  28. package/internal-do-not-import-from-here/ux/markdown/plugins/VelcronMarkdownRenderer.d.ts +3 -0
  29. package/internal-do-not-import-from-here/ux/models/Validation.d.ts +3 -0
  30. package/internal-do-not-import-from-here/ux/monaco/MonacoEditor.d.ts +2 -2
  31. package/internal-do-not-import-from-here/ux/oxide/btngroup/ButtonGroup.d.ts +4 -4
  32. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +17 -3
  33. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +13 -13
  34. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +11 -11
  35. package/internal-do-not-import-from-here/ux/oxide/expansionpanel/ExpansionPanels.d.ts +2 -2
  36. package/internal-do-not-import-from-here/ux/oxide/menu/Menu.d.ts +4 -4
  37. package/internal-do-not-import-from-here/ux/oxide/navigationdrawer/NavigationDrawer.d.ts +4 -4
  38. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +2 -2
  39. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +17 -2
  40. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +21 -6
  41. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +6 -6
  42. package/internal-do-not-import-from-here/ux/oxide/snackbar/Snackbar.d.ts +2 -2
  43. package/internal-do-not-import-from-here/ux/oxide/stepper/Stepper.d.ts +11 -11
  44. package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +17 -2
  45. package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +2 -2
  46. package/internal-do-not-import-from-here/ux/oxide/tab/Tabs.d.ts +13 -13
  47. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +2 -2
  48. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +11 -11
  49. package/internal-do-not-import-from-here/ux/oxide/treeview/Treeview.d.ts +4 -4
  50. package/internal-do-not-import-from-here/ux/oxide/validation/Validation.d.ts +7 -12
  51. package/internal-do-not-import-from-here/ux/oxide/validation/docs/AdvanceExample.d.ts +91 -0
  52. package/internal-do-not-import-from-here/ux/oxide/validation/docs/ExampleComponents.d.ts +1 -0
  53. package/internal-do-not-import-from-here/ux/oxide/validation/docs/SimpleExample.d.ts +91 -0
  54. package/internal-do-not-import-from-here/ux/oxide/validation/docs/index.d.ts +1 -0
  55. package/internal-do-not-import-from-here/ux/settings/SettingsPane.d.ts +2 -2
  56. package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker2.d.ts +2 -2
  57. package/internal-do-not-import-from-here/ux/spacingpicker/SpacingPicker3.d.ts +2 -2
  58. package/internal-do-not-import-from-here/ux/theming/components/ThemeDefinitionEditor.d.ts +2 -2
  59. package/internal-do-not-import-from-here/ux/theming-v2/blueprintpicker/BlueprintPicker.d.ts +2 -2
  60. package/internal-do-not-import-from-here/ux/theming-v2/colorschemadefinitionpicker/ColorSchemaDefinitionPicker.d.ts +2 -2
  61. package/internal-do-not-import-from-here/ux/theming-v2/colorschemapicker/ColorSchemaPicker.d.ts +2 -2
  62. package/internal-do-not-import-from-here/ux/theming-v2/index.d.ts +2 -1
  63. package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/core}/Colors.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/theming-v2/skins/core/ThemeDefinitionInstance.d.ts +9 -0
  65. package/internal-do-not-import-from-here/ux/theming-v2/skins/core/index.d.ts +3 -0
  66. package/internal-do-not-import-from-here/ux/theming-v2/skins/core/useVelcronState.d.ts +50 -0
  67. package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions/cards/Image_top.d.ts → theming-v2/skins/default/definitions/cards/BannerImageTop.d.ts} +1 -1
  68. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupAvatar.d.ts +2 -0
  69. package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions/content/Image.d.ts → theming-v2/skins/default/definitions/cards/RollupImageLarge.d.ts} +1 -1
  70. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupImageSmall.d.ts +4 -0
  71. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupImageTop.d.ts +2 -0
  72. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/RollupImageTopAvatar.d.ts +2 -0
  73. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/cards/index.d.ts +6 -0
  74. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/Image.d.ts +2 -0
  75. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/ImageText.d.ts +3 -0
  76. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/Quote.d.ts +2 -0
  77. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/Text.d.ts +2 -0
  78. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/content/index.d.ts +4 -0
  79. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/headers/BlockTextIcon.d.ts +3 -0
  80. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/headers/Pageheader.d.ts +2 -0
  81. package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions → theming-v2/skins/default/definitions}/headers/index.d.ts +1 -0
  82. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/definitions/index.d.ts +3 -0
  83. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/index.d.ts +1 -0
  84. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/themes/Blueprints.d.ts +21 -0
  85. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/themes/ThemeDefinitions.d.ts +23 -0
  86. package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/default/themes}/TypographyTypes.d.ts +0 -96
  87. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/themes/index.d.ts +1 -0
  88. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/useDefaultSkin.d.ts +48 -0
  89. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/index.d.ts +1 -0
  90. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/Blueprints.d.ts +6 -0
  91. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/SpacingTypes.d.ts +17 -0
  92. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/ThemeDefinitions.d.ts +6 -0
  93. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/TypographyTypes.d.ts +97 -0
  94. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/themes/index.d.ts +1 -0
  95. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/useDocumentationSkin.d.ts +6 -0
  96. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/index.d.ts +1 -0
  97. package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/editor/themes}/Blueprints.d.ts +1 -1
  98. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/SpacingTypes.d.ts +17 -0
  99. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/ThemeDefinitions.d.ts +8 -0
  100. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/TypographyTypes.d.ts +97 -0
  101. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/themes/index.d.ts +1 -0
  102. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/useEditorSkin.d.ts +7 -0
  103. package/internal-do-not-import-from-here/ux/theming-v2/skins/index.d.ts +1 -0
  104. package/internal-do-not-import-from-here/ux/theming-v2/skins/useSkins.d.ts +63 -0
  105. package/internal-do-not-import-from-here/ux/theming-v2/themedefinitionpicker/ThemeDefinitionPicker.d.ts +4 -4
  106. package/internal-do-not-import-from-here/ux/use/UseValidation.d.ts +3 -11
  107. package/internal-do-not-import-from-here/ux/userpresence/UserPresence.d.ts +2 -2
  108. package/internal-do-not-import-from-here/ux/velcron/blocks/velcron/VelcronBlockSettings.d.ts +2 -7
  109. package/internal-do-not-import-from-here/ux/velcron/components/{properties/VelcronProperties.d.ts → propertieseditor/VelcronPropertiesEditor.d.ts} +23 -17
  110. package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/editors/alignment/AlignmentEditor.d.ts +1 -1
  111. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/color/ColorEditor.d.ts +1 -0
  112. package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/editors/index.d.ts +1 -0
  113. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/markdown/MarkdownEditor.d.ts +1 -0
  114. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/slider/SliderEditor.d.ts +2 -0
  115. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/switch/SwitchEditor.d.ts +1 -0
  116. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/editors/text/TextEditor.d.ts +1 -0
  117. package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/models/DefineVelcronPropertyEditor.d.ts +1 -1
  118. package/internal-do-not-import-from-here/ux/velcron/components/propertieseditor/models/DefineVelcronPropertyEditorProps.d.ts +1 -0
  119. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +40 -35
  120. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +57 -0
  121. package/internal-do-not-import-from-here/ux/velcron/core/models/index.d.ts +1 -0
  122. package/internal-do-not-import-from-here/ux/velcron/editor/VelcronEditor.d.ts +2 -2
  123. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +1 -15
  124. package/internal-do-not-import-from-here/wctypings.d.ts +4 -2
  125. package/package.json +3 -3
  126. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/Image_top_blog.d.ts +0 -2
  127. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/News_Image_Small.d.ts +0 -3
  128. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/News_Image_Top.d.ts +0 -2
  129. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/cards/index.d.ts +0 -3
  130. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/Image_text.d.ts +0 -3
  131. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/Text_Quote.d.ts +0 -2
  132. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/Text_only.d.ts +0 -2
  133. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/content/index.d.ts +0 -4
  134. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/headers/Pageheader.d.ts +0 -2
  135. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/index.d.ts +0 -1
  136. package/internal-do-not-import-from-here/ux/layoutcanvas/velcron_definitions/useVelcronDefinitionTemplates.d.ts +0 -28
  137. package/internal-do-not-import-from-here/ux/theming-v2/themes/ThemeDefinitions.d.ts +0 -41
  138. package/internal-do-not-import-from-here/ux/theming-v2/themes/index.d.ts +0 -4
  139. package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/color/ColorEditor.d.ts +0 -1
  140. package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/slider/SliderEditor.d.ts +0 -6
  141. package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/switch/SwitchEditor.d.ts +0 -1
  142. package/internal-do-not-import-from-here/ux/velcron/components/properties/editors/text/TextEditor.d.ts +0 -1
  143. package/internal-do-not-import-from-here/ux/velcron/components/properties/models/DefineVelcronPropertyEditorProps.d.ts +0 -86
  144. /package/internal-do-not-import-from-here/ux/{layoutcanvas/stores → theming-v2}/VelcronDefinitionStore.d.ts +0 -0
  145. /package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions → theming-v2/skins/default/definitions}/content/Contentblocks.d.ts +0 -0
  146. /package/internal-do-not-import-from-here/ux/{layoutcanvas/velcron_definitions → theming-v2/skins/default/definitions}/headers/Blockheaders.d.ts +0 -0
  147. /package/internal-do-not-import-from-here/ux/theming-v2/{themes → skins/default/themes}/SpacingTypes.d.ts +0 -0
  148. /package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/index.d.ts +0 -0
  149. /package/internal-do-not-import-from-here/ux/velcron/components/{properties → propertieseditor}/models/index.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import { VelcronEvent, VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnEditModeEvent, VelcronOnLoadEvent, VelcronOnPressEvent } from "./VelcronEvents";
2
2
  import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
3
3
  import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
4
- import { useVelcronThemingStore } from "..";
4
+ import { VelcronPropertyEditor, useVelcronThemingStore } from "..";
5
5
  import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
6
6
  import { useVelcronBlueprintStore } from "../stores/VelcronBlueprint";
7
7
  export interface ResolvedComponentRenderer {
@@ -10,19 +10,19 @@ export interface ResolvedComponentRenderer {
10
10
  customComponent: boolean;
11
11
  }
12
12
  export interface BuiltInComponentRenderers {
13
- "View": unknown;
14
- "Card": unknown;
15
- "Text": unknown;
16
- "Image": unknown;
17
- "Button": unknown;
18
- "TextInput": unknown;
19
- "ProgressCircle": unknown;
20
- "WebView": unknown;
21
- "CustomComponent": unknown;
22
- "Dialog": unknown;
23
- "Icon": unknown;
24
- "Chip": unknown;
25
- "Markdown": unknown;
13
+ "view": unknown;
14
+ "card": unknown;
15
+ "text": unknown;
16
+ "image": unknown;
17
+ "button": unknown;
18
+ "text-input": unknown;
19
+ "progress-circle": unknown;
20
+ "web-view": unknown;
21
+ "custom-component": unknown;
22
+ "dialog": unknown;
23
+ "icon": unknown;
24
+ "chip": unknown;
25
+ "markdown": unknown;
26
26
  }
27
27
  export interface ColorSchemaReference {
28
28
  name: string;
@@ -162,7 +162,7 @@ export interface VelcronIcon {
162
162
  name: string;
163
163
  }
164
164
  export interface VelcronAppDefinition<TState extends DynamicState = DynamicState> extends VelcronDefinitionBase {
165
- type: "Velcron";
165
+ type: "velcron";
166
166
  version: string;
167
167
  name: string;
168
168
  body?: Array<VelcronDefinition>;
@@ -171,6 +171,7 @@ export interface VelcronAppDefinition<TState extends DynamicState = DynamicState
171
171
  [name: string]: [];
172
172
  };
173
173
  components?: Array<VelcronCustomComponentDefinition>;
174
+ propEditors?: Array<VelcronPropertyEditor>;
174
175
  state?: TState;
175
176
  computed?: {
176
177
  [name: string]: [];
@@ -184,91 +185,95 @@ export interface VelcronComponentDefinition extends VelcronDefinition {
184
185
  }
185
186
  /*** Built-in Components *********************************************************************/
186
187
  export interface VelcronViewDefinition extends VelcronDefinition, VelcronColorStyling {
187
- type: "View";
188
+ type: "view";
188
189
  events?: VelcronOnPressEvent;
189
190
  direction?: "row" | "column" | "row-reverse" | "column-reverse" | string;
190
191
  columnStyle?: object;
191
192
  horizontalAlignment?: VelcronHorizontalAlignments;
192
193
  verticalAlignment?: VelcronVerticalAlignments;
193
194
  grow?: number;
195
+ absolute?: VelcronSpacing;
194
196
  border?: VelcronBorder;
195
197
  borderRadius?: VelcronDimensions;
196
- width?: number;
198
+ width?: number | string;
199
+ minWidth?: number | string;
200
+ height?: number | string;
201
+ minHeight?: number | string;
197
202
  }
198
203
  export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorStyling {
199
- type: "Card";
204
+ type: "card";
200
205
  style?: VelcronCardStyling;
201
206
  footer?: Array<VelcronDefinition>;
202
207
  events?: VelcronOnPressEvent;
203
208
  }
204
209
  export interface VelcronTextDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
205
- type: "Text";
210
+ type: "text";
206
211
  editLabel?: VelcronBindableProp;
207
212
  lineClamp?: number;
208
213
  noWrap?: boolean;
209
214
  events?: VelcronOnPressEvent & VelcronOnUpdatedEvent;
210
215
  }
211
216
  export declare enum VelcronImageRatios {
212
- square = 1,
213
- landscape = 2
217
+ square = "square",
218
+ landscape = "landscapre"
214
219
  }
215
220
  export interface VelcronImageDefinition extends VelcronDefinition {
216
- type: "Image";
221
+ type: "image";
217
222
  source: string;
218
- ratio: VelcronImageRatios;
223
+ ratio: VelcronImageRatios | string;
219
224
  cover?: VelcronBindableProp<boolean>;
220
225
  borderRadius?: VelcronDimensions;
221
226
  events?: VelcronOnPressEvent;
222
227
  }
223
228
  export interface VelcronButtonDefinition extends VelcronDefinition {
224
- type: "Button";
229
+ type: "button";
225
230
  text: string;
226
231
  icon?: VelcronIcon;
227
232
  disabled?: boolean;
228
233
  events?: VelcronOnPressEvent;
229
234
  }
230
235
  export interface VelcronTextInputDefinition extends VelcronDefinition {
231
- type: "TextInput";
236
+ type: "text-input";
232
237
  label?: string;
233
238
  bind: string;
234
239
  initialValue?: string;
235
240
  events: VelcronOnUpdatedEvent;
236
241
  }
237
242
  export interface VelcronProgressCircleDefinition extends VelcronDefinition {
238
- type: "ProgressCircle";
243
+ type: "progress-circle";
239
244
  events?: VelcronOnPressEvent;
240
245
  }
241
246
  export interface VelcronWebViewDefinition extends VelcronDefinition {
242
- type: "WebView";
247
+ type: "web-view";
243
248
  source: string;
244
249
  }
245
250
  export interface VelcronDialogDefinition extends VelcronDefinition {
246
- type: "Dialog";
251
+ type: "dialog";
247
252
  title: string;
248
253
  visible: string;
249
254
  events?: VelcronOnCloseRequestedEvent & VelcronOnClosedEvent;
250
255
  }
251
256
  export interface VelcronIconDefinition extends VelcronDefinition, VelcronColorStyling {
252
- type: "Icon";
257
+ type: "icon";
253
258
  icon: string;
254
259
  size?: VelcronBindableProp<number>;
255
260
  events?: VelcronOnPressEvent;
256
261
  }
257
262
  export interface VelcronMarkdownDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
258
- type: "Markdown";
263
+ type: "markdown";
259
264
  events: VelcronOnUpdatedEvent;
260
265
  }
261
266
  export interface VelcronDimensions {
262
- top: number;
263
- right: number;
264
- bottom: number;
265
- left: number;
267
+ top: number | string;
268
+ right: number | string;
269
+ bottom: number | string;
270
+ left: number | string;
266
271
  }
267
272
  export interface VelcronBorder extends VelcronDimensions {
268
273
  color: string;
269
274
  }
270
275
  export interface VelcronChipDefinition extends VelcronDefinition {
271
- type: "Chip";
276
+ type: "chip";
272
277
  text: string;
273
278
  icon?: VelcronIcon;
274
279
  disabled?: boolean;
@@ -0,0 +1,57 @@
1
+ import { VelcronDataTypes, VelcronImageRatios } from "@omnia/fx-models";
2
+ export interface VelcronPropertyEditor<TSettings = any> {
3
+ name?: string;
4
+ type: BuiltInPropertyEditorType | string;
5
+ settings?: TSettings;
6
+ mapToStateProperty: string;
7
+ dataType?: VelcronDataTypes;
8
+ component?: unknown;
9
+ }
10
+ export type BuiltInPropertyEditorType = "text" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image";
11
+ export declare enum BuiltInPropertyEditorTypes {
12
+ text = "text",
13
+ slider = "slider",
14
+ switch = "switch",
15
+ alignment = "alignment",
16
+ color = "color",
17
+ markdown = "markdown",
18
+ icon = "icon",
19
+ image = "image"
20
+ }
21
+ export interface VelcronSliderPropertyEditorSettings {
22
+ min: number;
23
+ max: number;
24
+ step: number;
25
+ }
26
+ export interface VelcronSliderPropertyEditor extends VelcronPropertyEditor<VelcronSliderPropertyEditorSettings> {
27
+ type: "slider";
28
+ }
29
+ export interface VelcronTextPropertyEditor extends VelcronPropertyEditor<any> {
30
+ type: "text";
31
+ }
32
+ export interface VelcronSwitchPropertyEditor extends VelcronPropertyEditor<any> {
33
+ type: "switch";
34
+ }
35
+ export interface VelcronAlignmentPropertyEditor extends VelcronPropertyEditor<any> {
36
+ type: "alignment";
37
+ }
38
+ export interface VelcronColorPropertyEditor extends VelcronPropertyEditor<any> {
39
+ type: "color";
40
+ }
41
+ export interface VelcronIconPropertyEditor extends VelcronPropertyEditor<any> {
42
+ type: "icon";
43
+ }
44
+ export interface VelcronMarkdownPropertyEditor extends VelcronPropertyEditor<any> {
45
+ type: "markdown";
46
+ }
47
+ export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
48
+ type: "image";
49
+ }
50
+ export interface VelcronContentState {
51
+ caption: string;
52
+ main: string;
53
+ }
54
+ export interface VelcronImageState {
55
+ url: string;
56
+ ratio: VelcronImageRatios;
57
+ }
@@ -4,3 +4,4 @@ export * from "./VelcronEvents";
4
4
  export * from "./VelcronTypes";
5
5
  export * from "./Enums";
6
6
  export * from "./VelcronUnitProvider";
7
+ export * from "./VelcronPropertyEditorDefinitions";
@@ -117,8 +117,8 @@ declare const _default: {
117
117
  } & {
118
118
  activator?: () => VNodeChild;
119
119
  };
120
- readonly "onUpdate:modelValue"?: (value: boolean) => any;
121
120
  readonly modelValue?: boolean;
121
+ readonly "onUpdate:modelValue"?: (value: boolean) => any;
122
122
  readonly "v-model"?: boolean;
123
123
  onSave?: (appDefinition: VelcronAppDefinition<object>) => any;
124
124
  };
@@ -643,8 +643,8 @@ declare const _default: {
643
643
  } & {
644
644
  activator?: () => VNodeChild;
645
645
  };
646
- "onUpdate:modelValue"?: (value: boolean) => any;
647
646
  modelValue?: boolean;
647
+ "onUpdate:modelValue"?: (value: boolean) => any;
648
648
  "v-model"?: boolean;
649
649
  }>, "onSave"> & {
650
650
  onSave?: (appDefinition: VelcronAppDefinition<object>) => any;
@@ -1,4 +1,4 @@
1
- import { FontAwesomeIcon, MaterialIcon } from "@omnia/fx-models";
1
+ import { FontAwesomeIcon, MaterialIcon, VelcronPropertyEditor } from "@omnia/fx-models";
2
2
  import { VelcronDataTypes } from "../../core/models/Enums";
3
3
  import { VelcroncomponentArrayType, VelcronPrimitiveType } from "../../core/models/VelcronTypes";
4
4
  import { VelcronDescriptorTypes } from "./Enums";
@@ -18,20 +18,6 @@ export interface VelcronSubComponentDescriptor extends VelcronDescriptor {
18
18
  properties?: Array<VelcronComponentPropertyDescriptor | VelcronComponentArrayPropertyDescriptor>;
19
19
  events?: Array<VelcronComponentEventDescriptor>;
20
20
  }
21
- export interface VelcronPropertyEditor<TSettings = any> {
22
- name: string;
23
- component: unknown;
24
- settings?: TSettings;
25
- }
26
- export interface VelcronPropertyEditorReference<TSettings = undefined> {
27
- type: string;
28
- settings?: TSettings;
29
- }
30
- export interface VelcronDefinitionEditableProperty {
31
- name: string;
32
- mapToStateProperty: string;
33
- editor: VelcronPropertyEditorReference<any> | VelcronPropertyEditor<any>;
34
- }
35
21
  export interface VelcronComponentPropertyDescriptor {
36
22
  name: string;
37
23
  type: VelcronDataTypes;
@@ -28,6 +28,7 @@ import wc937eab372066440fa95551ac8cba45d7 from './ux/filterengine/components/ren
28
28
  import wc7813f37afbf34cb085a2ef74e71e20fa from './ux/filterengine/components/renderer/PropertyDropdownRenderer';
29
29
  import wc373cd0c180af441ca9f973b1da4de7f9 from './ux/filterengine/components/renderer/PropertyListRenderer';
30
30
  import wc46a6c15c2a0e446fbef9770274409366 from './ux/filterpicker/FilterPicker';
31
+ import wcc587659a68194582be3c393240709785 from './ux/hub/HubChat';
31
32
  import wca7608d8c42184cbb994910dc06c464a1 from './ux/identities/IdentityRenderer';
32
33
  import wc01c6a5e974334f06a390c9af5a7689d0 from './ux/identities/components/shared/IdentitySyncPropertyBindingSetup';
33
34
  import wcc2a811dfd3774d15862abb2f6a435a5c from './ux/identities/components/shared/IdentitySyncRuleSetup';
@@ -208,7 +209,7 @@ import wcce1c0a7d513e45ee86564ec4235e712d from './ux/velcron/blocks/content/Cont
208
209
  import wc80bd5b0978ea40439001d3d409236382 from './ux/velcron/blocks/velcron/VelcronBlock';
209
210
  import wce8526e8ed3f74e848e0dd747fd4d376d from './ux/velcron/blocks/velcron/VelcronBlockSettings';
210
211
  import wcb197c5e805cc4d6bb3d012e258560b31 from './ux/velcron/components/definitionpicker/DefinitionPicker';
211
- import wcdabd67ab338243858fe7d1ca24399995 from './ux/velcron/components/properties/VelcronProperties';
212
+ import wcdabd67ab338243858fe7d1ca24399995 from './ux/velcron/components/propertieseditor/VelcronPropertiesEditor';
212
213
  import wcdb625bea89b04f32a946efe7a887c7f2 from '../../fx-sp/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertySettings';
213
214
  import wcded30c240e6c4688955867472a8d0a02 from '../../fx-sp/internal-do-not-import-from-here/ux/filterengine/components/settings/TaxonomyPropertyDefaultValueInput';
214
215
  import wcf5cf0b4975644d688124880ae533869e from './ux/layoutcanvas/editor/settings/backgroundsettings/BackgroundSettings';
@@ -274,6 +275,7 @@ declare global {
274
275
  "omfx-filterengine-property-dropdown": typeof wc7813f37afbf34cb085a2ef74e71e20fa.propsDefinition & VueComponentBaseProps;
275
276
  "omfx-filterengine-property-list": typeof wc373cd0c180af441ca9f973b1da4de7f9.propsDefinition & VueComponentBaseProps;
276
277
  "omfx-filter-picker": typeof wc46a6c15c2a0e446fbef9770274409366.propsDefinition & VueComponentBaseProps;
278
+ "omfx-hub-chat": typeof wcc587659a68194582be3c393240709785.propsDefinition & VueComponentBaseProps;
277
279
  "omfx-identity-renderer": typeof wca7608d8c42184cbb994910dc06c464a1.propsDefinition & VueComponentBaseProps;
278
280
  "omfx-identity-sync-property-binding-setup": typeof wc01c6a5e974334f06a390c9af5a7689d0.propsDefinition & VueComponentBaseProps;
279
281
  "omfx-identity-sync-rule-setup": typeof wcc2a811dfd3774d15862abb2f6a435a5c.propsDefinition & VueComponentBaseProps;
@@ -454,7 +456,7 @@ declare global {
454
456
  "omfx-velcron-block": typeof wc80bd5b0978ea40439001d3d409236382.propsDefinition & VueComponentBaseProps;
455
457
  "omfx-velcron-block-settings": typeof wce8526e8ed3f74e848e0dd747fd4d376d.propsDefinition & VueComponentBaseProps;
456
458
  "omfx-velcron-definition-picker": typeof wcb197c5e805cc4d6bb3d012e258560b31.propsDefinition & VueComponentBaseProps;
457
- "omfx-velcron-properties": typeof wcdabd67ab338243858fe7d1ca24399995.propsDefinition & VueComponentBaseProps;
459
+ "omfx-velcron-properties-editor": typeof wcdabd67ab338243858fe7d1ca24399995.propsDefinition & VueComponentBaseProps;
458
460
  "omfx-filterengine-taxonomy-propertysettings": typeof wcdb625bea89b04f32a946efe7a887c7f2.propsDefinition & VueComponentBaseProps;
459
461
  "omfx-filterengine-taxonomy-defaultvalue-input": typeof wcded30c240e6c4688955867472a8d0a02.propsDefinition & VueComponentBaseProps;
460
462
  "omfx-layout-background-settings": typeof wcf5cf0b4975644d688124880ae533869e.propsDefinition & VueComponentBaseProps;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.60-vnext",
4
+ "version": "8.0.61-vnext",
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,13 +20,13 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.60-vnext",
23
+ "@omnia/fx-models": "8.0.61-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
27
27
  "vue-virtual-scroller": "1.0.0-rc.2",
28
28
  "splitpanes": "2.4.1",
29
- "vuetify": "3.3.6",
29
+ "vuetify": "3.3.10",
30
30
  "vue": "3.3.4",
31
31
  "tslib": "2.5.0",
32
32
  "typescript": "5.0.4",
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Card_Image_Top_Blog: VelcronDefinitionRegistration<object>;
@@ -1,3 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Card_News_Image_Left: VelcronDefinitionRegistration<object>;
3
- export declare const Card_News_Image_Right: VelcronDefinitionRegistration<object>;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Card_News_Image_Top: VelcronDefinitionRegistration<object>;
@@ -1,3 +0,0 @@
1
- export * from "./Image_top";
2
- export * from "./News_Image_Top";
3
- export * from "./News_Image_Small";
@@ -1,3 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Content_Image_Left: VelcronDefinitionRegistration<object>;
3
- export declare const Content_Image_Right: VelcronDefinitionRegistration<object>;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Content_Text_Quote: VelcronDefinitionRegistration<object>;
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const Content_Section_Text_Only: VelcronDefinitionRegistration<object>;
@@ -1,4 +0,0 @@
1
- export * from "./Image_text";
2
- export * from "./Text_only";
3
- export * from "./Image";
4
- export * from "./Text_Quote";
@@ -1,2 +0,0 @@
1
- import { VelcronDefinitionRegistration } from "@omnia/fx-models";
2
- export declare const PageHeaderDefinition_Large_Header: VelcronDefinitionRegistration<object>;
@@ -1 +0,0 @@
1
- export * from "./useVelcronDefinitionTemplates";
@@ -1,28 +0,0 @@
1
- export declare function useVelcronDefinitionTemplates(): {
2
- headers: {
3
- block: {
4
- icon_left: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
5
- icon_right: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
6
- };
7
- page: {
8
- large: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
9
- };
10
- };
11
- content: {
12
- text: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
13
- text_quote: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
14
- image_left: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
15
- image_right: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
16
- image_withCaption: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
17
- };
18
- general: {};
19
- cards: {
20
- image_top: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
21
- news: {
22
- image_top: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
23
- image_left: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
24
- image_right: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
25
- image_top_person: import("@omnia/fx-models").VelcronDefinitionRegistration<object>;
26
- };
27
- };
28
- };
@@ -1,41 +0,0 @@
1
- import { ColorSchema, ColorSchemas, ThemeDefinitionV2, Guid, BluePrintDefinitions } from "@omnia/fx-models";
2
- export declare function useThemeDefinitions(): {
3
- editor: {
4
- readonly dark: ThemeDefinitionV2;
5
- readonly light: ThemeDefinitionV2;
6
- };
7
- documentation: {
8
- readonly dark: ThemeDefinitionV2;
9
- };
10
- componentPreview: {
11
- readonly dark: ThemeDefinitionV2;
12
- readonly darkMini: ThemeDefinitionV2;
13
- };
14
- readonly darkKnight: ThemeDefinitionV2;
15
- readonly black: ThemeDefinitionV2;
16
- readonly bumbleBee: ThemeDefinitionV2;
17
- readonly cyberPunk: ThemeDefinitionV2;
18
- readonly coffe: ThemeDefinitionV2;
19
- readonly light: ThemeDefinitionV2;
20
- readonly dark: ThemeDefinitionV2;
21
- createNew: (primary: string | ColorSchema, secondary: string | ColorSchema, accent1: string | ColorSchema, accent2: string | ColorSchema, accent3: string | ColorSchema, neutral: string | ColorSchema, background: string | ColorSchema, info: string | ColorSchema, error: string | ColorSchema, name: string, dark: boolean, id: Guid, blueprints: BluePrintDefinitions) => ThemeDefinitionInstance;
22
- };
23
- export declare class ThemeDefinitionInstance implements ThemeDefinitionV2 {
24
- id: Guid;
25
- colors: ColorSchemas;
26
- blueprints: BluePrintDefinitions;
27
- dark: boolean;
28
- name: string;
29
- constructor(primary: string | ColorSchema, secondary: string | ColorSchema, accent1: string | ColorSchema, accent2: string | ColorSchema, accent3: string | ColorSchema, neutral: string | ColorSchema, background: string | ColorSchema, info: string | ColorSchema, error: string | ColorSchema, name: string, dark: boolean, id: Guid, blueprints: BluePrintDefinitions);
30
- }
31
- export declare function darkKnightDefinition(): ThemeDefinitionInstance;
32
- export declare function componentPreviewDefinition(mini: boolean): ThemeDefinitionInstance;
33
- export declare function documentationDefinition(): ThemeDefinitionInstance;
34
- export declare function darkEditorDefinition(): ThemeDefinitionInstance;
35
- export declare function lightEditorDefinition(): ThemeDefinitionInstance;
36
- export declare function blackDefinition(): ThemeDefinitionInstance;
37
- export declare function bumbleBeeDefinition(): ThemeDefinitionInstance;
38
- export declare function cyberPunkDefinition(): ThemeDefinitionInstance;
39
- export declare function coffeDefinition(): ThemeDefinitionInstance;
40
- export declare function lightThemeDefinition(): ThemeDefinitionInstance;
41
- export declare function darkThemeDefinition(): ThemeDefinitionInstance;
@@ -1,4 +0,0 @@
1
- export * from "./Colors";
2
- export * from "./TypographyTypes";
3
- export * from "./Blueprints";
4
- export * from "./ThemeDefinitions";
@@ -1 +0,0 @@
1
- export declare const useVelcronColorPropertyEditor: (settings?: undefined) => import("../../../../editor/models").VelcronPropertyEditor<any>;
@@ -1,6 +0,0 @@
1
- export interface VelcronSliderPropertyEditorSettings {
2
- step: number;
3
- min: number;
4
- max: number;
5
- }
6
- export declare const useVelcronSliderPropertyEditor: (settings?: VelcronSliderPropertyEditorSettings) => import("../../../../editor/models").VelcronPropertyEditor<any>;
@@ -1 +0,0 @@
1
- export declare const useVelcronSwitchPropertyEditor: (settings?: undefined) => import("../../../../editor/models").VelcronPropertyEditor<any>;
@@ -1 +0,0 @@
1
- export declare const useVelcronTextPropertyEditor: (settings?: undefined) => import("../../../../editor/models").VelcronPropertyEditor<any>;
@@ -1,86 +0,0 @@
1
- export declare function defineVelcronPropertyEditorProps<TModel, TSettings = undefined>(): {
2
- props: {
3
- label: {
4
- type: import("vue").PropType<string>;
5
- } & {
6
- type: import("vue").PropType<string>;
7
- };
8
- require(): import("../../../../DefineVueTypings").DefinePropRequire<"label", string, {}>;
9
- defaultValue(value?: string): import("../../../../DefineVueTypings").DefinePropDefaultValue<"label", string, {}, false>;
10
- doc$(description?: string): import("../../../../DefineVueTypings").DefinePropDoc<"label", string, {}>;
11
- settings: {
12
- type: import("vue").PropType<TSettings>;
13
- } & {
14
- type: import("vue").PropType<TSettings>;
15
- };
16
- "onUpdate:modelValue": {
17
- type: import("vue").PropType<(value: TModel) => any>;
18
- };
19
- "v-model": {
20
- type: import("vue").PropType<TModel>;
21
- required: false;
22
- };
23
- modelValue: {
24
- type: import("vue").PropType<TModel>;
25
- required: false;
26
- };
27
- name<TName extends string>(n?: TName): { [key in import("../../../../DefineVueTypings").VModelEmitsInJsxElement<TName>]: {
28
- type: import("vue").PropType<(value: TModel) => any>;
29
- }; } & { [key_1 in import("../../../../DefineVueTypings").VModelKeyNameInJsxElement<TName>]: {
30
- type: import("vue").PropType<TModel>;
31
- required: false;
32
- }; } & { [key_2 in import("../../../../DefineVueTypings").VModelKeyNameInProps<TName>]: {
33
- type: import("vue").PropType<TModel>;
34
- required: false;
35
- }; } & {
36
- require(): import("../../../../DefineVueTypings").DefinePropModelRequire<TName, TModel, {
37
- "onUpdate:modelValue": {
38
- type: import("vue").PropType<(value: TModel) => any>;
39
- };
40
- } & {
41
- "v-model": {
42
- type: import("vue").PropType<TModel>;
43
- required: false;
44
- };
45
- } & {
46
- modelValue: {
47
- type: import("vue").PropType<TModel>;
48
- required: false;
49
- };
50
- }>;
51
- defaultValue(value?: TModel): import("../../../../DefineVueTypings").DefinePropModelDefaultValue<TName, TModel, {
52
- "onUpdate:modelValue": {
53
- type: import("vue").PropType<(value: TModel) => any>;
54
- };
55
- } & {
56
- "v-model": {
57
- type: import("vue").PropType<TModel>;
58
- required: false;
59
- };
60
- } & {
61
- modelValue: {
62
- type: import("vue").PropType<TModel>;
63
- required: false;
64
- };
65
- }, false>;
66
- doc$(description?: string): import("../../../../DefineVueTypings").DefinePropModelDoc<TName, TModel, {
67
- "onUpdate:modelValue": {
68
- type: import("vue").PropType<(value: TModel) => any>;
69
- };
70
- } & {
71
- "v-model": {
72
- type: import("vue").PropType<TModel>;
73
- required: false;
74
- };
75
- } & {
76
- modelValue: {
77
- type: import("vue").PropType<TModel>;
78
- required: false;
79
- };
80
- }>;
81
- };
82
- };
83
- emits: {
84
- "update:modelValue": (value: TModel) => boolean;
85
- };
86
- };