@itwin/appui-abstract 4.0.0-dev.52 → 4.0.0-dev.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (327) hide show
  1. package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts +30 -30
  2. package/lib/cjs/appui-abstract/BaseUiItemsProvider.d.ts.map +1 -1
  3. package/lib/cjs/appui-abstract/BaseUiItemsProvider.js +79 -79
  4. package/lib/cjs/appui-abstract/BaseUiItemsProvider.js.map +1 -1
  5. package/lib/cjs/appui-abstract/UiAdmin.d.ts +221 -221
  6. package/lib/cjs/appui-abstract/UiAdmin.js +224 -224
  7. package/lib/cjs/appui-abstract/UiAdmin.js.map +1 -1
  8. package/lib/cjs/appui-abstract/UiItemsManager.d.ts +113 -113
  9. package/lib/cjs/appui-abstract/UiItemsManager.d.ts.map +1 -1
  10. package/lib/cjs/appui-abstract/UiItemsManager.js +193 -193
  11. package/lib/cjs/appui-abstract/UiItemsManager.js.map +1 -1
  12. package/lib/cjs/appui-abstract/UiItemsProvider.d.ts +29 -29
  13. package/lib/cjs/appui-abstract/UiItemsProvider.js +9 -9
  14. package/lib/cjs/appui-abstract/UiItemsProvider.js.map +1 -1
  15. package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts +91 -91
  16. package/lib/cjs/appui-abstract/backstage/BackstageItem.d.ts.map +1 -1
  17. package/lib/cjs/appui-abstract/backstage/BackstageItem.js +70 -70
  18. package/lib/cjs/appui-abstract/backstage/BackstageItem.js.map +1 -1
  19. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.d.ts +38 -38
  20. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js +133 -133
  21. package/lib/cjs/appui-abstract/backstage/BackstageItemsManager.js.map +1 -1
  22. package/lib/cjs/appui-abstract/common/KeyboardKey.d.ts +51 -51
  23. package/lib/cjs/appui-abstract/common/KeyboardKey.js +63 -63
  24. package/lib/cjs/appui-abstract/common/KeyboardKey.js.map +1 -1
  25. package/lib/cjs/appui-abstract/content/ContentLayoutProps.d.ts +62 -62
  26. package/lib/cjs/appui-abstract/content/ContentLayoutProps.js +9 -9
  27. package/lib/cjs/appui-abstract/content/ContentLayoutProps.js.map +1 -1
  28. package/lib/cjs/appui-abstract/content/StandardContentLayouts.d.ts +19 -19
  29. package/lib/cjs/appui-abstract/content/StandardContentLayouts.js +108 -108
  30. package/lib/cjs/appui-abstract/content/StandardContentLayouts.js.map +1 -1
  31. package/lib/cjs/appui-abstract/dialogs/DialogItem.d.ts +76 -76
  32. package/lib/cjs/appui-abstract/dialogs/DialogItem.js +67 -67
  33. package/lib/cjs/appui-abstract/dialogs/DialogItem.js.map +1 -1
  34. package/lib/cjs/appui-abstract/dialogs/UiDataProvider.d.ts +55 -55
  35. package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js +66 -66
  36. package/lib/cjs/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
  37. package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.d.ts +97 -97
  38. package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js +175 -175
  39. package/lib/cjs/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
  40. package/lib/cjs/appui-abstract/items/AbstractItemProps.d.ts +53 -53
  41. package/lib/cjs/appui-abstract/items/AbstractItemProps.d.ts.map +1 -1
  42. package/lib/cjs/appui-abstract/items/AbstractItemProps.js +9 -9
  43. package/lib/cjs/appui-abstract/items/AbstractItemProps.js.map +1 -1
  44. package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.d.ts +20 -20
  45. package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.js +9 -9
  46. package/lib/cjs/appui-abstract/items/AbstractMenuItemProps.js.map +1 -1
  47. package/lib/cjs/appui-abstract/items/AbstractToolbarProps.d.ts +13 -13
  48. package/lib/cjs/appui-abstract/items/AbstractToolbarProps.js +9 -9
  49. package/lib/cjs/appui-abstract/items/AbstractToolbarProps.js.map +1 -1
  50. package/lib/cjs/appui-abstract/items/BadgeType.d.ts +14 -14
  51. package/lib/cjs/appui-abstract/items/BadgeType.js +22 -22
  52. package/lib/cjs/appui-abstract/items/BadgeType.js.map +1 -1
  53. package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.d.ts +27 -27
  54. package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js +60 -60
  55. package/lib/cjs/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
  56. package/lib/cjs/appui-abstract/items/ConditionalStringValue.d.ts +29 -29
  57. package/lib/cjs/appui-abstract/items/ConditionalStringValue.js +62 -62
  58. package/lib/cjs/appui-abstract/items/ConditionalStringValue.js.map +1 -1
  59. package/lib/cjs/appui-abstract/items/ProvidedItem.d.ts +11 -11
  60. package/lib/cjs/appui-abstract/items/ProvidedItem.js +9 -9
  61. package/lib/cjs/appui-abstract/items/ProvidedItem.js.map +1 -1
  62. package/lib/cjs/appui-abstract/items/RelativePosition.d.ts +18 -18
  63. package/lib/cjs/appui-abstract/items/RelativePosition.js +26 -26
  64. package/lib/cjs/appui-abstract/items/RelativePosition.js.map +1 -1
  65. package/lib/cjs/appui-abstract/items/StageUsage.d.ts +16 -16
  66. package/lib/cjs/appui-abstract/items/StageUsage.js +24 -24
  67. package/lib/cjs/appui-abstract/items/StageUsage.js.map +1 -1
  68. package/lib/cjs/appui-abstract/notification/MessagePresenter.d.ts +42 -42
  69. package/lib/cjs/appui-abstract/notification/MessagePresenter.js +24 -24
  70. package/lib/cjs/appui-abstract/notification/MessagePresenter.js.map +1 -1
  71. package/lib/cjs/appui-abstract/notification/MessageSeverity.d.ts +15 -15
  72. package/lib/cjs/appui-abstract/notification/MessageSeverity.js +23 -23
  73. package/lib/cjs/appui-abstract/notification/MessageSeverity.js.map +1 -1
  74. package/lib/cjs/appui-abstract/properties/Description.d.ts +127 -127
  75. package/lib/cjs/appui-abstract/properties/Description.js +196 -196
  76. package/lib/cjs/appui-abstract/properties/Description.js.map +1 -1
  77. package/lib/cjs/appui-abstract/properties/EditorParams.d.ts +260 -260
  78. package/lib/cjs/appui-abstract/properties/EditorParams.d.ts.map +1 -1
  79. package/lib/cjs/appui-abstract/properties/EditorParams.js +106 -106
  80. package/lib/cjs/appui-abstract/properties/EditorParams.js.map +1 -1
  81. package/lib/cjs/appui-abstract/properties/PrimitiveTypes.d.ts +60 -60
  82. package/lib/cjs/appui-abstract/properties/PrimitiveTypes.js +9 -9
  83. package/lib/cjs/appui-abstract/properties/PrimitiveTypes.js.map +1 -1
  84. package/lib/cjs/appui-abstract/properties/Record.d.ts +57 -57
  85. package/lib/cjs/appui-abstract/properties/Record.js +78 -78
  86. package/lib/cjs/appui-abstract/properties/Record.js.map +1 -1
  87. package/lib/cjs/appui-abstract/properties/StandardEditorNames.d.ts +22 -22
  88. package/lib/cjs/appui-abstract/properties/StandardEditorNames.js +30 -30
  89. package/lib/cjs/appui-abstract/properties/StandardEditorNames.js.map +1 -1
  90. package/lib/cjs/appui-abstract/properties/StandardTypeNames.d.ts +30 -30
  91. package/lib/cjs/appui-abstract/properties/StandardTypeNames.js +39 -39
  92. package/lib/cjs/appui-abstract/properties/StandardTypeNames.js.map +1 -1
  93. package/lib/cjs/appui-abstract/properties/Value.d.ts +49 -49
  94. package/lib/cjs/appui-abstract/properties/Value.d.ts.map +1 -1
  95. package/lib/cjs/appui-abstract/properties/Value.js +20 -20
  96. package/lib/cjs/appui-abstract/properties/Value.js.map +1 -1
  97. package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.d.ts +22 -22
  98. package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js +48 -48
  99. package/lib/cjs/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
  100. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts +128 -128
  101. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.d.ts.map +1 -1
  102. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js +87 -87
  103. package/lib/cjs/appui-abstract/statusbar/StatusBarItem.js.map +1 -1
  104. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.d.ts +39 -39
  105. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js +135 -135
  106. package/lib/cjs/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -1
  107. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts +121 -121
  108. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
  109. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js +64 -64
  110. package/lib/cjs/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
  111. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.d.ts +45 -45
  112. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js +235 -235
  113. package/lib/cjs/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -1
  114. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.d.ts +29 -29
  115. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js +51 -51
  116. package/lib/cjs/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
  117. package/lib/cjs/appui-abstract/utils/PointProps.d.ts +10 -10
  118. package/lib/cjs/appui-abstract/utils/PointProps.js +9 -9
  119. package/lib/cjs/appui-abstract/utils/PointProps.js.map +1 -1
  120. package/lib/cjs/appui-abstract/utils/UiError.d.ts +12 -12
  121. package/lib/cjs/appui-abstract/utils/UiError.js +22 -22
  122. package/lib/cjs/appui-abstract/utils/UiError.js.map +1 -1
  123. package/lib/cjs/appui-abstract/utils/UiEvent.d.ts +9 -9
  124. package/lib/cjs/appui-abstract/utils/UiEvent.js +17 -17
  125. package/lib/cjs/appui-abstract/utils/UiEvent.js.map +1 -1
  126. package/lib/cjs/appui-abstract/utils/UiEventDispatcher.d.ts +46 -46
  127. package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js +131 -131
  128. package/lib/cjs/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
  129. package/lib/cjs/appui-abstract/utils/callbacks.d.ts +20 -20
  130. package/lib/cjs/appui-abstract/utils/callbacks.d.ts.map +1 -1
  131. package/lib/cjs/appui-abstract/utils/callbacks.js +9 -9
  132. package/lib/cjs/appui-abstract/utils/callbacks.js.map +1 -1
  133. package/lib/cjs/appui-abstract/utils/filter/charCode.d.ts +416 -416
  134. package/lib/cjs/appui-abstract/utils/filter/charCode.js +6 -6
  135. package/lib/cjs/appui-abstract/utils/filter/charCode.js.map +1 -1
  136. package/lib/cjs/appui-abstract/utils/filter/filters.d.ts +98 -98
  137. package/lib/cjs/appui-abstract/utils/filter/filters.d.ts.map +1 -1
  138. package/lib/cjs/appui-abstract/utils/filter/filters.js +709 -709
  139. package/lib/cjs/appui-abstract/utils/filter/filters.js.map +1 -1
  140. package/lib/cjs/appui-abstract/utils/filter/map.d.ts +59 -59
  141. package/lib/cjs/appui-abstract/utils/filter/map.js +402 -402
  142. package/lib/cjs/appui-abstract/utils/filter/map.js.map +1 -1
  143. package/lib/cjs/appui-abstract/utils/filter/strings.d.ts +20 -20
  144. package/lib/cjs/appui-abstract/utils/filter/strings.js +78 -78
  145. package/lib/cjs/appui-abstract/utils/filter/strings.js.map +1 -1
  146. package/lib/cjs/appui-abstract/utils/isLetter.d.ts +9 -9
  147. package/lib/cjs/appui-abstract/utils/isLetter.js +19 -19
  148. package/lib/cjs/appui-abstract/utils/isLetter.js.map +1 -1
  149. package/lib/cjs/appui-abstract/utils/misc.d.ts +11 -11
  150. package/lib/cjs/appui-abstract/utils/misc.js +36 -36
  151. package/lib/cjs/appui-abstract/utils/misc.js.map +1 -1
  152. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.d.ts +86 -86
  153. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js +9 -9
  154. package/lib/cjs/appui-abstract/widget/AbstractWidgetProps.js.map +1 -1
  155. package/lib/cjs/appui-abstract/widget/StagePanel.d.ts +36 -36
  156. package/lib/cjs/appui-abstract/widget/StagePanel.js +46 -46
  157. package/lib/cjs/appui-abstract/widget/StagePanel.js.map +1 -1
  158. package/lib/cjs/appui-abstract/widget/WidgetState.d.ts +19 -19
  159. package/lib/cjs/appui-abstract/widget/WidgetState.js +27 -27
  160. package/lib/cjs/appui-abstract/widget/WidgetState.js.map +1 -1
  161. package/lib/cjs/appui-abstract.d.ts +103 -103
  162. package/lib/cjs/appui-abstract.js +123 -119
  163. package/lib/cjs/appui-abstract.js.map +1 -1
  164. package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts +30 -30
  165. package/lib/esm/appui-abstract/BaseUiItemsProvider.d.ts.map +1 -1
  166. package/lib/esm/appui-abstract/BaseUiItemsProvider.js +75 -75
  167. package/lib/esm/appui-abstract/BaseUiItemsProvider.js.map +1 -1
  168. package/lib/esm/appui-abstract/UiAdmin.d.ts +221 -221
  169. package/lib/esm/appui-abstract/UiAdmin.js +220 -219
  170. package/lib/esm/appui-abstract/UiAdmin.js.map +1 -1
  171. package/lib/esm/appui-abstract/UiItemsManager.d.ts +113 -113
  172. package/lib/esm/appui-abstract/UiItemsManager.d.ts.map +1 -1
  173. package/lib/esm/appui-abstract/UiItemsManager.js +190 -189
  174. package/lib/esm/appui-abstract/UiItemsManager.js.map +1 -1
  175. package/lib/esm/appui-abstract/UiItemsProvider.d.ts +29 -29
  176. package/lib/esm/appui-abstract/UiItemsProvider.js +8 -8
  177. package/lib/esm/appui-abstract/UiItemsProvider.js.map +1 -1
  178. package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts +91 -91
  179. package/lib/esm/appui-abstract/backstage/BackstageItem.d.ts.map +1 -1
  180. package/lib/esm/appui-abstract/backstage/BackstageItem.js +65 -64
  181. package/lib/esm/appui-abstract/backstage/BackstageItem.js.map +1 -1
  182. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.d.ts +38 -38
  183. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js +129 -129
  184. package/lib/esm/appui-abstract/backstage/BackstageItemsManager.js.map +1 -1
  185. package/lib/esm/appui-abstract/common/KeyboardKey.d.ts +51 -51
  186. package/lib/esm/appui-abstract/common/KeyboardKey.js +59 -59
  187. package/lib/esm/appui-abstract/common/KeyboardKey.js.map +1 -1
  188. package/lib/esm/appui-abstract/content/ContentLayoutProps.d.ts +62 -62
  189. package/lib/esm/appui-abstract/content/ContentLayoutProps.js +8 -8
  190. package/lib/esm/appui-abstract/content/ContentLayoutProps.js.map +1 -1
  191. package/lib/esm/appui-abstract/content/StandardContentLayouts.d.ts +19 -19
  192. package/lib/esm/appui-abstract/content/StandardContentLayouts.js +105 -104
  193. package/lib/esm/appui-abstract/content/StandardContentLayouts.js.map +1 -1
  194. package/lib/esm/appui-abstract/dialogs/DialogItem.d.ts +76 -76
  195. package/lib/esm/appui-abstract/dialogs/DialogItem.js +63 -63
  196. package/lib/esm/appui-abstract/dialogs/DialogItem.js.map +1 -1
  197. package/lib/esm/appui-abstract/dialogs/UiDataProvider.d.ts +55 -55
  198. package/lib/esm/appui-abstract/dialogs/UiDataProvider.js +61 -61
  199. package/lib/esm/appui-abstract/dialogs/UiDataProvider.js.map +1 -1
  200. package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.d.ts +97 -97
  201. package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js +171 -170
  202. package/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js.map +1 -1
  203. package/lib/esm/appui-abstract/items/AbstractItemProps.d.ts +53 -53
  204. package/lib/esm/appui-abstract/items/AbstractItemProps.d.ts.map +1 -1
  205. package/lib/esm/appui-abstract/items/AbstractItemProps.js +8 -8
  206. package/lib/esm/appui-abstract/items/AbstractItemProps.js.map +1 -1
  207. package/lib/esm/appui-abstract/items/AbstractMenuItemProps.d.ts +20 -20
  208. package/lib/esm/appui-abstract/items/AbstractMenuItemProps.js +8 -8
  209. package/lib/esm/appui-abstract/items/AbstractMenuItemProps.js.map +1 -1
  210. package/lib/esm/appui-abstract/items/AbstractToolbarProps.d.ts +13 -13
  211. package/lib/esm/appui-abstract/items/AbstractToolbarProps.js +8 -8
  212. package/lib/esm/appui-abstract/items/AbstractToolbarProps.js.map +1 -1
  213. package/lib/esm/appui-abstract/items/BadgeType.d.ts +14 -14
  214. package/lib/esm/appui-abstract/items/BadgeType.js +19 -19
  215. package/lib/esm/appui-abstract/items/BadgeType.js.map +1 -1
  216. package/lib/esm/appui-abstract/items/ConditionalBooleanValue.d.ts +27 -27
  217. package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js +56 -56
  218. package/lib/esm/appui-abstract/items/ConditionalBooleanValue.js.map +1 -1
  219. package/lib/esm/appui-abstract/items/ConditionalStringValue.d.ts +29 -29
  220. package/lib/esm/appui-abstract/items/ConditionalStringValue.js +58 -58
  221. package/lib/esm/appui-abstract/items/ConditionalStringValue.js.map +1 -1
  222. package/lib/esm/appui-abstract/items/ProvidedItem.d.ts +11 -11
  223. package/lib/esm/appui-abstract/items/ProvidedItem.js +8 -8
  224. package/lib/esm/appui-abstract/items/ProvidedItem.js.map +1 -1
  225. package/lib/esm/appui-abstract/items/RelativePosition.d.ts +18 -18
  226. package/lib/esm/appui-abstract/items/RelativePosition.js +23 -23
  227. package/lib/esm/appui-abstract/items/RelativePosition.js.map +1 -1
  228. package/lib/esm/appui-abstract/items/StageUsage.d.ts +16 -16
  229. package/lib/esm/appui-abstract/items/StageUsage.js +21 -21
  230. package/lib/esm/appui-abstract/items/StageUsage.js.map +1 -1
  231. package/lib/esm/appui-abstract/notification/MessagePresenter.d.ts +42 -42
  232. package/lib/esm/appui-abstract/notification/MessagePresenter.js +21 -21
  233. package/lib/esm/appui-abstract/notification/MessagePresenter.js.map +1 -1
  234. package/lib/esm/appui-abstract/notification/MessageSeverity.d.ts +15 -15
  235. package/lib/esm/appui-abstract/notification/MessageSeverity.js +20 -20
  236. package/lib/esm/appui-abstract/notification/MessageSeverity.js.map +1 -1
  237. package/lib/esm/appui-abstract/properties/Description.d.ts +127 -127
  238. package/lib/esm/appui-abstract/properties/Description.js +192 -192
  239. package/lib/esm/appui-abstract/properties/Description.js.map +1 -1
  240. package/lib/esm/appui-abstract/properties/EditorParams.d.ts +260 -260
  241. package/lib/esm/appui-abstract/properties/EditorParams.d.ts.map +1 -1
  242. package/lib/esm/appui-abstract/properties/EditorParams.js +97 -97
  243. package/lib/esm/appui-abstract/properties/EditorParams.js.map +1 -1
  244. package/lib/esm/appui-abstract/properties/PrimitiveTypes.d.ts +60 -60
  245. package/lib/esm/appui-abstract/properties/PrimitiveTypes.js +8 -8
  246. package/lib/esm/appui-abstract/properties/PrimitiveTypes.js.map +1 -1
  247. package/lib/esm/appui-abstract/properties/Record.d.ts +57 -57
  248. package/lib/esm/appui-abstract/properties/Record.js +74 -74
  249. package/lib/esm/appui-abstract/properties/Record.js.map +1 -1
  250. package/lib/esm/appui-abstract/properties/StandardEditorNames.d.ts +22 -22
  251. package/lib/esm/appui-abstract/properties/StandardEditorNames.js +27 -27
  252. package/lib/esm/appui-abstract/properties/StandardEditorNames.js.map +1 -1
  253. package/lib/esm/appui-abstract/properties/StandardTypeNames.d.ts +30 -30
  254. package/lib/esm/appui-abstract/properties/StandardTypeNames.js +36 -36
  255. package/lib/esm/appui-abstract/properties/StandardTypeNames.js.map +1 -1
  256. package/lib/esm/appui-abstract/properties/Value.d.ts +49 -49
  257. package/lib/esm/appui-abstract/properties/Value.d.ts.map +1 -1
  258. package/lib/esm/appui-abstract/properties/Value.js +17 -17
  259. package/lib/esm/appui-abstract/properties/Value.js.map +1 -1
  260. package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.d.ts +22 -22
  261. package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js +44 -44
  262. package/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js.map +1 -1
  263. package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts +128 -128
  264. package/lib/esm/appui-abstract/statusbar/StatusBarItem.d.ts.map +1 -1
  265. package/lib/esm/appui-abstract/statusbar/StatusBarItem.js +81 -80
  266. package/lib/esm/appui-abstract/statusbar/StatusBarItem.js.map +1 -1
  267. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.d.ts +39 -39
  268. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js +131 -131
  269. package/lib/esm/appui-abstract/statusbar/StatusBarItemsManager.js.map +1 -1
  270. package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts +121 -121
  271. package/lib/esm/appui-abstract/toolbars/ToolbarItem.d.ts.map +1 -1
  272. package/lib/esm/appui-abstract/toolbars/ToolbarItem.js +61 -60
  273. package/lib/esm/appui-abstract/toolbars/ToolbarItem.js.map +1 -1
  274. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.d.ts +45 -45
  275. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js +231 -231
  276. package/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js.map +1 -1
  277. package/lib/esm/appui-abstract/utils/IconSpecUtilities.d.ts +29 -29
  278. package/lib/esm/appui-abstract/utils/IconSpecUtilities.js +48 -47
  279. package/lib/esm/appui-abstract/utils/IconSpecUtilities.js.map +1 -1
  280. package/lib/esm/appui-abstract/utils/PointProps.d.ts +10 -10
  281. package/lib/esm/appui-abstract/utils/PointProps.js +8 -8
  282. package/lib/esm/appui-abstract/utils/PointProps.js.map +1 -1
  283. package/lib/esm/appui-abstract/utils/UiError.d.ts +12 -12
  284. package/lib/esm/appui-abstract/utils/UiError.js +18 -18
  285. package/lib/esm/appui-abstract/utils/UiError.js.map +1 -1
  286. package/lib/esm/appui-abstract/utils/UiEvent.d.ts +9 -9
  287. package/lib/esm/appui-abstract/utils/UiEvent.js +13 -13
  288. package/lib/esm/appui-abstract/utils/UiEvent.js.map +1 -1
  289. package/lib/esm/appui-abstract/utils/UiEventDispatcher.d.ts +46 -46
  290. package/lib/esm/appui-abstract/utils/UiEventDispatcher.js +126 -126
  291. package/lib/esm/appui-abstract/utils/UiEventDispatcher.js.map +1 -1
  292. package/lib/esm/appui-abstract/utils/callbacks.d.ts +20 -20
  293. package/lib/esm/appui-abstract/utils/callbacks.d.ts.map +1 -1
  294. package/lib/esm/appui-abstract/utils/callbacks.js +8 -8
  295. package/lib/esm/appui-abstract/utils/callbacks.js.map +1 -1
  296. package/lib/esm/appui-abstract/utils/filter/charCode.d.ts +416 -416
  297. package/lib/esm/appui-abstract/utils/filter/charCode.js +5 -5
  298. package/lib/esm/appui-abstract/utils/filter/charCode.js.map +1 -1
  299. package/lib/esm/appui-abstract/utils/filter/filters.d.ts +98 -98
  300. package/lib/esm/appui-abstract/utils/filter/filters.d.ts.map +1 -1
  301. package/lib/esm/appui-abstract/utils/filter/filters.js +694 -694
  302. package/lib/esm/appui-abstract/utils/filter/filters.js.map +1 -1
  303. package/lib/esm/appui-abstract/utils/filter/map.d.ts +59 -59
  304. package/lib/esm/appui-abstract/utils/filter/map.js +397 -397
  305. package/lib/esm/appui-abstract/utils/filter/map.js.map +1 -1
  306. package/lib/esm/appui-abstract/utils/filter/strings.d.ts +20 -20
  307. package/lib/esm/appui-abstract/utils/filter/strings.js +70 -70
  308. package/lib/esm/appui-abstract/utils/filter/strings.js.map +1 -1
  309. package/lib/esm/appui-abstract/utils/isLetter.d.ts +9 -9
  310. package/lib/esm/appui-abstract/utils/isLetter.js +15 -15
  311. package/lib/esm/appui-abstract/utils/isLetter.js.map +1 -1
  312. package/lib/esm/appui-abstract/utils/misc.d.ts +11 -11
  313. package/lib/esm/appui-abstract/utils/misc.js +31 -31
  314. package/lib/esm/appui-abstract/utils/misc.js.map +1 -1
  315. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.d.ts +86 -86
  316. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js +8 -8
  317. package/lib/esm/appui-abstract/widget/AbstractWidgetProps.js.map +1 -1
  318. package/lib/esm/appui-abstract/widget/StagePanel.d.ts +36 -36
  319. package/lib/esm/appui-abstract/widget/StagePanel.js +43 -43
  320. package/lib/esm/appui-abstract/widget/StagePanel.js.map +1 -1
  321. package/lib/esm/appui-abstract/widget/WidgetState.d.ts +19 -19
  322. package/lib/esm/appui-abstract/widget/WidgetState.js +24 -24
  323. package/lib/esm/appui-abstract/widget/WidgetState.js.map +1 -1
  324. package/lib/esm/appui-abstract.d.ts +103 -103
  325. package/lib/esm/appui-abstract.js +107 -107
  326. package/lib/esm/appui-abstract.js.map +1 -1
  327. package/package.json +6 -6
