@yoobic/yobi 8.7.13 → 8.7.15
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
@@ -154,7 +154,7 @@ const YooFormAutocompleteComponent = class {
|
|
154
154
|
else if (index$1.isWeb(this.host)) {
|
155
155
|
modalOptions = Object.assign(modalOptions, { hostElement: this.outerContainer, dialogContentElement: this.dialog });
|
156
156
|
}
|
157
|
-
|
157
|
+
const ret = await index$1.showModal({
|
158
158
|
component: this.dialog,
|
159
159
|
componentProps: modalOptions,
|
160
160
|
cssClass: index$1.isWeb(this.host) && !isExpanding ? 'context-menu' : isExpanding ? ' visible-overflow' : null,
|
@@ -164,8 +164,8 @@ const YooFormAutocompleteComponent = class {
|
|
164
164
|
displayFullscreenButton: false,
|
165
165
|
watermarkLogo: this.collectionName === 'giphy' ? './assets/logo/giphy.png' : null
|
166
166
|
});
|
167
|
-
if (
|
168
|
-
await this.setValue(
|
167
|
+
if (ret && !ret.overlayDismiss && !index$1.isWeb(this.host)) {
|
168
|
+
await this.setValue(ret.data);
|
169
169
|
}
|
170
170
|
if (this.clearSortsAndFilters) {
|
171
171
|
this.sortsAndFilters = undefined;
|
@@ -500,10 +500,6 @@ const YooFormAutocompleteComponent = class {
|
|
500
500
|
disconnectedCallback() {
|
501
501
|
document.body.removeEventListener('click', this.hideContainerListener);
|
502
502
|
document.body.removeEventListener('webAutocompleteOpened', this.onWebAutocompleteOpened);
|
503
|
-
this.animatedIllustration = null;
|
504
|
-
this.sortsAndFilters = null;
|
505
|
-
this.modal = null;
|
506
|
-
this.showContainerDialog = null;
|
507
503
|
}
|
508
504
|
async setValueAndValidateInput(value) {
|
509
505
|
await formInputHelpers.setValueAndValidateInput(value, this);
|
@@ -134,7 +134,7 @@ export class YooFormAutocompleteComponent {
|
|
134
134
|
else if (isWeb(this.host)) {
|
135
135
|
modalOptions = Object.assign(modalOptions, { hostElement: this.outerContainer, dialogContentElement: this.dialog });
|
136
136
|
}
|
137
|
-
|
137
|
+
const ret = await showModal({
|
138
138
|
component: this.dialog,
|
139
139
|
componentProps: modalOptions,
|
140
140
|
cssClass: isWeb(this.host) && !isExpanding ? 'context-menu' : isExpanding ? ' visible-overflow' : null,
|
@@ -144,8 +144,8 @@ export class YooFormAutocompleteComponent {
|
|
144
144
|
displayFullscreenButton: false,
|
145
145
|
watermarkLogo: this.collectionName === 'giphy' ? './assets/logo/giphy.png' : null
|
146
146
|
});
|
147
|
-
if (
|
148
|
-
await this.setValue(
|
147
|
+
if (ret && !ret.overlayDismiss && !isWeb(this.host)) {
|
148
|
+
await this.setValue(ret.data);
|
149
149
|
}
|
150
150
|
if (this.clearSortsAndFilters) {
|
151
151
|
this.sortsAndFilters = undefined;
|
@@ -480,10 +480,6 @@ export class YooFormAutocompleteComponent {
|
|
480
480
|
disconnectedCallback() {
|
481
481
|
document.body.removeEventListener('click', this.hideContainerListener);
|
482
482
|
document.body.removeEventListener('webAutocompleteOpened', this.onWebAutocompleteOpened);
|
483
|
-
this.animatedIllustration = null;
|
484
|
-
this.sortsAndFilters = null;
|
485
|
-
this.modal = null;
|
486
|
-
this.showContainerDialog = null;
|
487
483
|
}
|
488
484
|
async setValueAndValidateInput(value) {
|
489
485
|
await setValueAndValidateInput(value, this);
|
@@ -1678,7 +1674,7 @@ export class YooFormAutocompleteComponent {
|
|
1678
1674
|
},
|
1679
1675
|
"animatedIllustration": {
|
1680
1676
|
"type": "string",
|
1681
|
-
"mutable":
|
1677
|
+
"mutable": false,
|
1682
1678
|
"complexType": {
|
1683
1679
|
"original": "TAnimatedIllustrationType",
|
1684
1680
|
"resolved": "\"aisles\" | \"battle\" | \"calendar\" | \"campaign\" | \"chart\" | \"chat\" | \"check\" | \"comment\" | \"contact\" | \"courses\" | \"database\" | \"feed\" | \"file\" | \"folder\" | \"group\" | \"heart\" | \"hourglass\" | \"journey\" | \"map\" | \"medal\" | \"mission\" | \"note\" | \"offline\" | \"password\" | \"plugin\" | \"poll\" | \"post\" | \"publish\" | \"questions\" | \"rejected\" | \"request\" | \"scoring\" | \"search\" | \"settings\" | \"store\" | \"tag\" | \"user\" | \"visit\" | \"workflow\" | \"campaignfilters\" | \"communities\" | \"custommodels\" | \"files\" | \"geofilters\" | \"groups\" | \"htmltemplates\" | \"incentives\" | \"lessons\" | \"locations\" | \"locationtypes\" | \"missiondescriptions\" | \"missiondescriptiontemplates\" | \"missions\" | \"notes\" | \"photos\" | \"plans\" | \"reject\" | \"success\" | \"login\" | \"learning\" | \"question\" | \"field\" | \"tags\" | \"dashboard\" | \"score\" | \"todo\" | \"videocall\" | \"virtualshopping\" | \"time\" | \"zones\" | \"allowcamera\" | \"areamanager\" | \"barcodescan\" | \"brainentering\" | \"brainfail\" | \"brainloading\" | \"brainsleeping\" | \"brainsuccess\" | \"builder\" | \"builtin\" | \"category\" | \"geographicfilter\" | \"companies\" | \"confetti\" | \"copy\" | \"coursemanager\" | \"downloading\" | \"emptyfeed\" | \"empty\" | \"error\" | \"faceid\" | \"fail\" | \"form\" | \"groupchat\" | \"template\" | \"location\" | \"locker\" | \"magiclink\" | \"nouser\" | \"newsletter\" | \"nocommunity\" | \"nodata\" | \"notification\" | \"notquite\" | \"offlinemode\" | \"rating\" | \"requestraised\" | \"robot\" | \"robotdone\" | \"robotfailed\" | \"robotgenerating\" | \"robotsleeping\" | \"role\" | \"startfromscratch\" | \"storemanager\" | \"syncing\" | \"thankyou\" | \"thumbsup\" | \"touchid\" | \"translation\" | \"trophy\" | \"uploadfile\" | \"usertrial\" | \"waiting\" | \"hq\" | \"missionstovalidate\" | \"wiki\"",
|