@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
52 lines (50 loc) • 1.29 kB
JavaScript
/**
* VERSION: 2.130.0-alpha.4
* BUILD_TIMESTAMP: 1759000305348
* BUILD_DATE: Sat Sep 27 2025 19:11:45 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: be6ef87ab40e8747994d32363389cf39e36a4326
*/
import { i as m, g as f, j as a, F as h, a as u, b as i } from "../sheerid.js";
const z = ({
value: o,
isErrored: r,
onChange: d,
verificationService: e,
intl: t,
placeholder: s = "",
disabled: l = !1
}) => {
var n;
return ((n = f("organization")) == null ? void 0 : n.hidden) ? null : /* @__PURE__ */ a.jsx(
h,
{
fieldId: "licensed-professional",
value: o,
verificationService: e,
onChange: (g) => d(g),
placeholder: s || 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: u(
e.viewModel,
e.programTheme
),
showPlaceholderAndHideLabel: !!s,
disabled: l
}
);
}, F = m(
z
);
export {
F as L
};