@vnejs/plugins.views.screens.disclaimer 0.2.5 → 0.2.7
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.
|
@@ -6,8 +6,8 @@ export class DisclaimerControllerAccept extends ModuleControllerAccept {
|
|
|
6
6
|
EVENT_ACCEPT = this.EVENTS.DISCLAIMER.ACCEPT;
|
|
7
7
|
CONTROLS_ZINDEX = this.PARAMS.DISCLAIMER.ZINDEX;
|
|
8
8
|
onAccept = async () => {
|
|
9
|
-
this.
|
|
9
|
+
this.emit(this.EVENTS.LOGS.EMIT, { action: this.CONST.DISCLAIMER.LOGS_ACTIONS.ACCEPT });
|
|
10
10
|
await this.emit(this.EVENTS.DISCLAIMER.HIDE);
|
|
11
|
-
this.
|
|
11
|
+
this.emit(this.EVENTS.SCENARIO.NEXT);
|
|
12
12
|
};
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ export class Disclaimer extends ModuleCore {
|
|
|
7
7
|
const [action = "", id = ""] = tokenizeExecLine(line).map(String);
|
|
8
8
|
if (action !== this.CONST.DISCLAIMER.EXEC_ACTIONS.SHOW)
|
|
9
9
|
return;
|
|
10
|
-
this.
|
|
10
|
+
this.emit(this.EVENTS.LOGS.EMIT, { action: this.CONST.DISCLAIMER.LOGS_ACTIONS.SHOW, id });
|
|
11
11
|
return this.emit(this.EVENTS.DISCLAIMER.SHOW, { id });
|
|
12
12
|
};
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -18,8 +18,8 @@ export class DisclaimerControllerAccept extends ModuleControllerAccept<
|
|
|
18
18
|
CONTROLS_ZINDEX = this.PARAMS.DISCLAIMER.ZINDEX;
|
|
19
19
|
|
|
20
20
|
onAccept = async () => {
|
|
21
|
-
this.
|
|
21
|
+
this.emit(this.EVENTS.LOGS.EMIT, { action: this.CONST.DISCLAIMER.LOGS_ACTIONS.ACCEPT });
|
|
22
22
|
await this.emit(this.EVENTS.DISCLAIMER.HIDE);
|
|
23
|
-
this.
|
|
23
|
+
this.emit(this.EVENTS.SCENARIO.NEXT);
|
|
24
24
|
};
|
|
25
25
|
}
|
|
@@ -16,7 +16,7 @@ export class Disclaimer extends ModuleCore<DisclaimerPluginEvents, DisclaimerPlu
|
|
|
16
16
|
|
|
17
17
|
if (action !== this.CONST.DISCLAIMER.EXEC_ACTIONS.SHOW) return;
|
|
18
18
|
|
|
19
|
-
this.
|
|
19
|
+
this.emit(this.EVENTS.LOGS.EMIT, { action: this.CONST.DISCLAIMER.LOGS_ACTIONS.SHOW, id });
|
|
20
20
|
|
|
21
21
|
return this.emit(this.EVENTS.DISCLAIMER.SHOW, { id } satisfies DisclaimerShowPayload);
|
|
22
22
|
};
|