@everymatrix/general-player-sms-verification-form 0.0.320 → 0.0.321
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.
|
@@ -4603,7 +4603,7 @@
|
|
|
4603
4603
|
const { Error: Error_1, Object: Object_1, console: console_1 } = globals;
|
|
4604
4604
|
const file = "src/GeneralPlayerSmsVerificationForm.svelte";
|
|
4605
4605
|
|
|
4606
|
-
// (
|
|
4606
|
+
// (88:4) {:else}
|
|
4607
4607
|
function create_else_block(ctx) {
|
|
4608
4608
|
let t_value = /*$_*/ ctx[3]('smsVerification.errorTitle') + "";
|
|
4609
4609
|
let t;
|
|
@@ -4627,14 +4627,14 @@
|
|
|
4627
4627
|
block,
|
|
4628
4628
|
id: create_else_block.name,
|
|
4629
4629
|
type: "else",
|
|
4630
|
-
source: "(
|
|
4630
|
+
source: "(88:4) {:else}",
|
|
4631
4631
|
ctx
|
|
4632
4632
|
});
|
|
4633
4633
|
|
|
4634
4634
|
return block;
|
|
4635
4635
|
}
|
|
4636
4636
|
|
|
4637
|
-
// (
|
|
4637
|
+
// (86:4) {#if isSmsValid}
|
|
4638
4638
|
function create_if_block_2(ctx) {
|
|
4639
4639
|
let t_value = /*$_*/ ctx[3]('smsVerification.title') + "";
|
|
4640
4640
|
let t;
|
|
@@ -4658,14 +4658,14 @@
|
|
|
4658
4658
|
block,
|
|
4659
4659
|
id: create_if_block_2.name,
|
|
4660
4660
|
type: "if",
|
|
4661
|
-
source: "(
|
|
4661
|
+
source: "(86:4) {#if isSmsValid}",
|
|
4662
4662
|
ctx
|
|
4663
4663
|
});
|
|
4664
4664
|
|
|
4665
4665
|
return block;
|
|
4666
4666
|
}
|
|
4667
4667
|
|
|
4668
|
-
// (
|
|
4668
|
+
// (99:4) {#if !isSmsValid}
|
|
4669
4669
|
function create_if_block_1(ctx) {
|
|
4670
4670
|
let p;
|
|
4671
4671
|
let t_value = /*$_*/ ctx[3]('smsVerification.smsCodeError') + "";
|
|
@@ -4677,7 +4677,7 @@
|
|
|
4677
4677
|
t = text(t_value);
|
|
4678
4678
|
attr_dev(p, "class", "InvalidInput");
|
|
4679
4679
|
attr_dev(p, "part", "InvalidInput");
|
|
4680
|
-
add_location(p, file,
|
|
4680
|
+
add_location(p, file, 99, 6, 3185);
|
|
4681
4681
|
},
|
|
4682
4682
|
m: function mount(target, anchor) {
|
|
4683
4683
|
insert_dev(target, p, anchor);
|
|
@@ -4695,14 +4695,14 @@
|
|
|
4695
4695
|
block,
|
|
4696
4696
|
id: create_if_block_1.name,
|
|
4697
4697
|
type: "if",
|
|
4698
|
-
source: "(
|
|
4698
|
+
source: "(99:4) {#if !isSmsValid}",
|
|
4699
4699
|
ctx
|
|
4700
4700
|
});
|
|
4701
4701
|
|
|
4702
4702
|
return block;
|
|
4703
4703
|
}
|
|
4704
4704
|
|
|
4705
|
-
// (
|
|
4705
|
+
// (112:2) {#if resend}
|
|
4706
4706
|
function create_if_block(ctx) {
|
|
4707
4707
|
let button;
|
|
4708
4708
|
let t_value = /*$_*/ ctx[3]('smsVerification.resend') + "";
|
|
@@ -4716,7 +4716,7 @@
|
|
|
4716
4716
|
t = text(t_value);
|
|
4717
4717
|
attr_dev(button, "class", "Button SmsVerificationResend");
|
|
4718
4718
|
attr_dev(button, "part", "SmsVerificationResend");
|
|
4719
|
-
add_location(button, file,
|
|
4719
|
+
add_location(button, file, 112, 4, 3477);
|
|
4720
4720
|
},
|
|
4721
4721
|
m: function mount(target, anchor) {
|
|
4722
4722
|
insert_dev(target, button, anchor);
|
|
@@ -4741,7 +4741,7 @@
|
|
|
4741
4741
|
block,
|
|
4742
4742
|
id: create_if_block.name,
|
|
4743
4743
|
type: "if",
|
|
4744
|
-
source: "(
|
|
4744
|
+
source: "(112:2) {#if resend}",
|
|
4745
4745
|
ctx
|
|
4746
4746
|
});
|
|
4747
4747
|
|
|
@@ -4805,24 +4805,24 @@
|
|
|
4805
4805
|
this.c = noop;
|
|
4806
4806
|
attr_dev(h3, "class", "Title");
|
|
4807
4807
|
attr_dev(h3, "part", "Title");
|
|
4808
|
-
add_location(h3, file,
|
|
4808
|
+
add_location(h3, file, 84, 2, 2660);
|
|
4809
4809
|
attr_dev(span, "class", "FormRequired");
|
|
4810
4810
|
attr_dev(span, "part", "FormRequired");
|
|
4811
|
-
add_location(span, file,
|
|
4811
|
+
add_location(span, file, 94, 35, 3025);
|
|
4812
4812
|
attr_dev(label, "for", "SmsCode");
|
|
4813
|
-
add_location(label, file,
|
|
4813
|
+
add_location(label, file, 93, 4, 2968);
|
|
4814
4814
|
attr_dev(input, "type", "number");
|
|
4815
4815
|
attr_dev(input, "id", "SmsCode");
|
|
4816
|
-
add_location(input, file,
|
|
4816
|
+
add_location(input, file, 96, 4, 3098);
|
|
4817
4817
|
attr_dev(div0, "class", div0_class_value = "Field SmsVerificationField " + (!/*isSmsValid*/ ctx[1] ? 'InvalidField' : ''));
|
|
4818
4818
|
attr_dev(div0, "part", div0_part_value = "SmsVerificationField " + (!/*isSmsValid*/ ctx[1] ? 'InvalidField' : ''));
|
|
4819
|
-
add_location(div0, file,
|
|
4819
|
+
add_location(div0, file, 92, 2, 2823);
|
|
4820
4820
|
attr_dev(button, "class", "Button SmsVerificationValidate");
|
|
4821
4821
|
attr_dev(button, "part", "SmsVerificationValidate");
|
|
4822
|
-
add_location(button, file,
|
|
4822
|
+
add_location(button, file, 104, 2, 3293);
|
|
4823
4823
|
attr_dev(div1, "class", "Container SmsVerificationContainer");
|
|
4824
4824
|
attr_dev(div1, "part", "SmsVerificationContainer");
|
|
4825
|
-
add_location(div1, file,
|
|
4825
|
+
add_location(div1, file, 83, 0, 2577);
|
|
4826
4826
|
},
|
|
4827
4827
|
l: function claim(nodes) {
|
|
4828
4828
|
throw new Error_1("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -4941,11 +4941,11 @@
|
|
|
4941
4941
|
component_subscribe($$self, Y, $$value => $$invalidate(3, $_ = $$value));
|
|
4942
4942
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
4943
4943
|
validate_slots('undefined', slots, []);
|
|
4944
|
-
let { endpoint } = $$props;
|
|
4945
|
-
let { tokenid } = $$props;
|
|
4946
|
-
let { playerid } = $$props;
|
|
4944
|
+
let { endpoint = '' } = $$props;
|
|
4945
|
+
let { tokenid = '' } = $$props;
|
|
4946
|
+
let { playerid = '' } = $$props;
|
|
4947
4947
|
let { smstemplate = 'Please use this code {0} to activate your accout' } = $$props;
|
|
4948
|
-
let { number } = $$props;
|
|
4948
|
+
let { number = '' } = $$props;
|
|
4949
4949
|
let smsCode;
|
|
4950
4950
|
let isSmsValid = true;
|
|
4951
4951
|
let resend = false;
|
|
@@ -5131,25 +5131,6 @@
|
|
|
5131
5131
|
null
|
|
5132
5132
|
);
|
|
5133
5133
|
|
|
5134
|
-
const { ctx } = this.$$;
|
|
5135
|
-
const props = this.attributes;
|
|
5136
|
-
|
|
5137
|
-
if (/*endpoint*/ ctx[7] === undefined && !('endpoint' in props)) {
|
|
5138
|
-
console_1.warn("<undefined> was created without expected prop 'endpoint'");
|
|
5139
|
-
}
|
|
5140
|
-
|
|
5141
|
-
if (/*tokenid*/ ctx[6] === undefined && !('tokenid' in props)) {
|
|
5142
|
-
console_1.warn("<undefined> was created without expected prop 'tokenid'");
|
|
5143
|
-
}
|
|
5144
|
-
|
|
5145
|
-
if (/*playerid*/ ctx[8] === undefined && !('playerid' in props)) {
|
|
5146
|
-
console_1.warn("<undefined> was created without expected prop 'playerid'");
|
|
5147
|
-
}
|
|
5148
|
-
|
|
5149
|
-
if (/*number*/ ctx[10] === undefined && !('number' in props)) {
|
|
5150
|
-
console_1.warn("<undefined> was created without expected prop 'number'");
|
|
5151
|
-
}
|
|
5152
|
-
|
|
5153
5134
|
if (options) {
|
|
5154
5135
|
if (options.target) {
|
|
5155
5136
|
insert_dev(options.target, this, options.anchor);
|