@yoobic/yobi 8.7.12 → 8.7.14
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/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +3 -7
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +4 -8
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/yoo-form-autocomplete.entry.js +3 -7
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/yoo-form-autocomplete.entry.js +3 -7
- package/dist/types/components/form/form-autocomplete/form-autocomplete.d.ts +0 -1
- package/package.json +1 -1
@@ -150,7 +150,7 @@ const YooFormAutocompleteComponent = class {
|
|
150
150
|
else if (isWeb(this.host)) {
|
151
151
|
modalOptions = Object.assign(modalOptions, { hostElement: this.outerContainer, dialogContentElement: this.dialog });
|
152
152
|
}
|
153
|
-
|
153
|
+
const ret = await showModal({
|
154
154
|
component: this.dialog,
|
155
155
|
componentProps: modalOptions,
|
156
156
|
cssClass: isWeb(this.host) && !isExpanding ? 'context-menu' : isExpanding ? ' visible-overflow' : null,
|
@@ -160,8 +160,8 @@ const YooFormAutocompleteComponent = class {
|
|
160
160
|
displayFullscreenButton: false,
|
161
161
|
watermarkLogo: this.collectionName === 'giphy' ? './assets/logo/giphy.png' : null
|
162
162
|
});
|
163
|
-
if (
|
164
|
-
await this.setValue(
|
163
|
+
if (ret && !ret.overlayDismiss && !isWeb(this.host)) {
|
164
|
+
await this.setValue(ret.data);
|
165
165
|
}
|
166
166
|
if (this.clearSortsAndFilters) {
|
167
167
|
this.sortsAndFilters = undefined;
|
@@ -496,10 +496,6 @@ const YooFormAutocompleteComponent = class {
|
|
496
496
|
disconnectedCallback() {
|
497
497
|
document.body.removeEventListener('click', this.hideContainerListener);
|
498
498
|
document.body.removeEventListener('webAutocompleteOpened', this.onWebAutocompleteOpened);
|
499
|
-
this.animatedIllustration = null;
|
500
|
-
this.sortsAndFilters = null;
|
501
|
-
this.modal = null;
|
502
|
-
this.showContainerDialog = null;
|
503
499
|
}
|
504
500
|
async setValueAndValidateInput(value) {
|
505
501
|
await setValueAndValidateInput(value, this);
|
@@ -139,7 +139,6 @@ export declare class YooFormAutocompleteComponent implements IFormAutocomplete<a
|
|
139
139
|
private fileUploader;
|
140
140
|
private fileUploaderData;
|
141
141
|
private infiniteScrollDisabled;
|
142
|
-
private modal;
|
143
142
|
private showContainerDialog;
|
144
143
|
private get iconSize();
|
145
144
|
onWebAutocompleteOpened(): Promise<void>;
|