ps-toolkit-ui 1.13.64 → 1.13.67
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 +8 -4
- 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/classes/string.class.js +3 -2
- package/esm2015/lib/components/login/login.component.js +7 -4
- package/fesm2015/ps-toolkit-ui.js +8 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/string.class.d.ts +1 -0
- package/package.json +1 -1
|
@@ -110,7 +110,8 @@
|
|
|
110
110
|
Register: 'ثبت کد تایید نرم افزار',
|
|
111
111
|
DeviceId: 'کد نرم افزار: {}',
|
|
112
112
|
Copy: 'کپی',
|
|
113
|
-
RulesLabel: 'ورود شما به معنای پذیرش <span class="c-p c-blue">شرایط و قوانین حریمخصوصی</span> است'
|
|
113
|
+
RulesLabel: 'ورود شما به معنای پذیرش <span class="c-p c-blue">شرایط و قوانین حریمخصوصی</span> است',
|
|
114
|
+
RulesTitle: 'شرایط و قوانین حریمخصوصی'
|
|
114
115
|
},
|
|
115
116
|
Footer: {
|
|
116
117
|
Copyright: 'تمامی حقوق این وبسایت برای پارت سیلیکون محفوظ است.',
|
|
@@ -7504,9 +7505,12 @@
|
|
|
7504
7505
|
}
|
|
7505
7506
|
LoginComponent.prototype.ngOnInit = function () {
|
|
7506
7507
|
var _this = this;
|
|
7507
|
-
this.rulesModal = new ModalClass(this.config.environment, this.login.l, '
|
|
7508
|
+
this.rulesModal = new ModalClass(this.config.environment, this.login.l, 'RulesTitle', 'sm');
|
|
7508
7509
|
var rulesLabel = new InputClass(this.config.environment, this.login.l, 'RulesLabel', null, exports.InputType.Label, 'm-t-10', 'RulesLabel');
|
|
7509
|
-
var rules = new InputClass(this.config.environment, this.login.l, '
|
|
7510
|
+
var rules = new InputClass(this.config.environment, this.login.l, 'RulesTitle', null, exports.InputType.Label, 'w-80 m-r-10 m-t-10', this.login.rules);
|
|
7511
|
+
rulesLabel.onClick = function () {
|
|
7512
|
+
_this.rulesModal.show();
|
|
7513
|
+
};
|
|
7510
7514
|
this.rulesModal.form = new FormClass(this.config.environment, this.login.l, 'Rules');
|
|
7511
7515
|
this.rulesModal.form.inputs = [rules];
|
|
7512
7516
|
if (this.login.type === 'Sms') {
|
|
@@ -7527,7 +7531,7 @@
|
|
|
7527
7531
|
sendCodeForm_1.inputs = [
|
|
7528
7532
|
this.mobile,
|
|
7529
7533
|
sendCode
|
|
7530
|
-
].concat(this.login.rules != null ? [rulesLabel
|
|
7534
|
+
].concat(this.login.rules != null ? [rulesLabel] : []);
|
|
7531
7535
|
sendCode.onClick = function () {
|
|
7532
7536
|
sendCodeForm_1.submit();
|
|
7533
7537
|
};
|