ps-toolkit-ui 1.13.64 → 1.13.66
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/bundles/ps-toolkit-ui.umd.js +4 -1
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/login/login.component.js +5 -2
- package/fesm2015/ps-toolkit-ui.js +4 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7507,6 +7507,9 @@
|
|
|
7507
7507
|
this.rulesModal = new ModalClass(this.config.environment, this.login.l, 'Rules', 'sm');
|
|
7508
7508
|
var rulesLabel = new InputClass(this.config.environment, this.login.l, 'RulesLabel', null, exports.InputType.Label, 'm-t-10', 'RulesLabel');
|
|
7509
7509
|
var rules = new InputClass(this.config.environment, this.login.l, 'Rules', null, exports.InputType.Label, 'w-80 m-r-10 m-t-10', this.login.rules);
|
|
7510
|
+
rulesLabel.onClick = function () {
|
|
7511
|
+
_this.rulesModal.show();
|
|
7512
|
+
};
|
|
7510
7513
|
this.rulesModal.form = new FormClass(this.config.environment, this.login.l, 'Rules');
|
|
7511
7514
|
this.rulesModal.form.inputs = [rules];
|
|
7512
7515
|
if (this.login.type === 'Sms') {
|
|
@@ -7527,7 +7530,7 @@
|
|
|
7527
7530
|
sendCodeForm_1.inputs = [
|
|
7528
7531
|
this.mobile,
|
|
7529
7532
|
sendCode
|
|
7530
|
-
].concat(this.login.rules != null ? [rulesLabel
|
|
7533
|
+
].concat(this.login.rules != null ? [rulesLabel] : []);
|
|
7531
7534
|
sendCode.onClick = function () {
|
|
7532
7535
|
sendCodeForm_1.submit();
|
|
7533
7536
|
};
|