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