@sikka/hawa 0.1.91 → 0.1.92
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.d.mts +30 -6
- package/dist/index.d.ts +30 -6
- package/dist/index.js +398 -260
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +73 -24
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +31 -0
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +99 -51
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +13 -9
- package/src/elements/Button.tsx +10 -1
- package/src/elements/Icons.tsx +24 -0
- package/src/elements/Toaster.tsx +1 -3
- package/src/styles.css +31 -0
- package/src/tailwind.css +10 -0
- package/src/translations/ar.json +9 -0
- package/src/translations/en.json +9 -0
package/dist/index.js
CHANGED
|
@@ -854,7 +854,8 @@ var buttonVariants = _classvarianceauthority.cva.call(void 0, "inline-flex items
|
|
|
854
854
|
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
855
855
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
856
856
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
857
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
857
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
858
|
+
neoBrutalism: "cursor-pointer transition-all uppercase font-mono dark:bg-black font-bold py-2 px-4 rounded border-2 border-primary shadow-color-primary transition-[transform_50ms, box-shadow_50ms] active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
|
|
858
859
|
},
|
|
859
860
|
size: {
|
|
860
861
|
default: "h-10 px-4 py-2",
|
|
@@ -882,6 +883,7 @@ var Button = React16.forwardRef(function(_param, ref) {
|
|
|
882
883
|
"children"
|
|
883
884
|
]);
|
|
884
885
|
var Comp = "button";
|
|
886
|
+
var loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "bg-primary" : "bg-primary-foreground";
|
|
885
887
|
return /* @__PURE__ */ React16.createElement(Comp, _object_spread({
|
|
886
888
|
className: cn(buttonVariants({
|
|
887
889
|
variant: variant,
|
|
@@ -891,7 +893,7 @@ var Button = React16.forwardRef(function(_param, ref) {
|
|
|
891
893
|
ref: ref
|
|
892
894
|
}, props), isLoading ? /* @__PURE__ */ React16.createElement(HawaLoading, {
|
|
893
895
|
design: "dots-pulse",
|
|
894
|
-
color:
|
|
896
|
+
color: loadingColor,
|
|
895
897
|
size: "button"
|
|
896
898
|
}) : children);
|
|
897
899
|
});
|
|
@@ -7377,7 +7379,7 @@ function Toaster(props) {
|
|
|
7377
7379
|
direction: props.direction,
|
|
7378
7380
|
key: id
|
|
7379
7381
|
}, toastProps), /* @__PURE__ */ React6.default.createElement("div", {
|
|
7380
|
-
className:
|
|
7382
|
+
className: "grid gap-1 text-start"
|
|
7381
7383
|
}, title && /* @__PURE__ */ React6.default.createElement(ToastTitle, null, title), description && /* @__PURE__ */ React6.default.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ React6.default.createElement(ToastClose, null));
|
|
7382
7384
|
}), /* @__PURE__ */ React6.default.createElement(ToastViewport, {
|
|
7383
7385
|
className: cn("gap-2", isRTL && "fixed left-0")
|
|
@@ -9090,6 +9092,22 @@ var Icons = {
|
|
|
9090
9092
|
points: "22,6 12,13 2,6"
|
|
9091
9093
|
}));
|
|
9092
9094
|
},
|
|
9095
|
+
phone: function(props) {
|
|
9096
|
+
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9097
|
+
stroke: "currentColor",
|
|
9098
|
+
fill: "none",
|
|
9099
|
+
"stroke-width": "2",
|
|
9100
|
+
viewBox: "0 0 24 24",
|
|
9101
|
+
"aria-hidden": "true",
|
|
9102
|
+
height: "1em",
|
|
9103
|
+
width: "1em",
|
|
9104
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9105
|
+
}, props), /* @__PURE__ */ React.createElement("path", {
|
|
9106
|
+
"stroke-linecap": "round",
|
|
9107
|
+
"stroke-linejoin": "round",
|
|
9108
|
+
d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
|
|
9109
|
+
}));
|
|
9110
|
+
},
|
|
9093
9111
|
twitter: function(props) {
|
|
9094
9112
|
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9095
9113
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9099,6 +9117,14 @@ var Icons = {
|
|
|
9099
9117
|
d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
|
|
9100
9118
|
}));
|
|
9101
9119
|
},
|
|
9120
|
+
microsoft: function(props) {
|
|
9121
|
+
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9122
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9123
|
+
viewBox: "0 0 20 20"
|
|
9124
|
+
}, props), /* @__PURE__ */ React.createElement("path", {
|
|
9125
|
+
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
9126
|
+
}));
|
|
9127
|
+
},
|
|
9102
9128
|
gitHub: function(props) {
|
|
9103
9129
|
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9104
9130
|
viewBox: "0 0 438.549 438.549"
|
|
@@ -9216,30 +9242,138 @@ var Icons = {
|
|
|
9216
9242
|
};
|
|
9217
9243
|
// src/blocks/AuthForms/AppLanding.tsx
|
|
9218
9244
|
var AppLanding = function(props) {
|
|
9219
|
-
return /* @__PURE__ */ React6.default.createElement("div",
|
|
9245
|
+
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
9246
|
+
dir: props.direction
|
|
9247
|
+
}, /* @__PURE__ */ React6.default.createElement(Card, null, /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
9220
9248
|
headless: true,
|
|
9221
9249
|
className: "flex flex-col gap-6"
|
|
9222
|
-
}, /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9250
|
+
}, props.viaGoogle && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9223
9251
|
className: "flex flex-row items-center gap-2",
|
|
9224
|
-
variant: "outline"
|
|
9252
|
+
variant: "outline",
|
|
9253
|
+
onClick: props.handleGoogle
|
|
9225
9254
|
}, /* @__PURE__ */ React6.default.createElement(Icons.google, {
|
|
9226
9255
|
className: "h-4 w-4"
|
|
9227
|
-
}),
|
|
9256
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9257
|
+
props,
|
|
9258
|
+
"access",
|
|
9259
|
+
function(_184) {
|
|
9260
|
+
return _184.texts;
|
|
9261
|
+
},
|
|
9262
|
+
"optionalAccess",
|
|
9263
|
+
function(_185) {
|
|
9264
|
+
return _185.continueWithGoogle;
|
|
9265
|
+
}
|
|
9266
|
+
]), function() {
|
|
9267
|
+
return "Continue With Google";
|
|
9268
|
+
})), props.viaGithub && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9228
9269
|
className: "flex flex-row items-center gap-2",
|
|
9229
|
-
variant: "outline"
|
|
9270
|
+
variant: "outline",
|
|
9271
|
+
onClick: props.handleGithub
|
|
9272
|
+
}, /* @__PURE__ */ React6.default.createElement(Icons.gitHub, {
|
|
9273
|
+
className: "h-4 w-4"
|
|
9274
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9275
|
+
props,
|
|
9276
|
+
"access",
|
|
9277
|
+
function(_186) {
|
|
9278
|
+
return _186.texts;
|
|
9279
|
+
},
|
|
9280
|
+
"optionalAccess",
|
|
9281
|
+
function(_187) {
|
|
9282
|
+
return _187.continueWithGithub;
|
|
9283
|
+
}
|
|
9284
|
+
]), function() {
|
|
9285
|
+
return "Continue With Github";
|
|
9286
|
+
})), props.viaTwitter && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9287
|
+
className: "flex flex-row items-center gap-2",
|
|
9288
|
+
variant: "outline",
|
|
9289
|
+
onClick: props.handleTwitter
|
|
9230
9290
|
}, /* @__PURE__ */ React6.default.createElement(Icons.twitter, {
|
|
9231
9291
|
className: "h-4 w-4"
|
|
9232
|
-
}),
|
|
9292
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9293
|
+
props,
|
|
9294
|
+
"access",
|
|
9295
|
+
function(_188) {
|
|
9296
|
+
return _188.texts;
|
|
9297
|
+
},
|
|
9298
|
+
"optionalAccess",
|
|
9299
|
+
function(_189) {
|
|
9300
|
+
return _189.continueWithTwitter;
|
|
9301
|
+
}
|
|
9302
|
+
]), function() {
|
|
9303
|
+
return "Continue With Twitter";
|
|
9304
|
+
})), props.viaApple && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9233
9305
|
className: "flex flex-row items-center gap-2",
|
|
9234
|
-
variant: "outline"
|
|
9306
|
+
variant: "outline",
|
|
9307
|
+
onClick: props.handleApple
|
|
9235
9308
|
}, /* @__PURE__ */ React6.default.createElement(Icons.apple, {
|
|
9236
9309
|
className: "h-4 w-4"
|
|
9237
|
-
}),
|
|
9310
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9311
|
+
props,
|
|
9312
|
+
"access",
|
|
9313
|
+
function(_190) {
|
|
9314
|
+
return _190.texts;
|
|
9315
|
+
},
|
|
9316
|
+
"optionalAccess",
|
|
9317
|
+
function(_191) {
|
|
9318
|
+
return _191.continueWithApple;
|
|
9319
|
+
}
|
|
9320
|
+
]), function() {
|
|
9321
|
+
return "Continue With Apple";
|
|
9322
|
+
})), props.viaMicrosoft && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9238
9323
|
className: "flex flex-row items-center gap-2",
|
|
9239
|
-
variant: "outline"
|
|
9324
|
+
variant: "outline",
|
|
9325
|
+
onClick: props.handleMicrosoft
|
|
9326
|
+
}, /* @__PURE__ */ React6.default.createElement(Icons.microsoft, {
|
|
9327
|
+
className: "h-4 w-4"
|
|
9328
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9329
|
+
props,
|
|
9330
|
+
"access",
|
|
9331
|
+
function(_192) {
|
|
9332
|
+
return _192.texts;
|
|
9333
|
+
},
|
|
9334
|
+
"optionalAccess",
|
|
9335
|
+
function(_193) {
|
|
9336
|
+
return _193.continueWithMicrosoft;
|
|
9337
|
+
}
|
|
9338
|
+
]), function() {
|
|
9339
|
+
return "Continue With Microsoft";
|
|
9340
|
+
})), props.viaEmail && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9341
|
+
className: "flex flex-row items-center gap-2",
|
|
9342
|
+
variant: "outline",
|
|
9343
|
+
onClick: props.handleEmail
|
|
9240
9344
|
}, /* @__PURE__ */ React6.default.createElement(Icons.mail, {
|
|
9241
9345
|
className: "h-4 w-4"
|
|
9242
|
-
}),
|
|
9346
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9347
|
+
props,
|
|
9348
|
+
"access",
|
|
9349
|
+
function(_194) {
|
|
9350
|
+
return _194.texts;
|
|
9351
|
+
},
|
|
9352
|
+
"optionalAccess",
|
|
9353
|
+
function(_195) {
|
|
9354
|
+
return _195.continueWithEmail;
|
|
9355
|
+
}
|
|
9356
|
+
]), function() {
|
|
9357
|
+
return "Continue With Email";
|
|
9358
|
+
})), props.viaPhone && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9359
|
+
className: "flex flex-row items-center gap-2",
|
|
9360
|
+
variant: "outline",
|
|
9361
|
+
onClick: props.handlePhone
|
|
9362
|
+
}, /* @__PURE__ */ React6.default.createElement(Icons.phone, {
|
|
9363
|
+
className: "h-4 w-4"
|
|
9364
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9365
|
+
props,
|
|
9366
|
+
"access",
|
|
9367
|
+
function(_196) {
|
|
9368
|
+
return _196.texts;
|
|
9369
|
+
},
|
|
9370
|
+
"optionalAccess",
|
|
9371
|
+
function(_197) {
|
|
9372
|
+
return _197.continueWithPhone;
|
|
9373
|
+
}
|
|
9374
|
+
]), function() {
|
|
9375
|
+
return "Continue With Phone";
|
|
9376
|
+
})), !props.withoutSignUp && /* @__PURE__ */ React6.default.createElement("div", {
|
|
9243
9377
|
className: "p-3 text-center text-sm font-normal dark:text-gray-300"
|
|
9244
9378
|
}, props.texts.newUserText, " ", /* @__PURE__ */ React6.default.createElement("span", {
|
|
9245
9379
|
onClick: props.handleRouteToSignUp,
|
|
@@ -9367,12 +9501,12 @@ var SignInForm = function(props) {
|
|
|
9367
9501
|
helpertext: _optionalChain([
|
|
9368
9502
|
errors,
|
|
9369
9503
|
"access",
|
|
9370
|
-
function(
|
|
9371
|
-
return
|
|
9504
|
+
function(_198) {
|
|
9505
|
+
return _198.email;
|
|
9372
9506
|
},
|
|
9373
9507
|
"optionalAccess",
|
|
9374
|
-
function(
|
|
9375
|
-
return
|
|
9508
|
+
function(_199) {
|
|
9509
|
+
return _199.message;
|
|
9376
9510
|
}
|
|
9377
9511
|
]),
|
|
9378
9512
|
placeholder: props.texts.emailPlaceholder,
|
|
@@ -9402,12 +9536,12 @@ var SignInForm = function(props) {
|
|
|
9402
9536
|
helpertext: _optionalChain([
|
|
9403
9537
|
errors,
|
|
9404
9538
|
"access",
|
|
9405
|
-
function(
|
|
9406
|
-
return
|
|
9539
|
+
function(_200) {
|
|
9540
|
+
return _200.username;
|
|
9407
9541
|
},
|
|
9408
9542
|
"optionalAccess",
|
|
9409
|
-
function(
|
|
9410
|
-
return
|
|
9543
|
+
function(_201) {
|
|
9544
|
+
return _201.message;
|
|
9411
9545
|
}
|
|
9412
9546
|
]),
|
|
9413
9547
|
placeholder: props.texts.usernamePlaceholder,
|
|
@@ -9446,12 +9580,12 @@ var SignInForm = function(props) {
|
|
|
9446
9580
|
helpertext: _optionalChain([
|
|
9447
9581
|
errors,
|
|
9448
9582
|
"access",
|
|
9449
|
-
function(
|
|
9450
|
-
return
|
|
9583
|
+
function(_202) {
|
|
9584
|
+
return _202.password;
|
|
9451
9585
|
},
|
|
9452
9586
|
"optionalAccess",
|
|
9453
|
-
function(
|
|
9454
|
-
return
|
|
9587
|
+
function(_203) {
|
|
9588
|
+
return _203.message;
|
|
9455
9589
|
}
|
|
9456
9590
|
]),
|
|
9457
9591
|
onChange: field.onChange,
|
|
@@ -9583,12 +9717,12 @@ var SignUpForm = function(props) {
|
|
|
9583
9717
|
helpertext: _optionalChain([
|
|
9584
9718
|
errors,
|
|
9585
9719
|
"access",
|
|
9586
|
-
function(
|
|
9587
|
-
return
|
|
9720
|
+
function(_204) {
|
|
9721
|
+
return _204.fullName;
|
|
9588
9722
|
},
|
|
9589
9723
|
"optionalAccess",
|
|
9590
|
-
function(
|
|
9591
|
-
return
|
|
9724
|
+
function(_205) {
|
|
9725
|
+
return _205.message;
|
|
9592
9726
|
}
|
|
9593
9727
|
]),
|
|
9594
9728
|
onChange: field.onChange,
|
|
@@ -9617,12 +9751,12 @@ var SignUpForm = function(props) {
|
|
|
9617
9751
|
helpertext: _optionalChain([
|
|
9618
9752
|
errors,
|
|
9619
9753
|
"access",
|
|
9620
|
-
function(
|
|
9621
|
-
return
|
|
9754
|
+
function(_206) {
|
|
9755
|
+
return _206.email;
|
|
9622
9756
|
},
|
|
9623
9757
|
"optionalAccess",
|
|
9624
|
-
function(
|
|
9625
|
-
return
|
|
9758
|
+
function(_207) {
|
|
9759
|
+
return _207.message;
|
|
9626
9760
|
}
|
|
9627
9761
|
]),
|
|
9628
9762
|
placeholder: props.texts.emailPlaceholder,
|
|
@@ -9656,12 +9790,12 @@ var SignUpForm = function(props) {
|
|
|
9656
9790
|
helpertext: _optionalChain([
|
|
9657
9791
|
errors,
|
|
9658
9792
|
"access",
|
|
9659
|
-
function(
|
|
9660
|
-
return
|
|
9793
|
+
function(_208) {
|
|
9794
|
+
return _208.username;
|
|
9661
9795
|
},
|
|
9662
9796
|
"optionalAccess",
|
|
9663
|
-
function(
|
|
9664
|
-
return
|
|
9797
|
+
function(_209) {
|
|
9798
|
+
return _209.message;
|
|
9665
9799
|
}
|
|
9666
9800
|
]),
|
|
9667
9801
|
placeholder: props.texts.usernamePlaceholder,
|
|
@@ -9690,12 +9824,12 @@ var SignUpForm = function(props) {
|
|
|
9690
9824
|
helpertext: _optionalChain([
|
|
9691
9825
|
errors,
|
|
9692
9826
|
"access",
|
|
9693
|
-
function(
|
|
9694
|
-
return
|
|
9827
|
+
function(_210) {
|
|
9828
|
+
return _210.password;
|
|
9695
9829
|
},
|
|
9696
9830
|
"optionalAccess",
|
|
9697
|
-
function(
|
|
9698
|
-
return
|
|
9831
|
+
function(_211) {
|
|
9832
|
+
return _211.message;
|
|
9699
9833
|
}
|
|
9700
9834
|
]),
|
|
9701
9835
|
onChange: field.onChange,
|
|
@@ -9721,12 +9855,12 @@ var SignUpForm = function(props) {
|
|
|
9721
9855
|
helpertext: _optionalChain([
|
|
9722
9856
|
errors,
|
|
9723
9857
|
"access",
|
|
9724
|
-
function(
|
|
9725
|
-
return
|
|
9858
|
+
function(_212) {
|
|
9859
|
+
return _212.confirm_password;
|
|
9726
9860
|
},
|
|
9727
9861
|
"optionalAccess",
|
|
9728
|
-
function(
|
|
9729
|
-
return
|
|
9862
|
+
function(_213) {
|
|
9863
|
+
return _213.message;
|
|
9730
9864
|
}
|
|
9731
9865
|
]),
|
|
9732
9866
|
onChange: field.onChange,
|
|
@@ -9751,12 +9885,12 @@ var SignUpForm = function(props) {
|
|
|
9751
9885
|
helpertext: _optionalChain([
|
|
9752
9886
|
errors,
|
|
9753
9887
|
"access",
|
|
9754
|
-
function(
|
|
9755
|
-
return
|
|
9888
|
+
function(_214) {
|
|
9889
|
+
return _214.password;
|
|
9756
9890
|
},
|
|
9757
9891
|
"optionalAccess",
|
|
9758
|
-
function(
|
|
9759
|
-
return
|
|
9892
|
+
function(_215) {
|
|
9893
|
+
return _215.message;
|
|
9760
9894
|
}
|
|
9761
9895
|
]),
|
|
9762
9896
|
value: _nullishCoalesce(field.value, function() {
|
|
@@ -9805,12 +9939,12 @@ var SignUpForm = function(props) {
|
|
|
9805
9939
|
helperText: _optionalChain([
|
|
9806
9940
|
errors,
|
|
9807
9941
|
"access",
|
|
9808
|
-
function(
|
|
9809
|
-
return
|
|
9942
|
+
function(_216) {
|
|
9943
|
+
return _216.terms_accepted;
|
|
9810
9944
|
},
|
|
9811
9945
|
"optionalAccess",
|
|
9812
|
-
function(
|
|
9813
|
-
return
|
|
9946
|
+
function(_217) {
|
|
9947
|
+
return _217.message;
|
|
9814
9948
|
}
|
|
9815
9949
|
]),
|
|
9816
9950
|
onChange: function(e) {
|
|
@@ -9906,12 +10040,12 @@ var NewPasswordForm = function(props) {
|
|
|
9906
10040
|
helpertext: _optionalChain([
|
|
9907
10041
|
errors,
|
|
9908
10042
|
"access",
|
|
9909
|
-
function(
|
|
9910
|
-
return
|
|
10043
|
+
function(_218) {
|
|
10044
|
+
return _218.password;
|
|
9911
10045
|
},
|
|
9912
10046
|
"optionalAccess",
|
|
9913
|
-
function(
|
|
9914
|
-
return
|
|
10047
|
+
function(_219) {
|
|
10048
|
+
return _219.message;
|
|
9915
10049
|
}
|
|
9916
10050
|
])
|
|
9917
10051
|
}, field), {
|
|
@@ -9937,12 +10071,12 @@ var NewPasswordForm = function(props) {
|
|
|
9937
10071
|
helpertext: _optionalChain([
|
|
9938
10072
|
errors,
|
|
9939
10073
|
"access",
|
|
9940
|
-
function(
|
|
9941
|
-
return
|
|
10074
|
+
function(_220) {
|
|
10075
|
+
return _220.confirmPassword;
|
|
9942
10076
|
},
|
|
9943
10077
|
"optionalAccess",
|
|
9944
|
-
function(
|
|
9945
|
-
return
|
|
10078
|
+
function(_221) {
|
|
10079
|
+
return _221.message;
|
|
9946
10080
|
}
|
|
9947
10081
|
])
|
|
9948
10082
|
}, field), {
|
|
@@ -9963,9 +10097,13 @@ var NewPasswordForm = function(props) {
|
|
|
9963
10097
|
var ResetPasswordForm = function(props) {
|
|
9964
10098
|
var methods = _reacthookform.useForm.call(void 0);
|
|
9965
10099
|
var errors = methods.formState.errors, handleSubmit = methods.handleSubmit, register = methods.register, control = methods.control;
|
|
9966
|
-
return /* @__PURE__ */ React6.default.createElement(Card,
|
|
10100
|
+
return /* @__PURE__ */ React6.default.createElement(Card, {
|
|
10101
|
+
dir: props.direction
|
|
10102
|
+
}, !props.sent ? /* @__PURE__ */ React6.default.createElement(React6.default.Fragment, null, !props.headless && /* @__PURE__ */ React6.default.createElement(CardHeader, null, /* @__PURE__ */ React6.default.createElement(CardTitle, null, "Reset Password"), /* @__PURE__ */ React6.default.createElement(CardDescription, null, "Enter your email to reset your account password")), /* @__PURE__ */ React6.default.createElement("form", {
|
|
9967
10103
|
onSubmit: handleSubmit(props.handleResetPassword)
|
|
9968
|
-
}, /* @__PURE__ */ React6.default.createElement(CardContent,
|
|
10104
|
+
}, /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
10105
|
+
headless: props.headless
|
|
10106
|
+
}, /* @__PURE__ */ React6.default.createElement(_reacthookform.Controller, {
|
|
9969
10107
|
control: control,
|
|
9970
10108
|
name: "email",
|
|
9971
10109
|
render: function(param) {
|
|
@@ -9976,34 +10114,34 @@ var ResetPasswordForm = function(props) {
|
|
|
9976
10114
|
label: _optionalChain([
|
|
9977
10115
|
props,
|
|
9978
10116
|
"access",
|
|
9979
|
-
function(
|
|
9980
|
-
return
|
|
10117
|
+
function(_222) {
|
|
10118
|
+
return _222.texts;
|
|
9981
10119
|
},
|
|
9982
10120
|
"optionalAccess",
|
|
9983
|
-
function(
|
|
9984
|
-
return
|
|
10121
|
+
function(_223) {
|
|
10122
|
+
return _223.emailLabel;
|
|
9985
10123
|
}
|
|
9986
10124
|
]),
|
|
9987
10125
|
helpertext: _optionalChain([
|
|
9988
10126
|
errors,
|
|
9989
10127
|
"access",
|
|
9990
|
-
function(
|
|
9991
|
-
return
|
|
10128
|
+
function(_224) {
|
|
10129
|
+
return _224.email;
|
|
9992
10130
|
},
|
|
9993
10131
|
"optionalAccess",
|
|
9994
|
-
function(
|
|
9995
|
-
return
|
|
10132
|
+
function(_225) {
|
|
10133
|
+
return _225.message;
|
|
9996
10134
|
}
|
|
9997
10135
|
]),
|
|
9998
10136
|
placeholder: _optionalChain([
|
|
9999
10137
|
props,
|
|
10000
10138
|
"access",
|
|
10001
|
-
function(
|
|
10002
|
-
return
|
|
10139
|
+
function(_226) {
|
|
10140
|
+
return _226.texts;
|
|
10003
10141
|
},
|
|
10004
10142
|
"optionalAccess",
|
|
10005
|
-
function(
|
|
10006
|
-
return
|
|
10143
|
+
function(_227) {
|
|
10144
|
+
return _227.emailPlaceholder;
|
|
10007
10145
|
}
|
|
10008
10146
|
])
|
|
10009
10147
|
}, field), {
|
|
@@ -10016,12 +10154,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10016
10154
|
required: _optionalChain([
|
|
10017
10155
|
props,
|
|
10018
10156
|
"access",
|
|
10019
|
-
function(
|
|
10020
|
-
return
|
|
10157
|
+
function(_228) {
|
|
10158
|
+
return _228.texts;
|
|
10021
10159
|
},
|
|
10022
10160
|
"optionalAccess",
|
|
10023
|
-
function(
|
|
10024
|
-
return
|
|
10161
|
+
function(_229) {
|
|
10162
|
+
return _229.emailRequiredText;
|
|
10025
10163
|
}
|
|
10026
10164
|
]),
|
|
10027
10165
|
pattern: {
|
|
@@ -10029,27 +10167,27 @@ var ResetPasswordForm = function(props) {
|
|
|
10029
10167
|
message: _optionalChain([
|
|
10030
10168
|
props,
|
|
10031
10169
|
"access",
|
|
10032
|
-
function(
|
|
10033
|
-
return
|
|
10170
|
+
function(_230) {
|
|
10171
|
+
return _230.texts;
|
|
10034
10172
|
},
|
|
10035
10173
|
"optionalAccess",
|
|
10036
|
-
function(
|
|
10037
|
-
return
|
|
10174
|
+
function(_231) {
|
|
10175
|
+
return _231.emailInvalidText;
|
|
10038
10176
|
}
|
|
10039
10177
|
])
|
|
10040
10178
|
}
|
|
10041
10179
|
}
|
|
10042
10180
|
}), /* @__PURE__ */ React6.default.createElement("div", {
|
|
10043
|
-
className: "
|
|
10181
|
+
className: "pb-2 text-start text-sm dark:text-gray-300"
|
|
10044
10182
|
}, _nullishCoalesce(_optionalChain([
|
|
10045
10183
|
props,
|
|
10046
10184
|
"access",
|
|
10047
|
-
function(
|
|
10048
|
-
return
|
|
10185
|
+
function(_232) {
|
|
10186
|
+
return _232.texts;
|
|
10049
10187
|
},
|
|
10050
10188
|
"optionalAccess",
|
|
10051
|
-
function(
|
|
10052
|
-
return
|
|
10189
|
+
function(_233) {
|
|
10190
|
+
return _233.dontHaveAccount;
|
|
10053
10191
|
}
|
|
10054
10192
|
]), function() {
|
|
10055
10193
|
return "Don't have an account? ";
|
|
@@ -10059,12 +10197,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10059
10197
|
}, _nullishCoalesce(_optionalChain([
|
|
10060
10198
|
props,
|
|
10061
10199
|
"access",
|
|
10062
|
-
function(
|
|
10063
|
-
return
|
|
10200
|
+
function(_234) {
|
|
10201
|
+
return _234.texts;
|
|
10064
10202
|
},
|
|
10065
10203
|
"optionalAccess",
|
|
10066
|
-
function(
|
|
10067
|
-
return
|
|
10204
|
+
function(_235) {
|
|
10205
|
+
return _235.signUpText;
|
|
10068
10206
|
}
|
|
10069
10207
|
]), function() {
|
|
10070
10208
|
return "Sign Up";
|
|
@@ -10074,12 +10212,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10074
10212
|
}, _optionalChain([
|
|
10075
10213
|
props,
|
|
10076
10214
|
"access",
|
|
10077
|
-
function(
|
|
10078
|
-
return
|
|
10215
|
+
function(_236) {
|
|
10216
|
+
return _236.texts;
|
|
10079
10217
|
},
|
|
10080
10218
|
"optionalAccess",
|
|
10081
|
-
function(
|
|
10082
|
-
return
|
|
10219
|
+
function(_237) {
|
|
10220
|
+
return _237.resetPassword;
|
|
10083
10221
|
}
|
|
10084
10222
|
]))))) : /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
10085
10223
|
headless: true
|
|
@@ -10088,12 +10226,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10088
10226
|
}, _optionalChain([
|
|
10089
10227
|
props,
|
|
10090
10228
|
"access",
|
|
10091
|
-
function(
|
|
10092
|
-
return
|
|
10229
|
+
function(_238) {
|
|
10230
|
+
return _238.texts;
|
|
10093
10231
|
},
|
|
10094
10232
|
"optionalAccess",
|
|
10095
|
-
function(
|
|
10096
|
-
return
|
|
10233
|
+
function(_239) {
|
|
10234
|
+
return _239.emailSentText;
|
|
10097
10235
|
}
|
|
10098
10236
|
]))));
|
|
10099
10237
|
};
|
|
@@ -10175,8 +10313,8 @@ var CheckEmail = function(param) {
|
|
|
10175
10313
|
}, _nullishCoalesce(_optionalChain([
|
|
10176
10314
|
texts,
|
|
10177
10315
|
"optionalAccess",
|
|
10178
|
-
function(
|
|
10179
|
-
return
|
|
10316
|
+
function(_240) {
|
|
10317
|
+
return _240.checkEmail;
|
|
10180
10318
|
}
|
|
10181
10319
|
]), function() {
|
|
10182
10320
|
return "Check you email";
|
|
@@ -10185,8 +10323,8 @@ var CheckEmail = function(param) {
|
|
|
10185
10323
|
}, _nullishCoalesce(_optionalChain([
|
|
10186
10324
|
texts,
|
|
10187
10325
|
"optionalAccess",
|
|
10188
|
-
function(
|
|
10189
|
-
return
|
|
10326
|
+
function(_241) {
|
|
10327
|
+
return _241.pleaseVerify;
|
|
10190
10328
|
}
|
|
10191
10329
|
]), function() {
|
|
10192
10330
|
return "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account.";
|
|
@@ -10198,8 +10336,8 @@ var CheckEmail = function(param) {
|
|
|
10198
10336
|
}, _nullishCoalesce(_optionalChain([
|
|
10199
10337
|
texts,
|
|
10200
10338
|
"optionalAccess",
|
|
10201
|
-
function(
|
|
10202
|
-
return
|
|
10339
|
+
function(_242) {
|
|
10340
|
+
return _242.resendEmail;
|
|
10203
10341
|
}
|
|
10204
10342
|
]), function() {
|
|
10205
10343
|
return "Resend Email";
|
|
@@ -10325,12 +10463,12 @@ var CreditCardForm = function(props) {
|
|
|
10325
10463
|
helpertext: _optionalChain([
|
|
10326
10464
|
errors,
|
|
10327
10465
|
"access",
|
|
10328
|
-
function(
|
|
10329
|
-
return
|
|
10466
|
+
function(_243) {
|
|
10467
|
+
return _243.password;
|
|
10330
10468
|
},
|
|
10331
10469
|
"optionalAccess",
|
|
10332
|
-
function(
|
|
10333
|
-
return
|
|
10470
|
+
function(_244) {
|
|
10471
|
+
return _244.message;
|
|
10334
10472
|
}
|
|
10335
10473
|
])
|
|
10336
10474
|
});
|
|
@@ -10356,12 +10494,12 @@ var CreditCardForm = function(props) {
|
|
|
10356
10494
|
helpertext: _optionalChain([
|
|
10357
10495
|
errors,
|
|
10358
10496
|
"access",
|
|
10359
|
-
function(
|
|
10360
|
-
return
|
|
10497
|
+
function(_245) {
|
|
10498
|
+
return _245.password;
|
|
10361
10499
|
},
|
|
10362
10500
|
"optionalAccess",
|
|
10363
|
-
function(
|
|
10364
|
-
return
|
|
10501
|
+
function(_246) {
|
|
10502
|
+
return _246.message;
|
|
10365
10503
|
}
|
|
10366
10504
|
])
|
|
10367
10505
|
});
|
|
@@ -10383,12 +10521,12 @@ var CreditCardForm = function(props) {
|
|
|
10383
10521
|
helpertext: _optionalChain([
|
|
10384
10522
|
errors,
|
|
10385
10523
|
"access",
|
|
10386
|
-
function(
|
|
10387
|
-
return
|
|
10524
|
+
function(_247) {
|
|
10525
|
+
return _247.password;
|
|
10388
10526
|
},
|
|
10389
10527
|
"optionalAccess",
|
|
10390
|
-
function(
|
|
10391
|
-
return
|
|
10528
|
+
function(_248) {
|
|
10529
|
+
return _248.message;
|
|
10392
10530
|
}
|
|
10393
10531
|
])
|
|
10394
10532
|
});
|
|
@@ -10409,12 +10547,12 @@ var CreditCardForm = function(props) {
|
|
|
10409
10547
|
helpertext: _optionalChain([
|
|
10410
10548
|
errors,
|
|
10411
10549
|
"access",
|
|
10412
|
-
function(
|
|
10413
|
-
return
|
|
10550
|
+
function(_249) {
|
|
10551
|
+
return _249.password;
|
|
10414
10552
|
},
|
|
10415
10553
|
"optionalAccess",
|
|
10416
|
-
function(
|
|
10417
|
-
return
|
|
10554
|
+
function(_250) {
|
|
10555
|
+
return _250.message;
|
|
10418
10556
|
}
|
|
10419
10557
|
])
|
|
10420
10558
|
});
|
|
@@ -10521,12 +10659,12 @@ var CheckoutForm = function(props) {
|
|
|
10521
10659
|
required: _optionalChain([
|
|
10522
10660
|
props,
|
|
10523
10661
|
"access",
|
|
10524
|
-
function(
|
|
10525
|
-
return
|
|
10662
|
+
function(_251) {
|
|
10663
|
+
return _251.texts;
|
|
10526
10664
|
},
|
|
10527
10665
|
"optionalAccess",
|
|
10528
|
-
function(
|
|
10529
|
-
return
|
|
10666
|
+
function(_252) {
|
|
10667
|
+
return _252.required;
|
|
10530
10668
|
}
|
|
10531
10669
|
])
|
|
10532
10670
|
},
|
|
@@ -10537,23 +10675,23 @@ var CheckoutForm = function(props) {
|
|
|
10537
10675
|
label: _optionalChain([
|
|
10538
10676
|
props,
|
|
10539
10677
|
"access",
|
|
10540
|
-
function(
|
|
10541
|
-
return
|
|
10678
|
+
function(_253) {
|
|
10679
|
+
return _253.texts;
|
|
10542
10680
|
},
|
|
10543
10681
|
"optionalAccess",
|
|
10544
|
-
function(
|
|
10545
|
-
return
|
|
10682
|
+
function(_254) {
|
|
10683
|
+
return _254.firstNameLabel;
|
|
10546
10684
|
}
|
|
10547
10685
|
]) + " *",
|
|
10548
10686
|
helpertext: _optionalChain([
|
|
10549
10687
|
errors,
|
|
10550
10688
|
"access",
|
|
10551
|
-
function(
|
|
10552
|
-
return
|
|
10689
|
+
function(_255) {
|
|
10690
|
+
return _255.firstName;
|
|
10553
10691
|
},
|
|
10554
10692
|
"optionalAccess",
|
|
10555
|
-
function(
|
|
10556
|
-
return
|
|
10693
|
+
function(_256) {
|
|
10694
|
+
return _256.message;
|
|
10557
10695
|
}
|
|
10558
10696
|
])
|
|
10559
10697
|
}, field), {
|
|
@@ -10573,12 +10711,12 @@ var CheckoutForm = function(props) {
|
|
|
10573
10711
|
required: _optionalChain([
|
|
10574
10712
|
props,
|
|
10575
10713
|
"access",
|
|
10576
|
-
function(
|
|
10577
|
-
return
|
|
10714
|
+
function(_257) {
|
|
10715
|
+
return _257.texts;
|
|
10578
10716
|
},
|
|
10579
10717
|
"optionalAccess",
|
|
10580
|
-
function(
|
|
10581
|
-
return
|
|
10718
|
+
function(_258) {
|
|
10719
|
+
return _258.required;
|
|
10582
10720
|
}
|
|
10583
10721
|
])
|
|
10584
10722
|
},
|
|
@@ -10590,23 +10728,23 @@ var CheckoutForm = function(props) {
|
|
|
10590
10728
|
label: _optionalChain([
|
|
10591
10729
|
props,
|
|
10592
10730
|
"access",
|
|
10593
|
-
function(
|
|
10594
|
-
return
|
|
10731
|
+
function(_259) {
|
|
10732
|
+
return _259.texts;
|
|
10595
10733
|
},
|
|
10596
10734
|
"optionalAccess",
|
|
10597
|
-
function(
|
|
10598
|
-
return
|
|
10735
|
+
function(_260) {
|
|
10736
|
+
return _260.lastNameLabel;
|
|
10599
10737
|
}
|
|
10600
10738
|
]) + " *",
|
|
10601
10739
|
helpertext: _optionalChain([
|
|
10602
10740
|
errors,
|
|
10603
10741
|
"access",
|
|
10604
|
-
function(
|
|
10605
|
-
return
|
|
10742
|
+
function(_261) {
|
|
10743
|
+
return _261.lastName;
|
|
10606
10744
|
},
|
|
10607
10745
|
"optionalAccess",
|
|
10608
|
-
function(
|
|
10609
|
-
return
|
|
10746
|
+
function(_262) {
|
|
10747
|
+
return _262.message;
|
|
10610
10748
|
}
|
|
10611
10749
|
])
|
|
10612
10750
|
}, field), {
|
|
@@ -10626,23 +10764,23 @@ var CheckoutForm = function(props) {
|
|
|
10626
10764
|
label: _optionalChain([
|
|
10627
10765
|
props,
|
|
10628
10766
|
"access",
|
|
10629
|
-
function(
|
|
10630
|
-
return
|
|
10767
|
+
function(_263) {
|
|
10768
|
+
return _263.texts;
|
|
10631
10769
|
},
|
|
10632
10770
|
"optionalAccess",
|
|
10633
|
-
function(
|
|
10634
|
-
return
|
|
10771
|
+
function(_264) {
|
|
10772
|
+
return _264.emailLabel;
|
|
10635
10773
|
}
|
|
10636
10774
|
]) + " *",
|
|
10637
10775
|
helpertext: _optionalChain([
|
|
10638
10776
|
errors,
|
|
10639
10777
|
"access",
|
|
10640
|
-
function(
|
|
10641
|
-
return
|
|
10778
|
+
function(_265) {
|
|
10779
|
+
return _265.email;
|
|
10642
10780
|
},
|
|
10643
10781
|
"optionalAccess",
|
|
10644
|
-
function(
|
|
10645
|
-
return
|
|
10782
|
+
function(_266) {
|
|
10783
|
+
return _266.message;
|
|
10646
10784
|
}
|
|
10647
10785
|
])
|
|
10648
10786
|
}, field), {
|
|
@@ -10655,12 +10793,12 @@ var CheckoutForm = function(props) {
|
|
|
10655
10793
|
required: _optionalChain([
|
|
10656
10794
|
props,
|
|
10657
10795
|
"access",
|
|
10658
|
-
function(
|
|
10659
|
-
return
|
|
10796
|
+
function(_267) {
|
|
10797
|
+
return _267.texts;
|
|
10660
10798
|
},
|
|
10661
10799
|
"optionalAccess",
|
|
10662
|
-
function(
|
|
10663
|
-
return
|
|
10800
|
+
function(_268) {
|
|
10801
|
+
return _268.emailRequiredText;
|
|
10664
10802
|
}
|
|
10665
10803
|
]),
|
|
10666
10804
|
pattern: {
|
|
@@ -10668,12 +10806,12 @@ var CheckoutForm = function(props) {
|
|
|
10668
10806
|
message: _optionalChain([
|
|
10669
10807
|
props,
|
|
10670
10808
|
"access",
|
|
10671
|
-
function(
|
|
10672
|
-
return
|
|
10809
|
+
function(_269) {
|
|
10810
|
+
return _269.texts;
|
|
10673
10811
|
},
|
|
10674
10812
|
"optionalAccess",
|
|
10675
|
-
function(
|
|
10676
|
-
return
|
|
10813
|
+
function(_270) {
|
|
10814
|
+
return _270.emailInvalidText;
|
|
10677
10815
|
}
|
|
10678
10816
|
])
|
|
10679
10817
|
}
|
|
@@ -10687,12 +10825,12 @@ var CheckoutForm = function(props) {
|
|
|
10687
10825
|
required: _optionalChain([
|
|
10688
10826
|
props,
|
|
10689
10827
|
"access",
|
|
10690
|
-
function(
|
|
10691
|
-
return
|
|
10828
|
+
function(_271) {
|
|
10829
|
+
return _271.texts;
|
|
10692
10830
|
},
|
|
10693
10831
|
"optionalAccess",
|
|
10694
|
-
function(
|
|
10695
|
-
return
|
|
10832
|
+
function(_272) {
|
|
10833
|
+
return _272.required;
|
|
10696
10834
|
}
|
|
10697
10835
|
])
|
|
10698
10836
|
},
|
|
@@ -10704,23 +10842,23 @@ var CheckoutForm = function(props) {
|
|
|
10704
10842
|
label: _optionalChain([
|
|
10705
10843
|
props,
|
|
10706
10844
|
"access",
|
|
10707
|
-
function(
|
|
10708
|
-
return
|
|
10845
|
+
function(_273) {
|
|
10846
|
+
return _273.texts;
|
|
10709
10847
|
},
|
|
10710
10848
|
"optionalAccess",
|
|
10711
|
-
function(
|
|
10712
|
-
return
|
|
10849
|
+
function(_274) {
|
|
10850
|
+
return _274.streetAddressLabel;
|
|
10713
10851
|
}
|
|
10714
10852
|
]) + " *",
|
|
10715
10853
|
helpertext: _optionalChain([
|
|
10716
10854
|
errors,
|
|
10717
10855
|
"access",
|
|
10718
|
-
function(
|
|
10719
|
-
return
|
|
10856
|
+
function(_275) {
|
|
10857
|
+
return _275.streetAddress;
|
|
10720
10858
|
},
|
|
10721
10859
|
"optionalAccess",
|
|
10722
|
-
function(
|
|
10723
|
-
return
|
|
10860
|
+
function(_276) {
|
|
10861
|
+
return _276.message;
|
|
10724
10862
|
}
|
|
10725
10863
|
])
|
|
10726
10864
|
}, field), {
|
|
@@ -10738,12 +10876,12 @@ var CheckoutForm = function(props) {
|
|
|
10738
10876
|
required: _optionalChain([
|
|
10739
10877
|
props,
|
|
10740
10878
|
"access",
|
|
10741
|
-
function(
|
|
10742
|
-
return
|
|
10879
|
+
function(_277) {
|
|
10880
|
+
return _277.texts;
|
|
10743
10881
|
},
|
|
10744
10882
|
"optionalAccess",
|
|
10745
|
-
function(
|
|
10746
|
-
return
|
|
10883
|
+
function(_278) {
|
|
10884
|
+
return _278.required;
|
|
10747
10885
|
}
|
|
10748
10886
|
])
|
|
10749
10887
|
},
|
|
@@ -10755,23 +10893,23 @@ var CheckoutForm = function(props) {
|
|
|
10755
10893
|
label: _optionalChain([
|
|
10756
10894
|
props,
|
|
10757
10895
|
"access",
|
|
10758
|
-
function(
|
|
10759
|
-
return
|
|
10896
|
+
function(_279) {
|
|
10897
|
+
return _279.texts;
|
|
10760
10898
|
},
|
|
10761
10899
|
"optionalAccess",
|
|
10762
|
-
function(
|
|
10763
|
-
return
|
|
10900
|
+
function(_280) {
|
|
10901
|
+
return _280.stateLabel;
|
|
10764
10902
|
}
|
|
10765
10903
|
]) + " *",
|
|
10766
10904
|
helpertext: _optionalChain([
|
|
10767
10905
|
errors,
|
|
10768
10906
|
"access",
|
|
10769
|
-
function(
|
|
10770
|
-
return
|
|
10907
|
+
function(_281) {
|
|
10908
|
+
return _281.province;
|
|
10771
10909
|
},
|
|
10772
10910
|
"optionalAccess",
|
|
10773
|
-
function(
|
|
10774
|
-
return
|
|
10911
|
+
function(_282) {
|
|
10912
|
+
return _282.message;
|
|
10775
10913
|
}
|
|
10776
10914
|
])
|
|
10777
10915
|
}, field), {
|
|
@@ -10791,12 +10929,12 @@ var CheckoutForm = function(props) {
|
|
|
10791
10929
|
required: _optionalChain([
|
|
10792
10930
|
props,
|
|
10793
10931
|
"access",
|
|
10794
|
-
function(
|
|
10795
|
-
return
|
|
10932
|
+
function(_283) {
|
|
10933
|
+
return _283.texts;
|
|
10796
10934
|
},
|
|
10797
10935
|
"optionalAccess",
|
|
10798
|
-
function(
|
|
10799
|
-
return
|
|
10936
|
+
function(_284) {
|
|
10937
|
+
return _284.required;
|
|
10800
10938
|
}
|
|
10801
10939
|
])
|
|
10802
10940
|
},
|
|
@@ -10808,23 +10946,23 @@ var CheckoutForm = function(props) {
|
|
|
10808
10946
|
label: _optionalChain([
|
|
10809
10947
|
props,
|
|
10810
10948
|
"access",
|
|
10811
|
-
function(
|
|
10812
|
-
return
|
|
10949
|
+
function(_285) {
|
|
10950
|
+
return _285.texts;
|
|
10813
10951
|
},
|
|
10814
10952
|
"optionalAccess",
|
|
10815
|
-
function(
|
|
10816
|
-
return
|
|
10953
|
+
function(_286) {
|
|
10954
|
+
return _286.cityLabel;
|
|
10817
10955
|
}
|
|
10818
10956
|
]) + " *",
|
|
10819
10957
|
helpertext: _optionalChain([
|
|
10820
10958
|
errors,
|
|
10821
10959
|
"access",
|
|
10822
|
-
function(
|
|
10823
|
-
return
|
|
10960
|
+
function(_287) {
|
|
10961
|
+
return _287.city;
|
|
10824
10962
|
},
|
|
10825
10963
|
"optionalAccess",
|
|
10826
|
-
function(
|
|
10827
|
-
return
|
|
10964
|
+
function(_288) {
|
|
10965
|
+
return _288.message;
|
|
10828
10966
|
}
|
|
10829
10967
|
])
|
|
10830
10968
|
}, field), {
|
|
@@ -10842,12 +10980,12 @@ var CheckoutForm = function(props) {
|
|
|
10842
10980
|
required: _optionalChain([
|
|
10843
10981
|
props,
|
|
10844
10982
|
"access",
|
|
10845
|
-
function(
|
|
10846
|
-
return
|
|
10983
|
+
function(_289) {
|
|
10984
|
+
return _289.texts;
|
|
10847
10985
|
},
|
|
10848
10986
|
"optionalAccess",
|
|
10849
|
-
function(
|
|
10850
|
-
return
|
|
10987
|
+
function(_290) {
|
|
10988
|
+
return _290.required;
|
|
10851
10989
|
}
|
|
10852
10990
|
])
|
|
10853
10991
|
},
|
|
@@ -10859,23 +10997,23 @@ var CheckoutForm = function(props) {
|
|
|
10859
10997
|
label: _optionalChain([
|
|
10860
10998
|
props,
|
|
10861
10999
|
"access",
|
|
10862
|
-
function(
|
|
10863
|
-
return
|
|
11000
|
+
function(_291) {
|
|
11001
|
+
return _291.texts;
|
|
10864
11002
|
},
|
|
10865
11003
|
"optionalAccess",
|
|
10866
|
-
function(
|
|
10867
|
-
return
|
|
11004
|
+
function(_292) {
|
|
11005
|
+
return _292.buildingNumberLabel;
|
|
10868
11006
|
}
|
|
10869
11007
|
]) + " *",
|
|
10870
11008
|
helpertext: _optionalChain([
|
|
10871
11009
|
errors,
|
|
10872
11010
|
"access",
|
|
10873
|
-
function(
|
|
10874
|
-
return
|
|
11011
|
+
function(_293) {
|
|
11012
|
+
return _293.buildingNumber;
|
|
10875
11013
|
},
|
|
10876
11014
|
"optionalAccess",
|
|
10877
|
-
function(
|
|
10878
|
-
return
|
|
11015
|
+
function(_294) {
|
|
11016
|
+
return _294.message;
|
|
10879
11017
|
}
|
|
10880
11018
|
])
|
|
10881
11019
|
}, field), {
|
|
@@ -10895,12 +11033,12 @@ var CheckoutForm = function(props) {
|
|
|
10895
11033
|
required: _optionalChain([
|
|
10896
11034
|
props,
|
|
10897
11035
|
"access",
|
|
10898
|
-
function(
|
|
10899
|
-
return
|
|
11036
|
+
function(_295) {
|
|
11037
|
+
return _295.texts;
|
|
10900
11038
|
},
|
|
10901
11039
|
"optionalAccess",
|
|
10902
|
-
function(
|
|
10903
|
-
return
|
|
11040
|
+
function(_296) {
|
|
11041
|
+
return _296.required;
|
|
10904
11042
|
}
|
|
10905
11043
|
])
|
|
10906
11044
|
},
|
|
@@ -10912,23 +11050,23 @@ var CheckoutForm = function(props) {
|
|
|
10912
11050
|
label: _optionalChain([
|
|
10913
11051
|
props,
|
|
10914
11052
|
"access",
|
|
10915
|
-
function(
|
|
10916
|
-
return
|
|
11053
|
+
function(_297) {
|
|
11054
|
+
return _297.texts;
|
|
10917
11055
|
},
|
|
10918
11056
|
"optionalAccess",
|
|
10919
|
-
function(
|
|
10920
|
-
return
|
|
11057
|
+
function(_298) {
|
|
11058
|
+
return _298.zipCodeLabel;
|
|
10921
11059
|
}
|
|
10922
11060
|
]) + " *",
|
|
10923
11061
|
helpertext: _optionalChain([
|
|
10924
11062
|
errors,
|
|
10925
11063
|
"access",
|
|
10926
|
-
function(
|
|
10927
|
-
return
|
|
11064
|
+
function(_299) {
|
|
11065
|
+
return _299.zipCode;
|
|
10928
11066
|
},
|
|
10929
11067
|
"optionalAccess",
|
|
10930
|
-
function(
|
|
10931
|
-
return
|
|
11068
|
+
function(_300) {
|
|
11069
|
+
return _300.message;
|
|
10932
11070
|
}
|
|
10933
11071
|
])
|
|
10934
11072
|
}, field), {
|
|
@@ -10946,12 +11084,12 @@ var CheckoutForm = function(props) {
|
|
|
10946
11084
|
required: _optionalChain([
|
|
10947
11085
|
props,
|
|
10948
11086
|
"access",
|
|
10949
|
-
function(
|
|
10950
|
-
return
|
|
11087
|
+
function(_301) {
|
|
11088
|
+
return _301.texts;
|
|
10951
11089
|
},
|
|
10952
11090
|
"optionalAccess",
|
|
10953
|
-
function(
|
|
10954
|
-
return
|
|
11091
|
+
function(_302) {
|
|
11092
|
+
return _302.required;
|
|
10955
11093
|
}
|
|
10956
11094
|
])
|
|
10957
11095
|
},
|
|
@@ -10962,23 +11100,23 @@ var CheckoutForm = function(props) {
|
|
|
10962
11100
|
label: _optionalChain([
|
|
10963
11101
|
props,
|
|
10964
11102
|
"access",
|
|
10965
|
-
function(
|
|
10966
|
-
return
|
|
11103
|
+
function(_303) {
|
|
11104
|
+
return _303.texts;
|
|
10967
11105
|
},
|
|
10968
11106
|
"optionalAccess",
|
|
10969
|
-
function(
|
|
10970
|
-
return
|
|
11107
|
+
function(_304) {
|
|
11108
|
+
return _304.countryLabel;
|
|
10971
11109
|
}
|
|
10972
11110
|
]) + " *",
|
|
10973
11111
|
helperText: _optionalChain([
|
|
10974
11112
|
errors,
|
|
10975
11113
|
"access",
|
|
10976
|
-
function(
|
|
10977
|
-
return
|
|
11114
|
+
function(_305) {
|
|
11115
|
+
return _305.country;
|
|
10978
11116
|
},
|
|
10979
11117
|
"optionalAccess",
|
|
10980
|
-
function(
|
|
10981
|
-
return
|
|
11118
|
+
function(_306) {
|
|
11119
|
+
return _306.message;
|
|
10982
11120
|
}
|
|
10983
11121
|
]),
|
|
10984
11122
|
options: countries_default,
|
|
@@ -11138,16 +11276,16 @@ var ComparingPlans = function(props) {
|
|
|
11138
11276
|
})), _optionalChain([
|
|
11139
11277
|
props,
|
|
11140
11278
|
"access",
|
|
11141
|
-
function(
|
|
11142
|
-
return
|
|
11279
|
+
function(_307) {
|
|
11280
|
+
return _307.plans;
|
|
11143
11281
|
},
|
|
11144
11282
|
"optionalAccess",
|
|
11145
|
-
function(
|
|
11146
|
-
return
|
|
11283
|
+
function(_308) {
|
|
11284
|
+
return _308.map;
|
|
11147
11285
|
},
|
|
11148
11286
|
"call",
|
|
11149
|
-
function(
|
|
11150
|
-
return
|
|
11287
|
+
function(_309) {
|
|
11288
|
+
return _309(function(plan) {
|
|
11151
11289
|
return plan.features.map(function(feature) {
|
|
11152
11290
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
11153
11291
|
className: "grid grid-cols-4 gap-x-16 border-b border-gray-200 px-4 py-5 text-sm text-gray-700 dark:border-gray-700"
|
|
@@ -11520,8 +11658,8 @@ var NotFound = function(param) {
|
|
|
11520
11658
|
}, _nullishCoalesce(_optionalChain([
|
|
11521
11659
|
texts,
|
|
11522
11660
|
"optionalAccess",
|
|
11523
|
-
function(
|
|
11524
|
-
return
|
|
11661
|
+
function(_310) {
|
|
11662
|
+
return _310.pageNotFound;
|
|
11525
11663
|
}
|
|
11526
11664
|
]), function() {
|
|
11527
11665
|
return "Page Not Found";
|
|
@@ -11530,8 +11668,8 @@ var NotFound = function(param) {
|
|
|
11530
11668
|
}, _nullishCoalesce(_optionalChain([
|
|
11531
11669
|
texts,
|
|
11532
11670
|
"optionalAccess",
|
|
11533
|
-
function(
|
|
11534
|
-
return
|
|
11671
|
+
function(_311) {
|
|
11672
|
+
return _311.ifLost;
|
|
11535
11673
|
}
|
|
11536
11674
|
]), function() {
|
|
11537
11675
|
return /* @__PURE__ */ React6.default.createElement(React6.default.Fragment, null, "If you're lost please contact us", " ", /* @__PURE__ */ React6.default.createElement("span", {
|
|
@@ -11542,8 +11680,8 @@ var NotFound = function(param) {
|
|
|
11542
11680
|
}, _nullishCoalesce(_optionalChain([
|
|
11543
11681
|
texts,
|
|
11544
11682
|
"optionalAccess",
|
|
11545
|
-
function(
|
|
11546
|
-
return
|
|
11683
|
+
function(_312) {
|
|
11684
|
+
return _312.home;
|
|
11547
11685
|
}
|
|
11548
11686
|
]), function() {
|
|
11549
11687
|
return "Home";
|
|
@@ -11572,8 +11710,8 @@ var EmptyState = function(param) {
|
|
|
11572
11710
|
}, _nullishCoalesce(_optionalChain([
|
|
11573
11711
|
texts,
|
|
11574
11712
|
"optionalAccess",
|
|
11575
|
-
function(
|
|
11576
|
-
return
|
|
11713
|
+
function(_313) {
|
|
11714
|
+
return _313.youreCaughtUp;
|
|
11577
11715
|
}
|
|
11578
11716
|
]), function() {
|
|
11579
11717
|
return "You're all caught up";
|
|
@@ -11585,8 +11723,8 @@ var EmptyState = function(param) {
|
|
|
11585
11723
|
}, _nullishCoalesce(_optionalChain([
|
|
11586
11724
|
texts,
|
|
11587
11725
|
"optionalAccess",
|
|
11588
|
-
function(
|
|
11589
|
-
return
|
|
11726
|
+
function(_314) {
|
|
11727
|
+
return _314.actionText;
|
|
11590
11728
|
}
|
|
11591
11729
|
]), function() {
|
|
11592
11730
|
return "Go Home";
|
|
@@ -11626,14 +11764,14 @@ var LeadGenerator = function(param) {
|
|
|
11626
11764
|
return /* @__PURE__ */ React6.default.createElement(Card, null, /* @__PURE__ */ React6.default.createElement(CardHeader, null, /* @__PURE__ */ React6.default.createElement(CardTitle, null, _optionalChain([
|
|
11627
11765
|
texts,
|
|
11628
11766
|
"optionalAccess",
|
|
11629
|
-
function(
|
|
11630
|
-
return
|
|
11767
|
+
function(_315) {
|
|
11768
|
+
return _315.title;
|
|
11631
11769
|
}
|
|
11632
11770
|
])), /* @__PURE__ */ React6.default.createElement(CardDescription, null, _optionalChain([
|
|
11633
11771
|
texts,
|
|
11634
11772
|
"optionalAccess",
|
|
11635
|
-
function(
|
|
11636
|
-
return
|
|
11773
|
+
function(_316) {
|
|
11774
|
+
return _316.subtitle;
|
|
11637
11775
|
}
|
|
11638
11776
|
]))), /* @__PURE__ */ React6.default.createElement(CardContent, null, /* @__PURE__ */ React6.default.createElement("form", {
|
|
11639
11777
|
className: "flex flex-row gap-2",
|
|
@@ -11648,8 +11786,8 @@ var LeadGenerator = function(param) {
|
|
|
11648
11786
|
}), /* @__PURE__ */ React6.default.createElement(Button, null, _nullishCoalesce(_optionalChain([
|
|
11649
11787
|
texts,
|
|
11650
11788
|
"optionalAccess",
|
|
11651
|
-
function(
|
|
11652
|
-
return
|
|
11789
|
+
function(_317) {
|
|
11790
|
+
return _317.submit;
|
|
11653
11791
|
}
|
|
11654
11792
|
]), function() {
|
|
11655
11793
|
return "Submit";
|
|
@@ -11699,16 +11837,16 @@ var NoPermission = function(param) {
|
|
|
11699
11837
|
}, _nullishCoalesce(_optionalChain([
|
|
11700
11838
|
texts,
|
|
11701
11839
|
"optionalAccess",
|
|
11702
|
-
function(
|
|
11703
|
-
return
|
|
11840
|
+
function(_318) {
|
|
11841
|
+
return _318.title;
|
|
11704
11842
|
}
|
|
11705
11843
|
]), function() {
|
|
11706
11844
|
return "You don't have permission";
|
|
11707
11845
|
})), /* @__PURE__ */ React6.default.createElement("div", null, _nullishCoalesce(_optionalChain([
|
|
11708
11846
|
texts,
|
|
11709
11847
|
"optionalAccess",
|
|
11710
|
-
function(
|
|
11711
|
-
return
|
|
11848
|
+
function(_319) {
|
|
11849
|
+
return _319.subtitle;
|
|
11712
11850
|
}
|
|
11713
11851
|
]), function() {
|
|
11714
11852
|
return "If you think this is a problem please contact your administrator or our customer support";
|