@burdenoff/microfe-devportal 2026.915.4 → 2026.915.6
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/devportal/components/RegisterPickupLocationModal.d.ts +28 -0
- package/dist/devportal/components/RegisterPickupLocationModal.d.ts.map +1 -0
- package/dist/devportal/components/RegisterPickupLocationModal.js +205 -0
- package/dist/devportal/components/RegisterPickupLocationModal.js.map +1 -0
- package/dist/devportal/components/index.d.ts +1 -0
- package/dist/devportal/components/index.d.ts.map +1 -1
- package/dist/devportal/components/index.js +1 -0
- package/dist/devportal/hooks/useCarrierPickupLocations.d.ts +3 -0
- package/dist/devportal/hooks/useCarrierPickupLocations.d.ts.map +1 -1
- package/dist/devportal/hooks/useCarrierPickupLocations.js +21 -21
- package/dist/devportal/hooks/useCarrierPickupLocations.js.map +1 -1
- package/dist/devportal/pages/OrganizationDetailPage.d.ts.map +1 -1
- package/dist/devportal/pages/OrganizationDetailPage.js +367 -310
- package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface RegisterPickupLocationModalProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
/** Pre-fills the pincode field with the org's currently-saved pincode, if
|
|
7
|
+
* any — the seller can still change it here, this is just a starting
|
|
8
|
+
* point, not a fixed value decided elsewhere. */
|
|
9
|
+
initialPostalCode: string;
|
|
10
|
+
/** Which carrier to register with — only carriers that support registration
|
|
11
|
+
* should ever open this modal (currently just "shiprocket"). */
|
|
12
|
+
carrier: string;
|
|
13
|
+
/** Called with the pincode that was actually registered, so the caller can
|
|
14
|
+
* persist it as the org's pickup pincode in the same action. */
|
|
15
|
+
onRegistered: (postalCode: string) => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Lets a seller submit their real pickup address — the ONE way to set up
|
|
19
|
+
* fulfillment, no separate bare-pincode field — and have it registered as a
|
|
20
|
+
* new, bookable location directly with the shipping carrier. A real,
|
|
21
|
+
* permanent write to the carrier's own account (see
|
|
22
|
+
* ShiprocketAdapter.registerPickupLocation), free of charge on Shiprocket's
|
|
23
|
+
* side (no per-address fee — they bill per shipment, not per pickup point).
|
|
24
|
+
* We never maintain our own list of "valid" pincodes; whatever address the
|
|
25
|
+
* carrier itself accepts here is supported, full stop.
|
|
26
|
+
*/
|
|
27
|
+
export declare const RegisterPickupLocationModal: FC<RegisterPickupLocationModalProps>;
|
|
28
|
+
//# sourceMappingURL=RegisterPickupLocationModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegisterPickupLocationModal.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/RegisterPickupLocationModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA0CpE,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC;;qDAEiD;IACjD,iBAAiB,EAAE,MAAM,CAAC;IAC1B;oEACgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB;oEACgE;IAChE,YAAY,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAoOjC,CAAC"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { useTr as e } from "../utils/i18n.js";
|
|
2
|
+
import { InputField as t } from "./FormField.js";
|
|
3
|
+
import { useEffect as n, useId as r, useRef as i, useState as a } from "react";
|
|
4
|
+
import { Loader2 as o, Truck as s, X as c } from "lucide-react";
|
|
5
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
6
|
+
import { graphqlFetch as d } from "@burdenoff/fe-libs/shared/graphql";
|
|
7
|
+
//#region src/devportal/components/RegisterPickupLocationModal.tsx
|
|
8
|
+
var f = "\n mutation RegisterCarrierPickupLocation($input: RegisterCarrierPickupLocationInput!) {\n registerCarrierPickupLocation(input: $input) {\n label\n postalCode\n carrier\n }\n }\n";
|
|
9
|
+
function p(e) {
|
|
10
|
+
return {
|
|
11
|
+
name: "",
|
|
12
|
+
email: "",
|
|
13
|
+
phone: "",
|
|
14
|
+
address: "",
|
|
15
|
+
addressLine2: "",
|
|
16
|
+
city: "",
|
|
17
|
+
state: "",
|
|
18
|
+
country: "India",
|
|
19
|
+
postalCode: e
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
var m = ({ open: m, onOpenChange: h, initialPostalCode: g, carrier: _, onRegistered: v }) => {
|
|
23
|
+
let y = e(), b = r(), x = i(null), [S, C] = a(() => p(g)), [w, T] = a(!1), [E, D] = a(null);
|
|
24
|
+
if (n(() => {
|
|
25
|
+
m && C(p(g));
|
|
26
|
+
}, [m]), !m) return null;
|
|
27
|
+
let O = (e, t) => C((n) => ({
|
|
28
|
+
...n,
|
|
29
|
+
[e]: t
|
|
30
|
+
})), k = () => {
|
|
31
|
+
w || (D(null), h(!1));
|
|
32
|
+
}, A = S.name.trim() && S.email.trim() && S.phone.trim() && S.address.trim() && S.city.trim() && S.state.trim() && S.country.trim() && S.postalCode.trim(), j = async () => {
|
|
33
|
+
if (A) {
|
|
34
|
+
T(!0), D(null);
|
|
35
|
+
try {
|
|
36
|
+
let e = S.postalCode.trim(), t = await d({
|
|
37
|
+
gateway: "global",
|
|
38
|
+
query: f,
|
|
39
|
+
variables: { input: {
|
|
40
|
+
carrier: _,
|
|
41
|
+
name: S.name.trim(),
|
|
42
|
+
email: S.email.trim(),
|
|
43
|
+
phone: S.phone.trim(),
|
|
44
|
+
address: S.address.trim(),
|
|
45
|
+
addressLine2: S.addressLine2.trim() || void 0,
|
|
46
|
+
city: S.city.trim(),
|
|
47
|
+
state: S.state.trim(),
|
|
48
|
+
country: S.country.trim(),
|
|
49
|
+
postalCode: e
|
|
50
|
+
} }
|
|
51
|
+
});
|
|
52
|
+
if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Failed to register pickup address");
|
|
53
|
+
v(e), h(!1);
|
|
54
|
+
} catch (e) {
|
|
55
|
+
D(e instanceof Error ? e.message : "Failed to register pickup address");
|
|
56
|
+
} finally {
|
|
57
|
+
T(!1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
return /* @__PURE__ */ u("div", {
|
|
62
|
+
className: "fixed inset-0 z-50 flex items-center justify-center",
|
|
63
|
+
children: [/* @__PURE__ */ l("button", {
|
|
64
|
+
type: "button",
|
|
65
|
+
"aria-label": "Close register pickup address dialog backdrop",
|
|
66
|
+
className: "absolute inset-0 bg-bg-overlay",
|
|
67
|
+
onClick: k
|
|
68
|
+
}), /* @__PURE__ */ u("div", {
|
|
69
|
+
ref: x,
|
|
70
|
+
role: "dialog",
|
|
71
|
+
"aria-modal": "true",
|
|
72
|
+
"aria-labelledby": b,
|
|
73
|
+
tabIndex: -1,
|
|
74
|
+
className: "relative z-10 max-h-[90vh] w-full max-w-lg overflow-y-auto rounded-lg bg-bg-surface shadow-xl",
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ u("div", {
|
|
77
|
+
className: "flex items-start gap-4 border-b p-6",
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ l("div", {
|
|
80
|
+
className: "rounded-full bg-status-info-bg-subtle p-2",
|
|
81
|
+
children: /* @__PURE__ */ l(s, { className: "h-6 w-6 text-status-info-text" })
|
|
82
|
+
}),
|
|
83
|
+
/* @__PURE__ */ u("div", {
|
|
84
|
+
className: "flex-1",
|
|
85
|
+
children: [/* @__PURE__ */ l("h3", {
|
|
86
|
+
id: b,
|
|
87
|
+
className: "text-lg font-semibold",
|
|
88
|
+
children: y("devportal.registerPickupAddress", "Pickup Address")
|
|
89
|
+
}), /* @__PURE__ */ l("p", {
|
|
90
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
91
|
+
children: y("devportal.registerPickupAddressDesc", "This is the real address your physical orders ship from. It's free to register — Shiprocket doesn't charge per pickup point, only per shipment.")
|
|
92
|
+
})]
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ l("button", {
|
|
95
|
+
type: "button",
|
|
96
|
+
onClick: k,
|
|
97
|
+
disabled: w,
|
|
98
|
+
className: "rounded-md p-1 text-text-secondary hover:bg-bg-sunken transition-colors disabled:opacity-50",
|
|
99
|
+
children: /* @__PURE__ */ l(c, { className: "h-5 w-5" })
|
|
100
|
+
})
|
|
101
|
+
]
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ u("div", {
|
|
104
|
+
className: "space-y-4 p-6",
|
|
105
|
+
children: [
|
|
106
|
+
/* @__PURE__ */ l(t, {
|
|
107
|
+
label: y("devportal.pickupContactName", "Contact name"),
|
|
108
|
+
value: S.name,
|
|
109
|
+
onChange: (e) => O("name", e.target.value),
|
|
110
|
+
required: !0,
|
|
111
|
+
disabled: w
|
|
112
|
+
}),
|
|
113
|
+
/* @__PURE__ */ u("div", {
|
|
114
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
115
|
+
children: [/* @__PURE__ */ l(t, {
|
|
116
|
+
label: y("devportal.pickupContactEmail", "Contact email"),
|
|
117
|
+
type: "email",
|
|
118
|
+
value: S.email,
|
|
119
|
+
onChange: (e) => O("email", e.target.value),
|
|
120
|
+
required: !0,
|
|
121
|
+
disabled: w
|
|
122
|
+
}), /* @__PURE__ */ l(t, {
|
|
123
|
+
label: y("devportal.pickupContactPhone", "Contact phone"),
|
|
124
|
+
type: "tel",
|
|
125
|
+
value: S.phone,
|
|
126
|
+
onChange: (e) => O("phone", e.target.value),
|
|
127
|
+
required: !0,
|
|
128
|
+
disabled: w
|
|
129
|
+
})]
|
|
130
|
+
}),
|
|
131
|
+
/* @__PURE__ */ l(t, {
|
|
132
|
+
label: y("devportal.pickupAddressLine1", "Address"),
|
|
133
|
+
value: S.address,
|
|
134
|
+
onChange: (e) => O("address", e.target.value),
|
|
135
|
+
required: !0,
|
|
136
|
+
disabled: w
|
|
137
|
+
}),
|
|
138
|
+
/* @__PURE__ */ l(t, {
|
|
139
|
+
label: y("devportal.pickupAddressLine2", "Apartment, suite, building number, etc. (optional)"),
|
|
140
|
+
value: S.addressLine2,
|
|
141
|
+
onChange: (e) => O("addressLine2", e.target.value),
|
|
142
|
+
disabled: w
|
|
143
|
+
}),
|
|
144
|
+
/* @__PURE__ */ u("div", {
|
|
145
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
146
|
+
children: [/* @__PURE__ */ l(t, {
|
|
147
|
+
label: y("devportal.pickupCity", "City"),
|
|
148
|
+
value: S.city,
|
|
149
|
+
onChange: (e) => O("city", e.target.value),
|
|
150
|
+
required: !0,
|
|
151
|
+
disabled: w
|
|
152
|
+
}), /* @__PURE__ */ l(t, {
|
|
153
|
+
label: y("devportal.pickupState", "State"),
|
|
154
|
+
value: S.state,
|
|
155
|
+
onChange: (e) => O("state", e.target.value),
|
|
156
|
+
required: !0,
|
|
157
|
+
disabled: w
|
|
158
|
+
})]
|
|
159
|
+
}),
|
|
160
|
+
/* @__PURE__ */ u("div", {
|
|
161
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
162
|
+
children: [/* @__PURE__ */ l(t, {
|
|
163
|
+
label: y("devportal.pickupCountry", "Country"),
|
|
164
|
+
value: S.country,
|
|
165
|
+
onChange: (e) => O("country", e.target.value),
|
|
166
|
+
required: !0,
|
|
167
|
+
disabled: w
|
|
168
|
+
}), /* @__PURE__ */ l(t, {
|
|
169
|
+
label: y("devportal.pickupPincode", "Pincode"),
|
|
170
|
+
value: S.postalCode,
|
|
171
|
+
onChange: (e) => O("postalCode", e.target.value),
|
|
172
|
+
required: !0,
|
|
173
|
+
disabled: w
|
|
174
|
+
})]
|
|
175
|
+
}),
|
|
176
|
+
E && /* @__PURE__ */ l("p", {
|
|
177
|
+
className: "text-sm text-status-error-text",
|
|
178
|
+
children: E
|
|
179
|
+
})
|
|
180
|
+
]
|
|
181
|
+
}),
|
|
182
|
+
/* @__PURE__ */ u("div", {
|
|
183
|
+
className: "flex items-center justify-end gap-3 border-t p-6",
|
|
184
|
+
children: [/* @__PURE__ */ l("button", {
|
|
185
|
+
type: "button",
|
|
186
|
+
onClick: k,
|
|
187
|
+
disabled: w,
|
|
188
|
+
className: "rounded-md px-4 py-2 text-sm font-medium text-text-secondary hover:bg-bg-sunken transition-colors disabled:opacity-50",
|
|
189
|
+
children: y("devportal.cancel", "Cancel")
|
|
190
|
+
}), /* @__PURE__ */ u("button", {
|
|
191
|
+
type: "button",
|
|
192
|
+
onClick: () => void j(),
|
|
193
|
+
disabled: w || !A,
|
|
194
|
+
className: "flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50",
|
|
195
|
+
children: [w && /* @__PURE__ */ l(o, { className: "h-4 w-4 animate-spin" }), y("devportal.registerPickupAddressSubmit", "Save Pickup Address")]
|
|
196
|
+
})]
|
|
197
|
+
})
|
|
198
|
+
]
|
|
199
|
+
})]
|
|
200
|
+
});
|
|
201
|
+
};
|
|
202
|
+
//#endregion
|
|
203
|
+
export { m as RegisterPickupLocationModal };
|
|
204
|
+
|
|
205
|
+
//# sourceMappingURL=RegisterPickupLocationModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegisterPickupLocationModal.js","names":[],"sources":["../../../src/devportal/components/RegisterPickupLocationModal.tsx"],"sourcesContent":["import { useEffect, useId, useRef, useState, type FC } from \"react\";\nimport { Truck, X, Loader2 } from \"lucide-react\";\nimport { graphqlFetch } from \"@burdenoff/fe-libs/shared/graphql\";\nimport { InputField } from \"./FormField\";\nimport { useTr } from \"../utils/i18n\";\n\nconst REGISTER_CARRIER_PICKUP_LOCATION_MUTATION = `\n mutation RegisterCarrierPickupLocation($input: RegisterCarrierPickupLocationInput!) {\n registerCarrierPickupLocation(input: $input) {\n label\n postalCode\n carrier\n }\n }\n`;\n\ninterface AddressForm {\n name: string;\n email: string;\n phone: string;\n address: string;\n addressLine2: string;\n city: string;\n state: string;\n country: string;\n postalCode: string;\n}\n\nfunction emptyForm(initialPostalCode: string): AddressForm {\n return {\n name: \"\",\n email: \"\",\n phone: \"\",\n address: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n country: \"India\",\n postalCode: initialPostalCode,\n };\n}\n\nexport interface RegisterPickupLocationModalProps {\n open: boolean;\n onOpenChange: (open: boolean) => void;\n /** Pre-fills the pincode field with the org's currently-saved pincode, if\n * any — the seller can still change it here, this is just a starting\n * point, not a fixed value decided elsewhere. */\n initialPostalCode: string;\n /** Which carrier to register with — only carriers that support registration\n * should ever open this modal (currently just \"shiprocket\"). */\n carrier: string;\n /** Called with the pincode that was actually registered, so the caller can\n * persist it as the org's pickup pincode in the same action. */\n onRegistered: (postalCode: string) => void;\n}\n\n/**\n * Lets a seller submit their real pickup address — the ONE way to set up\n * fulfillment, no separate bare-pincode field — and have it registered as a\n * new, bookable location directly with the shipping carrier. A real,\n * permanent write to the carrier's own account (see\n * ShiprocketAdapter.registerPickupLocation), free of charge on Shiprocket's\n * side (no per-address fee — they bill per shipment, not per pickup point).\n * We never maintain our own list of \"valid\" pincodes; whatever address the\n * carrier itself accepts here is supported, full stop.\n */\nexport const RegisterPickupLocationModal: FC<\n RegisterPickupLocationModalProps\n> = ({ open, onOpenChange, initialPostalCode, carrier, onRegistered }) => {\n const tr = useTr();\n const titleId = useId();\n const dialogRef = useRef<HTMLDivElement | null>(null);\n const [form, setForm] = useState<AddressForm>(() =>\n emptyForm(initialPostalCode),\n );\n const [submitting, setSubmitting] = useState(false);\n const [error, setError] = useState<string | null>(null);\n\n // Re-seed the pincode whenever the modal is (re)opened for a different\n // saved value — e.g. opening \"Change pickup address\" after a save.\n useEffect(() => {\n if (open) setForm(emptyForm(initialPostalCode));\n // eslint-disable-next-line react-hooks/exhaustive-deps -- only re-seed on open, not on every initialPostalCode identity change while open\n }, [open]);\n\n if (!open) return null;\n\n const setField = (field: keyof AddressForm, value: string) =>\n setForm((prev) => ({ ...prev, [field]: value }));\n\n const handleClose = () => {\n if (submitting) return;\n setError(null);\n onOpenChange(false);\n };\n\n const canSubmit =\n form.name.trim() &&\n form.email.trim() &&\n form.phone.trim() &&\n form.address.trim() &&\n form.city.trim() &&\n form.state.trim() &&\n form.country.trim() &&\n form.postalCode.trim();\n\n const handleSubmit = async () => {\n if (!canSubmit) return;\n setSubmitting(true);\n setError(null);\n try {\n const postalCode = form.postalCode.trim();\n const result = await graphqlFetch<{\n registerCarrierPickupLocation: {\n label: string;\n postalCode: string;\n carrier: string;\n };\n }>({\n gateway: \"global\",\n query: REGISTER_CARRIER_PICKUP_LOCATION_MUTATION,\n variables: {\n input: {\n carrier,\n name: form.name.trim(),\n email: form.email.trim(),\n phone: form.phone.trim(),\n address: form.address.trim(),\n addressLine2: form.addressLine2.trim() || undefined,\n city: form.city.trim(),\n state: form.state.trim(),\n country: form.country.trim(),\n postalCode,\n },\n },\n });\n if (result.errors?.length) {\n throw new Error(\n result.errors[0]?.message ?? \"Failed to register pickup address\",\n );\n }\n onRegistered(postalCode);\n onOpenChange(false);\n } catch (err) {\n setError(\n err instanceof Error\n ? err.message\n : \"Failed to register pickup address\",\n );\n } finally {\n setSubmitting(false);\n }\n };\n\n return (\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <button\n type=\"button\"\n aria-label=\"Close register pickup address dialog backdrop\"\n className=\"absolute inset-0 bg-bg-overlay\"\n onClick={handleClose}\n />\n <div\n ref={dialogRef}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={titleId}\n tabIndex={-1}\n className=\"relative z-10 max-h-[90vh] w-full max-w-lg overflow-y-auto rounded-lg bg-bg-surface shadow-xl\"\n >\n <div className=\"flex items-start gap-4 border-b p-6\">\n <div className=\"rounded-full bg-status-info-bg-subtle p-2\">\n <Truck className=\"h-6 w-6 text-status-info-text\" />\n </div>\n <div className=\"flex-1\">\n <h3 id={titleId} className=\"text-lg font-semibold\">\n {tr(\"devportal.registerPickupAddress\", \"Pickup Address\")}\n </h3>\n <p className=\"mt-1 text-sm text-text-secondary\">\n {tr(\n \"devportal.registerPickupAddressDesc\",\n \"This is the real address your physical orders ship from. It's free to register — Shiprocket doesn't charge per pickup point, only per shipment.\",\n )}\n </p>\n </div>\n <button\n type=\"button\"\n onClick={handleClose}\n disabled={submitting}\n className=\"rounded-md p-1 text-text-secondary hover:bg-bg-sunken transition-colors disabled:opacity-50\"\n >\n <X className=\"h-5 w-5\" />\n </button>\n </div>\n\n <div className=\"space-y-4 p-6\">\n <InputField\n label={tr(\"devportal.pickupContactName\", \"Contact name\")}\n value={form.name}\n onChange={(e) => setField(\"name\", e.target.value)}\n required\n disabled={submitting}\n />\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2\">\n <InputField\n label={tr(\"devportal.pickupContactEmail\", \"Contact email\")}\n type=\"email\"\n value={form.email}\n onChange={(e) => setField(\"email\", e.target.value)}\n required\n disabled={submitting}\n />\n <InputField\n label={tr(\"devportal.pickupContactPhone\", \"Contact phone\")}\n type=\"tel\"\n value={form.phone}\n onChange={(e) => setField(\"phone\", e.target.value)}\n required\n disabled={submitting}\n />\n </div>\n <InputField\n label={tr(\"devportal.pickupAddressLine1\", \"Address\")}\n value={form.address}\n onChange={(e) => setField(\"address\", e.target.value)}\n required\n disabled={submitting}\n />\n <InputField\n label={tr(\n \"devportal.pickupAddressLine2\",\n \"Apartment, suite, building number, etc. (optional)\",\n )}\n value={form.addressLine2}\n onChange={(e) => setField(\"addressLine2\", e.target.value)}\n disabled={submitting}\n />\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2\">\n <InputField\n label={tr(\"devportal.pickupCity\", \"City\")}\n value={form.city}\n onChange={(e) => setField(\"city\", e.target.value)}\n required\n disabled={submitting}\n />\n <InputField\n label={tr(\"devportal.pickupState\", \"State\")}\n value={form.state}\n onChange={(e) => setField(\"state\", e.target.value)}\n required\n disabled={submitting}\n />\n </div>\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2\">\n <InputField\n label={tr(\"devportal.pickupCountry\", \"Country\")}\n value={form.country}\n onChange={(e) => setField(\"country\", e.target.value)}\n required\n disabled={submitting}\n />\n <InputField\n label={tr(\"devportal.pickupPincode\", \"Pincode\")}\n value={form.postalCode}\n onChange={(e) => setField(\"postalCode\", e.target.value)}\n required\n disabled={submitting}\n />\n </div>\n\n {error && <p className=\"text-sm text-status-error-text\">{error}</p>}\n </div>\n\n <div className=\"flex items-center justify-end gap-3 border-t p-6\">\n <button\n type=\"button\"\n onClick={handleClose}\n disabled={submitting}\n className=\"rounded-md px-4 py-2 text-sm font-medium text-text-secondary hover:bg-bg-sunken transition-colors disabled:opacity-50\"\n >\n {tr(\"devportal.cancel\", \"Cancel\")}\n </button>\n <button\n type=\"button\"\n onClick={() => void handleSubmit()}\n disabled={submitting || !canSubmit}\n className=\"flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors disabled:opacity-50\"\n >\n {submitting && <Loader2 className=\"h-4 w-4 animate-spin\" />}\n {tr(\"devportal.registerPickupAddressSubmit\", \"Save Pickup Address\")}\n </button>\n </div>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;AAMA,IAAM,IAA4C;AAsBlD,SAAS,EAAU,GAAwC;AACzD,QAAO;EACL,MAAM;EACN,OAAO;EACP,OAAO;EACP,SAAS;EACT,cAAc;EACd,MAAM;EACN,OAAO;EACP,SAAS;EACT,YAAY;EACb;;AA4BH,IAAa,KAER,EAAE,SAAM,iBAAc,sBAAmB,YAAS,sBAAmB;CACxE,IAAM,IAAK,GAAO,EACZ,IAAU,GAAO,E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c;MAClC,UAAU,KAAc,CAAC;MACzB,WAAU;gBAJZ,CAMG,KAAc,kBAAC,GAAD,EAAS,WAAU,wBAAyB,CAAA,EAC1D,EAAG,yCAAyC,sBAAsB,CAC5D;QACL;;IACF;KACF"}
|
|
@@ -15,6 +15,7 @@ export * from './FormField';
|
|
|
15
15
|
export * from './ConfirmDialog';
|
|
16
16
|
export * from './GrantDelegationModal';
|
|
17
17
|
export * from './ReportOrderIssueModal';
|
|
18
|
+
export * from './RegisterPickupLocationModal';
|
|
18
19
|
export * from './PermissionGuard';
|
|
19
20
|
export * from './FeatureFlaggedRoute';
|
|
20
21
|
export * from './TelemetryErrorBoundary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/devportal/components/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
|
@@ -23,6 +23,9 @@ export interface UseCarrierPickupLocationsResult {
|
|
|
23
23
|
* back to a free-text pincode field in that case, never block on it. */
|
|
24
24
|
locations: CarrierPickupLocation[];
|
|
25
25
|
loading: boolean;
|
|
26
|
+
/** Re-run the query — e.g. after registering a new pickup location, so the
|
|
27
|
+
* newly-registered address is reflected without a full page reload. */
|
|
28
|
+
refetch: () => void;
|
|
26
29
|
}
|
|
27
30
|
export declare function useCarrierPickupLocations(): UseCarrierPickupLocationsResult;
|
|
28
31
|
//# sourceMappingURL=useCarrierPickupLocations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCarrierPickupLocations.d.ts","sourceRoot":"","sources":["../../../src/devportal/hooks/useCarrierPickupLocations.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;CACjB;AAYD,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI7D;AAED,MAAM,WAAW,+BAA+B;IAC9C;;4EAEwE;IACxE,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,OAAO,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useCarrierPickupLocations.d.ts","sourceRoot":"","sources":["../../../src/devportal/hooks/useCarrierPickupLocations.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;CACjB;AAYD,kFAAkF;AAClF,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI7D;AAED,MAAM,WAAW,+BAA+B;IAC9C;;4EAEwE;IACxE,SAAS,EAAE,qBAAqB,EAAE,CAAC;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB;2EACuE;IACvE,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,yBAAyB,IAAI,+BAA+B,CAgC3E"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { graphqlFetch as
|
|
1
|
+
import { useCallback as e, useEffect as t, useRef as n, useState as r } from "react";
|
|
2
|
+
import { graphqlFetch as i } from "@burdenoff/fe-libs/shared/graphql";
|
|
3
3
|
//#region src/devportal/hooks/useCarrierPickupLocations.ts
|
|
4
|
-
var
|
|
5
|
-
function
|
|
4
|
+
var a = "\n query DevportalCarrierPickupLocations {\n carrierPickupLocations {\n label\n postalCode\n carrier\n }\n }\n";
|
|
5
|
+
function o(e) {
|
|
6
6
|
return e.length > 0 ? e[0].toUpperCase() + e.slice(1) : e;
|
|
7
7
|
}
|
|
8
|
-
function
|
|
9
|
-
let [
|
|
10
|
-
|
|
11
|
-
let e = !1;
|
|
12
|
-
return n({
|
|
8
|
+
function s() {
|
|
9
|
+
let [o, s] = r([]), [c, l] = r(!0), u = n(!1), d = e(() => {
|
|
10
|
+
l(!0), i({
|
|
13
11
|
gateway: "global",
|
|
14
|
-
query:
|
|
15
|
-
}).then((
|
|
16
|
-
|
|
12
|
+
query: a
|
|
13
|
+
}).then((e) => {
|
|
14
|
+
u.current || s(e.data?.carrierPickupLocations ?? []);
|
|
17
15
|
}).catch(() => {
|
|
18
|
-
|
|
16
|
+
u.current || s([]);
|
|
19
17
|
}).finally(() => {
|
|
20
|
-
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
u.current || l(!1);
|
|
19
|
+
});
|
|
20
|
+
}, []);
|
|
21
|
+
return t(() => (u.current = !1, d(), () => {
|
|
22
|
+
u.current = !0;
|
|
23
|
+
}), [d]), {
|
|
24
|
+
locations: o,
|
|
25
|
+
loading: c,
|
|
26
|
+
refetch: d
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
export {
|
|
30
|
+
export { o as capitalizeCarrierName, s as useCarrierPickupLocations };
|
|
31
31
|
|
|
32
32
|
//# sourceMappingURL=useCarrierPickupLocations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCarrierPickupLocations.js","names":[],"sources":["../../../src/devportal/hooks/useCarrierPickupLocations.ts"],"sourcesContent":["import { useEffect, useState } from \"react\";\nimport { graphqlFetch } from \"@burdenoff/fe-libs/shared/graphql\";\n\n/**\n * One of a shipping carrier's own registered pickup/warehouse addresses.\n * Not organization-scoped — a pickup location belongs to whichever carrier\n * account it's registered with (Shiprocket today; more carriers may be\n * added later, each contributing their own locations).\n *\n * Backs the \"Pickup Pincode\" selector on the org creation form and the\n * Fulfillment settings tab — sellers pick one of these instead of typing an\n * arbitrary pincode that checkout would later refuse to ship (see\n * global-store-svc's CarrierPickupUnavailableError / BOFF-7192).\n */\nexport interface CarrierPickupLocation {\n label: string;\n postalCode: string;\n /** Which carrier this address is registered with, e.g. \"shiprocket\". */\n carrier: string;\n}\n\nconst CARRIER_PICKUP_LOCATIONS_QUERY = `\n query DevportalCarrierPickupLocations {\n carrierPickupLocations {\n label\n postalCode\n carrier\n }\n }\n`;\n\n/** \"shiprocket\" -> \"Shiprocket\" — for display in the pickup-location dropdown. */\nexport function capitalizeCarrierName(carrier: string): string {\n return carrier.length > 0\n ? carrier[0].toUpperCase() + carrier.slice(1)\n : carrier;\n}\n\nexport interface UseCarrierPickupLocationsResult {\n /** Registered pickup locations, or [] when Shiprocket isn't configured, the\n * lookup fails, or the actor isn't authenticated yet — callers should fall\n * back to a free-text pincode field in that case, never block on it. */\n locations: CarrierPickupLocation[];\n loading: boolean;\n}\n\nexport function useCarrierPickupLocations(): UseCarrierPickupLocationsResult {\n const [locations, setLocations] = useState<CarrierPickupLocation[]>([]);\n const [loading, setLoading] = useState(true);\n\n
|
|
1
|
+
{"version":3,"file":"useCarrierPickupLocations.js","names":[],"sources":["../../../src/devportal/hooks/useCarrierPickupLocations.ts"],"sourcesContent":["import { useCallback, useEffect, useRef, useState } from \"react\";\nimport { graphqlFetch } from \"@burdenoff/fe-libs/shared/graphql\";\n\n/**\n * One of a shipping carrier's own registered pickup/warehouse addresses.\n * Not organization-scoped — a pickup location belongs to whichever carrier\n * account it's registered with (Shiprocket today; more carriers may be\n * added later, each contributing their own locations).\n *\n * Backs the \"Pickup Pincode\" selector on the org creation form and the\n * Fulfillment settings tab — sellers pick one of these instead of typing an\n * arbitrary pincode that checkout would later refuse to ship (see\n * global-store-svc's CarrierPickupUnavailableError / BOFF-7192).\n */\nexport interface CarrierPickupLocation {\n label: string;\n postalCode: string;\n /** Which carrier this address is registered with, e.g. \"shiprocket\". */\n carrier: string;\n}\n\nconst CARRIER_PICKUP_LOCATIONS_QUERY = `\n query DevportalCarrierPickupLocations {\n carrierPickupLocations {\n label\n postalCode\n carrier\n }\n }\n`;\n\n/** \"shiprocket\" -> \"Shiprocket\" — for display in the pickup-location dropdown. */\nexport function capitalizeCarrierName(carrier: string): string {\n return carrier.length > 0\n ? carrier[0].toUpperCase() + carrier.slice(1)\n : carrier;\n}\n\nexport interface UseCarrierPickupLocationsResult {\n /** Registered pickup locations, or [] when Shiprocket isn't configured, the\n * lookup fails, or the actor isn't authenticated yet — callers should fall\n * back to a free-text pincode field in that case, never block on it. */\n locations: CarrierPickupLocation[];\n loading: boolean;\n /** Re-run the query — e.g. after registering a new pickup location, so the\n * newly-registered address is reflected without a full page reload. */\n refetch: () => void;\n}\n\nexport function useCarrierPickupLocations(): UseCarrierPickupLocationsResult {\n const [locations, setLocations] = useState<CarrierPickupLocation[]>([]);\n const [loading, setLoading] = useState(true);\n const cancelledRef = useRef(false);\n\n const load = useCallback(() => {\n setLoading(true);\n graphqlFetch<{ carrierPickupLocations: CarrierPickupLocation[] }>({\n gateway: \"global\",\n query: CARRIER_PICKUP_LOCATIONS_QUERY,\n })\n .then((result) => {\n if (cancelledRef.current) return;\n setLocations(result.data?.carrierPickupLocations ?? []);\n })\n .catch(() => {\n if (!cancelledRef.current) setLocations([]);\n })\n .finally(() => {\n if (!cancelledRef.current) setLoading(false);\n });\n }, []);\n\n useEffect(() => {\n cancelledRef.current = false;\n load();\n return () => {\n cancelledRef.current = true;\n };\n }, [load]);\n\n return { locations, loading, refetch: load };\n}\n"],"mappings":";;;AAqBA,IAAM,IAAiC;AAWvC,SAAgB,EAAsB,GAAyB;AAC7D,QAAO,EAAQ,SAAS,IACpB,EAAQ,GAAG,aAAa,GAAG,EAAQ,MAAM,EAAE,GAC3C;;AAcN,SAAgB,IAA6D;CAC3E,IAAM,CAAC,GAAW,KAAgB,EAAkC,EAAE,CAAC,EACjE,CAAC,GAAS,KAAc,EAAS,GAAK,EACtC,IAAe,EAAO,GAAM,EAE5B,IAAO,QAAkB;AAE7B,EADA,EAAW,GAAK,EAChB,EAAkE;GAChE,SAAS;GACT,OAAO;GACR,CAAC,CACC,MAAM,MAAW;AACZ,KAAa,WACjB,EAAa,EAAO,MAAM,0BAA0B,EAAE,CAAC;IACvD,CACD,YAAY;AACX,GAAK,EAAa,WAAS,EAAa,EAAE,CAAC;IAC3C,CACD,cAAc;AACb,GAAK,EAAa,WAAS,EAAW,GAAM;IAC5C;IACH,EAAE,CAAC;AAUN,QARA,SACE,EAAa,UAAU,IACvB,GAAM,QACO;AACX,IAAa,UAAU;KAExB,CAAC,EAAK,CAAC,EAEH;EAAE;EAAW;EAAS,SAAS;EAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationDetailPage.d.ts","sourceRoot":"","sources":["../../../src/devportal/pages/OrganizationDetailPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OrganizationDetailPage.d.ts","sourceRoot":"","sources":["../../../src/devportal/pages/OrganizationDetailPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAwQhC;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAqVpC,CAAC"}
|