@@ -1,98 +1,98 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Properties
7
- */
8
- /** Alternate Data Formats that can be provide by javascript. Can be used by Date TypeConverter and TypeEditor.
9
- * @public
10
- */
11
- export var AlternateDateFormats;
12
- (function (AlternateDateFormats) {
13
- AlternateDateFormats[AlternateDateFormats["None"] = 0] = "None";
14
- // YYYY-MM-DD
15
- AlternateDateFormats[AlternateDateFormats["IsoShort"] = 1] = "IsoShort";
16
- // YYYY-MM-DDTHH:mm:ss.sssZ
17
- AlternateDateFormats[AlternateDateFormats["IsoDateTime"] = 2] = "IsoDateTime";
18
- // dd Mmm yyyy
19
- AlternateDateFormats[AlternateDateFormats["UtcShort"] = 3] = "UtcShort";
20
- // dd Mmm yyyy hh:mm:ss GMT
21
- AlternateDateFormats[AlternateDateFormats["UtcDateTime"] = 4] = "UtcDateTime";
22
- // Www, dd Mmm yyyy
23
- AlternateDateFormats[AlternateDateFormats["UtcShortWithDay"] = 5] = "UtcShortWithDay";
24
- // Www, dd Mmm yyyy hh:mm:ss GMT
25
- AlternateDateFormats[AlternateDateFormats["UtcDateTimeWithDay"] = 6] = "UtcDateTimeWithDay";
26
- })(AlternateDateFormats || (AlternateDateFormats = {}));
27
- /** Enum that defines supported time formats.
28
- * @public
29
- */
30
- export var TimeDisplay;
31
- (function (TimeDisplay) {
32
- // 12 hour with minutes and cycle(AM/PM)
33
- TimeDisplay["H12MC"] = "hh:mm aa";
34
- // 12 hour with minutes, seconds and cycle(AM/PM)
35
- TimeDisplay["H12MSC"] = "hh:mm:ss aa";
36
- // 24 hour with minutes
37
- TimeDisplay["H24M"] = "hh:mm";
38
- // 24 hour with minutes and seconds
39
- TimeDisplay["H24MS"] = "hh:mm:ss";
40
- })(TimeDisplay || (TimeDisplay = {}));
41
- /**
42
- * Enum for Property Editor Param Types
43
- * @public
44
- */
45
- export var PropertyEditorParamTypes;
46
- (function (PropertyEditorParamTypes) {
47
- PropertyEditorParamTypes["ButtonGroupData"] = "UiAbstract-ButtonGroupData";
48
- PropertyEditorParamTypes["CheckBoxIcons"] = "UiAbstract-CheckBoxIcons";
49
- PropertyEditorParamTypes["Icon"] = "UiAbstract-Icon";
50
- PropertyEditorParamTypes["InputEditorSize"] = "UiAbstract-InputEditorSize";
51
- PropertyEditorParamTypes["ColorData"] = "UiAbstract-ColorData";
52
- PropertyEditorParamTypes["CustomFormattedNumber"] = "UiAbstract-CustomFormattedNumber";
53
- PropertyEditorParamTypes["IconListData"] = "UiAbstract-IconListData";
54
- // JSON = "UiAbstract-JSON",
55
- PropertyEditorParamTypes["MultilineText"] = "UiAbstract-MultilineText";
56
- PropertyEditorParamTypes["Range"] = "UiAbstract-Range";
57
- PropertyEditorParamTypes["Slider"] = "UiAbstract-Slider";
58
- // SuppressUnitLabel = "UiAbstract-SuppressUnitLabel",
59
- PropertyEditorParamTypes["SuppressEditorLabel"] = "UiAbstract-SuppressEditorLabel";
60
- PropertyEditorParamTypes["CheckBoxImages"] = "UiAbstract-CheckBoxImages";
61
- })(PropertyEditorParamTypes || (PropertyEditorParamTypes = {}));
62
- /** InputEditorSizeParams type guard.
63
- * @public
64
- */
65
- export const isInputEditorSizeParams = (item) => {
66
- return item.type === PropertyEditorParamTypes.InputEditorSize;
67
- };
68
- /** ColorEditorParams type guard.
69
- * @public
70
- */
71
- export const isColorEditorParams = (item) => {
72
- return item.type === PropertyEditorParamTypes.ColorData;
73
- };
74
- /** IconListEditorParams type guard.
75
- * @public
76
- */
77
- export const isIconListEditorParams = (item) => {
78
- return item.type === PropertyEditorParamTypes.IconListData;
79
- };
80
- /** ButtonGroupEditorParams type guard.
81
- * @public
82
- */
83
- export const isButtonGroupEditorParams = (item) => {
84
- return item.type === PropertyEditorParamTypes.ButtonGroupData;
85
- };
86
- /** SuppressLabelEditorParams type guard.
87
- * @public
88
- */
89
- export const isSuppressLabelEditorParams = (item) => {
90
- return item.type === PropertyEditorParamTypes.SuppressEditorLabel;
91
- };
92
- /** CustomFormattedNumberParams type guard.
93
- * @public
94
- */
95
- export const isCustomFormattedNumberParams = (item) => {
96
- return item.type === PropertyEditorParamTypes.CustomFormattedNumber;
97
- };
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Properties
7
+ */
8
+ /** Alternate Data Formats that can be provide by javascript. Can be used by Date TypeConverter and TypeEditor.
9
+ * @public
10
+ */
11
+ export var AlternateDateFormats;
12
+ (function (AlternateDateFormats) {
13
+ AlternateDateFormats[AlternateDateFormats["None"] = 0] = "None";
14
+ // YYYY-MM-DD
15
+ AlternateDateFormats[AlternateDateFormats["IsoShort"] = 1] = "IsoShort";
16
+ // YYYY-MM-DDTHH:mm:ss.sssZ
17
+ AlternateDateFormats[AlternateDateFormats["IsoDateTime"] = 2] = "IsoDateTime";
18
+ // dd Mmm yyyy
19
+ AlternateDateFormats[AlternateDateFormats["UtcShort"] = 3] = "UtcShort";
20
+ // dd Mmm yyyy hh:mm:ss GMT
21
+ AlternateDateFormats[AlternateDateFormats["UtcDateTime"] = 4] = "UtcDateTime";
22
+ // Www, dd Mmm yyyy
23
+ AlternateDateFormats[AlternateDateFormats["UtcShortWithDay"] = 5] = "UtcShortWithDay";
24
+ // Www, dd Mmm yyyy hh:mm:ss GMT
25
+ AlternateDateFormats[AlternateDateFormats["UtcDateTimeWithDay"] = 6] = "UtcDateTimeWithDay";
26
+ })(AlternateDateFormats || (AlternateDateFormats = {}));
27
+ /** Enum that defines supported time formats.
28
+ * @public
29
+ */
30
+ export var TimeDisplay;
31
+ (function (TimeDisplay) {
32
+ // 12 hour with minutes and cycle(AM/PM)
33
+ TimeDisplay["H12MC"] = "hh:mm aa";
34
+ // 12 hour with minutes, seconds and cycle(AM/PM)
35
+ TimeDisplay["H12MSC"] = "hh:mm:ss aa";
36
+ // 24 hour with minutes
37
+ TimeDisplay["H24M"] = "hh:mm";
38
+ // 24 hour with minutes and seconds
39
+ TimeDisplay["H24MS"] = "hh:mm:ss";
40
+ })(TimeDisplay || (TimeDisplay = {}));
41
+ /**
42
+ * Enum for Property Editor Param Types
43
+ * @public
44
+ */
45
+ export var PropertyEditorParamTypes;
46
+ (function (PropertyEditorParamTypes) {
47
+ PropertyEditorParamTypes["ButtonGroupData"] = "UiAbstract-ButtonGroupData";
48
+ PropertyEditorParamTypes["CheckBoxIcons"] = "UiAbstract-CheckBoxIcons";
49
+ PropertyEditorParamTypes["Icon"] = "UiAbstract-Icon";
50
+ PropertyEditorParamTypes["InputEditorSize"] = "UiAbstract-InputEditorSize";
51
+ PropertyEditorParamTypes["ColorData"] = "UiAbstract-ColorData";
52
+ PropertyEditorParamTypes["CustomFormattedNumber"] = "UiAbstract-CustomFormattedNumber";
53
+ PropertyEditorParamTypes["IconListData"] = "UiAbstract-IconListData";
54
+ // JSON = "UiAbstract-JSON",
55
+ PropertyEditorParamTypes["MultilineText"] = "UiAbstract-MultilineText";
56
+ PropertyEditorParamTypes["Range"] = "UiAbstract-Range";
57
+ PropertyEditorParamTypes["Slider"] = "UiAbstract-Slider";
58
+ // SuppressUnitLabel = "UiAbstract-SuppressUnitLabel",
59
+ PropertyEditorParamTypes["SuppressEditorLabel"] = "UiAbstract-SuppressEditorLabel";
60
+ PropertyEditorParamTypes["CheckBoxImages"] = "UiAbstract-CheckBoxImages";
61
+ })(PropertyEditorParamTypes || (PropertyEditorParamTypes = {}));
62
+ /** InputEditorSizeParams type guard.
63
+ * @public
64
+ */
65
+ export const isInputEditorSizeParams = (item) => {
66
+ return item.type === PropertyEditorParamTypes.InputEditorSize;
67
+ };
68
+ /** ColorEditorParams type guard.
69
+ * @public
70
+ */
71
+ export const isColorEditorParams = (item) => {
72
+ return item.type === PropertyEditorParamTypes.ColorData;
73
+ };
74
+ /** IconListEditorParams type guard.
75
+ * @public
76
+ */
77
+ export const isIconListEditorParams = (item) => {
78
+ return item.type === PropertyEditorParamTypes.IconListData;
79
+ };
80
+ /** ButtonGroupEditorParams type guard.
81
+ * @public
82
+ */
83
+ export const isButtonGroupEditorParams = (item) => {
84
+ return item.type === PropertyEditorParamTypes.ButtonGroupData;
85
+ };
86
+ /** SuppressLabelEditorParams type guard.
87
+ * @public
88
+ */
89
+ export const isSuppressLabelEditorParams = (item) => {
90
+ return item.type === PropertyEditorParamTypes.SuppressEditorLabel;
91
+ };
92
+ /** CustomFormattedNumberParams type guard.
93
+ * @public
94
+ */
95
+ export const isCustomFormattedNumberParams = (item) => {
96
+ return item.type === PropertyEditorParamTypes.CustomFormattedNumber;
97
+ };
98
98
  //# sourceMappingURL=EditorParams.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorParams.js","sourceRoot":"","sources":["../../../../src/appui-abstract/properties/EditorParams.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAcH;;GAEG;AACH,MAAM,CAAN,IAAY,oBAcX;AAdD,WAAY,oBAAoB;IAC9B,+DAAQ,CAAA;IACR,aAAa;IACb,uEAAY,CAAA;IACZ,2BAA2B;IAC3B,6EAAW,CAAA;IACX,cAAc;IACd,uEAAQ,CAAA;IACR,2BAA2B;IAC3B,6EAAW,CAAA;IACX,mBAAmB;IACnB,qFAAe,CAAA;IACf,gCAAgC;IAChC,2FAAkB,CAAA;AACpB,CAAC,EAdW,oBAAoB,KAApB,oBAAoB,QAc/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,wCAAwC;IACxC,iCAAkB,CAAA;IAClB,iDAAiD;IACjD,qCAAsB,CAAA;IACtB,uBAAuB;IACvB,6BAAc,CAAA;IACd,mCAAmC;IACnC,iCAAkB,CAAA;AACpB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,wBAeX;AAfD,WAAY,wBAAwB;IAClC,0EAA8C,CAAA;IAC9C,sEAA0C,CAAA;IAC1C,oDAAwB,CAAA;IACxB,0EAA8C,CAAA;IAC9C,8DAAkC,CAAA;IAClC,sFAA0D,CAAA;IAC1D,oEAAwC,CAAA;IACxC,4BAA4B;IAC5B,sEAA0C,CAAA;IAC1C,sDAA0B,CAAA;IAC1B,wDAA4B,CAAA;IAC5B,sDAAsD;IACtD,kFAAsD,CAAA;IACtD,wEAA4C,CAAA;AAC9C,CAAC,EAfW,wBAAwB,KAAxB,wBAAwB,QAenC;AAyBD;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAA8B,EAAiC,EAAE;IACvG,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,eAAe,CAAC;AAChE,CAAC,CAAC;AAeF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAA8B,EAA6B,EAAE;IAC/F,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,SAAS,CAAC;AAC1D,CAAC,CAAC;AAgBF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,IAA8B,EAAgC,EAAE;IACrG,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,YAAY,CAAC;AAC7D,CAAC,CAAC;AAsBF;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAA8B,EAAmC,EAAE;IAC3G,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,eAAe,CAAC;AAChE,CAAC,CAAC;AAYF;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,IAA8B,EAAqC,EAAE;IAC/G,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,mBAAmB,CAAC;AACpE,CAAC,CAAC;AA4IF;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAA8B,EAAuC,EAAE;IACnH,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;AACtE,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Properties\r\n */\r\n\r\n// cspell:ignore BBGGRR pushable DDTHH\r\n\r\n/** Interface used to provide a custom Date Time formatter and optional parser\r\n * for use by `DatePickerPopup`. If a parseData function is not implemented\r\n * then string to date parsing will not be possible when a `DateFormatter` is used.\r\n * @public\r\n */\r\nexport interface DateFormatter {\r\n formateDate: (day: Date) => string;\r\n parseDate?: (dateString: string) => Date | undefined;\r\n}\r\n\r\n/** Alternate Data Formats that can be provide by javascript. Can be used by Date TypeConverter and TypeEditor.\r\n * @public\r\n */\r\nexport enum AlternateDateFormats {\r\n None = 0,\r\n // YYYY-MM-DD\r\n IsoShort = 1,\r\n // YYYY-MM-DDTHH:mm:ss.sssZ\r\n IsoDateTime,\r\n // dd Mmm yyyy\r\n UtcShort,\r\n // dd Mmm yyyy hh:mm:ss GMT\r\n UtcDateTime,\r\n // Www, dd Mmm yyyy\r\n UtcShortWithDay,\r\n // Www, dd Mmm yyyy hh:mm:ss GMT\r\n UtcDateTimeWithDay,\r\n}\r\n\r\n/** Enum that defines supported time formats.\r\n * @public\r\n */\r\nexport enum TimeDisplay {\r\n // 12 hour with minutes and cycle(AM/PM)\r\n H12MC = \"hh:mm aa\",\r\n // 12 hour with minutes, seconds and cycle(AM/PM)\r\n H12MSC = \"hh:mm:ss aa\",\r\n // 24 hour with minutes\r\n H24M = \"hh:mm\",\r\n // 24 hour with minutes and seconds\r\n H24MS = \"hh:mm:ss\",\r\n}\r\n\r\n/**\r\n * Enum for Property Editor Param Types\r\n * @public\r\n */\r\nexport enum PropertyEditorParamTypes {\r\n ButtonGroupData = \"UiAbstract-ButtonGroupData\",\r\n CheckBoxIcons = \"UiAbstract-CheckBoxIcons\",\r\n Icon = \"UiAbstract-Icon\",\r\n InputEditorSize = \"UiAbstract-InputEditorSize\",\r\n ColorData = \"UiAbstract-ColorData\",\r\n CustomFormattedNumber = \"UiAbstract-CustomFormattedNumber\",\r\n IconListData = \"UiAbstract-IconListData\",\r\n // JSON = \"UiAbstract-JSON\",\r\n MultilineText = \"UiAbstract-MultilineText\",\r\n Range = \"UiAbstract-Range\",\r\n Slider = \"UiAbstract-Slider\",\r\n // SuppressUnitLabel = \"UiAbstract-SuppressUnitLabel\",\r\n SuppressEditorLabel = \"UiAbstract-SuppressEditorLabel\",\r\n CheckBoxImages = \"UiAbstract-CheckBoxImages\",\r\n}\r\n\r\n/**\r\n * [[BasePropertyEditorParams]] Base interface for Property Editor Params\r\n * @public\r\n */\r\nexport interface BasePropertyEditorParams {\r\n type: string;\r\n}\r\n\r\n/**\r\n * Parameters used by PropertyEditors that use HTML <input> element.\r\n * @public\r\n */\r\n/** [[InputEditorSizeParams]] type guard.\r\n * @public\r\n */\r\nexport interface InputEditorSizeParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.InputEditorSize;\r\n /** Optionally define the width in characters. */\r\n size?: number;\r\n /** Optionally define the maximum number of characters allowed. */\r\n maxLength?: number;\r\n}\r\n\r\n/** InputEditorSizeParams type guard.\r\n * @public\r\n */\r\nexport const isInputEditorSizeParams = (item: BasePropertyEditorParams): item is InputEditorSizeParams => {\r\n return item.type === PropertyEditorParamTypes.InputEditorSize;\r\n};\r\n\r\n/**\r\n * [[ColorEditorParams]] Parameters used to populate color type editor with a specific set of colors. If not specified the Color\r\n * Editor will show a default palette of 16 colors.\r\n * @public\r\n */\r\nexport interface ColorEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.ColorData;\r\n /** array of color values to show in color picker popup. Use [[ColorByName]] enum values. Values should be 32-bit integer in the form 0xBBGGRR. */\r\n colorValues: number[];\r\n /** number of columns to show in color picker popup. The value of 4 is used if not defined. */\r\n numColumns?: number;\r\n}\r\n\r\n/** ColorEditorParams type guard.\r\n * @public\r\n */\r\nexport const isColorEditorParams = (item: BasePropertyEditorParams): item is ColorEditorParams => {\r\n return item.type === PropertyEditorParamTypes.ColorData;\r\n};\r\n\r\n/**\r\n * [[IconListEditorParams]] Parameters used to populate icon type editor with a specific set of icons.\r\n * @public\r\n */\r\nexport interface IconListEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.IconListData;\r\n /** active icon shown in the button */\r\n iconValue: string;\r\n /** array of icon (svg) names to show in icon picker popup. */\r\n iconValues: string[];\r\n /** number of columns to show in icon picker popup. The value of 4 is used if not defined. */\r\n numColumns?: number;\r\n}\r\n\r\n/** IconListEditorParams type guard.\r\n * @public\r\n */\r\nexport const isIconListEditorParams = (item: BasePropertyEditorParams): item is IconListEditorParams => {\r\n return item.type === PropertyEditorParamTypes.IconListData;\r\n};\r\n\r\n/**\r\n * [[IconDefinition]] Information about an icon displayed next to a property editor.\r\n * @public\r\n */\r\nexport interface IconDefinition {\r\n /** Icon specification. The value is the name of an icon WebFont entry, or if specifying an imported SVG symbol use \"webSvg:\" prefix . */\r\n iconSpec: string;\r\n /** Function to determine if the item is enabled. */\r\n isEnabledFunction?: () => boolean;\r\n}\r\n\r\n/**\r\n * [[ButtonGroupEditorParams]] Parameters used by EnumButtonGroupEditor to define icons in button group.\r\n * @public\r\n */\r\nexport interface ButtonGroupEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.ButtonGroupData;\r\n buttons: IconDefinition[];\r\n}\r\n\r\n/** ButtonGroupEditorParams type guard.\r\n * @public\r\n */\r\nexport const isButtonGroupEditorParams = (item: BasePropertyEditorParams): item is ButtonGroupEditorParams => {\r\n return item.type === PropertyEditorParamTypes.ButtonGroupData;\r\n};\r\n\r\n/**\r\n * [[SuppressLabelEditorParams]] Parameters used to suppress the label for a type editor in the ToolSettings widget.\r\n * @public\r\n */\r\nexport interface SuppressLabelEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.SuppressEditorLabel;\r\n /** if false then an empty placeholder label is created. This is sometimes necessary to align editor in proper column */\r\n suppressLabelPlaceholder?: boolean;\r\n}\r\n\r\n/** SuppressLabelEditorParams type guard.\r\n * @public\r\n */\r\nexport const isSuppressLabelEditorParams = (item: BasePropertyEditorParams): item is SuppressLabelEditorParams => {\r\n return item.type === PropertyEditorParamTypes.SuppressEditorLabel;\r\n};\r\n\r\n// /**\r\n// * Parameters used by PropertyEditors that support JSON.\r\n// * @alpha\r\n// */\r\n// export interface JsonEditorParams extends BasePropertyEditorParams {\r\n// type: PropertyEditorParamTypes.JSON;\r\n// json: any;\r\n// }\r\n\r\n/**\r\n * Parameters used by PropertyEditors that support defining a minimum and maximum value.\r\n * @public\r\n */\r\nexport interface RangeEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.Range;\r\n /** Defines the minimum value. Default is Number.MIN_SAFE_INTEGER. */\r\n minimum?: number;\r\n /** Defines the maximum value. Default is Number.MAX_SAFE_INTEGER. */\r\n maximum?: number;\r\n /** Defines the step value. Default is 1. */\r\n step?: number;\r\n /** Defines the precision. Default is 0. */\r\n precision?: number;\r\n}\r\n\r\n/**\r\n * Parameters used to indicate that a Slider should be presented for the property\r\n * and to specify the values needed by the slider.\r\n * @public\r\n */\r\nexport interface SliderEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.Slider;\r\n /** Defines the minimum value. */\r\n minimum: number;\r\n /** Defines the maximum value. */\r\n maximum: number;\r\n\r\n /** Optionally define the width in pixels. */\r\n size?: number;\r\n\r\n /** Step value. Default is 0.1. */\r\n step?: number;\r\n /** The interaction mode. Default is 1. Possible values:\r\n * 1 - allows handles to cross each other.\r\n * 2 - keeps the sliders from crossing and separated by a step.\r\n */\r\n mode?: number;\r\n\r\n /** Indicates whether the display of the Slider values is reversed. */\r\n reversed?: boolean;\r\n\r\n /** Indicates whether to show tooltip with the value. The tooltip will be positioned above the Slider, by default. */\r\n showTooltip?: boolean;\r\n /** Indicates whether the tooltip should show below the Slider instead of above. */\r\n tooltipBelow?: boolean;\r\n /** Format a value for the tooltip */\r\n formatTooltip?: (value: number) => string;\r\n\r\n /** Indicates whether to show min & max values to the left & right of the Slider. */\r\n showMinMax?: boolean;\r\n /** Image to show for min. */\r\n minIconSpec?: string;\r\n /** Image to show for max. */\r\n maxIconSpec?: string;\r\n\r\n /** Indicates whether to show tick marks under the Slider. */\r\n showTicks?: boolean;\r\n /** Indicates whether to show tick labels under the tick marks. */\r\n showTickLabels?: boolean;\r\n /** Format a tick mark value */\r\n formatTick?: (tick: number) => string;\r\n /** Function to get the tick count. The default tick count is 10. */\r\n getTickCount?: () => number;\r\n /** Function to get the tick values. This overrides the tick count from getTickCount.\r\n * Use this prop if you want to specify your own tick values instead of ticks generated by the slider.\r\n * The numbers should be valid numbers in the domain and correspond to the step value.\r\n * Invalid values will be coerced to the closet matching value in the domain.\r\n */\r\n getTickValues?: () => number[];\r\n}\r\n\r\n/**\r\n * Parameter that is used to indicate that a multiline text editor should be created.\r\n * The number of rows specified will determine the height of the editor control.\r\n * @public\r\n */\r\nexport interface MultilineTextEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.MultilineText;\r\n rows: number;\r\n}\r\n\r\n/**\r\n * Parameters used to display an icon next to property editor.\r\n * @public\r\n */\r\nexport interface IconEditorParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.Icon;\r\n definition: IconDefinition;\r\n}\r\n\r\n/**\r\n * Parameters for ImageCheckBoxEditor\r\n * @public\r\n */\r\nexport interface ImageCheckBoxParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.CheckBoxImages;\r\n imageOn: string;\r\n imageOff: string;\r\n\r\n}\r\n\r\n// /**\r\n// * Parameter used to suppress Unit labels\r\n// * @alpha\r\n// */\r\n// export interface SuppressUnitLabelEditorParams extends BasePropertyEditorParams {\r\n// type: PropertyEditorParamTypes.SuppressUnitLabel;\r\n// }\r\n\r\n/**\r\n * defines Results of parsing a string input by a user into its desired value type\r\n * @public\r\n */\r\nexport interface ParseResults {\r\n value?: string | number | boolean | {} | string[] | Date | [] | undefined;\r\n parseError?: string;\r\n}\r\n\r\n/**\r\n * Parameters used with properties that want to control parsing and formatting.\r\n * @public\r\n */\r\nexport interface CustomFormattedNumberParams extends BasePropertyEditorParams {\r\n type: PropertyEditorParamTypes.CustomFormattedNumber;\r\n formatFunction: (numberValue: number) => string;\r\n parseFunction: (stringValue: string) => ParseResults;\r\n}\r\n\r\n/** CustomFormattedNumberParams type guard.\r\n * @public\r\n */\r\nexport const isCustomFormattedNumberParams = (item: BasePropertyEditorParams): item is CustomFormattedNumberParams => {\r\n return item.type === PropertyEditorParamTypes.CustomFormattedNumber;\r\n};\r\n\r\n/**\r\n * Type definition for Property Editor params\r\n * @public\r\n */\r\nexport type PropertyEditorParams = BasePropertyEditorParams;\r\n"]}
