@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
53 lines (51 loc) • 1.35 kB
JavaScript
/**
* VERSION: 2.113.0-alpha.0
* BUILD_TIMESTAMP: 1750184680813
* BUILD_DATE: Tue Jun 17 2025 18:24:40 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: 896154e79f58fffa6d52f3ed37f2db760a63df88
*/
import { f as m, j as a, F as f, h } from "./es6-B9qAIX4x.js";
import { injectIntl as u, FormattedHTMLMessage as i } from "react-intl";
const z = ({
value: s,
isErrored: r,
onChange: d,
verificationService: e,
intl: t,
placeholder: o = "",
disabled: l = !1
}) => {
var n;
return ((n = m("organization")) == null ? void 0 : n.hidden) ? null : /* @__PURE__ */ a.jsx(
f,
{
fieldId: "licensed-professional",
value: s,
verificationService: e,
onChange: (g) => d(g),
placeholder: o || t.formatHTMLMessage({
id: "organizationNamePlaceholder",
defaultMessage: "Organization"
}),
label: /* @__PURE__ */ a.jsx(i, { id: "organization", defaultMessage: "Organization" }),
errorMessage: r && /* @__PURE__ */ a.jsx(
i,
{
id: "errorId.invalidOrganization",
defaultMessage: "You must select an organization from the list"
}
),
orgSearchUrl: h(
e.viewModel,
e.programTheme
),
showPlaceholderAndHideLabel: !!o,
disabled: l
}
);
}, F = u(
z
);
export {
F as L
};