@descope/web-components-ui 1.114.0 → 1.115.0
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/dist/cjs/index.cjs.js +16 -6
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +16 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/7092.js +1 -1
- package/dist/umd/7092.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js.map +1 -1
- package/package.json +4 -4
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +8 -4
package/dist/index.esm.js
CHANGED
@@ -4800,11 +4800,17 @@ const ComboBoxMixin = (superclass) =>
|
|
4800
4800
|
return {};
|
4801
4801
|
};
|
4802
4802
|
|
4803
|
-
this.setComboBoxDescriptor();
|
4804
|
-
this.#overrideOverlaySettings();
|
4805
4803
|
this.#overrideRenderer();
|
4806
4804
|
this.#disableDataProviderFilterEventIfNeeded();
|
4807
4805
|
|
4806
|
+
// This is a workaround for a problem we have in Console App, where in ScreenBuilder - the inputElement is not ready when trying to
|
4807
|
+
// set the component's descriptor and override the overlay settings.
|
4808
|
+
// THIS IS A PROBLEM WITH THE CONSOLE APP THAT NEEDS TO BE RESOLVED. Until then, we use this workaround.
|
4809
|
+
setTimeout(() => {
|
4810
|
+
this.setComboBoxDescriptor();
|
4811
|
+
this.#overrideOverlaySettings();
|
4812
|
+
});
|
4813
|
+
|
4808
4814
|
// Set up observers - order matters here since renderItems can clear innerHTML
|
4809
4815
|
observeAttributes(this, this.renderItems.bind(this), {
|
4810
4816
|
includeAttrs: ['data'],
|
@@ -14658,10 +14664,6 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
14658
14664
|
|
14659
14665
|
this.setGetValidity();
|
14660
14666
|
|
14661
|
-
this.setComboBoxDescriptor();
|
14662
|
-
|
14663
|
-
this.#overrideOverlaySettings();
|
14664
|
-
|
14665
14667
|
this.#handleCustomValues();
|
14666
14668
|
|
14667
14669
|
this.renderItems();
|
@@ -14674,6 +14676,14 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
14674
14676
|
// tries to override it, causing us to lose the user set placeholder.
|
14675
14677
|
forwardAttrs$1(this, this.baseElement, { includeAttrs: ['placeholder'] });
|
14676
14678
|
|
14679
|
+
// This is a workaround for a problem we have in Console App, where in ScreenBuilder - the inputElement is not ready when trying to
|
14680
|
+
// set the component's descriptor and override the overlay settings.
|
14681
|
+
// THIS IS A PROBLEM WITH THE CONSOLE APP THAT NEEDS TO BE RESOLVED. Until then, we use this workaround.
|
14682
|
+
setTimeout(() => {
|
14683
|
+
this.setComboBoxDescriptor();
|
14684
|
+
this.#overrideOverlaySettings();
|
14685
|
+
});
|
14686
|
+
|
14677
14687
|
this.setDefaultValues();
|
14678
14688
|
|
14679
14689
|
this.baseElement.addEventListener('selected-items-changed', () => {
|