1
+ {"version":3,"file":"EditorParams.js","sourceRoot":"","sources":["../../../../src/appui-abstract/properties/EditorParams.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAcH;;GAEG;AACH,MAAM,CAAN,IAAY,oBAcX;AAdD,WAAY,oBAAoB;IAC9B,+DAAQ,CAAA;IACR,aAAa;IACb,uEAAY,CAAA;IACZ,2BAA2B;IAC3B,6EAAW,CAAA;IACX,cAAc;IACd,uEAAQ,CAAA;IACR,2BAA2B;IAC3B,6EAAW,CAAA;IACX,mBAAmB;IACnB,qFAAe,CAAA;IACf,gCAAgC;IAChC,2FAAkB,CAAA;AACpB,CAAC,EAdW,oBAAoB,KAApB,oBAAoB,QAc/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,wCAAwC;IACxC,iCAAkB,CAAA;IAClB,iDAAiD;IACjD,qCAAsB,CAAA;IACtB,uBAAuB;IACvB,6BAAc,CAAA;IACd,mCAAmC;IACnC,iCAAkB,CAAA;AACpB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,wBAeX;AAfD,WAAY,wBAAwB;IAClC,0EAA8C,CAAA;IAC9C,sEAA0C,CAAA;IAC1C,oDAAwB,CAAA;IACxB,0EAA8C,CAAA;IAC9C,8DAAkC,CAAA;IAClC,sFAA0D,CAAA;IAC1D,oEAAwC,CAAA;IACxC,4BAA4B;IAC5B,sEAA0C,CAAA;IAC1C,sDAA0B,CAAA;IAC1B,wDAA4B,CAAA;IAC5B,sDAAsD;IACtD,kFAAsD,CAAA;IACtD,wEAA4C,CAAA;AAC9C,CAAC,EAfW,wBAAwB,KAAxB,wBAAwB,QAenC;AAyBD;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAA8B,EAAiC,EAAE;IACvG,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,eAAe,CAAC;AAChE,CAAC,CAAC;AAeF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAA8B,EAA6B,EAAE;IAC/F,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,SAAS,CAAC;AAC1D,CAAC,CAAC;AAgBF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,IAA8B,EAAgC,EAAE;IACrG,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,YAAY,CAAC;AAC7D,CAAC,CAAC;AAsBF;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,IAA8B,EAAmC,EAAE;IAC3G,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,eAAe,CAAC;AAChE,CAAC,CAAC;AAYF;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,IAA8B,EAAqC,EAAE;IAC/G,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,mBAAmB,CAAC;AACpE,CAAC,CAAC;AA4IF;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAA8B,EAAuC,EAAE;IACnH,OAAO,IAAI,CAAC,IAAI,KAAK,wBAAwB,CAAC,qBAAqB,CAAC;AACtE,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Properties\n */\n\n// cspell:ignore BBGGRR pushable DDTHH\n\n/** Interface used to provide a custom Date Time formatter and optional parser\n * for use by `DatePickerPopup`. If a parseData function is not implemented\n * then string to date parsing will not be possible when a `DateFormatter` is used.\n * @public\n */\nexport interface DateFormatter {\n formateDate: (day: Date) => string;\n parseDate?: (dateString: string) => Date | undefined;\n}\n\n/** Alternate Data Formats that can be provide by javascript. Can be used by Date TypeConverter and TypeEditor.\n * @public\n */\nexport enum AlternateDateFormats {\n None = 0,\n // YYYY-MM-DD\n IsoShort = 1,\n // YYYY-MM-DDTHH:mm:ss.sssZ\n IsoDateTime,\n // dd Mmm yyyy\n UtcShort,\n // dd Mmm yyyy hh:mm:ss GMT\n UtcDateTime,\n // Www, dd Mmm yyyy\n UtcShortWithDay,\n // Www, dd Mmm yyyy hh:mm:ss GMT\n UtcDateTimeWithDay,\n}\n\n/** Enum that defines supported time formats.\n * @public\n */\nexport enum TimeDisplay {\n // 12 hour with minutes and cycle(AM/PM)\n H12MC = \"hh:mm aa\",\n // 12 hour with minutes, seconds and cycle(AM/PM)\n H12MSC = \"hh:mm:ss aa\",\n // 24 hour with minutes\n H24M = \"hh:mm\",\n // 24 hour with minutes and seconds\n H24MS = \"hh:mm:ss\",\n}\n\n/**\n * Enum for Property Editor Param Types\n * @public\n */\nexport enum PropertyEditorParamTypes {\n ButtonGroupData = \"UiAbstract-ButtonGroupData\",\n CheckBoxIcons = \"UiAbstract-CheckBoxIcons\",\n Icon = \"UiAbstract-Icon\",\n InputEditorSize = \"UiAbstract-InputEditorSize\",\n ColorData = \"UiAbstract-ColorData\",\n CustomFormattedNumber = \"UiAbstract-CustomFormattedNumber\",\n IconListData = \"UiAbstract-IconListData\",\n // JSON = \"UiAbstract-JSON\",\n MultilineText = \"UiAbstract-MultilineText\",\n Range = \"UiAbstract-Range\",\n Slider = \"UiAbstract-Slider\",\n // SuppressUnitLabel = \"UiAbstract-SuppressUnitLabel\",\n SuppressEditorLabel = \"UiAbstract-SuppressEditorLabel\",\n CheckBoxImages = \"UiAbstract-CheckBoxImages\",\n}\n\n/**\n * [[BasePropertyEditorParams]] Base interface for Property Editor Params\n * @public\n */\nexport interface BasePropertyEditorParams {\n type: string;\n}\n\n/**\n * Parameters used by PropertyEditors that use HTML <input> element.\n * @public\n */\n/** [[InputEditorSizeParams]] type guard.\n * @public\n */\nexport interface InputEditorSizeParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.InputEditorSize;\n /** Optionally define the width in characters. */\n size?: number;\n /** Optionally define the maximum number of characters allowed. */\n maxLength?: number;\n}\n\n/** InputEditorSizeParams type guard.\n * @public\n */\nexport const isInputEditorSizeParams = (item: BasePropertyEditorParams): item is InputEditorSizeParams => {\n return item.type === PropertyEditorParamTypes.InputEditorSize;\n};\n\n/**\n * [[ColorEditorParams]] Parameters used to populate color type editor with a specific set of colors. If not specified the Color\n * Editor will show a default palette of 16 colors.\n * @public\n */\nexport interface ColorEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.ColorData;\n /** array of color values to show in color picker popup. Use [[ColorByName]] enum values. Values should be 32-bit integer in the form 0xBBGGRR. */\n colorValues: number[];\n /** number of columns to show in color picker popup. The value of 4 is used if not defined. */\n numColumns?: number;\n}\n\n/** ColorEditorParams type guard.\n * @public\n */\nexport const isColorEditorParams = (item: BasePropertyEditorParams): item is ColorEditorParams => {\n return item.type === PropertyEditorParamTypes.ColorData;\n};\n\n/**\n * [[IconListEditorParams]] Parameters used to populate icon type editor with a specific set of icons.\n * @public\n */\nexport interface IconListEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.IconListData;\n /** active icon shown in the button */\n iconValue: string;\n /** array of icon (svg) names to show in icon picker popup. */\n iconValues: string[];\n /** number of columns to show in icon picker popup. The value of 4 is used if not defined. */\n numColumns?: number;\n}\n\n/** IconListEditorParams type guard.\n * @public\n */\nexport const isIconListEditorParams = (item: BasePropertyEditorParams): item is IconListEditorParams => {\n return item.type === PropertyEditorParamTypes.IconListData;\n};\n\n/**\n * [[IconDefinition]] Information about an icon displayed next to a property editor.\n * @public\n */\nexport interface IconDefinition {\n /** Icon specification. The value is the name of an icon WebFont entry, or if specifying an imported SVG symbol use \"webSvg:\" prefix . */\n iconSpec: string;\n /** Function to determine if the item is enabled. */\n isEnabledFunction?: () => boolean;\n}\n\n/**\n * [[ButtonGroupEditorParams]] Parameters used by EnumButtonGroupEditor to define icons in button group.\n * @public\n */\nexport interface ButtonGroupEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.ButtonGroupData;\n buttons: IconDefinition[];\n}\n\n/** ButtonGroupEditorParams type guard.\n * @public\n */\nexport const isButtonGroupEditorParams = (item: BasePropertyEditorParams): item is ButtonGroupEditorParams => {\n return item.type === PropertyEditorParamTypes.ButtonGroupData;\n};\n\n/**\n * [[SuppressLabelEditorParams]] Parameters used to suppress the label for a type editor in the ToolSettings widget.\n * @public\n */\nexport interface SuppressLabelEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.SuppressEditorLabel;\n /** if false then an empty placeholder label is created. This is sometimes necessary to align editor in proper column */\n suppressLabelPlaceholder?: boolean;\n}\n\n/** SuppressLabelEditorParams type guard.\n * @public\n */\nexport const isSuppressLabelEditorParams = (item: BasePropertyEditorParams): item is SuppressLabelEditorParams => {\n return item.type === PropertyEditorParamTypes.SuppressEditorLabel;\n};\n\n// /**\n// * Parameters used by PropertyEditors that support JSON.\n// * @alpha\n// */\n// export interface JsonEditorParams extends BasePropertyEditorParams {\n// type: PropertyEditorParamTypes.JSON;\n// json: any;\n// }\n\n/**\n * Parameters used by PropertyEditors that support defining a minimum and maximum value.\n * @public\n */\nexport interface RangeEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.Range;\n /** Defines the minimum value. Default is Number.MIN_SAFE_INTEGER. */\n minimum?: number;\n /** Defines the maximum value. Default is Number.MAX_SAFE_INTEGER. */\n maximum?: number;\n /** Defines the step value. Default is 1. */\n step?: number;\n /** Defines the precision. Default is 0. */\n precision?: number;\n}\n\n/**\n * Parameters used to indicate that a Slider should be presented for the property\n * and to specify the values needed by the slider.\n * @public\n */\nexport interface SliderEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.Slider;\n /** Defines the minimum value. */\n minimum: number;\n /** Defines the maximum value. */\n maximum: number;\n\n /** Optionally define the width in pixels. */\n size?: number;\n\n /** Step value. Default is 0.1. */\n step?: number;\n /** The interaction mode. Default is 1. Possible values:\n * 1 - allows handles to cross each other.\n * 2 - keeps the sliders from crossing and separated by a step.\n */\n mode?: number;\n\n /** Indicates whether the display of the Slider values is reversed. */\n reversed?: boolean;\n\n /** Indicates whether to show tooltip with the value. The tooltip will be positioned above the Slider, by default. */\n showTooltip?: boolean;\n /** Indicates whether the tooltip should show below the Slider instead of above. */\n tooltipBelow?: boolean;\n /** Format a value for the tooltip */\n formatTooltip?: (value: number) => string;\n\n /** Indicates whether to show min & max values to the left & right of the Slider. */\n showMinMax?: boolean;\n /** Image to show for min. */\n minIconSpec?: string;\n /** Image to show for max. */\n maxIconSpec?: string;\n\n /** Indicates whether to show tick marks under the Slider. */\n showTicks?: boolean;\n /** Indicates whether to show tick labels under the tick marks. */\n showTickLabels?: boolean;\n /** Format a tick mark value */\n formatTick?: (tick: number) => string;\n /** Function to get the tick count. The default tick count is 10. */\n getTickCount?: () => number;\n /** Function to get the tick values. This overrides the tick count from getTickCount.\n * Use this prop if you want to specify your own tick values instead of ticks generated by the slider.\n * The numbers should be valid numbers in the domain and correspond to the step value.\n * Invalid values will be coerced to the closet matching value in the domain.\n */\n getTickValues?: () => number[];\n}\n\n/**\n * Parameter that is used to indicate that a multiline text editor should be created.\n * The number of rows specified will determine the height of the editor control.\n * @public\n */\nexport interface MultilineTextEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.MultilineText;\n rows: number;\n}\n\n/**\n * Parameters used to display an icon next to property editor.\n * @public\n */\nexport interface IconEditorParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.Icon;\n definition: IconDefinition;\n}\n\n/**\n * Parameters for ImageCheckBoxEditor\n * @public\n */\nexport interface ImageCheckBoxParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.CheckBoxImages;\n imageOn: string;\n imageOff: string;\n\n}\n\n// /**\n// * Parameter used to suppress Unit labels\n// * @alpha\n// */\n// export interface SuppressUnitLabelEditorParams extends BasePropertyEditorParams {\n// type: PropertyEditorParamTypes.SuppressUnitLabel;\n// }\n\n/**\n * defines Results of parsing a string input by a user into its desired value type\n * @public\n */\nexport interface ParseResults {\n value?: string | number | boolean | {} | string[] | Date | [] | undefined;\n parseError?: string;\n}\n\n/**\n * Parameters used with properties that want to control parsing and formatting.\n * @public\n */\nexport interface CustomFormattedNumberParams extends BasePropertyEditorParams {\n type: PropertyEditorParamTypes.CustomFormattedNumber;\n formatFunction: (numberValue: number) => string;\n parseFunction: (stringValue: string) => ParseResults;\n}\n\n/** CustomFormattedNumberParams type guard.\n * @public\n */\nexport const isCustomFormattedNumberParams = (item: BasePropertyEditorParams): item is CustomFormattedNumberParams => {\n return item.type === PropertyEditorParamTypes.CustomFormattedNumber;\n};\n\n/**\n * Type definition for Property Editor params\n * @public\n */\nexport type PropertyEditorParams = BasePropertyEditorParams;\n"]}
@@ -1,61 +1,61 @@
1
- /** @packageDocumentation
2
- * @module Properties
3
- */
4
- import { Id64String } from "@itwin/core-bentley";
5
- /** Primitive Property Value Types.
6
- * @public
7
- */
8
- export declare namespace Primitives {
9
- /** Text type */
10
- type Text = string;
11
- /** String type */
12
- type String = string;
13
- /** DateTime will be formatted as date and time */
14
- type DateTime = string | Date;
15
- /** ShortDate will be formatted as date only and will not include time */
16
- type ShortDate = string | Date;
17
- /** Boolean type */
18
- type Boolean = boolean | string | {} | [];
19
- /** Float type */
20
- type Float = number | string;
21
- /** Int type */
22
- type Int = number | string;
23
- /** Hexadecimal type (number expressed in hex string) */
24
- type Hexadecimal = Id64String;
25
- /** Enum type (enumerated list of values) */
26
- type Enum = number | string;
27
- /** Numeric type (can be float or int) */
28
- type Numeric = Float | Int;
29
- /** Point2d type (contains an x and a y coordinate) */
30
- type Point2d = string[] | number[] | {
31
- x: number;
32
- y: number;
33
- };
34
- /** Point3d type (contains x,y,and z coordinates) */
35
- type Point3d = string[] | number[] | {
36
- x: number;
37
- y: number;
38
- z: number;
39
- };
40
- /** Point type (can be a 2d or 3d point) */
41
- type Point = Point2d | Point3d;
42
- /** CompositePart (ties a raw value of a specific type to a display string) */
43
- interface CompositePart {
44
- displayValue: string;
45
- rawValue: Value;
46
- typeName: string;
47
- }
48
- /** Composite type (built of one or more CompositePart items) */
49
- interface Composite {
50
- separator: string;
51
- parts: CompositePart[];
52
- }
53
- /** Instance key type. */
54
- interface InstanceKey {
55
- className: string;
56
- id: Id64String;
57
- }
58
- /** Raw value */
59
- type Value = Text | String | ShortDate | Boolean | Numeric | Enum | Point | Composite | InstanceKey;
60
- }
1
+ /** @packageDocumentation
2
+ * @module Properties
3
+ */
4
+ import { Id64String } from "@itwin/core-bentley";
5
+ /** Primitive Property Value Types.
6
+ * @public
7
+ */
8
+ export declare namespace Primitives {
9
+ /** Text type */
10
+ type Text = string;
11
+ /** String type */
12
+ type String = string;
13
+ /** DateTime will be formatted as date and time */
14
+ type DateTime = string | Date;
15
+ /** ShortDate will be formatted as date only and will not include time */
16
+ type ShortDate = string | Date;
17
+ /** Boolean type */
18
+ type Boolean = boolean | string | {} | [];
19
+ /** Float type */
20
+ type Float = number | string;
21
+ /** Int type */
22
+ type Int = number | string;
23
+ /** Hexadecimal type (number expressed in hex string) */
24
+ type Hexadecimal = Id64String;
25
+ /** Enum type (enumerated list of values) */
26
+ type Enum = number | string;
27
+ /** Numeric type (can be float or int) */
28
+ type Numeric = Float | Int;
29
+ /** Point2d type (contains an x and a y coordinate) */
30
+ type Point2d = string[] | number[] | {
31
+ x: number;
32
+ y: number;
33
+ };
34
+ /** Point3d type (contains x,y,and z coordinates) */
35
+ type Point3d = string[] | number[] | {
36
+ x: number;
37
+ y: number;
38
+ z: number;
39
+ };
40
+ /** Point type (can be a 2d or 3d point) */
41
+ type Point = Point2d | Point3d;
42
+ /** CompositePart (ties a raw value of a specific type to a display string) */
43
+ interface CompositePart {
44
+ displayValue: string;
45
+ rawValue: Value;
46
+ typeName: string;
47
+ }
48
+ /** Composite type (built of one or more CompositePart items) */
49
+ interface Composite {
50
+ separator: string;
51
+ parts: CompositePart[];
52
+ }
53
+ /** Instance key type. */
54
+ interface InstanceKey {
55
+ className: string;
56
+ id: Id64String;
57
+ }
58
+ /** Raw value */
59
+ type Value = Text | String | ShortDate | Boolean | Numeric | Enum | Point | Composite | InstanceKey;
60
+ }
61
61
  //# sourceMappingURL=PrimitiveTypes.d.ts.map
