@omnia/fx 8.0.129-dev → 8.0.131-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 (293) hide show
  1. package/internal-do-not-import-from-here/core/index.d.ts +1 -1
  2. package/internal-do-not-import-from-here/core/messaging/BuiltInTopics.d.ts +1 -1
  3. package/internal-do-not-import-from-here/core/messaging/index.d.ts +1 -1
  4. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  5. package/internal-do-not-import-from-here/runtime/core/ManifestResourceLoader.d.ts +1 -1
  6. package/internal-do-not-import-from-here/services/identities/GroupService.d.ts +1 -0
  7. package/internal-do-not-import-from-here/ux/blueprintpickers/{backgroundstylepicker → backgroundstyle}/BackgroundStyleEditor.d.ts +2 -2
  8. package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker/ChromeBlueprintsPicker.css.d.ts → blueprintTemplate/BlueprintsTemplatePicker.css.d.ts} +1 -1
  9. package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker/ChromeBlueprintsPicker.d.ts → blueprintTemplate/BlueprintsTemplatePicker.d.ts} +120 -98
  10. package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/ChromeBlueprintsViewer.d.ts +2 -2
  11. package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/ChromePicker.d.ts +105 -105
  12. package/internal-do-not-import-from-here/ux/blueprintpickers/iconstylepicker/IconStylePicker.d.ts +2 -2
  13. package/internal-do-not-import-from-here/ux/blueprintpickers/stylepicker/StylePicker.d.ts +10 -10
  14. package/internal-do-not-import-from-here/ux/blueprintpickers/textstylepicker/TextStylePicker.d.ts +2 -2
  15. package/internal-do-not-import-from-here/ux/blueprintpickers/typography/TypographyBlueprintsViewer.css.d.ts +4 -0
  16. package/internal-do-not-import-from-here/ux/blueprintpickers/typography/TypographyBlueprintsViewer.d.ts +76 -0
  17. package/internal-do-not-import-from-here/ux/borderpicker/BorderPicker.d.ts +2 -2
  18. package/internal-do-not-import-from-here/ux/colorpickerV2/ColorPicker.d.ts +10 -10
  19. package/internal-do-not-import-from-here/ux/colorschemapicker/ColorSchemaPicker.d.ts +101 -101
  20. package/internal-do-not-import-from-here/ux/confirmdialog/ConfirmDialog.d.ts +1 -1
  21. package/internal-do-not-import-from-here/ux/datetimepicker/DateTimePicker.d.ts +1 -1
  22. package/internal-do-not-import-from-here/ux/datetimezonepicker/DateTimeZonePicker.d.ts +1 -1
  23. package/internal-do-not-import-from-here/ux/dialog/Dialog.d.ts +1 -1
  24. package/internal-do-not-import-from-here/ux/docs/services/DocsService.d.ts +1 -1
  25. package/internal-do-not-import-from-here/ux/enterpriseproperties/edit/datafield/DataFieldEdit.d.ts +1 -1
  26. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +1 -1
  27. package/internal-do-not-import-from-here/ux/fileuploader/FileUploader.d.ts +1 -1
  28. package/internal-do-not-import-from-here/ux/fillpicker/FillPicker.d.ts +2 -2
  29. package/internal-do-not-import-from-here/ux/iconpicker/IconPicker.d.ts +1 -1
  30. package/internal-do-not-import-from-here/ux/identities/components/shared/IdentitySyncRuleSetup.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPicker.d.ts +1 -1
  32. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerButton.d.ts +1 -1
  33. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerDialog.d.ts +1 -1
  34. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerField.d.ts +1 -1
  35. package/internal-do-not-import-from-here/ux/identitypicker/IdentityPickerInlineField.d.ts +1 -1
  36. package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +1 -1
  37. package/internal-do-not-import-from-here/ux/journey/use/UseBlade.d.ts +1 -1
  38. package/internal-do-not-import-from-here/ux/languagepicker/LanguagePicker.d.ts +1 -1
  39. package/internal-do-not-import-from-here/ux/multilingualinput/MultilingualInput.d.ts +1 -1
  40. package/internal-do-not-import-from-here/ux/multitextinput/MultiTextInput.d.ts +3 -3
  41. package/internal-do-not-import-from-here/ux/oxide/alert/Alert.d.ts +9 -9
  42. package/internal-do-not-import-from-here/ux/oxide/appbar/Appbar.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/oxide/checkbox/Checkbox.d.ts +1 -1
  45. package/internal-do-not-import-from-here/ux/oxide/chip/Chip.d.ts +1 -1
  46. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.css.d.ts +3870 -2946
  47. package/internal-do-not-import-from-here/ux/oxide/datatable/DataTable.d.ts +7586 -5738
  48. package/internal-do-not-import-from-here/ux/oxide/datepicker/DatePicker.d.ts +1 -1
  49. package/internal-do-not-import-from-here/ux/oxide/icon/Icon.d.ts +2 -2
  50. package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +1 -1
  51. package/internal-do-not-import-from-here/ux/oxide/main/Main.d.ts +1 -1
  52. package/internal-do-not-import-from-here/ux/oxide/pagination/Pagination.d.ts +1 -1
  53. package/internal-do-not-import-from-here/ux/oxide/radio/RadioGroup.d.ts +1 -1
  54. package/internal-do-not-import-from-here/ux/oxide/rating/Rating.d.ts +1 -1
  55. package/internal-do-not-import-from-here/ux/oxide/select/Select.d.ts +7589 -5741
  56. package/internal-do-not-import-from-here/ux/oxide/switch/Switch.d.ts +1 -1
  57. package/internal-do-not-import-from-here/ux/oxide/tab/Tab.d.ts +1 -1
  58. package/internal-do-not-import-from-here/ux/oxide/text/Text.d.ts +1 -1
  59. package/internal-do-not-import-from-here/ux/oxide/textarea/TextArea.d.ts +1 -1
  60. package/internal-do-not-import-from-here/ux/oxide/textfield/TextField.d.ts +1 -1
  61. package/internal-do-not-import-from-here/ux/permissioninput/PermissionInput.d.ts +1 -1
  62. package/internal-do-not-import-from-here/ux/permissioninput/TenantAdminPermissionInput.d.ts +1 -1
  63. package/internal-do-not-import-from-here/ux/properties/models/PropertyApi.d.ts +1 -1
  64. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyInput.d.ts +1 -1
  65. package/internal-do-not-import-from-here/ux/properties/property-picker/PropertyPicker.d.ts +1 -1
  66. package/internal-do-not-import-from-here/ux/richtexteditor/RichTextEditor.d.ts +1 -1
  67. package/internal-do-not-import-from-here/ux/social/PeopleTagging.d.ts +1 -1
  68. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/{chrome → components}/store/ChromeEditorStore.d.ts +3 -9
  69. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/store/ComponentEditorStore.d.ts +2 -0
  70. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/colorschemas/store/ColorSchemaEditorStore.d.ts +15 -15
  71. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/ButtonTemplateEdit.d.ts +16 -0
  72. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/ButtonTemplates.d.ts +22 -0
  73. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/TabTemplateEdit.d.ts +16 -0
  74. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/blades/TabTemplates.d.ts +22 -0
  75. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/templates/store/TemplateEditorStore.d.ts +156 -0
  76. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/blades/EditThemeBlade.d.ts +4 -83
  77. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/blades/ViewThemeBlade.d.ts +16 -0
  78. package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/themes/store/ThemeEditorStore.d.ts +55 -0
  79. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/themes/ThemeDefinitions.d.ts +1 -1
  80. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/BlueprintsTypography.d.ts +1 -1
  81. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/themes/ThemeDefinitions.d.ts +1 -1
  82. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/shared.d.ts +1 -0
  83. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/BlueprintsTypography.d.ts +3 -2
  84. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/themes/ThemeDefinitions.d.ts +1 -1
  85. package/internal-do-not-import-from-here/ux/theming-v2/designkits/index.d.ts +2 -0
  86. package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/BlueprintsTemplates.d.ts +25 -17
  87. package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/ThemeDefinitionInstance.d.ts +12 -5
  88. package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/TypographyBlueprints.d.ts +0 -4
  89. package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/index.d.ts +4 -6
  90. package/internal-do-not-import-from-here/ux/theming-v2/store/BlueprintTemplatesStore.d.ts +64 -86
  91. package/internal-do-not-import-from-here/ux/theming-v2/store/ChromeBlueprintStore.d.ts +3847 -2928
  92. package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaDefinitionStore.d.ts +7 -7
  93. package/internal-do-not-import-from-here/ux/theming-v2/store/ColorSchemaStore.d.ts +3858 -2939
  94. package/internal-do-not-import-from-here/ux/theming-v2/store/ComponentBlueprintStore.d.ts +3847 -2928
  95. package/internal-do-not-import-from-here/ux/theming-v2/store/SpacingBlueprintStore.d.ts +3847 -2928
  96. package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeContextStore.d.ts +102 -57
  97. package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeDefinitionStoreV2.d.ts +12 -9
  98. package/internal-do-not-import-from-here/ux/theming-v2/store/ThemeStoreV2.d.ts +10 -5
  99. package/internal-do-not-import-from-here/ux/theming-v2/store/TypographyBlueprintStore.d.ts +3845 -2926
  100. package/internal-do-not-import-from-here/ux/theming-v2/styling/UseStyling.d.ts +11 -41597
  101. package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Blueprints.d.ts +12 -12
  102. package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/Typography.d.ts +1 -1
  103. package/internal-do-not-import-from-here/ux/theming-v2/styling/styles/index.d.ts +2 -2
  104. package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeEditor.d.ts +7 -3
  105. package/internal-do-not-import-from-here/ux/theming-v2/themepicker/ThemeViewer.d.ts +68 -0
  106. package/internal-do-not-import-from-here/ux/theming-v2/themeprovider/ThemeProvider.d.ts +11 -11
  107. package/internal-do-not-import-from-here/ux/timeperiodpicker/TimePeriodPicker.d.ts +1 -1
  108. package/internal-do-not-import-from-here/ux/urlinput/UrlInputLegacy.d.ts +1 -1
  109. package/internal-do-not-import-from-here/ux/use/UseColorSchemaSetup.d.ts +3870 -2946
  110. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +1 -0
  111. package/internal-do-not-import-from-here/ux/velcron/core/index.d.ts +1 -1
  112. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +1 -1
  113. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronColorSchema.d.ts +9 -6
  114. package/internal-do-not-import-from-here/ux/velcron/core/stores/VelcronTheming.d.ts +4 -1
  115. package/internal-do-not-import-from-here/ux/velcron/renderer/VelcronRenderer.d.ts +5 -5
  116. package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ColorSchemaEditor.d.ts +95 -95
  117. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts +7 -20
  118. package/internal-do-not-import-from-here/wctypings.d.ts +66 -42
  119. package/package.json +2 -2
  120. package/internal-do-not-import-from-here/shared/broadcasting/Broadcast.d.ts +0 -37
  121. package/internal-do-not-import-from-here/shared/broadcasting/InternalTopics.d.ts +0 -23
  122. package/internal-do-not-import-from-here/shared/broadcasting/index.d.ts +0 -1
  123. package/internal-do-not-import-from-here/shared/factory/DefineFactory.d.ts +0 -12
  124. package/internal-do-not-import-from-here/shared/factory/Inject.d.ts +0 -30
  125. package/internal-do-not-import-from-here/shared/factory/Injectable.d.ts +0 -4
  126. package/internal-do-not-import-from-here/shared/factory/ServiceContainer.d.ts +0 -45
  127. package/internal-do-not-import-from-here/shared/factory/index.d.ts +0 -4
  128. package/internal-do-not-import-from-here/shared/http/Http.d.ts +0 -141
  129. package/internal-do-not-import-from-here/shared/http/index.d.ts +0 -1
  130. package/internal-do-not-import-from-here/shared/index.d.ts +0 -12
  131. package/internal-do-not-import-from-here/shared/messaging/MessageBus.d.ts +0 -48
  132. package/internal-do-not-import-from-here/shared/messaging/MessageBusMediator.d.ts +0 -30
  133. package/internal-do-not-import-from-here/shared/messaging/index.d.ts +0 -2
  134. package/internal-do-not-import-from-here/shared/models/Broadcasting.d.ts +0 -25
  135. package/internal-do-not-import-from-here/shared/models/Broadcasting.js +0 -12
  136. package/internal-do-not-import-from-here/shared/models/DependencyInjection.d.ts +0 -19
  137. package/internal-do-not-import-from-here/shared/models/DependencyInjection.js +0 -9
  138. package/internal-do-not-import-from-here/shared/models/DynamicState.d.ts +0 -1
  139. package/internal-do-not-import-from-here/shared/models/DynamicState.js +0 -2
  140. package/internal-do-not-import-from-here/shared/models/Equals.d.ts +0 -3
  141. package/internal-do-not-import-from-here/shared/models/Equals.js +0 -44
  142. package/internal-do-not-import-from-here/shared/models/Future.d.ts +0 -60
  143. package/internal-do-not-import-from-here/shared/models/Future.js +0 -149
  144. package/internal-do-not-import-from-here/shared/models/Guid.d.ts +0 -25
  145. package/internal-do-not-import-from-here/shared/models/Guid.js +0 -80
  146. package/internal-do-not-import-from-here/shared/models/HttpCommon.d.ts +0 -41
  147. package/internal-do-not-import-from-here/shared/models/HttpCommon.js +0 -9
  148. package/internal-do-not-import-from-here/shared/models/Messaging.d.ts +0 -23
  149. package/internal-do-not-import-from-here/shared/models/Messaging.js +0 -2
  150. package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +0 -34
  151. package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.js +0 -2
  152. package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +0 -28
  153. package/internal-do-not-import-from-here/shared/models/Realtime.js +0 -19
  154. package/internal-do-not-import-from-here/shared/models/SharedConstants.d.ts +0 -5
  155. package/internal-do-not-import-from-here/shared/models/SharedConstants.js +0 -9
  156. package/internal-do-not-import-from-here/shared/models/StringExtensions.d.ts +0 -6
  157. package/internal-do-not-import-from-here/shared/models/StringExtensions.js +0 -3
  158. package/internal-do-not-import-from-here/shared/models/StronglyTypedId.d.ts +0 -3
  159. package/internal-do-not-import-from-here/shared/models/StronglyTypedId.js +0 -2
  160. package/internal-do-not-import-from-here/shared/models/Tenant.d.ts +0 -4
  161. package/internal-do-not-import-from-here/shared/models/Tenant.js +0 -2
  162. package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +0 -15
  163. package/internal-do-not-import-from-here/shared/models/Tokens.js +0 -2
  164. package/internal-do-not-import-from-here/shared/models/Topic.d.ts +0 -10
  165. package/internal-do-not-import-from-here/shared/models/Topic.js +0 -2
  166. package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +0 -14
  167. package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.js +0 -18
  168. package/internal-do-not-import-from-here/shared/models/Workers.d.ts +0 -29
  169. package/internal-do-not-import-from-here/shared/models/Workers.js +0 -8
  170. package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.d.ts +0 -13
  171. package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.js +0 -20
  172. package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +0 -75
  173. package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.js +0 -13
  174. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +0 -7
  175. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.js +0 -5
  176. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.d.ts +0 -14
  177. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.js +0 -15
  178. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.d.ts +0 -31
  179. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.js +0 -2
  180. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +0 -15
  181. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.js +0 -5
  182. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRendererLoadingReferences.d.ts +0 -8
  183. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRendererLoadingReferences.js +0 -2
  184. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySubscription.d.ts +0 -16
  185. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySubscription.js +0 -5
  186. package/internal-do-not-import-from-here/shared/models/hub/activities/ActorActivity.d.ts +0 -40
  187. package/internal-do-not-import-from-here/shared/models/hub/activities/ActorActivity.js +0 -17
  188. package/internal-do-not-import-from-here/shared/models/hub/activities/index.d.ts +0 -8
  189. package/internal-do-not-import-from-here/shared/models/hub/activities/index.js +0 -11
  190. package/internal-do-not-import-from-here/shared/models/hub/actors/Actor.d.ts +0 -21
  191. package/internal-do-not-import-from-here/shared/models/hub/actors/Actor.js +0 -10
  192. package/internal-do-not-import-from-here/shared/models/hub/actors/ExternalActorId.d.ts +0 -2
  193. package/internal-do-not-import-from-here/shared/models/hub/actors/ExternalActorId.js +0 -2
  194. package/internal-do-not-import-from-here/shared/models/hub/actors/index.d.ts +0 -2
  195. package/internal-do-not-import-from-here/shared/models/hub/actors/index.js +0 -5
  196. package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.d.ts +0 -3
  197. package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.js +0 -5
  198. package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +0 -4
  199. package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.js +0 -5
  200. package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.d.ts +0 -2
  201. package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.js +0 -5
  202. package/internal-do-not-import-from-here/shared/models/hub/index.d.ts +0 -7
  203. package/internal-do-not-import-from-here/shared/models/hub/index.js +0 -10
  204. package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.d.ts +0 -10
  205. package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.js +0 -2
  206. package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.d.ts +0 -5
  207. package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.js +0 -2
  208. package/internal-do-not-import-from-here/shared/models/hub/social/index.d.ts +0 -2
  209. package/internal-do-not-import-from-here/shared/models/hub/social/index.js +0 -5
  210. package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.d.ts +0 -10
  211. package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.js +0 -19
  212. package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.d.ts +0 -3
  213. package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.js +0 -7
  214. package/internal-do-not-import-from-here/shared/models/hub/targeting/index.d.ts +0 -1
  215. package/internal-do-not-import-from-here/shared/models/hub/targeting/index.js +0 -4
  216. package/internal-do-not-import-from-here/shared/models/index.d.ts +0 -21
  217. package/internal-do-not-import-from-here/shared/models/index.js +0 -25
  218. package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +0 -116
  219. package/internal-do-not-import-from-here/shared/models/theming/Blueprints.js +0 -12
  220. package/internal-do-not-import-from-here/shared/models/theming/Chrome.d.ts +0 -16
  221. package/internal-do-not-import-from-here/shared/models/theming/Chrome.js +0 -2
  222. package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.d.ts +0 -2
  223. package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.js +0 -38
  224. package/internal-do-not-import-from-here/shared/models/theming/SharedColorMethods.d.ts +0 -1
  225. package/internal-do-not-import-from-here/shared/models/theming/SharedColorMethods.js +0 -45
  226. package/internal-do-not-import-from-here/shared/models/theming/Spacing.d.ts +0 -22
  227. package/internal-do-not-import-from-here/shared/models/theming/Spacing.js +0 -11
  228. package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +0 -107
  229. package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.js +0 -28
  230. package/internal-do-not-import-from-here/shared/models/theming/Typography.d.ts +0 -59
  231. package/internal-do-not-import-from-here/shared/models/theming/Typography.js +0 -17
  232. package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +0 -9
  233. package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +0 -99
  234. package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +0 -8
  235. package/internal-do-not-import-from-here/shared/models/theming/index.js +0 -12
  236. package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +0 -87
  237. package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.js +0 -2
  238. package/internal-do-not-import-from-here/shared/models/velcron/VelcronEvents.d.ts +0 -22
  239. package/internal-do-not-import-from-here/shared/models/velcron/VelcronEvents.js +0 -2
  240. package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.d.ts +0 -20
  241. package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.js +0 -5
  242. package/internal-do-not-import-from-here/shared/models/velcron/index.d.ts +0 -3
  243. package/internal-do-not-import-from-here/shared/models/velcron/index.js +0 -6
  244. package/internal-do-not-import-from-here/shared/services/ActivityService.d.ts +0 -27
  245. package/internal-do-not-import-from-here/shared/services/ActivitySubscriptionService.d.ts +0 -15
  246. package/internal-do-not-import-from-here/shared/services/DefineService.d.ts +0 -6
  247. package/internal-do-not-import-from-here/shared/services/RealtimeService.d.ts +0 -8
  248. package/internal-do-not-import-from-here/shared/services/index.d.ts +0 -4
  249. package/internal-do-not-import-from-here/shared/utils/index.d.ts +0 -4
  250. package/internal-do-not-import-from-here/shared/workers/Leader.d.ts +0 -6
  251. package/internal-do-not-import-from-here/shared/workers/WorkerProxy.d.ts +0 -11
  252. package/internal-do-not-import-from-here/shared/workers/index.d.ts +0 -2
  253. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorManager.d.ts +0 -7
  254. package/internal-do-not-import-from-here/ux/theming-v2/designkits/core/ColorSchemaManager.d.ts +0 -12
  255. /package/internal-do-not-import-from-here/ux/blueprintpickers/{backgroundstylepicker → backgroundstyle}/docs/ExampleComponents.d.ts +0 -0
  256. /package/internal-do-not-import-from-here/ux/blueprintpickers/{backgroundstylepicker → backgroundstyle}/docs/SampleComponent.d.ts +0 -0
  257. /package/internal-do-not-import-from-here/ux/blueprintpickers/{backgroundstylepicker → backgroundstyle}/docs/index.d.ts +0 -0
  258. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/ButtonBlueprintsViewer.d.ts +0 -0
  259. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/ButtonStyleEditor.d.ts +0 -0
  260. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/ButtonStylePicker.css.d.ts +0 -0
  261. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/ButtonStylePicker.d.ts +0 -0
  262. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/docs/ExampleComponents.d.ts +0 -0
  263. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/docs/SampleComponent.d.ts +0 -0
  264. /package/internal-do-not-import-from-here/ux/blueprintpickers/{buttonstylepicker → buttonstyle}/docs/index.d.ts +0 -0
  265. /package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/ChromeEditor.d.ts +0 -0
  266. /package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/ChromePicker.css.d.ts +0 -0
  267. /package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/ChromeViewer.d.ts +0 -0
  268. /package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/docs/ExampleComponents.d.ts +0 -0
  269. /package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/docs/SampleComponent.d.ts +0 -0
  270. /package/internal-do-not-import-from-here/ux/blueprintpickers/{chromepicker → chrome}/docs/index.d.ts +0 -0
  271. /package/internal-do-not-import-from-here/ux/blueprintpickers/spacingpicker/{SpacingPreview.d.ts → SpacingViewer.d.ts} +0 -0
  272. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/TabBlueprintsViewer.d.ts +0 -0
  273. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/TabStyleEditor.d.ts +0 -0
  274. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/TabStylePicker.css.d.ts +0 -0
  275. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/TabStylePicker.d.ts +0 -0
  276. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/docs/ExampleComponents.d.ts +0 -0
  277. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/docs/SampleComponent.d.ts +0 -0
  278. /package/internal-do-not-import-from-here/ux/blueprintpickers/{tabstylepicker → tabs}/docs/index.d.ts +0 -0
  279. /package/internal-do-not-import-from-here/ux/blueprintpickers/{typographypicker → typography}/TypographyEditor.d.ts +0 -0
  280. /package/internal-do-not-import-from-here/ux/blueprintpickers/{typographypicker → typography}/TypographyPicker.css.d.ts +0 -0
  281. /package/internal-do-not-import-from-here/ux/blueprintpickers/{typographypicker → typography}/TypographyPicker.d.ts +0 -0
  282. /package/internal-do-not-import-from-here/ux/blueprintpickers/{typographypicker → typography}/docs/ExampleComponents.d.ts +0 -0
  283. /package/internal-do-not-import-from-here/ux/blueprintpickers/{typographypicker → typography}/docs/SampleComponent.d.ts +0 -0
  284. /package/internal-do-not-import-from-here/ux/blueprintpickers/{typographypicker → typography}/docs/index.d.ts +0 -0
  285. /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/{chrome/blades/ChromeBlueprintsBlade.d.ts → components/blades/BlockBlade.d.ts} +0 -0
  286. /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/{chrome/blades/EditChromeBlueprintBlade.d.ts → components/blades/BlockBladeEdit.d.ts} +0 -0
  287. /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/blueprints/components/blades/{EditBlueprint.d.ts → EditBlueprints.d.ts} +0 -0
  288. /package/internal-do-not-import-from-here/ux/theming-v2/admin/blades/{blueprints/chrome/ChromeJourney.d.ts → templates/TemplatesJourney.d.ts} +0 -0
  289. /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/ButtonStyleBlueprints.d.ts +0 -0
  290. /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/ChromeStyleBlueprints.d.ts +0 -0
  291. /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/Colors.d.ts +0 -0
  292. /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/SpacingBlueprint.d.ts +0 -0
  293. /package/internal-do-not-import-from-here/ux/theming-v2/designkits/{core → shared}/TabsStyleBlueprints.d.ts +0 -0
