UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

50 lines (48 loc) 1.25 kB
/** * VERSION: 2.154.0-alpha.1 * BUILD_TIMESTAMP: 1763401626706 * BUILD_DATE: Mon Nov 17 2025 17:47:06 GMT+0000 (Coordinated Universal Time) * BUILD_COMMIT: 73f4468155aaed0f31ab0d59dc3394018b939b6d */ import { f as g, j as a, F as m, h as f } from "./es6-OV3Jb0XZ.js"; import { injectIntl as h, FormattedHTMLMessage as n } from "react-intl"; const u = ({ value: i, isErrored: s, onChange: r, verificationService: e, intl: d, placeholder: o = "", disabled: t = !1 }) => g("organization")?.hidden ? null : /* @__PURE__ */ a.jsx( m, { fieldId: "licensed-professional", value: i, verificationService: e, onChange: (l) => r(l), placeholder: o || d.formatHTMLMessage({ id: "organizationNamePlaceholder", defaultMessage: "Organization" }), label: /* @__PURE__ */ a.jsx(n, { id: "organization", defaultMessage: "Organization" }), errorMessage: s && /* @__PURE__ */ a.jsx( n, { id: "errorId.invalidOrganization", defaultMessage: "You must select an organization from the list" } ), orgSearchUrl: f( e.viewModel, e.programTheme ), showPlaceholderAndHideLabel: !!o, disabled: t } ), p = h( u ); export { p as L };