UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

56 lines (54 loc) 1.5 kB
/** * 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.113.0-alpha.0 * BUILD_TIMESTAMP: 1750184650058 * BUILD_DATE: Tue Jun 17 2025 18:24:10 GMT+0000 (Coordinated Universal Time) * BUILD_COMMIT: 896154e79f58fffa6d52f3ed37f2db760a63df88 */ 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 };