@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
50 lines (48 loc) • 1.46 kB
JavaScript
/**
* WARNING: This file is intended to be used within MySheerID.
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
*/
/**
* VERSION: 2.230.0-alpha.0
* BUILD_TIMESTAMP: 1778694697559
* BUILD_DATE: Wed May 13 2026 17:51:37 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: 7af1c105d5485ac4ed1190c56d492bb4590667a9
*/
import { i as g, g as m, j as a, c as F, F as i } from "../_mysheerid-preview.js";
import { F as u } from "./FormFieldTypeahead-CyKKVK89.js";
const f = ({
value: o,
isErrored: n,
onChange: s,
verificationService: e,
intl: t,
placeholder: r = "",
disabled: d = !1
}) => m("organization")?.hidden ? null : /* @__PURE__ */ a.jsx(
u,
{
fieldId: "first-responder-organization",
value: o,
verificationService: e,
onChange: (l) => s(l),
placeholder: r || t.formatHTMLMessage({ id: "organizationPlaceholder", defaultMessage: "Organization" }),
label: /* @__PURE__ */ a.jsx(i, { id: "organization", defaultMessage: "Organization" }),
errorMessage: n && /* @__PURE__ */ a.jsx(
i,
{
id: "errorId.invalidOrganization",
defaultMessage: "You must select an organization from the list"
}
),
orgSearchUrl: F(
e.viewModel,
e.programTheme
),
showPlaceholderAndHideLabel: !!r,
isRequired: !0,
disabled: d
}
), M = g(f);
export {
M as F
};