@@ -1,30 +0,0 @@
1
- import { Topic, TopicSettings, IMessageBusSubscriptionHandler, IMessageBusTopicSubscription, IMessageBusTopicPublishSubscriber, IMessageBusTopicPublication, TopicCreatedFunc } from "../models";
2
- export declare class SubscriptionHandler implements IMessageBusSubscriptionHandler {
3
- private unSubcribeHandlers;
4
- constructor();
5
- /**
6
- * Unsubscribe to the related subscription(s)
7
- * and/or any subscriptions added using add method)
8
- * */
9
- unsubscribe: () => void;
10
- /**
11
- * Adds another unsubscribe handler, all will be unsubscribed to if calling unsubscribe
12
- * @param unSubscriptionHandler
13
- */
14
- add: (unSubscriptionHandler: IMessageBusSubscriptionHandler) => void;
15
- }
16
- export declare class MessageBusExposeOnlySubscription<T> implements IMessageBusTopicSubscription<T> {
17
- subscribe: (fn: (obj: T) => void) => IMessageBusSubscriptionHandler;
18
- constructor(publishSubscriber: IMessageBusTopicPublishSubscriber<T>);
19
- }
20
- export declare class MessageBusExposeOnlyPublication<T> implements IMessageBusTopicPublication<T> {
21
- publish: (msg: T) => void;
22
- constructor(publishSubscriber: IMessageBusTopicPublishSubscriber<T>);
23
- }
24
- export declare class MessageBusTopicMediator<T> implements IMessageBusTopicPublishSubscriber<T> {
25
- private _topic;
26
- constructor(topic: Topic<T>, settings?: TopicSettings, onTopicCreated?: TopicCreatedFunc<T>);
27
- publish: (msg: T) => void;
28
- subscribe: (fn: (obj: T) => void) => IMessageBusSubscriptionHandler;
29
- clearMessageCache: () => number;
30
- }
@@ -1,2 +0,0 @@
1
- export * from "./MessageBus";
2
- export * from "./MessageBusMediator";
@@ -1,25 +0,0 @@
1
- import { Topic } from "./Topic";
2
- export declare enum BroadcastTopicScopes {
3
- localUi = "localUi",
4
- localWorker = "localWorker",
5
- localAll = "localAll",
6
- globalUi = "globalUi",
7
- globalWorker = "globalWorker",
8
- globalAll = "globalAll"
9
- }
10
- export interface BroadcastTopic<TMessage> extends Topic<TMessage> {
11
- scope: BroadcastTopicScopes;
12
- }
13
- export interface BroadcastInvokeTopic<TMessage, TReturnValue> extends Topic<TMessage> {
14
- scope: BroadcastTopicScopes;
15
- }
16
- export interface BroadcastMessage<TMessage> extends BroadcastTopic<TMessage> {
17
- message: TMessage;
18
- }
19
- export interface BroadcastInvokeMessage<TMessage, TReturnValue> extends BroadcastInvokeTopic<TMessage, TReturnValue> {
20
- messageId: string;
21
- message: TMessage;
22
- type: "request" | "response";
23
- error?: string;
24
- response?: TReturnValue;
25
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BroadcastTopicScopes = void 0;
4
- var BroadcastTopicScopes;
5
- (function (BroadcastTopicScopes) {
6
- BroadcastTopicScopes["localUi"] = "localUi";
7
- BroadcastTopicScopes["localWorker"] = "localWorker";
8
- BroadcastTopicScopes["localAll"] = "localAll";
9
- BroadcastTopicScopes["globalUi"] = "globalUi";
10
- BroadcastTopicScopes["globalWorker"] = "globalWorker";
11
- BroadcastTopicScopes["globalAll"] = "globalAll";
12
- })(BroadcastTopicScopes || (exports.BroadcastTopicScopes = BroadcastTopicScopes = {}));
@@ -1,19 +0,0 @@
1
- export interface ActivationOptions {
2
- lifetime?: InstanceLifetimes;
3
- onStartup?: (type: any) => void;
4
- createFactory?: (classType: any) => any;
5
- onInstanceCreated?: (instance: any) => void;
6
- onBeforeInstanceCreated?: () => void;
7
- onDisposing?: (instance: any) => void;
8
- }
9
- export interface TypeDefinition extends ActivationOptions {
10
- type: any;
11
- }
12
- export declare enum InstanceLifetimes {
13
- Transient = 0,
14
- Singleton = 1,
15
- Scoped = 2
16
- }
17
- export interface IDisposable {
18
- onDisposing: () => void;
19
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceLifetimes = void 0;
4
- var InstanceLifetimes;
5
- (function (InstanceLifetimes) {
6
- InstanceLifetimes[InstanceLifetimes["Transient"] = 0] = "Transient";
7
- InstanceLifetimes[InstanceLifetimes["Singleton"] = 1] = "Singleton";
8
- InstanceLifetimes[InstanceLifetimes["Scoped"] = 2] = "Scoped";
9
- })(InstanceLifetimes || (exports.InstanceLifetimes = InstanceLifetimes = {}));
@@ -1 +0,0 @@
1
- export type DynamicState = object;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface IEquals<T extends Object> {
2
- equals: T;
3
- }
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //have issue with guidvalue can't auto cast to string if have more extension method here.
4
- // declare global {
5
- // interface String {
6
- // equals?: {
7
- // component<TElement = typeof omfx>(cb: (elements: TElement) => any): boolean;
8
- // }
9
- // }
10
- // }
11
- const _equalsObject = {};
12
- const _equalsString = {};
13
- // only add extension methods when running in browser, not in node.js
14
- if (globalThis.omnia) {
15
- Object.defineProperty(String.prototype, "equals", {
16
- get() {
17
- _equalsString["_this_value"] = this;
18
- return _equalsString;
19
- },
20
- configurable: false,
21
- enumerable: false
22
- });
23
- Object.defineProperty(Object.prototype, "equals", {
24
- value: _equalsObject,
25
- writable: true,
26
- configurable: false,
27
- enumerable: false
28
- });
29
- // Object.defineProperty(String.prototype["equals"], "element", {
30
- // value: function () {
31
- // return function (cb: (elements) => any) {
32
- // const elementName = cb(new Proxy({}, {
33
- // get(target, key: string) {
34
- // return key;
35
- // }
36
- // }) as any);
37
- // return this.toString().replace(/-/g, "").toLowerCase().indexof(elementName.toLowerCase()) > -1;
38
- // };
39
- // },
40
- // writable: false,
41
- // configurable: false,
42
- // enumerable: false
43
- // });
44
- }
@@ -1,60 +0,0 @@
1
- export declare class Future<T> extends Promise<T> {
2
- resolve: (value: T) => void;
3
- reject: (reason: any) => void;
4
- resolving: boolean;
5
- private _resolved;
6
- private _rejected;
7
- private onAborted;
8
- constructor(executor: (resolve: (value: T) => void, reject: (reason?: any) => void, onAborted: (cb: (reason?: any) => void) => void) => void);
9
- /**
10
- * Handles success / rejection from Promise and returns the result as an object.
11
- * If the promise is rejected, the error will be in the error property.
12
- * No need to try/catch the promise when using this method.
13
- *
14
- * @return {*} {Future<{ success?: T, error?: Error; }>}
15
- * @memberof Future
16
- */
17
- tryCatch(): Future<{
18
- success: T;
19
- error: Error;
20
- }>;
21
- /**
22
- * Aborts the request
23
- *
24
- * @param {*} [reason]
25
- * @memberof Future
26
- */
27
- abort(reason?: any): void;
28
- /**
29
- * Creates a Future that resolves after a specified delay.
30
- *
31
- * @param {number} ms - The time to delay in milliseconds.
32
- * @returns {Future<void>} A Future that resolves after the specified delay.
33
- */
34
- static delay(ms: number): Future<void>;
35
- /**
36
- * Creates a Promise that is resolved with an array of results when all of the provided Promises
37
- * resolve, or rejected when any Promise is rejected.
38
- * @param values An array of Promises.
39
- * @returns A new Promise.
40
- */
41
- static all<T extends readonly unknown[] | []>(values: T): Promise<{
42
- -readonly [P in keyof T]: Awaited<T[P]>;
43
- }>;
44
- get resolved(): boolean;
45
- get rejected(): boolean;
46
- static get [Symbol.species](): PromiseConstructor;
47
- get [Symbol.toStringTag](): string;
48
- /**
49
- * Creates a new instance of the Future class with a specific return value type.
50
- *
51
- * @template TReturnValue - The type of the return value for the Future instance.
52
- * @returns {Future<TReturnValue>} - A new instance of the Future class.
53
- */
54
- static new<TReturnValue>(): Future<TReturnValue>;
55
- }
56
- export declare class ResponsePromise<T> extends Promise<T> {
57
- cancelCb: (() => void);
58
- constructor(executor: any);
59
- cancel(): void;
60
- }
@@ -1,149 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponsePromise = exports.Future = void 0;
4
- class Future extends Promise {
5
- constructor(executor) {
6
- let resolveLocal;
7
- let rejectLocal;
8
- // Cant have function here since this is undefined in setTimeout
9
- // eslint-disable-next-line func-style
10
- const onAborted = (cb) => {
11
- setTimeout(() => {
12
- this.onAborted = cb;
13
- });
14
- };
15
- function exec(resolve, reject) {
16
- // assign to local to prevent error assignbefore call super;
17
- resolveLocal = resolve;
18
- rejectLocal = reject;
19
- }
20
- super(exec);
21
- this.resolving = false;
22
- this._resolved = false;
23
- this._rejected = false;
24
- this.resolve = (value) => {
25
- this.resolving = false;
26
- this._resolved = true;
27
- resolveLocal(value);
28
- };
29
- this.reject = (reason) => {
30
- this.resolving = false;
31
- this._rejected = true;
32
- rejectLocal(reason);
33
- };
34
- if (executor) {
35
- executor(this.resolve, this.reject, onAborted);
36
- }
37
- }
38
- /**
39
- * Handles success / rejection from Promise and returns the result as an object.
40
- * If the promise is rejected, the error will be in the error property.
41
- * No need to try/catch the promise when using this method.
42
- *
43
- * @return {*} {Future<{ success?: T, error?: Error; }>}
44
- * @memberof Future
45
- */
46
- //tryCatch(): Future<{ success?: T, error?: Error; }> {
47
- tryCatch() {
48
- return new Future(async (resolve) => {
49
- try {
50
- const data = await this;
51
- resolve({ success: data, error: undefined });
52
- }
53
- catch (error) {
54
- resolve({ success: undefined, error });
55
- }
56
- });
57
- }
58
- /**
59
- * Aborts the request
60
- *
61
- * @param {*} [reason]
62
- * @memberof Future
63
- */
64
- abort(reason) {
65
- if (this.onAborted) {
66
- this.onAborted(reason);
67
- }
68
- else {
69
- throw "Failed calling abort() => The future has no onAborted callback or you tried to call abort immediately after the future was created.";
70
- }
71
- }
72
- /**
73
- * Creates a Future that resolves after a specified delay.
74
- *
75
- * @param {number} ms - The time to delay in milliseconds.
76
- * @returns {Future<void>} A Future that resolves after the specified delay.
77
- */
78
- static delay(ms) {
79
- return new Future((resolve) => {
80
- setTimeout(() => {
81
- resolve();
82
- }, ms);
83
- });
84
- }
85
- /**
86
- * Creates a Promise that is resolved with an array of results when all of the provided Promises
87
- * resolve, or rejected when any Promise is rejected.
88
- * @param values An array of Promises.
89
- * @returns A new Promise.
90
- */
91
- static all(values) {
92
- // have issue with Promise.all not working when promises is mixin Future and promise
93
- // so implement Future.all to make a wrapper promise to Future to resolve that issue.
94
- const promises = values.map(p => p instanceof Future ? new Promise((resolve, reject) => p.then(resolve, reject)) : p);
95
- return Promise.all(promises);
96
- }
97
- get resolved() {
98
- return this._resolved;
99
- }
100
- get rejected() {
101
- return this._rejected;
102
- }
103
- static get [Symbol.species]() {
104
- return Promise;
105
- }
106
- get [Symbol.toStringTag]() {
107
- // return Object value to make vue can build get/set reactive.
108
- // return "Object";
109
- //<<vue3>> back to normal because vue 3 use native proxy.
110
- return "Future";
111
- }
112
- /**
113
- * Creates a new instance of the Future class with a specific return value type.
114
- *
115
- * @template TReturnValue - The type of the return value for the Future instance.
116
- * @returns {Future<TReturnValue>} - A new instance of the Future class.
117
- */
118
- static new() {
119
- return new Future(() => { });
120
- }
121
- }
122
- exports.Future = Future;
123
- // Future.prototype["promise_then"] = Promise.prototype.then;
124
- // Future.prototype["then"] = function (resolve, reject) {
125
- // return Future.prototype["promise_then"].apply(this, arguments);
126
- // };
127
- class ResponsePromise extends Promise {
128
- constructor(executor) {
129
- const onCancel = (cb) => {
130
- //using nextTick because we cant use "this" before super()
131
- setTimeout(() => {
132
- this.cancelCb = cb;
133
- });
134
- };
135
- const oExecutor = (resolve, reject) => {
136
- executor(resolve, reject, onCancel);
137
- };
138
- super(oExecutor);
139
- }
140
- cancel() {
141
- if (this.cancelCb) {
142
- this.cancelCb();
143
- }
144
- else {
145
- console.warn("onCancel not provided");
146
- }
147
- }
148
- }
149
- exports.ResponsePromise = ResponsePromise;
@@ -1,25 +0,0 @@
1
- import "./Equals";
2
- import { IEquals } from "./Equals";
3
- export interface GuidValue extends Partial<IEquals<{
4
- guid(value: GuidValue): boolean;
5
- }>> {
6
- toString: () => string;
7
- }
8
- /**
9
- * Class to create a guid
10
- */
11
- export declare class Guid implements GuidValue {
12
- private static _empty;
13
- private value;
14
- equals: {
15
- guid: (value: GuidValue) => boolean;
16
- };
17
- static newGuid(): GuidValue;
18
- static get empty(): GuidValue;
19
- static isValid(guid: string | GuidValue): boolean;
20
- constructor(guid: string);
21
- toString(): string;
22
- toJSON: () => string;
23
- valueOf(): string;
24
- }
25
- export declare function guid(value: string): GuidValue;
@@ -1,80 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.guid = exports.Guid = void 0;
4
- //export interface GuidValue {
5
- // :string;
6
- //}
7
- require("./Equals"); // ensure execute code in equals first
8
- // export interface GuidValue {
9
- // toString: () => string;
10
- // }
11
- /**
12
- * Class to create a guid
13
- */
14
- class Guid {
15
- static { this._empty = new Guid("00000000-0000-0000-0000-000000000000"); }
16
- static newGuid() {
17
- return new Guid("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {
18
- const r = Math.random() * 16 | 0;
19
- const v = (c == "x") ? r : (r & 0x3 | 0x8);
20
- return v.toString(16);
21
- }));
22
- }
23
- static get empty() {
24
- return this._empty;
25
- }
26
- static isValid(guid) {
27
- if (guid === undefined || guid === null) {
28
- return false;
29
- }
30
- const validRegex = /^[{]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}[}]?$/;
31
- return validRegex.test(guid.toString());
32
- }
33
- constructor(guid) {
34
- this.value = "";
35
- this.equals = {
36
- guid: (value) => {
37
- return this.toString() === value.toString();
38
- }
39
- };
40
- //We serialize as string value
41
- this.toJSON = () => {
42
- return this.value.toLowerCase();
43
- };
44
- if (guid) {
45
- if (Guid.isValid(guid)) {
46
- this.value = guid;
47
- }
48
- else {
49
- throw `The string '${guid}' is not a valid Guid`;
50
- }
51
- }
52
- }
53
- toString() {
54
- return this.value.toLowerCase();
55
- }
56
- valueOf() {
57
- return this.value.toLowerCase();
58
- }
59
- }
60
- exports.Guid = Guid;
61
- // only add extension methods when running in browser, not in node.js
62
- if (globalThis.omnia) {
63
- Object.defineProperty(String.prototype["equals"], "guid", {
64
- value: function (value) {
65
- return this["_this_value"].toString() === value.toString();
66
- },
67
- writable: false,
68
- configurable: false,
69
- enumerable: false
70
- });
71
- }
72
- // will make Guid class to static class to prevent new Guid instance later on
73
- // now expose new function to create guid
74
- function guid(value) {
75
- if (!Guid.isValid(value)) {
76
- throw `The string '${value}' is not a valid Guid`;
77
- }
78
- return value;
79
- }
80
- exports.guid = guid;
@@ -1,41 +0,0 @@
1
- export type HttpMethods = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
2
- export type HttpCacheOptions = "no-cache" | "reload" | "force-cache" | "only-if-cached";
3
- export type HttpCredentials = "include" | "omit" | "same-origin";
4
- export interface HttpInterceptOptions {
5
- beforeRequest?: (request: HttpConfig) => HttpConfig;
6
- afterRequest?: <T>(response: HttpResponse<T>, request: HttpConfig) => HttpResponse<T>;
7
- }
8
- export interface HttpConfig {
9
- baseUrl?: string;
10
- headers?: {
11
- [key: string]: string;
12
- };
13
- query?: {
14
- [key: string]: string;
15
- };
16
- cache?: HttpCacheOptions;
17
- interceptors?: HttpInterceptOptions;
18
- abortable?: boolean;
19
- credentials?: HttpCredentials;
20
- executeOnWorker?: boolean;
21
- }
22
- export interface HttpResponse<TData> {
23
- data?: TData;
24
- status: Number;
25
- statusText: String;
26
- ok: Boolean;
27
- }
28
- export interface ApiResponse<T> {
29
- data: T;
30
- errorMessage: string;
31
- success: boolean;
32
- responseCode: ApiResponseCodes | number;
33
- }
34
- export interface HttpHeaders {
35
- [key: string]: string;
36
- }
37
- export declare enum ApiResponseCodes {
38
- Success = 0,
39
- UnAuthorized = 1,
40
- Exception = 2
41
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApiResponseCodes = void 0;
4
- var ApiResponseCodes;
5
- (function (ApiResponseCodes) {
6
- ApiResponseCodes[ApiResponseCodes["Success"] = 0] = "Success";
7
- ApiResponseCodes[ApiResponseCodes["UnAuthorized"] = 1] = "UnAuthorized";
8
- ApiResponseCodes[ApiResponseCodes["Exception"] = 2] = "Exception";
9
- })(ApiResponseCodes || (exports.ApiResponseCodes = ApiResponseCodes = {}));
@@ -1,23 +0,0 @@
1
- export interface TopicCreatedFunc<T> {
2
- (created: IMessageBusTopicPublishSubscriber<T>): void;
3
- }
4
- export interface IMessageBusSubscriptionHandler {
5
- /**
6
- * Unsubscribe to the related subscription(s)
7
- * and/or any subscriptions added using add method)
8
- * */
9
- unsubscribe(): any;
10
- /**
11
- * Adds another unsubscribe handler, all will be unsubscribed to if calling unsubscribe
12
- * @param unSubscriptionHandler
13
- */
14
- add(unSubscriptionHandler: IMessageBusSubscriptionHandler): any;
15
- }
16
- export interface IMessageBusTopicSubscription<T> {
17
- subscribe: (fn: (obj: T) => void) => IMessageBusSubscriptionHandler;
18
- }
19
- export interface IMessageBusTopicPublication<T> {
20
- publish: (msg: T) => void;
21
- }
22
- export interface IMessageBusTopicPublishSubscriber<T> extends IMessageBusTopicSubscription<T>, IMessageBusTopicPublication<T> {
23
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,34 +0,0 @@
1
- import { OmniaToken } from "./Tokens";
2
- import { Guid, GuidValue } from "./Guid";
3
- import { TenantIdentifier } from "./Tenant";
4
- import { ActorId } from "./hub";
5
- export interface OmniaSharedBootstrapData {
6
- uiThreadId: GuidValue;
7
- workerThreadId: GuidValue;
8
- customDomain?: string;
9
- defaultDomain: string;
10
- routePrefixes: string[];
11
- language: string;
12
- /**
13
- * The tokenKey is only avilable if we are running ITP or Dev intent
14
- */
15
- tokenKey?: OmniaToken;
16
- tokenRef: GuidValue;
17
- identity: string;
18
- hubActorId?: ActorId;
19
- licenses: Array<Guid>;
20
- hubDev?: boolean;
21
- realtimeDevPort?: string;
22
- tenant: TenantIdentifier;
23
- servingMode?: boolean;
24
- serviceDnsMapping: OmniaServiceToDnsMapping;
25
- authDisabled?: boolean;
26
- analytics: OmniaAnalytics;
27
- }
28
- export interface OmniaAnalytics {
29
- paq: any[];
30
- enabled: boolean;
31
- }
32
- export interface OmniaServiceToDnsMapping {
33
- [serviceId: string]: string;
34
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,28 +0,0 @@
1
- import { GuidValue } from "./Guid";
2
- export declare abstract class RealtimeChannel {
3
- /**
4
- * Construct a unique channel id that can be targeted to users who are set to be in that channel on the client
5
- * @returns id
6
- */
7
- abstract getId(): string;
8
- }
9
- export declare abstract class RealtimeData<TRealtimeChannel extends RealtimeChannel, TRealtimeData> {
10
- private _channel;
11
- private _value;
12
- get channel(): TRealtimeChannel;
13
- get value(): TRealtimeData;
14
- abstract getId(): GuidValue;
15
- constructor(channel: TRealtimeChannel, value?: TRealtimeData);
16
- }
17
- export type RealtimeChannelUpdateTypes = "activate" | "deactivate";
18
- export interface RealtimeChannelUpdateMessage extends RealtimChannelMessage {
19
- threadId: GuidValue;
20
- type: RealtimeChannelUpdateTypes;
21
- }
22
- export interface RealtimeSendMessage extends RealtimChannelMessage {
23
- dataId: GuidValue;
24
- data: any;
25
- }
26
- export interface RealtimChannelMessage {
27
- channelId: string;
28
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RealtimeData = exports.RealtimeChannel = void 0;
4
- class RealtimeChannel {
5
- }
6
- exports.RealtimeChannel = RealtimeChannel;
7
- class RealtimeData {
8
- get channel() {
9
- return this._channel;
10
- }
11
- get value() {
12
- return this._value;
13
- }
14
- constructor(channel, value) {
15
- this._channel = channel;
16
- this._value = value;
17
- }
18
- }
19
- exports.RealtimeData = RealtimeData;
@@ -1,5 +0,0 @@
1
- export declare const SharedConstants: {
2
- broadcast: {
3
- channelName: string;
4
- };
5
- };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SharedConstants = void 0;
4
- //TODO: Consider moving Constants from fx models here and merge them
5
- exports.SharedConstants = {
6
- broadcast: {
7
- channelName: "omnia-fx-broadcast"
8
- },
9
- };
@@ -1,6 +0,0 @@
1
- declare global {
2
- interface StringConstructor {
3
- empty: string;
4
- }
5
- }
6
- export {};