@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
54 lines (52 loc) • 1.45 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.230.0-alpha.0
* BUILD_TIMESTAMP: 1778694697559
* BUILD_DATE: Wed May 13 2026 17:51:37 GMT+0000 (Coordinated Universal Time)
* BUILD_COMMIT: 7af1c105d5485ac4ed1190c56d492bb4590667a9
*/
import { i as g, g as m, j as a, c as f, F as s } from "../_mysheerid-preview.js";
import { F as h } from "./FormFieldTypeahead-CyKKVK89.js";
const c = ({
value: i,
isErrored: n,
onChange: r,
verificationService: e,
intl: d,
placeholder: o = "",
disabled: t = !1
}) => m("organization")?.hidden ? null : /* @__PURE__ */ a.jsx(
h,
{
fieldId: "licensed-professional",
value: i,
verificationService: e,
onChange: (l) => r(l),
placeholder: o || d.formatHTMLMessage({
id: "organizationNamePlaceholder",
defaultMessage: "Organization"
}),
label: /* @__PURE__ */ a.jsx(s, { id: "organization", defaultMessage: "Organization" }),
errorMessage: n && /* @__PURE__ */ a.jsx(
s,
{
id: "errorId.invalidOrganization",
defaultMessage: "You must select an organization from the list"
}
),
orgSearchUrl: f(
e.viewModel,
e.programTheme
),
showPlaceholderAndHideLabel: !!o,
disabled: t
}
), M = g(
c
);
export {
M as L
};