@bentley/ui-abstract
Advanced tools
Comparing version 1.10.0 to 1.11.0
@@ -5,2 +5,14 @@ { | ||
{ | ||
"version": "1.11.0", | ||
"tag": "@bentley/ui-abstract_v1.11.0", | ||
"date": "Wed, 22 Jan 2020 19:24:12 GMT", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Upgrade to TypeScript 3.7.2." | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "1.10.0", | ||
@@ -7,0 +19,0 @@ "tag": "@bentley/ui-abstract_v1.10.0", |
# Change Log - @bentley/ui-abstract | ||
This log was last generated on Tue, 07 Jan 2020 19:44:01 GMT and should not be manually modified. | ||
This log was last generated on Wed, 22 Jan 2020 19:24:12 GMT and should not be manually modified. | ||
## 1.11.0 | ||
Wed, 22 Jan 2020 19:24:12 GMT | ||
### Updates | ||
- Upgrade to TypeScript 3.7.2. | ||
## 1.10.0 | ||
@@ -6,0 +13,0 @@ Tue, 07 Jan 2020 19:44:01 GMT |
@@ -50,3 +50,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
window.iModelJsVersions = new Map(); | ||
window.iModelJsVersions.set("ui-abstract", "1.10.0"); | ||
window.iModelJsVersions.set("ui-abstract", "1.11.0"); | ||
} | ||
@@ -97,3 +97,5 @@ /** @docs-package-description | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -166,3 +168,5 @@ const UiError_1 = __webpack_require__(/*! ./utils/UiError */ "./lib/ui-abstract/utils/UiError.js"); | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Admin */ | ||
/** @packageDocumentation | ||
* @module Admin | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -286,3 +290,5 @@ /** The UiAdmin controls various UI components and is callable from IModelApp.uiAdmin in the imodeljs-frontend package. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Backstage */ | ||
/** @packageDocumentation | ||
* @module Backstage | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -360,3 +366,5 @@ /** Used to specify the item type added to the backstage menu. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Backstage */ | ||
/** @packageDocumentation | ||
* @module Backstage | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -382,3 +390,2 @@ const bentleyjs_core_1 = __webpack_require__(/*! @bentley/bentleyjs-core */ "@bentley/bentleyjs-core"); | ||
} | ||
/** @internal */ | ||
set items(items) { | ||
@@ -459,3 +466,5 @@ if (this._items === items) | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -489,3 +498,5 @@ /** Available Group Button directions. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -521,3 +532,5 @@ /** Specifies type of badge, if any, that should be overlaid on UI component. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -549,3 +562,5 @@ /** Used to specify if the UI item's visibility or enable state is affected by the testFunc defined in [[ConditionalDisplaySpecification]]. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -583,3 +598,5 @@ /** Relative Position for popups | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Plugins */ | ||
/** @packageDocumentation | ||
* @module Plugins | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -613,3 +630,5 @@ /** Used to specify the item type added to toolbar. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Plugins */ | ||
/** @packageDocumentation | ||
* @module Plugins | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -724,3 +743,5 @@ const bentleyjs_core_1 = __webpack_require__(/*! @bentley/bentleyjs-core */ "@bentley/bentleyjs-core"); | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Stage */ | ||
/** @packageDocumentation | ||
* @module Stage | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -754,3 +775,5 @@ /** Standard stage uses. Allows plugin to target ui item to include on a stage without | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module StatusBar */ | ||
/** @packageDocumentation | ||
* @module StatusBar | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -866,3 +889,5 @@ /** Used to specify the item type added to the status bar. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module StatusBar */ | ||
/** @packageDocumentation | ||
* @module StatusBar | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -895,3 +920,2 @@ const bentleyjs_core_1 = __webpack_require__(/*! @bentley/bentleyjs-core */ "@bentley/bentleyjs-core"); | ||
} | ||
/** @internal */ | ||
set items(items) { | ||
@@ -994,3 +1018,5 @@ if (this._items === items) | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -1034,3 +1060,5 @@ /** Various IconSpec utilities. | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -1065,3 +1093,5 @@ const bentleyjs_core_1 = __webpack_require__(/*! @bentley/bentleyjs-core */ "@bentley/bentleyjs-core"); | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -1068,0 +1098,0 @@ /** Gets the class name for an object. |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("bentleyjs_core")):"function"===typeof define&&define.amd?define("ui_abstract",["bentleyjs_core"],e):"object"===typeof exports?exports.ui_abstract=e(require("bentleyjs_core")):t.ui_abstract=e(t.bentleyjs_core)}(this,function(t){return(this.webpackJsonp=this.webpackJsonp||[]).push([[1],{"./lib/ui-abstract.js":function(t,e,i){"use strict";function s(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}Object.defineProperty(e,"__esModule",{value:!0}),s(i("./lib/ui-abstract/UiAbstract.js")),s(i("./lib/ui-abstract/UiAdmin.js")),s(i("./lib/ui-abstract/backstage/BackstageItem.js")),s(i("./lib/ui-abstract/backstage/BackstageItemsManager.js")),s(i("./lib/ui-abstract/items/AbstractGroupItemProps.js")),s(i("./lib/ui-abstract/items/BadgeType.js")),s(i("./lib/ui-abstract/items/ConditionalDisplayType.js")),s(i("./lib/ui-abstract/items/RelativePosition.js")),s(i("./lib/ui-abstract/statusbar/StatusBarItem.js")),s(i("./lib/ui-abstract/statusbar/StatusBarItemsManager.js")),s(i("./lib/ui-abstract/plugins/PluginUi.js")),s(i("./lib/ui-abstract/plugins/PluginUiManager.js")),s(i("./lib/ui-abstract/stage/Stage.js")),s(i("./lib/ui-abstract/utils/getClassName.js")),s(i("./lib/ui-abstract/utils/IconSpecUtilities.js")),s(i("./lib/ui-abstract/utils/UiError.js")),"undefined"!==typeof window&&window&&(window.iModelJsVersions||(window.iModelJsVersions=new Map),window.iModelJsVersions.set("ui-abstract","1.10.0"))},"./lib/ui-abstract/UiAbstract.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("./lib/ui-abstract/utils/UiError.js"),r=i("./lib/ui-abstract/utils/getClassName.js");class UiAbstract{static async initialize(t){UiAbstract._i18n=t,await UiAbstract._i18n.registerNamespace(UiAbstract.i18nNamespace).readFinished}static terminate(){UiAbstract._i18n&&UiAbstract._i18n.unregisterNamespace(UiAbstract.i18nNamespace),UiAbstract._i18n=void 0}static get i18n(){if(!UiAbstract._i18n)throw new s.UiError(UiAbstract.loggerCategory(this),"UiAbstract not initialized");return UiAbstract._i18n}static get i18nNamespace(){return"UiAbstract"}static translate(t,e){return UiAbstract.i18n.translateWithNamespace(UiAbstract.i18nNamespace,t,e)}static get packageName(){return"ui-abstract"}static loggerCategory(t){const e=r.getClassName(t);return UiAbstract.packageName+(e?`.${e}`:"")}}e.UiAbstract=UiAbstract},"./lib/ui-abstract/UiAdmin.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.UiAdmin=class UiAdmin{onInitialized(){}get cursorPosition(){return{x:0,y:0}}createXAndY(t,e){return{x:t,y:e}}showContextMenu(t,e,i){return!1}showToolbar(t,e,i,s,r,a,n){return!1}hideToolbar(){return!1}showMenuButton(t,e,i,s){return!1}hideMenuButton(t){return!1}showCalculator(t,e,i,s,r,a){return!1}hideCalculator(){return!1}showAngleEditor(t,e,i,s,r){return!1}showLengthEditor(t,e,i,s,r){return!1}showHeightEditor(t,e,i,s,r){return!1}hideInputEditor(){return!1}}},"./lib/ui-abstract/backstage/BackstageItem.js":function(t,e,i){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.ActionItem=1]="ActionItem",t[t.StageLauncher=2]="StageLauncher"}(s=e.BackstageItemType||(e.BackstageItemType={})),e.isActionItem=(t=>t.itemType===s.ActionItem),e.isStageLauncher=(t=>t.itemType===s.StageLauncher);class BackstageItemUtilities{}e.BackstageItemUtilities=BackstageItemUtilities,BackstageItemUtilities.createStageLauncher=((t,e,i,r,a,n)=>({groupPriority:e,icon:n,isEnabled:!0,isVisible:!0,id:t,itemPriority:i,itemType:s.StageLauncher,label:r,stageId:t,subtitle:a})),BackstageItemUtilities.createActionItem=((t,e,i,r,a,n,o)=>({execute:r,groupPriority:e,icon:o,isEnabled:!0,isVisible:!0,id:t,itemPriority:i,itemType:s.ActionItem,label:a,subtitle:n}))},"./lib/ui-abstract/backstage/BackstageItemsManager.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core"),r=t=>!Array.isArray(t);e.BackstageItemsManager=class BackstageItemsManager{constructor(){this._items=[],this.onChanged=new s.BeEvent}get items(){return this._items}set items(t){this._items!==t&&(this._items=t,this.onChanged.raiseEvent({items:t}))}setIsVisible(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(s.isVisible===e)return;const r=Object.assign(Object.assign({},s),{isVisible:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}setIsEnabled(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(s.isEnabled===e)return;const r=Object.assign(Object.assign({},s),{isEnabled:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}add(t){let e;if(0===(e=(e=r(t)?[t]:t.filter((e,i)=>t.findIndex(t=>t.id===e.id)===i)).filter(t=>void 0===this._items.find(e=>e.id===t.id))).length)return;const i=[...this._items,...e];this.items=i}remove(t){const e=this._items.filter(e=>r(t)?e.id!==t:!t.find(t=>t===e.id));this.items=e}}},"./lib/ui-abstract/items/AbstractGroupItemProps.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Left=0]="Left",t[t.Top=1]="Top",t[t.Right=2]="Right",t[t.Bottom=3]="Bottom"}(e.GroupButtonDirection||(e.GroupButtonDirection={}))},"./lib/ui-abstract/items/BadgeType.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.None=0]="None",t[t.TechnicalPreview=1]="TechnicalPreview",t[t.New=2]="New"}(e.BadgeType||(e.BadgeType={}))},"./lib/ui-abstract/items/ConditionalDisplayType.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Visibility=0]="Visibility",t[t.EnableState=1]="EnableState"}(e.ConditionalDisplayType||(e.ConditionalDisplayType={}))},"./lib/ui-abstract/items/RelativePosition.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Left=0]="Left",t[t.Top=1]="Top",t[t.Right=2]="Right",t[t.Bottom=3]="Bottom",t[t.TopLeft=4]="TopLeft",t[t.TopRight=5]="TopRight",t[t.BottomLeft=6]="BottomLeft",t[t.BottomRight=7]="BottomRight"}(e.RelativePosition||(e.RelativePosition={}))},"./lib/ui-abstract/plugins/PluginUi.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.ActionButton=0]="ActionButton",t[t.GroupButton=1]="GroupButton"}(e.ToolbarItemType||(e.ToolbarItemType={}))},"./lib/ui-abstract/plugins/PluginUiManager.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core"),r="imodeljs-frontend.Plugin";class PluginUiManager{static get registeredProviderIds(){return[...PluginUiManager._registeredPluginUiProviders.keys()]}static get hasRegisteredProviders(){return this._registeredPluginUiProviders.size>0}static getPluginUiProvider(t){return PluginUiManager._registeredPluginUiProviders.get(t)}static sendRegisteredEvent(t){PluginUiManager.onUiProviderRegisteredEvent.raiseEvent(t)}static register(t){PluginUiManager.getPluginUiProvider(t.id)?s.Logger.logInfo(r,`PluginUiProvider (${t.id}) is already loaded`):(PluginUiManager._registeredPluginUiProviders.set(t.id,t),s.Logger.logInfo(r,`PluginUiProvider (${t.id}) loaded`),PluginUiManager.sendRegisteredEvent({providerId:t.id}))}static unregister(t){PluginUiManager.getPluginUiProvider(t)&&(PluginUiManager._registeredPluginUiProviders.delete(t),s.Logger.logInfo(r,`PluginUiProvider (${t}) unloaded`),PluginUiManager.sendRegisteredEvent({providerId:t}))}static getToolbarItems(t){const e=[];return 0===PluginUiManager._registeredPluginUiProviders.size?e:(PluginUiManager._registeredPluginUiProviders.forEach(i=>{i.provideToolbarItems&&i.provideToolbarItems(t).forEach(t=>e.push(t))}),e)}static getStatusbarItems(t,e){const i=[];return 0===PluginUiManager._registeredPluginUiProviders.size?i:(PluginUiManager._registeredPluginUiProviders.forEach(s=>{s.provideStatusbarItems&&s.provideStatusbarItems(t,e).forEach(t=>i.push(t))}),i)}}e.PluginUiManager=PluginUiManager,PluginUiManager._registeredPluginUiProviders=new Map,PluginUiManager.onUiProviderRegisteredEvent=new s.BeEvent},"./lib/ui-abstract/stage/Stage.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Private="Private",t.General="General",t.Redline="Redline"}(e.StageUsage||(e.StageUsage={}))},"./lib/ui-abstract/statusbar/StatusBarItem.js":function(t,e,i){"use strict";var s,r;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.ActionItem=1]="ActionItem",t[t.Label=2]="Label",t[t.CustomItem=3]="CustomItem"}(s=e.StatusBarItemType||(e.StatusBarItemType={})),function(t){t[t.Message=0]="Message",t[t.Left=0]="Left",t[t.Stage=1]="Stage",t[t.Center=1]="Center",t[t.Selection=2]="Selection",t[t.Right=2]="Right",t[t.Context=3]="Context"}(e.StatusBarSection||(e.StatusBarSection={})),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(r=e.StatusbarLabelSide||(e.StatusbarLabelSide={})),e.isAbstractStatusBarActionItem=(t=>t.type===s.ActionItem),e.isAbstractStatusBarLabelItem=(t=>t.type===s.Label),e.isAbstractStatusBarCustomItem=(t=>t.type===s.CustomItem);class AbstractStatusBarItemUtilities{}e.AbstractStatusBarItemUtilities=AbstractStatusBarItemUtilities,AbstractStatusBarItemUtilities.createActionItem=((t,e,i,r,a,n)=>({id:t,section:e,itemPriority:i,icon:r,tooltip:a,isVisible:!0,execute:n,type:s.ActionItem})),AbstractStatusBarItemUtilities.createLabelItem=((t,e,i,a,n,o=r.Right)=>({id:t,section:e,itemPriority:i,icon:a,label:n,isVisible:!0,type:s.Label,labelSide:o}))},"./lib/ui-abstract/statusbar/StatusBarItemsManager.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core"),r=t=>!Array.isArray(t);e.StatusBarItemsManager=class StatusBarItemsManager{constructor(){this._items=[],this.onItemsChanged=new s.BeEvent}loadItems(t){this._items=t}get items(){return this._items}set items(t){this._items!==t&&(this._items=t,this.onItemsChanged.raiseEvent({items:t}))}add(t){let e;if(0===(e=(e=r(t)?[t]:t.filter((e,i)=>t.findIndex(t=>t.id===e.id)===i)).filter(t=>void 0===this._items.find(e=>e.id===t.id))).length)return;const i=[...this._items,...e];this.items=i}remove(t){const e=this._items.filter(e=>r(t)?e.id!==t:!t.find(t=>t===e.id));this.items=e}removeAll(){this._items=[]}setIsVisible(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(s.isVisible===e)return;const r=Object.assign(Object.assign({},s),{isVisible:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}setLabel(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(!("label"in s)||s.label===e)return;const r=Object.assign(Object.assign({},s),{label:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}setTooltip(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(!("tooltip"in s)||s.tooltip===e)return;const r=Object.assign(Object.assign({},s),{tooltip:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}}},"./lib/ui-abstract/utils/IconSpecUtilities.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class IconSpecUtilities{static createSvgIconSpec(t){return`${IconSpecUtilities.SVG_PREFIX}${t}`}static getSvgSource(t){let e;return t.startsWith(IconSpecUtilities.SVG_PREFIX)&&t.length>4&&(e=t.slice(4)),e}}e.IconSpecUtilities=IconSpecUtilities,IconSpecUtilities.SVG_PREFIX="svg:"},"./lib/ui-abstract/utils/UiError.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core");e.UiError=class UiError extends s.BentleyError{constructor(t,e,i=s.BentleyStatus.ERROR,r=s.Logger.logError,a){super(i,e,r,t,a)}}},"./lib/ui-abstract/utils/getClassName.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getClassName=(t=>{let e="";return t&&(t.name?e=t.name:t.constructor&&t.constructor.name&&(e=t.constructor.name)),e})},"@bentley/bentleyjs-core":function(e,i){e.exports=t}},[["./lib/ui-abstract.js",0]]])}); | ||
!function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("bentleyjs_core")):"function"===typeof define&&define.amd?define("ui_abstract",["bentleyjs_core"],e):"object"===typeof exports?exports.ui_abstract=e(require("bentleyjs_core")):t.ui_abstract=e(t.bentleyjs_core)}(this,function(t){return(this.webpackJsonp=this.webpackJsonp||[]).push([[1],{"./lib/ui-abstract.js":function(t,e,i){"use strict";function s(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}Object.defineProperty(e,"__esModule",{value:!0}),s(i("./lib/ui-abstract/UiAbstract.js")),s(i("./lib/ui-abstract/UiAdmin.js")),s(i("./lib/ui-abstract/backstage/BackstageItem.js")),s(i("./lib/ui-abstract/backstage/BackstageItemsManager.js")),s(i("./lib/ui-abstract/items/AbstractGroupItemProps.js")),s(i("./lib/ui-abstract/items/BadgeType.js")),s(i("./lib/ui-abstract/items/ConditionalDisplayType.js")),s(i("./lib/ui-abstract/items/RelativePosition.js")),s(i("./lib/ui-abstract/statusbar/StatusBarItem.js")),s(i("./lib/ui-abstract/statusbar/StatusBarItemsManager.js")),s(i("./lib/ui-abstract/plugins/PluginUi.js")),s(i("./lib/ui-abstract/plugins/PluginUiManager.js")),s(i("./lib/ui-abstract/stage/Stage.js")),s(i("./lib/ui-abstract/utils/getClassName.js")),s(i("./lib/ui-abstract/utils/IconSpecUtilities.js")),s(i("./lib/ui-abstract/utils/UiError.js")),"undefined"!==typeof window&&window&&(window.iModelJsVersions||(window.iModelJsVersions=new Map),window.iModelJsVersions.set("ui-abstract","1.11.0"))},"./lib/ui-abstract/UiAbstract.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("./lib/ui-abstract/utils/UiError.js"),r=i("./lib/ui-abstract/utils/getClassName.js");class UiAbstract{static async initialize(t){UiAbstract._i18n=t,await UiAbstract._i18n.registerNamespace(UiAbstract.i18nNamespace).readFinished}static terminate(){UiAbstract._i18n&&UiAbstract._i18n.unregisterNamespace(UiAbstract.i18nNamespace),UiAbstract._i18n=void 0}static get i18n(){if(!UiAbstract._i18n)throw new s.UiError(UiAbstract.loggerCategory(this),"UiAbstract not initialized");return UiAbstract._i18n}static get i18nNamespace(){return"UiAbstract"}static translate(t,e){return UiAbstract.i18n.translateWithNamespace(UiAbstract.i18nNamespace,t,e)}static get packageName(){return"ui-abstract"}static loggerCategory(t){const e=r.getClassName(t);return UiAbstract.packageName+(e?`.${e}`:"")}}e.UiAbstract=UiAbstract},"./lib/ui-abstract/UiAdmin.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.UiAdmin=class UiAdmin{onInitialized(){}get cursorPosition(){return{x:0,y:0}}createXAndY(t,e){return{x:t,y:e}}showContextMenu(t,e,i){return!1}showToolbar(t,e,i,s,r,a,n){return!1}hideToolbar(){return!1}showMenuButton(t,e,i,s){return!1}hideMenuButton(t){return!1}showCalculator(t,e,i,s,r,a){return!1}hideCalculator(){return!1}showAngleEditor(t,e,i,s,r){return!1}showLengthEditor(t,e,i,s,r){return!1}showHeightEditor(t,e,i,s,r){return!1}hideInputEditor(){return!1}}},"./lib/ui-abstract/backstage/BackstageItem.js":function(t,e,i){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.ActionItem=1]="ActionItem",t[t.StageLauncher=2]="StageLauncher"}(s=e.BackstageItemType||(e.BackstageItemType={})),e.isActionItem=(t=>t.itemType===s.ActionItem),e.isStageLauncher=(t=>t.itemType===s.StageLauncher);class BackstageItemUtilities{}e.BackstageItemUtilities=BackstageItemUtilities,BackstageItemUtilities.createStageLauncher=((t,e,i,r,a,n)=>({groupPriority:e,icon:n,isEnabled:!0,isVisible:!0,id:t,itemPriority:i,itemType:s.StageLauncher,label:r,stageId:t,subtitle:a})),BackstageItemUtilities.createActionItem=((t,e,i,r,a,n,o)=>({execute:r,groupPriority:e,icon:o,isEnabled:!0,isVisible:!0,id:t,itemPriority:i,itemType:s.ActionItem,label:a,subtitle:n}))},"./lib/ui-abstract/backstage/BackstageItemsManager.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core"),r=t=>!Array.isArray(t);e.BackstageItemsManager=class BackstageItemsManager{constructor(){this._items=[],this.onChanged=new s.BeEvent}get items(){return this._items}set items(t){this._items!==t&&(this._items=t,this.onChanged.raiseEvent({items:t}))}setIsVisible(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(s.isVisible===e)return;const r=Object.assign(Object.assign({},s),{isVisible:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}setIsEnabled(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(s.isEnabled===e)return;const r=Object.assign(Object.assign({},s),{isEnabled:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}add(t){let e;if(0===(e=(e=r(t)?[t]:t.filter((e,i)=>t.findIndex(t=>t.id===e.id)===i)).filter(t=>void 0===this._items.find(e=>e.id===t.id))).length)return;const i=[...this._items,...e];this.items=i}remove(t){const e=this._items.filter(e=>r(t)?e.id!==t:!t.find(t=>t===e.id));this.items=e}}},"./lib/ui-abstract/items/AbstractGroupItemProps.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Left=0]="Left",t[t.Top=1]="Top",t[t.Right=2]="Right",t[t.Bottom=3]="Bottom"}(e.GroupButtonDirection||(e.GroupButtonDirection={}))},"./lib/ui-abstract/items/BadgeType.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.None=0]="None",t[t.TechnicalPreview=1]="TechnicalPreview",t[t.New=2]="New"}(e.BadgeType||(e.BadgeType={}))},"./lib/ui-abstract/items/ConditionalDisplayType.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Visibility=0]="Visibility",t[t.EnableState=1]="EnableState"}(e.ConditionalDisplayType||(e.ConditionalDisplayType={}))},"./lib/ui-abstract/items/RelativePosition.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Left=0]="Left",t[t.Top=1]="Top",t[t.Right=2]="Right",t[t.Bottom=3]="Bottom",t[t.TopLeft=4]="TopLeft",t[t.TopRight=5]="TopRight",t[t.BottomLeft=6]="BottomLeft",t[t.BottomRight=7]="BottomRight"}(e.RelativePosition||(e.RelativePosition={}))},"./lib/ui-abstract/plugins/PluginUi.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.ActionButton=0]="ActionButton",t[t.GroupButton=1]="GroupButton"}(e.ToolbarItemType||(e.ToolbarItemType={}))},"./lib/ui-abstract/plugins/PluginUiManager.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core"),r="imodeljs-frontend.Plugin";class PluginUiManager{static get registeredProviderIds(){return[...PluginUiManager._registeredPluginUiProviders.keys()]}static get hasRegisteredProviders(){return this._registeredPluginUiProviders.size>0}static getPluginUiProvider(t){return PluginUiManager._registeredPluginUiProviders.get(t)}static sendRegisteredEvent(t){PluginUiManager.onUiProviderRegisteredEvent.raiseEvent(t)}static register(t){PluginUiManager.getPluginUiProvider(t.id)?s.Logger.logInfo(r,`PluginUiProvider (${t.id}) is already loaded`):(PluginUiManager._registeredPluginUiProviders.set(t.id,t),s.Logger.logInfo(r,`PluginUiProvider (${t.id}) loaded`),PluginUiManager.sendRegisteredEvent({providerId:t.id}))}static unregister(t){PluginUiManager.getPluginUiProvider(t)&&(PluginUiManager._registeredPluginUiProviders.delete(t),s.Logger.logInfo(r,`PluginUiProvider (${t}) unloaded`),PluginUiManager.sendRegisteredEvent({providerId:t}))}static getToolbarItems(t){const e=[];return 0===PluginUiManager._registeredPluginUiProviders.size?e:(PluginUiManager._registeredPluginUiProviders.forEach(i=>{i.provideToolbarItems&&i.provideToolbarItems(t).forEach(t=>e.push(t))}),e)}static getStatusbarItems(t,e){const i=[];return 0===PluginUiManager._registeredPluginUiProviders.size?i:(PluginUiManager._registeredPluginUiProviders.forEach(s=>{s.provideStatusbarItems&&s.provideStatusbarItems(t,e).forEach(t=>i.push(t))}),i)}}e.PluginUiManager=PluginUiManager,PluginUiManager._registeredPluginUiProviders=new Map,PluginUiManager.onUiProviderRegisteredEvent=new s.BeEvent},"./lib/ui-abstract/stage/Stage.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Private="Private",t.General="General",t.Redline="Redline"}(e.StageUsage||(e.StageUsage={}))},"./lib/ui-abstract/statusbar/StatusBarItem.js":function(t,e,i){"use strict";var s,r;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.ActionItem=1]="ActionItem",t[t.Label=2]="Label",t[t.CustomItem=3]="CustomItem"}(s=e.StatusBarItemType||(e.StatusBarItemType={})),function(t){t[t.Message=0]="Message",t[t.Left=0]="Left",t[t.Stage=1]="Stage",t[t.Center=1]="Center",t[t.Selection=2]="Selection",t[t.Right=2]="Right",t[t.Context=3]="Context"}(e.StatusBarSection||(e.StatusBarSection={})),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(r=e.StatusbarLabelSide||(e.StatusbarLabelSide={})),e.isAbstractStatusBarActionItem=(t=>t.type===s.ActionItem),e.isAbstractStatusBarLabelItem=(t=>t.type===s.Label),e.isAbstractStatusBarCustomItem=(t=>t.type===s.CustomItem);class AbstractStatusBarItemUtilities{}e.AbstractStatusBarItemUtilities=AbstractStatusBarItemUtilities,AbstractStatusBarItemUtilities.createActionItem=((t,e,i,r,a,n)=>({id:t,section:e,itemPriority:i,icon:r,tooltip:a,isVisible:!0,execute:n,type:s.ActionItem})),AbstractStatusBarItemUtilities.createLabelItem=((t,e,i,a,n,o=r.Right)=>({id:t,section:e,itemPriority:i,icon:a,label:n,isVisible:!0,type:s.Label,labelSide:o}))},"./lib/ui-abstract/statusbar/StatusBarItemsManager.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core"),r=t=>!Array.isArray(t);e.StatusBarItemsManager=class StatusBarItemsManager{constructor(){this._items=[],this.onItemsChanged=new s.BeEvent}loadItems(t){this._items=t}get items(){return this._items}set items(t){this._items!==t&&(this._items=t,this.onItemsChanged.raiseEvent({items:t}))}add(t){let e;if(0===(e=(e=r(t)?[t]:t.filter((e,i)=>t.findIndex(t=>t.id===e.id)===i)).filter(t=>void 0===this._items.find(e=>e.id===t.id))).length)return;const i=[...this._items,...e];this.items=i}remove(t){const e=this._items.filter(e=>r(t)?e.id!==t:!t.find(t=>t===e.id));this.items=e}removeAll(){this._items=[]}setIsVisible(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(s.isVisible===e)return;const r=Object.assign(Object.assign({},s),{isVisible:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}setLabel(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(!("label"in s)||s.label===e)return;const r=Object.assign(Object.assign({},s),{label:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}setTooltip(t,e){const i=this._items.findIndex(e=>e.id===t);if(i<0)return;const s=this._items[i];if(!("tooltip"in s)||s.tooltip===e)return;const r=Object.assign(Object.assign({},s),{tooltip:e});this.items=[...this._items.slice(0,i),r,...this._items.slice(i+1)]}}},"./lib/ui-abstract/utils/IconSpecUtilities.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class IconSpecUtilities{static createSvgIconSpec(t){return`${IconSpecUtilities.SVG_PREFIX}${t}`}static getSvgSource(t){let e;return t.startsWith(IconSpecUtilities.SVG_PREFIX)&&t.length>4&&(e=t.slice(4)),e}}e.IconSpecUtilities=IconSpecUtilities,IconSpecUtilities.SVG_PREFIX="svg:"},"./lib/ui-abstract/utils/UiError.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const s=i("@bentley/bentleyjs-core");e.UiError=class UiError extends s.BentleyError{constructor(t,e,i=s.BentleyStatus.ERROR,r=s.Logger.logError,a){super(i,e,r,t,a)}}},"./lib/ui-abstract/utils/getClassName.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getClassName=(t=>{let e="";return t&&(t.name?e=t.name:t.constructor&&t.constructor.name&&(e=t.constructor.name)),e})},"@bentley/bentleyjs-core":function(e,i){e.exports=t}},[["./lib/ui-abstract.js",0]]])}); | ||
//# sourceMappingURL=ui-abstract.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Backstage */ | ||
/** @packageDocumentation | ||
* @module Backstage | ||
*/ | ||
import { BadgeType } from "../../ui-abstract"; | ||
@@ -3,0 +5,0 @@ /** Used to specify the item type added to the backstage menu. |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Backstage */ | ||
/** @packageDocumentation | ||
* @module Backstage | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Used to specify the item type added to the backstage menu. |
@@ -1,2 +0,4 @@ | ||
/** @module Backstage */ | ||
/** @packageDocumentation | ||
* @module Backstage | ||
*/ | ||
import { BeEvent } from "@bentley/bentleyjs-core"; | ||
@@ -20,4 +22,4 @@ import { BackstageItem } from "./BackstageItem"; | ||
readonly onChanged: BeEvent<(args: BackstageItemsChangedArgs) => void>; | ||
/** @internal */ | ||
items: ReadonlyArray<BackstageItem>; | ||
get items(): ReadonlyArray<BackstageItem>; | ||
set items(items: ReadonlyArray<BackstageItem>); | ||
setIsVisible(id: BackstageItem["id"], isVisible: boolean): void; | ||
@@ -24,0 +26,0 @@ setIsEnabled(id: BackstageItem["id"], isEnabled: boolean): void; |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Backstage */ | ||
/** @packageDocumentation | ||
* @module Backstage | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -28,3 +30,2 @@ const bentleyjs_core_1 = require("@bentley/bentleyjs-core"); | ||
} | ||
/** @internal */ | ||
set items(items) { | ||
@@ -31,0 +32,0 @@ if (this._items === items) |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
import { AbstractItemProps } from "./AbstractItemProps"; | ||
@@ -3,0 +5,0 @@ import { AnyItemProps } from "./AnyItemProps"; |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=AbstractConditionalItemProps.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
import { StringGetter, AbstractItemProps } from "./AbstractItemProps"; | ||
@@ -3,0 +5,0 @@ import { AnyItemProps } from "./AnyItemProps"; |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Available Group Button directions. |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
import { BaseItemState } from "./BaseItemState"; | ||
@@ -3,0 +5,0 @@ import { BadgeType } from "./BadgeType"; |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=AbstractItemProps.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
import { AbstractItemProps, AbstractCommandItemProps, AbstractToolItemProps } from "./AbstractItemProps"; | ||
@@ -3,0 +5,0 @@ /** Properties for a Menu item |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=AbstractMenuItemProps.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
import { AbstractItemProps } from "./AbstractItemProps"; | ||
@@ -3,0 +5,0 @@ import { AnyItemProps } from "./AnyItemProps"; |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=AbstractToolbarProps.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
import { AbstractCommandItemProps, AbstractToolItemProps } from "./AbstractItemProps"; | ||
@@ -3,0 +5,0 @@ import { AbstractGroupItemProps } from "./AbstractGroupItemProps"; |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=AnyItemProps.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
/** Specifies type of badge, if any, that should be overlaid on UI component. | ||
@@ -3,0 +5,0 @@ * @beta |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Specifies type of badge, if any, that should be overlaid on UI component. |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
/** Base state for any 'stateful' component | ||
@@ -3,0 +5,0 @@ * @beta |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=BaseItemState.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
/** Used to specify if the UI item's visibility or enable state is affected by the testFunc defined in [[ConditionalDisplaySpecification]]. | ||
@@ -3,0 +5,0 @@ * @beta |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Used to specify if the UI item's visibility or enable state is affected by the testFunc defined in [[ConditionalDisplaySpecification]]. |
@@ -1,2 +0,4 @@ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
/** Relative Position for popups | ||
@@ -3,0 +5,0 @@ * @public |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Item */ | ||
/** @packageDocumentation | ||
* @module Item | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Relative Position for popups |
@@ -1,2 +0,4 @@ | ||
/** @module Plugins */ | ||
/** @packageDocumentation | ||
* @module Plugins | ||
*/ | ||
import { ConditionalDisplayType } from "../items/ConditionalDisplayType"; | ||
@@ -3,0 +5,0 @@ import { BadgeType } from "../items/BadgeType"; |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Plugins */ | ||
/** @packageDocumentation | ||
* @module Plugins | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Used to specify the item type added to toolbar. |
@@ -1,2 +0,4 @@ | ||
/** @module Plugins */ | ||
/** @packageDocumentation | ||
* @module Plugins | ||
*/ | ||
import { BeEvent } from "@bentley/bentleyjs-core"; | ||
@@ -32,5 +34,5 @@ import { ToolbarItemInsertSpec } from "./PluginUi"; | ||
/** Return number of registered UiProvider. */ | ||
static readonly registeredProviderIds: string[]; | ||
static get registeredProviderIds(): string[]; | ||
/** Return true if there is any registered UiProvider. */ | ||
static readonly hasRegisteredProviders: boolean; | ||
static get hasRegisteredProviders(): boolean; | ||
/** | ||
@@ -37,0 +39,0 @@ * Retrieves a previously loaded PluginUiProvider. |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Plugins */ | ||
/** @packageDocumentation | ||
* @module Plugins | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ const bentleyjs_core_1 = require("@bentley/bentleyjs-core"); |
@@ -1,2 +0,4 @@ | ||
/** @module Stage */ | ||
/** @packageDocumentation | ||
* @module Stage | ||
*/ | ||
/** Standard stage uses. Allows plugin to target ui item to include on a stage without | ||
@@ -3,0 +5,0 @@ * knowing the stage name defined in the host application. |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Stage */ | ||
/** @packageDocumentation | ||
* @module Stage | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Standard stage uses. Allows plugin to target ui item to include on a stage without |
@@ -1,2 +0,4 @@ | ||
/** @module StatusBar */ | ||
/** @packageDocumentation | ||
* @module StatusBar | ||
*/ | ||
import { BadgeType } from "../../ui-abstract"; | ||
@@ -3,0 +5,0 @@ /** Used to specify the item type added to the status bar. |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module StatusBar */ | ||
/** @packageDocumentation | ||
* @module StatusBar | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Used to specify the item type added to the status bar. |
@@ -1,2 +0,4 @@ | ||
/** @module StatusBar */ | ||
/** @packageDocumentation | ||
* @module StatusBar | ||
*/ | ||
import { BeEvent } from "@bentley/bentleyjs-core"; | ||
@@ -25,4 +27,4 @@ import { CommonStatusBarItem, StatusBarItemId } from "./StatusBarItem"; | ||
/** Get an array of the StatusBar items */ | ||
/** @internal */ | ||
items: ReadonlyArray<CommonStatusBarItem>; | ||
get items(): ReadonlyArray<CommonStatusBarItem>; | ||
set items(items: ReadonlyArray<CommonStatusBarItem>); | ||
add(itemOrItems: CommonStatusBarItem | ReadonlyArray<CommonStatusBarItem>): void; | ||
@@ -29,0 +31,0 @@ /** Remove StatusBar items based on id */ |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module StatusBar */ | ||
/** @packageDocumentation | ||
* @module StatusBar | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -35,3 +37,2 @@ const bentleyjs_core_1 = require("@bentley/bentleyjs-core"); | ||
} | ||
/** @internal */ | ||
set items(items) { | ||
@@ -38,0 +39,0 @@ if (this._items === items) |
@@ -1,2 +0,4 @@ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
import { I18N, TranslationOptions } from "@bentley/imodeljs-i18n"; | ||
@@ -17,5 +19,5 @@ /** | ||
/** The internationalization service created by the IModelApp. */ | ||
static readonly i18n: I18N; | ||
static get i18n(): I18N; | ||
/** The internationalization service namespace. */ | ||
static readonly i18nNamespace: string; | ||
static get i18nNamespace(): string; | ||
/** Calls i18n.translateWithNamespace with the "UiAbstract" namespace. Do NOT include the namespace in the key. | ||
@@ -26,3 +28,3 @@ * @internal | ||
/** @internal */ | ||
static readonly packageName: string; | ||
static get packageName(): string; | ||
/** @internal */ | ||
@@ -29,0 +31,0 @@ static loggerCategory(obj: any): string; |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ const UiError_1 = require("./utils/UiError"); |
@@ -1,2 +0,4 @@ | ||
/** @module Admin */ | ||
/** @packageDocumentation | ||
* @module Admin | ||
*/ | ||
import { XAndY } from "@bentley/geometry-core"; | ||
@@ -14,3 +16,3 @@ import { AbstractMenuItemProps } from "./items/AbstractMenuItemProps"; | ||
/** Get the cursor X and Y position. */ | ||
readonly cursorPosition: XAndY; | ||
get cursorPosition(): XAndY; | ||
/** Create an XAndY object. */ | ||
@@ -17,0 +19,0 @@ createXAndY(x: number, y: number): XAndY; |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Admin */ | ||
/** @packageDocumentation | ||
* @module Admin | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** The UiAdmin controls various UI components and is callable from IModelApp.uiAdmin in the imodeljs-frontend package. |
@@ -1,2 +0,4 @@ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
/** Signature for number onCommit function. | ||
@@ -3,0 +5,0 @@ * @beta |
@@ -6,4 +6,6 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=callbacks.js.map |
@@ -1,2 +0,4 @@ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
/** Gets the class name for an object. | ||
@@ -3,0 +5,0 @@ * @internal |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Gets the class name for an object. |
@@ -1,2 +0,4 @@ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
/** Various IconSpec utilities. | ||
@@ -3,0 +5,0 @@ * @beta |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ /** Various IconSpec utilities. |
@@ -1,2 +0,4 @@ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
import { BentleyError, LogFunction, GetMetaDataFunction } from "@bentley/bentleyjs-core"; | ||
@@ -3,0 +5,0 @@ /** iModel.js UI UiError class is a subclass of BentleyError. Errors are logged. |
@@ -6,3 +6,5 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
/** @module Utilities */ | ||
/** @packageDocumentation | ||
* @module Utilities | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,0 +11,0 @@ const bentleyjs_core_1 = require("@bentley/bentleyjs-core"); |
{ | ||
"name": "@bentley/ui-abstract", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "iModel.js UI abstractions", | ||
@@ -58,5 +58,5 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@bentley/bentleyjs-core": "^1.10.0", | ||
"@bentley/geometry-core": "^1.10.0", | ||
"@bentley/imodeljs-i18n": "^1.10.0" | ||
"@bentley/bentleyjs-core": "^1.11.0", | ||
"@bentley/geometry-core": "^1.11.0", | ||
"@bentley/imodeljs-i18n": "^1.11.0" | ||
}, | ||
@@ -68,7 +68,7 @@ "//devDependencies": [ | ||
"devDependencies": { | ||
"@bentley/build-tools": "1.10.0", | ||
"@bentley/bentleyjs-core": "1.10.0", | ||
"@bentley/geometry-core": "1.10.0", | ||
"@bentley/imodeljs-i18n": "1.10.0", | ||
"@bentley/webpack-tools": "1.10.0", | ||
"@bentley/build-tools": "1.11.0", | ||
"@bentley/bentleyjs-core": "1.11.0", | ||
"@bentley/geometry-core": "1.11.0", | ||
"@bentley/imodeljs-i18n": "1.11.0", | ||
"@bentley/webpack-tools": "1.11.0", | ||
"@types/chai": "^4.1.4", | ||
@@ -98,3 +98,3 @@ "@types/chai-as-promised": "^7", | ||
"sinon-chai": "^3.2.0", | ||
"typescript": "~3.6.2", | ||
"typescript": "~3.7.4", | ||
"ts-node": "^7.0.1", | ||
@@ -101,0 +101,0 @@ "tsconfig-paths": "^3.3.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158390
3123