@sikka/hawa 0.1.91 → 0.1.93
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 +66 -15
- package/dist/index.d.ts +66 -15
- package/dist/index.js +649 -362
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +836 -642
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +120 -9
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +99 -51
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +13 -9
- package/src/blocks/Payment/CreditCardForm.tsx +63 -2
- package/src/elements/Button.tsx +10 -1
- package/src/elements/HawaRadio.tsx +13 -13
- package/src/elements/HawaTextField.tsx +7 -2
- package/src/elements/Icons.tsx +24 -0
- package/src/elements/StickyFeatures.tsx +53 -0
- package/src/elements/Toaster.tsx +1 -3
- package/src/elements/UserReferralSource.tsx +101 -0
- package/src/elements/index.ts +2 -0
- package/src/styles.css +120 -9
- package/src/tailwind.css +16 -6
- package/src/translations/ar.json +9 -0
- package/src/translations/en.json +9 -0
package/dist/index.js
CHANGED
|
@@ -221,14 +221,14 @@ var React16 = _interopRequireWildcard(_react);
|
|
|
221
221
|
var React19 = _interopRequireWildcard(_react);
|
|
222
222
|
var React31 = _interopRequireWildcard(_react);
|
|
223
223
|
var React60 = _interopRequireWildcard(_react);
|
|
224
|
-
var React62 = _interopRequireWildcard(_react);
|
|
225
224
|
var React63 = _interopRequireWildcard(_react);
|
|
226
|
-
var React64 = _interopRequireWildcard(_react);
|
|
227
225
|
var React65 = _interopRequireWildcard(_react);
|
|
228
226
|
var React66 = _interopRequireWildcard(_react);
|
|
229
227
|
var React67 = _interopRequireWildcard(_react);
|
|
228
|
+
var React68 = _interopRequireWildcard(_react);
|
|
230
229
|
var React69 = _interopRequireWildcard(_react);
|
|
231
|
-
var
|
|
230
|
+
var React71 = _interopRequireWildcard(_react);
|
|
231
|
+
var React77 = _interopRequireWildcard(_react);
|
|
232
232
|
var _clsx = require("clsx");
|
|
233
233
|
var _clsx2 = _interopRequireDefault(_clsx);
|
|
234
234
|
var HawaCheckbox = function(props) {
|
|
@@ -385,7 +385,9 @@ var HawaTextField = function(_param) {
|
|
|
385
385
|
}, props.icon), /* @__PURE__ */ React6.default.createElement("input", _object_spread_props(_object_spread({}, props), {
|
|
386
386
|
className: cn(defaultInputStyle, props.icon && "pl-10", preview && "border-transparent bg-transparent px-0"),
|
|
387
387
|
disabled: preview
|
|
388
|
-
}))), props.
|
|
388
|
+
}))), props.iconInside && /* @__PURE__ */ React6.default.createElement("div", {
|
|
389
|
+
className: "absolute right-1 top-[41px] -translate-y-1/2"
|
|
390
|
+
}, props.iconInside), props.helpertext ? /* @__PURE__ */ React6.default.createElement("p", {
|
|
389
391
|
className: "mb-0 mt-1 text-xs text-red-600 dark:text-red-500"
|
|
390
392
|
}, props.helpertext) : null));
|
|
391
393
|
};
|
|
@@ -477,7 +479,7 @@ var HawaRadio = function(_param) {
|
|
|
477
479
|
case "tabs":
|
|
478
480
|
return /* @__PURE__ */ React6.default.createElement("ul", {
|
|
479
481
|
ref: ref,
|
|
480
|
-
className:
|
|
482
|
+
className: cn(_optionalChain([
|
|
481
483
|
props,
|
|
482
484
|
"access",
|
|
483
485
|
function(_3) {
|
|
@@ -507,7 +509,7 @@ var HawaRadio = function(_param) {
|
|
|
507
509
|
setSelectedOption(opt.value);
|
|
508
510
|
props.onChangeTab(opt.value);
|
|
509
511
|
},
|
|
510
|
-
className:
|
|
512
|
+
className: cn("w-full cursor-pointer", orientation === "horizontal" && parentDirection === "ltr" && "rounded-none first:rounded-l last:rounded-r", orientation === "horizontal" && parentDirection === "rtl" && "rounded-none first:rounded-r last:rounded-l", orientation === "vertical" && "rounded-none first:rounded-t last:rounded-b", "last flex flex-row items-center justify-center gap-2 ", selectedOption === opt.value ? activeTabStyle : inactiveTabStyle),
|
|
511
513
|
key: o
|
|
512
514
|
}, opt.icon && opt.icon, opt.label);
|
|
513
515
|
});
|
|
@@ -515,7 +517,7 @@ var HawaRadio = function(_param) {
|
|
|
515
517
|
]));
|
|
516
518
|
case "bordered":
|
|
517
519
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
518
|
-
className:
|
|
520
|
+
className: cn(orientationStyle[orientation], "gap-4")
|
|
519
521
|
}, props.options.map(function(opt, i) {
|
|
520
522
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
521
523
|
className: "rounded border border-gray-200 "
|
|
@@ -530,12 +532,12 @@ var HawaRadio = function(_param) {
|
|
|
530
532
|
name: "bordered-radio"
|
|
531
533
|
}), /* @__PURE__ */ React6.default.createElement("label", {
|
|
532
534
|
htmlFor: opt.value.toString(),
|
|
533
|
-
className:
|
|
535
|
+
className: cn("ml-2 w-full p-4 pl-3 text-sm font-medium dark:text-white", opt.disabled ? "opacity-50" : "cursor-pointer text-gray-900")
|
|
534
536
|
}, opt.label)));
|
|
535
537
|
}));
|
|
536
538
|
case "cards":
|
|
537
539
|
return /* @__PURE__ */ React6.default.createElement("ul", {
|
|
538
|
-
className:
|
|
540
|
+
className: cn(orientationStyle[orientation], "gap-4")
|
|
539
541
|
}, _optionalChain([
|
|
540
542
|
props,
|
|
541
543
|
"access",
|
|
@@ -559,7 +561,7 @@ var HawaRadio = function(_param) {
|
|
|
559
561
|
disabled: opt.disabled
|
|
560
562
|
}), /* @__PURE__ */ React6.default.createElement("label", {
|
|
561
563
|
htmlFor: opt.value.toString(),
|
|
562
|
-
className:
|
|
564
|
+
className: cn("inline-flex h-full w-full items-center justify-between rounded-lg border border-gray-200 bg-white p-5 text-gray-500 peer-checked:border-blue-600 peer-checked:text-blue-600 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:peer-checked:text-primary", opt.disabled ? "opacity-50" : "cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-gray-300 hover:text-gray-600")
|
|
563
565
|
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
564
566
|
className: "block h-full w-full"
|
|
565
567
|
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
@@ -572,10 +574,10 @@ var HawaRadio = function(_param) {
|
|
|
572
574
|
]));
|
|
573
575
|
default:
|
|
574
576
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
575
|
-
className: orientationStyle[orientation]
|
|
577
|
+
className: cn(orientationStyle[orientation], "gap-2")
|
|
576
578
|
}, props.options.map(function(opt, i) {
|
|
577
579
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
578
|
-
className: "radio-item radio-item-default
|
|
580
|
+
className: "radio-item radio-item-default flex items-center transition-all",
|
|
579
581
|
key: i + 1
|
|
580
582
|
}, /* @__PURE__ */ React6.default.createElement("input", {
|
|
581
583
|
disabled: opt.disabled,
|
|
@@ -585,7 +587,7 @@ var HawaRadio = function(_param) {
|
|
|
585
587
|
name: "default-radio"
|
|
586
588
|
}), /* @__PURE__ */ React6.default.createElement("label", {
|
|
587
589
|
htmlFor: opt.value.toString(),
|
|
588
|
-
className:
|
|
590
|
+
className: cn("text-sm font-medium dark:text-white", opt.disabled ? "text-gray-400" : "cursor-pointer text-gray-900")
|
|
589
591
|
}, opt.label));
|
|
590
592
|
}));
|
|
591
593
|
}
|
|
@@ -854,7 +856,8 @@ var buttonVariants = _classvarianceauthority.cva.call(void 0, "inline-flex items
|
|
|
854
856
|
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
855
857
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
856
858
|
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
857
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
859
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
860
|
+
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
861
|
},
|
|
859
862
|
size: {
|
|
860
863
|
default: "h-10 px-4 py-2",
|
|
@@ -882,6 +885,7 @@ var Button = React16.forwardRef(function(_param, ref) {
|
|
|
882
885
|
"children"
|
|
883
886
|
]);
|
|
884
887
|
var Comp = "button";
|
|
888
|
+
var loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "bg-primary" : "bg-primary-foreground";
|
|
885
889
|
return /* @__PURE__ */ React16.createElement(Comp, _object_spread({
|
|
886
890
|
className: cn(buttonVariants({
|
|
887
891
|
variant: variant,
|
|
@@ -891,7 +895,7 @@ var Button = React16.forwardRef(function(_param, ref) {
|
|
|
891
895
|
ref: ref
|
|
892
896
|
}, props), isLoading ? /* @__PURE__ */ React16.createElement(HawaLoading, {
|
|
893
897
|
design: "dots-pulse",
|
|
894
|
-
color:
|
|
898
|
+
color: loadingColor,
|
|
895
899
|
size: "button"
|
|
896
900
|
}) : children);
|
|
897
901
|
});
|
|
@@ -6857,6 +6861,119 @@ var ActionCard = function(props) {
|
|
|
6857
6861
|
className: "flex flex-row justify-between text-sm transition-all duration-200 ".concat(hovered ? "opacity-100" : "opacity-0")
|
|
6858
6862
|
}, props.bottomElement));
|
|
6859
6863
|
};
|
|
6864
|
+
// src/elements/StickyFeatures.tsx
|
|
6865
|
+
var StickyFeatures = function(props) {
|
|
6866
|
+
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
6867
|
+
className: "bg-white py-24 sm:py-32"
|
|
6868
|
+
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
6869
|
+
className: "mx-auto flex max-w-5xl flex-col items-start gap-10 px-6 md:flex-row lg:px-8"
|
|
6870
|
+
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
6871
|
+
className: "w-full md:sticky md:top-10 md:w-[28rem]"
|
|
6872
|
+
}, /* @__PURE__ */ React6.default.createElement("h2", {
|
|
6873
|
+
className: "text-lg font-semibold leading-8 tracking-tight text-indigo-600"
|
|
6874
|
+
}, props.tag), /* @__PURE__ */ React6.default.createElement("p", {
|
|
6875
|
+
className: "mt-2 text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl"
|
|
6876
|
+
}, props.title), /* @__PURE__ */ React6.default.createElement("p", {
|
|
6877
|
+
className: "mb-2 mt-6 text-base leading-7 text-gray-600"
|
|
6878
|
+
}, props.description)), /* @__PURE__ */ React6.default.createElement("div", {
|
|
6879
|
+
className: "mt-5 w-full min-w-0 flex-1 md:mt-0"
|
|
6880
|
+
}, /* @__PURE__ */ React6.default.createElement("dl", {
|
|
6881
|
+
className: "grid grid-cols-1 gap-x-8 gap-y-10 md:max-w-xl lg:max-w-none lg:gap-y-16"
|
|
6882
|
+
}, props.features.map(function(f) {
|
|
6883
|
+
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
6884
|
+
className: "relative rounded-lg bg-gray-50 p-10"
|
|
6885
|
+
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
6886
|
+
className: "flex h-10 w-10 items-center justify-center rounded-lg bg-indigo-600"
|
|
6887
|
+
}, f.icon), /* @__PURE__ */ React6.default.createElement("dt", {
|
|
6888
|
+
className: "mt-4 text-lg font-semibold leading-7 text-gray-900"
|
|
6889
|
+
}, f.title), /* @__PURE__ */ React6.default.createElement("dd", {
|
|
6890
|
+
className: "mt-2 text-base leading-7 text-gray-600"
|
|
6891
|
+
}, f.description));
|
|
6892
|
+
})))));
|
|
6893
|
+
};
|
|
6894
|
+
// src/elements/UserReferralSource.tsx
|
|
6895
|
+
// src/elements/Textarea.tsx
|
|
6896
|
+
var Textarea = React60.forwardRef(function(_param, ref) {
|
|
6897
|
+
var className = _param.className, label = _param.label, props = _object_without_properties(_param, [
|
|
6898
|
+
"className",
|
|
6899
|
+
"label"
|
|
6900
|
+
]);
|
|
6901
|
+
return /* @__PURE__ */ React60.createElement(React60.Fragment, null, label && /* @__PURE__ */ React60.createElement(Label, {
|
|
6902
|
+
htmlFor: props.id
|
|
6903
|
+
}, label), /* @__PURE__ */ React60.createElement("textarea", _object_spread({
|
|
6904
|
+
className: cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
6905
|
+
ref: ref
|
|
6906
|
+
}, props)));
|
|
6907
|
+
});
|
|
6908
|
+
Textarea.displayName = "Textarea";
|
|
6909
|
+
// src/elements/UserReferralSource.tsx
|
|
6910
|
+
var UserReferralSource = function(_param) {
|
|
6911
|
+
var _param_position = _param.position, position = _param_position === void 0 ? "bottom-right" : _param_position, props = _object_without_properties(_param, [
|
|
6912
|
+
"position"
|
|
6913
|
+
]);
|
|
6914
|
+
var _react_useState_call = _sliced_to_array(_react.useState.call(void 0, false), 2), closed = _react_useState_call[0], setClosed = _react_useState_call[1];
|
|
6915
|
+
var _react_useState_call1 = _sliced_to_array(_react.useState.call(void 0, false), 2), answered = _react_useState_call1[0], setAnswered = _react_useState_call1[1];
|
|
6916
|
+
var _react_useState_call2 = _sliced_to_array(_react.useState.call(void 0, null), 2), clickedOption = _react_useState_call2[0], setClickedOption = _react_useState_call2[1];
|
|
6917
|
+
var _react_useState_call3 = _sliced_to_array(_react.useState.call(void 0, 5), 2), closingTimer = _react_useState_call3[0], setClosingTimer = _react_useState_call3[1];
|
|
6918
|
+
var popUpRef = _react.useRef.call(void 0, null);
|
|
6919
|
+
var boxPosition = {
|
|
6920
|
+
"bottom-right": "right-4",
|
|
6921
|
+
"bottom-left": "left-4"
|
|
6922
|
+
};
|
|
6923
|
+
_react.useEffect.call(void 0, function() {
|
|
6924
|
+
var timeoutHide = setTimeout(function() {
|
|
6925
|
+
if (closingTimer >= 0) {
|
|
6926
|
+
setClosingTimer(closingTimer - 1);
|
|
6927
|
+
}
|
|
6928
|
+
}, 1e3);
|
|
6929
|
+
return function() {
|
|
6930
|
+
clearTimeout(timeoutHide);
|
|
6931
|
+
};
|
|
6932
|
+
}, [
|
|
6933
|
+
closingTimer
|
|
6934
|
+
]);
|
|
6935
|
+
var slowClose = function() {
|
|
6936
|
+
setClosed(true);
|
|
6937
|
+
setTimeout(function() {
|
|
6938
|
+
popUpRef.current.removeChild(popUpRef.current.children[0]);
|
|
6939
|
+
}, 200);
|
|
6940
|
+
};
|
|
6941
|
+
return /* @__PURE__ */ React6.default.createElement(Card, {
|
|
6942
|
+
ref: popUpRef,
|
|
6943
|
+
className: _clsx2.default.call(void 0, "fixed bottom-4 p-4 ", boxPosition[position])
|
|
6944
|
+
}, /* @__PURE__ */ React6.default.createElement("button", {
|
|
6945
|
+
type: "button",
|
|
6946
|
+
className: "absolute right-2 top-2 inline-flex h-8 w-8 rounded p-1.5 text-gray-400 transition-all hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
6947
|
+
"data-dismiss-target": "#toast-default",
|
|
6948
|
+
"aria-label": "Close",
|
|
6949
|
+
onClick: function() {
|
|
6950
|
+
return slowClose();
|
|
6951
|
+
}
|
|
6952
|
+
}, /* @__PURE__ */ React6.default.createElement("svg", {
|
|
6953
|
+
"aria-hidden": "true",
|
|
6954
|
+
className: "h-5 w-5",
|
|
6955
|
+
fill: "currentColor",
|
|
6956
|
+
viewBox: "0 0 20 20"
|
|
6957
|
+
}, /* @__PURE__ */ React6.default.createElement("path", {
|
|
6958
|
+
fillRule: "evenodd",
|
|
6959
|
+
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
6960
|
+
clipRule: "evenodd"
|
|
6961
|
+
}))), /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
6962
|
+
headless: true
|
|
6963
|
+
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
6964
|
+
className: _clsx2.default.call(void 0, "flex flex-col gap-4", // "relative flex w-full max-w-sm flex-col gap-2 rounded border bg-background p-4 shadow-md transition-all",
|
|
6965
|
+
closed ? "opacity-0" : "opacity-100")
|
|
6966
|
+
}, /* @__PURE__ */ React6.default.createElement("div", {
|
|
6967
|
+
className: "mt-4 font-bold"
|
|
6968
|
+
}, props.question), /* @__PURE__ */ React6.default.createElement("div", {
|
|
6969
|
+
className: "flex w-full flex-row gap-1 rounded "
|
|
6970
|
+
}, /* @__PURE__ */ React6.default.createElement(HawaRadio, {
|
|
6971
|
+
orientation: "vertical",
|
|
6972
|
+
options: props.options
|
|
6973
|
+
})), /* @__PURE__ */ React6.default.createElement("div", null, /* @__PURE__ */ React6.default.createElement(Textarea, null))), /* @__PURE__ */ React6.default.createElement(Button, {
|
|
6974
|
+
className: "mt-4 w-full"
|
|
6975
|
+
}, "Submit")));
|
|
6976
|
+
};
|
|
6860
6977
|
// src/elements/Carousel.tsx
|
|
6861
6978
|
// src/hooks/useCarousel.ts
|
|
6862
6979
|
var useCarousel = function(imageWidth) {
|
|
@@ -6931,13 +7048,13 @@ var Carousel = function(param) {
|
|
|
6931
7048
|
}));
|
|
6932
7049
|
};
|
|
6933
7050
|
// src/elements/Input.tsx
|
|
6934
|
-
var Input =
|
|
7051
|
+
var Input = React63.forwardRef(function(_param, ref) {
|
|
6935
7052
|
var className = _param.className, preview = _param.preview, type = _param.type, props = _object_without_properties(_param, [
|
|
6936
7053
|
"className",
|
|
6937
7054
|
"preview",
|
|
6938
7055
|
"type"
|
|
6939
7056
|
]);
|
|
6940
|
-
return /* @__PURE__ */
|
|
7057
|
+
return /* @__PURE__ */ React63.createElement("input", _object_spread({
|
|
6941
7058
|
type: type,
|
|
6942
7059
|
className: cn("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className, preview && " disabled:cursor-default disabled:opacity-100 border-opacity-25 "),
|
|
6943
7060
|
disabled: preview,
|
|
@@ -7020,13 +7137,13 @@ var InterfaceSettings = function(_param) {
|
|
|
7020
7137
|
// src/elements/Popover.tsx
|
|
7021
7138
|
var _reactpopover = require("@radix-ui/react-popover");
|
|
7022
7139
|
var PopoverPrimitive = _interopRequireWildcard(_reactpopover);
|
|
7023
|
-
var PopoverContent =
|
|
7140
|
+
var PopoverContent = React65.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7024
7141
|
var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
|
|
7025
7142
|
"className",
|
|
7026
7143
|
"align",
|
|
7027
7144
|
"sideOffset"
|
|
7028
7145
|
]);
|
|
7029
|
-
return
|
|
7146
|
+
return React65.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React65.createElement(PopoverPrimitive.Content, _object_spread({
|
|
7030
7147
|
ref: ref,
|
|
7031
7148
|
align: align,
|
|
7032
7149
|
sideOffset: sideOffset,
|
|
@@ -7036,7 +7153,7 @@ var PopoverContent = React62.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
|
7036
7153
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
7037
7154
|
var Popover = function(param) {
|
|
7038
7155
|
var trigger = param.trigger, children = param.children, className = param.className, _param_align = param.align, align = _param_align === void 0 ? "center" : _param_align, side = param.side, _param_sideOffset = param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset;
|
|
7039
|
-
return /* @__PURE__ */
|
|
7156
|
+
return /* @__PURE__ */ React65.createElement(PopoverPrimitive.Root, null, /* @__PURE__ */ React65.createElement(PopoverPrimitive.Trigger, null, trigger), /* @__PURE__ */ React65.createElement(PopoverContent, {
|
|
7040
7157
|
side: side,
|
|
7041
7158
|
className: className,
|
|
7042
7159
|
align: align,
|
|
@@ -7046,79 +7163,65 @@ var Popover = function(param) {
|
|
|
7046
7163
|
// src/elements/Tabs.tsx
|
|
7047
7164
|
var _reacttabs = require("@radix-ui/react-tabs");
|
|
7048
7165
|
var TabsPrimitive = _interopRequireWildcard(_reacttabs);
|
|
7049
|
-
var TabsContext =
|
|
7166
|
+
var TabsContext = React66.createContext({
|
|
7050
7167
|
orientation: "vertical"
|
|
7051
7168
|
});
|
|
7052
|
-
var Tabs =
|
|
7169
|
+
var Tabs = React66.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7053
7170
|
var className = _param.className, orientation = _param.orientation, props = _object_without_properties(_param, [
|
|
7054
7171
|
"className",
|
|
7055
7172
|
"orientation"
|
|
7056
7173
|
]);
|
|
7057
|
-
return
|
|
7174
|
+
return React66.createElement(TabsPrimitive.Root, _object_spread({
|
|
7058
7175
|
ref: ref,
|
|
7059
7176
|
className: cn("flex gap-2", orientation === "horizontal" ? "flex-row" : "flex-col", className)
|
|
7060
|
-
}, props), /* @__PURE__ */
|
|
7177
|
+
}, props), /* @__PURE__ */ React66.createElement(TabsContext.Provider, {
|
|
7061
7178
|
value: {
|
|
7062
7179
|
orientation: orientation
|
|
7063
7180
|
}
|
|
7064
7181
|
}, props.children));
|
|
7065
7182
|
});
|
|
7066
7183
|
Tabs.displayName = TabsPrimitive.Root.displayName;
|
|
7067
|
-
var TabsList =
|
|
7184
|
+
var TabsList = React66.forwardRef(function(_param, ref) {
|
|
7068
7185
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7069
7186
|
"className"
|
|
7070
7187
|
]);
|
|
7071
|
-
var orientation =
|
|
7072
|
-
return /* @__PURE__ */
|
|
7188
|
+
var orientation = React66.useContext(TabsContext).orientation;
|
|
7189
|
+
return /* @__PURE__ */ React66.createElement(TabsPrimitive.List, _object_spread({
|
|
7073
7190
|
ref: ref,
|
|
7074
7191
|
className: cn("flex w-fit flex-wrap items-center justify-start gap-1 rounded border bg-muted p-1 text-muted-foreground dark:border-primary/10 ", orientation === "horizontal" ? "flex-col" : "flex-row", className)
|
|
7075
7192
|
}, props));
|
|
7076
7193
|
});
|
|
7077
7194
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
7078
|
-
var TabsTrigger =
|
|
7195
|
+
var TabsTrigger = React66.forwardRef(function(_param, ref) {
|
|
7079
7196
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7080
7197
|
"className"
|
|
7081
7198
|
]);
|
|
7082
|
-
return /* @__PURE__ */
|
|
7199
|
+
return /* @__PURE__ */ React66.createElement(TabsPrimitive.Trigger, _object_spread({
|
|
7083
7200
|
ref: ref,
|
|
7084
7201
|
className: cn("inline-flex w-full flex-1 select-none items-center justify-center whitespace-nowrap rounded border px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-sm dark:border-primary/10", className)
|
|
7085
7202
|
}, props));
|
|
7086
7203
|
});
|
|
7087
7204
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
7088
|
-
var TabsContent =
|
|
7205
|
+
var TabsContent = React66.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7089
7206
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7090
7207
|
"className"
|
|
7091
7208
|
]);
|
|
7092
|
-
return
|
|
7209
|
+
return React66.createElement(TabsPrimitive.Content, _object_spread({
|
|
7093
7210
|
ref: ref,
|
|
7094
7211
|
className: cn("w-full ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", className)
|
|
7095
7212
|
}, props));
|
|
7096
7213
|
});
|
|
7097
7214
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
7098
|
-
// src/elements/Textarea.tsx
|
|
7099
|
-
var Textarea = React64.forwardRef(function(_param, ref) {
|
|
7100
|
-
var className = _param.className, label = _param.label, props = _object_without_properties(_param, [
|
|
7101
|
-
"className",
|
|
7102
|
-
"label"
|
|
7103
|
-
]);
|
|
7104
|
-
return /* @__PURE__ */ React64.createElement(React64.Fragment, null, label && /* @__PURE__ */ React64.createElement(Label, {
|
|
7105
|
-
htmlFor: props.id
|
|
7106
|
-
}, label), /* @__PURE__ */ React64.createElement("textarea", _object_spread({
|
|
7107
|
-
className: cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
7108
|
-
ref: ref
|
|
7109
|
-
}, props)));
|
|
7110
|
-
});
|
|
7111
|
-
Textarea.displayName = "Textarea";
|
|
7112
7215
|
// src/elements/Separator.tsx
|
|
7113
7216
|
var _reactseparator = require("@radix-ui/react-separator");
|
|
7114
7217
|
var SeparatorPrimitive = _interopRequireWildcard(_reactseparator);
|
|
7115
|
-
var Separator3 =
|
|
7218
|
+
var Separator3 = React67.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7116
7219
|
var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "horizontal" : _param_orientation, _param_decorative = _param.decorative, decorative = _param_decorative === void 0 ? true : _param_decorative, props = _object_without_properties(_param, [
|
|
7117
7220
|
"className",
|
|
7118
7221
|
"orientation",
|
|
7119
7222
|
"decorative"
|
|
7120
7223
|
]);
|
|
7121
|
-
return
|
|
7224
|
+
return React67.createElement(SeparatorPrimitive.Root, _object_spread({
|
|
7122
7225
|
ref: ref,
|
|
7123
7226
|
decorative: decorative,
|
|
7124
7227
|
orientation: orientation,
|
|
@@ -7148,24 +7251,24 @@ var toastVariants = _classvarianceauthority.cva.call(void 0, "group pointer-even
|
|
|
7148
7251
|
}
|
|
7149
7252
|
});
|
|
7150
7253
|
var ToastProvider = ToastPrimitives.Provider;
|
|
7151
|
-
var ToastViewport =
|
|
7254
|
+
var ToastViewport = React68.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7152
7255
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7153
7256
|
"className"
|
|
7154
7257
|
]);
|
|
7155
|
-
return
|
|
7258
|
+
return React68.createElement(ToastPrimitives.Viewport, _object_spread({
|
|
7156
7259
|
ref: ref,
|
|
7157
7260
|
className: cn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", className)
|
|
7158
7261
|
}, props));
|
|
7159
7262
|
});
|
|
7160
7263
|
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
7161
|
-
var Toast =
|
|
7264
|
+
var Toast = React68.forwardRef(function(_param, ref) {
|
|
7162
7265
|
var className = _param.className, variant = _param.variant, _param_severity = _param.severity, severity = _param_severity === void 0 ? "none" : _param_severity, direction = _param.direction, props = _object_without_properties(_param, [
|
|
7163
7266
|
"className",
|
|
7164
7267
|
"variant",
|
|
7165
7268
|
"severity",
|
|
7166
7269
|
"direction"
|
|
7167
7270
|
]);
|
|
7168
|
-
return /* @__PURE__ */
|
|
7271
|
+
return /* @__PURE__ */ React68.createElement(ToastPrimitives.Root, _object_spread({
|
|
7169
7272
|
ref: ref,
|
|
7170
7273
|
className: cn(toastVariants({
|
|
7171
7274
|
variant: variant,
|
|
@@ -7175,52 +7278,52 @@ var Toast = React66.forwardRef(function(_param, ref) {
|
|
|
7175
7278
|
}, props));
|
|
7176
7279
|
});
|
|
7177
7280
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
7178
|
-
var ToastAction =
|
|
7281
|
+
var ToastAction = React68.forwardRef(function(_param, ref) {
|
|
7179
7282
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7180
7283
|
"className"
|
|
7181
7284
|
]);
|
|
7182
|
-
return /* @__PURE__ */
|
|
7285
|
+
return /* @__PURE__ */ React68.createElement(ToastPrimitives.Action, _object_spread({
|
|
7183
7286
|
ref: ref,
|
|
7184
7287
|
className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", "group-[.info]:border-muted/40 group-[.info]:hover:border-info/30 group-[.info]:hover:bg-info group-[.info]:hover:text-info-foreground group-[.info]:focus:ring-info", "group-[.error]:border-muted/40 group-[.error]:hover:border-error/30 group-[.error]:hover:bg-error group-[.error]:hover:text-error-foreground group-[.error]:focus:ring-error", "group-[.success]:border-muted/40 group-[.success]:hover:border-success/30 group-[.success]:hover:bg-success group-[.success]:hover:text-success-foreground group-[.success]:focus:ring-success", "group-[.warning]:border-muted/40 group-[.warning]:hover:border-warning/30 group-[.warning]:hover:bg-warning group-[.warning]:hover:text-warning-foreground group-[.warning]:focus:ring-warning", className)
|
|
7185
7288
|
}, props));
|
|
7186
7289
|
});
|
|
7187
7290
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
7188
|
-
var ToastClose =
|
|
7291
|
+
var ToastClose = React68.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7189
7292
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7190
7293
|
"className"
|
|
7191
7294
|
]);
|
|
7192
|
-
return
|
|
7295
|
+
return React68.createElement(ToastPrimitives.Close, _object_spread({
|
|
7193
7296
|
ref: ref,
|
|
7194
7297
|
className: cn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600", className),
|
|
7195
7298
|
"toast-close": ""
|
|
7196
|
-
}, props), /* @__PURE__ */
|
|
7299
|
+
}, props), /* @__PURE__ */ React68.createElement("svg", {
|
|
7197
7300
|
"aria-label": "Close Icon",
|
|
7198
7301
|
"aria-hidden": "true",
|
|
7199
7302
|
className: "h-4 w-4",
|
|
7200
7303
|
fill: "currentColor",
|
|
7201
7304
|
viewBox: "0 0 20 20"
|
|
7202
|
-
}, /* @__PURE__ */
|
|
7305
|
+
}, /* @__PURE__ */ React68.createElement("path", {
|
|
7203
7306
|
fillRule: "evenodd",
|
|
7204
7307
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
7205
7308
|
clipRule: "evenodd"
|
|
7206
7309
|
})));
|
|
7207
7310
|
});
|
|
7208
7311
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
7209
|
-
var ToastTitle =
|
|
7312
|
+
var ToastTitle = React68.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7210
7313
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7211
7314
|
"className"
|
|
7212
7315
|
]);
|
|
7213
|
-
return
|
|
7316
|
+
return React68.createElement(ToastPrimitives.Title, _object_spread({
|
|
7214
7317
|
ref: ref,
|
|
7215
7318
|
className: cn("text-sm font-semibold", className)
|
|
7216
7319
|
}, props));
|
|
7217
7320
|
});
|
|
7218
7321
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
7219
|
-
var ToastDescription =
|
|
7322
|
+
var ToastDescription = React68.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7220
7323
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7221
7324
|
"className"
|
|
7222
7325
|
]);
|
|
7223
|
-
return
|
|
7326
|
+
return React68.createElement(ToastPrimitives.Description, _object_spread({
|
|
7224
7327
|
ref: ref,
|
|
7225
7328
|
className: cn("text-sm opacity-90", className)
|
|
7226
7329
|
}, props));
|
|
@@ -7338,8 +7441,8 @@ function toast(_param) {
|
|
|
7338
7441
|
};
|
|
7339
7442
|
}
|
|
7340
7443
|
function useToast() {
|
|
7341
|
-
var
|
|
7342
|
-
|
|
7444
|
+
var _React69_useState = _sliced_to_array(React69.useState(memoryState), 2), state = _React69_useState[0], setState = _React69_useState[1];
|
|
7445
|
+
React69.useEffect(function() {
|
|
7343
7446
|
listeners.push(setState);
|
|
7344
7447
|
return function() {
|
|
7345
7448
|
var index = listeners.indexOf(setState);
|
|
@@ -7377,7 +7480,7 @@ function Toaster(props) {
|
|
|
7377
7480
|
direction: props.direction,
|
|
7378
7481
|
key: id
|
|
7379
7482
|
}, toastProps), /* @__PURE__ */ React6.default.createElement("div", {
|
|
7380
|
-
className:
|
|
7483
|
+
className: "grid gap-1 text-start"
|
|
7381
7484
|
}, title && /* @__PURE__ */ React6.default.createElement(ToastTitle, null, title), description && /* @__PURE__ */ React6.default.createElement(ToastDescription, null, description)), action, /* @__PURE__ */ React6.default.createElement(ToastClose, null));
|
|
7382
7485
|
}), /* @__PURE__ */ React6.default.createElement(ToastViewport, {
|
|
7383
7486
|
className: cn("gap-2", isRTL && "fixed left-0")
|
|
@@ -7392,42 +7495,42 @@ var DialogPortal = function(_param) /* @__PURE__ */ {
|
|
|
7392
7495
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7393
7496
|
"className"
|
|
7394
7497
|
]);
|
|
7395
|
-
return
|
|
7498
|
+
return React71.createElement(DialogPrimitive.Portal, _object_spread({
|
|
7396
7499
|
className: cn(className)
|
|
7397
7500
|
}, props));
|
|
7398
7501
|
};
|
|
7399
7502
|
DialogPortal.displayName = DialogPrimitive.Portal.displayName;
|
|
7400
|
-
var DialogOverlay =
|
|
7503
|
+
var DialogOverlay = React71.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7401
7504
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7402
7505
|
"className"
|
|
7403
7506
|
]);
|
|
7404
|
-
return
|
|
7507
|
+
return React71.createElement(DialogPrimitive.Overlay, _object_spread({
|
|
7405
7508
|
ref: ref,
|
|
7406
7509
|
className: cn("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
|
|
7407
7510
|
}, props));
|
|
7408
7511
|
});
|
|
7409
7512
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
7410
|
-
var DialogContent =
|
|
7513
|
+
var DialogContent = React71.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7411
7514
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
7412
7515
|
"className",
|
|
7413
7516
|
"children"
|
|
7414
7517
|
]);
|
|
7415
|
-
return
|
|
7518
|
+
return React71.createElement(DialogPortal, null, /* @__PURE__ */ React71.createElement(DialogOverlay, null), /* @__PURE__ */ React71.createElement(DialogPrimitive.Content, _object_spread({
|
|
7416
7519
|
ref: ref,
|
|
7417
7520
|
className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full", className)
|
|
7418
|
-
}, props), children, /* @__PURE__ */
|
|
7521
|
+
}, props), children, /* @__PURE__ */ React71.createElement(DialogPrimitive.Close, {
|
|
7419
7522
|
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
|
|
7420
|
-
}, /* @__PURE__ */
|
|
7523
|
+
}, /* @__PURE__ */ React71.createElement("svg", {
|
|
7421
7524
|
"aria-label": "Close Icon",
|
|
7422
7525
|
"aria-hidden": "true",
|
|
7423
7526
|
className: "h-5 w-5",
|
|
7424
7527
|
fill: "currentColor",
|
|
7425
7528
|
viewBox: "0 0 20 20"
|
|
7426
|
-
}, /* @__PURE__ */
|
|
7529
|
+
}, /* @__PURE__ */ React71.createElement("path", {
|
|
7427
7530
|
fillRule: "evenodd",
|
|
7428
7531
|
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
7429
7532
|
clipRule: "evenodd"
|
|
7430
|
-
})), /* @__PURE__ */
|
|
7533
|
+
})), /* @__PURE__ */ React71.createElement("span", {
|
|
7431
7534
|
className: "sr-only"
|
|
7432
7535
|
}, "Close"))));
|
|
7433
7536
|
});
|
|
@@ -7436,7 +7539,7 @@ var DialogHeader = function(_param) /* @__PURE__ */ {
|
|
|
7436
7539
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7437
7540
|
"className"
|
|
7438
7541
|
]);
|
|
7439
|
-
return
|
|
7542
|
+
return React71.createElement("div", _object_spread({
|
|
7440
7543
|
className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className)
|
|
7441
7544
|
}, props));
|
|
7442
7545
|
};
|
|
@@ -7445,26 +7548,26 @@ var DialogFooter = function(_param) /* @__PURE__ */ {
|
|
|
7445
7548
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7446
7549
|
"className"
|
|
7447
7550
|
]);
|
|
7448
|
-
return
|
|
7551
|
+
return React71.createElement("div", _object_spread({
|
|
7449
7552
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
|
|
7450
7553
|
}, props));
|
|
7451
7554
|
};
|
|
7452
7555
|
DialogFooter.displayName = "DialogFooter";
|
|
7453
|
-
var DialogTitle =
|
|
7556
|
+
var DialogTitle = React71.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7454
7557
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7455
7558
|
"className"
|
|
7456
7559
|
]);
|
|
7457
|
-
return
|
|
7560
|
+
return React71.createElement(DialogPrimitive.Title, _object_spread({
|
|
7458
7561
|
ref: ref,
|
|
7459
7562
|
className: cn("text-lg font-semibold leading-none tracking-tight", className)
|
|
7460
7563
|
}, props));
|
|
7461
7564
|
});
|
|
7462
7565
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
7463
|
-
var DialogDescription =
|
|
7566
|
+
var DialogDescription = React71.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7464
7567
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7465
7568
|
"className"
|
|
7466
7569
|
]);
|
|
7467
|
-
return
|
|
7570
|
+
return React71.createElement(DialogPrimitive.Description, _object_spread({
|
|
7468
7571
|
ref: ref,
|
|
7469
7572
|
className: cn("text-sm text-muted-foreground", className)
|
|
7470
7573
|
}, props));
|
|
@@ -7669,28 +7772,28 @@ var _reactaccordion = require("@radix-ui/react-accordion");
|
|
|
7669
7772
|
var AccordionPrimitive = _interopRequireWildcard(_reactaccordion);
|
|
7670
7773
|
var Accordion = AccordionPrimitive.Root;
|
|
7671
7774
|
var triggerStyles = "flex flex-1 items-center select-none cursor-pointer bg-primary-foreground rounded justify-between p-2 px-3 font-medium transition-all [&[data-state=open]>svg]:-rotate-90";
|
|
7672
|
-
var AccordionItem =
|
|
7775
|
+
var AccordionItem = React77.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7673
7776
|
var className = _param.className, props = _object_without_properties(_param, [
|
|
7674
7777
|
"className"
|
|
7675
7778
|
]);
|
|
7676
|
-
return
|
|
7779
|
+
return React77.createElement(AccordionPrimitive.Item, _object_spread({
|
|
7677
7780
|
ref: ref,
|
|
7678
7781
|
className: cn(className)
|
|
7679
7782
|
}, props));
|
|
7680
7783
|
});
|
|
7681
7784
|
AccordionItem.displayName = "AccordionItem";
|
|
7682
|
-
var AccordionTrigger =
|
|
7785
|
+
var AccordionTrigger = React77.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7683
7786
|
var className = _param.className, showArrow = _param.showArrow, children = _param.children, props = _object_without_properties(_param, [
|
|
7684
7787
|
"className",
|
|
7685
7788
|
"showArrow",
|
|
7686
7789
|
"children"
|
|
7687
7790
|
]);
|
|
7688
|
-
return
|
|
7791
|
+
return React77.createElement(AccordionPrimitive.Header, {
|
|
7689
7792
|
className: "flex"
|
|
7690
|
-
}, /* @__PURE__ */
|
|
7793
|
+
}, /* @__PURE__ */ React77.createElement(AccordionPrimitive.Trigger, _object_spread({
|
|
7691
7794
|
ref: ref,
|
|
7692
7795
|
className: cn(triggerStyles, className)
|
|
7693
|
-
}, props), children, showArrow && /* @__PURE__ */
|
|
7796
|
+
}, props), children, showArrow && /* @__PURE__ */ React77.createElement("svg", {
|
|
7694
7797
|
"aria-label": "Chevron Right Icon",
|
|
7695
7798
|
stroke: "currentColor",
|
|
7696
7799
|
fill: "currentColor",
|
|
@@ -7698,29 +7801,29 @@ var AccordionTrigger = React75.forwardRef(function(_param, ref) /* @__PURE__ */
|
|
|
7698
7801
|
height: "1em",
|
|
7699
7802
|
width: "1em",
|
|
7700
7803
|
className: "h-4 w-4 shrink-0 rotate-90 transition-transform duration-200"
|
|
7701
|
-
}, /* @__PURE__ */
|
|
7804
|
+
}, /* @__PURE__ */ React77.createElement("path", {
|
|
7702
7805
|
d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"
|
|
7703
7806
|
}))));
|
|
7704
7807
|
});
|
|
7705
7808
|
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
7706
|
-
var AccordionContent =
|
|
7809
|
+
var AccordionContent = React77.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
7707
7810
|
var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
|
|
7708
7811
|
"className",
|
|
7709
7812
|
"children"
|
|
7710
7813
|
]);
|
|
7711
|
-
return
|
|
7814
|
+
return React77.createElement(AccordionPrimitive.Content, _object_spread({
|
|
7712
7815
|
ref: ref,
|
|
7713
7816
|
className: cn("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down", className)
|
|
7714
|
-
}, props), /* @__PURE__ */
|
|
7817
|
+
}, props), /* @__PURE__ */ React77.createElement("div", null, children));
|
|
7715
7818
|
});
|
|
7716
7819
|
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
7717
7820
|
var SidebarGroup = function(param) {
|
|
7718
7821
|
var title = param.title, items = param.items, selectedItem = param.selectedItem, openedItem = param.openedItem, setOpenedItem = param.setOpenedItem, onItemClick = param.onItemClick, onSubItemClick = param.onSubItemClick, direction = param.direction, isOpen = param.isOpen;
|
|
7719
|
-
return /* @__PURE__ */
|
|
7822
|
+
return /* @__PURE__ */ React77.createElement("div", null, title && /* @__PURE__ */ React77.createElement("h3", {
|
|
7720
7823
|
className: "mb-1 font-bold"
|
|
7721
|
-
}, title), /* @__PURE__ */
|
|
7824
|
+
}, title), /* @__PURE__ */ React77.createElement("ul", {
|
|
7722
7825
|
className: "flex flex-col gap-2"
|
|
7723
|
-
}, /* @__PURE__ */
|
|
7826
|
+
}, /* @__PURE__ */ React77.createElement(Accordion, {
|
|
7724
7827
|
value: openedItem,
|
|
7725
7828
|
type: "single",
|
|
7726
7829
|
onValueChange: function(e) {
|
|
@@ -7729,7 +7832,7 @@ var SidebarGroup = function(param) {
|
|
|
7729
7832
|
collapsible: true,
|
|
7730
7833
|
className: "flex flex-col gap-1"
|
|
7731
7834
|
}, items.map(function(item, idx) {
|
|
7732
|
-
return /* @__PURE__ */
|
|
7835
|
+
return /* @__PURE__ */ React77.createElement(SidebarItem, {
|
|
7733
7836
|
isOpen: isOpen,
|
|
7734
7837
|
isSelected: selectedItem,
|
|
7735
7838
|
key: idx,
|
|
@@ -7746,23 +7849,23 @@ var SidebarItem = function(param) {
|
|
|
7746
7849
|
return isSelected && isSelected[index] === value ? "bg-primary text-primary-foreground cursor-default" : "hover:bg-primary/10";
|
|
7747
7850
|
};
|
|
7748
7851
|
if (item.subitems) {
|
|
7749
|
-
return /* @__PURE__ */
|
|
7852
|
+
return /* @__PURE__ */ React77.createElement(AccordionItem, {
|
|
7750
7853
|
value: item.value,
|
|
7751
7854
|
className: "overflow-x-clip",
|
|
7752
7855
|
dir: direction
|
|
7753
|
-
}, /* @__PURE__ */
|
|
7856
|
+
}, /* @__PURE__ */ React77.createElement(AccordionTrigger, {
|
|
7754
7857
|
className: cn(getSelectedStyle(item.value, 0)),
|
|
7755
7858
|
showArrow: isOpen
|
|
7756
|
-
}, /* @__PURE__ */
|
|
7859
|
+
}, /* @__PURE__ */ React77.createElement("div", {
|
|
7757
7860
|
className: cn(!isOpen && "py-1", "flex w-fit flex-row items-center gap-2")
|
|
7758
|
-
}, item.icon, isOpen && /* @__PURE__ */
|
|
7861
|
+
}, item.icon, isOpen && /* @__PURE__ */ React77.createElement("span", {
|
|
7759
7862
|
className: cn("transition-all ", isOpen ? "opacity-100" : "opacity-0")
|
|
7760
|
-
}, item.label))), item.subitems && /* @__PURE__ */
|
|
7863
|
+
}, item.label))), item.subitems && /* @__PURE__ */ React77.createElement(AccordionContent, {
|
|
7761
7864
|
className: " mt-1 h-full rounded "
|
|
7762
|
-
}, /* @__PURE__ */
|
|
7865
|
+
}, /* @__PURE__ */ React77.createElement("div", {
|
|
7763
7866
|
className: cn("flex h-full flex-col gap-2 bg-foreground/5 p-1")
|
|
7764
7867
|
}, item.subitems.map(function(subitem, idx) {
|
|
7765
|
-
return /* @__PURE__ */
|
|
7868
|
+
return /* @__PURE__ */ React77.createElement("li", {
|
|
7766
7869
|
key: idx,
|
|
7767
7870
|
onClick: function(e) {
|
|
7768
7871
|
e.stopPropagation();
|
|
@@ -7777,7 +7880,7 @@ var SidebarItem = function(param) {
|
|
|
7777
7880
|
}, subitem.icon, subitem.label);
|
|
7778
7881
|
}))));
|
|
7779
7882
|
} else {
|
|
7780
|
-
return /* @__PURE__ */
|
|
7883
|
+
return /* @__PURE__ */ React77.createElement("div", {
|
|
7781
7884
|
dir: direction,
|
|
7782
7885
|
onClick: function() {
|
|
7783
7886
|
if (onItemClick) {
|
|
@@ -7787,9 +7890,9 @@ var SidebarItem = function(param) {
|
|
|
7787
7890
|
}
|
|
7788
7891
|
},
|
|
7789
7892
|
className: cn(triggerStyles, getSelectedStyle(item.value, 0), "overflow-x-clip ")
|
|
7790
|
-
}, /* @__PURE__ */
|
|
7893
|
+
}, /* @__PURE__ */ React77.createElement("div", {
|
|
7791
7894
|
className: "flex flex-row items-center gap-2 "
|
|
7792
|
-
}, item.icon, /* @__PURE__ */
|
|
7895
|
+
}, item.icon, /* @__PURE__ */ React77.createElement("span", {
|
|
7793
7896
|
className: cn("whitespace-nowrap transition-all", isOpen ? "opacity-100" : "opacity-0")
|
|
7794
7897
|
}, item.label)));
|
|
7795
7898
|
}
|
|
@@ -9090,6 +9193,22 @@ var Icons = {
|
|
|
9090
9193
|
points: "22,6 12,13 2,6"
|
|
9091
9194
|
}));
|
|
9092
9195
|
},
|
|
9196
|
+
phone: function(props) {
|
|
9197
|
+
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9198
|
+
stroke: "currentColor",
|
|
9199
|
+
fill: "none",
|
|
9200
|
+
"stroke-width": "2",
|
|
9201
|
+
viewBox: "0 0 24 24",
|
|
9202
|
+
"aria-hidden": "true",
|
|
9203
|
+
height: "1em",
|
|
9204
|
+
width: "1em",
|
|
9205
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9206
|
+
}, props), /* @__PURE__ */ React.createElement("path", {
|
|
9207
|
+
"stroke-linecap": "round",
|
|
9208
|
+
"stroke-linejoin": "round",
|
|
9209
|
+
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"
|
|
9210
|
+
}));
|
|
9211
|
+
},
|
|
9093
9212
|
twitter: function(props) {
|
|
9094
9213
|
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9095
9214
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9099,6 +9218,14 @@ var Icons = {
|
|
|
9099
9218
|
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
9219
|
}));
|
|
9101
9220
|
},
|
|
9221
|
+
microsoft: function(props) {
|
|
9222
|
+
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9223
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9224
|
+
viewBox: "0 0 20 20"
|
|
9225
|
+
}, props), /* @__PURE__ */ React.createElement("path", {
|
|
9226
|
+
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
9227
|
+
}));
|
|
9228
|
+
},
|
|
9102
9229
|
gitHub: function(props) {
|
|
9103
9230
|
return /* @__PURE__ */ React.createElement("svg", _object_spread({
|
|
9104
9231
|
viewBox: "0 0 438.549 438.549"
|
|
@@ -9216,30 +9343,138 @@ var Icons = {
|
|
|
9216
9343
|
};
|
|
9217
9344
|
// src/blocks/AuthForms/AppLanding.tsx
|
|
9218
9345
|
var AppLanding = function(props) {
|
|
9219
|
-
return /* @__PURE__ */ React6.default.createElement("div",
|
|
9346
|
+
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
9347
|
+
dir: props.direction
|
|
9348
|
+
}, /* @__PURE__ */ React6.default.createElement(Card, null, /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
9220
9349
|
headless: true,
|
|
9221
9350
|
className: "flex flex-col gap-6"
|
|
9222
|
-
}, /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9351
|
+
}, props.viaGoogle && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9223
9352
|
className: "flex flex-row items-center gap-2",
|
|
9224
|
-
variant: "outline"
|
|
9353
|
+
variant: "outline",
|
|
9354
|
+
onClick: props.handleGoogle
|
|
9225
9355
|
}, /* @__PURE__ */ React6.default.createElement(Icons.google, {
|
|
9226
9356
|
className: "h-4 w-4"
|
|
9227
|
-
}),
|
|
9357
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9358
|
+
props,
|
|
9359
|
+
"access",
|
|
9360
|
+
function(_184) {
|
|
9361
|
+
return _184.texts;
|
|
9362
|
+
},
|
|
9363
|
+
"optionalAccess",
|
|
9364
|
+
function(_185) {
|
|
9365
|
+
return _185.continueWithGoogle;
|
|
9366
|
+
}
|
|
9367
|
+
]), function() {
|
|
9368
|
+
return "Continue With Google";
|
|
9369
|
+
})), props.viaGithub && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9228
9370
|
className: "flex flex-row items-center gap-2",
|
|
9229
|
-
variant: "outline"
|
|
9371
|
+
variant: "outline",
|
|
9372
|
+
onClick: props.handleGithub
|
|
9373
|
+
}, /* @__PURE__ */ React6.default.createElement(Icons.gitHub, {
|
|
9374
|
+
className: "h-4 w-4"
|
|
9375
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9376
|
+
props,
|
|
9377
|
+
"access",
|
|
9378
|
+
function(_186) {
|
|
9379
|
+
return _186.texts;
|
|
9380
|
+
},
|
|
9381
|
+
"optionalAccess",
|
|
9382
|
+
function(_187) {
|
|
9383
|
+
return _187.continueWithGithub;
|
|
9384
|
+
}
|
|
9385
|
+
]), function() {
|
|
9386
|
+
return "Continue With Github";
|
|
9387
|
+
})), props.viaTwitter && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9388
|
+
className: "flex flex-row items-center gap-2",
|
|
9389
|
+
variant: "outline",
|
|
9390
|
+
onClick: props.handleTwitter
|
|
9230
9391
|
}, /* @__PURE__ */ React6.default.createElement(Icons.twitter, {
|
|
9231
9392
|
className: "h-4 w-4"
|
|
9232
|
-
}),
|
|
9393
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9394
|
+
props,
|
|
9395
|
+
"access",
|
|
9396
|
+
function(_188) {
|
|
9397
|
+
return _188.texts;
|
|
9398
|
+
},
|
|
9399
|
+
"optionalAccess",
|
|
9400
|
+
function(_189) {
|
|
9401
|
+
return _189.continueWithTwitter;
|
|
9402
|
+
}
|
|
9403
|
+
]), function() {
|
|
9404
|
+
return "Continue With Twitter";
|
|
9405
|
+
})), props.viaApple && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9233
9406
|
className: "flex flex-row items-center gap-2",
|
|
9234
|
-
variant: "outline"
|
|
9407
|
+
variant: "outline",
|
|
9408
|
+
onClick: props.handleApple
|
|
9235
9409
|
}, /* @__PURE__ */ React6.default.createElement(Icons.apple, {
|
|
9236
9410
|
className: "h-4 w-4"
|
|
9237
|
-
}),
|
|
9411
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9412
|
+
props,
|
|
9413
|
+
"access",
|
|
9414
|
+
function(_190) {
|
|
9415
|
+
return _190.texts;
|
|
9416
|
+
},
|
|
9417
|
+
"optionalAccess",
|
|
9418
|
+
function(_191) {
|
|
9419
|
+
return _191.continueWithApple;
|
|
9420
|
+
}
|
|
9421
|
+
]), function() {
|
|
9422
|
+
return "Continue With Apple";
|
|
9423
|
+
})), props.viaMicrosoft && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9238
9424
|
className: "flex flex-row items-center gap-2",
|
|
9239
|
-
variant: "outline"
|
|
9425
|
+
variant: "outline",
|
|
9426
|
+
onClick: props.handleMicrosoft
|
|
9427
|
+
}, /* @__PURE__ */ React6.default.createElement(Icons.microsoft, {
|
|
9428
|
+
className: "h-4 w-4"
|
|
9429
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9430
|
+
props,
|
|
9431
|
+
"access",
|
|
9432
|
+
function(_192) {
|
|
9433
|
+
return _192.texts;
|
|
9434
|
+
},
|
|
9435
|
+
"optionalAccess",
|
|
9436
|
+
function(_193) {
|
|
9437
|
+
return _193.continueWithMicrosoft;
|
|
9438
|
+
}
|
|
9439
|
+
]), function() {
|
|
9440
|
+
return "Continue With Microsoft";
|
|
9441
|
+
})), props.viaEmail && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9442
|
+
className: "flex flex-row items-center gap-2",
|
|
9443
|
+
variant: "outline",
|
|
9444
|
+
onClick: props.handleEmail
|
|
9240
9445
|
}, /* @__PURE__ */ React6.default.createElement(Icons.mail, {
|
|
9241
9446
|
className: "h-4 w-4"
|
|
9242
|
-
}),
|
|
9447
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9448
|
+
props,
|
|
9449
|
+
"access",
|
|
9450
|
+
function(_194) {
|
|
9451
|
+
return _194.texts;
|
|
9452
|
+
},
|
|
9453
|
+
"optionalAccess",
|
|
9454
|
+
function(_195) {
|
|
9455
|
+
return _195.continueWithEmail;
|
|
9456
|
+
}
|
|
9457
|
+
]), function() {
|
|
9458
|
+
return "Continue With Email";
|
|
9459
|
+
})), props.viaPhone && /* @__PURE__ */ React6.default.createElement(Button, {
|
|
9460
|
+
className: "flex flex-row items-center gap-2",
|
|
9461
|
+
variant: "outline",
|
|
9462
|
+
onClick: props.handlePhone
|
|
9463
|
+
}, /* @__PURE__ */ React6.default.createElement(Icons.phone, {
|
|
9464
|
+
className: "h-4 w-4"
|
|
9465
|
+
}), _nullishCoalesce(_optionalChain([
|
|
9466
|
+
props,
|
|
9467
|
+
"access",
|
|
9468
|
+
function(_196) {
|
|
9469
|
+
return _196.texts;
|
|
9470
|
+
},
|
|
9471
|
+
"optionalAccess",
|
|
9472
|
+
function(_197) {
|
|
9473
|
+
return _197.continueWithPhone;
|
|
9474
|
+
}
|
|
9475
|
+
]), function() {
|
|
9476
|
+
return "Continue With Phone";
|
|
9477
|
+
})), !props.withoutSignUp && /* @__PURE__ */ React6.default.createElement("div", {
|
|
9243
9478
|
className: "p-3 text-center text-sm font-normal dark:text-gray-300"
|
|
9244
9479
|
}, props.texts.newUserText, " ", /* @__PURE__ */ React6.default.createElement("span", {
|
|
9245
9480
|
onClick: props.handleRouteToSignUp,
|
|
@@ -9367,12 +9602,12 @@ var SignInForm = function(props) {
|
|
|
9367
9602
|
helpertext: _optionalChain([
|
|
9368
9603
|
errors,
|
|
9369
9604
|
"access",
|
|
9370
|
-
function(
|
|
9371
|
-
return
|
|
9605
|
+
function(_198) {
|
|
9606
|
+
return _198.email;
|
|
9372
9607
|
},
|
|
9373
9608
|
"optionalAccess",
|
|
9374
|
-
function(
|
|
9375
|
-
return
|
|
9609
|
+
function(_199) {
|
|
9610
|
+
return _199.message;
|
|
9376
9611
|
}
|
|
9377
9612
|
]),
|
|
9378
9613
|
placeholder: props.texts.emailPlaceholder,
|
|
@@ -9402,12 +9637,12 @@ var SignInForm = function(props) {
|
|
|
9402
9637
|
helpertext: _optionalChain([
|
|
9403
9638
|
errors,
|
|
9404
9639
|
"access",
|
|
9405
|
-
function(
|
|
9406
|
-
return
|
|
9640
|
+
function(_200) {
|
|
9641
|
+
return _200.username;
|
|
9407
9642
|
},
|
|
9408
9643
|
"optionalAccess",
|
|
9409
|
-
function(
|
|
9410
|
-
return
|
|
9644
|
+
function(_201) {
|
|
9645
|
+
return _201.message;
|
|
9411
9646
|
}
|
|
9412
9647
|
]),
|
|
9413
9648
|
placeholder: props.texts.usernamePlaceholder,
|
|
@@ -9446,12 +9681,12 @@ var SignInForm = function(props) {
|
|
|
9446
9681
|
helpertext: _optionalChain([
|
|
9447
9682
|
errors,
|
|
9448
9683
|
"access",
|
|
9449
|
-
function(
|
|
9450
|
-
return
|
|
9684
|
+
function(_202) {
|
|
9685
|
+
return _202.password;
|
|
9451
9686
|
},
|
|
9452
9687
|
"optionalAccess",
|
|
9453
|
-
function(
|
|
9454
|
-
return
|
|
9688
|
+
function(_203) {
|
|
9689
|
+
return _203.message;
|
|
9455
9690
|
}
|
|
9456
9691
|
]),
|
|
9457
9692
|
onChange: field.onChange,
|
|
@@ -9583,12 +9818,12 @@ var SignUpForm = function(props) {
|
|
|
9583
9818
|
helpertext: _optionalChain([
|
|
9584
9819
|
errors,
|
|
9585
9820
|
"access",
|
|
9586
|
-
function(
|
|
9587
|
-
return
|
|
9821
|
+
function(_204) {
|
|
9822
|
+
return _204.fullName;
|
|
9588
9823
|
},
|
|
9589
9824
|
"optionalAccess",
|
|
9590
|
-
function(
|
|
9591
|
-
return
|
|
9825
|
+
function(_205) {
|
|
9826
|
+
return _205.message;
|
|
9592
9827
|
}
|
|
9593
9828
|
]),
|
|
9594
9829
|
onChange: field.onChange,
|
|
@@ -9617,12 +9852,12 @@ var SignUpForm = function(props) {
|
|
|
9617
9852
|
helpertext: _optionalChain([
|
|
9618
9853
|
errors,
|
|
9619
9854
|
"access",
|
|
9620
|
-
function(
|
|
9621
|
-
return
|
|
9855
|
+
function(_206) {
|
|
9856
|
+
return _206.email;
|
|
9622
9857
|
},
|
|
9623
9858
|
"optionalAccess",
|
|
9624
|
-
function(
|
|
9625
|
-
return
|
|
9859
|
+
function(_207) {
|
|
9860
|
+
return _207.message;
|
|
9626
9861
|
}
|
|
9627
9862
|
]),
|
|
9628
9863
|
placeholder: props.texts.emailPlaceholder,
|
|
@@ -9656,12 +9891,12 @@ var SignUpForm = function(props) {
|
|
|
9656
9891
|
helpertext: _optionalChain([
|
|
9657
9892
|
errors,
|
|
9658
9893
|
"access",
|
|
9659
|
-
function(
|
|
9660
|
-
return
|
|
9894
|
+
function(_208) {
|
|
9895
|
+
return _208.username;
|
|
9661
9896
|
},
|
|
9662
9897
|
"optionalAccess",
|
|
9663
|
-
function(
|
|
9664
|
-
return
|
|
9898
|
+
function(_209) {
|
|
9899
|
+
return _209.message;
|
|
9665
9900
|
}
|
|
9666
9901
|
]),
|
|
9667
9902
|
placeholder: props.texts.usernamePlaceholder,
|
|
@@ -9690,12 +9925,12 @@ var SignUpForm = function(props) {
|
|
|
9690
9925
|
helpertext: _optionalChain([
|
|
9691
9926
|
errors,
|
|
9692
9927
|
"access",
|
|
9693
|
-
function(
|
|
9694
|
-
return
|
|
9928
|
+
function(_210) {
|
|
9929
|
+
return _210.password;
|
|
9695
9930
|
},
|
|
9696
9931
|
"optionalAccess",
|
|
9697
|
-
function(
|
|
9698
|
-
return
|
|
9932
|
+
function(_211) {
|
|
9933
|
+
return _211.message;
|
|
9699
9934
|
}
|
|
9700
9935
|
]),
|
|
9701
9936
|
onChange: field.onChange,
|
|
@@ -9721,12 +9956,12 @@ var SignUpForm = function(props) {
|
|
|
9721
9956
|
helpertext: _optionalChain([
|
|
9722
9957
|
errors,
|
|
9723
9958
|
"access",
|
|
9724
|
-
function(
|
|
9725
|
-
return
|
|
9959
|
+
function(_212) {
|
|
9960
|
+
return _212.confirm_password;
|
|
9726
9961
|
},
|
|
9727
9962
|
"optionalAccess",
|
|
9728
|
-
function(
|
|
9729
|
-
return
|
|
9963
|
+
function(_213) {
|
|
9964
|
+
return _213.message;
|
|
9730
9965
|
}
|
|
9731
9966
|
]),
|
|
9732
9967
|
onChange: field.onChange,
|
|
@@ -9751,12 +9986,12 @@ var SignUpForm = function(props) {
|
|
|
9751
9986
|
helpertext: _optionalChain([
|
|
9752
9987
|
errors,
|
|
9753
9988
|
"access",
|
|
9754
|
-
function(
|
|
9755
|
-
return
|
|
9989
|
+
function(_214) {
|
|
9990
|
+
return _214.password;
|
|
9756
9991
|
},
|
|
9757
9992
|
"optionalAccess",
|
|
9758
|
-
function(
|
|
9759
|
-
return
|
|
9993
|
+
function(_215) {
|
|
9994
|
+
return _215.message;
|
|
9760
9995
|
}
|
|
9761
9996
|
]),
|
|
9762
9997
|
value: _nullishCoalesce(field.value, function() {
|
|
@@ -9805,12 +10040,12 @@ var SignUpForm = function(props) {
|
|
|
9805
10040
|
helperText: _optionalChain([
|
|
9806
10041
|
errors,
|
|
9807
10042
|
"access",
|
|
9808
|
-
function(
|
|
9809
|
-
return
|
|
10043
|
+
function(_216) {
|
|
10044
|
+
return _216.terms_accepted;
|
|
9810
10045
|
},
|
|
9811
10046
|
"optionalAccess",
|
|
9812
|
-
function(
|
|
9813
|
-
return
|
|
10047
|
+
function(_217) {
|
|
10048
|
+
return _217.message;
|
|
9814
10049
|
}
|
|
9815
10050
|
]),
|
|
9816
10051
|
onChange: function(e) {
|
|
@@ -9906,12 +10141,12 @@ var NewPasswordForm = function(props) {
|
|
|
9906
10141
|
helpertext: _optionalChain([
|
|
9907
10142
|
errors,
|
|
9908
10143
|
"access",
|
|
9909
|
-
function(
|
|
9910
|
-
return
|
|
10144
|
+
function(_218) {
|
|
10145
|
+
return _218.password;
|
|
9911
10146
|
},
|
|
9912
10147
|
"optionalAccess",
|
|
9913
|
-
function(
|
|
9914
|
-
return
|
|
10148
|
+
function(_219) {
|
|
10149
|
+
return _219.message;
|
|
9915
10150
|
}
|
|
9916
10151
|
])
|
|
9917
10152
|
}, field), {
|
|
@@ -9937,12 +10172,12 @@ var NewPasswordForm = function(props) {
|
|
|
9937
10172
|
helpertext: _optionalChain([
|
|
9938
10173
|
errors,
|
|
9939
10174
|
"access",
|
|
9940
|
-
function(
|
|
9941
|
-
return
|
|
10175
|
+
function(_220) {
|
|
10176
|
+
return _220.confirmPassword;
|
|
9942
10177
|
},
|
|
9943
10178
|
"optionalAccess",
|
|
9944
|
-
function(
|
|
9945
|
-
return
|
|
10179
|
+
function(_221) {
|
|
10180
|
+
return _221.message;
|
|
9946
10181
|
}
|
|
9947
10182
|
])
|
|
9948
10183
|
}, field), {
|
|
@@ -9963,9 +10198,13 @@ var NewPasswordForm = function(props) {
|
|
|
9963
10198
|
var ResetPasswordForm = function(props) {
|
|
9964
10199
|
var methods = _reacthookform.useForm.call(void 0);
|
|
9965
10200
|
var errors = methods.formState.errors, handleSubmit = methods.handleSubmit, register = methods.register, control = methods.control;
|
|
9966
|
-
return /* @__PURE__ */ React6.default.createElement(Card,
|
|
10201
|
+
return /* @__PURE__ */ React6.default.createElement(Card, {
|
|
10202
|
+
dir: props.direction
|
|
10203
|
+
}, !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
10204
|
onSubmit: handleSubmit(props.handleResetPassword)
|
|
9968
|
-
}, /* @__PURE__ */ React6.default.createElement(CardContent,
|
|
10205
|
+
}, /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
10206
|
+
headless: props.headless
|
|
10207
|
+
}, /* @__PURE__ */ React6.default.createElement(_reacthookform.Controller, {
|
|
9969
10208
|
control: control,
|
|
9970
10209
|
name: "email",
|
|
9971
10210
|
render: function(param) {
|
|
@@ -9976,34 +10215,34 @@ var ResetPasswordForm = function(props) {
|
|
|
9976
10215
|
label: _optionalChain([
|
|
9977
10216
|
props,
|
|
9978
10217
|
"access",
|
|
9979
|
-
function(
|
|
9980
|
-
return
|
|
10218
|
+
function(_222) {
|
|
10219
|
+
return _222.texts;
|
|
9981
10220
|
},
|
|
9982
10221
|
"optionalAccess",
|
|
9983
|
-
function(
|
|
9984
|
-
return
|
|
10222
|
+
function(_223) {
|
|
10223
|
+
return _223.emailLabel;
|
|
9985
10224
|
}
|
|
9986
10225
|
]),
|
|
9987
10226
|
helpertext: _optionalChain([
|
|
9988
10227
|
errors,
|
|
9989
10228
|
"access",
|
|
9990
|
-
function(
|
|
9991
|
-
return
|
|
10229
|
+
function(_224) {
|
|
10230
|
+
return _224.email;
|
|
9992
10231
|
},
|
|
9993
10232
|
"optionalAccess",
|
|
9994
|
-
function(
|
|
9995
|
-
return
|
|
10233
|
+
function(_225) {
|
|
10234
|
+
return _225.message;
|
|
9996
10235
|
}
|
|
9997
10236
|
]),
|
|
9998
10237
|
placeholder: _optionalChain([
|
|
9999
10238
|
props,
|
|
10000
10239
|
"access",
|
|
10001
|
-
function(
|
|
10002
|
-
return
|
|
10240
|
+
function(_226) {
|
|
10241
|
+
return _226.texts;
|
|
10003
10242
|
},
|
|
10004
10243
|
"optionalAccess",
|
|
10005
|
-
function(
|
|
10006
|
-
return
|
|
10244
|
+
function(_227) {
|
|
10245
|
+
return _227.emailPlaceholder;
|
|
10007
10246
|
}
|
|
10008
10247
|
])
|
|
10009
10248
|
}, field), {
|
|
@@ -10016,12 +10255,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10016
10255
|
required: _optionalChain([
|
|
10017
10256
|
props,
|
|
10018
10257
|
"access",
|
|
10019
|
-
function(
|
|
10020
|
-
return
|
|
10258
|
+
function(_228) {
|
|
10259
|
+
return _228.texts;
|
|
10021
10260
|
},
|
|
10022
10261
|
"optionalAccess",
|
|
10023
|
-
function(
|
|
10024
|
-
return
|
|
10262
|
+
function(_229) {
|
|
10263
|
+
return _229.emailRequiredText;
|
|
10025
10264
|
}
|
|
10026
10265
|
]),
|
|
10027
10266
|
pattern: {
|
|
@@ -10029,27 +10268,27 @@ var ResetPasswordForm = function(props) {
|
|
|
10029
10268
|
message: _optionalChain([
|
|
10030
10269
|
props,
|
|
10031
10270
|
"access",
|
|
10032
|
-
function(
|
|
10033
|
-
return
|
|
10271
|
+
function(_230) {
|
|
10272
|
+
return _230.texts;
|
|
10034
10273
|
},
|
|
10035
10274
|
"optionalAccess",
|
|
10036
|
-
function(
|
|
10037
|
-
return
|
|
10275
|
+
function(_231) {
|
|
10276
|
+
return _231.emailInvalidText;
|
|
10038
10277
|
}
|
|
10039
10278
|
])
|
|
10040
10279
|
}
|
|
10041
10280
|
}
|
|
10042
10281
|
}), /* @__PURE__ */ React6.default.createElement("div", {
|
|
10043
|
-
className: "
|
|
10282
|
+
className: "pb-2 text-start text-sm dark:text-gray-300"
|
|
10044
10283
|
}, _nullishCoalesce(_optionalChain([
|
|
10045
10284
|
props,
|
|
10046
10285
|
"access",
|
|
10047
|
-
function(
|
|
10048
|
-
return
|
|
10286
|
+
function(_232) {
|
|
10287
|
+
return _232.texts;
|
|
10049
10288
|
},
|
|
10050
10289
|
"optionalAccess",
|
|
10051
|
-
function(
|
|
10052
|
-
return
|
|
10290
|
+
function(_233) {
|
|
10291
|
+
return _233.dontHaveAccount;
|
|
10053
10292
|
}
|
|
10054
10293
|
]), function() {
|
|
10055
10294
|
return "Don't have an account? ";
|
|
@@ -10059,12 +10298,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10059
10298
|
}, _nullishCoalesce(_optionalChain([
|
|
10060
10299
|
props,
|
|
10061
10300
|
"access",
|
|
10062
|
-
function(
|
|
10063
|
-
return
|
|
10301
|
+
function(_234) {
|
|
10302
|
+
return _234.texts;
|
|
10064
10303
|
},
|
|
10065
10304
|
"optionalAccess",
|
|
10066
|
-
function(
|
|
10067
|
-
return
|
|
10305
|
+
function(_235) {
|
|
10306
|
+
return _235.signUpText;
|
|
10068
10307
|
}
|
|
10069
10308
|
]), function() {
|
|
10070
10309
|
return "Sign Up";
|
|
@@ -10074,12 +10313,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10074
10313
|
}, _optionalChain([
|
|
10075
10314
|
props,
|
|
10076
10315
|
"access",
|
|
10077
|
-
function(
|
|
10078
|
-
return
|
|
10316
|
+
function(_236) {
|
|
10317
|
+
return _236.texts;
|
|
10079
10318
|
},
|
|
10080
10319
|
"optionalAccess",
|
|
10081
|
-
function(
|
|
10082
|
-
return
|
|
10320
|
+
function(_237) {
|
|
10321
|
+
return _237.resetPassword;
|
|
10083
10322
|
}
|
|
10084
10323
|
]))))) : /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
10085
10324
|
headless: true
|
|
@@ -10088,12 +10327,12 @@ var ResetPasswordForm = function(props) {
|
|
|
10088
10327
|
}, _optionalChain([
|
|
10089
10328
|
props,
|
|
10090
10329
|
"access",
|
|
10091
|
-
function(
|
|
10092
|
-
return
|
|
10330
|
+
function(_238) {
|
|
10331
|
+
return _238.texts;
|
|
10093
10332
|
},
|
|
10094
10333
|
"optionalAccess",
|
|
10095
|
-
function(
|
|
10096
|
-
return
|
|
10334
|
+
function(_239) {
|
|
10335
|
+
return _239.emailSentText;
|
|
10097
10336
|
}
|
|
10098
10337
|
]))));
|
|
10099
10338
|
};
|
|
@@ -10175,8 +10414,8 @@ var CheckEmail = function(param) {
|
|
|
10175
10414
|
}, _nullishCoalesce(_optionalChain([
|
|
10176
10415
|
texts,
|
|
10177
10416
|
"optionalAccess",
|
|
10178
|
-
function(
|
|
10179
|
-
return
|
|
10417
|
+
function(_240) {
|
|
10418
|
+
return _240.checkEmail;
|
|
10180
10419
|
}
|
|
10181
10420
|
]), function() {
|
|
10182
10421
|
return "Check you email";
|
|
@@ -10185,8 +10424,8 @@ var CheckEmail = function(param) {
|
|
|
10185
10424
|
}, _nullishCoalesce(_optionalChain([
|
|
10186
10425
|
texts,
|
|
10187
10426
|
"optionalAccess",
|
|
10188
|
-
function(
|
|
10189
|
-
return
|
|
10427
|
+
function(_241) {
|
|
10428
|
+
return _241.pleaseVerify;
|
|
10190
10429
|
}
|
|
10191
10430
|
]), function() {
|
|
10192
10431
|
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 +10437,8 @@ var CheckEmail = function(param) {
|
|
|
10198
10437
|
}, _nullishCoalesce(_optionalChain([
|
|
10199
10438
|
texts,
|
|
10200
10439
|
"optionalAccess",
|
|
10201
|
-
function(
|
|
10202
|
-
return
|
|
10440
|
+
function(_242) {
|
|
10441
|
+
return _242.resendEmail;
|
|
10203
10442
|
}
|
|
10204
10443
|
]), function() {
|
|
10205
10444
|
return "Resend Email";
|
|
@@ -10303,8 +10542,48 @@ var SelectPayment = function(props) {
|
|
|
10303
10542
|
};
|
|
10304
10543
|
// src/blocks/Payment/CreditCardForm.tsx
|
|
10305
10544
|
var CreditCardForm = function(props) {
|
|
10545
|
+
var _react_useState_call = _sliced_to_array(_react.useState.call(void 0, ""), 2), cardNumber = _react_useState_call[0], setCardNumber = _react_useState_call[1];
|
|
10546
|
+
var _react_useState_call1 = _sliced_to_array(_react.useState.call(void 0, ""), 2), cardType = _react_useState_call1[0], setCardType = _react_useState_call1[1];
|
|
10306
10547
|
var methods = _reacthookform.useForm.call(void 0);
|
|
10307
10548
|
var errors = methods.formState.errors, handleSubmit = methods.handleSubmit, control = methods.control;
|
|
10549
|
+
var getCardType = function(card_bin) {
|
|
10550
|
+
var visa_regex = /^4[0-9]{0,15}$/m;
|
|
10551
|
+
var mastercard_regex = /^5$|^5[0-5][0-9]{0,16}$/m;
|
|
10552
|
+
var amex_regex = /^3$|^3[47][0-9]{0,13}$/m;
|
|
10553
|
+
var mada_regex = /^(440647|440795|446404|457865|968208|457997|474491|636120|417633|468540|468541|468542|468543|968201|446393|409201|458456|484783|462220|455708|410621|455036|486094|486095|486096|504300|440533|489318|489319|445564|968211|410685|406996|432328|428671|428672|428673|968206|446672|543357|434107|407197|407395|412565|431361|604906|521076|529415|535825|543085|524130|554180|549760|968209|524514|529741|537767|535989|536023|513213|520058|558563|588982|589005|531095|530906|532013|968204|422817|422818|422819|428331|483010|483011|483012|589206|968207|419593|439954|530060|531196|420132)/;
|
|
10554
|
+
var meeza_regex = /^507803[0-6][0-9]|507808[3-9][0-9]|507809[0-9][0-9]|507810[0-2][0-9]/;
|
|
10555
|
+
var card_type = "visa";
|
|
10556
|
+
if (card_bin.replace(/[^\d]/g, "").match(mada_regex)) {
|
|
10557
|
+
card_type = "mada";
|
|
10558
|
+
} else if (card_bin.replace(/[^\d]/g, "").match(meeza_regex)) {
|
|
10559
|
+
card_type = "meeza";
|
|
10560
|
+
} else if (card_bin.replace(/[^\d]/g, "").match(visa_regex)) {
|
|
10561
|
+
card_type = "visa";
|
|
10562
|
+
} else if (card_bin.replace(/[^\d]/g, "").match(mastercard_regex)) {
|
|
10563
|
+
card_type = "mastercard";
|
|
10564
|
+
} else if (card_bin.replace(/[^\d]/g, "").match(amex_regex)) {
|
|
10565
|
+
card_type = "amex";
|
|
10566
|
+
}
|
|
10567
|
+
return card_type;
|
|
10568
|
+
};
|
|
10569
|
+
var onCardNumberChange = function(event) {
|
|
10570
|
+
var _event_target = event.target, value = _event_target.value, name = _event_target.name;
|
|
10571
|
+
var cardNumber2 = value;
|
|
10572
|
+
value = value.replace(/\D/g, "");
|
|
10573
|
+
if (/^3[47]\d{0,13}$/.test(value)) {
|
|
10574
|
+
cardNumber2 = value.replace(/(\d{4})/, "$1 ").replace(/(\d{4}) (\d{6})/, "$1 $2 ");
|
|
10575
|
+
} else if (/^3(?:0[0-5]|[68]\d)\d{0,11}$/.test(value)) {
|
|
10576
|
+
cardNumber2 = value.replace(/(\d{4})/, "$1 ").replace(/(\d{4}) (\d{6})/, "$1 $2 ");
|
|
10577
|
+
} else if (/^\d{0,16}$/.test(value)) {
|
|
10578
|
+
cardNumber2 = value.replace(/(\d{4})/, "$1 ").replace(/(\d{4}) (\d{4})/, "$1 $2 ").replace(/(\d{4}) (\d{4}) (\d{4})/, "$1 $2 $3 ");
|
|
10579
|
+
}
|
|
10580
|
+
console.log("card number is ", cardNumber2.trimRight());
|
|
10581
|
+
setCardNumber(cardNumber2.trimRight());
|
|
10582
|
+
};
|
|
10583
|
+
_react.useEffect.call(void 0, function() {
|
|
10584
|
+
var cardTypeSlug = getCardType(cardNumber);
|
|
10585
|
+
setCardType(cardTypeSlug);
|
|
10586
|
+
});
|
|
10308
10587
|
return /* @__PURE__ */ React6.default.createElement(Card, null, /* @__PURE__ */ React6.default.createElement("form", {
|
|
10309
10588
|
onSubmit: handleSubmit(props.handle)
|
|
10310
10589
|
}, /* @__PURE__ */ React6.default.createElement(CardContent, {
|
|
@@ -10313,7 +10592,7 @@ var CreditCardForm = function(props) {
|
|
|
10313
10592
|
className: "flex flex-row gap-4"
|
|
10314
10593
|
}, /* @__PURE__ */ React6.default.createElement(_reacthookform.Controller, {
|
|
10315
10594
|
control: control,
|
|
10316
|
-
name: "
|
|
10595
|
+
name: "cardNumber",
|
|
10317
10596
|
render: function(param) {
|
|
10318
10597
|
var field = param.field;
|
|
10319
10598
|
return /* @__PURE__ */ React6.default.createElement(HawaTextField, {
|
|
@@ -10321,18 +10600,24 @@ var CreditCardForm = function(props) {
|
|
|
10321
10600
|
name: "cardNumber",
|
|
10322
10601
|
placeholder: "1234 1234 1234 1234",
|
|
10323
10602
|
type: "number",
|
|
10603
|
+
onChange: onCardNumberChange,
|
|
10324
10604
|
label: "Card Number",
|
|
10325
10605
|
helpertext: _optionalChain([
|
|
10326
10606
|
errors,
|
|
10327
10607
|
"access",
|
|
10328
|
-
function(
|
|
10329
|
-
return
|
|
10608
|
+
function(_243) {
|
|
10609
|
+
return _243.password;
|
|
10330
10610
|
},
|
|
10331
10611
|
"optionalAccess",
|
|
10332
|
-
function(
|
|
10333
|
-
return
|
|
10612
|
+
function(_244) {
|
|
10613
|
+
return _244.message;
|
|
10334
10614
|
}
|
|
10335
|
-
])
|
|
10615
|
+
]),
|
|
10616
|
+
iconInside: /* @__PURE__ */ React6.default.createElement("img", {
|
|
10617
|
+
src: "https://sikka-images.s3.ap-southeast-1.amazonaws.com/payment-symbols/borderless/".concat(cardType, ".png"),
|
|
10618
|
+
alt: "",
|
|
10619
|
+
className: "h-8"
|
|
10620
|
+
})
|
|
10336
10621
|
});
|
|
10337
10622
|
},
|
|
10338
10623
|
rules: {
|
|
@@ -10356,12 +10641,12 @@ var CreditCardForm = function(props) {
|
|
|
10356
10641
|
helpertext: _optionalChain([
|
|
10357
10642
|
errors,
|
|
10358
10643
|
"access",
|
|
10359
|
-
function(
|
|
10360
|
-
return
|
|
10644
|
+
function(_245) {
|
|
10645
|
+
return _245.password;
|
|
10361
10646
|
},
|
|
10362
10647
|
"optionalAccess",
|
|
10363
|
-
function(
|
|
10364
|
-
return
|
|
10648
|
+
function(_246) {
|
|
10649
|
+
return _246.message;
|
|
10365
10650
|
}
|
|
10366
10651
|
])
|
|
10367
10652
|
});
|
|
@@ -10383,12 +10668,12 @@ var CreditCardForm = function(props) {
|
|
|
10383
10668
|
helpertext: _optionalChain([
|
|
10384
10669
|
errors,
|
|
10385
10670
|
"access",
|
|
10386
|
-
function(
|
|
10387
|
-
return
|
|
10671
|
+
function(_247) {
|
|
10672
|
+
return _247.password;
|
|
10388
10673
|
},
|
|
10389
10674
|
"optionalAccess",
|
|
10390
|
-
function(
|
|
10391
|
-
return
|
|
10675
|
+
function(_248) {
|
|
10676
|
+
return _248.message;
|
|
10392
10677
|
}
|
|
10393
10678
|
])
|
|
10394
10679
|
});
|
|
@@ -10409,12 +10694,12 @@ var CreditCardForm = function(props) {
|
|
|
10409
10694
|
helpertext: _optionalChain([
|
|
10410
10695
|
errors,
|
|
10411
10696
|
"access",
|
|
10412
|
-
function(
|
|
10413
|
-
return
|
|
10697
|
+
function(_249) {
|
|
10698
|
+
return _249.password;
|
|
10414
10699
|
},
|
|
10415
10700
|
"optionalAccess",
|
|
10416
|
-
function(
|
|
10417
|
-
return
|
|
10701
|
+
function(_250) {
|
|
10702
|
+
return _250.message;
|
|
10418
10703
|
}
|
|
10419
10704
|
])
|
|
10420
10705
|
});
|
|
@@ -10521,12 +10806,12 @@ var CheckoutForm = function(props) {
|
|
|
10521
10806
|
required: _optionalChain([
|
|
10522
10807
|
props,
|
|
10523
10808
|
"access",
|
|
10524
|
-
function(
|
|
10525
|
-
return
|
|
10809
|
+
function(_251) {
|
|
10810
|
+
return _251.texts;
|
|
10526
10811
|
},
|
|
10527
10812
|
"optionalAccess",
|
|
10528
|
-
function(
|
|
10529
|
-
return
|
|
10813
|
+
function(_252) {
|
|
10814
|
+
return _252.required;
|
|
10530
10815
|
}
|
|
10531
10816
|
])
|
|
10532
10817
|
},
|
|
@@ -10537,23 +10822,23 @@ var CheckoutForm = function(props) {
|
|
|
10537
10822
|
label: _optionalChain([
|
|
10538
10823
|
props,
|
|
10539
10824
|
"access",
|
|
10540
|
-
function(
|
|
10541
|
-
return
|
|
10825
|
+
function(_253) {
|
|
10826
|
+
return _253.texts;
|
|
10542
10827
|
},
|
|
10543
10828
|
"optionalAccess",
|
|
10544
|
-
function(
|
|
10545
|
-
return
|
|
10829
|
+
function(_254) {
|
|
10830
|
+
return _254.firstNameLabel;
|
|
10546
10831
|
}
|
|
10547
10832
|
]) + " *",
|
|
10548
10833
|
helpertext: _optionalChain([
|
|
10549
10834
|
errors,
|
|
10550
10835
|
"access",
|
|
10551
|
-
function(
|
|
10552
|
-
return
|
|
10836
|
+
function(_255) {
|
|
10837
|
+
return _255.firstName;
|
|
10553
10838
|
},
|
|
10554
10839
|
"optionalAccess",
|
|
10555
|
-
function(
|
|
10556
|
-
return
|
|
10840
|
+
function(_256) {
|
|
10841
|
+
return _256.message;
|
|
10557
10842
|
}
|
|
10558
10843
|
])
|
|
10559
10844
|
}, field), {
|
|
@@ -10573,12 +10858,12 @@ var CheckoutForm = function(props) {
|
|
|
10573
10858
|
required: _optionalChain([
|
|
10574
10859
|
props,
|
|
10575
10860
|
"access",
|
|
10576
|
-
function(
|
|
10577
|
-
return
|
|
10861
|
+
function(_257) {
|
|
10862
|
+
return _257.texts;
|
|
10578
10863
|
},
|
|
10579
10864
|
"optionalAccess",
|
|
10580
|
-
function(
|
|
10581
|
-
return
|
|
10865
|
+
function(_258) {
|
|
10866
|
+
return _258.required;
|
|
10582
10867
|
}
|
|
10583
10868
|
])
|
|
10584
10869
|
},
|
|
@@ -10590,23 +10875,23 @@ var CheckoutForm = function(props) {
|
|
|
10590
10875
|
label: _optionalChain([
|
|
10591
10876
|
props,
|
|
10592
10877
|
"access",
|
|
10593
|
-
function(
|
|
10594
|
-
return
|
|
10878
|
+
function(_259) {
|
|
10879
|
+
return _259.texts;
|
|
10595
10880
|
},
|
|
10596
10881
|
"optionalAccess",
|
|
10597
|
-
function(
|
|
10598
|
-
return
|
|
10882
|
+
function(_260) {
|
|
10883
|
+
return _260.lastNameLabel;
|
|
10599
10884
|
}
|
|
10600
10885
|
]) + " *",
|
|
10601
10886
|
helpertext: _optionalChain([
|
|
10602
10887
|
errors,
|
|
10603
10888
|
"access",
|
|
10604
|
-
function(
|
|
10605
|
-
return
|
|
10889
|
+
function(_261) {
|
|
10890
|
+
return _261.lastName;
|
|
10606
10891
|
},
|
|
10607
10892
|
"optionalAccess",
|
|
10608
|
-
function(
|
|
10609
|
-
return
|
|
10893
|
+
function(_262) {
|
|
10894
|
+
return _262.message;
|
|
10610
10895
|
}
|
|
10611
10896
|
])
|
|
10612
10897
|
}, field), {
|
|
@@ -10626,23 +10911,23 @@ var CheckoutForm = function(props) {
|
|
|
10626
10911
|
label: _optionalChain([
|
|
10627
10912
|
props,
|
|
10628
10913
|
"access",
|
|
10629
|
-
function(
|
|
10630
|
-
return
|
|
10914
|
+
function(_263) {
|
|
10915
|
+
return _263.texts;
|
|
10631
10916
|
},
|
|
10632
10917
|
"optionalAccess",
|
|
10633
|
-
function(
|
|
10634
|
-
return
|
|
10918
|
+
function(_264) {
|
|
10919
|
+
return _264.emailLabel;
|
|
10635
10920
|
}
|
|
10636
10921
|
]) + " *",
|
|
10637
10922
|
helpertext: _optionalChain([
|
|
10638
10923
|
errors,
|
|
10639
10924
|
"access",
|
|
10640
|
-
function(
|
|
10641
|
-
return
|
|
10925
|
+
function(_265) {
|
|
10926
|
+
return _265.email;
|
|
10642
10927
|
},
|
|
10643
10928
|
"optionalAccess",
|
|
10644
|
-
function(
|
|
10645
|
-
return
|
|
10929
|
+
function(_266) {
|
|
10930
|
+
return _266.message;
|
|
10646
10931
|
}
|
|
10647
10932
|
])
|
|
10648
10933
|
}, field), {
|
|
@@ -10655,12 +10940,12 @@ var CheckoutForm = function(props) {
|
|
|
10655
10940
|
required: _optionalChain([
|
|
10656
10941
|
props,
|
|
10657
10942
|
"access",
|
|
10658
|
-
function(
|
|
10659
|
-
return
|
|
10943
|
+
function(_267) {
|
|
10944
|
+
return _267.texts;
|
|
10660
10945
|
},
|
|
10661
10946
|
"optionalAccess",
|
|
10662
|
-
function(
|
|
10663
|
-
return
|
|
10947
|
+
function(_268) {
|
|
10948
|
+
return _268.emailRequiredText;
|
|
10664
10949
|
}
|
|
10665
10950
|
]),
|
|
10666
10951
|
pattern: {
|
|
@@ -10668,12 +10953,12 @@ var CheckoutForm = function(props) {
|
|
|
10668
10953
|
message: _optionalChain([
|
|
10669
10954
|
props,
|
|
10670
10955
|
"access",
|
|
10671
|
-
function(
|
|
10672
|
-
return
|
|
10956
|
+
function(_269) {
|
|
10957
|
+
return _269.texts;
|
|
10673
10958
|
},
|
|
10674
10959
|
"optionalAccess",
|
|
10675
|
-
function(
|
|
10676
|
-
return
|
|
10960
|
+
function(_270) {
|
|
10961
|
+
return _270.emailInvalidText;
|
|
10677
10962
|
}
|
|
10678
10963
|
])
|
|
10679
10964
|
}
|
|
@@ -10687,12 +10972,12 @@ var CheckoutForm = function(props) {
|
|
|
10687
10972
|
required: _optionalChain([
|
|
10688
10973
|
props,
|
|
10689
10974
|
"access",
|
|
10690
|
-
function(
|
|
10691
|
-
return
|
|
10975
|
+
function(_271) {
|
|
10976
|
+
return _271.texts;
|
|
10692
10977
|
},
|
|
10693
10978
|
"optionalAccess",
|
|
10694
|
-
function(
|
|
10695
|
-
return
|
|
10979
|
+
function(_272) {
|
|
10980
|
+
return _272.required;
|
|
10696
10981
|
}
|
|
10697
10982
|
])
|
|
10698
10983
|
},
|
|
@@ -10704,23 +10989,23 @@ var CheckoutForm = function(props) {
|
|
|
10704
10989
|
label: _optionalChain([
|
|
10705
10990
|
props,
|
|
10706
10991
|
"access",
|
|
10707
|
-
function(
|
|
10708
|
-
return
|
|
10992
|
+
function(_273) {
|
|
10993
|
+
return _273.texts;
|
|
10709
10994
|
},
|
|
10710
10995
|
"optionalAccess",
|
|
10711
|
-
function(
|
|
10712
|
-
return
|
|
10996
|
+
function(_274) {
|
|
10997
|
+
return _274.streetAddressLabel;
|
|
10713
10998
|
}
|
|
10714
10999
|
]) + " *",
|
|
10715
11000
|
helpertext: _optionalChain([
|
|
10716
11001
|
errors,
|
|
10717
11002
|
"access",
|
|
10718
|
-
function(
|
|
10719
|
-
return
|
|
11003
|
+
function(_275) {
|
|
11004
|
+
return _275.streetAddress;
|
|
10720
11005
|
},
|
|
10721
11006
|
"optionalAccess",
|
|
10722
|
-
function(
|
|
10723
|
-
return
|
|
11007
|
+
function(_276) {
|
|
11008
|
+
return _276.message;
|
|
10724
11009
|
}
|
|
10725
11010
|
])
|
|
10726
11011
|
}, field), {
|
|
@@ -10738,12 +11023,12 @@ var CheckoutForm = function(props) {
|
|
|
10738
11023
|
required: _optionalChain([
|
|
10739
11024
|
props,
|
|
10740
11025
|
"access",
|
|
10741
|
-
function(
|
|
10742
|
-
return
|
|
11026
|
+
function(_277) {
|
|
11027
|
+
return _277.texts;
|
|
10743
11028
|
},
|
|
10744
11029
|
"optionalAccess",
|
|
10745
|
-
function(
|
|
10746
|
-
return
|
|
11030
|
+
function(_278) {
|
|
11031
|
+
return _278.required;
|
|
10747
11032
|
}
|
|
10748
11033
|
])
|
|
10749
11034
|
},
|
|
@@ -10755,23 +11040,23 @@ var CheckoutForm = function(props) {
|
|
|
10755
11040
|
label: _optionalChain([
|
|
10756
11041
|
props,
|
|
10757
11042
|
"access",
|
|
10758
|
-
function(
|
|
10759
|
-
return
|
|
11043
|
+
function(_279) {
|
|
11044
|
+
return _279.texts;
|
|
10760
11045
|
},
|
|
10761
11046
|
"optionalAccess",
|
|
10762
|
-
function(
|
|
10763
|
-
return
|
|
11047
|
+
function(_280) {
|
|
11048
|
+
return _280.stateLabel;
|
|
10764
11049
|
}
|
|
10765
11050
|
]) + " *",
|
|
10766
11051
|
helpertext: _optionalChain([
|
|
10767
11052
|
errors,
|
|
10768
11053
|
"access",
|
|
10769
|
-
function(
|
|
10770
|
-
return
|
|
11054
|
+
function(_281) {
|
|
11055
|
+
return _281.province;
|
|
10771
11056
|
},
|
|
10772
11057
|
"optionalAccess",
|
|
10773
|
-
function(
|
|
10774
|
-
return
|
|
11058
|
+
function(_282) {
|
|
11059
|
+
return _282.message;
|
|
10775
11060
|
}
|
|
10776
11061
|
])
|
|
10777
11062
|
}, field), {
|
|
@@ -10791,12 +11076,12 @@ var CheckoutForm = function(props) {
|
|
|
10791
11076
|
required: _optionalChain([
|
|
10792
11077
|
props,
|
|
10793
11078
|
"access",
|
|
10794
|
-
function(
|
|
10795
|
-
return
|
|
11079
|
+
function(_283) {
|
|
11080
|
+
return _283.texts;
|
|
10796
11081
|
},
|
|
10797
11082
|
"optionalAccess",
|
|
10798
|
-
function(
|
|
10799
|
-
return
|
|
11083
|
+
function(_284) {
|
|
11084
|
+
return _284.required;
|
|
10800
11085
|
}
|
|
10801
11086
|
])
|
|
10802
11087
|
},
|
|
@@ -10808,23 +11093,23 @@ var CheckoutForm = function(props) {
|
|
|
10808
11093
|
label: _optionalChain([
|
|
10809
11094
|
props,
|
|
10810
11095
|
"access",
|
|
10811
|
-
function(
|
|
10812
|
-
return
|
|
11096
|
+
function(_285) {
|
|
11097
|
+
return _285.texts;
|
|
10813
11098
|
},
|
|
10814
11099
|
"optionalAccess",
|
|
10815
|
-
function(
|
|
10816
|
-
return
|
|
11100
|
+
function(_286) {
|
|
11101
|
+
return _286.cityLabel;
|
|
10817
11102
|
}
|
|
10818
11103
|
]) + " *",
|
|
10819
11104
|
helpertext: _optionalChain([
|
|
10820
11105
|
errors,
|
|
10821
11106
|
"access",
|
|
10822
|
-
function(
|
|
10823
|
-
return
|
|
11107
|
+
function(_287) {
|
|
11108
|
+
return _287.city;
|
|
10824
11109
|
},
|
|
10825
11110
|
"optionalAccess",
|
|
10826
|
-
function(
|
|
10827
|
-
return
|
|
11111
|
+
function(_288) {
|
|
11112
|
+
return _288.message;
|
|
10828
11113
|
}
|
|
10829
11114
|
])
|
|
10830
11115
|
}, field), {
|
|
@@ -10842,12 +11127,12 @@ var CheckoutForm = function(props) {
|
|
|
10842
11127
|
required: _optionalChain([
|
|
10843
11128
|
props,
|
|
10844
11129
|
"access",
|
|
10845
|
-
function(
|
|
10846
|
-
return
|
|
11130
|
+
function(_289) {
|
|
11131
|
+
return _289.texts;
|
|
10847
11132
|
},
|
|
10848
11133
|
"optionalAccess",
|
|
10849
|
-
function(
|
|
10850
|
-
return
|
|
11134
|
+
function(_290) {
|
|
11135
|
+
return _290.required;
|
|
10851
11136
|
}
|
|
10852
11137
|
])
|
|
10853
11138
|
},
|
|
@@ -10859,23 +11144,23 @@ var CheckoutForm = function(props) {
|
|
|
10859
11144
|
label: _optionalChain([
|
|
10860
11145
|
props,
|
|
10861
11146
|
"access",
|
|
10862
|
-
function(
|
|
10863
|
-
return
|
|
11147
|
+
function(_291) {
|
|
11148
|
+
return _291.texts;
|
|
10864
11149
|
},
|
|
10865
11150
|
"optionalAccess",
|
|
10866
|
-
function(
|
|
10867
|
-
return
|
|
11151
|
+
function(_292) {
|
|
11152
|
+
return _292.buildingNumberLabel;
|
|
10868
11153
|
}
|
|
10869
11154
|
]) + " *",
|
|
10870
11155
|
helpertext: _optionalChain([
|
|
10871
11156
|
errors,
|
|
10872
11157
|
"access",
|
|
10873
|
-
function(
|
|
10874
|
-
return
|
|
11158
|
+
function(_293) {
|
|
11159
|
+
return _293.buildingNumber;
|
|
10875
11160
|
},
|
|
10876
11161
|
"optionalAccess",
|
|
10877
|
-
function(
|
|
10878
|
-
return
|
|
11162
|
+
function(_294) {
|
|
11163
|
+
return _294.message;
|
|
10879
11164
|
}
|
|
10880
11165
|
])
|
|
10881
11166
|
}, field), {
|
|
@@ -10895,12 +11180,12 @@ var CheckoutForm = function(props) {
|
|
|
10895
11180
|
required: _optionalChain([
|
|
10896
11181
|
props,
|
|
10897
11182
|
"access",
|
|
10898
|
-
function(
|
|
10899
|
-
return
|
|
11183
|
+
function(_295) {
|
|
11184
|
+
return _295.texts;
|
|
10900
11185
|
},
|
|
10901
11186
|
"optionalAccess",
|
|
10902
|
-
function(
|
|
10903
|
-
return
|
|
11187
|
+
function(_296) {
|
|
11188
|
+
return _296.required;
|
|
10904
11189
|
}
|
|
10905
11190
|
])
|
|
10906
11191
|
},
|
|
@@ -10912,23 +11197,23 @@ var CheckoutForm = function(props) {
|
|
|
10912
11197
|
label: _optionalChain([
|
|
10913
11198
|
props,
|
|
10914
11199
|
"access",
|
|
10915
|
-
function(
|
|
10916
|
-
return
|
|
11200
|
+
function(_297) {
|
|
11201
|
+
return _297.texts;
|
|
10917
11202
|
},
|
|
10918
11203
|
"optionalAccess",
|
|
10919
|
-
function(
|
|
10920
|
-
return
|
|
11204
|
+
function(_298) {
|
|
11205
|
+
return _298.zipCodeLabel;
|
|
10921
11206
|
}
|
|
10922
11207
|
]) + " *",
|
|
10923
11208
|
helpertext: _optionalChain([
|
|
10924
11209
|
errors,
|
|
10925
11210
|
"access",
|
|
10926
|
-
function(
|
|
10927
|
-
return
|
|
11211
|
+
function(_299) {
|
|
11212
|
+
return _299.zipCode;
|
|
10928
11213
|
},
|
|
10929
11214
|
"optionalAccess",
|
|
10930
|
-
function(
|
|
10931
|
-
return
|
|
11215
|
+
function(_300) {
|
|
11216
|
+
return _300.message;
|
|
10932
11217
|
}
|
|
10933
11218
|
])
|
|
10934
11219
|
}, field), {
|
|
@@ -10946,12 +11231,12 @@ var CheckoutForm = function(props) {
|
|
|
10946
11231
|
required: _optionalChain([
|
|
10947
11232
|
props,
|
|
10948
11233
|
"access",
|
|
10949
|
-
function(
|
|
10950
|
-
return
|
|
11234
|
+
function(_301) {
|
|
11235
|
+
return _301.texts;
|
|
10951
11236
|
},
|
|
10952
11237
|
"optionalAccess",
|
|
10953
|
-
function(
|
|
10954
|
-
return
|
|
11238
|
+
function(_302) {
|
|
11239
|
+
return _302.required;
|
|
10955
11240
|
}
|
|
10956
11241
|
])
|
|
10957
11242
|
},
|
|
@@ -10962,23 +11247,23 @@ var CheckoutForm = function(props) {
|
|
|
10962
11247
|
label: _optionalChain([
|
|
10963
11248
|
props,
|
|
10964
11249
|
"access",
|
|
10965
|
-
function(
|
|
10966
|
-
return
|
|
11250
|
+
function(_303) {
|
|
11251
|
+
return _303.texts;
|
|
10967
11252
|
},
|
|
10968
11253
|
"optionalAccess",
|
|
10969
|
-
function(
|
|
10970
|
-
return
|
|
11254
|
+
function(_304) {
|
|
11255
|
+
return _304.countryLabel;
|
|
10971
11256
|
}
|
|
10972
11257
|
]) + " *",
|
|
10973
11258
|
helperText: _optionalChain([
|
|
10974
11259
|
errors,
|
|
10975
11260
|
"access",
|
|
10976
|
-
function(
|
|
10977
|
-
return
|
|
11261
|
+
function(_305) {
|
|
11262
|
+
return _305.country;
|
|
10978
11263
|
},
|
|
10979
11264
|
"optionalAccess",
|
|
10980
|
-
function(
|
|
10981
|
-
return
|
|
11265
|
+
function(_306) {
|
|
11266
|
+
return _306.message;
|
|
10982
11267
|
}
|
|
10983
11268
|
]),
|
|
10984
11269
|
options: countries_default,
|
|
@@ -11138,16 +11423,16 @@ var ComparingPlans = function(props) {
|
|
|
11138
11423
|
})), _optionalChain([
|
|
11139
11424
|
props,
|
|
11140
11425
|
"access",
|
|
11141
|
-
function(
|
|
11142
|
-
return
|
|
11426
|
+
function(_307) {
|
|
11427
|
+
return _307.plans;
|
|
11143
11428
|
},
|
|
11144
11429
|
"optionalAccess",
|
|
11145
|
-
function(
|
|
11146
|
-
return
|
|
11430
|
+
function(_308) {
|
|
11431
|
+
return _308.map;
|
|
11147
11432
|
},
|
|
11148
11433
|
"call",
|
|
11149
|
-
function(
|
|
11150
|
-
return
|
|
11434
|
+
function(_309) {
|
|
11435
|
+
return _309(function(plan) {
|
|
11151
11436
|
return plan.features.map(function(feature) {
|
|
11152
11437
|
return /* @__PURE__ */ React6.default.createElement("div", {
|
|
11153
11438
|
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 +11805,8 @@ var NotFound = function(param) {
|
|
|
11520
11805
|
}, _nullishCoalesce(_optionalChain([
|
|
11521
11806
|
texts,
|
|
11522
11807
|
"optionalAccess",
|
|
11523
|
-
function(
|
|
11524
|
-
return
|
|
11808
|
+
function(_310) {
|
|
11809
|
+
return _310.pageNotFound;
|
|
11525
11810
|
}
|
|
11526
11811
|
]), function() {
|
|
11527
11812
|
return "Page Not Found";
|
|
@@ -11530,8 +11815,8 @@ var NotFound = function(param) {
|
|
|
11530
11815
|
}, _nullishCoalesce(_optionalChain([
|
|
11531
11816
|
texts,
|
|
11532
11817
|
"optionalAccess",
|
|
11533
|
-
function(
|
|
11534
|
-
return
|
|
11818
|
+
function(_311) {
|
|
11819
|
+
return _311.ifLost;
|
|
11535
11820
|
}
|
|
11536
11821
|
]), function() {
|
|
11537
11822
|
return /* @__PURE__ */ React6.default.createElement(React6.default.Fragment, null, "If you're lost please contact us", " ", /* @__PURE__ */ React6.default.createElement("span", {
|
|
@@ -11542,8 +11827,8 @@ var NotFound = function(param) {
|
|
|
11542
11827
|
}, _nullishCoalesce(_optionalChain([
|
|
11543
11828
|
texts,
|
|
11544
11829
|
"optionalAccess",
|
|
11545
|
-
function(
|
|
11546
|
-
return
|
|
11830
|
+
function(_312) {
|
|
11831
|
+
return _312.home;
|
|
11547
11832
|
}
|
|
11548
11833
|
]), function() {
|
|
11549
11834
|
return "Home";
|
|
@@ -11572,8 +11857,8 @@ var EmptyState = function(param) {
|
|
|
11572
11857
|
}, _nullishCoalesce(_optionalChain([
|
|
11573
11858
|
texts,
|
|
11574
11859
|
"optionalAccess",
|
|
11575
|
-
function(
|
|
11576
|
-
return
|
|
11860
|
+
function(_313) {
|
|
11861
|
+
return _313.youreCaughtUp;
|
|
11577
11862
|
}
|
|
11578
11863
|
]), function() {
|
|
11579
11864
|
return "You're all caught up";
|
|
@@ -11585,8 +11870,8 @@ var EmptyState = function(param) {
|
|
|
11585
11870
|
}, _nullishCoalesce(_optionalChain([
|
|
11586
11871
|
texts,
|
|
11587
11872
|
"optionalAccess",
|
|
11588
|
-
function(
|
|
11589
|
-
return
|
|
11873
|
+
function(_314) {
|
|
11874
|
+
return _314.actionText;
|
|
11590
11875
|
}
|
|
11591
11876
|
]), function() {
|
|
11592
11877
|
return "Go Home";
|
|
@@ -11626,14 +11911,14 @@ var LeadGenerator = function(param) {
|
|
|
11626
11911
|
return /* @__PURE__ */ React6.default.createElement(Card, null, /* @__PURE__ */ React6.default.createElement(CardHeader, null, /* @__PURE__ */ React6.default.createElement(CardTitle, null, _optionalChain([
|
|
11627
11912
|
texts,
|
|
11628
11913
|
"optionalAccess",
|
|
11629
|
-
function(
|
|
11630
|
-
return
|
|
11914
|
+
function(_315) {
|
|
11915
|
+
return _315.title;
|
|
11631
11916
|
}
|
|
11632
11917
|
])), /* @__PURE__ */ React6.default.createElement(CardDescription, null, _optionalChain([
|
|
11633
11918
|
texts,
|
|
11634
11919
|
"optionalAccess",
|
|
11635
|
-
function(
|
|
11636
|
-
return
|
|
11920
|
+
function(_316) {
|
|
11921
|
+
return _316.subtitle;
|
|
11637
11922
|
}
|
|
11638
11923
|
]))), /* @__PURE__ */ React6.default.createElement(CardContent, null, /* @__PURE__ */ React6.default.createElement("form", {
|
|
11639
11924
|
className: "flex flex-row gap-2",
|
|
@@ -11648,8 +11933,8 @@ var LeadGenerator = function(param) {
|
|
|
11648
11933
|
}), /* @__PURE__ */ React6.default.createElement(Button, null, _nullishCoalesce(_optionalChain([
|
|
11649
11934
|
texts,
|
|
11650
11935
|
"optionalAccess",
|
|
11651
|
-
function(
|
|
11652
|
-
return
|
|
11936
|
+
function(_317) {
|
|
11937
|
+
return _317.submit;
|
|
11653
11938
|
}
|
|
11654
11939
|
]), function() {
|
|
11655
11940
|
return "Submit";
|
|
@@ -11699,16 +11984,16 @@ var NoPermission = function(param) {
|
|
|
11699
11984
|
}, _nullishCoalesce(_optionalChain([
|
|
11700
11985
|
texts,
|
|
11701
11986
|
"optionalAccess",
|
|
11702
|
-
function(
|
|
11703
|
-
return
|
|
11987
|
+
function(_318) {
|
|
11988
|
+
return _318.title;
|
|
11704
11989
|
}
|
|
11705
11990
|
]), function() {
|
|
11706
11991
|
return "You don't have permission";
|
|
11707
11992
|
})), /* @__PURE__ */ React6.default.createElement("div", null, _nullishCoalesce(_optionalChain([
|
|
11708
11993
|
texts,
|
|
11709
11994
|
"optionalAccess",
|
|
11710
|
-
function(
|
|
11711
|
-
return
|
|
11995
|
+
function(_319) {
|
|
11996
|
+
return _319.subtitle;
|
|
11712
11997
|
}
|
|
11713
11998
|
]), function() {
|
|
11714
11999
|
return "If you think this is a problem please contact your administrator or our customer support";
|
|
@@ -11820,6 +12105,7 @@ exports.SignInForm = SignInForm;
|
|
|
11820
12105
|
exports.SignInPhone = SignInPhone;
|
|
11821
12106
|
exports.SignUpForm = SignUpForm;
|
|
11822
12107
|
exports.Skeleton = Skeleton;
|
|
12108
|
+
exports.StickyFeatures = StickyFeatures;
|
|
11823
12109
|
exports.SubsectionList = SubsectionList;
|
|
11824
12110
|
exports.Switch = Switch;
|
|
11825
12111
|
exports.Tabs = Tabs;
|
|
@@ -11841,6 +12127,7 @@ exports.Tooltip = Tooltip;
|
|
|
11841
12127
|
exports.UsageCard = UsageCard;
|
|
11842
12128
|
exports.UserFeedback = UserFeedback;
|
|
11843
12129
|
exports.UserProfileForm = UserProfileForm;
|
|
12130
|
+
exports.UserReferralSource = UserReferralSource;
|
|
11844
12131
|
exports.UserSettingsForm = UserSettingsForm;
|
|
11845
12132
|
exports.buttonVariants = buttonVariants;
|
|
11846
12133
|
exports.reducer = reducer;
|