@inappstory/react-sdk 1.7.8 → 1.7.9
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/index.esm.mjs +76 -22
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +4 -3
- package/package.json +1 -1
package/dist/index.esm.mjs
CHANGED
|
@@ -3483,7 +3483,7 @@ var __esDecorate = (undefined && undefined.__esDecorate) || function (ctor, desc
|
|
|
3483
3483
|
|
|
3484
3484
|
|
|
3485
3485
|
|
|
3486
|
-
const messageFields = "campaign_name,id,events,appearance,slides_html,type,frequency_limit,display_to,display_from,need_placeholders,has_limit";
|
|
3486
|
+
const messageFields = "campaign_name,id,events,appearance,slides_html,type,frequency_limit,display_to,display_from,disable_close,need_placeholders,has_limit";
|
|
3487
3487
|
const messageFieldsWithPrefix = messageFields
|
|
3488
3488
|
.split(",")
|
|
3489
3489
|
.map(field => `messages.${field}`)
|
|
@@ -10589,7 +10589,7 @@ class GameClientConfig {
|
|
|
10589
10589
|
value: void 0
|
|
10590
10590
|
});
|
|
10591
10591
|
const storyManagerConfig = this.storyManager.config;
|
|
10592
|
-
const sdkVersion = "1.7.
|
|
10592
|
+
const sdkVersion = "1.7.9";
|
|
10593
10593
|
const placeholders = this.storyManager.rootStore.placeholderStore.placeholders;
|
|
10594
10594
|
const session = this.storyManager.rootStore.sessionStore.session;
|
|
10595
10595
|
this.sessionId = session.id;
|
|
@@ -15274,6 +15274,7 @@ let StoryManagerConfig = (() => {
|
|
|
15274
15274
|
var _b, _c, _d, _e, _f;
|
|
15275
15275
|
this._appPackageId = (_b = configDto.appPackageId) !== null && _b !== void 0 ? _b : "";
|
|
15276
15276
|
this._disableDeviceId = Boolean(configDto.disableDeviceId);
|
|
15277
|
+
this.setOptions(configDto.options);
|
|
15277
15278
|
this.setApiKey(configDto.apiKey);
|
|
15278
15279
|
this.setAnonymous(configDto.anonymous);
|
|
15279
15280
|
this.setUserId((_c = configDto.userId) !== null && _c !== void 0 ? _c : "", configDto.userIdSign);
|
|
@@ -15282,7 +15283,6 @@ let StoryManagerConfig = (() => {
|
|
|
15282
15283
|
this.setImagePlaceholders((_e = configDto.imagePlaceholders) !== null && _e !== void 0 ? _e : {});
|
|
15283
15284
|
this.setTags((_f = configDto.tags) !== null && _f !== void 0 ? _f : []);
|
|
15284
15285
|
this.setDir(configDto.dir);
|
|
15285
|
-
this.setOptions(configDto.options);
|
|
15286
15286
|
}
|
|
15287
15287
|
mapTextPlaceholders(textPlaceholderDtos) {
|
|
15288
15288
|
const textPlaceholders = [];
|
|
@@ -15557,7 +15557,7 @@ var iamMessage_classPrivateFieldSet = (undefined && undefined.__classPrivateFiel
|
|
|
15557
15557
|
|
|
15558
15558
|
const DEFAULT_ITERATION_ID = (0,external_uuid_namespaceObject.v4)();
|
|
15559
15559
|
let IamMessage = (() => {
|
|
15560
|
-
var _a, _IamMessage__id_accessor_storage, _IamMessage__events_accessor_storage, _IamMessage__type_accessor_storage, _IamMessage__slides_accessor_storage, _IamMessage__appearanceOptions_accessor_storage, _IamMessage__needPlaceholders_accessor_storage, _IamMessage__hasLimit_accessor_storage, _IamMessage__isOnceOpened_accessor_storage, _IamMessage__context_accessor_storage;
|
|
15560
|
+
var _a, _IamMessage__id_accessor_storage, _IamMessage__events_accessor_storage, _IamMessage__type_accessor_storage, _IamMessage__slides_accessor_storage, _IamMessage__appearanceOptions_accessor_storage, _IamMessage__needPlaceholders_accessor_storage, _IamMessage__hasLimit_accessor_storage, _IamMessage__disableClose_accessor_storage, _IamMessage__isOnceOpened_accessor_storage, _IamMessage__context_accessor_storage;
|
|
15561
15561
|
let _instanceExtraInitializers = [];
|
|
15562
15562
|
let __id_decorators;
|
|
15563
15563
|
let __id_initializers = [];
|
|
@@ -15580,6 +15580,9 @@ let IamMessage = (() => {
|
|
|
15580
15580
|
let __hasLimit_decorators;
|
|
15581
15581
|
let __hasLimit_initializers = [];
|
|
15582
15582
|
let __hasLimit_extraInitializers = [];
|
|
15583
|
+
let __disableClose_decorators;
|
|
15584
|
+
let __disableClose_initializers = [];
|
|
15585
|
+
let __disableClose_extraInitializers = [];
|
|
15583
15586
|
let __isOnceOpened_decorators;
|
|
15584
15587
|
let __isOnceOpened_initializers = [];
|
|
15585
15588
|
let __isOnceOpened_extraInitializers = [];
|
|
@@ -15602,6 +15605,8 @@ let IamMessage = (() => {
|
|
|
15602
15605
|
set _needPlaceholders(value) { iamMessage_classPrivateFieldSet(this, _IamMessage__needPlaceholders_accessor_storage, value, "f"); }
|
|
15603
15606
|
get _hasLimit() { return iamMessage_classPrivateFieldGet(this, _IamMessage__hasLimit_accessor_storage, "f"); }
|
|
15604
15607
|
set _hasLimit(value) { iamMessage_classPrivateFieldSet(this, _IamMessage__hasLimit_accessor_storage, value, "f"); }
|
|
15608
|
+
get _disableClose() { return iamMessage_classPrivateFieldGet(this, _IamMessage__disableClose_accessor_storage, "f"); }
|
|
15609
|
+
set _disableClose(value) { iamMessage_classPrivateFieldSet(this, _IamMessage__disableClose_accessor_storage, value, "f"); }
|
|
15605
15610
|
get _isOnceOpened() { return iamMessage_classPrivateFieldGet(this, _IamMessage__isOnceOpened_accessor_storage, "f"); }
|
|
15606
15611
|
set _isOnceOpened(value) { iamMessage_classPrivateFieldSet(this, _IamMessage__isOnceOpened_accessor_storage, value, "f"); }
|
|
15607
15612
|
get _context() { return iamMessage_classPrivateFieldGet(this, _IamMessage__context_accessor_storage, "f"); }
|
|
@@ -15614,7 +15619,8 @@ let IamMessage = (() => {
|
|
|
15614
15619
|
_IamMessage__appearanceOptions_accessor_storage.set(this, (iamMessage_runInitializers(this, __slides_extraInitializers), iamMessage_runInitializers(this, __appearanceOptions_initializers, new IamAppearanceCommonOptions({}))));
|
|
15615
15620
|
_IamMessage__needPlaceholders_accessor_storage.set(this, (iamMessage_runInitializers(this, __appearanceOptions_extraInitializers), iamMessage_runInitializers(this, __needPlaceholders_initializers, false)));
|
|
15616
15621
|
_IamMessage__hasLimit_accessor_storage.set(this, (iamMessage_runInitializers(this, __needPlaceholders_extraInitializers), iamMessage_runInitializers(this, __hasLimit_initializers, false)));
|
|
15617
|
-
|
|
15622
|
+
_IamMessage__disableClose_accessor_storage.set(this, (iamMessage_runInitializers(this, __hasLimit_extraInitializers), iamMessage_runInitializers(this, __disableClose_initializers, false)));
|
|
15623
|
+
_IamMessage__isOnceOpened_accessor_storage.set(this, (iamMessage_runInitializers(this, __disableClose_extraInitializers), iamMessage_runInitializers(this, __isOnceOpened_initializers, false)));
|
|
15618
15624
|
_IamMessage__context_accessor_storage.set(this, (iamMessage_runInitializers(this, __isOnceOpened_extraInitializers), iamMessage_runInitializers(this, __context_initializers, void 0)));
|
|
15619
15625
|
/**
|
|
15620
15626
|
* null - показывать однократно
|
|
@@ -15707,11 +15713,15 @@ let IamMessage = (() => {
|
|
|
15707
15713
|
get type() {
|
|
15708
15714
|
return this._type;
|
|
15709
15715
|
}
|
|
15716
|
+
get disableClose() {
|
|
15717
|
+
return this._disableClose;
|
|
15718
|
+
}
|
|
15710
15719
|
destroy() { }
|
|
15711
15720
|
updateByDto(messageDto) {
|
|
15712
15721
|
var _b, _c, _d;
|
|
15713
15722
|
this._events = this.mapMessageEventsByDto((_b = messageDto.events) !== null && _b !== void 0 ? _b : []);
|
|
15714
15723
|
this._type = messageDto.type;
|
|
15724
|
+
this._disableClose = Boolean(messageDto.disable_close);
|
|
15715
15725
|
this._campaignName = messageDto.campaign_name;
|
|
15716
15726
|
this._frequencyLimit = messageDto.frequency_limit;
|
|
15717
15727
|
this._displayFrom = (_c = messageDto.display_from) !== null && _c !== void 0 ? _c : null;
|
|
@@ -15775,6 +15785,7 @@ let IamMessage = (() => {
|
|
|
15775
15785
|
_IamMessage__appearanceOptions_accessor_storage = new WeakMap(),
|
|
15776
15786
|
_IamMessage__needPlaceholders_accessor_storage = new WeakMap(),
|
|
15777
15787
|
_IamMessage__hasLimit_accessor_storage = new WeakMap(),
|
|
15788
|
+
_IamMessage__disableClose_accessor_storage = new WeakMap(),
|
|
15778
15789
|
_IamMessage__isOnceOpened_accessor_storage = new WeakMap(),
|
|
15779
15790
|
_IamMessage__context_accessor_storage = new WeakMap(),
|
|
15780
15791
|
(() => {
|
|
@@ -15786,6 +15797,7 @@ let IamMessage = (() => {
|
|
|
15786
15797
|
__appearanceOptions_decorators = [external_mobx_namespaceObject.observable];
|
|
15787
15798
|
__needPlaceholders_decorators = [external_mobx_namespaceObject.observable];
|
|
15788
15799
|
__hasLimit_decorators = [external_mobx_namespaceObject.observable];
|
|
15800
|
+
__disableClose_decorators = [external_mobx_namespaceObject.observable];
|
|
15789
15801
|
__isOnceOpened_decorators = [external_mobx_namespaceObject.observable];
|
|
15790
15802
|
__context_decorators = [external_mobx_namespaceObject.observable];
|
|
15791
15803
|
_updateByDto_decorators = [external_mobx_namespaceObject.action];
|
|
@@ -15796,6 +15808,7 @@ let IamMessage = (() => {
|
|
|
15796
15808
|
iamMessage_esDecorate(_a, null, __appearanceOptions_decorators, { kind: "accessor", name: "_appearanceOptions", static: false, private: false, access: { has: obj => "_appearanceOptions" in obj, get: obj => obj._appearanceOptions, set: (obj, value) => { obj._appearanceOptions = value; } }, metadata: _metadata }, __appearanceOptions_initializers, __appearanceOptions_extraInitializers);
|
|
15797
15809
|
iamMessage_esDecorate(_a, null, __needPlaceholders_decorators, { kind: "accessor", name: "_needPlaceholders", static: false, private: false, access: { has: obj => "_needPlaceholders" in obj, get: obj => obj._needPlaceholders, set: (obj, value) => { obj._needPlaceholders = value; } }, metadata: _metadata }, __needPlaceholders_initializers, __needPlaceholders_extraInitializers);
|
|
15798
15810
|
iamMessage_esDecorate(_a, null, __hasLimit_decorators, { kind: "accessor", name: "_hasLimit", static: false, private: false, access: { has: obj => "_hasLimit" in obj, get: obj => obj._hasLimit, set: (obj, value) => { obj._hasLimit = value; } }, metadata: _metadata }, __hasLimit_initializers, __hasLimit_extraInitializers);
|
|
15811
|
+
iamMessage_esDecorate(_a, null, __disableClose_decorators, { kind: "accessor", name: "_disableClose", static: false, private: false, access: { has: obj => "_disableClose" in obj, get: obj => obj._disableClose, set: (obj, value) => { obj._disableClose = value; } }, metadata: _metadata }, __disableClose_initializers, __disableClose_extraInitializers);
|
|
15799
15812
|
iamMessage_esDecorate(_a, null, __isOnceOpened_decorators, { kind: "accessor", name: "_isOnceOpened", static: false, private: false, access: { has: obj => "_isOnceOpened" in obj, get: obj => obj._isOnceOpened, set: (obj, value) => { obj._isOnceOpened = value; } }, metadata: _metadata }, __isOnceOpened_initializers, __isOnceOpened_extraInitializers);
|
|
15800
15813
|
iamMessage_esDecorate(_a, null, __context_decorators, { kind: "accessor", name: "_context", static: false, private: false, access: { has: obj => "_context" in obj, get: obj => obj._context, set: (obj, value) => { obj._context = value; } }, metadata: _metadata }, __context_initializers, __context_extraInitializers);
|
|
15801
15814
|
iamMessage_esDecorate(_a, null, _updateByDto_decorators, { kind: "method", name: "updateByDto", static: false, private: false, access: { has: obj => "updateByDto" in obj, get: obj => obj.updateByDto }, metadata: _metadata }, null, _instanceExtraInitializers);
|
|
@@ -17126,7 +17139,7 @@ let IamReaderViewModel = (() => {
|
|
|
17126
17139
|
await this.open(message);
|
|
17127
17140
|
return message;
|
|
17128
17141
|
}
|
|
17129
|
-
async
|
|
17142
|
+
async forceClose() {
|
|
17130
17143
|
if (!this._activeMessage)
|
|
17131
17144
|
return;
|
|
17132
17145
|
this.emitCloseEvent(this._activeMessage);
|
|
@@ -17135,6 +17148,12 @@ let IamReaderViewModel = (() => {
|
|
|
17135
17148
|
this.touchController.destroy();
|
|
17136
17149
|
this.scrollbarHelper.enable();
|
|
17137
17150
|
}
|
|
17151
|
+
async close() {
|
|
17152
|
+
var _b;
|
|
17153
|
+
if ((_b = this._activeMessage) === null || _b === void 0 ? void 0 : _b.disableClose)
|
|
17154
|
+
return;
|
|
17155
|
+
this.forceClose();
|
|
17156
|
+
}
|
|
17138
17157
|
async open(message) {
|
|
17139
17158
|
message.updatePlaceholders(this.storyManager.rootStore.placeholderStore.placeholders);
|
|
17140
17159
|
this.touchController.init(document.body);
|
|
@@ -17390,7 +17409,7 @@ class IamSlideApiHandlers {
|
|
|
17390
17409
|
});
|
|
17391
17410
|
}
|
|
17392
17411
|
closeCard(reason) {
|
|
17393
|
-
this.iamReader.
|
|
17412
|
+
this.iamReader.forceClose();
|
|
17394
17413
|
}
|
|
17395
17414
|
openStory(id, index) {
|
|
17396
17415
|
new showStoryAction_ShowStoryAction(this.storyManager, this.iamMessage).handle({
|
|
@@ -17712,6 +17731,9 @@ let IamMessageViewModel = (() => {
|
|
|
17712
17731
|
get timeSinceLastShow() {
|
|
17713
17732
|
return this.iamMessage.timeSinceLastShow;
|
|
17714
17733
|
}
|
|
17734
|
+
get disableClose() {
|
|
17735
|
+
return this.iamMessage.disableClose;
|
|
17736
|
+
}
|
|
17715
17737
|
open() {
|
|
17716
17738
|
this._isOnceOpened = true;
|
|
17717
17739
|
const iterationId = this.iamMessage.trackOpen();
|
|
@@ -20412,7 +20434,7 @@ class UgcEditorStore {
|
|
|
20412
20434
|
const session = await this.storyManager.rootStore.sessionStore.open();
|
|
20413
20435
|
const ugcEditorConfigDto = await this.ugcEditorApi.fetchUgcEditorConfig();
|
|
20414
20436
|
const storyManagerConfig = this.storyManager.config;
|
|
20415
|
-
const sdkVersion = "1.7.
|
|
20437
|
+
const sdkVersion = "1.7.9";
|
|
20416
20438
|
this._config = {
|
|
20417
20439
|
sessionId: session.id,
|
|
20418
20440
|
apiKey: storyManagerConfig.apiKey,
|
|
@@ -20844,11 +20866,11 @@ class StoryManager extends TypedEventEmitter {
|
|
|
20844
20866
|
return this._userAgent;
|
|
20845
20867
|
}
|
|
20846
20868
|
get sdkVersionName() {
|
|
20847
|
-
const sdkVersionName = "1.7.
|
|
20869
|
+
const sdkVersionName = "1.7.9";
|
|
20848
20870
|
return sdkVersionName || "0.0.0";
|
|
20849
20871
|
}
|
|
20850
20872
|
get sdkVersionCode() {
|
|
20851
|
-
const sdkVersionCode =
|
|
20873
|
+
const sdkVersionCode = 10709;
|
|
20852
20874
|
return sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
20853
20875
|
}
|
|
20854
20876
|
get lang() {
|
|
@@ -20905,7 +20927,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
20905
20927
|
this.rootStore.storyManagerConfigStore.setConfig(configDto);
|
|
20906
20928
|
}
|
|
20907
20929
|
setUserAgent(userAgent) {
|
|
20908
|
-
const sdkVersionCode =
|
|
20930
|
+
const sdkVersionCode = 10709;
|
|
20909
20931
|
const buildVersion = sdkVersionCode ? parseInt(sdkVersionCode) : 0;
|
|
20910
20932
|
// According to RFC5987, HTTP header values can legitimately be supplied using the ISO-8859-1 encoding.
|
|
20911
20933
|
this._userAgent = `${userAgent} ${convertStrToLatin1(navigator.userAgent)}`;
|
|
@@ -20968,7 +20990,7 @@ class StoryManager extends TypedEventEmitter {
|
|
|
20968
20990
|
clearConfig() {
|
|
20969
20991
|
this.storyReader.close(CloseStoryReaderAction.AppClose, true);
|
|
20970
20992
|
this.gameReader.closeGame();
|
|
20971
|
-
this.inAppMessaging.
|
|
20993
|
+
this.inAppMessaging.forceClose();
|
|
20972
20994
|
this.rootStore.storyManagerConfigStore.clear();
|
|
20973
20995
|
}
|
|
20974
20996
|
static isSingletonInstanceExists() {
|
|
@@ -26497,7 +26519,7 @@ var BottomSheet_classPrivateFieldSet = (undefined && undefined.__classPrivateFie
|
|
|
26497
26519
|
|
|
26498
26520
|
|
|
26499
26521
|
let BottomSheet = (() => {
|
|
26500
|
-
var _BottomSheet_open_accessor_storage, _BottomSheet_geometry_accessor_storage, _BottomSheet_appearanceOptions_accessor_storage, _BottomSheet_touchController_accessor_storage, _BottomSheet_desktopMode_accessor_storage, _BottomSheet_isVisible_accessor_storage, _BottomSheet_isClosed_accessor_storage, _BottomSheet_backdropRef_accessor_storage, _BottomSheet_bottomSheetBoxRef_accessor_storage, _BottomSheet_bottomSheetRef_accessor_storage;
|
|
26522
|
+
var _BottomSheet_open_accessor_storage, _BottomSheet_disableClose_accessor_storage, _BottomSheet_geometry_accessor_storage, _BottomSheet_appearanceOptions_accessor_storage, _BottomSheet_touchController_accessor_storage, _BottomSheet_desktopMode_accessor_storage, _BottomSheet_isVisible_accessor_storage, _BottomSheet_isClosed_accessor_storage, _BottomSheet_backdropRef_accessor_storage, _BottomSheet_bottomSheetBoxRef_accessor_storage, _BottomSheet_bottomSheetRef_accessor_storage;
|
|
26501
26523
|
let _classDecorators = [(0,decorators_js_namespaceObject.customElement)("iam-bottom-sheet")];
|
|
26502
26524
|
let _classDescriptor;
|
|
26503
26525
|
let _classExtraInitializers = [];
|
|
@@ -26506,6 +26528,9 @@ let BottomSheet = (() => {
|
|
|
26506
26528
|
let _open_decorators;
|
|
26507
26529
|
let _open_initializers = [];
|
|
26508
26530
|
let _open_extraInitializers = [];
|
|
26531
|
+
let _disableClose_decorators;
|
|
26532
|
+
let _disableClose_initializers = [];
|
|
26533
|
+
let _disableClose_extraInitializers = [];
|
|
26509
26534
|
let _geometry_decorators;
|
|
26510
26535
|
let _geometry_initializers = [];
|
|
26511
26536
|
let _geometry_extraInitializers = [];
|
|
@@ -26536,6 +26561,8 @@ let BottomSheet = (() => {
|
|
|
26536
26561
|
var BottomSheet = _classThis = class extends _classSuper {
|
|
26537
26562
|
get open() { return BottomSheet_classPrivateFieldGet(this, _BottomSheet_open_accessor_storage, "f"); }
|
|
26538
26563
|
set open(value) { BottomSheet_classPrivateFieldSet(this, _BottomSheet_open_accessor_storage, value, "f"); }
|
|
26564
|
+
get disableClose() { return BottomSheet_classPrivateFieldGet(this, _BottomSheet_disableClose_accessor_storage, "f"); }
|
|
26565
|
+
set disableClose(value) { BottomSheet_classPrivateFieldSet(this, _BottomSheet_disableClose_accessor_storage, value, "f"); }
|
|
26539
26566
|
get geometry() { return BottomSheet_classPrivateFieldGet(this, _BottomSheet_geometry_accessor_storage, "f"); }
|
|
26540
26567
|
set geometry(value) { BottomSheet_classPrivateFieldSet(this, _BottomSheet_geometry_accessor_storage, value, "f"); }
|
|
26541
26568
|
get appearanceOptions() { return BottomSheet_classPrivateFieldGet(this, _BottomSheet_appearanceOptions_accessor_storage, "f"); }
|
|
@@ -26557,7 +26584,8 @@ let BottomSheet = (() => {
|
|
|
26557
26584
|
constructor() {
|
|
26558
26585
|
super();
|
|
26559
26586
|
_BottomSheet_open_accessor_storage.set(this, BottomSheet_runInitializers(this, _open_initializers, false));
|
|
26560
|
-
|
|
26587
|
+
_BottomSheet_disableClose_accessor_storage.set(this, (BottomSheet_runInitializers(this, _open_extraInitializers), BottomSheet_runInitializers(this, _disableClose_initializers, false)));
|
|
26588
|
+
_BottomSheet_geometry_accessor_storage.set(this, (BottomSheet_runInitializers(this, _disableClose_extraInitializers), BottomSheet_runInitializers(this, _geometry_initializers, void 0)));
|
|
26561
26589
|
_BottomSheet_appearanceOptions_accessor_storage.set(this, (BottomSheet_runInitializers(this, _geometry_extraInitializers), BottomSheet_runInitializers(this, _appearanceOptions_initializers, void 0)));
|
|
26562
26590
|
_BottomSheet_touchController_accessor_storage.set(this, (BottomSheet_runInitializers(this, _appearanceOptions_extraInitializers), BottomSheet_runInitializers(this, _touchController_initializers, void 0)));
|
|
26563
26591
|
_BottomSheet_desktopMode_accessor_storage.set(this, (BottomSheet_runInitializers(this, _touchController_extraInitializers), BottomSheet_runInitializers(this, _desktopMode_initializers, void 0)));
|
|
@@ -26600,6 +26628,8 @@ let BottomSheet = (() => {
|
|
|
26600
26628
|
super.disconnectedCallback();
|
|
26601
26629
|
}
|
|
26602
26630
|
close() {
|
|
26631
|
+
if (this.disableClose)
|
|
26632
|
+
return;
|
|
26603
26633
|
this.backdropRef.addEventListener("transitionend", this.handleTransitionEnd);
|
|
26604
26634
|
this.isVisible = false;
|
|
26605
26635
|
}
|
|
@@ -26638,10 +26668,11 @@ let BottomSheet = (() => {
|
|
|
26638
26668
|
"bottom-sheet__box-wrapper--desktop-mode": this.desktopMode
|
|
26639
26669
|
})}" style="${(0,style_map_js_namespaceObject.styleMap)(bottomSheetBoxWrapperStyle)}"><div style="${(0,style_map_js_namespaceObject.styleMap)(bottomSheetBoxStyle)}" id="bottom-sheet__box" class="bottom-sheet__box ${(0,class_map_js_namespaceObject.classMap)({
|
|
26640
26670
|
"bottom-sheet__box--open": this.isVisible
|
|
26641
|
-
})}"><div class="bottom-sheet__header"
|
|
26671
|
+
})}"><div class="bottom-sheet__header">${this.disableClose ? external_lit_namespaceObject.nothing : (0,external_lit_namespaceObject.html) `<div class="close-strip-btn" style="${(0,style_map_js_namespaceObject.styleMap)(closeStripButtonStyle)}"></div>`}</div><slot></slot></div></div></div>`;
|
|
26642
26672
|
}
|
|
26643
26673
|
};
|
|
26644
26674
|
_BottomSheet_open_accessor_storage = new WeakMap();
|
|
26675
|
+
_BottomSheet_disableClose_accessor_storage = new WeakMap();
|
|
26645
26676
|
_BottomSheet_geometry_accessor_storage = new WeakMap();
|
|
26646
26677
|
_BottomSheet_appearanceOptions_accessor_storage = new WeakMap();
|
|
26647
26678
|
_BottomSheet_touchController_accessor_storage = new WeakMap();
|
|
@@ -26656,6 +26687,7 @@ let BottomSheet = (() => {
|
|
|
26656
26687
|
var _a;
|
|
26657
26688
|
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create((_a = _classSuper[Symbol.metadata]) !== null && _a !== void 0 ? _a : null) : void 0;
|
|
26658
26689
|
_open_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
26690
|
+
_disableClose_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
26659
26691
|
_geometry_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
26660
26692
|
_appearanceOptions_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
26661
26693
|
_touchController_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
@@ -26666,6 +26698,7 @@ let BottomSheet = (() => {
|
|
|
26666
26698
|
_bottomSheetBoxRef_decorators = [(0,decorators_js_namespaceObject.query)("#bottom-sheet__box")];
|
|
26667
26699
|
_bottomSheetRef_decorators = [(0,decorators_js_namespaceObject.query)("#bottom-sheet")];
|
|
26668
26700
|
BottomSheet_esDecorate(_classThis, null, _open_decorators, { kind: "accessor", name: "open", static: false, private: false, access: { has: obj => "open" in obj, get: obj => obj.open, set: (obj, value) => { obj.open = value; } }, metadata: _metadata }, _open_initializers, _open_extraInitializers);
|
|
26701
|
+
BottomSheet_esDecorate(_classThis, null, _disableClose_decorators, { kind: "accessor", name: "disableClose", static: false, private: false, access: { has: obj => "disableClose" in obj, get: obj => obj.disableClose, set: (obj, value) => { obj.disableClose = value; } }, metadata: _metadata }, _disableClose_initializers, _disableClose_extraInitializers);
|
|
26669
26702
|
BottomSheet_esDecorate(_classThis, null, _geometry_decorators, { kind: "accessor", name: "geometry", static: false, private: false, access: { has: obj => "geometry" in obj, get: obj => obj.geometry, set: (obj, value) => { obj.geometry = value; } }, metadata: _metadata }, _geometry_initializers, _geometry_extraInitializers);
|
|
26670
26703
|
BottomSheet_esDecorate(_classThis, null, _appearanceOptions_decorators, { kind: "accessor", name: "appearanceOptions", static: false, private: false, access: { has: obj => "appearanceOptions" in obj, get: obj => obj.appearanceOptions, set: (obj, value) => { obj.appearanceOptions = value; } }, metadata: _metadata }, _appearanceOptions_initializers, _appearanceOptions_extraInitializers);
|
|
26671
26704
|
BottomSheet_esDecorate(_classThis, null, _touchController_decorators, { kind: "accessor", name: "touchController", static: false, private: false, access: { has: obj => "touchController" in obj, get: obj => obj.touchController, set: (obj, value) => { obj.touchController = value; } }, metadata: _metadata }, _touchController_initializers, _touchController_extraInitializers);
|
|
@@ -26887,7 +26920,7 @@ var Modal_classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet)
|
|
|
26887
26920
|
const ANIMATION_DURATION = 350;
|
|
26888
26921
|
|
|
26889
26922
|
let Modal_Modal = (() => {
|
|
26890
|
-
var _Modal_open_accessor_storage, _Modal_fullscreen_accessor_storage, _Modal_geometry_accessor_storage, _Modal_appearanceOptions_accessor_storage, _Modal_dir_accessor_storage, _Modal_isVisible_accessor_storage, _Modal_isClosed_accessor_storage, _Modal_backdropRef_accessor_storage;
|
|
26923
|
+
var _Modal_open_accessor_storage, _Modal_disableClose_accessor_storage, _Modal_fullscreen_accessor_storage, _Modal_geometry_accessor_storage, _Modal_appearanceOptions_accessor_storage, _Modal_dir_accessor_storage, _Modal_isVisible_accessor_storage, _Modal_isClosed_accessor_storage, _Modal_backdropRef_accessor_storage;
|
|
26891
26924
|
let _classDecorators = [(0,decorators_js_namespaceObject.customElement)("iam-modal")];
|
|
26892
26925
|
let _classDescriptor;
|
|
26893
26926
|
let _classExtraInitializers = [];
|
|
@@ -26896,6 +26929,9 @@ let Modal_Modal = (() => {
|
|
|
26896
26929
|
let _open_decorators;
|
|
26897
26930
|
let _open_initializers = [];
|
|
26898
26931
|
let _open_extraInitializers = [];
|
|
26932
|
+
let _disableClose_decorators;
|
|
26933
|
+
let _disableClose_initializers = [];
|
|
26934
|
+
let _disableClose_extraInitializers = [];
|
|
26899
26935
|
let _fullscreen_decorators;
|
|
26900
26936
|
let _fullscreen_initializers = [];
|
|
26901
26937
|
let _fullscreen_extraInitializers = [];
|
|
@@ -26920,6 +26956,8 @@ let Modal_Modal = (() => {
|
|
|
26920
26956
|
var Modal = _classThis = class extends _classSuper {
|
|
26921
26957
|
get open() { return Modal_classPrivateFieldGet(this, _Modal_open_accessor_storage, "f"); }
|
|
26922
26958
|
set open(value) { Modal_classPrivateFieldSet(this, _Modal_open_accessor_storage, value, "f"); }
|
|
26959
|
+
get disableClose() { return Modal_classPrivateFieldGet(this, _Modal_disableClose_accessor_storage, "f"); }
|
|
26960
|
+
set disableClose(value) { Modal_classPrivateFieldSet(this, _Modal_disableClose_accessor_storage, value, "f"); }
|
|
26923
26961
|
get fullscreen() { return Modal_classPrivateFieldGet(this, _Modal_fullscreen_accessor_storage, "f"); }
|
|
26924
26962
|
set fullscreen(value) { Modal_classPrivateFieldSet(this, _Modal_fullscreen_accessor_storage, value, "f"); }
|
|
26925
26963
|
get geometry() { return Modal_classPrivateFieldGet(this, _Modal_geometry_accessor_storage, "f"); }
|
|
@@ -26937,7 +26975,8 @@ let Modal_Modal = (() => {
|
|
|
26937
26975
|
constructor() {
|
|
26938
26976
|
super();
|
|
26939
26977
|
_Modal_open_accessor_storage.set(this, Modal_runInitializers(this, _open_initializers, false));
|
|
26940
|
-
|
|
26978
|
+
_Modal_disableClose_accessor_storage.set(this, (Modal_runInitializers(this, _open_extraInitializers), Modal_runInitializers(this, _disableClose_initializers, false)));
|
|
26979
|
+
_Modal_fullscreen_accessor_storage.set(this, (Modal_runInitializers(this, _disableClose_extraInitializers), Modal_runInitializers(this, _fullscreen_initializers, false)));
|
|
26941
26980
|
_Modal_geometry_accessor_storage.set(this, (Modal_runInitializers(this, _fullscreen_extraInitializers), Modal_runInitializers(this, _geometry_initializers, void 0)));
|
|
26942
26981
|
_Modal_appearanceOptions_accessor_storage.set(this, (Modal_runInitializers(this, _geometry_extraInitializers), Modal_runInitializers(this, _appearanceOptions_initializers, void 0)));
|
|
26943
26982
|
_Modal_dir_accessor_storage.set(this, (Modal_runInitializers(this, _appearanceOptions_extraInitializers), Modal_runInitializers(this, _dir_initializers, void 0)));
|
|
@@ -26947,6 +26986,8 @@ let Modal_Modal = (() => {
|
|
|
26947
26986
|
Modal_runInitializers(this, _backdropRef_extraInitializers);
|
|
26948
26987
|
}
|
|
26949
26988
|
close() {
|
|
26989
|
+
if (this.disableClose)
|
|
26990
|
+
return;
|
|
26950
26991
|
const duration = this.appearanceOptions.animationType === IamModalAnimationType.None ? 0 : ANIMATION_DURATION;
|
|
26951
26992
|
setTimeout(() => {
|
|
26952
26993
|
this.isClosed = true;
|
|
@@ -27023,10 +27064,11 @@ let Modal_Modal = (() => {
|
|
|
27023
27064
|
? external_lit_namespaceObject.nothing
|
|
27024
27065
|
: (0,external_lit_namespaceObject.html) `<div class="modal__header"><iam-modal-close-btn @click="${this.close}" .dir="${this.dir}" .closeBtnPosition="${this.appearanceOptions.closeBtnPosition}"></iam-modal-close-btn></div>`}<div style="${(0,style_map_js_namespaceObject.styleMap)(modalBoxContentStyle)}" class="modal__box-content ${(0,class_map_js_namespaceObject.classMap)({ "modal__box-content--fullscreen": this.fullscreen })}">${this.fullscreen
|
|
27025
27066
|
? external_lit_namespaceObject.nothing
|
|
27026
|
-
: (0,external_lit_namespaceObject.html) `<div class="modal__header"
|
|
27067
|
+
: (0,external_lit_namespaceObject.html) `<div class="modal__header">${this.disableClose ? external_lit_namespaceObject.nothing : (0,external_lit_namespaceObject.html) `<iam-modal-close-btn @click="${this.close}" .dir="${this.dir}" .closeBtnPosition="${this.appearanceOptions.closeBtnPosition}"></iam-modal-close-btn>`}</div>`}<slot></slot></div></div></div>`;
|
|
27027
27068
|
}
|
|
27028
27069
|
};
|
|
27029
27070
|
_Modal_open_accessor_storage = new WeakMap();
|
|
27071
|
+
_Modal_disableClose_accessor_storage = new WeakMap();
|
|
27030
27072
|
_Modal_fullscreen_accessor_storage = new WeakMap();
|
|
27031
27073
|
_Modal_geometry_accessor_storage = new WeakMap();
|
|
27032
27074
|
_Modal_appearanceOptions_accessor_storage = new WeakMap();
|
|
@@ -27039,6 +27081,7 @@ let Modal_Modal = (() => {
|
|
|
27039
27081
|
var _a;
|
|
27040
27082
|
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create((_a = _classSuper[Symbol.metadata]) !== null && _a !== void 0 ? _a : null) : void 0;
|
|
27041
27083
|
_open_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
27084
|
+
_disableClose_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
27042
27085
|
_fullscreen_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
27043
27086
|
_geometry_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
27044
27087
|
_appearanceOptions_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
@@ -27047,6 +27090,7 @@ let Modal_Modal = (() => {
|
|
|
27047
27090
|
_isClosed_decorators = [(0,decorators_js_namespaceObject.state)()];
|
|
27048
27091
|
_backdropRef_decorators = [(0,decorators_js_namespaceObject.query)("#modal__backdrop")];
|
|
27049
27092
|
Modal_esDecorate(_classThis, null, _open_decorators, { kind: "accessor", name: "open", static: false, private: false, access: { has: obj => "open" in obj, get: obj => obj.open, set: (obj, value) => { obj.open = value; } }, metadata: _metadata }, _open_initializers, _open_extraInitializers);
|
|
27093
|
+
Modal_esDecorate(_classThis, null, _disableClose_decorators, { kind: "accessor", name: "disableClose", static: false, private: false, access: { has: obj => "disableClose" in obj, get: obj => obj.disableClose, set: (obj, value) => { obj.disableClose = value; } }, metadata: _metadata }, _disableClose_initializers, _disableClose_extraInitializers);
|
|
27050
27094
|
Modal_esDecorate(_classThis, null, _fullscreen_decorators, { kind: "accessor", name: "fullscreen", static: false, private: false, access: { has: obj => "fullscreen" in obj, get: obj => obj.fullscreen, set: (obj, value) => { obj.fullscreen = value; } }, metadata: _metadata }, _fullscreen_initializers, _fullscreen_extraInitializers);
|
|
27051
27095
|
Modal_esDecorate(_classThis, null, _geometry_decorators, { kind: "accessor", name: "geometry", static: false, private: false, access: { has: obj => "geometry" in obj, get: obj => obj.geometry, set: (obj, value) => { obj.geometry = value; } }, metadata: _metadata }, _geometry_initializers, _geometry_extraInitializers);
|
|
27052
27096
|
Modal_esDecorate(_classThis, null, _appearanceOptions_decorators, { kind: "accessor", name: "appearanceOptions", static: false, private: false, access: { has: obj => "appearanceOptions" in obj, get: obj => obj.appearanceOptions, set: (obj, value) => { obj.appearanceOptions = value; } }, metadata: _metadata }, _appearanceOptions_initializers, _appearanceOptions_extraInitializers);
|
|
@@ -27247,7 +27291,7 @@ var MessageViewFactory_classPrivateFieldSet = (undefined && undefined.__classPri
|
|
|
27247
27291
|
|
|
27248
27292
|
|
|
27249
27293
|
let MessageViewFactory = (() => {
|
|
27250
|
-
var _MessageViewFactory_appearanceOptions_accessor_storage, _MessageViewFactory_type_accessor_storage, _MessageViewFactory_open_accessor_storage, _MessageViewFactory_geometry_accessor_storage, _MessageViewFactory_touchController_accessor_storage, _MessageViewFactory_desktopMode_accessor_storage, _MessageViewFactory_dir_accessor_storage;
|
|
27294
|
+
var _MessageViewFactory_appearanceOptions_accessor_storage, _MessageViewFactory_type_accessor_storage, _MessageViewFactory_open_accessor_storage, _MessageViewFactory_disableClose_accessor_storage, _MessageViewFactory_geometry_accessor_storage, _MessageViewFactory_touchController_accessor_storage, _MessageViewFactory_desktopMode_accessor_storage, _MessageViewFactory_dir_accessor_storage;
|
|
27251
27295
|
let _classDecorators = [(0,decorators_js_namespaceObject.customElement)("message-view-factory")];
|
|
27252
27296
|
let _classDescriptor;
|
|
27253
27297
|
let _classExtraInitializers = [];
|
|
@@ -27262,6 +27306,9 @@ let MessageViewFactory = (() => {
|
|
|
27262
27306
|
let _open_decorators;
|
|
27263
27307
|
let _open_initializers = [];
|
|
27264
27308
|
let _open_extraInitializers = [];
|
|
27309
|
+
let _disableClose_decorators;
|
|
27310
|
+
let _disableClose_initializers = [];
|
|
27311
|
+
let _disableClose_extraInitializers = [];
|
|
27265
27312
|
let _geometry_decorators;
|
|
27266
27313
|
let _geometry_initializers = [];
|
|
27267
27314
|
let _geometry_extraInitializers = [];
|
|
@@ -27281,6 +27328,8 @@ let MessageViewFactory = (() => {
|
|
|
27281
27328
|
set type(value) { MessageViewFactory_classPrivateFieldSet(this, _MessageViewFactory_type_accessor_storage, value, "f"); }
|
|
27282
27329
|
get open() { return MessageViewFactory_classPrivateFieldGet(this, _MessageViewFactory_open_accessor_storage, "f"); }
|
|
27283
27330
|
set open(value) { MessageViewFactory_classPrivateFieldSet(this, _MessageViewFactory_open_accessor_storage, value, "f"); }
|
|
27331
|
+
get disableClose() { return MessageViewFactory_classPrivateFieldGet(this, _MessageViewFactory_disableClose_accessor_storage, "f"); }
|
|
27332
|
+
set disableClose(value) { MessageViewFactory_classPrivateFieldSet(this, _MessageViewFactory_disableClose_accessor_storage, value, "f"); }
|
|
27284
27333
|
get geometry() { return MessageViewFactory_classPrivateFieldGet(this, _MessageViewFactory_geometry_accessor_storage, "f"); }
|
|
27285
27334
|
set geometry(value) { MessageViewFactory_classPrivateFieldSet(this, _MessageViewFactory_geometry_accessor_storage, value, "f"); }
|
|
27286
27335
|
get touchController() { return MessageViewFactory_classPrivateFieldGet(this, _MessageViewFactory_touchController_accessor_storage, "f"); }
|
|
@@ -27295,7 +27344,8 @@ let MessageViewFactory = (() => {
|
|
|
27295
27344
|
return null;
|
|
27296
27345
|
return (0,static_html_js_namespaceObject.html) `
|
|
27297
27346
|
<${MessageView}
|
|
27298
|
-
.open=${this.open}
|
|
27347
|
+
.open=${this.open}
|
|
27348
|
+
.disableClose=${this.disableClose}
|
|
27299
27349
|
.geometry=${this.geometry}
|
|
27300
27350
|
.appearanceOptions=${this.appearanceOptions}
|
|
27301
27351
|
.touchController=${this.touchController}
|
|
@@ -27310,7 +27360,8 @@ let MessageViewFactory = (() => {
|
|
|
27310
27360
|
_MessageViewFactory_appearanceOptions_accessor_storage.set(this, MessageViewFactory_runInitializers(this, _appearanceOptions_initializers, void 0));
|
|
27311
27361
|
_MessageViewFactory_type_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _appearanceOptions_extraInitializers), MessageViewFactory_runInitializers(this, _type_initializers, void 0)));
|
|
27312
27362
|
_MessageViewFactory_open_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _type_extraInitializers), MessageViewFactory_runInitializers(this, _open_initializers, false)));
|
|
27313
|
-
|
|
27363
|
+
_MessageViewFactory_disableClose_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _open_extraInitializers), MessageViewFactory_runInitializers(this, _disableClose_initializers, false)));
|
|
27364
|
+
_MessageViewFactory_geometry_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _disableClose_extraInitializers), MessageViewFactory_runInitializers(this, _geometry_initializers, void 0)));
|
|
27314
27365
|
_MessageViewFactory_touchController_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _geometry_extraInitializers), MessageViewFactory_runInitializers(this, _touchController_initializers, void 0)));
|
|
27315
27366
|
_MessageViewFactory_desktopMode_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _touchController_extraInitializers), MessageViewFactory_runInitializers(this, _desktopMode_initializers, void 0)));
|
|
27316
27367
|
_MessageViewFactory_dir_accessor_storage.set(this, (MessageViewFactory_runInitializers(this, _desktopMode_extraInitializers), MessageViewFactory_runInitializers(this, _dir_initializers, void 0)));
|
|
@@ -27320,6 +27371,7 @@ let MessageViewFactory = (() => {
|
|
|
27320
27371
|
_MessageViewFactory_appearanceOptions_accessor_storage = new WeakMap();
|
|
27321
27372
|
_MessageViewFactory_type_accessor_storage = new WeakMap();
|
|
27322
27373
|
_MessageViewFactory_open_accessor_storage = new WeakMap();
|
|
27374
|
+
_MessageViewFactory_disableClose_accessor_storage = new WeakMap();
|
|
27323
27375
|
_MessageViewFactory_geometry_accessor_storage = new WeakMap();
|
|
27324
27376
|
_MessageViewFactory_touchController_accessor_storage = new WeakMap();
|
|
27325
27377
|
_MessageViewFactory_desktopMode_accessor_storage = new WeakMap();
|
|
@@ -27331,6 +27383,7 @@ let MessageViewFactory = (() => {
|
|
|
27331
27383
|
_appearanceOptions_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
27332
27384
|
_type_decorators = [(0,decorators_js_namespaceObject.property)({ type: Number })];
|
|
27333
27385
|
_open_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
27386
|
+
_disableClose_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
27334
27387
|
_geometry_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
27335
27388
|
_touchController_decorators = [(0,decorators_js_namespaceObject.property)({ type: Object })];
|
|
27336
27389
|
_desktopMode_decorators = [(0,decorators_js_namespaceObject.property)({ type: Boolean })];
|
|
@@ -27338,6 +27391,7 @@ let MessageViewFactory = (() => {
|
|
|
27338
27391
|
MessageViewFactory_esDecorate(_classThis, null, _appearanceOptions_decorators, { kind: "accessor", name: "appearanceOptions", static: false, private: false, access: { has: obj => "appearanceOptions" in obj, get: obj => obj.appearanceOptions, set: (obj, value) => { obj.appearanceOptions = value; } }, metadata: _metadata }, _appearanceOptions_initializers, _appearanceOptions_extraInitializers);
|
|
27339
27392
|
MessageViewFactory_esDecorate(_classThis, null, _type_decorators, { kind: "accessor", name: "type", static: false, private: false, access: { has: obj => "type" in obj, get: obj => obj.type, set: (obj, value) => { obj.type = value; } }, metadata: _metadata }, _type_initializers, _type_extraInitializers);
|
|
27340
27393
|
MessageViewFactory_esDecorate(_classThis, null, _open_decorators, { kind: "accessor", name: "open", static: false, private: false, access: { has: obj => "open" in obj, get: obj => obj.open, set: (obj, value) => { obj.open = value; } }, metadata: _metadata }, _open_initializers, _open_extraInitializers);
|
|
27394
|
+
MessageViewFactory_esDecorate(_classThis, null, _disableClose_decorators, { kind: "accessor", name: "disableClose", static: false, private: false, access: { has: obj => "disableClose" in obj, get: obj => obj.disableClose, set: (obj, value) => { obj.disableClose = value; } }, metadata: _metadata }, _disableClose_initializers, _disableClose_extraInitializers);
|
|
27341
27395
|
MessageViewFactory_esDecorate(_classThis, null, _geometry_decorators, { kind: "accessor", name: "geometry", static: false, private: false, access: { has: obj => "geometry" in obj, get: obj => obj.geometry, set: (obj, value) => { obj.geometry = value; } }, metadata: _metadata }, _geometry_initializers, _geometry_extraInitializers);
|
|
27342
27396
|
MessageViewFactory_esDecorate(_classThis, null, _touchController_decorators, { kind: "accessor", name: "touchController", static: false, private: false, access: { has: obj => "touchController" in obj, get: obj => obj.touchController, set: (obj, value) => { obj.touchController = value; } }, metadata: _metadata }, _touchController_initializers, _touchController_extraInitializers);
|
|
27343
27397
|
MessageViewFactory_esDecorate(_classThis, null, _desktopMode_decorators, { kind: "accessor", name: "desktopMode", static: false, private: false, access: { has: obj => "desktopMode" in obj, get: obj => obj.desktopMode, set: (obj, value) => { obj.desktopMode = value; } }, metadata: _metadata }, _desktopMode_initializers, _desktopMode_extraInitializers);
|
|
@@ -27944,7 +27998,7 @@ let InAppMessagingReader = (() => {
|
|
|
27944
27998
|
const type = message.type;
|
|
27945
27999
|
const messageGeometry = this.createMessageGeometry(type, message.appearanceOptions);
|
|
27946
28000
|
const slideGeometry = this.createSlideGeometry(messageGeometry);
|
|
27947
|
-
return (0,external_lit_namespaceObject.html) `<message-view-factory type="${type}" @closed="${this.handleClosed}" .appearanceOptions="${message.appearanceOptions}" .geometry="${messageGeometry}" .open="${this.open}" .dir="${this.dir}" .desktopMode="${this.desktopMode}" .touchController="${touchController}"><message-slide .message="${message}" .styleContext="${message.context.style}" .geometry="${slideGeometry}"></message-slide><iam-loader .needShowErrorScreen="${message.needShowErrorScreen}" .needShowLoaderScreen="${message.needShowLoaderScreen}" @reload="${this.handleReloadMessage}"></iam-loader></message-view-factory>`;
|
|
28001
|
+
return (0,external_lit_namespaceObject.html) `<message-view-factory type="${type}" @closed="${this.handleClosed}" .disableClose="${message.disableClose}" .appearanceOptions="${message.appearanceOptions}" .geometry="${messageGeometry}" .open="${this.open}" .dir="${this.dir}" .desktopMode="${this.desktopMode}" .touchController="${touchController}"><message-slide .message="${message}" .styleContext="${message.context.style}" .geometry="${slideGeometry}"></message-slide><iam-loader .needShowErrorScreen="${message.needShowErrorScreen}" .needShowLoaderScreen="${message.needShowLoaderScreen}" @reload="${this.handleReloadMessage}"></iam-loader></message-view-factory>`;
|
|
27948
28002
|
}
|
|
27949
28003
|
};
|
|
27950
28004
|
_InAppMessagingReader_options_accessor_storage = new WeakMap();
|