@itwin/rpcinterface-full-stack-tests 4.1.0-dev.0 → 4.1.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/_a8a9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +150 -1466
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/object-storage-azure.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_6_0_node_modules_itwin_obj-0f69b1.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_3_3_node_modules_loaders_gl_draco_di-28f62e.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -274798,7 +274798,7 @@ class TestContext {
|
|
|
274798
274798
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
274799
274799
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
274800
274800
|
await core_frontend_1.NoRenderApp.startup({
|
|
274801
|
-
applicationVersion: "4.1.0-dev.
|
|
274801
|
+
applicationVersion: "4.1.0-dev.3",
|
|
274802
274802
|
applicationId: this.settings.gprid,
|
|
274803
274803
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
274804
274804
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -283868,143 +283868,107 @@ exports.executeBackendCallback = executeBackendCallback;
|
|
|
283868
283868
|
"use strict";
|
|
283869
283869
|
__webpack_require__.r(__webpack_exports__);
|
|
283870
283870
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
283871
|
-
/* harmony export */ "
|
|
283872
|
-
/* harmony export */ "
|
|
283873
|
-
/* harmony export */ "
|
|
283874
|
-
/* harmony export */ "
|
|
283875
|
-
/* harmony export */ "
|
|
283876
|
-
/* harmony export */ "
|
|
283877
|
-
/* harmony export */ "
|
|
283878
|
-
/* harmony export */ "
|
|
283879
|
-
/* harmony export */ "
|
|
283880
|
-
/* harmony export */ "
|
|
283881
|
-
/* harmony export */ "
|
|
283882
|
-
/* harmony export */ "
|
|
283883
|
-
/* harmony export */ "
|
|
283884
|
-
/* harmony export */ "
|
|
283885
|
-
/* harmony export */ "
|
|
283886
|
-
/* harmony export */ "
|
|
283887
|
-
/* harmony export */ "
|
|
283888
|
-
/* harmony export */ "
|
|
283889
|
-
/* harmony export */ "
|
|
283890
|
-
/* harmony export */ "
|
|
283891
|
-
/* harmony export */ "
|
|
283892
|
-
/* harmony export */ "
|
|
283893
|
-
/* harmony export */ "
|
|
283894
|
-
/* harmony export */ "
|
|
283895
|
-
/* harmony export */ "
|
|
283896
|
-
/* harmony export */ "
|
|
283897
|
-
/* harmony export */ "
|
|
283898
|
-
/* harmony export */ "
|
|
283899
|
-
/* harmony export */ "
|
|
283900
|
-
/* harmony export */ "
|
|
283901
|
-
/* harmony export */ "
|
|
283902
|
-
/* harmony export */ "
|
|
283903
|
-
/* harmony export */ "
|
|
283904
|
-
/* harmony export */ "
|
|
283905
|
-
/* harmony export */ "
|
|
283906
|
-
/* harmony export */ "
|
|
283907
|
-
/* harmony export */ "
|
|
283908
|
-
/* harmony export */ "
|
|
283909
|
-
/* harmony export */ "
|
|
283910
|
-
/* harmony export */ "
|
|
283911
|
-
/* harmony export */ "
|
|
283912
|
-
/* harmony export */ "
|
|
283913
|
-
/* harmony export */ "
|
|
283914
|
-
/* harmony export */ "
|
|
283915
|
-
/* harmony export */ "
|
|
283916
|
-
/* harmony export */ "
|
|
283917
|
-
/* harmony export */ "
|
|
283918
|
-
/* harmony export */ "
|
|
283919
|
-
/* harmony export */ "
|
|
283920
|
-
/* harmony export */ "
|
|
283921
|
-
/* harmony export */ "
|
|
283922
|
-
/* harmony export */ "
|
|
283923
|
-
/* harmony export */ "
|
|
283924
|
-
/* harmony export */ "
|
|
283925
|
-
/* harmony export */ "
|
|
283926
|
-
/* harmony export */ "
|
|
283927
|
-
/* harmony export */ "
|
|
283928
|
-
/* harmony export */ "
|
|
283929
|
-
/* harmony export */ "
|
|
283930
|
-
/* harmony export */ "
|
|
283931
|
-
/* harmony export */ "
|
|
283932
|
-
/* harmony export */ "
|
|
283933
|
-
/* harmony export */ "
|
|
283934
|
-
/* harmony export */ "
|
|
283935
|
-
/* harmony export */ "isArrowKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_6__.isArrowKey),
|
|
283936
|
-
/* harmony export */ "isButtonGroupEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isButtonGroupEditorParams),
|
|
283937
|
-
/* harmony export */ "isColorEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isColorEditorParams),
|
|
283938
|
-
/* harmony export */ "isCustomFormattedNumberParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isCustomFormattedNumberParams),
|
|
283939
|
-
/* harmony export */ "isIconListEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isIconListEditorParams),
|
|
283940
|
-
/* harmony export */ "isInputEditorSizeParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isInputEditorSizeParams),
|
|
283941
|
-
/* harmony export */ "isLetter": () => (/* reexport safe */ _appui_abstract_utils_isLetter__WEBPACK_IMPORTED_MODULE_37__.isLetter),
|
|
283942
|
-
/* harmony export */ "isLowerAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__.isLowerAsciiLetter),
|
|
283943
|
-
/* harmony export */ "isPatternInWord": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.isPatternInWord),
|
|
283944
|
-
/* harmony export */ "isStageLauncher": () => (/* reexport safe */ _appui_abstract_backstage_BackstageItem__WEBPACK_IMPORTED_MODULE_4__.isStageLauncher),
|
|
283945
|
-
/* harmony export */ "isSuppressLabelEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isSuppressLabelEditorParams),
|
|
283946
|
-
/* harmony export */ "isUpperAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__.isUpperAsciiLetter),
|
|
283947
|
-
/* harmony export */ "loggerCategory": () => (/* reexport safe */ _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_36__.loggerCategory),
|
|
283948
|
-
/* harmony export */ "matchesCamelCase": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesCamelCase),
|
|
283949
|
-
/* harmony export */ "matchesContiguousSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesContiguousSubString),
|
|
283950
|
-
/* harmony export */ "matchesFuzzy": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesFuzzy),
|
|
283951
|
-
/* harmony export */ "matchesFuzzy2": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesFuzzy2),
|
|
283952
|
-
/* harmony export */ "matchesPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesPrefix),
|
|
283953
|
-
/* harmony export */ "matchesStrictPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesStrictPrefix),
|
|
283954
|
-
/* harmony export */ "matchesSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesSubString),
|
|
283955
|
-
/* harmony export */ "matchesWords": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesWords),
|
|
283956
|
-
/* harmony export */ "or": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.or),
|
|
283957
|
-
/* harmony export */ "startsWithIgnoreCase": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__.startsWithIgnoreCase)
|
|
283871
|
+
/* harmony export */ "AlternateDateFormats": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.AlternateDateFormats),
|
|
283872
|
+
/* harmony export */ "BadgeType": () => (/* reexport safe */ _appui_abstract_items_BadgeType__WEBPACK_IMPORTED_MODULE_10__.BadgeType),
|
|
283873
|
+
/* harmony export */ "BaseQuantityDescription": () => (/* reexport safe */ _appui_abstract_quantity_BaseQuantityDescription__WEBPACK_IMPORTED_MODULE_23__.BaseQuantityDescription),
|
|
283874
|
+
/* harmony export */ "ConditionalBooleanValue": () => (/* reexport safe */ _appui_abstract_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_11__.ConditionalBooleanValue),
|
|
283875
|
+
/* harmony export */ "ConditionalStringValue": () => (/* reexport safe */ _appui_abstract_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_12__.ConditionalStringValue),
|
|
283876
|
+
/* harmony export */ "DialogButtonStyle": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.DialogButtonStyle),
|
|
283877
|
+
/* harmony export */ "DialogButtonType": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.DialogButtonType),
|
|
283878
|
+
/* harmony export */ "DialogLayoutDataProvider": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.DialogLayoutDataProvider),
|
|
283879
|
+
/* harmony export */ "DialogProperty": () => (/* reexport safe */ _appui_abstract_dialogs_DialogItem__WEBPACK_IMPORTED_MODULE_4__.DialogProperty),
|
|
283880
|
+
/* harmony export */ "DisplayMessageType": () => (/* reexport safe */ _appui_abstract_notification_MessagePresenter__WEBPACK_IMPORTED_MODULE_14__.DisplayMessageType),
|
|
283881
|
+
/* harmony export */ "FunctionKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__.FunctionKey),
|
|
283882
|
+
/* harmony export */ "FuzzyScore": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.FuzzyScore),
|
|
283883
|
+
/* harmony export */ "GenericUiEvent": () => (/* reexport safe */ _appui_abstract_UiAdmin__WEBPACK_IMPORTED_MODULE_0__.GenericUiEvent),
|
|
283884
|
+
/* harmony export */ "IconSpecUtilities": () => (/* reexport safe */ _appui_abstract_utils_IconSpecUtilities__WEBPACK_IMPORTED_MODULE_28__.IconSpecUtilities),
|
|
283885
|
+
/* harmony export */ "MessageSeverity": () => (/* reexport safe */ _appui_abstract_notification_MessageSeverity__WEBPACK_IMPORTED_MODULE_15__.MessageSeverity),
|
|
283886
|
+
/* harmony export */ "PropertyChangeStatus": () => (/* reexport safe */ _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__.PropertyChangeStatus),
|
|
283887
|
+
/* harmony export */ "PropertyDescriptionHelper": () => (/* reexport safe */ _appui_abstract_properties_Description__WEBPACK_IMPORTED_MODULE_16__.PropertyDescriptionHelper),
|
|
283888
|
+
/* harmony export */ "PropertyEditorParamTypes": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.PropertyEditorParamTypes),
|
|
283889
|
+
/* harmony export */ "PropertyRecord": () => (/* reexport safe */ _appui_abstract_properties_Record__WEBPACK_IMPORTED_MODULE_19__.PropertyRecord),
|
|
283890
|
+
/* harmony export */ "PropertyValueFormat": () => (/* reexport safe */ _appui_abstract_properties_Value__WEBPACK_IMPORTED_MODULE_22__.PropertyValueFormat),
|
|
283891
|
+
/* harmony export */ "RelativePosition": () => (/* reexport safe */ _appui_abstract_items_RelativePosition__WEBPACK_IMPORTED_MODULE_13__.RelativePosition),
|
|
283892
|
+
/* harmony export */ "SpecialKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__.SpecialKey),
|
|
283893
|
+
/* harmony export */ "StandardContentLayouts": () => (/* reexport safe */ _appui_abstract_content_StandardContentLayouts__WEBPACK_IMPORTED_MODULE_3__.StandardContentLayouts),
|
|
283894
|
+
/* harmony export */ "StandardEditorNames": () => (/* reexport safe */ _appui_abstract_properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_20__.StandardEditorNames),
|
|
283895
|
+
/* harmony export */ "StandardTypeNames": () => (/* reexport safe */ _appui_abstract_properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_21__.StandardTypeNames),
|
|
283896
|
+
/* harmony export */ "SyncPropertiesChangeEvent": () => (/* reexport safe */ _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__.SyncPropertiesChangeEvent),
|
|
283897
|
+
/* harmony export */ "TimeDisplay": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.TimeDisplay),
|
|
283898
|
+
/* harmony export */ "ToolbarItemUtilities": () => (/* reexport safe */ _appui_abstract_toolbars_ToolbarItem__WEBPACK_IMPORTED_MODULE_24__.ToolbarItemUtilities),
|
|
283899
|
+
/* harmony export */ "UiAdmin": () => (/* reexport safe */ _appui_abstract_UiAdmin__WEBPACK_IMPORTED_MODULE_0__.UiAdmin),
|
|
283900
|
+
/* harmony export */ "UiDataProvider": () => (/* reexport safe */ _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__.UiDataProvider),
|
|
283901
|
+
/* harmony export */ "UiError": () => (/* reexport safe */ _appui_abstract_utils_UiError__WEBPACK_IMPORTED_MODULE_30__.UiError),
|
|
283902
|
+
/* harmony export */ "UiEvent": () => (/* reexport safe */ _appui_abstract_utils_UiEvent__WEBPACK_IMPORTED_MODULE_32__.UiEvent),
|
|
283903
|
+
/* harmony export */ "UiEventDispatcher": () => (/* reexport safe */ _appui_abstract_utils_UiEventDispatcher__WEBPACK_IMPORTED_MODULE_31__.UiEventDispatcher),
|
|
283904
|
+
/* harmony export */ "UiLayoutDataProvider": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.UiLayoutDataProvider),
|
|
283905
|
+
/* harmony export */ "UiSyncEvent": () => (/* reexport safe */ _appui_abstract_utils_UiEventDispatcher__WEBPACK_IMPORTED_MODULE_31__.UiSyncEvent),
|
|
283906
|
+
/* harmony export */ "convertSimple2RegExpPattern": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.convertSimple2RegExpPattern),
|
|
283907
|
+
/* harmony export */ "createMatches": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.createMatches),
|
|
283908
|
+
/* harmony export */ "equalsIgnoreCase": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.equalsIgnoreCase),
|
|
283909
|
+
/* harmony export */ "fuzzyScore": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.fuzzyScore),
|
|
283910
|
+
/* harmony export */ "fuzzyScoreGraceful": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.fuzzyScoreGraceful),
|
|
283911
|
+
/* harmony export */ "fuzzyScoreGracefulAggressive": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.fuzzyScoreGracefulAggressive),
|
|
283912
|
+
/* harmony export */ "getClassName": () => (/* reexport safe */ _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_26__.getClassName),
|
|
283913
|
+
/* harmony export */ "isArrowKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__.isArrowKey),
|
|
283914
|
+
/* harmony export */ "isButtonGroupEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isButtonGroupEditorParams),
|
|
283915
|
+
/* harmony export */ "isColorEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isColorEditorParams),
|
|
283916
|
+
/* harmony export */ "isCustomFormattedNumberParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isCustomFormattedNumberParams),
|
|
283917
|
+
/* harmony export */ "isIconListEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isIconListEditorParams),
|
|
283918
|
+
/* harmony export */ "isInputEditorSizeParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isInputEditorSizeParams),
|
|
283919
|
+
/* harmony export */ "isLetter": () => (/* reexport safe */ _appui_abstract_utils_isLetter__WEBPACK_IMPORTED_MODULE_27__.isLetter),
|
|
283920
|
+
/* harmony export */ "isLowerAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.isLowerAsciiLetter),
|
|
283921
|
+
/* harmony export */ "isPatternInWord": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.isPatternInWord),
|
|
283922
|
+
/* harmony export */ "isSuppressLabelEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isSuppressLabelEditorParams),
|
|
283923
|
+
/* harmony export */ "isUpperAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.isUpperAsciiLetter),
|
|
283924
|
+
/* harmony export */ "loggerCategory": () => (/* reexport safe */ _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_26__.loggerCategory),
|
|
283925
|
+
/* harmony export */ "matchesCamelCase": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesCamelCase),
|
|
283926
|
+
/* harmony export */ "matchesContiguousSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesContiguousSubString),
|
|
283927
|
+
/* harmony export */ "matchesFuzzy": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesFuzzy),
|
|
283928
|
+
/* harmony export */ "matchesFuzzy2": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesFuzzy2),
|
|
283929
|
+
/* harmony export */ "matchesPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesPrefix),
|
|
283930
|
+
/* harmony export */ "matchesStrictPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesStrictPrefix),
|
|
283931
|
+
/* harmony export */ "matchesSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesSubString),
|
|
283932
|
+
/* harmony export */ "matchesWords": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesWords),
|
|
283933
|
+
/* harmony export */ "or": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.or),
|
|
283934
|
+
/* harmony export */ "startsWithIgnoreCase": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.startsWithIgnoreCase)
|
|
283958
283935
|
/* harmony export */ });
|
|
283959
|
-
/* harmony import */ var
|
|
283960
|
-
/* harmony import */ var
|
|
283961
|
-
/* harmony import */ var
|
|
283962
|
-
/* harmony import */ var
|
|
283963
|
-
/* harmony import */ var
|
|
283964
|
-
/* harmony import */ var
|
|
283965
|
-
/* harmony import */ var
|
|
283966
|
-
/* harmony import */ var
|
|
283967
|
-
/* harmony import */ var
|
|
283968
|
-
/* harmony import */ var
|
|
283969
|
-
/* harmony import */ var
|
|
283970
|
-
/* harmony import */ var
|
|
283971
|
-
/* harmony import */ var
|
|
283972
|
-
/* harmony import */ var
|
|
283973
|
-
/* harmony import */ var
|
|
283974
|
-
/* harmony import */ var
|
|
283975
|
-
/* harmony import */ var
|
|
283976
|
-
/* harmony import */ var
|
|
283977
|
-
/* harmony import */ var
|
|
283978
|
-
/* harmony import */ var
|
|
283979
|
-
/* harmony import */ var
|
|
283980
|
-
/* harmony import */ var
|
|
283981
|
-
/* harmony import */ var
|
|
283982
|
-
/* harmony import */ var
|
|
283983
|
-
/* harmony import */ var
|
|
283984
|
-
/* harmony import */ var
|
|
283985
|
-
/* harmony import */ var
|
|
283986
|
-
/* harmony import */ var
|
|
283987
|
-
/* harmony import */ var
|
|
283988
|
-
/* harmony import */ var
|
|
283989
|
-
/* harmony import */ var
|
|
283990
|
-
/* harmony import */ var
|
|
283991
|
-
/* harmony import */ var
|
|
283992
|
-
/* harmony import */ var
|
|
283993
|
-
/* harmony import */ var
|
|
283994
|
-
/* harmony import */ var
|
|
283995
|
-
/* harmony import */ var _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./appui-abstract/utils/misc */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/misc.js");
|
|
283996
|
-
/* harmony import */ var _appui_abstract_utils_isLetter__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./appui-abstract/utils/isLetter */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/isLetter.js");
|
|
283997
|
-
/* harmony import */ var _appui_abstract_utils_IconSpecUtilities__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./appui-abstract/utils/IconSpecUtilities */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/IconSpecUtilities.js");
|
|
283998
|
-
/* harmony import */ var _appui_abstract_utils_PointProps__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./appui-abstract/utils/PointProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/PointProps.js");
|
|
283999
|
-
/* harmony import */ var _appui_abstract_utils_UiError__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./appui-abstract/utils/UiError */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/UiError.js");
|
|
284000
|
-
/* harmony import */ var _appui_abstract_utils_UiEventDispatcher__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./appui-abstract/utils/UiEventDispatcher */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/UiEventDispatcher.js");
|
|
284001
|
-
/* harmony import */ var _appui_abstract_utils_UiEvent__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./appui-abstract/utils/UiEvent */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/UiEvent.js");
|
|
284002
|
-
/* harmony import */ var _appui_abstract_utils_filter_charCode__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./appui-abstract/utils/filter/charCode */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/filter/charCode.js");
|
|
284003
|
-
/* harmony import */ var _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./appui-abstract/utils/filter/filters */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/filter/filters.js");
|
|
284004
|
-
/* harmony import */ var _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./appui-abstract/utils/filter/strings */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/filter/strings.js");
|
|
284005
|
-
/* harmony import */ var _appui_abstract_widget_AbstractWidgetProps__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./appui-abstract/widget/AbstractWidgetProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/AbstractWidgetProps.js");
|
|
284006
|
-
/* harmony import */ var _appui_abstract_widget_StagePanel__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./appui-abstract/widget/StagePanel */ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/StagePanel.js");
|
|
284007
|
-
/* harmony import */ var _appui_abstract_widget_WidgetState__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./appui-abstract/widget/WidgetState */ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/WidgetState.js");
|
|
283936
|
+
/* harmony import */ var _appui_abstract_UiAdmin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./appui-abstract/UiAdmin */ "../../ui/appui-abstract/lib/esm/appui-abstract/UiAdmin.js");
|
|
283937
|
+
/* harmony import */ var _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./appui-abstract/common/KeyboardKey */ "../../ui/appui-abstract/lib/esm/appui-abstract/common/KeyboardKey.js");
|
|
283938
|
+
/* harmony import */ var _appui_abstract_content_ContentLayoutProps__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./appui-abstract/content/ContentLayoutProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/content/ContentLayoutProps.js");
|
|
283939
|
+
/* harmony import */ var _appui_abstract_content_StandardContentLayouts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./appui-abstract/content/StandardContentLayouts */ "../../ui/appui-abstract/lib/esm/appui-abstract/content/StandardContentLayouts.js");
|
|
283940
|
+
/* harmony import */ var _appui_abstract_dialogs_DialogItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./appui-abstract/dialogs/DialogItem */ "../../ui/appui-abstract/lib/esm/appui-abstract/dialogs/DialogItem.js");
|
|
283941
|
+
/* harmony import */ var _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./appui-abstract/dialogs/UiLayoutDataProvider */ "../../ui/appui-abstract/lib/esm/appui-abstract/dialogs/UiLayoutDataProvider.js");
|
|
283942
|
+
/* harmony import */ var _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./appui-abstract/dialogs/UiDataProvider */ "../../ui/appui-abstract/lib/esm/appui-abstract/dialogs/UiDataProvider.js");
|
|
283943
|
+
/* harmony import */ var _appui_abstract_items_AbstractItemProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./appui-abstract/items/AbstractItemProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/AbstractItemProps.js");
|
|
283944
|
+
/* harmony import */ var _appui_abstract_items_AbstractMenuItemProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./appui-abstract/items/AbstractMenuItemProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/AbstractMenuItemProps.js");
|
|
283945
|
+
/* harmony import */ var _appui_abstract_items_AbstractToolbarProps__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./appui-abstract/items/AbstractToolbarProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/AbstractToolbarProps.js");
|
|
283946
|
+
/* harmony import */ var _appui_abstract_items_BadgeType__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./appui-abstract/items/BadgeType */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/BadgeType.js");
|
|
283947
|
+
/* harmony import */ var _appui_abstract_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./appui-abstract/items/ConditionalBooleanValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalBooleanValue.js");
|
|
283948
|
+
/* harmony import */ var _appui_abstract_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./appui-abstract/items/ConditionalStringValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalStringValue.js");
|
|
283949
|
+
/* harmony import */ var _appui_abstract_items_RelativePosition__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./appui-abstract/items/RelativePosition */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/RelativePosition.js");
|
|
283950
|
+
/* harmony import */ var _appui_abstract_notification_MessagePresenter__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./appui-abstract/notification/MessagePresenter */ "../../ui/appui-abstract/lib/esm/appui-abstract/notification/MessagePresenter.js");
|
|
283951
|
+
/* harmony import */ var _appui_abstract_notification_MessageSeverity__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./appui-abstract/notification/MessageSeverity */ "../../ui/appui-abstract/lib/esm/appui-abstract/notification/MessageSeverity.js");
|
|
283952
|
+
/* harmony import */ var _appui_abstract_properties_Description__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./appui-abstract/properties/Description */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/Description.js");
|
|
283953
|
+
/* harmony import */ var _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./appui-abstract/properties/EditorParams */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/EditorParams.js");
|
|
283954
|
+
/* harmony import */ var _appui_abstract_properties_PrimitiveTypes__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./appui-abstract/properties/PrimitiveTypes */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/PrimitiveTypes.js");
|
|
283955
|
+
/* harmony import */ var _appui_abstract_properties_Record__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./appui-abstract/properties/Record */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/Record.js");
|
|
283956
|
+
/* harmony import */ var _appui_abstract_properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./appui-abstract/properties/StandardEditorNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardEditorNames.js");
|
|
283957
|
+
/* harmony import */ var _appui_abstract_properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./appui-abstract/properties/StandardTypeNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardTypeNames.js");
|
|
283958
|
+
/* harmony import */ var _appui_abstract_properties_Value__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./appui-abstract/properties/Value */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/Value.js");
|
|
283959
|
+
/* harmony import */ var _appui_abstract_quantity_BaseQuantityDescription__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./appui-abstract/quantity/BaseQuantityDescription */ "../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js");
|
|
283960
|
+
/* harmony import */ var _appui_abstract_toolbars_ToolbarItem__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./appui-abstract/toolbars/ToolbarItem */ "../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItem.js");
|
|
283961
|
+
/* harmony import */ var _appui_abstract_utils_callbacks__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./appui-abstract/utils/callbacks */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/callbacks.js");
|
|
283962
|
+
/* harmony import */ var _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./appui-abstract/utils/misc */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/misc.js");
|
|
283963
|
+
/* harmony import */ var _appui_abstract_utils_isLetter__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./appui-abstract/utils/isLetter */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/isLetter.js");
|
|
283964
|
+
/* harmony import */ var _appui_abstract_utils_IconSpecUtilities__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./appui-abstract/utils/IconSpecUtilities */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/IconSpecUtilities.js");
|
|
283965
|
+
/* harmony import */ var _appui_abstract_utils_PointProps__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./appui-abstract/utils/PointProps */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/PointProps.js");
|
|
283966
|
+
/* harmony import */ var _appui_abstract_utils_UiError__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./appui-abstract/utils/UiError */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/UiError.js");
|
|
283967
|
+
/* harmony import */ var _appui_abstract_utils_UiEventDispatcher__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./appui-abstract/utils/UiEventDispatcher */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/UiEventDispatcher.js");
|
|
283968
|
+
/* harmony import */ var _appui_abstract_utils_UiEvent__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./appui-abstract/utils/UiEvent */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/UiEvent.js");
|
|
283969
|
+
/* harmony import */ var _appui_abstract_utils_filter_charCode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./appui-abstract/utils/filter/charCode */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/filter/charCode.js");
|
|
283970
|
+
/* harmony import */ var _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./appui-abstract/utils/filter/filters */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/filter/filters.js");
|
|
283971
|
+
/* harmony import */ var _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./appui-abstract/utils/filter/strings */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/filter/strings.js");
|
|
284008
283972
|
/*---------------------------------------------------------------------------------------------
|
|
284009
283973
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
284010
283974
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -284029,21 +283993,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
284029
283993
|
|
|
284030
283994
|
|
|
284031
283995
|
|
|
284032
|
-
|
|
284033
|
-
|
|
284034
|
-
|
|
284035
|
-
|
|
284036
|
-
|
|
284037
|
-
|
|
284038
|
-
|
|
284039
|
-
|
|
284040
|
-
|
|
284041
|
-
|
|
284042
|
-
|
|
284043
|
-
|
|
284044
|
-
|
|
284045
|
-
|
|
284046
|
-
|
|
284047
283996
|
|
|
284048
283997
|
|
|
284049
283998
|
|
|
@@ -284064,10 +284013,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
284064
284013
|
* The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.
|
|
284065
284014
|
* For more information, see [learning about appui-abstract]($docs/learning/ui/abstract/index.md).
|
|
284066
284015
|
*/
|
|
284067
|
-
/**
|
|
284068
|
-
* @docs-group-description Backstage
|
|
284069
|
-
* Abstractions used by appui-react package to create and manage the display Backstage menu items.
|
|
284070
|
-
*/
|
|
284071
284016
|
/**
|
|
284072
284017
|
* @docs-group-description ContentView
|
|
284073
284018
|
* Classes and interfaces used with Content Layouts.
|
|
@@ -284088,10 +284033,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
284088
284033
|
* @docs-group-description Properties
|
|
284089
284034
|
* Properties system for data input and formatting.
|
|
284090
284035
|
*/
|
|
284091
|
-
/**
|
|
284092
|
-
* @docs-group-description StatusBar
|
|
284093
|
-
* Classes for creating and managing items in the status bar.
|
|
284094
|
-
*/
|
|
284095
284036
|
/**
|
|
284096
284037
|
* @docs-group-description Toolbar
|
|
284097
284038
|
* Classes for creating and managing items in a toolbar.
|
|
@@ -284100,110 +284041,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
284100
284041
|
* @docs-group-description UiAdmin
|
|
284101
284042
|
* Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.
|
|
284102
284043
|
*/
|
|
284103
|
-
/**
|
|
284104
|
-
* @docs-group-description UiItemsProvider
|
|
284105
|
-
* Interface for specifying UI items to be inserted at runtime.
|
|
284106
|
-
*/
|
|
284107
284044
|
/**
|
|
284108
284045
|
* @docs-group-description Utilities
|
|
284109
284046
|
* Various utility classes for working with a UI.
|
|
284110
284047
|
*/
|
|
284111
|
-
/**
|
|
284112
|
-
* @docs-group-description Widget
|
|
284113
|
-
* Classes for creating and providing Widgets.
|
|
284114
|
-
*/
|
|
284115
|
-
|
|
284116
|
-
|
|
284117
|
-
/***/ }),
|
|
284118
|
-
|
|
284119
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/BaseUiItemsProvider.js":
|
|
284120
|
-
/*!*****************************************************************************!*\
|
|
284121
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/BaseUiItemsProvider.js ***!
|
|
284122
|
-
\*****************************************************************************/
|
|
284123
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
284124
|
-
|
|
284125
|
-
"use strict";
|
|
284126
|
-
__webpack_require__.r(__webpack_exports__);
|
|
284127
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
284128
|
-
/* harmony export */ "BaseUiItemsProvider": () => (/* binding */ BaseUiItemsProvider)
|
|
284129
|
-
/* harmony export */ });
|
|
284130
|
-
/* harmony import */ var _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./items/StageUsage */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/StageUsage.js");
|
|
284131
|
-
/* harmony import */ var _UiItemsManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UiItemsManager */ "../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsManager.js");
|
|
284132
|
-
/*---------------------------------------------------------------------------------------------
|
|
284133
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
284134
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
284135
|
-
*--------------------------------------------------------------------------------------------*/
|
|
284136
|
-
/* eslint-disable deprecation/deprecation */
|
|
284137
|
-
/** @packageDocumentation
|
|
284138
|
-
* @module UiItemsProvider
|
|
284139
|
-
*/
|
|
284140
|
-
|
|
284141
|
-
|
|
284142
|
-
/** Base implementation of a UiItemsProvider. The base class allows the user to pass in a function that is used to determine if the
|
|
284143
|
-
* active stage should be provided items. Derived provider classes should override the `xxxInternal` methods to provide items.
|
|
284144
|
-
* @deprecated in 3.6. Use [BaseUiItemsProvider]($appui-react) instead.
|
|
284145
|
-
* @public
|
|
284146
|
-
*/
|
|
284147
|
-
class BaseUiItemsProvider {
|
|
284148
|
-
/*
|
|
284149
|
-
* @param providerId - unique identifier for this instance of the provider. This is required in case separate packages want
|
|
284150
|
-
* to set up custom stage with their own subset of standard tools.
|
|
284151
|
-
* @param isSupportedStage - optional function that will be called to determine if tools should be added to current stage. If not set and
|
|
284152
|
-
* the current stage's `usage` is set to `StageUsage.General` then the provider will add items to frontstage.
|
|
284153
|
-
*/
|
|
284154
|
-
constructor(_providerId, isSupportedStage) {
|
|
284155
|
-
this._providerId = _providerId;
|
|
284156
|
-
this.isSupportedStage = isSupportedStage;
|
|
284157
|
-
}
|
|
284158
|
-
get id() { return this._providerId; }
|
|
284159
|
-
onUnregister() { }
|
|
284160
|
-
unregister() {
|
|
284161
|
-
_UiItemsManager__WEBPACK_IMPORTED_MODULE_1__.UiItemsManager.unregister(this._providerId);
|
|
284162
|
-
}
|
|
284163
|
-
/** Backstage items are not stage specific so no callback is used */
|
|
284164
|
-
provideBackstageItems() {
|
|
284165
|
-
return [];
|
|
284166
|
-
}
|
|
284167
|
-
provideToolbarButtonItemsInternal(_stageId, _stageUsage, _toolbarUsage, _toolbarOrientation, _stageAppData) {
|
|
284168
|
-
return [];
|
|
284169
|
-
}
|
|
284170
|
-
provideToolbarButtonItems(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData) {
|
|
284171
|
-
let provideToStage = false;
|
|
284172
|
-
if (this.isSupportedStage) {
|
|
284173
|
-
provideToStage = this.isSupportedStage(stageId, stageUsage, stageAppData, this);
|
|
284174
|
-
}
|
|
284175
|
-
else {
|
|
284176
|
-
provideToStage = (stageUsage === _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__.StageUsage.General);
|
|
284177
|
-
}
|
|
284178
|
-
return provideToStage ? this.provideToolbarButtonItemsInternal(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData) : [];
|
|
284179
|
-
}
|
|
284180
|
-
provideStatusBarItemsInternal(_stageId, _stageUsage, _stageAppData) {
|
|
284181
|
-
return [];
|
|
284182
|
-
}
|
|
284183
|
-
provideStatusBarItems(stageId, stageUsage, stageAppData) {
|
|
284184
|
-
let provideToStage = false;
|
|
284185
|
-
if (this.isSupportedStage) {
|
|
284186
|
-
provideToStage = this.isSupportedStage(stageId, stageUsage, stageAppData, this);
|
|
284187
|
-
}
|
|
284188
|
-
else {
|
|
284189
|
-
provideToStage = (stageUsage === _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__.StageUsage.General);
|
|
284190
|
-
}
|
|
284191
|
-
return provideToStage ? this.provideStatusBarItemsInternal(stageId, stageUsage, stageAppData) : [];
|
|
284192
|
-
}
|
|
284193
|
-
provideWidgetsInternal(_stageId, _stageUsage, _location, _section, _zoneLocation, _stageAppData) {
|
|
284194
|
-
return [];
|
|
284195
|
-
}
|
|
284196
|
-
provideWidgets(stageId, stageUsage, location, section, _zoneLocation, stageAppData) {
|
|
284197
|
-
let provideToStage = false;
|
|
284198
|
-
if (this.isSupportedStage) {
|
|
284199
|
-
provideToStage = this.isSupportedStage(stageId, stageUsage, stageAppData, this);
|
|
284200
|
-
}
|
|
284201
|
-
else {
|
|
284202
|
-
provideToStage = (stageUsage === _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__.StageUsage.General);
|
|
284203
|
-
}
|
|
284204
|
-
return provideToStage ? this.provideWidgetsInternal(stageId, stageUsage, location, section, _zoneLocation, stageAppData) : [];
|
|
284205
|
-
}
|
|
284206
|
-
}
|
|
284207
284048
|
|
|
284208
284049
|
|
|
284209
284050
|
/***/ }),
|
|
@@ -284445,464 +284286,6 @@ UiAdmin.onGenericUiEvent = new GenericUiEvent();
|
|
|
284445
284286
|
|
|
284446
284287
|
|
|
284447
284288
|
|
|
284448
|
-
/***/ }),
|
|
284449
|
-
|
|
284450
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsManager.js":
|
|
284451
|
-
/*!************************************************************************!*\
|
|
284452
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsManager.js ***!
|
|
284453
|
-
\************************************************************************/
|
|
284454
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
284455
|
-
|
|
284456
|
-
"use strict";
|
|
284457
|
-
__webpack_require__.r(__webpack_exports__);
|
|
284458
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
284459
|
-
/* harmony export */ "UiItemsApplicationAction": () => (/* binding */ UiItemsApplicationAction),
|
|
284460
|
-
/* harmony export */ "UiItemsManager": () => (/* binding */ UiItemsManager)
|
|
284461
|
-
/* harmony export */ });
|
|
284462
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
284463
|
-
/* harmony import */ var _utils_misc__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/misc */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/misc.js");
|
|
284464
|
-
/*---------------------------------------------------------------------------------------------
|
|
284465
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
284466
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
284467
|
-
*--------------------------------------------------------------------------------------------*/
|
|
284468
|
-
/* eslint-disable deprecation/deprecation */
|
|
284469
|
-
/** @packageDocumentation
|
|
284470
|
-
* @module UiItemsProvider
|
|
284471
|
-
*/
|
|
284472
|
-
|
|
284473
|
-
|
|
284474
|
-
/** Action taken by the application on item provided by a UiItemsProvider
|
|
284475
|
-
* @public @deprecated in 3.2. This was only used by the previously removed UiItemsArbiter.
|
|
284476
|
-
*/
|
|
284477
|
-
var UiItemsApplicationAction;
|
|
284478
|
-
(function (UiItemsApplicationAction) {
|
|
284479
|
-
/** Allow the change to the item */
|
|
284480
|
-
UiItemsApplicationAction[UiItemsApplicationAction["Allow"] = 0] = "Allow";
|
|
284481
|
-
/** Disallow the change to the item */
|
|
284482
|
-
UiItemsApplicationAction[UiItemsApplicationAction["Disallow"] = 1] = "Disallow";
|
|
284483
|
-
/** Update the item during the change */
|
|
284484
|
-
UiItemsApplicationAction[UiItemsApplicationAction["Update"] = 2] = "Update";
|
|
284485
|
-
})(UiItemsApplicationAction || (UiItemsApplicationAction = {}));
|
|
284486
|
-
/** Controls registering of UiItemsProviders and calls the provider's methods when populating different parts of the User Interface.
|
|
284487
|
-
* @deprecated in 3.6. Use [UiItemsManager]($appui-react) instead.
|
|
284488
|
-
* @public
|
|
284489
|
-
*/
|
|
284490
|
-
class UiItemsManager {
|
|
284491
|
-
/** For use in unit testing
|
|
284492
|
-
* @internal */
|
|
284493
|
-
static clearAllProviders() {
|
|
284494
|
-
UiItemsManager._registeredUiItemsProviders.clear();
|
|
284495
|
-
}
|
|
284496
|
-
/** Return number of registered UiProvider. */
|
|
284497
|
-
static get registeredProviderIds() {
|
|
284498
|
-
const ids = [...UiItemsManager._registeredUiItemsProviders.keys()];
|
|
284499
|
-
return ids;
|
|
284500
|
-
}
|
|
284501
|
-
/** Return true if there is any registered UiProvider. */
|
|
284502
|
-
static get hasRegisteredProviders() {
|
|
284503
|
-
return this._registeredUiItemsProviders.size > 0;
|
|
284504
|
-
}
|
|
284505
|
-
/**
|
|
284506
|
-
* Retrieves a previously loaded UiItemsProvider.
|
|
284507
|
-
* @param providerId id of the UiItemsProvider to get
|
|
284508
|
-
*/
|
|
284509
|
-
static getUiItemsProvider(providerId) {
|
|
284510
|
-
return UiItemsManager._registeredUiItemsProviders.get(providerId)?.provider;
|
|
284511
|
-
}
|
|
284512
|
-
static sendRegisteredEvent(ev) {
|
|
284513
|
-
UiItemsManager.onUiProviderRegisteredEvent.raiseEvent(ev);
|
|
284514
|
-
}
|
|
284515
|
-
/**
|
|
284516
|
-
* Registers a UiItemsProvider with the UiItemsManager.
|
|
284517
|
-
* @param uiProvider the UI items provider to register.
|
|
284518
|
-
*/
|
|
284519
|
-
static register(uiProvider, overrides) {
|
|
284520
|
-
const providerId = overrides?.providerId ?? uiProvider.id;
|
|
284521
|
-
if (UiItemsManager.getUiItemsProvider(providerId)) {
|
|
284522
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logInfo((0,_utils_misc__WEBPACK_IMPORTED_MODULE_1__.loggerCategory)(this), `UiItemsProvider (${providerId}) is already loaded`);
|
|
284523
|
-
}
|
|
284524
|
-
else {
|
|
284525
|
-
UiItemsManager._registeredUiItemsProviders.set(providerId, { provider: uiProvider, overrides });
|
|
284526
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logInfo((0,_utils_misc__WEBPACK_IMPORTED_MODULE_1__.loggerCategory)(this), `UiItemsProvider ${uiProvider.id} registered as ${providerId} `);
|
|
284527
|
-
UiItemsManager.sendRegisteredEvent({ providerId });
|
|
284528
|
-
}
|
|
284529
|
-
}
|
|
284530
|
-
/** Remove a specific UiItemsProvider from the list of available providers. */
|
|
284531
|
-
static unregister(uiProviderId) {
|
|
284532
|
-
const provider = UiItemsManager.getUiItemsProvider(uiProviderId);
|
|
284533
|
-
if (!provider)
|
|
284534
|
-
return;
|
|
284535
|
-
provider.onUnregister && provider.onUnregister();
|
|
284536
|
-
UiItemsManager._registeredUiItemsProviders.delete(uiProviderId);
|
|
284537
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logInfo((0,_utils_misc__WEBPACK_IMPORTED_MODULE_1__.loggerCategory)(this), `UiItemsProvider (${uiProviderId}) unloaded`);
|
|
284538
|
-
// trigger a refresh of the ui
|
|
284539
|
-
UiItemsManager.sendRegisteredEvent({ providerId: uiProviderId });
|
|
284540
|
-
}
|
|
284541
|
-
static allowItemsFromProvider(entry, stageId, stageUsage) {
|
|
284542
|
-
// istanbul ignore else
|
|
284543
|
-
const overrides = entry.overrides;
|
|
284544
|
-
if (undefined !== stageId && overrides?.stageIds && !(overrides.stageIds.some((value) => value === stageId)))
|
|
284545
|
-
return false;
|
|
284546
|
-
if (undefined !== stageUsage && overrides?.stageUsages && !(overrides.stageUsages.some((value) => value === stageUsage)))
|
|
284547
|
-
return false;
|
|
284548
|
-
return true;
|
|
284549
|
-
}
|
|
284550
|
-
/** Called when the application is populating a toolbar so that any registered UiItemsProvider can add tool buttons that either either execute
|
|
284551
|
-
* an action or specify a registered ToolId into toolbar.
|
|
284552
|
-
* @param stageId a string identifier the active stage.
|
|
284553
|
-
* @param stageUsage the StageUsage of the active stage.
|
|
284554
|
-
* @param toolbarUsage usage of the toolbar
|
|
284555
|
-
* @param toolbarOrientation orientation of the toolbar
|
|
284556
|
-
* @returns an array of error messages. The array will be empty if the load is successful, otherwise it is a list of one or more problems.
|
|
284557
|
-
*/
|
|
284558
|
-
static getToolbarButtonItems(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData) {
|
|
284559
|
-
const buttonItems = [];
|
|
284560
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
284561
|
-
return buttonItems;
|
|
284562
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
284563
|
-
const uiProvider = entry.provider;
|
|
284564
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
284565
|
-
// istanbul ignore else
|
|
284566
|
-
if (uiProvider.provideToolbarButtonItems && this.allowItemsFromProvider(entry, stageId, stageUsage)) {
|
|
284567
|
-
uiProvider.provideToolbarButtonItems(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData)
|
|
284568
|
-
.forEach((spec) => {
|
|
284569
|
-
// ignore duplicate ids
|
|
284570
|
-
if (-1 === buttonItems.findIndex((existingItem) => spec.id === existingItem.id))
|
|
284571
|
-
buttonItems.push({ ...spec, providerId });
|
|
284572
|
-
});
|
|
284573
|
-
}
|
|
284574
|
-
});
|
|
284575
|
-
return buttonItems;
|
|
284576
|
-
}
|
|
284577
|
-
/** Called when the application is populating the statusbar so that any registered UiItemsProvider can add status fields
|
|
284578
|
-
* @param stageId a string identifier the active stage.
|
|
284579
|
-
* @param stageUsage the StageUsage of the active stage.
|
|
284580
|
-
* @returns An array of CommonStatusBarItem that will be used to create controls for the status bar.
|
|
284581
|
-
*/
|
|
284582
|
-
static getStatusBarItems(stageId, stageUsage, stageAppData) {
|
|
284583
|
-
const statusBarItems = [];
|
|
284584
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
284585
|
-
return statusBarItems;
|
|
284586
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
284587
|
-
const uiProvider = entry.provider;
|
|
284588
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
284589
|
-
// istanbul ignore else
|
|
284590
|
-
if (uiProvider.provideStatusBarItems && this.allowItemsFromProvider(entry, stageId, stageUsage)) {
|
|
284591
|
-
uiProvider.provideStatusBarItems(stageId, stageUsage, stageAppData)
|
|
284592
|
-
.forEach((item) => {
|
|
284593
|
-
// ignore duplicate ids
|
|
284594
|
-
if (-1 === statusBarItems.findIndex((existingItem) => item.id === existingItem.id))
|
|
284595
|
-
statusBarItems.push({ ...item, providerId });
|
|
284596
|
-
});
|
|
284597
|
-
}
|
|
284598
|
-
});
|
|
284599
|
-
return statusBarItems;
|
|
284600
|
-
}
|
|
284601
|
-
/** Called when the application is populating the statusbar so that any registered UiItemsProvider can add status fields
|
|
284602
|
-
* @returns An array of BackstageItem that will be used to create controls for the backstage menu.
|
|
284603
|
-
*/
|
|
284604
|
-
static getBackstageItems() {
|
|
284605
|
-
const backstageItems = [];
|
|
284606
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
284607
|
-
return backstageItems;
|
|
284608
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
284609
|
-
const uiProvider = entry.provider;
|
|
284610
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
284611
|
-
// istanbul ignore else
|
|
284612
|
-
if (uiProvider.provideBackstageItems) { // Note: We do not call this.allowItemsFromProvider here as backstage items
|
|
284613
|
-
uiProvider.provideBackstageItems() // should not be considered stage specific. If they need to be hidden
|
|
284614
|
-
.forEach((item) => {
|
|
284615
|
-
// ignore duplicate ids
|
|
284616
|
-
if (-1 === backstageItems.findIndex((existingItem) => item.id === existingItem.id))
|
|
284617
|
-
backstageItems.push({ ...item, providerId });
|
|
284618
|
-
});
|
|
284619
|
-
}
|
|
284620
|
-
});
|
|
284621
|
-
return backstageItems;
|
|
284622
|
-
}
|
|
284623
|
-
/** Called when the application is populating the Stage Panels so that any registered UiItemsProvider can add widgets
|
|
284624
|
-
* @param stageId a string identifier the active stage.
|
|
284625
|
-
* @param stageUsage the StageUsage of the active stage.
|
|
284626
|
-
* @param location the location within the stage.
|
|
284627
|
-
* @param section the section within location.
|
|
284628
|
-
* @returns An array of AbstractWidgetProps that will be used to create widgets.
|
|
284629
|
-
*/
|
|
284630
|
-
static getWidgets(stageId, stageUsage, location, section, zoneLocation, stageAppData) {
|
|
284631
|
-
const widgets = [];
|
|
284632
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
284633
|
-
return widgets;
|
|
284634
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
284635
|
-
const uiProvider = entry.provider;
|
|
284636
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
284637
|
-
// istanbul ignore else
|
|
284638
|
-
if (uiProvider.provideWidgets && this.allowItemsFromProvider(entry, stageId, stageUsage)) {
|
|
284639
|
-
uiProvider.provideWidgets(stageId, stageUsage, location, section, zoneLocation, stageAppData)
|
|
284640
|
-
.forEach((widget) => {
|
|
284641
|
-
// ignore duplicate ids
|
|
284642
|
-
if (-1 === widgets.findIndex((existingItem) => widget.id === existingItem.id))
|
|
284643
|
-
widgets.push({ ...widget, providerId });
|
|
284644
|
-
});
|
|
284645
|
-
}
|
|
284646
|
-
});
|
|
284647
|
-
return widgets;
|
|
284648
|
-
}
|
|
284649
|
-
}
|
|
284650
|
-
UiItemsManager._registeredUiItemsProviders = new Map();
|
|
284651
|
-
/** Event raised any time a UiProvider is registered or unregistered. */
|
|
284652
|
-
UiItemsManager.onUiProviderRegisteredEvent = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
284653
|
-
|
|
284654
|
-
|
|
284655
|
-
|
|
284656
|
-
/***/ }),
|
|
284657
|
-
|
|
284658
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsProvider.js":
|
|
284659
|
-
/*!*************************************************************************!*\
|
|
284660
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsProvider.js ***!
|
|
284661
|
-
\*************************************************************************/
|
|
284662
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
284663
|
-
|
|
284664
|
-
"use strict";
|
|
284665
|
-
__webpack_require__.r(__webpack_exports__);
|
|
284666
|
-
/*---------------------------------------------------------------------------------------------
|
|
284667
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
284668
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
284669
|
-
*--------------------------------------------------------------------------------------------*/
|
|
284670
|
-
/** @packageDocumentation
|
|
284671
|
-
* @module UiItemsProvider
|
|
284672
|
-
*/
|
|
284673
|
-
|
|
284674
|
-
|
|
284675
|
-
|
|
284676
|
-
/***/ }),
|
|
284677
|
-
|
|
284678
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItem.js":
|
|
284679
|
-
/*!*********************************************************************************!*\
|
|
284680
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItem.js ***!
|
|
284681
|
-
\*********************************************************************************/
|
|
284682
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
284683
|
-
|
|
284684
|
-
"use strict";
|
|
284685
|
-
__webpack_require__.r(__webpack_exports__);
|
|
284686
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
284687
|
-
/* harmony export */ "BackstageItemType": () => (/* binding */ BackstageItemType),
|
|
284688
|
-
/* harmony export */ "BackstageItemUtilities": () => (/* binding */ BackstageItemUtilities),
|
|
284689
|
-
/* harmony export */ "isActionItem": () => (/* binding */ isActionItem),
|
|
284690
|
-
/* harmony export */ "isStageLauncher": () => (/* binding */ isStageLauncher)
|
|
284691
|
-
/* harmony export */ });
|
|
284692
|
-
/*---------------------------------------------------------------------------------------------
|
|
284693
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
284694
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
284695
|
-
*--------------------------------------------------------------------------------------------*/
|
|
284696
|
-
/** @packageDocumentation
|
|
284697
|
-
* @module Backstage
|
|
284698
|
-
*/
|
|
284699
|
-
/** Used to specify the item type added to the backstage menu.
|
|
284700
|
-
* @deprecated in 3.6. Use type guards instead.
|
|
284701
|
-
* @public
|
|
284702
|
-
*/
|
|
284703
|
-
var BackstageItemType;
|
|
284704
|
-
(function (BackstageItemType) {
|
|
284705
|
-
/** Item that executes an action function */
|
|
284706
|
-
BackstageItemType[BackstageItemType["ActionItem"] = 1] = "ActionItem";
|
|
284707
|
-
/** Item that activate a stage. */
|
|
284708
|
-
BackstageItemType[BackstageItemType["StageLauncher"] = 2] = "StageLauncher";
|
|
284709
|
-
})(BackstageItemType || (BackstageItemType = {}));
|
|
284710
|
-
/** BackstageActionItem type guard.
|
|
284711
|
-
* @deprecated in 3.6. Use [isBackstageActionItem]($appui-react) instead.
|
|
284712
|
-
* @public
|
|
284713
|
-
*/
|
|
284714
|
-
const isActionItem = (item) => {
|
|
284715
|
-
return item.execute !== undefined; // eslint-disable-line deprecation/deprecation
|
|
284716
|
-
};
|
|
284717
|
-
/** BackstageStageLauncher type guard.
|
|
284718
|
-
* @deprecated in 3.6. Use [isBackstageStageLauncher]($appui-react) instead.
|
|
284719
|
-
* @public
|
|
284720
|
-
*/
|
|
284721
|
-
const isStageLauncher = (item) => {
|
|
284722
|
-
return item.stageId !== undefined; // eslint-disable-line deprecation/deprecation
|
|
284723
|
-
};
|
|
284724
|
-
/** Utilities for creating and maintaining backstage items
|
|
284725
|
-
* @deprecated in 3.6. Use [BackstageItemUtilities]($appui-react) instead.
|
|
284726
|
-
* @public
|
|
284727
|
-
*/
|
|
284728
|
-
class BackstageItemUtilities {
|
|
284729
|
-
}
|
|
284730
|
-
/** Creates a stage launcher backstage item */
|
|
284731
|
-
BackstageItemUtilities.createStageLauncher = (frontstageId, groupPriority, itemPriority, label, subtitle, icon, overrides // eslint-disable-line deprecation/deprecation
|
|
284732
|
-
) => ({
|
|
284733
|
-
groupPriority,
|
|
284734
|
-
icon,
|
|
284735
|
-
internalData: overrides?.internalData,
|
|
284736
|
-
id: frontstageId,
|
|
284737
|
-
itemPriority,
|
|
284738
|
-
label,
|
|
284739
|
-
stageId: frontstageId,
|
|
284740
|
-
subtitle,
|
|
284741
|
-
...overrides,
|
|
284742
|
-
});
|
|
284743
|
-
/** Creates an action backstage item */
|
|
284744
|
-
BackstageItemUtilities.createActionItem = (itemId, groupPriority, itemPriority, execute, label, subtitle, icon, overrides // eslint-disable-line deprecation/deprecation
|
|
284745
|
-
) => ({
|
|
284746
|
-
execute,
|
|
284747
|
-
groupPriority,
|
|
284748
|
-
icon,
|
|
284749
|
-
internalData: overrides?.internalData,
|
|
284750
|
-
id: itemId,
|
|
284751
|
-
itemPriority,
|
|
284752
|
-
label,
|
|
284753
|
-
subtitle,
|
|
284754
|
-
...overrides,
|
|
284755
|
-
});
|
|
284756
|
-
|
|
284757
|
-
|
|
284758
|
-
|
|
284759
|
-
/***/ }),
|
|
284760
|
-
|
|
284761
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItemsManager.js":
|
|
284762
|
-
/*!*****************************************************************************************!*\
|
|
284763
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItemsManager.js ***!
|
|
284764
|
-
\*****************************************************************************************/
|
|
284765
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
284766
|
-
|
|
284767
|
-
"use strict";
|
|
284768
|
-
__webpack_require__.r(__webpack_exports__);
|
|
284769
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
284770
|
-
/* harmony export */ "BackstageItemsManager": () => (/* binding */ BackstageItemsManager)
|
|
284771
|
-
/* harmony export */ });
|
|
284772
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
284773
|
-
/* harmony import */ var _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../items/ConditionalBooleanValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalBooleanValue.js");
|
|
284774
|
-
/* harmony import */ var _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../items/ConditionalStringValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalStringValue.js");
|
|
284775
|
-
/*---------------------------------------------------------------------------------------------
|
|
284776
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
284777
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
284778
|
-
*--------------------------------------------------------------------------------------------*/
|
|
284779
|
-
/** @packageDocumentation
|
|
284780
|
-
* @module Backstage
|
|
284781
|
-
*/
|
|
284782
|
-
|
|
284783
|
-
|
|
284784
|
-
|
|
284785
|
-
const isInstance = (args) => {
|
|
284786
|
-
return !Array.isArray(args);
|
|
284787
|
-
};
|
|
284788
|
-
/**
|
|
284789
|
-
* Controls backstage items.
|
|
284790
|
-
* @internal
|
|
284791
|
-
*/
|
|
284792
|
-
class BackstageItemsManager {
|
|
284793
|
-
constructor(items) {
|
|
284794
|
-
this._items = [];
|
|
284795
|
-
/** Event raised when backstage items are changed.
|
|
284796
|
-
* @internal
|
|
284797
|
-
*/
|
|
284798
|
-
this.onItemsChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
284799
|
-
// istanbul ignore else
|
|
284800
|
-
if (items)
|
|
284801
|
-
this.loadItemsInternal(items, true, false);
|
|
284802
|
-
}
|
|
284803
|
-
loadItemsInternal(items, processConditions, sendItemChanged) {
|
|
284804
|
-
if (processConditions && items) {
|
|
284805
|
-
const eventIds = BackstageItemsManager.getSyncIdsOfInterest(items);
|
|
284806
|
-
if (0 !== eventIds.length) {
|
|
284807
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(items, new Set(eventIds));
|
|
284808
|
-
// istanbul ignore else
|
|
284809
|
-
if (itemsUpdated)
|
|
284810
|
-
items = updatedItems;
|
|
284811
|
-
}
|
|
284812
|
-
}
|
|
284813
|
-
this._items = items;
|
|
284814
|
-
if (sendItemChanged)
|
|
284815
|
-
this.onItemsChanged.raiseEvent({ items });
|
|
284816
|
-
}
|
|
284817
|
-
/** load items but do not fire onItemsChanged
|
|
284818
|
-
* @internal
|
|
284819
|
-
*/
|
|
284820
|
-
loadItems(items) {
|
|
284821
|
-
this.loadItemsInternal(items, true, false);
|
|
284822
|
-
}
|
|
284823
|
-
get items() {
|
|
284824
|
-
return this._items;
|
|
284825
|
-
}
|
|
284826
|
-
set items(items) {
|
|
284827
|
-
// istanbul ignore else
|
|
284828
|
-
if (items !== this._items)
|
|
284829
|
-
this.loadItemsInternal(items, true, true);
|
|
284830
|
-
}
|
|
284831
|
-
/** @internal */
|
|
284832
|
-
add(itemOrItems) {
|
|
284833
|
-
let itemsToAdd;
|
|
284834
|
-
if (isInstance(itemOrItems))
|
|
284835
|
-
itemsToAdd = [itemOrItems];
|
|
284836
|
-
else {
|
|
284837
|
-
itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);
|
|
284838
|
-
}
|
|
284839
|
-
itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);
|
|
284840
|
-
if (itemsToAdd.length === 0)
|
|
284841
|
-
return;
|
|
284842
|
-
const items = [
|
|
284843
|
-
...this._items,
|
|
284844
|
-
...itemsToAdd,
|
|
284845
|
-
];
|
|
284846
|
-
this.items = items;
|
|
284847
|
-
}
|
|
284848
|
-
/** @internal */
|
|
284849
|
-
remove(itemIdOrItemIds) {
|
|
284850
|
-
const items = this._items.filter((item) => {
|
|
284851
|
-
return isInstance(itemIdOrItemIds) ? item.id !== itemIdOrItemIds : !itemIdOrItemIds.find((itemId) => itemId === item.id);
|
|
284852
|
-
});
|
|
284853
|
-
this.items = items;
|
|
284854
|
-
}
|
|
284855
|
-
/** @internal */
|
|
284856
|
-
static getSyncIdsOfInterest(items) {
|
|
284857
|
-
const eventIds = new Set();
|
|
284858
|
-
items.forEach((item) => {
|
|
284859
|
-
for (const [, entry] of Object.entries(item)) {
|
|
284860
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
284861
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
284862
|
-
}
|
|
284863
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
284864
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
284865
|
-
}
|
|
284866
|
-
}
|
|
284867
|
-
});
|
|
284868
|
-
return [...eventIds.values()];
|
|
284869
|
-
}
|
|
284870
|
-
internalRefreshAffectedItems(items, eventIds) {
|
|
284871
|
-
// istanbul ignore next
|
|
284872
|
-
if (0 === eventIds.size)
|
|
284873
|
-
return { itemsUpdated: false, updatedItems: [] };
|
|
284874
|
-
let updateRequired = false;
|
|
284875
|
-
const newItems = [];
|
|
284876
|
-
for (const item of items) {
|
|
284877
|
-
const updatedItem = { ...item };
|
|
284878
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
284879
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
284880
|
-
// istanbul ignore else
|
|
284881
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
284882
|
-
updateRequired = true;
|
|
284883
|
-
}
|
|
284884
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
284885
|
-
// istanbul ignore else
|
|
284886
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
284887
|
-
updateRequired = true;
|
|
284888
|
-
}
|
|
284889
|
-
}
|
|
284890
|
-
newItems.push(updatedItem);
|
|
284891
|
-
}
|
|
284892
|
-
return { itemsUpdated: updateRequired, updatedItems: newItems };
|
|
284893
|
-
}
|
|
284894
|
-
refreshAffectedItems(eventIds) {
|
|
284895
|
-
// istanbul ignore next
|
|
284896
|
-
if (0 === eventIds.size)
|
|
284897
|
-
return;
|
|
284898
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);
|
|
284899
|
-
// istanbul ignore else
|
|
284900
|
-
if (itemsUpdated)
|
|
284901
|
-
this.loadItemsInternal(updatedItems, false, true);
|
|
284902
|
-
}
|
|
284903
|
-
}
|
|
284904
|
-
|
|
284905
|
-
|
|
284906
284289
|
/***/ }),
|
|
284907
284290
|
|
|
284908
284291
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/common/KeyboardKey.js":
|
|
@@ -285708,26 +285091,6 @@ class ConditionalStringValue {
|
|
|
285708
285091
|
}
|
|
285709
285092
|
|
|
285710
285093
|
|
|
285711
|
-
/***/ }),
|
|
285712
|
-
|
|
285713
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ProvidedItem.js":
|
|
285714
|
-
/*!****************************************************************************!*\
|
|
285715
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/items/ProvidedItem.js ***!
|
|
285716
|
-
\****************************************************************************/
|
|
285717
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
285718
|
-
|
|
285719
|
-
"use strict";
|
|
285720
|
-
__webpack_require__.r(__webpack_exports__);
|
|
285721
|
-
/*---------------------------------------------------------------------------------------------
|
|
285722
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
285723
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
285724
|
-
*--------------------------------------------------------------------------------------------*/
|
|
285725
|
-
/** @packageDocumentation
|
|
285726
|
-
* @module Item
|
|
285727
|
-
*/
|
|
285728
|
-
|
|
285729
|
-
|
|
285730
|
-
|
|
285731
285094
|
/***/ }),
|
|
285732
285095
|
|
|
285733
285096
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/items/RelativePosition.js":
|
|
@@ -285766,42 +285129,6 @@ var RelativePosition;
|
|
|
285766
285129
|
})(RelativePosition || (RelativePosition = {}));
|
|
285767
285130
|
|
|
285768
285131
|
|
|
285769
|
-
/***/ }),
|
|
285770
|
-
|
|
285771
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/items/StageUsage.js":
|
|
285772
|
-
/*!**************************************************************************!*\
|
|
285773
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/items/StageUsage.js ***!
|
|
285774
|
-
\**************************************************************************/
|
|
285775
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
285776
|
-
|
|
285777
|
-
"use strict";
|
|
285778
|
-
__webpack_require__.r(__webpack_exports__);
|
|
285779
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
285780
|
-
/* harmony export */ "StageUsage": () => (/* binding */ StageUsage)
|
|
285781
|
-
/* harmony export */ });
|
|
285782
|
-
/*---------------------------------------------------------------------------------------------
|
|
285783
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
285784
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
285785
|
-
*--------------------------------------------------------------------------------------------*/
|
|
285786
|
-
/** @packageDocumentation
|
|
285787
|
-
* @module Item
|
|
285788
|
-
*/
|
|
285789
|
-
/** Standard stage uses. Allows extension to target ui item to include on a stage without
|
|
285790
|
-
* knowing the stage name defined in the host application.
|
|
285791
|
-
* @deprecated in 3.6. Use [StageUsage]($appui-react) instead.
|
|
285792
|
-
* @public
|
|
285793
|
-
*/
|
|
285794
|
-
var StageUsage;
|
|
285795
|
-
(function (StageUsage) {
|
|
285796
|
-
StageUsage["Private"] = "Private";
|
|
285797
|
-
StageUsage["General"] = "General";
|
|
285798
|
-
StageUsage["Redline"] = "Redline";
|
|
285799
|
-
StageUsage["ViewOnly"] = "ViewOnly";
|
|
285800
|
-
StageUsage["Edit"] = "Edit";
|
|
285801
|
-
StageUsage["Settings"] = "Settings";
|
|
285802
|
-
})(StageUsage || (StageUsage = {}));
|
|
285803
|
-
|
|
285804
|
-
|
|
285805
285132
|
/***/ }),
|
|
285806
285133
|
|
|
285807
285134
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/notification/MessagePresenter.js":
|
|
@@ -286427,326 +285754,76 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286427
285754
|
/** @packageDocumentation
|
|
286428
285755
|
* @module Properties
|
|
286429
285756
|
*/
|
|
286430
|
-
/**
|
|
286431
|
-
* Enumeration for Format of the property value.
|
|
286432
|
-
* @public
|
|
286433
|
-
*/
|
|
286434
|
-
var PropertyValueFormat;
|
|
286435
|
-
(function (PropertyValueFormat) {
|
|
286436
|
-
PropertyValueFormat[PropertyValueFormat["Primitive"] = 0] = "Primitive";
|
|
286437
|
-
PropertyValueFormat[PropertyValueFormat["Array"] = 1] = "Array";
|
|
286438
|
-
PropertyValueFormat[PropertyValueFormat["Struct"] = 2] = "Struct";
|
|
286439
|
-
})(PropertyValueFormat || (PropertyValueFormat = {}));
|
|
286440
|
-
|
|
286441
|
-
|
|
286442
|
-
/***/ }),
|
|
286443
|
-
|
|
286444
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js":
|
|
286445
|
-
/*!******************************************************************************************!*\
|
|
286446
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js ***!
|
|
286447
|
-
\******************************************************************************************/
|
|
286448
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
286449
|
-
|
|
286450
|
-
"use strict";
|
|
286451
|
-
__webpack_require__.r(__webpack_exports__);
|
|
286452
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
286453
|
-
/* harmony export */ "BaseQuantityDescription": () => (/* binding */ BaseQuantityDescription)
|
|
286454
|
-
/* harmony export */ });
|
|
286455
|
-
/* harmony import */ var _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../properties/EditorParams */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/EditorParams.js");
|
|
286456
|
-
/* harmony import */ var _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../properties/StandardTypeNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardTypeNames.js");
|
|
286457
|
-
/* harmony import */ var _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../properties/StandardEditorNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardEditorNames.js");
|
|
286458
|
-
/*---------------------------------------------------------------------------------------------
|
|
286459
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
286460
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
286461
|
-
*--------------------------------------------------------------------------------------------*/
|
|
286462
|
-
/** @packageDocumentation
|
|
286463
|
-
* @module Properties
|
|
286464
|
-
*/
|
|
286465
|
-
|
|
286466
|
-
|
|
286467
|
-
|
|
286468
|
-
/**
|
|
286469
|
-
* Base Quantity Property Description
|
|
286470
|
-
* @beta
|
|
286471
|
-
*/
|
|
286472
|
-
class BaseQuantityDescription {
|
|
286473
|
-
constructor(name, displayLabel, iconSpec) {
|
|
286474
|
-
this.format = (numberValue) => {
|
|
286475
|
-
return this.formatValue(numberValue);
|
|
286476
|
-
};
|
|
286477
|
-
this.parse = (userInput) => {
|
|
286478
|
-
return this.parseString(userInput);
|
|
286479
|
-
};
|
|
286480
|
-
this.name = name;
|
|
286481
|
-
this.displayLabel = displayLabel;
|
|
286482
|
-
this.typename = _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__.StandardTypeNames.Number;
|
|
286483
|
-
this.editor = {
|
|
286484
|
-
name: _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__.StandardEditorNames.NumberCustom,
|
|
286485
|
-
params: [{
|
|
286486
|
-
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.CustomFormattedNumber,
|
|
286487
|
-
formatFunction: this.format,
|
|
286488
|
-
parseFunction: this.parse,
|
|
286489
|
-
},
|
|
286490
|
-
],
|
|
286491
|
-
};
|
|
286492
|
-
// istanbul ignore else
|
|
286493
|
-
if (iconSpec) {
|
|
286494
|
-
const params = {
|
|
286495
|
-
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.Icon,
|
|
286496
|
-
definition: { iconSpec },
|
|
286497
|
-
};
|
|
286498
|
-
this.editor.params.push(params);
|
|
286499
|
-
}
|
|
286500
|
-
}
|
|
286501
|
-
}
|
|
286502
|
-
|
|
286503
|
-
|
|
286504
|
-
/***/ }),
|
|
286505
|
-
|
|
286506
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/statusbar/StatusBarItem.js":
|
|
286507
|
-
/*!*********************************************************************************!*\
|
|
286508
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/statusbar/StatusBarItem.js ***!
|
|
286509
|
-
\*********************************************************************************/
|
|
286510
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
286511
|
-
|
|
286512
|
-
"use strict";
|
|
286513
|
-
__webpack_require__.r(__webpack_exports__);
|
|
286514
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
286515
|
-
/* harmony export */ "AbstractStatusBarItemUtilities": () => (/* binding */ AbstractStatusBarItemUtilities),
|
|
286516
|
-
/* harmony export */ "StatusBarLabelSide": () => (/* binding */ StatusBarLabelSide),
|
|
286517
|
-
/* harmony export */ "StatusBarSection": () => (/* binding */ StatusBarSection),
|
|
286518
|
-
/* harmony export */ "isAbstractStatusBarActionItem": () => (/* binding */ isAbstractStatusBarActionItem),
|
|
286519
|
-
/* harmony export */ "isAbstractStatusBarCustomItem": () => (/* binding */ isAbstractStatusBarCustomItem),
|
|
286520
|
-
/* harmony export */ "isAbstractStatusBarLabelItem": () => (/* binding */ isAbstractStatusBarLabelItem)
|
|
286521
|
-
/* harmony export */ });
|
|
286522
|
-
/*---------------------------------------------------------------------------------------------
|
|
286523
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
286524
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
286525
|
-
*--------------------------------------------------------------------------------------------*/
|
|
286526
|
-
/** @packageDocumentation
|
|
286527
|
-
* @module StatusBar
|
|
286528
|
-
*/
|
|
286529
|
-
/** Status bar Groups/Sections from Left to Right
|
|
286530
|
-
* @deprecated in 3.6. Use [StatusBarSection]($appui-react) instead.
|
|
286531
|
-
* @public
|
|
286532
|
-
*/
|
|
286533
|
-
var StatusBarSection;
|
|
286534
|
-
(function (StatusBarSection) {
|
|
286535
|
-
/** area for tool assistance and messages */
|
|
286536
|
-
StatusBarSection[StatusBarSection["Message"] = 0] = "Message";
|
|
286537
|
-
/** area for tool assistance and messages */
|
|
286538
|
-
StatusBarSection[StatusBarSection["Left"] = 0] = "Left";
|
|
286539
|
-
/** items specific to stage/task */
|
|
286540
|
-
StatusBarSection[StatusBarSection["Stage"] = 1] = "Stage";
|
|
286541
|
-
/** items specific to stage/task */
|
|
286542
|
-
StatusBarSection[StatusBarSection["Center"] = 1] = "Center";
|
|
286543
|
-
/** Select scope and selection info */
|
|
286544
|
-
StatusBarSection[StatusBarSection["Selection"] = 2] = "Selection";
|
|
286545
|
-
/** Select scope and selection info */
|
|
286546
|
-
StatusBarSection[StatusBarSection["Right"] = 2] = "Right";
|
|
286547
|
-
/** items that only show based on context */
|
|
286548
|
-
StatusBarSection[StatusBarSection["Context"] = 3] = "Context";
|
|
286549
|
-
})(StatusBarSection || (StatusBarSection = {}));
|
|
286550
|
-
/** Defines which side of Icon where label is placed
|
|
286551
|
-
* @deprecated in 3.6. Use [StatusBarLabelSide]($appui-react) instead.
|
|
286552
|
-
* @public
|
|
286553
|
-
*/
|
|
286554
|
-
var StatusBarLabelSide;
|
|
286555
|
-
(function (StatusBarLabelSide) {
|
|
286556
|
-
/** Label is placed left side of icon. This is the default if not specified */
|
|
286557
|
-
StatusBarLabelSide[StatusBarLabelSide["Left"] = 0] = "Left";
|
|
286558
|
-
/** Label is placed on right side of icon. */
|
|
286559
|
-
StatusBarLabelSide[StatusBarLabelSide["Right"] = 1] = "Right";
|
|
286560
|
-
})(StatusBarLabelSide || (StatusBarLabelSide = {}));
|
|
286561
|
-
/** AbstractStatusBarActionItem type guard.
|
|
286562
|
-
* @deprecated in 3.6. Use [isStatusBarActionItem]($appui-react) instead.
|
|
286563
|
-
* @public
|
|
286564
|
-
*/
|
|
286565
|
-
const isAbstractStatusBarActionItem = (item) => {
|
|
286566
|
-
return item.execute !== undefined; // eslint-disable-line deprecation/deprecation
|
|
286567
|
-
};
|
|
286568
|
-
/** AbstractStatusBarLabelItem type guard.
|
|
286569
|
-
* @deprecated in 3.6. Use [isStatusBarLabelItem]($appui-react) instead.
|
|
286570
|
-
* @public
|
|
286571
|
-
*/
|
|
286572
|
-
const isAbstractStatusBarLabelItem = (item) => {
|
|
286573
|
-
return item.label !== undefined && item.execute === undefined; // eslint-disable-line deprecation/deprecation
|
|
286574
|
-
};
|
|
286575
|
-
/** AbstractStatusBarCustomItem type guard.
|
|
286576
|
-
* @deprecated in 3.6. Use [isStatusBarCustomItem]($appui-react) instead.
|
|
286577
|
-
* @public
|
|
286578
|
-
*/
|
|
286579
|
-
const isAbstractStatusBarCustomItem = (item) => {
|
|
286580
|
-
return !!item.isCustom; // eslint-disable-line deprecation/deprecation
|
|
286581
|
-
};
|
|
286582
|
-
/** Helper class to create Abstract StatusBar Item definitions.
|
|
286583
|
-
* @deprecated in 3.6. Use [StatusBarItemUtilities]($appui-react) instead.
|
|
286584
|
-
* @public
|
|
286585
|
-
*/
|
|
286586
|
-
class AbstractStatusBarItemUtilities {
|
|
286587
|
-
}
|
|
286588
|
-
/** Creates a StatusBar item to perform an action */
|
|
286589
|
-
AbstractStatusBarItemUtilities.createActionItem = (id, section, itemPriority, icon, tooltip, execute, overrides) => ({
|
|
286590
|
-
id, section, itemPriority,
|
|
286591
|
-
icon, tooltip,
|
|
286592
|
-
execute,
|
|
286593
|
-
...overrides,
|
|
286594
|
-
});
|
|
286595
|
-
/** Creates a StatusBar item to display a label */
|
|
286596
|
-
AbstractStatusBarItemUtilities.createLabelItem = (id, section, itemPriority, icon, label, labelSide = StatusBarLabelSide.Right, overrides) => ({
|
|
286597
|
-
id, section, itemPriority,
|
|
286598
|
-
icon, label,
|
|
286599
|
-
labelSide,
|
|
286600
|
-
...overrides,
|
|
286601
|
-
});
|
|
286602
|
-
|
|
285757
|
+
/**
|
|
285758
|
+
* Enumeration for Format of the property value.
|
|
285759
|
+
* @public
|
|
285760
|
+
*/
|
|
285761
|
+
var PropertyValueFormat;
|
|
285762
|
+
(function (PropertyValueFormat) {
|
|
285763
|
+
PropertyValueFormat[PropertyValueFormat["Primitive"] = 0] = "Primitive";
|
|
285764
|
+
PropertyValueFormat[PropertyValueFormat["Array"] = 1] = "Array";
|
|
285765
|
+
PropertyValueFormat[PropertyValueFormat["Struct"] = 2] = "Struct";
|
|
285766
|
+
})(PropertyValueFormat || (PropertyValueFormat = {}));
|
|
286603
285767
|
|
|
286604
285768
|
|
|
286605
285769
|
/***/ }),
|
|
286606
285770
|
|
|
286607
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/
|
|
286608
|
-
|
|
286609
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/
|
|
286610
|
-
|
|
285771
|
+
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js":
|
|
285772
|
+
/*!******************************************************************************************!*\
|
|
285773
|
+
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js ***!
|
|
285774
|
+
\******************************************************************************************/
|
|
286611
285775
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
286612
285776
|
|
|
286613
285777
|
"use strict";
|
|
286614
285778
|
__webpack_require__.r(__webpack_exports__);
|
|
286615
285779
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
286616
|
-
/* harmony export */ "
|
|
285780
|
+
/* harmony export */ "BaseQuantityDescription": () => (/* binding */ BaseQuantityDescription)
|
|
286617
285781
|
/* harmony export */ });
|
|
286618
|
-
/* harmony import */ var
|
|
286619
|
-
/* harmony import */ var
|
|
286620
|
-
/* harmony import */ var
|
|
285782
|
+
/* harmony import */ var _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../properties/EditorParams */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/EditorParams.js");
|
|
285783
|
+
/* harmony import */ var _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../properties/StandardTypeNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardTypeNames.js");
|
|
285784
|
+
/* harmony import */ var _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../properties/StandardEditorNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardEditorNames.js");
|
|
286621
285785
|
/*---------------------------------------------------------------------------------------------
|
|
286622
285786
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
286623
285787
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
286624
285788
|
*--------------------------------------------------------------------------------------------*/
|
|
286625
285789
|
/** @packageDocumentation
|
|
286626
|
-
* @module
|
|
285790
|
+
* @module Properties
|
|
286627
285791
|
*/
|
|
286628
285792
|
|
|
286629
285793
|
|
|
286630
285794
|
|
|
286631
|
-
const isInstance = (args) => {
|
|
286632
|
-
return !Array.isArray(args);
|
|
286633
|
-
};
|
|
286634
285795
|
/**
|
|
286635
|
-
*
|
|
286636
|
-
* @
|
|
285796
|
+
* Base Quantity Property Description
|
|
285797
|
+
* @beta
|
|
286637
285798
|
*/
|
|
286638
|
-
class
|
|
286639
|
-
constructor(
|
|
286640
|
-
this.
|
|
286641
|
-
|
|
286642
|
-
|
|
286643
|
-
|
|
286644
|
-
|
|
286645
|
-
|
|
286646
|
-
|
|
286647
|
-
|
|
286648
|
-
|
|
286649
|
-
|
|
286650
|
-
|
|
286651
|
-
|
|
286652
|
-
|
|
286653
|
-
|
|
286654
|
-
|
|
286655
|
-
|
|
286656
|
-
|
|
286657
|
-
}
|
|
286658
|
-
this._items = items;
|
|
286659
|
-
if (sendItemChanged)
|
|
286660
|
-
this.onItemsChanged.raiseEvent({ items });
|
|
286661
|
-
}
|
|
286662
|
-
/** load items but do not fire onItemsChanged
|
|
286663
|
-
* @internal
|
|
286664
|
-
*/
|
|
286665
|
-
loadItems(items) {
|
|
286666
|
-
this.loadItemsInternal(items, true, false);
|
|
286667
|
-
}
|
|
286668
|
-
/** Get an array of the StatusBar items */
|
|
286669
|
-
get items() {
|
|
286670
|
-
return this._items;
|
|
286671
|
-
}
|
|
286672
|
-
set items(items) {
|
|
285799
|
+
class BaseQuantityDescription {
|
|
285800
|
+
constructor(name, displayLabel, iconSpec) {
|
|
285801
|
+
this.format = (numberValue) => {
|
|
285802
|
+
return this.formatValue(numberValue);
|
|
285803
|
+
};
|
|
285804
|
+
this.parse = (userInput) => {
|
|
285805
|
+
return this.parseString(userInput);
|
|
285806
|
+
};
|
|
285807
|
+
this.name = name;
|
|
285808
|
+
this.displayLabel = displayLabel;
|
|
285809
|
+
this.typename = _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__.StandardTypeNames.Number;
|
|
285810
|
+
this.editor = {
|
|
285811
|
+
name: _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__.StandardEditorNames.NumberCustom,
|
|
285812
|
+
params: [{
|
|
285813
|
+
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.CustomFormattedNumber,
|
|
285814
|
+
formatFunction: this.format,
|
|
285815
|
+
parseFunction: this.parse,
|
|
285816
|
+
},
|
|
285817
|
+
],
|
|
285818
|
+
};
|
|
286673
285819
|
// istanbul ignore else
|
|
286674
|
-
if (
|
|
286675
|
-
|
|
286676
|
-
|
|
286677
|
-
|
|
286678
|
-
|
|
286679
|
-
|
|
286680
|
-
itemsToAdd = [itemOrItems];
|
|
286681
|
-
else {
|
|
286682
|
-
itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);
|
|
286683
|
-
}
|
|
286684
|
-
itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);
|
|
286685
|
-
if (itemsToAdd.length === 0)
|
|
286686
|
-
return;
|
|
286687
|
-
const items = [
|
|
286688
|
-
...this._items,
|
|
286689
|
-
...itemsToAdd,
|
|
286690
|
-
];
|
|
286691
|
-
this.items = items;
|
|
286692
|
-
}
|
|
286693
|
-
/** Remove StatusBar items based on id */
|
|
286694
|
-
remove(itemIdOrItemIds) {
|
|
286695
|
-
const items = this._items.filter((item) => {
|
|
286696
|
-
return isInstance(itemIdOrItemIds) ? item.id !== itemIdOrItemIds : !itemIdOrItemIds.find((itemId) => itemId === item.id);
|
|
286697
|
-
});
|
|
286698
|
-
this.items = items;
|
|
286699
|
-
}
|
|
286700
|
-
/** @internal */
|
|
286701
|
-
removeAll() {
|
|
286702
|
-
this._items = [];
|
|
286703
|
-
}
|
|
286704
|
-
static getSyncIdsOfInterest(items) {
|
|
286705
|
-
const eventIds = new Set();
|
|
286706
|
-
items.forEach((item) => {
|
|
286707
|
-
for (const [, entry] of Object.entries(item)) {
|
|
286708
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
286709
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
286710
|
-
}
|
|
286711
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
286712
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
286713
|
-
}
|
|
286714
|
-
}
|
|
286715
|
-
});
|
|
286716
|
-
return [...eventIds.values()];
|
|
286717
|
-
}
|
|
286718
|
-
internalRefreshAffectedItems(items, eventIds) {
|
|
286719
|
-
// istanbul ignore next
|
|
286720
|
-
if (0 === eventIds.size)
|
|
286721
|
-
return { itemsUpdated: false, updatedItems: [] };
|
|
286722
|
-
let updateRequired = false;
|
|
286723
|
-
const newItems = [];
|
|
286724
|
-
for (const item of items) {
|
|
286725
|
-
const updatedItem = { ...item };
|
|
286726
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
286727
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
286728
|
-
// istanbul ignore else
|
|
286729
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
286730
|
-
updateRequired = true;
|
|
286731
|
-
}
|
|
286732
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
286733
|
-
// istanbul ignore else
|
|
286734
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
286735
|
-
updateRequired = true;
|
|
286736
|
-
}
|
|
286737
|
-
}
|
|
286738
|
-
newItems.push(updatedItem);
|
|
285820
|
+
if (iconSpec) {
|
|
285821
|
+
const params = {
|
|
285822
|
+
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.Icon,
|
|
285823
|
+
definition: { iconSpec },
|
|
285824
|
+
};
|
|
285825
|
+
this.editor.params.push(params);
|
|
286739
285826
|
}
|
|
286740
|
-
return { itemsUpdated: updateRequired, updatedItems: newItems };
|
|
286741
|
-
}
|
|
286742
|
-
refreshAffectedItems(eventIds) {
|
|
286743
|
-
// istanbul ignore next
|
|
286744
|
-
if (0 === eventIds.size)
|
|
286745
|
-
return;
|
|
286746
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);
|
|
286747
|
-
// istanbul ignore else
|
|
286748
|
-
if (itemsUpdated)
|
|
286749
|
-
this.loadItemsInternal(updatedItems, false, true);
|
|
286750
285827
|
}
|
|
286751
285828
|
}
|
|
286752
285829
|
|
|
@@ -286762,9 +285839,7 @@ class StatusBarItemsManager {
|
|
|
286762
285839
|
"use strict";
|
|
286763
285840
|
__webpack_require__.r(__webpack_exports__);
|
|
286764
285841
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
286765
|
-
/* harmony export */ "ToolbarItemUtilities": () => (/* binding */ ToolbarItemUtilities)
|
|
286766
|
-
/* harmony export */ "ToolbarOrientation": () => (/* binding */ ToolbarOrientation),
|
|
286767
|
-
/* harmony export */ "ToolbarUsage": () => (/* binding */ ToolbarUsage)
|
|
285842
|
+
/* harmony export */ "ToolbarItemUtilities": () => (/* binding */ ToolbarItemUtilities)
|
|
286768
285843
|
/* harmony export */ });
|
|
286769
285844
|
/*---------------------------------------------------------------------------------------------
|
|
286770
285845
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -286773,28 +285848,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286773
285848
|
/** @packageDocumentation
|
|
286774
285849
|
* @module Toolbar
|
|
286775
285850
|
*/
|
|
286776
|
-
/** Used to specify the usage of the toolbar which determine the toolbar position.
|
|
286777
|
-
* @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
|
|
286778
|
-
* @public
|
|
286779
|
-
*/
|
|
286780
|
-
var ToolbarUsage;
|
|
286781
|
-
(function (ToolbarUsage) {
|
|
286782
|
-
/** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
|
|
286783
|
-
ToolbarUsage[ToolbarUsage["ContentManipulation"] = 0] = "ContentManipulation";
|
|
286784
|
-
/** Manipulate view/camera - in ninezone this is in top right of content area. */
|
|
286785
|
-
ToolbarUsage[ToolbarUsage["ViewNavigation"] = 1] = "ViewNavigation";
|
|
286786
|
-
})(ToolbarUsage || (ToolbarUsage = {}));
|
|
286787
|
-
/** Used to specify the orientation of the toolbar.
|
|
286788
|
-
* @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
|
|
286789
|
-
* @public
|
|
286790
|
-
*/
|
|
286791
|
-
var ToolbarOrientation;
|
|
286792
|
-
(function (ToolbarOrientation) {
|
|
286793
|
-
/** Horizontal toolbar. */
|
|
286794
|
-
ToolbarOrientation[ToolbarOrientation["Horizontal"] = 0] = "Horizontal";
|
|
286795
|
-
/** Vertical toolbar. */
|
|
286796
|
-
ToolbarOrientation[ToolbarOrientation["Vertical"] = 1] = "Vertical";
|
|
286797
|
-
})(ToolbarOrientation || (ToolbarOrientation = {}));
|
|
286798
285851
|
/** Helper class to create Abstract StatusBar Item definitions.
|
|
286799
285852
|
* @public
|
|
286800
285853
|
*/
|
|
@@ -286829,256 +285882,6 @@ ToolbarItemUtilities.createGroupButton = (id, itemPriority, icon, label, items,
|
|
|
286829
285882
|
|
|
286830
285883
|
|
|
286831
285884
|
|
|
286832
|
-
/***/ }),
|
|
286833
|
-
|
|
286834
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js":
|
|
286835
|
-
/*!**************************************************************************************!*\
|
|
286836
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js ***!
|
|
286837
|
-
\**************************************************************************************/
|
|
286838
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
286839
|
-
|
|
286840
|
-
"use strict";
|
|
286841
|
-
__webpack_require__.r(__webpack_exports__);
|
|
286842
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
286843
|
-
/* harmony export */ "ToolbarItemsManager": () => (/* binding */ ToolbarItemsManager)
|
|
286844
|
-
/* harmony export */ });
|
|
286845
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
286846
|
-
/* harmony import */ var _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../items/ConditionalBooleanValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalBooleanValue.js");
|
|
286847
|
-
/* harmony import */ var _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../items/ConditionalStringValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalStringValue.js");
|
|
286848
|
-
/* harmony import */ var _ToolbarItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ToolbarItem */ "../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItem.js");
|
|
286849
|
-
/*---------------------------------------------------------------------------------------------
|
|
286850
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
286851
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
286852
|
-
*--------------------------------------------------------------------------------------------*/
|
|
286853
|
-
/** @packageDocumentation
|
|
286854
|
-
* @module Toolbar
|
|
286855
|
-
*/
|
|
286856
|
-
|
|
286857
|
-
|
|
286858
|
-
|
|
286859
|
-
|
|
286860
|
-
const isInstance = (args) => {
|
|
286861
|
-
return !Array.isArray(args);
|
|
286862
|
-
};
|
|
286863
|
-
/**
|
|
286864
|
-
* Controls status bar items.
|
|
286865
|
-
* @internal
|
|
286866
|
-
*/
|
|
286867
|
-
class ToolbarItemsManager {
|
|
286868
|
-
constructor(items) {
|
|
286869
|
-
this._items = [];
|
|
286870
|
-
/** Event raised when Toolbar items are changed.
|
|
286871
|
-
* @internal
|
|
286872
|
-
*/
|
|
286873
|
-
this.onItemsChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
286874
|
-
if (items)
|
|
286875
|
-
this.loadItemsInternal(items, true, false);
|
|
286876
|
-
}
|
|
286877
|
-
loadItemsInternal(items, processConditions, sendItemChanged) {
|
|
286878
|
-
if (processConditions && items) {
|
|
286879
|
-
const eventIds = ToolbarItemsManager.getSyncIdsOfInterest(items);
|
|
286880
|
-
if (0 !== eventIds.length) {
|
|
286881
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(items, new Set(eventIds));
|
|
286882
|
-
// istanbul ignore else
|
|
286883
|
-
if (itemsUpdated)
|
|
286884
|
-
items = updatedItems;
|
|
286885
|
-
}
|
|
286886
|
-
}
|
|
286887
|
-
this._items = items;
|
|
286888
|
-
if (sendItemChanged)
|
|
286889
|
-
this.onItemsChanged.raiseEvent({ items });
|
|
286890
|
-
}
|
|
286891
|
-
/** load items but do not fire onItemsChanged
|
|
286892
|
-
* @internal
|
|
286893
|
-
*/
|
|
286894
|
-
loadItems(items) {
|
|
286895
|
-
this.loadItemsInternal(items, true, false);
|
|
286896
|
-
}
|
|
286897
|
-
/** Get an array of the Toolbar items */
|
|
286898
|
-
get items() {
|
|
286899
|
-
return this._items;
|
|
286900
|
-
}
|
|
286901
|
-
set items(items) {
|
|
286902
|
-
// istanbul ignore else
|
|
286903
|
-
if (items !== this._items)
|
|
286904
|
-
this.loadItemsInternal(items, true, true);
|
|
286905
|
-
}
|
|
286906
|
-
add(itemOrItems) {
|
|
286907
|
-
let itemsToAdd;
|
|
286908
|
-
if (isInstance(itemOrItems))
|
|
286909
|
-
itemsToAdd = [itemOrItems];
|
|
286910
|
-
else {
|
|
286911
|
-
itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);
|
|
286912
|
-
}
|
|
286913
|
-
itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);
|
|
286914
|
-
if (itemsToAdd.length === 0)
|
|
286915
|
-
return;
|
|
286916
|
-
const items = [
|
|
286917
|
-
...this._items,
|
|
286918
|
-
...itemsToAdd,
|
|
286919
|
-
];
|
|
286920
|
-
this.items = items;
|
|
286921
|
-
}
|
|
286922
|
-
/** Remove Toolbar items based on id */
|
|
286923
|
-
remove(itemIdOrItemIds) {
|
|
286924
|
-
const items = this._items.filter((item) => {
|
|
286925
|
-
return isInstance(itemIdOrItemIds) ? item.id !== itemIdOrItemIds : !itemIdOrItemIds.find((itemId) => itemId === item.id);
|
|
286926
|
-
});
|
|
286927
|
-
this.items = items;
|
|
286928
|
-
}
|
|
286929
|
-
/** @internal */
|
|
286930
|
-
removeAll() {
|
|
286931
|
-
this._items = [];
|
|
286932
|
-
}
|
|
286933
|
-
static gatherSyncIds(eventIds, items) {
|
|
286934
|
-
for (const item of items) {
|
|
286935
|
-
for (const [, entry] of Object.entries(item)) {
|
|
286936
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
286937
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
286938
|
-
}
|
|
286939
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
286940
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
286941
|
-
}
|
|
286942
|
-
}
|
|
286943
|
-
// istanbul ignore else
|
|
286944
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(item)) {
|
|
286945
|
-
this.gatherSyncIds(eventIds, item.items);
|
|
286946
|
-
}
|
|
286947
|
-
}
|
|
286948
|
-
}
|
|
286949
|
-
static getSyncIdsOfInterest(items) {
|
|
286950
|
-
const eventIds = new Set();
|
|
286951
|
-
this.gatherSyncIds(eventIds, items);
|
|
286952
|
-
return [...eventIds.values()];
|
|
286953
|
-
}
|
|
286954
|
-
static refreshChildItems(parentItem, eventIds) {
|
|
286955
|
-
const updatedItems = [];
|
|
286956
|
-
let itemsUpdated = false;
|
|
286957
|
-
for (const item of parentItem.items) {
|
|
286958
|
-
const updatedItem = { ...item };
|
|
286959
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
286960
|
-
const { childrenUpdated, childItems } = this.refreshChildItems(updatedItem, eventIds);
|
|
286961
|
-
// istanbul ignore else
|
|
286962
|
-
if (childrenUpdated) {
|
|
286963
|
-
updatedItem.items = childItems;
|
|
286964
|
-
itemsUpdated = true;
|
|
286965
|
-
}
|
|
286966
|
-
}
|
|
286967
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
286968
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
286969
|
-
// istanbul ignore else
|
|
286970
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
286971
|
-
itemsUpdated = true;
|
|
286972
|
-
}
|
|
286973
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
286974
|
-
// istanbul ignore else
|
|
286975
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
286976
|
-
itemsUpdated = true;
|
|
286977
|
-
}
|
|
286978
|
-
}
|
|
286979
|
-
updatedItems.push(updatedItem);
|
|
286980
|
-
}
|
|
286981
|
-
return { childrenUpdated: itemsUpdated, childItems: updatedItems };
|
|
286982
|
-
}
|
|
286983
|
-
internalRefreshAffectedItems(items, eventIds) {
|
|
286984
|
-
// istanbul ignore next
|
|
286985
|
-
if (0 === eventIds.size)
|
|
286986
|
-
return { itemsUpdated: false, updatedItems: [] };
|
|
286987
|
-
let updateRequired = false;
|
|
286988
|
-
const newItems = [];
|
|
286989
|
-
for (const item of items) {
|
|
286990
|
-
const updatedItem = { ...item };
|
|
286991
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
286992
|
-
const { childrenUpdated, childItems } = ToolbarItemsManager.refreshChildItems(updatedItem, eventIds);
|
|
286993
|
-
// istanbul ignore else
|
|
286994
|
-
if (childrenUpdated) {
|
|
286995
|
-
updatedItem.items = childItems;
|
|
286996
|
-
updateRequired = true;
|
|
286997
|
-
}
|
|
286998
|
-
}
|
|
286999
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
287000
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
287001
|
-
// istanbul ignore else
|
|
287002
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
287003
|
-
updateRequired = true;
|
|
287004
|
-
}
|
|
287005
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
287006
|
-
// istanbul ignore else
|
|
287007
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
287008
|
-
updateRequired = true;
|
|
287009
|
-
}
|
|
287010
|
-
}
|
|
287011
|
-
newItems.push(updatedItem);
|
|
287012
|
-
}
|
|
287013
|
-
return { itemsUpdated: updateRequired, updatedItems: newItems };
|
|
287014
|
-
}
|
|
287015
|
-
refreshAffectedItems(eventIds) {
|
|
287016
|
-
// istanbul ignore next
|
|
287017
|
-
if (0 === eventIds.size)
|
|
287018
|
-
return;
|
|
287019
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);
|
|
287020
|
-
// istanbul ignore else
|
|
287021
|
-
if (itemsUpdated)
|
|
287022
|
-
this.loadItemsInternal(updatedItems, false, true);
|
|
287023
|
-
}
|
|
287024
|
-
static isActiveToolIdRefreshRequiredForChildren(children, toolId) {
|
|
287025
|
-
for (const item of children) {
|
|
287026
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(item)) {
|
|
287027
|
-
if (this.isActiveToolIdRefreshRequiredForChildren(item.items, toolId))
|
|
287028
|
-
return true;
|
|
287029
|
-
}
|
|
287030
|
-
else {
|
|
287031
|
-
const isActive = !!item.isActive;
|
|
287032
|
-
if ((isActive && item.id !== toolId) || (!isActive && item.id === toolId))
|
|
287033
|
-
return true;
|
|
287034
|
-
}
|
|
287035
|
-
}
|
|
287036
|
-
return false;
|
|
287037
|
-
}
|
|
287038
|
-
isActiveToolIdRefreshRequired(toolId) {
|
|
287039
|
-
for (const item of this.items) {
|
|
287040
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(item)) {
|
|
287041
|
-
if (ToolbarItemsManager.isActiveToolIdRefreshRequiredForChildren(item.items, toolId))
|
|
287042
|
-
return true;
|
|
287043
|
-
}
|
|
287044
|
-
else {
|
|
287045
|
-
const isActive = !!item.isActive;
|
|
287046
|
-
if ((isActive && item.id !== toolId) || (!isActive && item.id === toolId))
|
|
287047
|
-
return true;
|
|
287048
|
-
}
|
|
287049
|
-
}
|
|
287050
|
-
return false;
|
|
287051
|
-
}
|
|
287052
|
-
static refreshActiveToolIdInChildItems(parentItem, toolId) {
|
|
287053
|
-
const newChildren = [];
|
|
287054
|
-
for (const item of parentItem.items) {
|
|
287055
|
-
const updatedItem = { ...item };
|
|
287056
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
287057
|
-
updatedItem.items = ToolbarItemsManager.refreshActiveToolIdInChildItems(updatedItem, toolId);
|
|
287058
|
-
}
|
|
287059
|
-
updatedItem.isActive = (updatedItem.id === toolId);
|
|
287060
|
-
newChildren.push(updatedItem);
|
|
287061
|
-
}
|
|
287062
|
-
return newChildren;
|
|
287063
|
-
}
|
|
287064
|
-
setActiveToolId(toolId) {
|
|
287065
|
-
// first see if any updates are really necessary
|
|
287066
|
-
if (!this.isActiveToolIdRefreshRequired(toolId))
|
|
287067
|
-
return;
|
|
287068
|
-
const newItems = [];
|
|
287069
|
-
for (const item of this.items) {
|
|
287070
|
-
const updatedItem = { ...item };
|
|
287071
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
287072
|
-
updatedItem.items = ToolbarItemsManager.refreshActiveToolIdInChildItems(updatedItem, toolId);
|
|
287073
|
-
}
|
|
287074
|
-
updatedItem.isActive = (updatedItem.id === toolId);
|
|
287075
|
-
newItems.push(updatedItem);
|
|
287076
|
-
}
|
|
287077
|
-
this.items = newItems;
|
|
287078
|
-
}
|
|
287079
|
-
}
|
|
287080
|
-
|
|
287081
|
-
|
|
287082
285885
|
/***/ }),
|
|
287083
285886
|
|
|
287084
285887
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/IconSpecUtilities.js":
|
|
@@ -288709,125 +287512,6 @@ const loggerCategory = (obj) => {
|
|
|
288709
287512
|
};
|
|
288710
287513
|
|
|
288711
287514
|
|
|
288712
|
-
/***/ }),
|
|
288713
|
-
|
|
288714
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/AbstractWidgetProps.js":
|
|
288715
|
-
/*!************************************************************************************!*\
|
|
288716
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/widget/AbstractWidgetProps.js ***!
|
|
288717
|
-
\************************************************************************************/
|
|
288718
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
288719
|
-
|
|
288720
|
-
"use strict";
|
|
288721
|
-
__webpack_require__.r(__webpack_exports__);
|
|
288722
|
-
/*---------------------------------------------------------------------------------------------
|
|
288723
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
288724
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
288725
|
-
*--------------------------------------------------------------------------------------------*/
|
|
288726
|
-
/** @packageDocumentation
|
|
288727
|
-
* @module Widget
|
|
288728
|
-
*/
|
|
288729
|
-
|
|
288730
|
-
|
|
288731
|
-
|
|
288732
|
-
/***/ }),
|
|
288733
|
-
|
|
288734
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/StagePanel.js":
|
|
288735
|
-
/*!***************************************************************************!*\
|
|
288736
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/widget/StagePanel.js ***!
|
|
288737
|
-
\***************************************************************************/
|
|
288738
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
288739
|
-
|
|
288740
|
-
"use strict";
|
|
288741
|
-
__webpack_require__.r(__webpack_exports__);
|
|
288742
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
288743
|
-
/* harmony export */ "AbstractZoneLocation": () => (/* binding */ AbstractZoneLocation),
|
|
288744
|
-
/* harmony export */ "StagePanelLocation": () => (/* binding */ StagePanelLocation),
|
|
288745
|
-
/* harmony export */ "StagePanelSection": () => (/* binding */ StagePanelSection)
|
|
288746
|
-
/* harmony export */ });
|
|
288747
|
-
/*---------------------------------------------------------------------------------------------
|
|
288748
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
288749
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
288750
|
-
*--------------------------------------------------------------------------------------------*/
|
|
288751
|
-
/** @packageDocumentation
|
|
288752
|
-
* @module Widget
|
|
288753
|
-
*/
|
|
288754
|
-
/** Enum for AppUi 1 `Zone` locations that can have widgets added to them at run-time via [[UiItemsProvider]].
|
|
288755
|
-
* @public @deprecated in 3.0. UI 1.0 support will be removed in AppUi 4.0.
|
|
288756
|
-
*/
|
|
288757
|
-
var AbstractZoneLocation;
|
|
288758
|
-
(function (AbstractZoneLocation) {
|
|
288759
|
-
AbstractZoneLocation[AbstractZoneLocation["CenterLeft"] = 4] = "CenterLeft";
|
|
288760
|
-
AbstractZoneLocation[AbstractZoneLocation["CenterRight"] = 6] = "CenterRight";
|
|
288761
|
-
AbstractZoneLocation[AbstractZoneLocation["BottomLeft"] = 7] = "BottomLeft";
|
|
288762
|
-
AbstractZoneLocation[AbstractZoneLocation["BottomRight"] = 9] = "BottomRight";
|
|
288763
|
-
})(AbstractZoneLocation || (AbstractZoneLocation = {}));
|
|
288764
|
-
/** Available Stage Panel locations.
|
|
288765
|
-
* @deprecated in 3.6. Use [StagePanelLocation]($appui-react) instead.
|
|
288766
|
-
* @public
|
|
288767
|
-
*/
|
|
288768
|
-
var StagePanelLocation;
|
|
288769
|
-
(function (StagePanelLocation) {
|
|
288770
|
-
StagePanelLocation[StagePanelLocation["Top"] = 101] = "Top";
|
|
288771
|
-
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
|
288772
|
-
StagePanelLocation[StagePanelLocation["TopMost"] = 102] = "TopMost";
|
|
288773
|
-
StagePanelLocation[StagePanelLocation["Left"] = 103] = "Left";
|
|
288774
|
-
StagePanelLocation[StagePanelLocation["Right"] = 104] = "Right";
|
|
288775
|
-
StagePanelLocation[StagePanelLocation["Bottom"] = 105] = "Bottom";
|
|
288776
|
-
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
|
288777
|
-
StagePanelLocation[StagePanelLocation["BottomMost"] = 106] = "BottomMost";
|
|
288778
|
-
})(StagePanelLocation || (StagePanelLocation = {}));
|
|
288779
|
-
/** Enum for Stage Panel Sections
|
|
288780
|
-
* @deprecated in 3.6. Use [StagePanelSection]($appui-react) instead.
|
|
288781
|
-
* @public
|
|
288782
|
-
*/
|
|
288783
|
-
var StagePanelSection;
|
|
288784
|
-
(function (StagePanelSection) {
|
|
288785
|
-
StagePanelSection[StagePanelSection["Start"] = 0] = "Start";
|
|
288786
|
-
/** @deprecated in 3.2. - all widgets that a targeted for Middle will be placed in `End` section */
|
|
288787
|
-
StagePanelSection[StagePanelSection["Middle"] = 1] = "Middle";
|
|
288788
|
-
StagePanelSection[StagePanelSection["End"] = 2] = "End";
|
|
288789
|
-
})(StagePanelSection || (StagePanelSection = {}));
|
|
288790
|
-
|
|
288791
|
-
|
|
288792
|
-
/***/ }),
|
|
288793
|
-
|
|
288794
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/WidgetState.js":
|
|
288795
|
-
/*!****************************************************************************!*\
|
|
288796
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/widget/WidgetState.js ***!
|
|
288797
|
-
\****************************************************************************/
|
|
288798
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
288799
|
-
|
|
288800
|
-
"use strict";
|
|
288801
|
-
__webpack_require__.r(__webpack_exports__);
|
|
288802
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
288803
|
-
/* harmony export */ "WidgetState": () => (/* binding */ WidgetState)
|
|
288804
|
-
/* harmony export */ });
|
|
288805
|
-
/*---------------------------------------------------------------------------------------------
|
|
288806
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
288807
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
288808
|
-
*--------------------------------------------------------------------------------------------*/
|
|
288809
|
-
/** @packageDocumentation
|
|
288810
|
-
* @module Widget
|
|
288811
|
-
*/
|
|
288812
|
-
/** Widget state enum.
|
|
288813
|
-
* @deprecated in 3.6. Use [WidgetState]($appui-react) instead.
|
|
288814
|
-
* @public
|
|
288815
|
-
*/
|
|
288816
|
-
var WidgetState;
|
|
288817
|
-
(function (WidgetState) {
|
|
288818
|
-
/** Widget tab is visible and active and its contents are visible */
|
|
288819
|
-
WidgetState[WidgetState["Open"] = 0] = "Open";
|
|
288820
|
-
/** Widget tab is visible but its contents are not visible */
|
|
288821
|
-
WidgetState[WidgetState["Closed"] = 1] = "Closed";
|
|
288822
|
-
/** Widget tab nor its contents are visible */
|
|
288823
|
-
WidgetState[WidgetState["Hidden"] = 2] = "Hidden";
|
|
288824
|
-
/** Widget tab is in a 'floating' state and is not docked in zone's tab stack */
|
|
288825
|
-
WidgetState[WidgetState["Floating"] = 3] = "Floating";
|
|
288826
|
-
/** Widget tab is visible but its contents are not loaded */
|
|
288827
|
-
WidgetState[WidgetState["Unloaded"] = 4] = "Unloaded";
|
|
288828
|
-
})(WidgetState || (WidgetState = {}));
|
|
288829
|
-
|
|
288830
|
-
|
|
288831
287515
|
/***/ }),
|
|
288832
287516
|
|
|
288833
287517
|
/***/ "?1120":
|
|
@@ -294172,7 +292856,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
294172
292856
|
/***/ ((module) => {
|
|
294173
292857
|
|
|
294174
292858
|
"use strict";
|
|
294175
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.1.0-dev.
|
|
292859
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.1.0-dev.3","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-eslintrc -c \\"./node_modules/@itwin/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^4.1.0-dev.3","@itwin/core-bentley":"workspace:^4.1.0-dev.3","@itwin/core-common":"workspace:^4.1.0-dev.3","@itwin/core-geometry":"workspace:^4.1.0-dev.3","@itwin/core-orbitgt":"workspace:^4.1.0-dev.3","@itwin/core-quantity":"workspace:^4.1.0-dev.3"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"^4.0.0-dev.33","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^8.2.2","@types/node":"^18.11.5","@types/sinon":"^9.0.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^8.36.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~5.0.2","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/object-storage-azure":"^1.5.0","@itwin/cloud-agnostic-core":"^1.5.0","@itwin/object-storage-core":"^1.5.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
294176
292860
|
|
|
294177
292861
|
/***/ }),
|
|
294178
292862
|
|