@@ -1,9 +1,9 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /** @packageDocumentation
6
- * @module Properties
7
- */
8
- export {};
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /** @packageDocumentation
6
+ * @module Properties
7
+ */
8
+ export {};
9
9
  //# sourceMappingURL=PrimitiveTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PrimitiveTypes.js","sourceRoot":"","sources":["../../../../src/appui-abstract/properties/PrimitiveTypes.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Properties\r\n */\r\n\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\n\r\n/** Primitive Property Value Types.\r\n * @public\r\n */\r\nexport namespace Primitives {\r\n /** Text type */\r\n export type Text = string;\r\n /** String type */\r\n export type String = string;\r\n /** DateTime will be formatted as date and time */\r\n export type DateTime = string | Date;\r\n /** ShortDate will be formatted as date only and will not include time */\r\n export type ShortDate = string | Date;\r\n /** Boolean type */\r\n export type Boolean = boolean | string | {} | [];\r\n /** Float type */\r\n export type Float = number | string;\r\n /** Int type */\r\n export type Int = number | string;\r\n /** Hexadecimal type (number expressed in hex string) */\r\n export type Hexadecimal = Id64String;\r\n /** Enum type (enumerated list of values) */\r\n export type Enum = number | string;\r\n /** Numeric type (can be float or int) */\r\n export type Numeric = Float | Int;\r\n\r\n /** Point2d type (contains an x and a y coordinate) */\r\n export type Point2d = string[] | number[] | { x: number, y: number };\r\n /** Point3d type (contains x,y,and z coordinates) */\r\n export type Point3d = string[] | number[] | { x: number, y: number, z: number };\r\n\r\n /** Point type (can be a 2d or 3d point) */\r\n export type Point = Point2d | Point3d;\r\n\r\n /** CompositePart (ties a raw value of a specific type to a display string) */\r\n export interface CompositePart {\r\n displayValue: string;\r\n rawValue: Value;\r\n typeName: string;\r\n }\r\n /** Composite type (built of one or more CompositePart items) */\r\n export interface Composite {\r\n separator: string;\r\n parts: CompositePart[];\r\n }\r\n\r\n /** Instance key type. */\r\n export interface InstanceKey {\r\n className: string;\r\n id: Id64String;\r\n }\r\n\r\n /** Raw value */\r\n export type Value = Text | String | ShortDate | Boolean | Numeric | Enum | Point | Composite | InstanceKey;\r\n}\r\n"]}
