@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
56 lines (54 loc) • 1.5 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.130.0-alpha.4
* BUILD_TIMESTAMP: 1759000347595
* BUILD_DATE: Sat Sep 27 2025 19:12:27 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 "../_mysheerid-preview.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
};