@sikka/hawa 0.1.90 → 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 +407 -263
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +82 -27
- 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/DropdownMenu.tsx +9 -3
- 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
|
});
|
|
@@ -1286,7 +1288,9 @@ var DropdownMenu = function(param) {
|
|
|
1286
1288
|
className: "flex flex-row gap-2",
|
|
1287
1289
|
onSelect: function() {
|
|
1288
1290
|
subitem.action();
|
|
1289
|
-
selectCallback
|
|
1291
|
+
if (selectCallback) {
|
|
1292
|
+
selectCallback(subitem.value);
|
|
1293
|
+
}
|
|
1290
1294
|
},
|
|
1291
1295
|
key: subIndex
|
|
1292
1296
|
}, subitem.icon && subitem.icon, subitem.label);
|
|
@@ -1300,9 +1304,13 @@ var DropdownMenu = function(param) {
|
|
|
1300
1304
|
}
|
|
1301
1305
|
if (item.action) {
|
|
1302
1306
|
item.action();
|
|
1303
|
-
selectCallback
|
|
1307
|
+
if (selectCallback) {
|
|
1308
|
+
selectCallback(item.value);
|
|
1309
|
+
}
|
|
1304
1310
|
} else {
|
|
1305
|
-
selectCallback
|
|
1311
|
+
if (selectCallback) {
|
|
1312
|
+
selectCallback(item.value);
|
|
1313
|
+
}
|
|
1306
1314
|
}
|
|
1307
1315
|
},
|
|
1308
1316
|
end: item.end
|
|
@@ -7371,7 +7379,7 @@ function Toaster(props) {
|
|
|
7371
7379
|
direction: props.direction,
|
|
7372
7380
|
key: id
|
|
7373
7381
|
}, toastProps), /* @__PURE__ */ React6.default.createElement("div", {
|
|
7374
|
-
className:
|
|
7382
|
+
className: "grid gap-1 text-start"
|
|
7375
7383
|
}, title && /* @__PURE__ */ React6.default.createElement(ToastTitle, null, title), description && /* @__PURE__ */ React6.default.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ React6.default.createElement(ToastClose, null));
|
|
7376
7384
|
}), /* @__PURE__ */ React6.default.createElement(ToastViewport, {
|
|
7377
7385
|
className: cn("gap-2", isRTL && "fixed left-0")
|
|
@@ -9084,6 +9092,22 @@ var Icons = {
|
|
|
9084
9092
|
points: "22,6 12,13 2,6"
|
|
9085
9093
|
}));
|
|
9086
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
|
+
},
|
|
9087
9111
|
twitter: function(props) {
|
|
9088
9112
|
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9089
9113
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9093,6 +9117,14 @@ var Icons = {
|
|
|
9093
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"
|
|
9094
9118
|
}));
|
|
9095
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
|
+
},
|
|
9096
9128
|
gitHub: function(props) {
|
|
9097
9129
|
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9098
9130
|
viewBox: "0 0 438.549 438.549"
|
|
@@ -9210,30 +9242,138 @@ var Icons = {
|
|
|
9210
9242
|
};
|
|
9211
9243
|
// src/blocks/AuthForms/AppLanding.tsx
|
|
9212
9244
|
var AppLanding = function(props) {
|
|
9213
|
-
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, {
|
|
9214
9248
|
headless: true,
|
|
9215
9249
|
className: "flex flex-col gap-6"
|
|
9216
|
-
}, /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9250
|
+
}, props.viaGoogle && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9217
9251
|
className: "flex flex-row items-center gap-2",
|
|
9218
|
-
variant: "outline"
|
|
9252
|
+
variant: "outline",
|
|
9253
|
+
onClick: props.handleGoogle
|
|
9219
9254
|
}, /* @__PURE__ */ React6.default.createElement(Icons.google, {
|
|
9220
9255
|
className: "h-4 w-4"
|
|
9221
|
-
}),
|
|
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, {
|
|
9222
9269
|
className: "flex flex-row items-center gap-2",
|
|
9223
|
-
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
|
|
9224
9290
|
}, /* @__PURE__ */ React6.default.createElement(Icons.twitter, {
|
|
9225
9291
|
className: "h-4 w-4"
|
|
9226
|
-
}),
|
|
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, {
|
|
9227
9305
|
className: "flex flex-row items-center gap-2",
|
|
9228
|
-
variant: "outline"
|
|
9306
|
+
variant: "outline",
|
|
9307
|
+
onClick: props.handleApple
|
|
9229
9308
|
}, /* @__PURE__ */ React6.default.createElement(Icons.apple, {
|
|
9230
9309
|
className: "h-4 w-4"
|
|
9231
|
-
}),
|
|
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, {
|
|
9232
9323
|
className: "flex flex-row items-center gap-2",
|
|
9233
|
-
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
|
|
9234
9344
|
}, /* @__PURE__ */ React6.default.createElement(Icons.mail, {
|
|
9235
9345
|
className: "h-4 w-4"
|
|
9236
|
-
}),
|
|
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", {
|
|
9237
9377
|
className: "p-3 text-center text-sm font-normal dark:text-gray-300"
|
|
9238
9378
|
}, props.texts.newUserText, " ", /* @__PURE__ */ React6.default.createElement("span", {
|
|
9239
9379
|
onClick: props.handleRouteToSignUp,
|
|
@@ -9361,12 +9501,12 @@ var SignInForm = function(props) {
|
|
|
9361
9501
|
helpertext: _optionalChain([
|
|
9362
9502
|
errors,
|
|
9363
9503
|
"access",
|
|
9364
|
-
function(
|
|
9365
|
-
return
|
|
9504
|
+
function(_198) {
|
|
9505
|
+
return _198.email;
|
|
9366
9506
|
},
|
|
9367
9507
|
"optionalAccess",
|
|
9368
|
-
function(
|
|
9369
|
-
return
|
|
9508
|
+
function(_199) {
|
|
9509
|
+
return _199.message;
|
|
9370
9510
|
}
|
|
9371
9511
|
]),
|
|
9372
9512
|
placeholder: props.texts.emailPlaceholder,
|
|
@@ -9396,12 +9536,12 @@ var SignInForm = function(props) {
|
|
|
9396
9536
|
helpertext: _optionalChain([
|
|
9397
9537
|
errors,
|
|
9398
9538
|
"access",
|
|
9399
|
-
function(
|
|
9400
|
-
return
|
|
9539
|
+
function(_200) {
|
|
9540
|
+
return _200.username;
|
|
9401
9541
|
},
|
|
9402
9542
|
"optionalAccess",
|
|
9403
|
-
function(
|
|
9404
|
-
return
|
|
9543
|
+
function(_201) {
|
|
9544
|
+
return _201.message;
|
|
9405
9545
|
}
|
|
9406
9546
|
]),
|
|
9407
9547
|
placeholder: props.texts.usernamePlaceholder,
|
|
@@ -9440,12 +9580,12 @@ var SignInForm = function(props) {
|
|
|
9440
9580
|
helpertext: _optionalChain([
|
|
9441
9581
|
errors,
|
|
9442
9582
|
"access",
|
|
9443
|
-
function(
|
|
9444
|
-
return
|
|
9583
|
+
function(_202) {
|
|
9584
|
+
return _202.password;
|
|
9445
9585
|
},
|
|
9446
9586
|
"optionalAccess",
|
|
9447
|
-
function(
|
|
9448
|
-
return
|
|
9587
|
+
function(_203) {
|
|
9588
|
+
return _203.message;
|
|
9449
9589
|
}
|
|
9450
9590
|
]),
|
|
9451
9591
|
onChange: field.onChange,
|
|
@@ -9577,12 +9717,12 @@ var SignUpForm = function(props) {
|
|
|
9577
9717
|
helpertext: _optionalChain([
|
|
9578
9718
|
errors,
|
|
9579
9719
|
"access",
|
|
9580
|
-
function(
|
|
9581
|
-
return
|
|
9720
|
+
function(_204) {
|
|
9721
|
+
return _204.fullName;
|
|
9582
9722
|
},
|
|
9583
9723
|
"optionalAccess",
|
|
9584
|
-
function(
|
|
9585
|
-
return
|
|
9724
|
+
function(_205) {
|
|
9725
|
+
return _205.message;
|
|
9586
9726
|
}
|
|
9587
9727
|
]),
|
|
9588
9728
|
onChange: field.onChange,
|
|
@@ -9611,12 +9751,12 @@ var SignUpForm = function(props) {
|
|
|
9611
9751
|
helpertext: _optionalChain([
|
|
9612
9752
|
errors,
|
|
9613
9753
|
"access",
|
|
9614
|
-
function(
|
|
9615
|
-
return
|
|
9754
|
+
function(_206) {
|
|
9755
|
+
return _206.email;
|
|
9616
9756
|
},
|
|
9617
9757
|
"optionalAccess",
|
|
9618
|
-
function(
|
|
9619
|
-
return
|
|
9758
|
+
function(_207) {
|
|
9759
|
+
return _207.message;
|
|
9620
9760
|
}
|
|
9621
9761
|
]),
|
|
9622
9762
|
placeholder: props.texts.emailPlaceholder,
|
|
@@ -9650,12 +9790,12 @@ var SignUpForm = function(props) {
|
|
|
9650
9790
|
helpertext: _optionalChain([
|
|
9651
9791
|
errors,
|
|
9652
9792
|
"access",
|
|
9653
|
-
function(
|
|
9654
|
-
return
|
|
9793
|
+
function(_208) {
|
|
9794
|
+
return _208.username;
|
|
9655
9795
|
},
|
|
9656
9796
|
"optionalAccess",
|
|
9657
|
-
function(
|
|
9658
|
-
return
|
|
9797
|
+
function(_209) {
|
|
9798
|
+
return _209.message;
|
|
9659
9799
|
}
|
|
9660
9800
|
]),
|
|
9661
9801
|
placeholder: props.texts.usernamePlaceholder,
|
|
@@ -9684,12 +9824,12 @@ var SignUpForm = function(props) {
|
|
|
9684
9824
|
helpertext: _optionalChain([
|
|
9685
9825
|
errors,
|
|
9686
9826
|
"access",
|
|
9687
|
-
function(
|
|
9688
|
-
return
|
|
9827
|
+
function(_210) {
|
|
9828
|
+
return _210.password;
|
|
9689
9829
|
},
|
|
9690
9830
|
"optionalAccess",
|
|
9691
|
-
function(
|
|
9692
|
-
return
|
|
9831
|
+
function(_211) {
|
|
9832
|
+
return _211.message;
|
|
9693
9833
|
}
|
|
9694
9834
|
]),
|
|
9695
9835
|
onChange: field.onChange,
|
|
@@ -9715,12 +9855,12 @@ var SignUpForm = function(props) {
|
|
|
9715
9855
|
helpertext: _optionalChain([
|
|
9716
9856
|
errors,
|
|
9717
9857
|
"access",
|
|
9718
|
-
function(
|
|
9719
|
-
return
|
|
9858
|
+
function(_212) {
|
|
9859
|
+
return _212.confirm_password;
|
|
9720
9860
|
},
|
|
9721
9861
|
"optionalAccess",
|
|
9722
|
-
function(
|
|
9723
|
-
return
|
|
9862
|
+
function(_213) {
|
|
9863
|
+
return _213.message;
|
|
9724
9864
|
}
|
|
9725
9865
|
]),
|
|
9726
9866
|
onChange: field.onChange,
|
|
@@ -9745,12 +9885,12 @@ var SignUpForm = function(props) {
|
|
|
9745
9885
|
helpertext: _optionalChain([
|
|
9746
9886
|
errors,
|
|
9747
9887
|
"access",
|
|
9748
|
-
function(
|
|
9749
|
-
return
|
|
9888
|
+
function(_214) {
|
|
9889
|
+
return _214.password;
|
|
9750
9890
|
},
|
|
9751
9891
|
"optionalAccess",
|
|
9752
|
-
function(
|
|
9753
|
-
return
|
|
9892
|
+
function(_215) {
|
|
9893
|
+
return _215.message;
|
|
9754
9894
|
}
|
|
9755
9895
|
]),
|
|
9756
9896
|
value: _nullishCoalesce(field.value, function() {
|
|
@@ -9799,12 +9939,12 @@ var SignUpForm = function(props) {
|
|
|
9799
9939
|
helperText: _optionalChain([
|
|
9800
9940
|
errors,
|
|
9801
9941
|
"access",
|
|
9802
|
-
function(
|
|
9803
|
-
return
|
|
9942
|
+
function(_216) {
|
|
9943
|
+
return _216.terms_accepted;
|
|
9804
9944
|
},
|
|
9805
9945
|
"optionalAccess",
|
|
9806
|
-
function(
|
|
9807
|
-
return
|
|
9946
|
+
function(_217) {
|
|
9947
|
+
return _217.message;
|
|
9808
9948
|
}
|
|
9809
9949
|
]),
|
|
9810
9950
|
onChange: function(e) {
|
|
@@ -9900,12 +10040,12 @@ var NewPasswordForm = function(props) {
|
|
|
9900
10040
|
helpertext: _optionalChain([
|
|
9901
10041
|
errors,
|
|
9902
10042
|
"access",
|
|
9903
|
-
function(
|
|
9904
|
-
return
|
|
10043
|
+
function(_218) {
|
|
10044
|
+
return _218.password;
|
|
9905
10045
|
},
|
|
9906
10046
|
"optionalAccess",
|
|
9907
|
-
function(
|
|
9908
|
-
return
|
|
10047
|
+
function(_219) {
|
|
10048
|
+
return _219.message;
|
|
9909
10049
|
}
|
|
9910
10050
|
])
|
|
9911
10051
|
}, field), {
|
|
@@ -9931,12 +10071,12 @@ var NewPasswordForm = function(props) {
|
|
|
9931
10071
|
helpertext: _optionalChain([
|
|
9932
10072
|
errors,
|
|
9933
10073
|
"access",
|
|
9934
|
-
function(
|
|
9935
|
-
return
|
|
10074
|
+
function(_220) {
|
|
10075
|
+
return _220.confirmPassword;
|
|
9936
10076
|
},
|
|
9937
10077
|
"optionalAccess",
|
|
9938
|
-
function(
|
|
9939
|
-
return
|
|
10078
|
+
function(_221) {
|
|
10079
|
+
return _221.message;
|
|
9940
10080
|
}
|
|
9941
10081
|
])
|
|
9942
10082
|
}, field), {
|
|
@@ -9957,9 +10097,13 @@ var NewPasswordForm = function(props) {
|
|
|
9957
10097
|
var ResetPasswordForm = function(props) {
|
|
9958
10098
|
var methods = _reacthookform.useForm.call(void 0);
|
|
9959
10099
|
var errors = methods.formState.errors, handleSubmit = methods.handleSubmit, register = methods.register, control = methods.control;
|
|
9960
|
-
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", {
|
|
9961
10103
|
onSubmit: handleSubmit(props.handleResetPassword)
|
|
9962
|
-
}, /* @__PURE__ */ React6.default.createElement(CardContent,
|
|
10104
|
+
}, /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
10105
|
+
headless: props.headless
|
|
10106
|
+
}, /* @__PURE__ */ React6.default.createElement(_reacthookform.Controller, {
|
|
9963
10107
|
control: control,
|
|
9964
10108
|
name: "email",
|
|
9965
10109
|
render: function(param) {
|
|
@@ -9970,34 +10114,34 @@ var ResetPasswordForm = function(props) {
|
|
|
9970
10114
|
label: _optionalChain([
|
|
9971
10115
|
props,
|
|
9972
10116
|
"access",
|
|
9973
|
-
function(
|
|
9974
|
-
return
|
|
10117
|
+
function(_222) {
|
|
10118
|
+
return _222.texts;
|
|
9975
10119
|
},
|
|
9976
10120
|
"optionalAccess",
|
|
9977
|
-
function(
|
|
9978
|
-
return
|
|
10121
|
+
function(_223) {
|
|
10122
|
+
return _223.emailLabel;
|
|
9979
10123
|
}
|
|
9980
10124
|
]),
|
|
9981
10125
|
helpertext: _optionalChain([
|
|
9982
10126
|
errors,
|
|
9983
10127
|
"access",
|
|
9984
|
-
function(
|
|
9985
|
-
return
|
|
10128
|
+
function(_224) {
|
|
10129
|
+
return _224.email;
|
|
9986
10130
|
},
|
|
9987
10131
|
"optionalAccess",
|
|
9988
|
-
function(
|
|
9989
|
-
return
|
|
10132
|
+
function(_225) {
|
|
10133
|
+
return _225.message;
|
|
9990
10134
|
}
|
|
9991
10135
|
]),
|
|
9992
10136
|
placeholder: _optionalChain([
|
|
9993
10137
|
props,
|
|
9994
10138
|
"access",
|
|
9995
|
-
function(
|
|
9996
|
-
return
|
|
10139
|
+
function(_226) {
|
|
10140
|
+
return _226.texts;
|
|
9997
10141
|
},
|
|
9998
10142
|
"optionalAccess",
|
|
9999
|
-
function(
|
|
10000
|
-
return
|
|
10143
|
+
function(_227) {
|
|
10144
|
+
return _227.emailPlaceholder;
|
|
10001
10145
|
}
|
|
10002
10146
|
])
|
|
10003
10147
|
}, field), {
|
|
@@ -10010,12 +10154,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10010
10154
|
required: _optionalChain([
|
|
10011
10155
|
props,
|
|
10012
10156
|
"access",
|
|
10013
|
-
function(
|
|
10014
|
-
return
|
|
10157
|
+
function(_228) {
|
|
10158
|
+
return _228.texts;
|
|
10015
10159
|
},
|
|
10016
10160
|
"optionalAccess",
|
|
10017
|
-
function(
|
|
10018
|
-
return
|
|
10161
|
+
function(_229) {
|
|
10162
|
+
return _229.emailRequiredText;
|
|
10019
10163
|
}
|
|
10020
10164
|
]),
|
|
10021
10165
|
pattern: {
|
|
@@ -10023,27 +10167,27 @@ var ResetPasswordForm = function(props) {
|
|
|
10023
10167
|
message: _optionalChain([
|
|
10024
10168
|
props,
|
|
10025
10169
|
"access",
|
|
10026
|
-
function(
|
|
10027
|
-
return
|
|
10170
|
+
function(_230) {
|
|
10171
|
+
return _230.texts;
|
|
10028
10172
|
},
|
|
10029
10173
|
"optionalAccess",
|
|
10030
|
-
function(
|
|
10031
|
-
return
|
|
10174
|
+
function(_231) {
|
|
10175
|
+
return _231.emailInvalidText;
|
|
10032
10176
|
}
|
|
10033
10177
|
])
|
|
10034
10178
|
}
|
|
10035
10179
|
}
|
|
10036
10180
|
}), /* @__PURE__ */ React6.default.createElement("div", {
|
|
10037
|
-
className: "
|
|
10181
|
+
className: "pb-2 text-start text-sm dark:text-gray-300"
|
|
10038
10182
|
}, _nullishCoalesce(_optionalChain([
|
|
10039
10183
|
props,
|
|
10040
10184
|
"access",
|
|
10041
|
-
function(
|
|
10042
|
-
return
|
|
10185
|
+
function(_232) {
|
|
10186
|
+
return _232.texts;
|
|
10043
10187
|
},
|
|
10044
10188
|
"optionalAccess",
|
|
10045
|
-
function(
|
|
10046
|
-
return
|
|
10189
|
+
function(_233) {
|
|
10190
|
+
return _233.dontHaveAccount;
|
|
10047
10191
|
}
|
|
10048
10192
|
]), function() {
|
|
10049
10193
|
return "Don't have an account? ";
|
|
@@ -10053,12 +10197,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10053
10197
|
}, _nullishCoalesce(_optionalChain([
|
|
10054
10198
|
props,
|
|
10055
10199
|
"access",
|
|
10056
|
-
function(
|
|
10057
|
-
return
|
|
10200
|
+
function(_234) {
|
|
10201
|
+
return _234.texts;
|
|
10058
10202
|
},
|
|
10059
10203
|
"optionalAccess",
|
|
10060
|
-
function(
|
|
10061
|
-
return
|
|
10204
|
+
function(_235) {
|
|
10205
|
+
return _235.signUpText;
|
|
10062
10206
|
}
|
|
10063
10207
|
]), function() {
|
|
10064
10208
|
return "Sign Up";
|
|
@@ -10068,12 +10212,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10068
10212
|
}, _optionalChain([
|
|
10069
10213
|
props,
|
|
10070
10214
|
"access",
|
|
10071
|
-
function(
|
|
10072
|
-
return
|
|
10215
|
+
function(_236) {
|
|
10216
|
+
return _236.texts;
|
|
10073
10217
|
},
|
|
10074
10218
|
"optionalAccess",
|
|
10075
|
-
function(
|
|
10076
|
-
return
|
|
10219
|
+
function(_237) {
|
|
10220
|
+
return _237.resetPassword;
|
|
10077
10221
|
}
|
|
10078
10222
|
]))))) : /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
10079
10223
|
headless: true
|
|
@@ -10082,12 +10226,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10082
10226
|
}, _optionalChain([
|
|
10083
10227
|
props,
|
|
10084
10228
|
"access",
|
|
10085
|
-
function(
|
|
10086
|
-
return
|
|
10229
|
+
function(_238) {
|
|
10230
|
+
return _238.texts;
|
|
10087
10231
|
},
|
|
10088
10232
|
"optionalAccess",
|
|
10089
|
-
function(
|
|
10090
|
-
return
|
|
10233
|
+
function(_239) {
|
|
10234
|
+
return _239.emailSentText;
|
|
10091
10235
|
}
|
|
10092
10236
|
]))));
|
|
10093
10237
|
};
|
|
@@ -10169,8 +10313,8 @@ var CheckEmail = function(param) {
|
|
|
10169
10313
|
}, _nullishCoalesce(_optionalChain([
|
|
10170
10314
|
texts,
|
|
10171
10315
|
"optionalAccess",
|
|
10172
|
-
function(
|
|
10173
|
-
return
|
|
10316
|
+
function(_240) {
|
|
10317
|
+
return _240.checkEmail;
|
|
10174
10318
|
}
|
|
10175
10319
|
]), function() {
|
|
10176
10320
|
return "Check you email";
|
|
@@ -10179,8 +10323,8 @@ var CheckEmail = function(param) {
|
|
|
10179
10323
|
}, _nullishCoalesce(_optionalChain([
|
|
10180
10324
|
texts,
|
|
10181
10325
|
"optionalAccess",
|
|
10182
|
-
function(
|
|
10183
|
-
return
|
|
10326
|
+
function(_241) {
|
|
10327
|
+
return _241.pleaseVerify;
|
|
10184
10328
|
}
|
|
10185
10329
|
]), function() {
|
|
10186
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.";
|
|
@@ -10192,8 +10336,8 @@ var CheckEmail = function(param) {
|
|
|
10192
10336
|
}, _nullishCoalesce(_optionalChain([
|
|
10193
10337
|
texts,
|
|
10194
10338
|
"optionalAccess",
|
|
10195
|
-
function(
|
|
10196
|
-
return
|
|
10339
|
+
function(_242) {
|
|
10340
|
+
return _242.resendEmail;
|
|
10197
10341
|
}
|
|
10198
10342
|
]), function() {
|
|
10199
10343
|
return "Resend Email";
|
|
@@ -10319,12 +10463,12 @@ var CreditCardForm = function(props) {
|
|
|
10319
10463
|
helpertext: _optionalChain([
|
|
10320
10464
|
errors,
|
|
10321
10465
|
"access",
|
|
10322
|
-
function(
|
|
10323
|
-
return
|
|
10466
|
+
function(_243) {
|
|
10467
|
+
return _243.password;
|
|
10324
10468
|
},
|
|
10325
10469
|
"optionalAccess",
|
|
10326
|
-
function(
|
|
10327
|
-
return
|
|
10470
|
+
function(_244) {
|
|
10471
|
+
return _244.message;
|
|
10328
10472
|
}
|
|
10329
10473
|
])
|
|
10330
10474
|
});
|
|
@@ -10350,12 +10494,12 @@ var CreditCardForm = function(props) {
|
|
|
10350
10494
|
helpertext: _optionalChain([
|
|
10351
10495
|
errors,
|
|
10352
10496
|
"access",
|
|
10353
|
-
function(
|
|
10354
|
-
return
|
|
10497
|
+
function(_245) {
|
|
10498
|
+
return _245.password;
|
|
10355
10499
|
},
|
|
10356
10500
|
"optionalAccess",
|
|
10357
|
-
function(
|
|
10358
|
-
return
|
|
10501
|
+
function(_246) {
|
|
10502
|
+
return _246.message;
|
|
10359
10503
|
}
|
|
10360
10504
|
])
|
|
10361
10505
|
});
|
|
@@ -10377,12 +10521,12 @@ var CreditCardForm = function(props) {
|
|
|
10377
10521
|
helpertext: _optionalChain([
|
|
10378
10522
|
errors,
|
|
10379
10523
|
"access",
|
|
10380
|
-
function(
|
|
10381
|
-
return
|
|
10524
|
+
function(_247) {
|
|
10525
|
+
return _247.password;
|
|
10382
10526
|
},
|
|
10383
10527
|
"optionalAccess",
|
|
10384
|
-
function(
|
|
10385
|
-
return
|
|
10528
|
+
function(_248) {
|
|
10529
|
+
return _248.message;
|
|
10386
10530
|
}
|
|
10387
10531
|
])
|
|
10388
10532
|
});
|
|
@@ -10403,12 +10547,12 @@ var CreditCardForm = function(props) {
|
|
|
10403
10547
|
helpertext: _optionalChain([
|
|
10404
10548
|
errors,
|
|
10405
10549
|
"access",
|
|
10406
|
-
function(
|
|
10407
|
-
return
|
|
10550
|
+
function(_249) {
|
|
10551
|
+
return _249.password;
|
|
10408
10552
|
},
|
|
10409
10553
|
"optionalAccess",
|
|
10410
|
-
function(
|
|
10411
|
-
return
|
|
10554
|
+
function(_250) {
|
|
10555
|
+
return _250.message;
|
|
10412
10556
|
}
|
|
10413
10557
|
])
|
|
10414
10558
|
});
|
|
@@ -10515,12 +10659,12 @@ var CheckoutForm = function(props) {
|
|
|
10515
10659
|
required: _optionalChain([
|
|
10516
10660
|
props,
|
|
10517
10661
|
"access",
|
|
10518
|
-
function(
|
|
10519
|
-
return
|
|
10662
|
+
function(_251) {
|
|
10663
|
+
return _251.texts;
|
|
10520
10664
|
},
|
|
10521
10665
|
"optionalAccess",
|
|
10522
|
-
function(
|
|
10523
|
-
return
|
|
10666
|
+
function(_252) {
|
|
10667
|
+
return _252.required;
|
|
10524
10668
|
}
|
|
10525
10669
|
])
|
|
10526
10670
|
},
|
|
@@ -10531,23 +10675,23 @@ var CheckoutForm = function(props) {
|
|
|
10531
10675
|
label: _optionalChain([
|
|
10532
10676
|
props,
|
|
10533
10677
|
"access",
|
|
10534
|
-
function(
|
|
10535
|
-
return
|
|
10678
|
+
function(_253) {
|
|
10679
|
+
return _253.texts;
|
|
10536
10680
|
},
|
|
10537
10681
|
"optionalAccess",
|
|
10538
|
-
function(
|
|
10539
|
-
return
|
|
10682
|
+
function(_254) {
|
|
10683
|
+
return _254.firstNameLabel;
|
|
10540
10684
|
}
|
|
10541
10685
|
]) + " *",
|
|
10542
10686
|
helpertext: _optionalChain([
|
|
10543
10687
|
errors,
|
|
10544
10688
|
"access",
|
|
10545
|
-
function(
|
|
10546
|
-
return
|
|
10689
|
+
function(_255) {
|
|
10690
|
+
return _255.firstName;
|
|
10547
10691
|
},
|
|
10548
10692
|
"optionalAccess",
|
|
10549
|
-
function(
|
|
10550
|
-
return
|
|
10693
|
+
function(_256) {
|
|
10694
|
+
return _256.message;
|
|
10551
10695
|
}
|
|
10552
10696
|
])
|
|
10553
10697
|
}, field), {
|
|
@@ -10567,12 +10711,12 @@ var CheckoutForm = function(props) {
|
|
|
10567
10711
|
required: _optionalChain([
|
|
10568
10712
|
props,
|
|
10569
10713
|
"access",
|
|
10570
|
-
function(
|
|
10571
|
-
return
|
|
10714
|
+
function(_257) {
|
|
10715
|
+
return _257.texts;
|
|
10572
10716
|
},
|
|
10573
10717
|
"optionalAccess",
|
|
10574
|
-
function(
|
|
10575
|
-
return
|
|
10718
|
+
function(_258) {
|
|
10719
|
+
return _258.required;
|
|
10576
10720
|
}
|
|
10577
10721
|
])
|
|
10578
10722
|
},
|
|
@@ -10584,23 +10728,23 @@ var CheckoutForm = function(props) {
|
|
|
10584
10728
|
label: _optionalChain([
|
|
10585
10729
|
props,
|
|
10586
10730
|
"access",
|
|
10587
|
-
function(
|
|
10588
|
-
return
|
|
10731
|
+
function(_259) {
|
|
10732
|
+
return _259.texts;
|
|
10589
10733
|
},
|
|
10590
10734
|
"optionalAccess",
|
|
10591
|
-
function(
|
|
10592
|
-
return
|
|
10735
|
+
function(_260) {
|
|
10736
|
+
return _260.lastNameLabel;
|
|
10593
10737
|
}
|
|
10594
10738
|
]) + " *",
|
|
10595
10739
|
helpertext: _optionalChain([
|
|
10596
10740
|
errors,
|
|
10597
10741
|
"access",
|
|
10598
|
-
function(
|
|
10599
|
-
return
|
|
10742
|
+
function(_261) {
|
|
10743
|
+
return _261.lastName;
|
|
10600
10744
|
},
|
|
10601
10745
|
"optionalAccess",
|
|
10602
|
-
function(
|
|
10603
|
-
return
|
|
10746
|
+
function(_262) {
|
|
10747
|
+
return _262.message;
|
|
10604
10748
|
}
|
|
10605
10749
|
])
|
|
10606
10750
|
}, field), {
|
|
@@ -10620,23 +10764,23 @@ var CheckoutForm = function(props) {
|
|
|
10620
10764
|
label: _optionalChain([
|
|
10621
10765
|
props,
|
|
10622
10766
|
"access",
|
|
10623
|
-
function(
|
|
10624
|
-
return
|
|
10767
|
+
function(_263) {
|
|
10768
|
+
return _263.texts;
|
|
10625
10769
|
},
|
|
10626
10770
|
"optionalAccess",
|
|
10627
|
-
function(
|
|
10628
|
-
return
|
|
10771
|
+
function(_264) {
|
|
10772
|
+
return _264.emailLabel;
|
|
10629
10773
|
}
|
|
10630
10774
|
]) + " *",
|
|
10631
10775
|
helpertext: _optionalChain([
|
|
10632
10776
|
errors,
|
|
10633
10777
|
"access",
|
|
10634
|
-
function(
|
|
10635
|
-
return
|
|
10778
|
+
function(_265) {
|
|
10779
|
+
return _265.email;
|
|
10636
10780
|
},
|
|
10637
10781
|
"optionalAccess",
|
|
10638
|
-
function(
|
|
10639
|
-
return
|
|
10782
|
+
function(_266) {
|
|
10783
|
+
return _266.message;
|
|
10640
10784
|
}
|
|
10641
10785
|
])
|
|
10642
10786
|
}, field), {
|
|
@@ -10649,12 +10793,12 @@ var CheckoutForm = function(props) {
|
|
|
10649
10793
|
required: _optionalChain([
|
|
10650
10794
|
props,
|
|
10651
10795
|
"access",
|
|
10652
|
-
function(
|
|
10653
|
-
return
|
|
10796
|
+
function(_267) {
|
|
10797
|
+
return _267.texts;
|
|
10654
10798
|
},
|
|
10655
10799
|
"optionalAccess",
|
|
10656
|
-
function(
|
|
10657
|
-
return
|
|
10800
|
+
function(_268) {
|
|
10801
|
+
return _268.emailRequiredText;
|
|
10658
10802
|
}
|
|
10659
10803
|
]),
|
|
10660
10804
|
pattern: {
|
|
@@ -10662,12 +10806,12 @@ var CheckoutForm = function(props) {
|
|
|
10662
10806
|
message: _optionalChain([
|
|
10663
10807
|
props,
|
|
10664
10808
|
"access",
|
|
10665
|
-
function(
|
|
10666
|
-
return
|
|
10809
|
+
function(_269) {
|
|
10810
|
+
return _269.texts;
|
|
10667
10811
|
},
|
|
10668
10812
|
"optionalAccess",
|
|
10669
|
-
function(
|
|
10670
|
-
return
|
|
10813
|
+
function(_270) {
|
|
10814
|
+
return _270.emailInvalidText;
|
|
10671
10815
|
}
|
|
10672
10816
|
])
|
|
10673
10817
|
}
|
|
@@ -10681,12 +10825,12 @@ var CheckoutForm = function(props) {
|
|
|
10681
10825
|
required: _optionalChain([
|
|
10682
10826
|
props,
|
|
10683
10827
|
"access",
|
|
10684
|
-
function(
|
|
10685
|
-
return
|
|
10828
|
+
function(_271) {
|
|
10829
|
+
return _271.texts;
|
|
10686
10830
|
},
|
|
10687
10831
|
"optionalAccess",
|
|
10688
|
-
function(
|
|
10689
|
-
return
|
|
10832
|
+
function(_272) {
|
|
10833
|
+
return _272.required;
|
|
10690
10834
|
}
|
|
10691
10835
|
])
|
|
10692
10836
|
},
|
|
@@ -10698,23 +10842,23 @@ var CheckoutForm = function(props) {
|
|
|
10698
10842
|
label: _optionalChain([
|
|
10699
10843
|
props,
|
|
10700
10844
|
"access",
|
|
10701
|
-
function(
|
|
10702
|
-
return
|
|
10845
|
+
function(_273) {
|
|
10846
|
+
return _273.texts;
|
|
10703
10847
|
},
|
|
10704
10848
|
"optionalAccess",
|
|
10705
|
-
function(
|
|
10706
|
-
return
|
|
10849
|
+
function(_274) {
|
|
10850
|
+
return _274.streetAddressLabel;
|
|
10707
10851
|
}
|
|
10708
10852
|
]) + " *",
|
|
10709
10853
|
helpertext: _optionalChain([
|
|
10710
10854
|
errors,
|
|
10711
10855
|
"access",
|
|
10712
|
-
function(
|
|
10713
|
-
return
|
|
10856
|
+
function(_275) {
|
|
10857
|
+
return _275.streetAddress;
|
|
10714
10858
|
},
|
|
10715
10859
|
"optionalAccess",
|
|
10716
|
-
function(
|
|
10717
|
-
return
|
|
10860
|
+
function(_276) {
|
|
10861
|
+
return _276.message;
|
|
10718
10862
|
}
|
|
10719
10863
|
])
|
|
10720
10864
|
}, field), {
|
|
@@ -10732,12 +10876,12 @@ var CheckoutForm = function(props) {
|
|
|
10732
10876
|
required: _optionalChain([
|
|
10733
10877
|
props,
|
|
10734
10878
|
"access",
|
|
10735
|
-
function(
|
|
10736
|
-
return
|
|
10879
|
+
function(_277) {
|
|
10880
|
+
return _277.texts;
|
|
10737
10881
|
},
|
|
10738
10882
|
"optionalAccess",
|
|
10739
|
-
function(
|
|
10740
|
-
return
|
|
10883
|
+
function(_278) {
|
|
10884
|
+
return _278.required;
|
|
10741
10885
|
}
|
|
10742
10886
|
])
|
|
10743
10887
|
},
|
|
@@ -10749,23 +10893,23 @@ var CheckoutForm = function(props) {
|
|
|
10749
10893
|
label: _optionalChain([
|
|
10750
10894
|
props,
|
|
10751
10895
|
"access",
|
|
10752
|
-
function(
|
|
10753
|
-
return
|
|
10896
|
+
function(_279) {
|
|
10897
|
+
return _279.texts;
|
|
10754
10898
|
},
|
|
10755
10899
|
"optionalAccess",
|
|
10756
|
-
function(
|
|
10757
|
-
return
|
|
10900
|
+
function(_280) {
|
|
10901
|
+
return _280.stateLabel;
|
|
10758
10902
|
}
|
|
10759
10903
|
]) + " *",
|
|
10760
10904
|
helpertext: _optionalChain([
|
|
10761
10905
|
errors,
|
|
10762
10906
|
"access",
|
|
10763
|
-
function(
|
|
10764
|
-
return
|
|
10907
|
+
function(_281) {
|
|
10908
|
+
return _281.province;
|
|
10765
10909
|
},
|
|
10766
10910
|
"optionalAccess",
|
|
10767
|
-
function(
|
|
10768
|
-
return
|
|
10911
|
+
function(_282) {
|
|
10912
|
+
return _282.message;
|
|
10769
10913
|
}
|
|
10770
10914
|
])
|
|
10771
10915
|
}, field), {
|
|
@@ -10785,12 +10929,12 @@ var CheckoutForm = function(props) {
|
|
|
10785
10929
|
required: _optionalChain([
|
|
10786
10930
|
props,
|
|
10787
10931
|
"access",
|
|
10788
|
-
function(
|
|
10789
|
-
return
|
|
10932
|
+
function(_283) {
|
|
10933
|
+
return _283.texts;
|
|
10790
10934
|
},
|
|
10791
10935
|
"optionalAccess",
|
|
10792
|
-
function(
|
|
10793
|
-
return
|
|
10936
|
+
function(_284) {
|
|
10937
|
+
return _284.required;
|
|
10794
10938
|
}
|
|
10795
10939
|
])
|
|
10796
10940
|
},
|
|
@@ -10802,23 +10946,23 @@ var CheckoutForm = function(props) {
|
|
|
10802
10946
|
label: _optionalChain([
|
|
10803
10947
|
props,
|
|
10804
10948
|
"access",
|
|
10805
|
-
function(
|
|
10806
|
-
return
|
|
10949
|
+
function(_285) {
|
|
10950
|
+
return _285.texts;
|
|
10807
10951
|
},
|
|
10808
10952
|
"optionalAccess",
|
|
10809
|
-
function(
|
|
10810
|
-
return
|
|
10953
|
+
function(_286) {
|
|
10954
|
+
return _286.cityLabel;
|
|
10811
10955
|
}
|
|
10812
10956
|
]) + " *",
|
|
10813
10957
|
helpertext: _optionalChain([
|
|
10814
10958
|
errors,
|
|
10815
10959
|
"access",
|
|
10816
|
-
function(
|
|
10817
|
-
return
|
|
10960
|
+
function(_287) {
|
|
10961
|
+
return _287.city;
|
|
10818
10962
|
},
|
|
10819
10963
|
"optionalAccess",
|
|
10820
|
-
function(
|
|
10821
|
-
return
|
|
10964
|
+
function(_288) {
|
|
10965
|
+
return _288.message;
|
|
10822
10966
|
}
|
|
10823
10967
|
])
|
|
10824
10968
|
}, field), {
|
|
@@ -10836,12 +10980,12 @@ var CheckoutForm = function(props) {
|
|
|
10836
10980
|
required: _optionalChain([
|
|
10837
10981
|
props,
|
|
10838
10982
|
"access",
|
|
10839
|
-
function(
|
|
10840
|
-
return
|
|
10983
|
+
function(_289) {
|
|
10984
|
+
return _289.texts;
|
|
10841
10985
|
},
|
|
10842
10986
|
"optionalAccess",
|
|
10843
|
-
function(
|
|
10844
|
-
return
|
|
10987
|
+
function(_290) {
|
|
10988
|
+
return _290.required;
|
|
10845
10989
|
}
|
|
10846
10990
|
])
|
|
10847
10991
|
},
|
|
@@ -10853,23 +10997,23 @@ var CheckoutForm = function(props) {
|
|
|
10853
10997
|
label: _optionalChain([
|
|
10854
10998
|
props,
|
|
10855
10999
|
"access",
|
|
10856
|
-
function(
|
|
10857
|
-
return
|
|
11000
|
+
function(_291) {
|
|
11001
|
+
return _291.texts;
|
|
10858
11002
|
},
|
|
10859
11003
|
"optionalAccess",
|
|
10860
|
-
function(
|
|
10861
|
-
return
|
|
11004
|
+
function(_292) {
|
|
11005
|
+
return _292.buildingNumberLabel;
|
|
10862
11006
|
}
|
|
10863
11007
|
]) + " *",
|
|
10864
11008
|
helpertext: _optionalChain([
|
|
10865
11009
|
errors,
|
|
10866
11010
|
"access",
|
|
10867
|
-
function(
|
|
10868
|
-
return
|
|
11011
|
+
function(_293) {
|
|
11012
|
+
return _293.buildingNumber;
|
|
10869
11013
|
},
|
|
10870
11014
|
"optionalAccess",
|
|
10871
|
-
function(
|
|
10872
|
-
return
|
|
11015
|
+
function(_294) {
|
|
11016
|
+
return _294.message;
|
|
10873
11017
|
}
|
|
10874
11018
|
])
|
|
10875
11019
|
}, field), {
|
|
@@ -10889,12 +11033,12 @@ var CheckoutForm = function(props) {
|
|
|
10889
11033
|
required: _optionalChain([
|
|
10890
11034
|
props,
|
|
10891
11035
|
"access",
|
|
10892
|
-
function(
|
|
10893
|
-
return
|
|
11036
|
+
function(_295) {
|
|
11037
|
+
return _295.texts;
|
|
10894
11038
|
},
|
|
10895
11039
|
"optionalAccess",
|
|
10896
|
-
function(
|
|
10897
|
-
return
|
|
11040
|
+
function(_296) {
|
|
11041
|
+
return _296.required;
|
|
10898
11042
|
}
|
|
10899
11043
|
])
|
|
10900
11044
|
},
|
|
@@ -10906,23 +11050,23 @@ var CheckoutForm = function(props) {
|
|
|
10906
11050
|
label: _optionalChain([
|
|
10907
11051
|
props,
|
|
10908
11052
|
"access",
|
|
10909
|
-
function(
|
|
10910
|
-
return
|
|
11053
|
+
function(_297) {
|
|
11054
|
+
return _297.texts;
|
|
10911
11055
|
},
|
|
10912
11056
|
"optionalAccess",
|
|
10913
|
-
function(
|
|
10914
|
-
return
|
|
11057
|
+
function(_298) {
|
|
11058
|
+
return _298.zipCodeLabel;
|
|
10915
11059
|
}
|
|
10916
11060
|
]) + " *",
|
|
10917
11061
|
helpertext: _optionalChain([
|
|
10918
11062
|
errors,
|
|
10919
11063
|
"access",
|
|
10920
|
-
function(
|
|
10921
|
-
return
|
|
11064
|
+
function(_299) {
|
|
11065
|
+
return _299.zipCode;
|
|
10922
11066
|
},
|
|
10923
11067
|
"optionalAccess",
|
|
10924
|
-
function(
|
|
10925
|
-
return
|
|
11068
|
+
function(_300) {
|
|
11069
|
+
return _300.message;
|
|
10926
11070
|
}
|
|
10927
11071
|
])
|
|
10928
11072
|
}, field), {
|
|
@@ -10940,12 +11084,12 @@ var CheckoutForm = function(props) {
|
|
|
10940
11084
|
required: _optionalChain([
|
|
10941
11085
|
props,
|
|
10942
11086
|
"access",
|
|
10943
|
-
function(
|
|
10944
|
-
return
|
|
11087
|
+
function(_301) {
|
|
11088
|
+
return _301.texts;
|
|
10945
11089
|
},
|
|
10946
11090
|
"optionalAccess",
|
|
10947
|
-
function(
|
|
10948
|
-
return
|
|
11091
|
+
function(_302) {
|
|
11092
|
+
return _302.required;
|
|
10949
11093
|
}
|
|
10950
11094
|
])
|
|
10951
11095
|
},
|
|
@@ -10956,23 +11100,23 @@ var CheckoutForm = function(props) {
|
|
|
10956
11100
|
label: _optionalChain([
|
|
10957
11101
|
props,
|
|
10958
11102
|
"access",
|
|
10959
|
-
function(
|
|
10960
|
-
return
|
|
11103
|
+
function(_303) {
|
|
11104
|
+
return _303.texts;
|
|
10961
11105
|
},
|
|
10962
11106
|
"optionalAccess",
|
|
10963
|
-
function(
|
|
10964
|
-
return
|
|
11107
|
+
function(_304) {
|
|
11108
|
+
return _304.countryLabel;
|
|
10965
11109
|
}
|
|
10966
11110
|
]) + " *",
|
|
10967
11111
|
helperText: _optionalChain([
|
|
10968
11112
|
errors,
|
|
10969
11113
|
"access",
|
|
10970
|
-
function(
|
|
10971
|
-
return
|
|
11114
|
+
function(_305) {
|
|
11115
|
+
return _305.country;
|
|
10972
11116
|
},
|
|
10973
11117
|
"optionalAccess",
|
|
10974
|
-
function(
|
|
10975
|
-
return
|
|
11118
|
+
function(_306) {
|
|
11119
|
+
return _306.message;
|
|
10976
11120
|
}
|
|
10977
11121
|
]),
|
|
10978
11122
|
options: countries_default,
|
|
@@ -11132,16 +11276,16 @@ var ComparingPlans = function(props) {
|
|
|
11132
11276
|
})), _optionalChain([
|
|
11133
11277
|
props,
|
|
11134
11278
|
"access",
|
|
11135
|
-
function(
|
|
11136
|
-
return
|
|
11279
|
+
function(_307) {
|
|
11280
|
+
return _307.plans;
|
|
11137
11281
|
},
|
|
11138
11282
|
"optionalAccess",
|
|
11139
|
-
function(
|
|
11140
|
-
return
|
|
11283
|
+
function(_308) {
|
|
11284
|
+
return _308.map;
|
|
11141
11285
|
},
|
|
11142
11286
|
"call",
|
|
11143
|
-
function(
|
|
11144
|
-
return
|
|
11287
|
+
function(_309) {
|
|
11288
|
+
return _309(function(plan) {
|
|
11145
11289
|
return plan.features.map(function(feature) {
|
|
11146
11290
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
11147
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"
|
|
@@ -11514,8 +11658,8 @@ var NotFound = function(param) {
|
|
|
11514
11658
|
}, _nullishCoalesce(_optionalChain([
|
|
11515
11659
|
texts,
|
|
11516
11660
|
"optionalAccess",
|
|
11517
|
-
function(
|
|
11518
|
-
return
|
|
11661
|
+
function(_310) {
|
|
11662
|
+
return _310.pageNotFound;
|
|
11519
11663
|
}
|
|
11520
11664
|
]), function() {
|
|
11521
11665
|
return "Page Not Found";
|
|
@@ -11524,8 +11668,8 @@ var NotFound = function(param) {
|
|
|
11524
11668
|
}, _nullishCoalesce(_optionalChain([
|
|
11525
11669
|
texts,
|
|
11526
11670
|
"optionalAccess",
|
|
11527
|
-
function(
|
|
11528
|
-
return
|
|
11671
|
+
function(_311) {
|
|
11672
|
+
return _311.ifLost;
|
|
11529
11673
|
}
|
|
11530
11674
|
]), function() {
|
|
11531
11675
|
return /* @__PURE__ */ React6.default.createElement(React6.default.Fragment, null, "If you're lost please contact us", " ", /* @__PURE__ */ React6.default.createElement("span", {
|
|
@@ -11536,8 +11680,8 @@ var NotFound = function(param) {
|
|
|
11536
11680
|
}, _nullishCoalesce(_optionalChain([
|
|
11537
11681
|
texts,
|
|
11538
11682
|
"optionalAccess",
|
|
11539
|
-
function(
|
|
11540
|
-
return
|
|
11683
|
+
function(_312) {
|
|
11684
|
+
return _312.home;
|
|
11541
11685
|
}
|
|
11542
11686
|
]), function() {
|
|
11543
11687
|
return "Home";
|
|
@@ -11566,8 +11710,8 @@ var EmptyState = function(param) {
|
|
|
11566
11710
|
}, _nullishCoalesce(_optionalChain([
|
|
11567
11711
|
texts,
|
|
11568
11712
|
"optionalAccess",
|
|
11569
|
-
function(
|
|
11570
|
-
return
|
|
11713
|
+
function(_313) {
|
|
11714
|
+
return _313.youreCaughtUp;
|
|
11571
11715
|
}
|
|
11572
11716
|
]), function() {
|
|
11573
11717
|
return "You're all caught up";
|
|
@@ -11579,8 +11723,8 @@ var EmptyState = function(param) {
|
|
|
11579
11723
|
}, _nullishCoalesce(_optionalChain([
|
|
11580
11724
|
texts,
|
|
11581
11725
|
"optionalAccess",
|
|
11582
|
-
function(
|
|
11583
|
-
return
|
|
11726
|
+
function(_314) {
|
|
11727
|
+
return _314.actionText;
|
|
11584
11728
|
}
|
|
11585
11729
|
]), function() {
|
|
11586
11730
|
return "Go Home";
|
|
@@ -11620,14 +11764,14 @@ var LeadGenerator = function(param) {
|
|
|
11620
11764
|
return /* @__PURE__ */ React6.default.createElement(Card, null, /* @__PURE__ */ React6.default.createElement(CardHeader, null, /* @__PURE__ */ React6.default.createElement(CardTitle, null, _optionalChain([
|
|
11621
11765
|
texts,
|
|
11622
11766
|
"optionalAccess",
|
|
11623
|
-
function(
|
|
11624
|
-
return
|
|
11767
|
+
function(_315) {
|
|
11768
|
+
return _315.title;
|
|
11625
11769
|
}
|
|
11626
11770
|
])), /* @__PURE__ */ React6.default.createElement(CardDescription, null, _optionalChain([
|
|
11627
11771
|
texts,
|
|
11628
11772
|
"optionalAccess",
|
|
11629
|
-
function(
|
|
11630
|
-
return
|
|
11773
|
+
function(_316) {
|
|
11774
|
+
return _316.subtitle;
|
|
11631
11775
|
}
|
|
11632
11776
|
]))), /* @__PURE__ */ React6.default.createElement(CardContent, null, /* @__PURE__ */ React6.default.createElement("form", {
|
|
11633
11777
|
className: "flex flex-row gap-2",
|
|
@@ -11642,8 +11786,8 @@ var LeadGenerator = function(param) {
|
|
|
11642
11786
|
}), /* @__PURE__ */ React6.default.createElement(Button, null, _nullishCoalesce(_optionalChain([
|
|
11643
11787
|
texts,
|
|
11644
11788
|
"optionalAccess",
|
|
11645
|
-
function(
|
|
11646
|
-
return
|
|
11789
|
+
function(_317) {
|
|
11790
|
+
return _317.submit;
|
|
11647
11791
|
}
|
|
11648
11792
|
]), function() {
|
|
11649
11793
|
return "Submit";
|
|
@@ -11693,16 +11837,16 @@ var NoPermission = function(param) {
|
|
|
11693
11837
|
}, _nullishCoalesce(_optionalChain([
|
|
11694
11838
|
texts,
|
|
11695
11839
|
"optionalAccess",
|
|
11696
|
-
function(
|
|
11697
|
-
return
|
|
11840
|
+
function(_318) {
|
|
11841
|
+
return _318.title;
|
|
11698
11842
|
}
|
|
11699
11843
|
]), function() {
|
|
11700
11844
|
return "You don't have permission";
|
|
11701
11845
|
})), /* @__PURE__ */ React6.default.createElement("div", null, _nullishCoalesce(_optionalChain([
|
|
11702
11846
|
texts,
|
|
11703
11847
|
"optionalAccess",
|
|
11704
|
-
function(
|
|
11705
|
-
return
|
|
11848
|
+
function(_319) {
|
|
11849
|
+
return _319.subtitle;
|
|
11706
11850
|
}
|
|
11707
11851
|
]), function() {
|
|
11708
11852
|
return "If you think this is a problem please contact your administrator or our customer support";
|