1
+ {"version":3,"file":"PrimitiveTypes.js","sourceRoot":"","sources":["../../../../src/appui-abstract/properties/PrimitiveTypes.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Properties\n */\n\nimport { Id64String } from \"@itwin/core-bentley\";\n\n/** Primitive Property Value Types.\n * @public\n */\nexport namespace Primitives {\n /** Text type */\n export type Text = string;\n /** String type */\n export type String = string;\n /** DateTime will be formatted as date and time */\n export type DateTime = string | Date;\n /** ShortDate will be formatted as date only and will not include time */\n export type ShortDate = string | Date;\n /** Boolean type */\n export type Boolean = boolean | string | {} | [];\n /** Float type */\n export type Float = number | string;\n /** Int type */\n export type Int = number | string;\n /** Hexadecimal type (number expressed in hex string) */\n export type Hexadecimal = Id64String;\n /** Enum type (enumerated list of values) */\n export type Enum = number | string;\n /** Numeric type (can be float or int) */\n export type Numeric = Float | Int;\n\n /** Point2d type (contains an x and a y coordinate) */\n export type Point2d = string[] | number[] | { x: number, y: number };\n /** Point3d type (contains x,y,and z coordinates) */\n export type Point3d = string[] | number[] | { x: number, y: number, z: number };\n\n /** Point type (can be a 2d or 3d point) */\n export type Point = Point2d | Point3d;\n\n /** CompositePart (ties a raw value of a specific type to a display string) */\n export interface CompositePart {\n displayValue: string;\n rawValue: Value;\n typeName: string;\n }\n /** Composite type (built of one or more CompositePart items) */\n export interface Composite {\n separator: string;\n parts: CompositePart[];\n }\n\n /** Instance key type. */\n export interface InstanceKey {\n className: string;\n id: Id64String;\n }\n\n /** Raw value */\n export type Value = Text | String | ShortDate | Boolean | Numeric | Enum | Point | Composite | InstanceKey;\n}\n"]}
@@ -1,58 +1,58 @@
1
- /** @packageDocumentation
2
- * @module Properties
3
- */
4
- import { PropertyDescription } from "./Description";
5
- import { PropertyValue } from "./Value";
6
- /** Properties for the [[PropertyRecord]] with link info supplied
7
- * @public
8
- */
9
- export interface LinkElementsInfo {
10
- /** Callback to link click event */
11
- onClick: (text: string) => void;
12
- /**
13
- * Function that specifies which parts of display value need to be clickable.
14
- *
15
- * Letters will be picked from __start__ index to __end__ index. __end__ index is not included.
16
- * For a string _"example"_ and a match ```{ start: 1, end: 3 }```, _"xa"_ will be clickable.
17
- */
18
- matcher?: (displayValue: string) => Array<{
19
- start: number;
20
- end: number;
21
- }>;
22
- }
23
- /**
24
- * PropertyRecord contains instance information about a Property, including a
25
- * value that can be edited using a PropertyEditor and converted using a TypeConverter.
26
- * @public
27
- */
28
- export declare class PropertyRecord {
29
- /** Value for the property */
30
- readonly value: PropertyValue;
31
- /** The property description containing metadata for the property */
32
- readonly property: PropertyDescription;
33
- /** Description for the property */
34
- description?: string;
35
- /** Indicates if the property is read-only */
36
- isReadonly?: boolean;
37
- /** Indicates if the property is disabled */
38
- isDisabled?: boolean;
39
- /** Indicates if the property record represents merged properties */
40
- isMerged?: boolean;
41
- /** Indicates if the property should be automatically expanded */
42
- autoExpand?: boolean;
43
- /** Map containing any additional data */
44
- extendedData?: {
45
- [key: string]: any;
46
- };
47
- /** Properties for link logic */
48
- links?: LinkElementsInfo;
49
- /** Constructs a PropertyRecord instance */
50
- constructor(value: PropertyValue, property: PropertyDescription);
51
- /** Creates a copy of this PropertyRecord with a new value and optionally a new PropertyDescription */
52
- copyWithNewValue(newValue: PropertyValue, newDescription?: PropertyDescription): PropertyRecord;
53
- /** Gets this property record value children records */
54
- getChildrenRecords(): PropertyRecord[];
55
- /** Creates a PropertyRecord based on a value string and an optional property description or name */
56
- static fromString(value: string, descriptionOrName?: PropertyDescription | string): PropertyRecord;
57
- }
1
+ /** @packageDocumentation
2
+ * @module Properties
3
+ */
4
+ import { PropertyDescription } from "./Description";
5
+ import { PropertyValue } from "./Value";
6
+ /** Properties for the [[PropertyRecord]] with link info supplied
7
+ * @public
8
+ */
9
+ export interface LinkElementsInfo {
10
+ /** Callback to link click event */
11
+ onClick: (text: string) => void;
12
+ /**
13
+ * Function that specifies which parts of display value need to be clickable.
14
+ *
15
+ * Letters will be picked from __start__ index to __end__ index. __end__ index is not included.
16
+ * For a string _"example"_ and a match ```{ start: 1, end: 3 }```, _"xa"_ will be clickable.
17
+ */
18
+ matcher?: (displayValue: string) => Array<{
19
+ start: number;
20
+ end: number;
21
+ }>;
22
+ }
23
+ /**
24
+ * PropertyRecord contains instance information about a Property, including a
25
+ * value that can be edited using a PropertyEditor and converted using a TypeConverter.
26
+ * @public
27
+ */
28
+ export declare class PropertyRecord {
29
+ /** Value for the property */
30
+ readonly value: PropertyValue;
31
+ /** The property description containing metadata for the property */
32
+ readonly property: PropertyDescription;
33
+ /** Description for the property */
34
+ description?: string;
35
+ /** Indicates if the property is read-only */
36
+ isReadonly?: boolean;
37
+ /** Indicates if the property is disabled */
38
+ isDisabled?: boolean;
39
+ /** Indicates if the property record represents merged properties */
40
+ isMerged?: boolean;
41
+ /** Indicates if the property should be automatically expanded */
42
+ autoExpand?: boolean;
43
+ /** Map containing any additional data */
44
+ extendedData?: {
45
+ [key: string]: any;
46
+ };
47
+ /** Properties for link logic */
48
+ links?: LinkElementsInfo;
49
+ /** Constructs a PropertyRecord instance */
50
+ constructor(value: PropertyValue, property: PropertyDescription);
51
+ /** Creates a copy of this PropertyRecord with a new value and optionally a new PropertyDescription */
52
+ copyWithNewValue(newValue: PropertyValue, newDescription?: PropertyDescription): PropertyRecord;
53
+ /** Gets this property record value children records */
54
+ getChildrenRecords(): PropertyRecord[];
55
+ /** Creates a PropertyRecord based on a value string and an optional property description or name */
56
+ static fromString(value: string, descriptionOrName?: PropertyDescription | string): PropertyRecord;
57
+ }
58
58
  //# sourceMappingURL=Record.d.ts.map