@itwin/ecschema-rpcinterface-tests 4.1.0-dev.0 → 4.1.0-dev.2
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 +149 -1465
- 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 +15 -15
|
@@ -272226,143 +272226,107 @@ exports.executeBackendCallback = executeBackendCallback;
|
|
|
272226
272226
|
"use strict";
|
|
272227
272227
|
__webpack_require__.r(__webpack_exports__);
|
|
272228
272228
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
272229
|
-
/* harmony export */ "
|
|
272230
|
-
/* harmony export */ "
|
|
272231
|
-
/* harmony export */ "
|
|
272232
|
-
/* harmony export */ "
|
|
272233
|
-
/* harmony export */ "
|
|
272234
|
-
/* harmony export */ "
|
|
272235
|
-
/* harmony export */ "
|
|
272236
|
-
/* harmony export */ "
|
|
272237
|
-
/* harmony export */ "
|
|
272238
|
-
/* harmony export */ "
|
|
272239
|
-
/* harmony export */ "
|
|
272240
|
-
/* harmony export */ "
|
|
272241
|
-
/* harmony export */ "
|
|
272242
|
-
/* harmony export */ "
|
|
272243
|
-
/* harmony export */ "
|
|
272244
|
-
/* harmony export */ "
|
|
272245
|
-
/* harmony export */ "
|
|
272246
|
-
/* harmony export */ "
|
|
272247
|
-
/* harmony export */ "
|
|
272248
|
-
/* harmony export */ "
|
|
272249
|
-
/* harmony export */ "
|
|
272250
|
-
/* harmony export */ "
|
|
272251
|
-
/* harmony export */ "
|
|
272252
|
-
/* harmony export */ "
|
|
272253
|
-
/* harmony export */ "
|
|
272254
|
-
/* harmony export */ "
|
|
272255
|
-
/* harmony export */ "
|
|
272256
|
-
/* harmony export */ "
|
|
272257
|
-
/* harmony export */ "
|
|
272258
|
-
/* harmony export */ "
|
|
272259
|
-
/* harmony export */ "
|
|
272260
|
-
/* harmony export */ "
|
|
272261
|
-
/* harmony export */ "
|
|
272262
|
-
/* harmony export */ "
|
|
272263
|
-
/* harmony export */ "
|
|
272264
|
-
/* harmony export */ "
|
|
272265
|
-
/* harmony export */ "
|
|
272266
|
-
/* harmony export */ "
|
|
272267
|
-
/* harmony export */ "
|
|
272268
|
-
/* harmony export */ "
|
|
272269
|
-
/* harmony export */ "
|
|
272270
|
-
/* harmony export */ "
|
|
272271
|
-
/* harmony export */ "
|
|
272272
|
-
/* harmony export */ "
|
|
272273
|
-
/* harmony export */ "
|
|
272274
|
-
/* harmony export */ "
|
|
272275
|
-
/* harmony export */ "
|
|
272276
|
-
/* harmony export */ "
|
|
272277
|
-
/* harmony export */ "
|
|
272278
|
-
/* harmony export */ "
|
|
272279
|
-
/* harmony export */ "
|
|
272280
|
-
/* harmony export */ "
|
|
272281
|
-
/* harmony export */ "
|
|
272282
|
-
/* harmony export */ "
|
|
272283
|
-
/* harmony export */ "
|
|
272284
|
-
/* harmony export */ "
|
|
272285
|
-
/* harmony export */ "
|
|
272286
|
-
/* harmony export */ "
|
|
272287
|
-
/* harmony export */ "
|
|
272288
|
-
/* harmony export */ "
|
|
272289
|
-
/* harmony export */ "
|
|
272290
|
-
/* harmony export */ "
|
|
272291
|
-
/* harmony export */ "
|
|
272292
|
-
/* harmony export */ "
|
|
272293
|
-
/* harmony export */ "isArrowKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_6__.isArrowKey),
|
|
272294
|
-
/* harmony export */ "isButtonGroupEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isButtonGroupEditorParams),
|
|
272295
|
-
/* harmony export */ "isColorEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isColorEditorParams),
|
|
272296
|
-
/* harmony export */ "isCustomFormattedNumberParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isCustomFormattedNumberParams),
|
|
272297
|
-
/* harmony export */ "isIconListEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isIconListEditorParams),
|
|
272298
|
-
/* harmony export */ "isInputEditorSizeParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isInputEditorSizeParams),
|
|
272299
|
-
/* harmony export */ "isLetter": () => (/* reexport safe */ _appui_abstract_utils_isLetter__WEBPACK_IMPORTED_MODULE_37__.isLetter),
|
|
272300
|
-
/* harmony export */ "isLowerAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__.isLowerAsciiLetter),
|
|
272301
|
-
/* harmony export */ "isPatternInWord": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.isPatternInWord),
|
|
272302
|
-
/* harmony export */ "isStageLauncher": () => (/* reexport safe */ _appui_abstract_backstage_BackstageItem__WEBPACK_IMPORTED_MODULE_4__.isStageLauncher),
|
|
272303
|
-
/* harmony export */ "isSuppressLabelEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_24__.isSuppressLabelEditorParams),
|
|
272304
|
-
/* harmony export */ "isUpperAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__.isUpperAsciiLetter),
|
|
272305
|
-
/* harmony export */ "loggerCategory": () => (/* reexport safe */ _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_36__.loggerCategory),
|
|
272306
|
-
/* harmony export */ "matchesCamelCase": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesCamelCase),
|
|
272307
|
-
/* harmony export */ "matchesContiguousSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesContiguousSubString),
|
|
272308
|
-
/* harmony export */ "matchesFuzzy": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesFuzzy),
|
|
272309
|
-
/* harmony export */ "matchesFuzzy2": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesFuzzy2),
|
|
272310
|
-
/* harmony export */ "matchesPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesPrefix),
|
|
272311
|
-
/* harmony export */ "matchesStrictPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesStrictPrefix),
|
|
272312
|
-
/* harmony export */ "matchesSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesSubString),
|
|
272313
|
-
/* harmony export */ "matchesWords": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.matchesWords),
|
|
272314
|
-
/* harmony export */ "or": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_44__.or),
|
|
272315
|
-
/* harmony export */ "startsWithIgnoreCase": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_45__.startsWithIgnoreCase)
|
|
272229
|
+
/* harmony export */ "AlternateDateFormats": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.AlternateDateFormats),
|
|
272230
|
+
/* harmony export */ "BadgeType": () => (/* reexport safe */ _appui_abstract_items_BadgeType__WEBPACK_IMPORTED_MODULE_10__.BadgeType),
|
|
272231
|
+
/* harmony export */ "BaseQuantityDescription": () => (/* reexport safe */ _appui_abstract_quantity_BaseQuantityDescription__WEBPACK_IMPORTED_MODULE_23__.BaseQuantityDescription),
|
|
272232
|
+
/* harmony export */ "ConditionalBooleanValue": () => (/* reexport safe */ _appui_abstract_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_11__.ConditionalBooleanValue),
|
|
272233
|
+
/* harmony export */ "ConditionalStringValue": () => (/* reexport safe */ _appui_abstract_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_12__.ConditionalStringValue),
|
|
272234
|
+
/* harmony export */ "DialogButtonStyle": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.DialogButtonStyle),
|
|
272235
|
+
/* harmony export */ "DialogButtonType": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.DialogButtonType),
|
|
272236
|
+
/* harmony export */ "DialogLayoutDataProvider": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.DialogLayoutDataProvider),
|
|
272237
|
+
/* harmony export */ "DialogProperty": () => (/* reexport safe */ _appui_abstract_dialogs_DialogItem__WEBPACK_IMPORTED_MODULE_4__.DialogProperty),
|
|
272238
|
+
/* harmony export */ "DisplayMessageType": () => (/* reexport safe */ _appui_abstract_notification_MessagePresenter__WEBPACK_IMPORTED_MODULE_14__.DisplayMessageType),
|
|
272239
|
+
/* harmony export */ "FunctionKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__.FunctionKey),
|
|
272240
|
+
/* harmony export */ "FuzzyScore": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.FuzzyScore),
|
|
272241
|
+
/* harmony export */ "GenericUiEvent": () => (/* reexport safe */ _appui_abstract_UiAdmin__WEBPACK_IMPORTED_MODULE_0__.GenericUiEvent),
|
|
272242
|
+
/* harmony export */ "IconSpecUtilities": () => (/* reexport safe */ _appui_abstract_utils_IconSpecUtilities__WEBPACK_IMPORTED_MODULE_28__.IconSpecUtilities),
|
|
272243
|
+
/* harmony export */ "MessageSeverity": () => (/* reexport safe */ _appui_abstract_notification_MessageSeverity__WEBPACK_IMPORTED_MODULE_15__.MessageSeverity),
|
|
272244
|
+
/* harmony export */ "PropertyChangeStatus": () => (/* reexport safe */ _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__.PropertyChangeStatus),
|
|
272245
|
+
/* harmony export */ "PropertyDescriptionHelper": () => (/* reexport safe */ _appui_abstract_properties_Description__WEBPACK_IMPORTED_MODULE_16__.PropertyDescriptionHelper),
|
|
272246
|
+
/* harmony export */ "PropertyEditorParamTypes": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.PropertyEditorParamTypes),
|
|
272247
|
+
/* harmony export */ "PropertyRecord": () => (/* reexport safe */ _appui_abstract_properties_Record__WEBPACK_IMPORTED_MODULE_19__.PropertyRecord),
|
|
272248
|
+
/* harmony export */ "PropertyValueFormat": () => (/* reexport safe */ _appui_abstract_properties_Value__WEBPACK_IMPORTED_MODULE_22__.PropertyValueFormat),
|
|
272249
|
+
/* harmony export */ "RelativePosition": () => (/* reexport safe */ _appui_abstract_items_RelativePosition__WEBPACK_IMPORTED_MODULE_13__.RelativePosition),
|
|
272250
|
+
/* harmony export */ "SpecialKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__.SpecialKey),
|
|
272251
|
+
/* harmony export */ "StandardContentLayouts": () => (/* reexport safe */ _appui_abstract_content_StandardContentLayouts__WEBPACK_IMPORTED_MODULE_3__.StandardContentLayouts),
|
|
272252
|
+
/* harmony export */ "StandardEditorNames": () => (/* reexport safe */ _appui_abstract_properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_20__.StandardEditorNames),
|
|
272253
|
+
/* harmony export */ "StandardTypeNames": () => (/* reexport safe */ _appui_abstract_properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_21__.StandardTypeNames),
|
|
272254
|
+
/* harmony export */ "SyncPropertiesChangeEvent": () => (/* reexport safe */ _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__.SyncPropertiesChangeEvent),
|
|
272255
|
+
/* harmony export */ "TimeDisplay": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.TimeDisplay),
|
|
272256
|
+
/* harmony export */ "ToolbarItemUtilities": () => (/* reexport safe */ _appui_abstract_toolbars_ToolbarItem__WEBPACK_IMPORTED_MODULE_24__.ToolbarItemUtilities),
|
|
272257
|
+
/* harmony export */ "UiAdmin": () => (/* reexport safe */ _appui_abstract_UiAdmin__WEBPACK_IMPORTED_MODULE_0__.UiAdmin),
|
|
272258
|
+
/* harmony export */ "UiDataProvider": () => (/* reexport safe */ _appui_abstract_dialogs_UiDataProvider__WEBPACK_IMPORTED_MODULE_6__.UiDataProvider),
|
|
272259
|
+
/* harmony export */ "UiError": () => (/* reexport safe */ _appui_abstract_utils_UiError__WEBPACK_IMPORTED_MODULE_30__.UiError),
|
|
272260
|
+
/* harmony export */ "UiEvent": () => (/* reexport safe */ _appui_abstract_utils_UiEvent__WEBPACK_IMPORTED_MODULE_32__.UiEvent),
|
|
272261
|
+
/* harmony export */ "UiEventDispatcher": () => (/* reexport safe */ _appui_abstract_utils_UiEventDispatcher__WEBPACK_IMPORTED_MODULE_31__.UiEventDispatcher),
|
|
272262
|
+
/* harmony export */ "UiLayoutDataProvider": () => (/* reexport safe */ _appui_abstract_dialogs_UiLayoutDataProvider__WEBPACK_IMPORTED_MODULE_5__.UiLayoutDataProvider),
|
|
272263
|
+
/* harmony export */ "UiSyncEvent": () => (/* reexport safe */ _appui_abstract_utils_UiEventDispatcher__WEBPACK_IMPORTED_MODULE_31__.UiSyncEvent),
|
|
272264
|
+
/* harmony export */ "convertSimple2RegExpPattern": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.convertSimple2RegExpPattern),
|
|
272265
|
+
/* harmony export */ "createMatches": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.createMatches),
|
|
272266
|
+
/* harmony export */ "equalsIgnoreCase": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.equalsIgnoreCase),
|
|
272267
|
+
/* harmony export */ "fuzzyScore": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.fuzzyScore),
|
|
272268
|
+
/* harmony export */ "fuzzyScoreGraceful": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.fuzzyScoreGraceful),
|
|
272269
|
+
/* harmony export */ "fuzzyScoreGracefulAggressive": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.fuzzyScoreGracefulAggressive),
|
|
272270
|
+
/* harmony export */ "getClassName": () => (/* reexport safe */ _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_26__.getClassName),
|
|
272271
|
+
/* harmony export */ "isArrowKey": () => (/* reexport safe */ _appui_abstract_common_KeyboardKey__WEBPACK_IMPORTED_MODULE_1__.isArrowKey),
|
|
272272
|
+
/* harmony export */ "isButtonGroupEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isButtonGroupEditorParams),
|
|
272273
|
+
/* harmony export */ "isColorEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isColorEditorParams),
|
|
272274
|
+
/* harmony export */ "isCustomFormattedNumberParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isCustomFormattedNumberParams),
|
|
272275
|
+
/* harmony export */ "isIconListEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isIconListEditorParams),
|
|
272276
|
+
/* harmony export */ "isInputEditorSizeParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isInputEditorSizeParams),
|
|
272277
|
+
/* harmony export */ "isLetter": () => (/* reexport safe */ _appui_abstract_utils_isLetter__WEBPACK_IMPORTED_MODULE_27__.isLetter),
|
|
272278
|
+
/* harmony export */ "isLowerAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.isLowerAsciiLetter),
|
|
272279
|
+
/* harmony export */ "isPatternInWord": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.isPatternInWord),
|
|
272280
|
+
/* harmony export */ "isSuppressLabelEditorParams": () => (/* reexport safe */ _appui_abstract_properties_EditorParams__WEBPACK_IMPORTED_MODULE_17__.isSuppressLabelEditorParams),
|
|
272281
|
+
/* harmony export */ "isUpperAsciiLetter": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.isUpperAsciiLetter),
|
|
272282
|
+
/* harmony export */ "loggerCategory": () => (/* reexport safe */ _appui_abstract_utils_misc__WEBPACK_IMPORTED_MODULE_26__.loggerCategory),
|
|
272283
|
+
/* harmony export */ "matchesCamelCase": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesCamelCase),
|
|
272284
|
+
/* harmony export */ "matchesContiguousSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesContiguousSubString),
|
|
272285
|
+
/* harmony export */ "matchesFuzzy": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesFuzzy),
|
|
272286
|
+
/* harmony export */ "matchesFuzzy2": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesFuzzy2),
|
|
272287
|
+
/* harmony export */ "matchesPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesPrefix),
|
|
272288
|
+
/* harmony export */ "matchesStrictPrefix": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesStrictPrefix),
|
|
272289
|
+
/* harmony export */ "matchesSubString": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesSubString),
|
|
272290
|
+
/* harmony export */ "matchesWords": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.matchesWords),
|
|
272291
|
+
/* harmony export */ "or": () => (/* reexport safe */ _appui_abstract_utils_filter_filters__WEBPACK_IMPORTED_MODULE_34__.or),
|
|
272292
|
+
/* harmony export */ "startsWithIgnoreCase": () => (/* reexport safe */ _appui_abstract_utils_filter_strings__WEBPACK_IMPORTED_MODULE_35__.startsWithIgnoreCase)
|
|
272316
272293
|
/* harmony export */ });
|
|
272317
|
-
/* harmony import */ var
|
|
272318
|
-
/* harmony import */ var
|
|
272319
|
-
/* harmony import */ var
|
|
272320
|
-
/* harmony import */ var
|
|
272321
|
-
/* harmony import */ var
|
|
272322
|
-
/* harmony import */ var
|
|
272323
|
-
/* harmony import */ var
|
|
272324
|
-
/* harmony import */ var
|
|
272325
|
-
/* harmony import */ var
|
|
272326
|
-
/* harmony import */ var
|
|
272327
|
-
/* harmony import */ var
|
|
272328
|
-
/* harmony import */ var
|
|
272329
|
-
/* harmony import */ var
|
|
272330
|
-
/* harmony import */ var
|
|
272331
|
-
/* harmony import */ var
|
|
272332
|
-
/* harmony import */ var
|
|
272333
|
-
/* harmony import */ var
|
|
272334
|
-
/* harmony import */ var
|
|
272335
|
-
/* harmony import */ var
|
|
272336
|
-
/* harmony import */ var
|
|
272337
|
-
/* harmony import */ var
|
|
272338
|
-
/* harmony import */ var
|
|
272339
|
-
/* harmony import */ var
|
|
272340
|
-
/* harmony import */ var
|
|
272341
|
-
/* harmony import */ var
|
|
272342
|
-
/* harmony import */ var
|
|
272343
|
-
/* harmony import */ var
|
|
272344
|
-
/* harmony import */ var
|
|
272345
|
-
/* harmony import */ var
|
|
272346
|
-
/* harmony import */ var
|
|
272347
|
-
/* harmony import */ var
|
|
272348
|
-
/* harmony import */ var
|
|
272349
|
-
/* harmony import */ var
|
|
272350
|
-
/* harmony import */ var
|
|
272351
|
-
/* harmony import */ var
|
|
272352
|
-
/* harmony import */ var
|
|
272353
|
-
/* 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");
|
|
272354
|
-
/* 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");
|
|
272355
|
-
/* 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");
|
|
272356
|
-
/* 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");
|
|
272357
|
-
/* 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");
|
|
272358
|
-
/* 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");
|
|
272359
|
-
/* 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");
|
|
272360
|
-
/* 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");
|
|
272361
|
-
/* 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");
|
|
272362
|
-
/* 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");
|
|
272363
|
-
/* 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");
|
|
272364
|
-
/* 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");
|
|
272365
|
-
/* 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");
|
|
272294
|
+
/* harmony import */ var _appui_abstract_UiAdmin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./appui-abstract/UiAdmin */ "../../ui/appui-abstract/lib/esm/appui-abstract/UiAdmin.js");
|
|
272295
|
+
/* 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");
|
|
272296
|
+
/* 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");
|
|
272297
|
+
/* 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");
|
|
272298
|
+
/* 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");
|
|
272299
|
+
/* 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");
|
|
272300
|
+
/* 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");
|
|
272301
|
+
/* 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");
|
|
272302
|
+
/* 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");
|
|
272303
|
+
/* 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");
|
|
272304
|
+
/* 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");
|
|
272305
|
+
/* 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");
|
|
272306
|
+
/* 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");
|
|
272307
|
+
/* 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");
|
|
272308
|
+
/* 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");
|
|
272309
|
+
/* 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");
|
|
272310
|
+
/* 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");
|
|
272311
|
+
/* 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");
|
|
272312
|
+
/* 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");
|
|
272313
|
+
/* 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");
|
|
272314
|
+
/* 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");
|
|
272315
|
+
/* 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");
|
|
272316
|
+
/* 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");
|
|
272317
|
+
/* 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");
|
|
272318
|
+
/* 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");
|
|
272319
|
+
/* 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");
|
|
272320
|
+
/* 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");
|
|
272321
|
+
/* 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");
|
|
272322
|
+
/* 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");
|
|
272323
|
+
/* 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");
|
|
272324
|
+
/* 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");
|
|
272325
|
+
/* 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");
|
|
272326
|
+
/* 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");
|
|
272327
|
+
/* 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");
|
|
272328
|
+
/* 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");
|
|
272329
|
+
/* 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");
|
|
272366
272330
|
/*---------------------------------------------------------------------------------------------
|
|
272367
272331
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
272368
272332
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -272387,21 +272351,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
272387
272351
|
|
|
272388
272352
|
|
|
272389
272353
|
|
|
272390
|
-
|
|
272391
|
-
|
|
272392
|
-
|
|
272393
|
-
|
|
272394
|
-
|
|
272395
|
-
|
|
272396
|
-
|
|
272397
|
-
|
|
272398
|
-
|
|
272399
|
-
|
|
272400
|
-
|
|
272401
|
-
|
|
272402
|
-
|
|
272403
|
-
|
|
272404
|
-
|
|
272405
272354
|
|
|
272406
272355
|
|
|
272407
272356
|
|
|
@@ -272422,10 +272371,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
272422
272371
|
* The appui-abstract package contains abstractions for UI controls, such as toolbars, buttons and menus.
|
|
272423
272372
|
* For more information, see [learning about appui-abstract]($docs/learning/ui/abstract/index.md).
|
|
272424
272373
|
*/
|
|
272425
|
-
/**
|
|
272426
|
-
* @docs-group-description Backstage
|
|
272427
|
-
* Abstractions used by appui-react package to create and manage the display Backstage menu items.
|
|
272428
|
-
*/
|
|
272429
272374
|
/**
|
|
272430
272375
|
* @docs-group-description ContentView
|
|
272431
272376
|
* Classes and interfaces used with Content Layouts.
|
|
@@ -272446,10 +272391,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
272446
272391
|
* @docs-group-description Properties
|
|
272447
272392
|
* Properties system for data input and formatting.
|
|
272448
272393
|
*/
|
|
272449
|
-
/**
|
|
272450
|
-
* @docs-group-description StatusBar
|
|
272451
|
-
* Classes for creating and managing items in the status bar.
|
|
272452
|
-
*/
|
|
272453
272394
|
/**
|
|
272454
272395
|
* @docs-group-description Toolbar
|
|
272455
272396
|
* Classes for creating and managing items in a toolbar.
|
|
@@ -272458,110 +272399,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
272458
272399
|
* @docs-group-description UiAdmin
|
|
272459
272400
|
* Abstractions for UI controls, such as toolbars, buttons and menus and are callable from IModelApp.uiAdmin in core-frontend.
|
|
272460
272401
|
*/
|
|
272461
|
-
/**
|
|
272462
|
-
* @docs-group-description UiItemsProvider
|
|
272463
|
-
* Interface for specifying UI items to be inserted at runtime.
|
|
272464
|
-
*/
|
|
272465
272402
|
/**
|
|
272466
272403
|
* @docs-group-description Utilities
|
|
272467
272404
|
* Various utility classes for working with a UI.
|
|
272468
272405
|
*/
|
|
272469
|
-
/**
|
|
272470
|
-
* @docs-group-description Widget
|
|
272471
|
-
* Classes for creating and providing Widgets.
|
|
272472
|
-
*/
|
|
272473
|
-
|
|
272474
|
-
|
|
272475
|
-
/***/ }),
|
|
272476
|
-
|
|
272477
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/BaseUiItemsProvider.js":
|
|
272478
|
-
/*!*****************************************************************************!*\
|
|
272479
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/BaseUiItemsProvider.js ***!
|
|
272480
|
-
\*****************************************************************************/
|
|
272481
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
272482
|
-
|
|
272483
|
-
"use strict";
|
|
272484
|
-
__webpack_require__.r(__webpack_exports__);
|
|
272485
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
272486
|
-
/* harmony export */ "BaseUiItemsProvider": () => (/* binding */ BaseUiItemsProvider)
|
|
272487
|
-
/* harmony export */ });
|
|
272488
|
-
/* harmony import */ var _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./items/StageUsage */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/StageUsage.js");
|
|
272489
|
-
/* harmony import */ var _UiItemsManager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UiItemsManager */ "../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsManager.js");
|
|
272490
|
-
/*---------------------------------------------------------------------------------------------
|
|
272491
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
272492
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
272493
|
-
*--------------------------------------------------------------------------------------------*/
|
|
272494
|
-
/* eslint-disable deprecation/deprecation */
|
|
272495
|
-
/** @packageDocumentation
|
|
272496
|
-
* @module UiItemsProvider
|
|
272497
|
-
*/
|
|
272498
|
-
|
|
272499
|
-
|
|
272500
|
-
/** Base implementation of a UiItemsProvider. The base class allows the user to pass in a function that is used to determine if the
|
|
272501
|
-
* active stage should be provided items. Derived provider classes should override the `xxxInternal` methods to provide items.
|
|
272502
|
-
* @deprecated in 3.6. Use [BaseUiItemsProvider]($appui-react) instead.
|
|
272503
|
-
* @public
|
|
272504
|
-
*/
|
|
272505
|
-
class BaseUiItemsProvider {
|
|
272506
|
-
/*
|
|
272507
|
-
* @param providerId - unique identifier for this instance of the provider. This is required in case separate packages want
|
|
272508
|
-
* to set up custom stage with their own subset of standard tools.
|
|
272509
|
-
* @param isSupportedStage - optional function that will be called to determine if tools should be added to current stage. If not set and
|
|
272510
|
-
* the current stage's `usage` is set to `StageUsage.General` then the provider will add items to frontstage.
|
|
272511
|
-
*/
|
|
272512
|
-
constructor(_providerId, isSupportedStage) {
|
|
272513
|
-
this._providerId = _providerId;
|
|
272514
|
-
this.isSupportedStage = isSupportedStage;
|
|
272515
|
-
}
|
|
272516
|
-
get id() { return this._providerId; }
|
|
272517
|
-
onUnregister() { }
|
|
272518
|
-
unregister() {
|
|
272519
|
-
_UiItemsManager__WEBPACK_IMPORTED_MODULE_1__.UiItemsManager.unregister(this._providerId);
|
|
272520
|
-
}
|
|
272521
|
-
/** Backstage items are not stage specific so no callback is used */
|
|
272522
|
-
provideBackstageItems() {
|
|
272523
|
-
return [];
|
|
272524
|
-
}
|
|
272525
|
-
provideToolbarButtonItemsInternal(_stageId, _stageUsage, _toolbarUsage, _toolbarOrientation, _stageAppData) {
|
|
272526
|
-
return [];
|
|
272527
|
-
}
|
|
272528
|
-
provideToolbarButtonItems(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData) {
|
|
272529
|
-
let provideToStage = false;
|
|
272530
|
-
if (this.isSupportedStage) {
|
|
272531
|
-
provideToStage = this.isSupportedStage(stageId, stageUsage, stageAppData, this);
|
|
272532
|
-
}
|
|
272533
|
-
else {
|
|
272534
|
-
provideToStage = (stageUsage === _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__.StageUsage.General);
|
|
272535
|
-
}
|
|
272536
|
-
return provideToStage ? this.provideToolbarButtonItemsInternal(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData) : [];
|
|
272537
|
-
}
|
|
272538
|
-
provideStatusBarItemsInternal(_stageId, _stageUsage, _stageAppData) {
|
|
272539
|
-
return [];
|
|
272540
|
-
}
|
|
272541
|
-
provideStatusBarItems(stageId, stageUsage, stageAppData) {
|
|
272542
|
-
let provideToStage = false;
|
|
272543
|
-
if (this.isSupportedStage) {
|
|
272544
|
-
provideToStage = this.isSupportedStage(stageId, stageUsage, stageAppData, this);
|
|
272545
|
-
}
|
|
272546
|
-
else {
|
|
272547
|
-
provideToStage = (stageUsage === _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__.StageUsage.General);
|
|
272548
|
-
}
|
|
272549
|
-
return provideToStage ? this.provideStatusBarItemsInternal(stageId, stageUsage, stageAppData) : [];
|
|
272550
|
-
}
|
|
272551
|
-
provideWidgetsInternal(_stageId, _stageUsage, _location, _section, _zoneLocation, _stageAppData) {
|
|
272552
|
-
return [];
|
|
272553
|
-
}
|
|
272554
|
-
provideWidgets(stageId, stageUsage, location, section, _zoneLocation, stageAppData) {
|
|
272555
|
-
let provideToStage = false;
|
|
272556
|
-
if (this.isSupportedStage) {
|
|
272557
|
-
provideToStage = this.isSupportedStage(stageId, stageUsage, stageAppData, this);
|
|
272558
|
-
}
|
|
272559
|
-
else {
|
|
272560
|
-
provideToStage = (stageUsage === _items_StageUsage__WEBPACK_IMPORTED_MODULE_0__.StageUsage.General);
|
|
272561
|
-
}
|
|
272562
|
-
return provideToStage ? this.provideWidgetsInternal(stageId, stageUsage, location, section, _zoneLocation, stageAppData) : [];
|
|
272563
|
-
}
|
|
272564
|
-
}
|
|
272565
272406
|
|
|
272566
272407
|
|
|
272567
272408
|
/***/ }),
|
|
@@ -272803,464 +272644,6 @@ UiAdmin.onGenericUiEvent = new GenericUiEvent();
|
|
|
272803
272644
|
|
|
272804
272645
|
|
|
272805
272646
|
|
|
272806
|
-
/***/ }),
|
|
272807
|
-
|
|
272808
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsManager.js":
|
|
272809
|
-
/*!************************************************************************!*\
|
|
272810
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsManager.js ***!
|
|
272811
|
-
\************************************************************************/
|
|
272812
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
272813
|
-
|
|
272814
|
-
"use strict";
|
|
272815
|
-
__webpack_require__.r(__webpack_exports__);
|
|
272816
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
272817
|
-
/* harmony export */ "UiItemsApplicationAction": () => (/* binding */ UiItemsApplicationAction),
|
|
272818
|
-
/* harmony export */ "UiItemsManager": () => (/* binding */ UiItemsManager)
|
|
272819
|
-
/* harmony export */ });
|
|
272820
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
272821
|
-
/* harmony import */ var _utils_misc__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/misc */ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/misc.js");
|
|
272822
|
-
/*---------------------------------------------------------------------------------------------
|
|
272823
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
272824
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
272825
|
-
*--------------------------------------------------------------------------------------------*/
|
|
272826
|
-
/* eslint-disable deprecation/deprecation */
|
|
272827
|
-
/** @packageDocumentation
|
|
272828
|
-
* @module UiItemsProvider
|
|
272829
|
-
*/
|
|
272830
|
-
|
|
272831
|
-
|
|
272832
|
-
/** Action taken by the application on item provided by a UiItemsProvider
|
|
272833
|
-
* @public @deprecated in 3.2. This was only used by the previously removed UiItemsArbiter.
|
|
272834
|
-
*/
|
|
272835
|
-
var UiItemsApplicationAction;
|
|
272836
|
-
(function (UiItemsApplicationAction) {
|
|
272837
|
-
/** Allow the change to the item */
|
|
272838
|
-
UiItemsApplicationAction[UiItemsApplicationAction["Allow"] = 0] = "Allow";
|
|
272839
|
-
/** Disallow the change to the item */
|
|
272840
|
-
UiItemsApplicationAction[UiItemsApplicationAction["Disallow"] = 1] = "Disallow";
|
|
272841
|
-
/** Update the item during the change */
|
|
272842
|
-
UiItemsApplicationAction[UiItemsApplicationAction["Update"] = 2] = "Update";
|
|
272843
|
-
})(UiItemsApplicationAction || (UiItemsApplicationAction = {}));
|
|
272844
|
-
/** Controls registering of UiItemsProviders and calls the provider's methods when populating different parts of the User Interface.
|
|
272845
|
-
* @deprecated in 3.6. Use [UiItemsManager]($appui-react) instead.
|
|
272846
|
-
* @public
|
|
272847
|
-
*/
|
|
272848
|
-
class UiItemsManager {
|
|
272849
|
-
/** For use in unit testing
|
|
272850
|
-
* @internal */
|
|
272851
|
-
static clearAllProviders() {
|
|
272852
|
-
UiItemsManager._registeredUiItemsProviders.clear();
|
|
272853
|
-
}
|
|
272854
|
-
/** Return number of registered UiProvider. */
|
|
272855
|
-
static get registeredProviderIds() {
|
|
272856
|
-
const ids = [...UiItemsManager._registeredUiItemsProviders.keys()];
|
|
272857
|
-
return ids;
|
|
272858
|
-
}
|
|
272859
|
-
/** Return true if there is any registered UiProvider. */
|
|
272860
|
-
static get hasRegisteredProviders() {
|
|
272861
|
-
return this._registeredUiItemsProviders.size > 0;
|
|
272862
|
-
}
|
|
272863
|
-
/**
|
|
272864
|
-
* Retrieves a previously loaded UiItemsProvider.
|
|
272865
|
-
* @param providerId id of the UiItemsProvider to get
|
|
272866
|
-
*/
|
|
272867
|
-
static getUiItemsProvider(providerId) {
|
|
272868
|
-
return UiItemsManager._registeredUiItemsProviders.get(providerId)?.provider;
|
|
272869
|
-
}
|
|
272870
|
-
static sendRegisteredEvent(ev) {
|
|
272871
|
-
UiItemsManager.onUiProviderRegisteredEvent.raiseEvent(ev);
|
|
272872
|
-
}
|
|
272873
|
-
/**
|
|
272874
|
-
* Registers a UiItemsProvider with the UiItemsManager.
|
|
272875
|
-
* @param uiProvider the UI items provider to register.
|
|
272876
|
-
*/
|
|
272877
|
-
static register(uiProvider, overrides) {
|
|
272878
|
-
const providerId = overrides?.providerId ?? uiProvider.id;
|
|
272879
|
-
if (UiItemsManager.getUiItemsProvider(providerId)) {
|
|
272880
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logInfo((0,_utils_misc__WEBPACK_IMPORTED_MODULE_1__.loggerCategory)(this), `UiItemsProvider (${providerId}) is already loaded`);
|
|
272881
|
-
}
|
|
272882
|
-
else {
|
|
272883
|
-
UiItemsManager._registeredUiItemsProviders.set(providerId, { provider: uiProvider, overrides });
|
|
272884
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logInfo((0,_utils_misc__WEBPACK_IMPORTED_MODULE_1__.loggerCategory)(this), `UiItemsProvider ${uiProvider.id} registered as ${providerId} `);
|
|
272885
|
-
UiItemsManager.sendRegisteredEvent({ providerId });
|
|
272886
|
-
}
|
|
272887
|
-
}
|
|
272888
|
-
/** Remove a specific UiItemsProvider from the list of available providers. */
|
|
272889
|
-
static unregister(uiProviderId) {
|
|
272890
|
-
const provider = UiItemsManager.getUiItemsProvider(uiProviderId);
|
|
272891
|
-
if (!provider)
|
|
272892
|
-
return;
|
|
272893
|
-
provider.onUnregister && provider.onUnregister();
|
|
272894
|
-
UiItemsManager._registeredUiItemsProviders.delete(uiProviderId);
|
|
272895
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logInfo((0,_utils_misc__WEBPACK_IMPORTED_MODULE_1__.loggerCategory)(this), `UiItemsProvider (${uiProviderId}) unloaded`);
|
|
272896
|
-
// trigger a refresh of the ui
|
|
272897
|
-
UiItemsManager.sendRegisteredEvent({ providerId: uiProviderId });
|
|
272898
|
-
}
|
|
272899
|
-
static allowItemsFromProvider(entry, stageId, stageUsage) {
|
|
272900
|
-
// istanbul ignore else
|
|
272901
|
-
const overrides = entry.overrides;
|
|
272902
|
-
if (undefined !== stageId && overrides?.stageIds && !(overrides.stageIds.some((value) => value === stageId)))
|
|
272903
|
-
return false;
|
|
272904
|
-
if (undefined !== stageUsage && overrides?.stageUsages && !(overrides.stageUsages.some((value) => value === stageUsage)))
|
|
272905
|
-
return false;
|
|
272906
|
-
return true;
|
|
272907
|
-
}
|
|
272908
|
-
/** Called when the application is populating a toolbar so that any registered UiItemsProvider can add tool buttons that either either execute
|
|
272909
|
-
* an action or specify a registered ToolId into toolbar.
|
|
272910
|
-
* @param stageId a string identifier the active stage.
|
|
272911
|
-
* @param stageUsage the StageUsage of the active stage.
|
|
272912
|
-
* @param toolbarUsage usage of the toolbar
|
|
272913
|
-
* @param toolbarOrientation orientation of the toolbar
|
|
272914
|
-
* @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.
|
|
272915
|
-
*/
|
|
272916
|
-
static getToolbarButtonItems(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData) {
|
|
272917
|
-
const buttonItems = [];
|
|
272918
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
272919
|
-
return buttonItems;
|
|
272920
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
272921
|
-
const uiProvider = entry.provider;
|
|
272922
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
272923
|
-
// istanbul ignore else
|
|
272924
|
-
if (uiProvider.provideToolbarButtonItems && this.allowItemsFromProvider(entry, stageId, stageUsage)) {
|
|
272925
|
-
uiProvider.provideToolbarButtonItems(stageId, stageUsage, toolbarUsage, toolbarOrientation, stageAppData)
|
|
272926
|
-
.forEach((spec) => {
|
|
272927
|
-
// ignore duplicate ids
|
|
272928
|
-
if (-1 === buttonItems.findIndex((existingItem) => spec.id === existingItem.id))
|
|
272929
|
-
buttonItems.push({ ...spec, providerId });
|
|
272930
|
-
});
|
|
272931
|
-
}
|
|
272932
|
-
});
|
|
272933
|
-
return buttonItems;
|
|
272934
|
-
}
|
|
272935
|
-
/** Called when the application is populating the statusbar so that any registered UiItemsProvider can add status fields
|
|
272936
|
-
* @param stageId a string identifier the active stage.
|
|
272937
|
-
* @param stageUsage the StageUsage of the active stage.
|
|
272938
|
-
* @returns An array of CommonStatusBarItem that will be used to create controls for the status bar.
|
|
272939
|
-
*/
|
|
272940
|
-
static getStatusBarItems(stageId, stageUsage, stageAppData) {
|
|
272941
|
-
const statusBarItems = [];
|
|
272942
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
272943
|
-
return statusBarItems;
|
|
272944
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
272945
|
-
const uiProvider = entry.provider;
|
|
272946
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
272947
|
-
// istanbul ignore else
|
|
272948
|
-
if (uiProvider.provideStatusBarItems && this.allowItemsFromProvider(entry, stageId, stageUsage)) {
|
|
272949
|
-
uiProvider.provideStatusBarItems(stageId, stageUsage, stageAppData)
|
|
272950
|
-
.forEach((item) => {
|
|
272951
|
-
// ignore duplicate ids
|
|
272952
|
-
if (-1 === statusBarItems.findIndex((existingItem) => item.id === existingItem.id))
|
|
272953
|
-
statusBarItems.push({ ...item, providerId });
|
|
272954
|
-
});
|
|
272955
|
-
}
|
|
272956
|
-
});
|
|
272957
|
-
return statusBarItems;
|
|
272958
|
-
}
|
|
272959
|
-
/** Called when the application is populating the statusbar so that any registered UiItemsProvider can add status fields
|
|
272960
|
-
* @returns An array of BackstageItem that will be used to create controls for the backstage menu.
|
|
272961
|
-
*/
|
|
272962
|
-
static getBackstageItems() {
|
|
272963
|
-
const backstageItems = [];
|
|
272964
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
272965
|
-
return backstageItems;
|
|
272966
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
272967
|
-
const uiProvider = entry.provider;
|
|
272968
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
272969
|
-
// istanbul ignore else
|
|
272970
|
-
if (uiProvider.provideBackstageItems) { // Note: We do not call this.allowItemsFromProvider here as backstage items
|
|
272971
|
-
uiProvider.provideBackstageItems() // should not be considered stage specific. If they need to be hidden
|
|
272972
|
-
.forEach((item) => {
|
|
272973
|
-
// ignore duplicate ids
|
|
272974
|
-
if (-1 === backstageItems.findIndex((existingItem) => item.id === existingItem.id))
|
|
272975
|
-
backstageItems.push({ ...item, providerId });
|
|
272976
|
-
});
|
|
272977
|
-
}
|
|
272978
|
-
});
|
|
272979
|
-
return backstageItems;
|
|
272980
|
-
}
|
|
272981
|
-
/** Called when the application is populating the Stage Panels so that any registered UiItemsProvider can add widgets
|
|
272982
|
-
* @param stageId a string identifier the active stage.
|
|
272983
|
-
* @param stageUsage the StageUsage of the active stage.
|
|
272984
|
-
* @param location the location within the stage.
|
|
272985
|
-
* @param section the section within location.
|
|
272986
|
-
* @returns An array of AbstractWidgetProps that will be used to create widgets.
|
|
272987
|
-
*/
|
|
272988
|
-
static getWidgets(stageId, stageUsage, location, section, zoneLocation, stageAppData) {
|
|
272989
|
-
const widgets = [];
|
|
272990
|
-
if (0 === UiItemsManager._registeredUiItemsProviders.size)
|
|
272991
|
-
return widgets;
|
|
272992
|
-
UiItemsManager._registeredUiItemsProviders.forEach((entry) => {
|
|
272993
|
-
const uiProvider = entry.provider;
|
|
272994
|
-
const providerId = entry.overrides?.providerId ?? uiProvider.id;
|
|
272995
|
-
// istanbul ignore else
|
|
272996
|
-
if (uiProvider.provideWidgets && this.allowItemsFromProvider(entry, stageId, stageUsage)) {
|
|
272997
|
-
uiProvider.provideWidgets(stageId, stageUsage, location, section, zoneLocation, stageAppData)
|
|
272998
|
-
.forEach((widget) => {
|
|
272999
|
-
// ignore duplicate ids
|
|
273000
|
-
if (-1 === widgets.findIndex((existingItem) => widget.id === existingItem.id))
|
|
273001
|
-
widgets.push({ ...widget, providerId });
|
|
273002
|
-
});
|
|
273003
|
-
}
|
|
273004
|
-
});
|
|
273005
|
-
return widgets;
|
|
273006
|
-
}
|
|
273007
|
-
}
|
|
273008
|
-
UiItemsManager._registeredUiItemsProviders = new Map();
|
|
273009
|
-
/** Event raised any time a UiProvider is registered or unregistered. */
|
|
273010
|
-
UiItemsManager.onUiProviderRegisteredEvent = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
273011
|
-
|
|
273012
|
-
|
|
273013
|
-
|
|
273014
|
-
/***/ }),
|
|
273015
|
-
|
|
273016
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsProvider.js":
|
|
273017
|
-
/*!*************************************************************************!*\
|
|
273018
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/UiItemsProvider.js ***!
|
|
273019
|
-
\*************************************************************************/
|
|
273020
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
273021
|
-
|
|
273022
|
-
"use strict";
|
|
273023
|
-
__webpack_require__.r(__webpack_exports__);
|
|
273024
|
-
/*---------------------------------------------------------------------------------------------
|
|
273025
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
273026
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
273027
|
-
*--------------------------------------------------------------------------------------------*/
|
|
273028
|
-
/** @packageDocumentation
|
|
273029
|
-
* @module UiItemsProvider
|
|
273030
|
-
*/
|
|
273031
|
-
|
|
273032
|
-
|
|
273033
|
-
|
|
273034
|
-
/***/ }),
|
|
273035
|
-
|
|
273036
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItem.js":
|
|
273037
|
-
/*!*********************************************************************************!*\
|
|
273038
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItem.js ***!
|
|
273039
|
-
\*********************************************************************************/
|
|
273040
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
273041
|
-
|
|
273042
|
-
"use strict";
|
|
273043
|
-
__webpack_require__.r(__webpack_exports__);
|
|
273044
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
273045
|
-
/* harmony export */ "BackstageItemType": () => (/* binding */ BackstageItemType),
|
|
273046
|
-
/* harmony export */ "BackstageItemUtilities": () => (/* binding */ BackstageItemUtilities),
|
|
273047
|
-
/* harmony export */ "isActionItem": () => (/* binding */ isActionItem),
|
|
273048
|
-
/* harmony export */ "isStageLauncher": () => (/* binding */ isStageLauncher)
|
|
273049
|
-
/* harmony export */ });
|
|
273050
|
-
/*---------------------------------------------------------------------------------------------
|
|
273051
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
273052
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
273053
|
-
*--------------------------------------------------------------------------------------------*/
|
|
273054
|
-
/** @packageDocumentation
|
|
273055
|
-
* @module Backstage
|
|
273056
|
-
*/
|
|
273057
|
-
/** Used to specify the item type added to the backstage menu.
|
|
273058
|
-
* @deprecated in 3.6. Use type guards instead.
|
|
273059
|
-
* @public
|
|
273060
|
-
*/
|
|
273061
|
-
var BackstageItemType;
|
|
273062
|
-
(function (BackstageItemType) {
|
|
273063
|
-
/** Item that executes an action function */
|
|
273064
|
-
BackstageItemType[BackstageItemType["ActionItem"] = 1] = "ActionItem";
|
|
273065
|
-
/** Item that activate a stage. */
|
|
273066
|
-
BackstageItemType[BackstageItemType["StageLauncher"] = 2] = "StageLauncher";
|
|
273067
|
-
})(BackstageItemType || (BackstageItemType = {}));
|
|
273068
|
-
/** BackstageActionItem type guard.
|
|
273069
|
-
* @deprecated in 3.6. Use [isBackstageActionItem]($appui-react) instead.
|
|
273070
|
-
* @public
|
|
273071
|
-
*/
|
|
273072
|
-
const isActionItem = (item) => {
|
|
273073
|
-
return item.execute !== undefined; // eslint-disable-line deprecation/deprecation
|
|
273074
|
-
};
|
|
273075
|
-
/** BackstageStageLauncher type guard.
|
|
273076
|
-
* @deprecated in 3.6. Use [isBackstageStageLauncher]($appui-react) instead.
|
|
273077
|
-
* @public
|
|
273078
|
-
*/
|
|
273079
|
-
const isStageLauncher = (item) => {
|
|
273080
|
-
return item.stageId !== undefined; // eslint-disable-line deprecation/deprecation
|
|
273081
|
-
};
|
|
273082
|
-
/** Utilities for creating and maintaining backstage items
|
|
273083
|
-
* @deprecated in 3.6. Use [BackstageItemUtilities]($appui-react) instead.
|
|
273084
|
-
* @public
|
|
273085
|
-
*/
|
|
273086
|
-
class BackstageItemUtilities {
|
|
273087
|
-
}
|
|
273088
|
-
/** Creates a stage launcher backstage item */
|
|
273089
|
-
BackstageItemUtilities.createStageLauncher = (frontstageId, groupPriority, itemPriority, label, subtitle, icon, overrides // eslint-disable-line deprecation/deprecation
|
|
273090
|
-
) => ({
|
|
273091
|
-
groupPriority,
|
|
273092
|
-
icon,
|
|
273093
|
-
internalData: overrides?.internalData,
|
|
273094
|
-
id: frontstageId,
|
|
273095
|
-
itemPriority,
|
|
273096
|
-
label,
|
|
273097
|
-
stageId: frontstageId,
|
|
273098
|
-
subtitle,
|
|
273099
|
-
...overrides,
|
|
273100
|
-
});
|
|
273101
|
-
/** Creates an action backstage item */
|
|
273102
|
-
BackstageItemUtilities.createActionItem = (itemId, groupPriority, itemPriority, execute, label, subtitle, icon, overrides // eslint-disable-line deprecation/deprecation
|
|
273103
|
-
) => ({
|
|
273104
|
-
execute,
|
|
273105
|
-
groupPriority,
|
|
273106
|
-
icon,
|
|
273107
|
-
internalData: overrides?.internalData,
|
|
273108
|
-
id: itemId,
|
|
273109
|
-
itemPriority,
|
|
273110
|
-
label,
|
|
273111
|
-
subtitle,
|
|
273112
|
-
...overrides,
|
|
273113
|
-
});
|
|
273114
|
-
|
|
273115
|
-
|
|
273116
|
-
|
|
273117
|
-
/***/ }),
|
|
273118
|
-
|
|
273119
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItemsManager.js":
|
|
273120
|
-
/*!*****************************************************************************************!*\
|
|
273121
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/backstage/BackstageItemsManager.js ***!
|
|
273122
|
-
\*****************************************************************************************/
|
|
273123
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
273124
|
-
|
|
273125
|
-
"use strict";
|
|
273126
|
-
__webpack_require__.r(__webpack_exports__);
|
|
273127
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
273128
|
-
/* harmony export */ "BackstageItemsManager": () => (/* binding */ BackstageItemsManager)
|
|
273129
|
-
/* harmony export */ });
|
|
273130
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
273131
|
-
/* harmony import */ var _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../items/ConditionalBooleanValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalBooleanValue.js");
|
|
273132
|
-
/* harmony import */ var _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../items/ConditionalStringValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalStringValue.js");
|
|
273133
|
-
/*---------------------------------------------------------------------------------------------
|
|
273134
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
273135
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
273136
|
-
*--------------------------------------------------------------------------------------------*/
|
|
273137
|
-
/** @packageDocumentation
|
|
273138
|
-
* @module Backstage
|
|
273139
|
-
*/
|
|
273140
|
-
|
|
273141
|
-
|
|
273142
|
-
|
|
273143
|
-
const isInstance = (args) => {
|
|
273144
|
-
return !Array.isArray(args);
|
|
273145
|
-
};
|
|
273146
|
-
/**
|
|
273147
|
-
* Controls backstage items.
|
|
273148
|
-
* @internal
|
|
273149
|
-
*/
|
|
273150
|
-
class BackstageItemsManager {
|
|
273151
|
-
constructor(items) {
|
|
273152
|
-
this._items = [];
|
|
273153
|
-
/** Event raised when backstage items are changed.
|
|
273154
|
-
* @internal
|
|
273155
|
-
*/
|
|
273156
|
-
this.onItemsChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
273157
|
-
// istanbul ignore else
|
|
273158
|
-
if (items)
|
|
273159
|
-
this.loadItemsInternal(items, true, false);
|
|
273160
|
-
}
|
|
273161
|
-
loadItemsInternal(items, processConditions, sendItemChanged) {
|
|
273162
|
-
if (processConditions && items) {
|
|
273163
|
-
const eventIds = BackstageItemsManager.getSyncIdsOfInterest(items);
|
|
273164
|
-
if (0 !== eventIds.length) {
|
|
273165
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(items, new Set(eventIds));
|
|
273166
|
-
// istanbul ignore else
|
|
273167
|
-
if (itemsUpdated)
|
|
273168
|
-
items = updatedItems;
|
|
273169
|
-
}
|
|
273170
|
-
}
|
|
273171
|
-
this._items = items;
|
|
273172
|
-
if (sendItemChanged)
|
|
273173
|
-
this.onItemsChanged.raiseEvent({ items });
|
|
273174
|
-
}
|
|
273175
|
-
/** load items but do not fire onItemsChanged
|
|
273176
|
-
* @internal
|
|
273177
|
-
*/
|
|
273178
|
-
loadItems(items) {
|
|
273179
|
-
this.loadItemsInternal(items, true, false);
|
|
273180
|
-
}
|
|
273181
|
-
get items() {
|
|
273182
|
-
return this._items;
|
|
273183
|
-
}
|
|
273184
|
-
set items(items) {
|
|
273185
|
-
// istanbul ignore else
|
|
273186
|
-
if (items !== this._items)
|
|
273187
|
-
this.loadItemsInternal(items, true, true);
|
|
273188
|
-
}
|
|
273189
|
-
/** @internal */
|
|
273190
|
-
add(itemOrItems) {
|
|
273191
|
-
let itemsToAdd;
|
|
273192
|
-
if (isInstance(itemOrItems))
|
|
273193
|
-
itemsToAdd = [itemOrItems];
|
|
273194
|
-
else {
|
|
273195
|
-
itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);
|
|
273196
|
-
}
|
|
273197
|
-
itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);
|
|
273198
|
-
if (itemsToAdd.length === 0)
|
|
273199
|
-
return;
|
|
273200
|
-
const items = [
|
|
273201
|
-
...this._items,
|
|
273202
|
-
...itemsToAdd,
|
|
273203
|
-
];
|
|
273204
|
-
this.items = items;
|
|
273205
|
-
}
|
|
273206
|
-
/** @internal */
|
|
273207
|
-
remove(itemIdOrItemIds) {
|
|
273208
|
-
const items = this._items.filter((item) => {
|
|
273209
|
-
return isInstance(itemIdOrItemIds) ? item.id !== itemIdOrItemIds : !itemIdOrItemIds.find((itemId) => itemId === item.id);
|
|
273210
|
-
});
|
|
273211
|
-
this.items = items;
|
|
273212
|
-
}
|
|
273213
|
-
/** @internal */
|
|
273214
|
-
static getSyncIdsOfInterest(items) {
|
|
273215
|
-
const eventIds = new Set();
|
|
273216
|
-
items.forEach((item) => {
|
|
273217
|
-
for (const [, entry] of Object.entries(item)) {
|
|
273218
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
273219
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
273220
|
-
}
|
|
273221
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
273222
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
273223
|
-
}
|
|
273224
|
-
}
|
|
273225
|
-
});
|
|
273226
|
-
return [...eventIds.values()];
|
|
273227
|
-
}
|
|
273228
|
-
internalRefreshAffectedItems(items, eventIds) {
|
|
273229
|
-
// istanbul ignore next
|
|
273230
|
-
if (0 === eventIds.size)
|
|
273231
|
-
return { itemsUpdated: false, updatedItems: [] };
|
|
273232
|
-
let updateRequired = false;
|
|
273233
|
-
const newItems = [];
|
|
273234
|
-
for (const item of items) {
|
|
273235
|
-
const updatedItem = { ...item };
|
|
273236
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
273237
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
273238
|
-
// istanbul ignore else
|
|
273239
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
273240
|
-
updateRequired = true;
|
|
273241
|
-
}
|
|
273242
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
273243
|
-
// istanbul ignore else
|
|
273244
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
273245
|
-
updateRequired = true;
|
|
273246
|
-
}
|
|
273247
|
-
}
|
|
273248
|
-
newItems.push(updatedItem);
|
|
273249
|
-
}
|
|
273250
|
-
return { itemsUpdated: updateRequired, updatedItems: newItems };
|
|
273251
|
-
}
|
|
273252
|
-
refreshAffectedItems(eventIds) {
|
|
273253
|
-
// istanbul ignore next
|
|
273254
|
-
if (0 === eventIds.size)
|
|
273255
|
-
return;
|
|
273256
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);
|
|
273257
|
-
// istanbul ignore else
|
|
273258
|
-
if (itemsUpdated)
|
|
273259
|
-
this.loadItemsInternal(updatedItems, false, true);
|
|
273260
|
-
}
|
|
273261
|
-
}
|
|
273262
|
-
|
|
273263
|
-
|
|
273264
272647
|
/***/ }),
|
|
273265
272648
|
|
|
273266
272649
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/common/KeyboardKey.js":
|
|
@@ -274066,26 +273449,6 @@ class ConditionalStringValue {
|
|
|
274066
273449
|
}
|
|
274067
273450
|
|
|
274068
273451
|
|
|
274069
|
-
/***/ }),
|
|
274070
|
-
|
|
274071
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ProvidedItem.js":
|
|
274072
|
-
/*!****************************************************************************!*\
|
|
274073
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/items/ProvidedItem.js ***!
|
|
274074
|
-
\****************************************************************************/
|
|
274075
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
274076
|
-
|
|
274077
|
-
"use strict";
|
|
274078
|
-
__webpack_require__.r(__webpack_exports__);
|
|
274079
|
-
/*---------------------------------------------------------------------------------------------
|
|
274080
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
274081
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
274082
|
-
*--------------------------------------------------------------------------------------------*/
|
|
274083
|
-
/** @packageDocumentation
|
|
274084
|
-
* @module Item
|
|
274085
|
-
*/
|
|
274086
|
-
|
|
274087
|
-
|
|
274088
|
-
|
|
274089
273452
|
/***/ }),
|
|
274090
273453
|
|
|
274091
273454
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/items/RelativePosition.js":
|
|
@@ -274124,42 +273487,6 @@ var RelativePosition;
|
|
|
274124
273487
|
})(RelativePosition || (RelativePosition = {}));
|
|
274125
273488
|
|
|
274126
273489
|
|
|
274127
|
-
/***/ }),
|
|
274128
|
-
|
|
274129
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/items/StageUsage.js":
|
|
274130
|
-
/*!**************************************************************************!*\
|
|
274131
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/items/StageUsage.js ***!
|
|
274132
|
-
\**************************************************************************/
|
|
274133
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
274134
|
-
|
|
274135
|
-
"use strict";
|
|
274136
|
-
__webpack_require__.r(__webpack_exports__);
|
|
274137
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274138
|
-
/* harmony export */ "StageUsage": () => (/* binding */ StageUsage)
|
|
274139
|
-
/* harmony export */ });
|
|
274140
|
-
/*---------------------------------------------------------------------------------------------
|
|
274141
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
274142
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
274143
|
-
*--------------------------------------------------------------------------------------------*/
|
|
274144
|
-
/** @packageDocumentation
|
|
274145
|
-
* @module Item
|
|
274146
|
-
*/
|
|
274147
|
-
/** Standard stage uses. Allows extension to target ui item to include on a stage without
|
|
274148
|
-
* knowing the stage name defined in the host application.
|
|
274149
|
-
* @deprecated in 3.6. Use [StageUsage]($appui-react) instead.
|
|
274150
|
-
* @public
|
|
274151
|
-
*/
|
|
274152
|
-
var StageUsage;
|
|
274153
|
-
(function (StageUsage) {
|
|
274154
|
-
StageUsage["Private"] = "Private";
|
|
274155
|
-
StageUsage["General"] = "General";
|
|
274156
|
-
StageUsage["Redline"] = "Redline";
|
|
274157
|
-
StageUsage["ViewOnly"] = "ViewOnly";
|
|
274158
|
-
StageUsage["Edit"] = "Edit";
|
|
274159
|
-
StageUsage["Settings"] = "Settings";
|
|
274160
|
-
})(StageUsage || (StageUsage = {}));
|
|
274161
|
-
|
|
274162
|
-
|
|
274163
273490
|
/***/ }),
|
|
274164
273491
|
|
|
274165
273492
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/notification/MessagePresenter.js":
|
|
@@ -274785,326 +274112,76 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
274785
274112
|
/** @packageDocumentation
|
|
274786
274113
|
* @module Properties
|
|
274787
274114
|
*/
|
|
274788
|
-
/**
|
|
274789
|
-
* Enumeration for Format of the property value.
|
|
274790
|
-
* @public
|
|
274791
|
-
*/
|
|
274792
|
-
var PropertyValueFormat;
|
|
274793
|
-
(function (PropertyValueFormat) {
|
|
274794
|
-
PropertyValueFormat[PropertyValueFormat["Primitive"] = 0] = "Primitive";
|
|
274795
|
-
PropertyValueFormat[PropertyValueFormat["Array"] = 1] = "Array";
|
|
274796
|
-
PropertyValueFormat[PropertyValueFormat["Struct"] = 2] = "Struct";
|
|
274797
|
-
})(PropertyValueFormat || (PropertyValueFormat = {}));
|
|
274798
|
-
|
|
274799
|
-
|
|
274800
|
-
/***/ }),
|
|
274801
|
-
|
|
274802
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js":
|
|
274803
|
-
/*!******************************************************************************************!*\
|
|
274804
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js ***!
|
|
274805
|
-
\******************************************************************************************/
|
|
274806
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
274807
|
-
|
|
274808
|
-
"use strict";
|
|
274809
|
-
__webpack_require__.r(__webpack_exports__);
|
|
274810
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274811
|
-
/* harmony export */ "BaseQuantityDescription": () => (/* binding */ BaseQuantityDescription)
|
|
274812
|
-
/* harmony export */ });
|
|
274813
|
-
/* harmony import */ var _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../properties/EditorParams */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/EditorParams.js");
|
|
274814
|
-
/* harmony import */ var _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../properties/StandardTypeNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardTypeNames.js");
|
|
274815
|
-
/* harmony import */ var _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../properties/StandardEditorNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardEditorNames.js");
|
|
274816
|
-
/*---------------------------------------------------------------------------------------------
|
|
274817
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
274818
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
274819
|
-
*--------------------------------------------------------------------------------------------*/
|
|
274820
|
-
/** @packageDocumentation
|
|
274821
|
-
* @module Properties
|
|
274822
|
-
*/
|
|
274823
|
-
|
|
274824
|
-
|
|
274825
|
-
|
|
274826
|
-
/**
|
|
274827
|
-
* Base Quantity Property Description
|
|
274828
|
-
* @beta
|
|
274829
|
-
*/
|
|
274830
|
-
class BaseQuantityDescription {
|
|
274831
|
-
constructor(name, displayLabel, iconSpec) {
|
|
274832
|
-
this.format = (numberValue) => {
|
|
274833
|
-
return this.formatValue(numberValue);
|
|
274834
|
-
};
|
|
274835
|
-
this.parse = (userInput) => {
|
|
274836
|
-
return this.parseString(userInput);
|
|
274837
|
-
};
|
|
274838
|
-
this.name = name;
|
|
274839
|
-
this.displayLabel = displayLabel;
|
|
274840
|
-
this.typename = _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__.StandardTypeNames.Number;
|
|
274841
|
-
this.editor = {
|
|
274842
|
-
name: _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__.StandardEditorNames.NumberCustom,
|
|
274843
|
-
params: [{
|
|
274844
|
-
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.CustomFormattedNumber,
|
|
274845
|
-
formatFunction: this.format,
|
|
274846
|
-
parseFunction: this.parse,
|
|
274847
|
-
},
|
|
274848
|
-
],
|
|
274849
|
-
};
|
|
274850
|
-
// istanbul ignore else
|
|
274851
|
-
if (iconSpec) {
|
|
274852
|
-
const params = {
|
|
274853
|
-
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.Icon,
|
|
274854
|
-
definition: { iconSpec },
|
|
274855
|
-
};
|
|
274856
|
-
this.editor.params.push(params);
|
|
274857
|
-
}
|
|
274858
|
-
}
|
|
274859
|
-
}
|
|
274860
|
-
|
|
274861
|
-
|
|
274862
|
-
/***/ }),
|
|
274863
|
-
|
|
274864
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/statusbar/StatusBarItem.js":
|
|
274865
|
-
/*!*********************************************************************************!*\
|
|
274866
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/statusbar/StatusBarItem.js ***!
|
|
274867
|
-
\*********************************************************************************/
|
|
274868
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
274869
|
-
|
|
274870
|
-
"use strict";
|
|
274871
|
-
__webpack_require__.r(__webpack_exports__);
|
|
274872
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274873
|
-
/* harmony export */ "AbstractStatusBarItemUtilities": () => (/* binding */ AbstractStatusBarItemUtilities),
|
|
274874
|
-
/* harmony export */ "StatusBarLabelSide": () => (/* binding */ StatusBarLabelSide),
|
|
274875
|
-
/* harmony export */ "StatusBarSection": () => (/* binding */ StatusBarSection),
|
|
274876
|
-
/* harmony export */ "isAbstractStatusBarActionItem": () => (/* binding */ isAbstractStatusBarActionItem),
|
|
274877
|
-
/* harmony export */ "isAbstractStatusBarCustomItem": () => (/* binding */ isAbstractStatusBarCustomItem),
|
|
274878
|
-
/* harmony export */ "isAbstractStatusBarLabelItem": () => (/* binding */ isAbstractStatusBarLabelItem)
|
|
274879
|
-
/* harmony export */ });
|
|
274880
|
-
/*---------------------------------------------------------------------------------------------
|
|
274881
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
274882
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
274883
|
-
*--------------------------------------------------------------------------------------------*/
|
|
274884
|
-
/** @packageDocumentation
|
|
274885
|
-
* @module StatusBar
|
|
274886
|
-
*/
|
|
274887
|
-
/** Status bar Groups/Sections from Left to Right
|
|
274888
|
-
* @deprecated in 3.6. Use [StatusBarSection]($appui-react) instead.
|
|
274889
|
-
* @public
|
|
274890
|
-
*/
|
|
274891
|
-
var StatusBarSection;
|
|
274892
|
-
(function (StatusBarSection) {
|
|
274893
|
-
/** area for tool assistance and messages */
|
|
274894
|
-
StatusBarSection[StatusBarSection["Message"] = 0] = "Message";
|
|
274895
|
-
/** area for tool assistance and messages */
|
|
274896
|
-
StatusBarSection[StatusBarSection["Left"] = 0] = "Left";
|
|
274897
|
-
/** items specific to stage/task */
|
|
274898
|
-
StatusBarSection[StatusBarSection["Stage"] = 1] = "Stage";
|
|
274899
|
-
/** items specific to stage/task */
|
|
274900
|
-
StatusBarSection[StatusBarSection["Center"] = 1] = "Center";
|
|
274901
|
-
/** Select scope and selection info */
|
|
274902
|
-
StatusBarSection[StatusBarSection["Selection"] = 2] = "Selection";
|
|
274903
|
-
/** Select scope and selection info */
|
|
274904
|
-
StatusBarSection[StatusBarSection["Right"] = 2] = "Right";
|
|
274905
|
-
/** items that only show based on context */
|
|
274906
|
-
StatusBarSection[StatusBarSection["Context"] = 3] = "Context";
|
|
274907
|
-
})(StatusBarSection || (StatusBarSection = {}));
|
|
274908
|
-
/** Defines which side of Icon where label is placed
|
|
274909
|
-
* @deprecated in 3.6. Use [StatusBarLabelSide]($appui-react) instead.
|
|
274910
|
-
* @public
|
|
274911
|
-
*/
|
|
274912
|
-
var StatusBarLabelSide;
|
|
274913
|
-
(function (StatusBarLabelSide) {
|
|
274914
|
-
/** Label is placed left side of icon. This is the default if not specified */
|
|
274915
|
-
StatusBarLabelSide[StatusBarLabelSide["Left"] = 0] = "Left";
|
|
274916
|
-
/** Label is placed on right side of icon. */
|
|
274917
|
-
StatusBarLabelSide[StatusBarLabelSide["Right"] = 1] = "Right";
|
|
274918
|
-
})(StatusBarLabelSide || (StatusBarLabelSide = {}));
|
|
274919
|
-
/** AbstractStatusBarActionItem type guard.
|
|
274920
|
-
* @deprecated in 3.6. Use [isStatusBarActionItem]($appui-react) instead.
|
|
274921
|
-
* @public
|
|
274922
|
-
*/
|
|
274923
|
-
const isAbstractStatusBarActionItem = (item) => {
|
|
274924
|
-
return item.execute !== undefined; // eslint-disable-line deprecation/deprecation
|
|
274925
|
-
};
|
|
274926
|
-
/** AbstractStatusBarLabelItem type guard.
|
|
274927
|
-
* @deprecated in 3.6. Use [isStatusBarLabelItem]($appui-react) instead.
|
|
274928
|
-
* @public
|
|
274929
|
-
*/
|
|
274930
|
-
const isAbstractStatusBarLabelItem = (item) => {
|
|
274931
|
-
return item.label !== undefined && item.execute === undefined; // eslint-disable-line deprecation/deprecation
|
|
274932
|
-
};
|
|
274933
|
-
/** AbstractStatusBarCustomItem type guard.
|
|
274934
|
-
* @deprecated in 3.6. Use [isStatusBarCustomItem]($appui-react) instead.
|
|
274935
|
-
* @public
|
|
274936
|
-
*/
|
|
274937
|
-
const isAbstractStatusBarCustomItem = (item) => {
|
|
274938
|
-
return !!item.isCustom; // eslint-disable-line deprecation/deprecation
|
|
274939
|
-
};
|
|
274940
|
-
/** Helper class to create Abstract StatusBar Item definitions.
|
|
274941
|
-
* @deprecated in 3.6. Use [StatusBarItemUtilities]($appui-react) instead.
|
|
274942
|
-
* @public
|
|
274943
|
-
*/
|
|
274944
|
-
class AbstractStatusBarItemUtilities {
|
|
274945
|
-
}
|
|
274946
|
-
/** Creates a StatusBar item to perform an action */
|
|
274947
|
-
AbstractStatusBarItemUtilities.createActionItem = (id, section, itemPriority, icon, tooltip, execute, overrides) => ({
|
|
274948
|
-
id, section, itemPriority,
|
|
274949
|
-
icon, tooltip,
|
|
274950
|
-
execute,
|
|
274951
|
-
...overrides,
|
|
274952
|
-
});
|
|
274953
|
-
/** Creates a StatusBar item to display a label */
|
|
274954
|
-
AbstractStatusBarItemUtilities.createLabelItem = (id, section, itemPriority, icon, label, labelSide = StatusBarLabelSide.Right, overrides) => ({
|
|
274955
|
-
id, section, itemPriority,
|
|
274956
|
-
icon, label,
|
|
274957
|
-
labelSide,
|
|
274958
|
-
...overrides,
|
|
274959
|
-
});
|
|
274960
|
-
|
|
274115
|
+
/**
|
|
274116
|
+
* Enumeration for Format of the property value.
|
|
274117
|
+
* @public
|
|
274118
|
+
*/
|
|
274119
|
+
var PropertyValueFormat;
|
|
274120
|
+
(function (PropertyValueFormat) {
|
|
274121
|
+
PropertyValueFormat[PropertyValueFormat["Primitive"] = 0] = "Primitive";
|
|
274122
|
+
PropertyValueFormat[PropertyValueFormat["Array"] = 1] = "Array";
|
|
274123
|
+
PropertyValueFormat[PropertyValueFormat["Struct"] = 2] = "Struct";
|
|
274124
|
+
})(PropertyValueFormat || (PropertyValueFormat = {}));
|
|
274961
274125
|
|
|
274962
274126
|
|
|
274963
274127
|
/***/ }),
|
|
274964
274128
|
|
|
274965
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/
|
|
274966
|
-
|
|
274967
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/
|
|
274968
|
-
|
|
274129
|
+
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js":
|
|
274130
|
+
/*!******************************************************************************************!*\
|
|
274131
|
+
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/quantity/BaseQuantityDescription.js ***!
|
|
274132
|
+
\******************************************************************************************/
|
|
274969
274133
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
274970
274134
|
|
|
274971
274135
|
"use strict";
|
|
274972
274136
|
__webpack_require__.r(__webpack_exports__);
|
|
274973
274137
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274974
|
-
/* harmony export */ "
|
|
274138
|
+
/* harmony export */ "BaseQuantityDescription": () => (/* binding */ BaseQuantityDescription)
|
|
274975
274139
|
/* harmony export */ });
|
|
274976
|
-
/* harmony import */ var
|
|
274977
|
-
/* harmony import */ var
|
|
274978
|
-
/* harmony import */ var
|
|
274140
|
+
/* harmony import */ var _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../properties/EditorParams */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/EditorParams.js");
|
|
274141
|
+
/* harmony import */ var _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../properties/StandardTypeNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardTypeNames.js");
|
|
274142
|
+
/* harmony import */ var _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../properties/StandardEditorNames */ "../../ui/appui-abstract/lib/esm/appui-abstract/properties/StandardEditorNames.js");
|
|
274979
274143
|
/*---------------------------------------------------------------------------------------------
|
|
274980
274144
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
274981
274145
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
274982
274146
|
*--------------------------------------------------------------------------------------------*/
|
|
274983
274147
|
/** @packageDocumentation
|
|
274984
|
-
* @module
|
|
274148
|
+
* @module Properties
|
|
274985
274149
|
*/
|
|
274986
274150
|
|
|
274987
274151
|
|
|
274988
274152
|
|
|
274989
|
-
const isInstance = (args) => {
|
|
274990
|
-
return !Array.isArray(args);
|
|
274991
|
-
};
|
|
274992
274153
|
/**
|
|
274993
|
-
*
|
|
274994
|
-
* @
|
|
274154
|
+
* Base Quantity Property Description
|
|
274155
|
+
* @beta
|
|
274995
274156
|
*/
|
|
274996
|
-
class
|
|
274997
|
-
constructor(
|
|
274998
|
-
this.
|
|
274999
|
-
|
|
275000
|
-
|
|
275001
|
-
|
|
275002
|
-
|
|
275003
|
-
|
|
275004
|
-
|
|
275005
|
-
|
|
275006
|
-
|
|
275007
|
-
|
|
275008
|
-
|
|
275009
|
-
|
|
275010
|
-
|
|
275011
|
-
|
|
275012
|
-
|
|
275013
|
-
|
|
275014
|
-
|
|
275015
|
-
}
|
|
275016
|
-
this._items = items;
|
|
275017
|
-
if (sendItemChanged)
|
|
275018
|
-
this.onItemsChanged.raiseEvent({ items });
|
|
275019
|
-
}
|
|
275020
|
-
/** load items but do not fire onItemsChanged
|
|
275021
|
-
* @internal
|
|
275022
|
-
*/
|
|
275023
|
-
loadItems(items) {
|
|
275024
|
-
this.loadItemsInternal(items, true, false);
|
|
275025
|
-
}
|
|
275026
|
-
/** Get an array of the StatusBar items */
|
|
275027
|
-
get items() {
|
|
275028
|
-
return this._items;
|
|
275029
|
-
}
|
|
275030
|
-
set items(items) {
|
|
274157
|
+
class BaseQuantityDescription {
|
|
274158
|
+
constructor(name, displayLabel, iconSpec) {
|
|
274159
|
+
this.format = (numberValue) => {
|
|
274160
|
+
return this.formatValue(numberValue);
|
|
274161
|
+
};
|
|
274162
|
+
this.parse = (userInput) => {
|
|
274163
|
+
return this.parseString(userInput);
|
|
274164
|
+
};
|
|
274165
|
+
this.name = name;
|
|
274166
|
+
this.displayLabel = displayLabel;
|
|
274167
|
+
this.typename = _properties_StandardTypeNames__WEBPACK_IMPORTED_MODULE_1__.StandardTypeNames.Number;
|
|
274168
|
+
this.editor = {
|
|
274169
|
+
name: _properties_StandardEditorNames__WEBPACK_IMPORTED_MODULE_2__.StandardEditorNames.NumberCustom,
|
|
274170
|
+
params: [{
|
|
274171
|
+
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.CustomFormattedNumber,
|
|
274172
|
+
formatFunction: this.format,
|
|
274173
|
+
parseFunction: this.parse,
|
|
274174
|
+
},
|
|
274175
|
+
],
|
|
274176
|
+
};
|
|
275031
274177
|
// istanbul ignore else
|
|
275032
|
-
if (
|
|
275033
|
-
|
|
275034
|
-
|
|
275035
|
-
|
|
275036
|
-
|
|
275037
|
-
|
|
275038
|
-
itemsToAdd = [itemOrItems];
|
|
275039
|
-
else {
|
|
275040
|
-
itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);
|
|
275041
|
-
}
|
|
275042
|
-
itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);
|
|
275043
|
-
if (itemsToAdd.length === 0)
|
|
275044
|
-
return;
|
|
275045
|
-
const items = [
|
|
275046
|
-
...this._items,
|
|
275047
|
-
...itemsToAdd,
|
|
275048
|
-
];
|
|
275049
|
-
this.items = items;
|
|
275050
|
-
}
|
|
275051
|
-
/** Remove StatusBar items based on id */
|
|
275052
|
-
remove(itemIdOrItemIds) {
|
|
275053
|
-
const items = this._items.filter((item) => {
|
|
275054
|
-
return isInstance(itemIdOrItemIds) ? item.id !== itemIdOrItemIds : !itemIdOrItemIds.find((itemId) => itemId === item.id);
|
|
275055
|
-
});
|
|
275056
|
-
this.items = items;
|
|
275057
|
-
}
|
|
275058
|
-
/** @internal */
|
|
275059
|
-
removeAll() {
|
|
275060
|
-
this._items = [];
|
|
275061
|
-
}
|
|
275062
|
-
static getSyncIdsOfInterest(items) {
|
|
275063
|
-
const eventIds = new Set();
|
|
275064
|
-
items.forEach((item) => {
|
|
275065
|
-
for (const [, entry] of Object.entries(item)) {
|
|
275066
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
275067
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
275068
|
-
}
|
|
275069
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
275070
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
275071
|
-
}
|
|
275072
|
-
}
|
|
275073
|
-
});
|
|
275074
|
-
return [...eventIds.values()];
|
|
275075
|
-
}
|
|
275076
|
-
internalRefreshAffectedItems(items, eventIds) {
|
|
275077
|
-
// istanbul ignore next
|
|
275078
|
-
if (0 === eventIds.size)
|
|
275079
|
-
return { itemsUpdated: false, updatedItems: [] };
|
|
275080
|
-
let updateRequired = false;
|
|
275081
|
-
const newItems = [];
|
|
275082
|
-
for (const item of items) {
|
|
275083
|
-
const updatedItem = { ...item };
|
|
275084
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
275085
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
275086
|
-
// istanbul ignore else
|
|
275087
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
275088
|
-
updateRequired = true;
|
|
275089
|
-
}
|
|
275090
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
275091
|
-
// istanbul ignore else
|
|
275092
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
275093
|
-
updateRequired = true;
|
|
275094
|
-
}
|
|
275095
|
-
}
|
|
275096
|
-
newItems.push(updatedItem);
|
|
274178
|
+
if (iconSpec) {
|
|
274179
|
+
const params = {
|
|
274180
|
+
type: _properties_EditorParams__WEBPACK_IMPORTED_MODULE_0__.PropertyEditorParamTypes.Icon,
|
|
274181
|
+
definition: { iconSpec },
|
|
274182
|
+
};
|
|
274183
|
+
this.editor.params.push(params);
|
|
275097
274184
|
}
|
|
275098
|
-
return { itemsUpdated: updateRequired, updatedItems: newItems };
|
|
275099
|
-
}
|
|
275100
|
-
refreshAffectedItems(eventIds) {
|
|
275101
|
-
// istanbul ignore next
|
|
275102
|
-
if (0 === eventIds.size)
|
|
275103
|
-
return;
|
|
275104
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);
|
|
275105
|
-
// istanbul ignore else
|
|
275106
|
-
if (itemsUpdated)
|
|
275107
|
-
this.loadItemsInternal(updatedItems, false, true);
|
|
275108
274185
|
}
|
|
275109
274186
|
}
|
|
275110
274187
|
|
|
@@ -275120,9 +274197,7 @@ class StatusBarItemsManager {
|
|
|
275120
274197
|
"use strict";
|
|
275121
274198
|
__webpack_require__.r(__webpack_exports__);
|
|
275122
274199
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
275123
|
-
/* harmony export */ "ToolbarItemUtilities": () => (/* binding */ ToolbarItemUtilities)
|
|
275124
|
-
/* harmony export */ "ToolbarOrientation": () => (/* binding */ ToolbarOrientation),
|
|
275125
|
-
/* harmony export */ "ToolbarUsage": () => (/* binding */ ToolbarUsage)
|
|
274200
|
+
/* harmony export */ "ToolbarItemUtilities": () => (/* binding */ ToolbarItemUtilities)
|
|
275126
274201
|
/* harmony export */ });
|
|
275127
274202
|
/*---------------------------------------------------------------------------------------------
|
|
275128
274203
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -275131,28 +274206,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
275131
274206
|
/** @packageDocumentation
|
|
275132
274207
|
* @module Toolbar
|
|
275133
274208
|
*/
|
|
275134
|
-
/** Used to specify the usage of the toolbar which determine the toolbar position.
|
|
275135
|
-
* @deprecated in 3.6. Use [ToolbarUsage]($appui-react) instead.
|
|
275136
|
-
* @public
|
|
275137
|
-
*/
|
|
275138
|
-
var ToolbarUsage;
|
|
275139
|
-
(function (ToolbarUsage) {
|
|
275140
|
-
/** Contains tools to Create Update and Delete content - in ninezone this is in top left of content area. */
|
|
275141
|
-
ToolbarUsage[ToolbarUsage["ContentManipulation"] = 0] = "ContentManipulation";
|
|
275142
|
-
/** Manipulate view/camera - in ninezone this is in top right of content area. */
|
|
275143
|
-
ToolbarUsage[ToolbarUsage["ViewNavigation"] = 1] = "ViewNavigation";
|
|
275144
|
-
})(ToolbarUsage || (ToolbarUsage = {}));
|
|
275145
|
-
/** Used to specify the orientation of the toolbar.
|
|
275146
|
-
* @deprecated in 3.6. Use [ToolbarOrientation]($appui-react) instead.
|
|
275147
|
-
* @public
|
|
275148
|
-
*/
|
|
275149
|
-
var ToolbarOrientation;
|
|
275150
|
-
(function (ToolbarOrientation) {
|
|
275151
|
-
/** Horizontal toolbar. */
|
|
275152
|
-
ToolbarOrientation[ToolbarOrientation["Horizontal"] = 0] = "Horizontal";
|
|
275153
|
-
/** Vertical toolbar. */
|
|
275154
|
-
ToolbarOrientation[ToolbarOrientation["Vertical"] = 1] = "Vertical";
|
|
275155
|
-
})(ToolbarOrientation || (ToolbarOrientation = {}));
|
|
275156
274209
|
/** Helper class to create Abstract StatusBar Item definitions.
|
|
275157
274210
|
* @public
|
|
275158
274211
|
*/
|
|
@@ -275187,256 +274240,6 @@ ToolbarItemUtilities.createGroupButton = (id, itemPriority, icon, label, items,
|
|
|
275187
274240
|
|
|
275188
274241
|
|
|
275189
274242
|
|
|
275190
|
-
/***/ }),
|
|
275191
|
-
|
|
275192
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js":
|
|
275193
|
-
/*!**************************************************************************************!*\
|
|
275194
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItemsManager.js ***!
|
|
275195
|
-
\**************************************************************************************/
|
|
275196
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
275197
|
-
|
|
275198
|
-
"use strict";
|
|
275199
|
-
__webpack_require__.r(__webpack_exports__);
|
|
275200
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
275201
|
-
/* harmony export */ "ToolbarItemsManager": () => (/* binding */ ToolbarItemsManager)
|
|
275202
|
-
/* harmony export */ });
|
|
275203
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
275204
|
-
/* harmony import */ var _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../items/ConditionalBooleanValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalBooleanValue.js");
|
|
275205
|
-
/* harmony import */ var _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../items/ConditionalStringValue */ "../../ui/appui-abstract/lib/esm/appui-abstract/items/ConditionalStringValue.js");
|
|
275206
|
-
/* harmony import */ var _ToolbarItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ToolbarItem */ "../../ui/appui-abstract/lib/esm/appui-abstract/toolbars/ToolbarItem.js");
|
|
275207
|
-
/*---------------------------------------------------------------------------------------------
|
|
275208
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
275209
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
275210
|
-
*--------------------------------------------------------------------------------------------*/
|
|
275211
|
-
/** @packageDocumentation
|
|
275212
|
-
* @module Toolbar
|
|
275213
|
-
*/
|
|
275214
|
-
|
|
275215
|
-
|
|
275216
|
-
|
|
275217
|
-
|
|
275218
|
-
const isInstance = (args) => {
|
|
275219
|
-
return !Array.isArray(args);
|
|
275220
|
-
};
|
|
275221
|
-
/**
|
|
275222
|
-
* Controls status bar items.
|
|
275223
|
-
* @internal
|
|
275224
|
-
*/
|
|
275225
|
-
class ToolbarItemsManager {
|
|
275226
|
-
constructor(items) {
|
|
275227
|
-
this._items = [];
|
|
275228
|
-
/** Event raised when Toolbar items are changed.
|
|
275229
|
-
* @internal
|
|
275230
|
-
*/
|
|
275231
|
-
this.onItemsChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
275232
|
-
if (items)
|
|
275233
|
-
this.loadItemsInternal(items, true, false);
|
|
275234
|
-
}
|
|
275235
|
-
loadItemsInternal(items, processConditions, sendItemChanged) {
|
|
275236
|
-
if (processConditions && items) {
|
|
275237
|
-
const eventIds = ToolbarItemsManager.getSyncIdsOfInterest(items);
|
|
275238
|
-
if (0 !== eventIds.length) {
|
|
275239
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(items, new Set(eventIds));
|
|
275240
|
-
// istanbul ignore else
|
|
275241
|
-
if (itemsUpdated)
|
|
275242
|
-
items = updatedItems;
|
|
275243
|
-
}
|
|
275244
|
-
}
|
|
275245
|
-
this._items = items;
|
|
275246
|
-
if (sendItemChanged)
|
|
275247
|
-
this.onItemsChanged.raiseEvent({ items });
|
|
275248
|
-
}
|
|
275249
|
-
/** load items but do not fire onItemsChanged
|
|
275250
|
-
* @internal
|
|
275251
|
-
*/
|
|
275252
|
-
loadItems(items) {
|
|
275253
|
-
this.loadItemsInternal(items, true, false);
|
|
275254
|
-
}
|
|
275255
|
-
/** Get an array of the Toolbar items */
|
|
275256
|
-
get items() {
|
|
275257
|
-
return this._items;
|
|
275258
|
-
}
|
|
275259
|
-
set items(items) {
|
|
275260
|
-
// istanbul ignore else
|
|
275261
|
-
if (items !== this._items)
|
|
275262
|
-
this.loadItemsInternal(items, true, true);
|
|
275263
|
-
}
|
|
275264
|
-
add(itemOrItems) {
|
|
275265
|
-
let itemsToAdd;
|
|
275266
|
-
if (isInstance(itemOrItems))
|
|
275267
|
-
itemsToAdd = [itemOrItems];
|
|
275268
|
-
else {
|
|
275269
|
-
itemsToAdd = itemOrItems.filter((itemToAdd, index) => itemOrItems.findIndex((item) => item.id === itemToAdd.id) === index);
|
|
275270
|
-
}
|
|
275271
|
-
itemsToAdd = itemsToAdd.filter((itemToAdd) => this._items.find((item) => item.id === itemToAdd.id) === undefined);
|
|
275272
|
-
if (itemsToAdd.length === 0)
|
|
275273
|
-
return;
|
|
275274
|
-
const items = [
|
|
275275
|
-
...this._items,
|
|
275276
|
-
...itemsToAdd,
|
|
275277
|
-
];
|
|
275278
|
-
this.items = items;
|
|
275279
|
-
}
|
|
275280
|
-
/** Remove Toolbar items based on id */
|
|
275281
|
-
remove(itemIdOrItemIds) {
|
|
275282
|
-
const items = this._items.filter((item) => {
|
|
275283
|
-
return isInstance(itemIdOrItemIds) ? item.id !== itemIdOrItemIds : !itemIdOrItemIds.find((itemId) => itemId === item.id);
|
|
275284
|
-
});
|
|
275285
|
-
this.items = items;
|
|
275286
|
-
}
|
|
275287
|
-
/** @internal */
|
|
275288
|
-
removeAll() {
|
|
275289
|
-
this._items = [];
|
|
275290
|
-
}
|
|
275291
|
-
static gatherSyncIds(eventIds, items) {
|
|
275292
|
-
for (const item of items) {
|
|
275293
|
-
for (const [, entry] of Object.entries(item)) {
|
|
275294
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
275295
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
275296
|
-
}
|
|
275297
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
275298
|
-
entry.syncEventIds.forEach((eventId) => eventIds.add(eventId.toLowerCase()));
|
|
275299
|
-
}
|
|
275300
|
-
}
|
|
275301
|
-
// istanbul ignore else
|
|
275302
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(item)) {
|
|
275303
|
-
this.gatherSyncIds(eventIds, item.items);
|
|
275304
|
-
}
|
|
275305
|
-
}
|
|
275306
|
-
}
|
|
275307
|
-
static getSyncIdsOfInterest(items) {
|
|
275308
|
-
const eventIds = new Set();
|
|
275309
|
-
this.gatherSyncIds(eventIds, items);
|
|
275310
|
-
return [...eventIds.values()];
|
|
275311
|
-
}
|
|
275312
|
-
static refreshChildItems(parentItem, eventIds) {
|
|
275313
|
-
const updatedItems = [];
|
|
275314
|
-
let itemsUpdated = false;
|
|
275315
|
-
for (const item of parentItem.items) {
|
|
275316
|
-
const updatedItem = { ...item };
|
|
275317
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
275318
|
-
const { childrenUpdated, childItems } = this.refreshChildItems(updatedItem, eventIds);
|
|
275319
|
-
// istanbul ignore else
|
|
275320
|
-
if (childrenUpdated) {
|
|
275321
|
-
updatedItem.items = childItems;
|
|
275322
|
-
itemsUpdated = true;
|
|
275323
|
-
}
|
|
275324
|
-
}
|
|
275325
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
275326
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
275327
|
-
// istanbul ignore else
|
|
275328
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
275329
|
-
itemsUpdated = true;
|
|
275330
|
-
}
|
|
275331
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
275332
|
-
// istanbul ignore else
|
|
275333
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
275334
|
-
itemsUpdated = true;
|
|
275335
|
-
}
|
|
275336
|
-
}
|
|
275337
|
-
updatedItems.push(updatedItem);
|
|
275338
|
-
}
|
|
275339
|
-
return { childrenUpdated: itemsUpdated, childItems: updatedItems };
|
|
275340
|
-
}
|
|
275341
|
-
internalRefreshAffectedItems(items, eventIds) {
|
|
275342
|
-
// istanbul ignore next
|
|
275343
|
-
if (0 === eventIds.size)
|
|
275344
|
-
return { itemsUpdated: false, updatedItems: [] };
|
|
275345
|
-
let updateRequired = false;
|
|
275346
|
-
const newItems = [];
|
|
275347
|
-
for (const item of items) {
|
|
275348
|
-
const updatedItem = { ...item };
|
|
275349
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
275350
|
-
const { childrenUpdated, childItems } = ToolbarItemsManager.refreshChildItems(updatedItem, eventIds);
|
|
275351
|
-
// istanbul ignore else
|
|
275352
|
-
if (childrenUpdated) {
|
|
275353
|
-
updatedItem.items = childItems;
|
|
275354
|
-
updateRequired = true;
|
|
275355
|
-
}
|
|
275356
|
-
}
|
|
275357
|
-
for (const [, entry] of Object.entries(updatedItem)) {
|
|
275358
|
-
if (entry instanceof _items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue) {
|
|
275359
|
-
// istanbul ignore else
|
|
275360
|
-
if (_items_ConditionalBooleanValue__WEBPACK_IMPORTED_MODULE_1__.ConditionalBooleanValue.refreshValue(entry, eventIds))
|
|
275361
|
-
updateRequired = true;
|
|
275362
|
-
}
|
|
275363
|
-
else /* istanbul ignore else */ if (entry instanceof _items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue) {
|
|
275364
|
-
// istanbul ignore else
|
|
275365
|
-
if (_items_ConditionalStringValue__WEBPACK_IMPORTED_MODULE_2__.ConditionalStringValue.refreshValue(entry, eventIds))
|
|
275366
|
-
updateRequired = true;
|
|
275367
|
-
}
|
|
275368
|
-
}
|
|
275369
|
-
newItems.push(updatedItem);
|
|
275370
|
-
}
|
|
275371
|
-
return { itemsUpdated: updateRequired, updatedItems: newItems };
|
|
275372
|
-
}
|
|
275373
|
-
refreshAffectedItems(eventIds) {
|
|
275374
|
-
// istanbul ignore next
|
|
275375
|
-
if (0 === eventIds.size)
|
|
275376
|
-
return;
|
|
275377
|
-
const { itemsUpdated, updatedItems } = this.internalRefreshAffectedItems(this.items, eventIds);
|
|
275378
|
-
// istanbul ignore else
|
|
275379
|
-
if (itemsUpdated)
|
|
275380
|
-
this.loadItemsInternal(updatedItems, false, true);
|
|
275381
|
-
}
|
|
275382
|
-
static isActiveToolIdRefreshRequiredForChildren(children, toolId) {
|
|
275383
|
-
for (const item of children) {
|
|
275384
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(item)) {
|
|
275385
|
-
if (this.isActiveToolIdRefreshRequiredForChildren(item.items, toolId))
|
|
275386
|
-
return true;
|
|
275387
|
-
}
|
|
275388
|
-
else {
|
|
275389
|
-
const isActive = !!item.isActive;
|
|
275390
|
-
if ((isActive && item.id !== toolId) || (!isActive && item.id === toolId))
|
|
275391
|
-
return true;
|
|
275392
|
-
}
|
|
275393
|
-
}
|
|
275394
|
-
return false;
|
|
275395
|
-
}
|
|
275396
|
-
isActiveToolIdRefreshRequired(toolId) {
|
|
275397
|
-
for (const item of this.items) {
|
|
275398
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(item)) {
|
|
275399
|
-
if (ToolbarItemsManager.isActiveToolIdRefreshRequiredForChildren(item.items, toolId))
|
|
275400
|
-
return true;
|
|
275401
|
-
}
|
|
275402
|
-
else {
|
|
275403
|
-
const isActive = !!item.isActive;
|
|
275404
|
-
if ((isActive && item.id !== toolId) || (!isActive && item.id === toolId))
|
|
275405
|
-
return true;
|
|
275406
|
-
}
|
|
275407
|
-
}
|
|
275408
|
-
return false;
|
|
275409
|
-
}
|
|
275410
|
-
static refreshActiveToolIdInChildItems(parentItem, toolId) {
|
|
275411
|
-
const newChildren = [];
|
|
275412
|
-
for (const item of parentItem.items) {
|
|
275413
|
-
const updatedItem = { ...item };
|
|
275414
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
275415
|
-
updatedItem.items = ToolbarItemsManager.refreshActiveToolIdInChildItems(updatedItem, toolId);
|
|
275416
|
-
}
|
|
275417
|
-
updatedItem.isActive = (updatedItem.id === toolId);
|
|
275418
|
-
newChildren.push(updatedItem);
|
|
275419
|
-
}
|
|
275420
|
-
return newChildren;
|
|
275421
|
-
}
|
|
275422
|
-
setActiveToolId(toolId) {
|
|
275423
|
-
// first see if any updates are really necessary
|
|
275424
|
-
if (!this.isActiveToolIdRefreshRequired(toolId))
|
|
275425
|
-
return;
|
|
275426
|
-
const newItems = [];
|
|
275427
|
-
for (const item of this.items) {
|
|
275428
|
-
const updatedItem = { ...item };
|
|
275429
|
-
if (_ToolbarItem__WEBPACK_IMPORTED_MODULE_3__.ToolbarItemUtilities.isGroupButton(updatedItem)) {
|
|
275430
|
-
updatedItem.items = ToolbarItemsManager.refreshActiveToolIdInChildItems(updatedItem, toolId);
|
|
275431
|
-
}
|
|
275432
|
-
updatedItem.isActive = (updatedItem.id === toolId);
|
|
275433
|
-
newItems.push(updatedItem);
|
|
275434
|
-
}
|
|
275435
|
-
this.items = newItems;
|
|
275436
|
-
}
|
|
275437
|
-
}
|
|
275438
|
-
|
|
275439
|
-
|
|
275440
274243
|
/***/ }),
|
|
275441
274244
|
|
|
275442
274245
|
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/utils/IconSpecUtilities.js":
|
|
@@ -277067,125 +275870,6 @@ const loggerCategory = (obj) => {
|
|
|
277067
275870
|
};
|
|
277068
275871
|
|
|
277069
275872
|
|
|
277070
|
-
/***/ }),
|
|
277071
|
-
|
|
277072
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/AbstractWidgetProps.js":
|
|
277073
|
-
/*!************************************************************************************!*\
|
|
277074
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/widget/AbstractWidgetProps.js ***!
|
|
277075
|
-
\************************************************************************************/
|
|
277076
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
277077
|
-
|
|
277078
|
-
"use strict";
|
|
277079
|
-
__webpack_require__.r(__webpack_exports__);
|
|
277080
|
-
/*---------------------------------------------------------------------------------------------
|
|
277081
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
277082
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
277083
|
-
*--------------------------------------------------------------------------------------------*/
|
|
277084
|
-
/** @packageDocumentation
|
|
277085
|
-
* @module Widget
|
|
277086
|
-
*/
|
|
277087
|
-
|
|
277088
|
-
|
|
277089
|
-
|
|
277090
|
-
/***/ }),
|
|
277091
|
-
|
|
277092
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/StagePanel.js":
|
|
277093
|
-
/*!***************************************************************************!*\
|
|
277094
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/widget/StagePanel.js ***!
|
|
277095
|
-
\***************************************************************************/
|
|
277096
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
277097
|
-
|
|
277098
|
-
"use strict";
|
|
277099
|
-
__webpack_require__.r(__webpack_exports__);
|
|
277100
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
277101
|
-
/* harmony export */ "AbstractZoneLocation": () => (/* binding */ AbstractZoneLocation),
|
|
277102
|
-
/* harmony export */ "StagePanelLocation": () => (/* binding */ StagePanelLocation),
|
|
277103
|
-
/* harmony export */ "StagePanelSection": () => (/* binding */ StagePanelSection)
|
|
277104
|
-
/* harmony export */ });
|
|
277105
|
-
/*---------------------------------------------------------------------------------------------
|
|
277106
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
277107
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
277108
|
-
*--------------------------------------------------------------------------------------------*/
|
|
277109
|
-
/** @packageDocumentation
|
|
277110
|
-
* @module Widget
|
|
277111
|
-
*/
|
|
277112
|
-
/** Enum for AppUi 1 `Zone` locations that can have widgets added to them at run-time via [[UiItemsProvider]].
|
|
277113
|
-
* @public @deprecated in 3.0. UI 1.0 support will be removed in AppUi 4.0.
|
|
277114
|
-
*/
|
|
277115
|
-
var AbstractZoneLocation;
|
|
277116
|
-
(function (AbstractZoneLocation) {
|
|
277117
|
-
AbstractZoneLocation[AbstractZoneLocation["CenterLeft"] = 4] = "CenterLeft";
|
|
277118
|
-
AbstractZoneLocation[AbstractZoneLocation["CenterRight"] = 6] = "CenterRight";
|
|
277119
|
-
AbstractZoneLocation[AbstractZoneLocation["BottomLeft"] = 7] = "BottomLeft";
|
|
277120
|
-
AbstractZoneLocation[AbstractZoneLocation["BottomRight"] = 9] = "BottomRight";
|
|
277121
|
-
})(AbstractZoneLocation || (AbstractZoneLocation = {}));
|
|
277122
|
-
/** Available Stage Panel locations.
|
|
277123
|
-
* @deprecated in 3.6. Use [StagePanelLocation]($appui-react) instead.
|
|
277124
|
-
* @public
|
|
277125
|
-
*/
|
|
277126
|
-
var StagePanelLocation;
|
|
277127
|
-
(function (StagePanelLocation) {
|
|
277128
|
-
StagePanelLocation[StagePanelLocation["Top"] = 101] = "Top";
|
|
277129
|
-
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
|
277130
|
-
StagePanelLocation[StagePanelLocation["TopMost"] = 102] = "TopMost";
|
|
277131
|
-
StagePanelLocation[StagePanelLocation["Left"] = 103] = "Left";
|
|
277132
|
-
StagePanelLocation[StagePanelLocation["Right"] = 104] = "Right";
|
|
277133
|
-
StagePanelLocation[StagePanelLocation["Bottom"] = 105] = "Bottom";
|
|
277134
|
-
/** @deprecated in 3.6 UI 1.0 support will be removed in AppUi 4.0. */
|
|
277135
|
-
StagePanelLocation[StagePanelLocation["BottomMost"] = 106] = "BottomMost";
|
|
277136
|
-
})(StagePanelLocation || (StagePanelLocation = {}));
|
|
277137
|
-
/** Enum for Stage Panel Sections
|
|
277138
|
-
* @deprecated in 3.6. Use [StagePanelSection]($appui-react) instead.
|
|
277139
|
-
* @public
|
|
277140
|
-
*/
|
|
277141
|
-
var StagePanelSection;
|
|
277142
|
-
(function (StagePanelSection) {
|
|
277143
|
-
StagePanelSection[StagePanelSection["Start"] = 0] = "Start";
|
|
277144
|
-
/** @deprecated in 3.2. - all widgets that a targeted for Middle will be placed in `End` section */
|
|
277145
|
-
StagePanelSection[StagePanelSection["Middle"] = 1] = "Middle";
|
|
277146
|
-
StagePanelSection[StagePanelSection["End"] = 2] = "End";
|
|
277147
|
-
})(StagePanelSection || (StagePanelSection = {}));
|
|
277148
|
-
|
|
277149
|
-
|
|
277150
|
-
/***/ }),
|
|
277151
|
-
|
|
277152
|
-
/***/ "../../ui/appui-abstract/lib/esm/appui-abstract/widget/WidgetState.js":
|
|
277153
|
-
/*!****************************************************************************!*\
|
|
277154
|
-
!*** ../../ui/appui-abstract/lib/esm/appui-abstract/widget/WidgetState.js ***!
|
|
277155
|
-
\****************************************************************************/
|
|
277156
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
277157
|
-
|
|
277158
|
-
"use strict";
|
|
277159
|
-
__webpack_require__.r(__webpack_exports__);
|
|
277160
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
277161
|
-
/* harmony export */ "WidgetState": () => (/* binding */ WidgetState)
|
|
277162
|
-
/* harmony export */ });
|
|
277163
|
-
/*---------------------------------------------------------------------------------------------
|
|
277164
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
277165
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
277166
|
-
*--------------------------------------------------------------------------------------------*/
|
|
277167
|
-
/** @packageDocumentation
|
|
277168
|
-
* @module Widget
|
|
277169
|
-
*/
|
|
277170
|
-
/** Widget state enum.
|
|
277171
|
-
* @deprecated in 3.6. Use [WidgetState]($appui-react) instead.
|
|
277172
|
-
* @public
|
|
277173
|
-
*/
|
|
277174
|
-
var WidgetState;
|
|
277175
|
-
(function (WidgetState) {
|
|
277176
|
-
/** Widget tab is visible and active and its contents are visible */
|
|
277177
|
-
WidgetState[WidgetState["Open"] = 0] = "Open";
|
|
277178
|
-
/** Widget tab is visible but its contents are not visible */
|
|
277179
|
-
WidgetState[WidgetState["Closed"] = 1] = "Closed";
|
|
277180
|
-
/** Widget tab nor its contents are visible */
|
|
277181
|
-
WidgetState[WidgetState["Hidden"] = 2] = "Hidden";
|
|
277182
|
-
/** Widget tab is in a 'floating' state and is not docked in zone's tab stack */
|
|
277183
|
-
WidgetState[WidgetState["Floating"] = 3] = "Floating";
|
|
277184
|
-
/** Widget tab is visible but its contents are not loaded */
|
|
277185
|
-
WidgetState[WidgetState["Unloaded"] = 4] = "Unloaded";
|
|
277186
|
-
})(WidgetState || (WidgetState = {}));
|
|
277187
|
-
|
|
277188
|
-
|
|
277189
275873
|
/***/ }),
|
|
277190
275874
|
|
|
277191
275875
|
/***/ "?1120":
|
|
@@ -282530,7 +281214,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
282530
281214
|
/***/ ((module) => {
|
|
282531
281215
|
|
|
282532
281216
|
"use strict";
|
|
282533
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.1.0-dev.
|
|
281217
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.1.0-dev.2","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.2","@itwin/core-bentley":"workspace:^4.1.0-dev.2","@itwin/core-common":"workspace:^4.1.0-dev.2","@itwin/core-geometry":"workspace:^4.1.0-dev.2","@itwin/core-orbitgt":"workspace:^4.1.0-dev.2","@itwin/core-quantity":"workspace:^4.1.0-dev.2"},"//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"}}]}}');
|
|
282534
281218
|
|
|
282535
281219
|
/***/ })
|
|
282536
281220
|
|