@descope/flow-components 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fm/119.js +2 -0
- package/dist/fm/119.js.map +1 -0
- package/dist/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/@mf-types/compiled-types/CountrySubdivisionCityField/CountrySubdivisionCityField.d.ts +33 -0
- package/dist/fm/@mf-types/compiled-types/CountrySubdivisionCityField/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/componentClasses.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/components.d.ts +1 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +1677 -641
- package/dist/index.d.ts +133 -101
- package/dist/index.esm.js +5 -2
- package/dist/types/CountrySubdivisionCityField/CountrySubdivisionCityField.d.ts +33 -0
- package/dist/types/CountrySubdivisionCityField/index.d.ts +1 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +2 -2
- package/dist/fm/626.js +0 -2
- package/dist/fm/626.js.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddressFieldClass as AddressFieldClass$1, AlertClass as AlertClass$1, AppsListClass as AppsListClass$1, AvatarClass as AvatarClass$1, BadgeClass as BadgeClass$1, ButtonClass as ButtonClass$1, ButtonMultiSelectionGroupClass as ButtonMultiSelectionGroupClass$1, ButtonSelectionGroupClass as ButtonSelectionGroupClass$1, CalendarClass as CalendarClass$1, CheckboxClass as CheckboxClass$1, CodeSnippetClass as CodeSnippetClass$1, CollapsibleContainerClass as CollapsibleContainerClass$1, ComboBoxClass as ComboBoxClass$1, ContainerClass as ContainerClass$1, DateFieldClass as DateFieldClass$1, DividerClass as DividerClass$1, EmailFieldClass as EmailFieldClass$1, EnrichedTextClass as EnrichedTextClass$1, GridClass as GridClass$1, HcaptchaClass as HcaptchaClass$1, HoneypotClass as HoneypotClass$1, HybridFieldClass as HybridFieldClass$1, IconClass as IconClass$1, ImageClass as ImageClass$1, LinkClass as LinkClass$1, ListClass as ListClass$1, LoaderLinearClass as LoaderLinearClass$1, LoaderRadialClass as LoaderRadialClass$1, LogoClass as LogoClass$1, MappingsFieldClass as MappingsFieldClass$1, ModalClass as ModalClass$1, MultiSelectComboBoxClass as MultiSelectComboBoxClass$1, NewPasswordClass as NewPasswordClass$1, NotificationClass as NotificationClass$1, NotpImageClass as NotpImageClass$1, NumberFieldClass as NumberFieldClass$1, OutboundAppButtonClass as OutboundAppButtonClass$1, OutboundAppsClass as OutboundAppsClass$1, PasscodeClass as PasscodeClass$1, PasswordClass as PasswordClass$1, PhoneFieldClass as PhoneFieldClass$1, PhoneFieldInputBoxClass as PhoneFieldInputBoxClass$1, PolicyValidationClass as PolicyValidationClass$1, RadioGroupClass as RadioGroupClass$1, RecaptchaClass as RecaptchaClass$1, RecoveryCodesClass as RecoveryCodesClass$1, SamlGroupMappingsClass as SamlGroupMappingsClass$1, ScopesListClass as ScopesListClass$1, SecurityQuestionsSetupClass as SecurityQuestionsSetupClass$1, SecurityQuestionsVerifyClass as SecurityQuestionsVerifyClass$1, SwitchToggleClass as SwitchToggleClass$1, TextAreaClass as TextAreaClass$1, TextClass as TextClass$1, TextFieldClass as TextFieldClass$1, ThirdPartyAppLogoClass as ThirdPartyAppLogoClass$1, TimerButtonClass as TimerButtonClass$1, TooltipClass as TooltipClass$1, TotpImageClass as TotpImageClass$1, TrustedDevicesClass as TrustedDevicesClass$1, UploadFileClass as UploadFileClass$1, UserAttributeClass as UserAttributeClass$1, UserAuthMethodClass as UserAuthMethodClass$1, componentsThemeManager as componentsThemeManager$1, createComponentsTheme as createComponentsTheme$1, darkTheme as darkTheme$1, defaultTheme as defaultTheme$1, genColor as genColor$1, globalsThemeToStyle as globalsThemeToStyle$1, themeToStyle as themeToStyle$1, themeVars as themeVars$1 } from '@descope/web-components-ui';
|
|
1
|
+
import { AddressFieldClass as AddressFieldClass$1, AlertClass as AlertClass$1, AppsListClass as AppsListClass$1, AvatarClass as AvatarClass$1, BadgeClass as BadgeClass$1, ButtonClass as ButtonClass$1, ButtonMultiSelectionGroupClass as ButtonMultiSelectionGroupClass$1, ButtonSelectionGroupClass as ButtonSelectionGroupClass$1, CalendarClass as CalendarClass$1, CheckboxClass as CheckboxClass$1, CodeSnippetClass as CodeSnippetClass$1, CollapsibleContainerClass as CollapsibleContainerClass$1, ComboBoxClass as ComboBoxClass$1, ContainerClass as ContainerClass$1, CountrySubdivisionCityFieldClass as CountrySubdivisionCityFieldClass$1, DateFieldClass as DateFieldClass$1, DividerClass as DividerClass$1, EmailFieldClass as EmailFieldClass$1, EnrichedTextClass as EnrichedTextClass$1, GridClass as GridClass$1, HcaptchaClass as HcaptchaClass$1, HoneypotClass as HoneypotClass$1, HybridFieldClass as HybridFieldClass$1, IconClass as IconClass$1, ImageClass as ImageClass$1, LinkClass as LinkClass$1, ListClass as ListClass$1, LoaderLinearClass as LoaderLinearClass$1, LoaderRadialClass as LoaderRadialClass$1, LogoClass as LogoClass$1, MappingsFieldClass as MappingsFieldClass$1, ModalClass as ModalClass$1, MultiSelectComboBoxClass as MultiSelectComboBoxClass$1, NewPasswordClass as NewPasswordClass$1, NotificationClass as NotificationClass$1, NotpImageClass as NotpImageClass$1, NumberFieldClass as NumberFieldClass$1, OutboundAppButtonClass as OutboundAppButtonClass$1, OutboundAppsClass as OutboundAppsClass$1, PasscodeClass as PasscodeClass$1, PasswordClass as PasswordClass$1, PhoneFieldClass as PhoneFieldClass$1, PhoneFieldInputBoxClass as PhoneFieldInputBoxClass$1, PolicyValidationClass as PolicyValidationClass$1, RadioGroupClass as RadioGroupClass$1, RecaptchaClass as RecaptchaClass$1, RecoveryCodesClass as RecoveryCodesClass$1, SamlGroupMappingsClass as SamlGroupMappingsClass$1, ScopesListClass as ScopesListClass$1, SecurityQuestionsSetupClass as SecurityQuestionsSetupClass$1, SecurityQuestionsVerifyClass as SecurityQuestionsVerifyClass$1, SwitchToggleClass as SwitchToggleClass$1, TextAreaClass as TextAreaClass$1, TextClass as TextClass$1, TextFieldClass as TextFieldClass$1, ThirdPartyAppLogoClass as ThirdPartyAppLogoClass$1, TimerButtonClass as TimerButtonClass$1, TooltipClass as TooltipClass$1, TotpImageClass as TotpImageClass$1, TrustedDevicesClass as TrustedDevicesClass$1, UploadFileClass as UploadFileClass$1, UserAttributeClass as UserAttributeClass$1, UserAuthMethodClass as UserAuthMethodClass$1, componentsThemeManager as componentsThemeManager$1, createComponentsTheme as createComponentsTheme$1, darkTheme as darkTheme$1, defaultTheme as defaultTheme$1, genColor as genColor$1, globalsThemeToStyle as globalsThemeToStyle$1, themeToStyle as themeToStyle$1, themeVars as themeVars$1 } from '@descope/web-components-ui';
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
3
|
|
|
4
4
|
// component classes
|
|
@@ -55,6 +55,7 @@ const SecurityQuestionsVerifyClass = SecurityQuestionsVerifyClass$1;
|
|
|
55
55
|
const HybridFieldClass = HybridFieldClass$1;
|
|
56
56
|
const AlertClass = AlertClass$1;
|
|
57
57
|
const AddressFieldClass = AddressFieldClass$1;
|
|
58
|
+
const CountrySubdivisionCityFieldClass = CountrySubdivisionCityFieldClass$1;
|
|
58
59
|
const TimerButtonClass = TimerButtonClass$1;
|
|
59
60
|
const CollapsibleContainerClass = CollapsibleContainerClass$1;
|
|
60
61
|
const RecoveryCodesClass = RecoveryCodesClass$1;
|
|
@@ -541,6 +542,8 @@ const Alert = React.forwardRef(({ children, ...props }, ref) => (React.createEle
|
|
|
541
542
|
|
|
542
543
|
const AddressField = React.forwardRef(({ size = 'md', ...props }, ref) => (React.createElement("descope-address-field", { size: size, ...props, ref: ref })));
|
|
543
544
|
|
|
545
|
+
const CountrySubdivisionCityField = React.forwardRef(({ size = 'md', ...props }, ref) => (React.createElement("descope-country-subdivision-city-field", { size: size, ...props, ref: ref })));
|
|
546
|
+
|
|
544
547
|
const TimerButton = React.forwardRef(({ children, color = 'primary', size = 'md', variant = 'contained', horizontal = false, 'text-align': textAlign = 'center', 'timer-seconds': timerSeconds = 0, 'timer-hide-icon': timerHideIcon = false, 'timer-paused': timerPause = false, ...props }, ref) => (React.createElement("descope-timer-button", { ...props, size: size, "text-align": textAlign, horizontal: horizontal, "button-variant": variant, "button-mode": color, "timer-hide-icon": timerHideIcon, "timer-seconds": timerSeconds, "timer-paused": timerPause, ref: ref }, children)));
|
|
545
548
|
|
|
546
549
|
const applyDefaults = ({ paddingX, paddingY, background, spaceBetween }) => ({
|
|
@@ -610,4 +613,4 @@ const themeVars = themeVars$1;
|
|
|
610
613
|
const defaultTheme = defaultTheme$1;
|
|
611
614
|
const darkTheme = darkTheme$1;
|
|
612
615
|
|
|
613
|
-
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, Honeypot, HoneypotClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, TenantSelector, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, Tooltip, TooltipClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, apple, authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, discord, edit, facebook, fingerprint, genColor, github, gitlab, globalsThemeToStyle, google, linkedin, lock, microsoft, passkey, password, plus, reload, sessiontoken, slack, sso, themeToStyle, themeVars, whatsapp };
|
|
616
|
+
export { AddressField, AddressFieldClass, Alert, AlertClass, AppsList, AppsListClass, Avatar, AvatarClass, Badge, BadgeClass, Boolean, Button, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, Checkbox, CheckboxClass, Code, CodeSnippet, CodeSnippetClass, Container as CollapsibleContainer, CollapsibleContainerClass, ComboBox, ComboBoxClass, Container$1 as Container, ContainerClass, CountrySubdivisionCityField, CountrySubdivisionCityFieldClass, DateField, DateFieldClass, Divider, DividerClass, EmailFieldClass, EnrichedTextClass, Grid, GridClass, GridCustomColumn, GridItemDetailsColumn, GridSelectionColumn, GridTextColumn, Hcaptcha, HcaptchaClass, Honeypot, HoneypotClass, HybridField, HybridFieldClass, IconClass, Image, ImageClass, Input, Link, LinkClass, List, ListClass, ListItem, Loader, LoaderLinearClass, LoaderRadialClass, Logo, LogoClass, MappingsField, MappingsFieldClass, Modal, ModalClass, MultiSelect, MultiSelectComboBoxClass, NOTPImage, NOTPLink, NewPassword, NewPasswordClass, NotificationClass, NotpImageClass, NumberField, NumberFieldClass, OutboundAppButton, OutboundAppButtonClass, OutboundApps, OutboundAppsClass, PasscodeClass, Password, PasswordClass, Phone, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, Recaptcha, RecaptchaClass, RecaptchaV2, RecoveryCodesClass, RecoveryCodesList, SAMLGroupMappings, SamlGroupMappingsClass, ScopesList, ScopesListClass, SecurityQuestionsSetup, SecurityQuestionsSetupClass, SecurityQuestionsVerify, SecurityQuestionsVerifyClass, Select, SingleSelect, Switch, SwitchToggleClass, TOTPImage, TOTPLink, TenantSelector, Text, TextAreaClass, TextClass, TextField, TextFieldClass, Textarea, ThirdPartyAppLogo, ThirdPartyAppLogoClass, TimerButton, TimerButtonClass, Tooltip, TooltipClass, TotpImageClass, TrustedDevices, TrustedDevicesClass, Turnstile, UploadFile, UploadFileClass, UserAttribute, UserAttributeClass, UserAuthMethod, UserAuthMethodClass, apple, authenticator, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, discord, edit, facebook, fingerprint, genColor, github, gitlab, globalsThemeToStyle, google, linkedin, lock, microsoft, passkey, password, plus, reload, sessiontoken, slack, sso, themeToStyle, themeVars, whatsapp };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DescopeInputProps } from '../types';
|
|
3
|
+
type CountrySubdivisionCityValue = {
|
|
4
|
+
country?: string;
|
|
5
|
+
subdivision?: string;
|
|
6
|
+
city?: string;
|
|
7
|
+
};
|
|
8
|
+
type Props = {
|
|
9
|
+
'hide-country'?: boolean;
|
|
10
|
+
'hide-subdivision'?: boolean;
|
|
11
|
+
'hide-city'?: boolean;
|
|
12
|
+
'default-country'?: string;
|
|
13
|
+
'allowed-countries'?: string;
|
|
14
|
+
'pinned-countries'?: string;
|
|
15
|
+
'country-label'?: string;
|
|
16
|
+
'subdivision-label'?: string;
|
|
17
|
+
'city-label'?: string;
|
|
18
|
+
'country-placeholder'?: string;
|
|
19
|
+
'subdivision-placeholder'?: string;
|
|
20
|
+
'city-placeholder'?: string;
|
|
21
|
+
'data-source-base-url'?: string;
|
|
22
|
+
lang?: string;
|
|
23
|
+
value?: CountrySubdivisionCityValue;
|
|
24
|
+
};
|
|
25
|
+
declare global {
|
|
26
|
+
namespace React.JSX {
|
|
27
|
+
interface IntrinsicElements {
|
|
28
|
+
'descope-country-subdivision-city-field': Omit<DescopeInputProps, 'external-input' | 'value'> & Props;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
declare const CountrySubdivisionCityField: React.ForwardRefExoticComponent<Omit<Omit<DescopeInputProps, "value" | "external-input"> & Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
33
|
+
export default CountrySubdivisionCityField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CountrySubdivisionCityField } from './CountrySubdivisionCityField';
|
|
@@ -61,6 +61,7 @@ export declare const SecurityQuestionsVerifyClass: ComponentClass;
|
|
|
61
61
|
export declare const HybridFieldClass: ComponentClass;
|
|
62
62
|
export declare const AlertClass: ComponentClass;
|
|
63
63
|
export declare const AddressFieldClass: ComponentClass;
|
|
64
|
+
export declare const CountrySubdivisionCityFieldClass: ComponentClass;
|
|
64
65
|
export declare const TimerButtonClass: ComponentClass;
|
|
65
66
|
export declare const CollapsibleContainerClass: ComponentClass;
|
|
66
67
|
export declare const RecoveryCodesClass: ComponentClass;
|
|
@@ -48,6 +48,7 @@ export * from './DateField';
|
|
|
48
48
|
export * from './HybridField';
|
|
49
49
|
export * from './Alert';
|
|
50
50
|
export * from './AddressField';
|
|
51
|
+
export * from './CountrySubdivisionCityField';
|
|
51
52
|
export * from './TimerButton';
|
|
52
53
|
export * from './CollapsibleContainer';
|
|
53
54
|
export * from './Turnstile';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"webpack-subresource-integrity": "5.2.0-rc.1"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@descope/web-components-ui": "3.0.
|
|
100
|
+
"@descope/web-components-ui": "3.0.7"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"react": ">= 18"
|
package/dist/fm/626.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_descope_flow_components_3_0_6_1774262217447=self.webpackChunk_descope_flow_components_3_0_6_1774262217447||[]).push([[626],{8989(e,r,t){t.d(r,{t:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-address-field",o({size:e},r,{ref:t})))},9178(e,r,t){t.d(r,{F:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({children:e,...r},t)=>a().createElement("descope-alert",o({},r,{ref:t}),e))},4821(e,r,t){t.d(r,{F:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({emptyState:e,data:r,variant:t,...n},i)=>a().createElement("descope-apps-list",o({data:r?JSON.stringify(r):void 0,variant:"list"!==t?"tiles":"list"},n,{ref:i}),a().createElement("div",{slot:"empty-state"},e)))},3333(e,r,t){t.d(r,{e:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",editable:r=!1,...t},n)=>a().createElement("descope-avatar",o({size:e,editable:r},t,{ref:n})))},3828(e,r,t){t.d(r,{E:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef((e,r)=>a().createElement("descope-badge",o({},e,{ref:r})))},3880(e,r,t){t.d(r,{v:()=>l});var n=t(7596),a=t.n(n),o=t(5355),i=t(6766);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef(({type:e,...r},t)=>{switch(e){case"checkbox":return a().createElement(o.S,s({},r,{ref:t}));case"switch":return a().createElement(i.d,s({},r,{ref:t}));default:return null}})},5351(e,r,t){t.d(r,{$:()=>l});var n=t(7596),a=t.n(n),o=t(9221),i=t(9759);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef(({children:e,startIcon:r,startIconDark:t,startIconColorText:l,color:c="primary",size:d="md",variant:f="contained","data-name":p,hasTooltip:u,tooltipText:v,tooltipPosition:g,tooltipHoverDelay:b,tooltipHideDelay:h,tooltipOpened:m,tooltipReadOnly:y,...O},w)=>{const j=(0,n.useMemo)(()=>!(!r||e),[r,e]);return a().createElement(i.A,{text:u?v:void 0,position:g,hoverDelay:b,hideDelay:h,opened:m,readonly:y},a().createElement("descope-button",s({},O,{size:d,variant:f,mode:c,ref:w,square:j,"data-name":p}),null!=r&&a().createElement(o.I,{"data-name":`${p}-icon`,icon:r,"src-dark":t,noColor:l}),e))})},5355(e,r,t){t.d(r,{S:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef((e,r)=>a().createElement("descope-checkbox",o({},e,{ref:r})))},9493(e,r,t){t.d(r,{C:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef((e,r)=>a().createElement("descope-passcode",o({ref:r},e)))},5639(e,r,t){t.d(r,{z:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef((e,r)=>a().createElement("descope-code-snippet",o({},e,{ref:r})))},6239(e,r,t){t.d(r,{_:()=>l});var n=t(7596),a=t.n(n),o=t(889);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=({paddingX:e,paddingY:r,background:t,spaceBetween:n})=>({"st-horizontal-padding":!e||(0,o.k)(e)?Number.parseInt(e||"0",10)/4+"rem":e,"st-vertical-padding":!r||(0,o.k)(r)?Number.parseInt(r||"0",10)/4+"rem":r,"st-background-color":t,...n?{"st-gap":(0,o.k)(n)?Number.parseFloat(n||"0")/4+"rem":n}:{}}),l=a().forwardRef(({background:e,paddingX:r,paddingY:t,shadow:n,width:o,spaceBetween:l,backgroundImageUrl:c,borderRadius:d,...f},p)=>{const u={...f,shadow:n,"border-radius":d||f["border-radius"],"st-host-width":o||"100%","st-background-image":c?.trim()?`url('${c.trim()}')`:void 0,...s({paddingX:r,paddingY:t,background:e,spaceBetween:l})};return a().createElement("descope-collapsible-container",i({},u,{ref:p}))})},2577(e,r,t){t.d(r,{a:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",bordered:r=!0,...t},n)=>a().createElement("descope-combo-box",o({size:e,bordered:r},t,{ref:n})))},5202(e,r,t){t.d(r,{m:()=>d});var n=t(7596),a=t.n(n),o=t(889);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s={start:"flex-start",center:"safe center",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly"},l={start:"start",end:"end",center:"safe center",baseline:"baseline",stretch:"stretch"},c=({paddingX:e,paddingY:r,align:t,justify:n,background:a,spaceBetween:i})=>({"st-horizontal-padding":!e||(0,o.k)(e)?Number.parseInt(e||"0",10)/4+"rem":e,"st-vertical-padding":!r||(0,o.k)(r)?Number.parseInt(r||"0",10)/4+"rem":r,"st-align-items":l[t],"st-justify-content":s[n],"st-background-color":a,...i?{"st-gap":(0,o.k)(i)?Number.parseFloat(i||"0")/4+"rem":i}:{}}),d=a().forwardRef(({background:e,justify:r,paddingX:t,paddingY:n,shadow:o,width:s,align:l,spaceBetween:d,backgroundImageUrl:f,direction:p="row",variant:u,borderRadius:v,...g},b)=>{const h={...g,direction:p,shadow:o,variant:u,"border-radius":v||g["border-radius"],"st-host-width":s||"100%","st-background-image":f?.trim()?`url('${f.trim()}')`:void 0,...u?{}:c({paddingX:t,paddingY:n,align:l,justify:r,background:e,spaceBetween:d})};return a().createElement("descope-container",i({},h,{ref:b}))})},4130(e,r,t){t.d(r,{v:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-date-field",o({size:e},r,{ref:t})))},8739(e,r,t){t.d(r,{c:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({children:e,...r},t)=>a().createElement("descope-divider",o({},r,{ref:t}),e))},9703(e,r,t){t.d(r,{xA:()=>i,GK:()=>l,Kl:()=>v,$g:()=>d,I9:()=>p});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({...e},r)=>a().createElement("descope-grid",o({},e,{ref:r})));function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef((e,r)=>a().createElement("descope-grid-custom-column",s({},e,{ref:r})));function c(){return c=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},c.apply(null,arguments)}const d=a().forwardRef((e,r)=>a().createElement("descope-grid-selection-column",c({},e,{ref:r})));function f(){return f=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},f.apply(null,arguments)}const p=a().forwardRef((e,r)=>a().createElement("descope-grid-text-column",f({},e,{ref:r})));function u(){return u=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},u.apply(null,arguments)}const v=a().forwardRef((e,r)=>a().createElement("descope-grid-item-details-column",u({},e,{ref:r})))},3741(e,r,t){t.d(r,{n:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({enabled:e,...r},t)=>a().createElement("descope-hcaptcha",o({ref:t,enabled:e},r)))},5272(e,r,t){t.d(r,{t:()=>o});var n=t(7596),a=t.n(n);const o=a().forwardRef((e,r)=>a().createElement("descope-ponyhot",{ref:r},a().createElement("input",e)))},1391(e,r,t){t.d(r,{x:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-hybrid-field",o({size:e},r,{ref:t})))},9221(e,r,t){t.d(r,{I:()=>s});var n=t(7596),a=t.n(n),o=t(5790);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=function({icon:e,noColor:r,...t}){return o[e]?a().createElement("descope-icon",i({src:o[e]},r&&{"st-fill":"currentColor"},t)):a().createElement("descope-icon",i({"fill-color":r,src:e},t))}},1657(e,r,t){t.d(r,{_:()=>s});var n=t(7596),a=t.n(n),o=t(9759);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({width:e,height:r,hasTooltip:t,tooltipText:n,tooltipPosition:s,tooltipHoverDelay:l,tooltipHideDelay:c,tooltipOpened:d,tooltipReadOnly:f,...p},u)=>a().createElement(o.A,{text:t?n:void 0,position:s,hoverDelay:l,hideDelay:c,opened:d,readonly:f},a().createElement("descope-image",i({},p,{ref:u,"st-width":e,"st-height":r}))))},4228(e,r,t){t.d(r,{p:()=>p});var n=t(7596),a=t.n(n),o=t(8518);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-email-field",i({size:e},r,{ref:t})));var l=t(8294),c=t(4387),d=t(4130);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},f.apply(null,arguments)}const p=a().forwardRef(({type:e,size:r="md",...t},n)=>{switch(e){case"email":return a().createElement(s,f({size:r},t,{ref:n}));case"password":return a().createElement(c._,f({size:r},t,{ref:n}));case"number":return a().createElement(o.o,f({size:r},t,{ref:n}));case"date":return a().createElement(d.v,f({size:r},t,{ref:n}));default:return a().createElement(l.A,f({size:r},t,{ref:n}))}})},5130(e,r,t){t.d(r,{N:()=>s});var n=t(7596),a=t.n(n),o=t(9759);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({children:e,hasTooltip:r,tooltipText:t,tooltipPosition:n,tooltipHoverDelay:s,tooltipHideDelay:l,tooltipOpened:c,tooltipReadOnly:d,...f},p)=>a().createElement(o.A,{text:r?t:void 0,position:n,hoverDelay:s,hideDelay:l,opened:c,readonly:d},a().createElement("descope-link",i({},f,{ref:p}),e)))},6068(e,r,t){t.d(r,{B:()=>i,c:()=>l});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({emptyState:e,children:r,...t},n)=>a().createElement("descope-list",o({},t,{ref:n}),r,a().createElement("div",{slot:"empty-state"},e)));function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef((e,r)=>a().createElement("descope-list-item",s({},e,{ref:r})))},7995(e,r,t){t.d(r,{a:()=>o});var n=t(7596),a=t.n(n);const o=a().forwardRef(({variant:e,color:r,...t},n)=>{const o={mode:r,...t,ref:n};switch(e){case"linear":return a().createElement("descope-loader-linear",o);case"radial":return a().createElement("descope-loader-radial",o);default:return null}})},3153(e,r,t){t.d(r,{g:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({width:e,height:r,...t},n)=>a().createElement("descope-logo",o({"st-width":e,"st-height":r,ref:n},t)))},7558(e,r,t){t.d(r,{A:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({"default-values":e,options:r,size:t="md",...i},s)=>{const l=(0,n.useMemo)(()=>{if(e)try{return JSON.stringify(e)}catch(e){return console.error('could not parse data string from attribute "default-values" -',e.message),""}},[e]),c=(0,n.useMemo)(()=>{if(r)try{return JSON.stringify(r)}catch(e){return console.error('could not parse data string from attribute "options" -',e.message),""}},[r]);return a().createElement("descope-mappings-field",o({size:t},i,{"default-values":l??void 0,options:c??void 0,ref:s}))})},1925(e,r,t){t.d(r,{a:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef((e,r)=>a().createElement("descope-modal",o({},e,{ref:r})))},8094(e,r,t){t.d(r,{K:()=>d});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({"default-values":e,size:r="md",...t},i)=>{const s=(0,n.useMemo)(()=>{if(e)try{return JSON.stringify(e)}catch(e){return console.error('could not parse data string from attribute "default-values" -',e.message),""}},[e]);return a().createElement("descope-button-multi-selection-group",o({size:r},t,{"default-values":s??void 0,ref:i}))});function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef(({"default-values":e,size:r="md",bordered:t=!0,...o},i)=>{const l=(0,n.useMemo)(()=>{if(e)try{return JSON.stringify(e)}catch(e){return console.error('could not parse data string from attribute "default-values" -',e.message),""}},[e]);return a().createElement("descope-multi-select-combo-box",s({size:r,bordered:t},o,{"clear-button-visible":"true","item-label-path":"data-name","item-value-path":"data-id","default-values":l??void 0,ref:i}))});function c(){return c=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},c.apply(null,arguments)}const d=a().forwardRef(({variant:e,data:r,...t},n)=>"dynamicCombobox"===e?a().createElement(l,c({},t,{"auto-open-disabled":"true","allow-custom-value":"true",data:"[]",ref:n})):"buttonSelectionGroup"===e?a().createElement(i,c({},t,{ref:n}),r?.map(({label:e,value:r})=>a().createElement("descope-button-selection-group-item",{key:r,value:r},e))):a().createElement(l,c({},t,{"allow-custom-value":"false",ref:n}),r?.map(({label:e,value:r})=>a().createElement("span",{"data-name":e,"data-id":r,key:r},e))))},547(e,r,t){t.d(r,{v:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({width:e,height:r,...t},n)=>a().createElement("descope-notp-image",o({"st-width":e,"st-height":r,ref:n},t)))},5662(e,r,t){t.d(r,{y:()=>s});var n=t(7596),a=t.n(n),o=t(5130);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({...e},r)=>{const t={...e,"data-type":"notp-link"};return a().createElement(o.N,i({ref:r},t))})},8778(e,r,t){t.d(r,{m:()=>s});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i={"has-validation":!1,"policy-label":"Passwords must have:","active-policies":[],"data-password-policy-pattern-minlength":"^.{{{value}},}$","data-password-policy-pattern-lowercase":"[a-z]","data-password-policy-pattern-uppercase":"[A-Z]","data-password-policy-pattern-number":"\\d","data-password-policy-pattern-nonalphanumeric":"[^a-zA-Z0-9]","data-password-policy-compare-passwordstrength":"GTE","data-password-policy-value-minlength":"8","data-password-policy-message-minlength":"At least {{value}} characters","data-password-policy-message-lowercase":"1 lowercase letter","data-password-policy-message-uppercase":"1 uppercase letter","data-password-policy-message-number":"1 number","data-password-policy-message-nonalphanumeric":"1 symbol","data-password-policy-message-passwordstrength":"Password strength","st-policy-preview-background-color":"transparent","st-policy-preview-padding":"0"},s=a().forwardRef((e,r)=>{const t={...i,...e},n=t?.["active-policies"]?.map(e=>({id:e,message:t[`data-password-policy-message-${e}`],pattern:t[`data-password-policy-pattern-${e}`],compare:t[`data-password-policy-compare-${e}`],data:t[`data-password-policy-data-${e}`]}));return a().createElement("descope-new-password",o({},t,{ref:r,"available-policies":JSON.stringify(n||[])}))})},8518(e,r,t){t.d(r,{o:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-number-field",o({size:e},r,{ref:t})))},5108(e,r,t){t.d(r,{o:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({children:e,label:r,iconSrc:t,iconFill:i,color:s="primary","data-name":l,...c},d)=>{const f=(0,n.useMemo)(()=>!(!t||r),[t,r]);return a().createElement("descope-outbound-app-button",o({},c,{label:r||e,"icon-src":t,"icon-fill-current-color":i,mode:s,ref:d,square:f,"data-name":l}))})},1313(e,r,t){t.d(r,{p:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({emptyState:e,data:r,...t},n)=>a().createElement("descope-outbound-apps",o({data:r?JSON.stringify(r):void 0},t,{ref:n}),a().createElement("div",{slot:"empty-state"},e)))},4387(e,r,t){t.d(r,{_:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-password",o({size:e},r,{ref:t})))},7595(e,r,t){t.d(r,{b:()=>d});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef((e,r)=>a().createElement("descope-phone-field",o({},e,{ref:r})));function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef((e,r)=>a().createElement("descope-phone-input-box-field",s({},e,{ref:r})));function c(){return c=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},c.apply(null,arguments)}const d=a().forwardRef(({variant:e,...r},t)=>"inputBox"===e?a().createElement(l,c({},r,{ref:t})):a().createElement(i,c({},r,{ref:t})))},9694(e,r,t){t.d(r,{a:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({variant:e,textLabel:r="This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.",textVariant:t="body1",textMode:n="primary",textAlign:i="left","full-width":s,readOnly:l,...c},d)=>a().createElement("descope-recaptcha",o({ref:d},c,{"full-width":s}),"text"===e?a().createElement("descope-enriched-text",{"full-width":s,readonly:l,variant:t,mode:n,"text-align":i},r):null))},8255(e,r,t){t.d(r,{C:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({textLabel:e="This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.",textVariant:r="body1",textMode:t="primary",textAlign:n="left","full-width":i,readOnly:s,connector:l,enterprise:c,action:d,variant:f="text",src:p,width:u,height:v,...g},b)=>"image"===f?a().createElement("descope-image",o({ref:b,"full-width":i,"st-width":u,"st-height":v,src:p},g)):a().createElement("descope-enriched-text",o({ref:b,"full-width":i,readonly:s,variant:r,mode:t,"text-align":n},g),e))},5954(e,r,t){t.d(r,{k:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({data:e,...r},t)=>a().createElement("descope-recovery-codes",o({data:e?JSON.stringify(e):void 0},r,{ref:t})))},868(e,r,t){t.d(r,{c:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({options:e,size:r="md",...t},i)=>{const s=(0,n.useMemo)(()=>{if(e)try{return JSON.stringify(e)}catch(e){return console.error('could not parse data string from attribute "options" -',e.message),""}},[e]);return a().createElement("descope-saml-group-mappings",o({size:r},t,{options:s??void 0,ref:i}))})},8988(e,r,t){t.d(r,{Q:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({data:e,...r},t)=>a().createElement("descope-scopes-list",o({data:e?JSON.stringify(e):void 0},r,{ref:t})))},1580(e,r,t){t.d(r,{x:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({questions:e,...r},t)=>a().createElement("descope-security-questions-setup",o({questions:e?JSON.stringify(e):void 0},r,{ref:t})))},8799(e,r,t){t.d(r,{h:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({questions:e,...r},t)=>a().createElement("descope-security-questions-verify",o({questions:e?JSON.stringify(e):void 0},r,{ref:t})))},3177(e,r,t){t.d(r,{l:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({children:e,data:r,size:t="md",...n},i)=>a().createElement("descope-combo-box",o({size:t},n,{ref:i,data:r?"string"!=typeof r?JSON.stringify(r):r:""}),e))},6291(e,r,t){t.d(r,{Z:()=>f});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-button-selection-group",o({size:e},r,{ref:t})));var s=t(2577);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(null,arguments)}const c=a().forwardRef(({size:e="md",layout:r="horizontal",...t},n)=>a().createElement("descope-radio-group",l({size:e,layout:r},t,{ref:n})));function d(){return d=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},d.apply(null,arguments)}const f=a().forwardRef(({variant:e,data:r,allowClearValue:t,...n},o)=>"buttonSelectionGroup"===e?a().createElement(i,d({},n,{"allow-deselect":t,ref:o}),r?.map(({label:e,value:r})=>a().createElement("descope-button-selection-group-item",{key:r,value:r},e))):"radioGroup"===e?a().createElement(c,d({},n,{ref:o}),r?.map(({label:e,value:r})=>a().createElement("descope-radio-button",{key:r,value:r},e))):a().createElement(s.a,d({"clear-button-visible":t,"item-label-path":"data-name","item-value-path":"data-id"},n,{ref:o}),r?.map(({label:e,value:r})=>a().createElement("span",{"data-name":e,"data-id":r,key:r},e))))},6766(e,r,t){t.d(r,{d:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-switch-toggle",o({size:e},r,{ref:t})))},7398(e,r,t){t.d(r,{n:()=>l});var n=t(7596),a=t.n(n),o=t(9389),i=t(9759);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},s.apply(null,arguments)}const l=a().forwardRef(({component:e,variant:r,mode:t,children:n,width:l,height:c,"text-align":d,"hide-when-empty":f,hasTooltip:p,tooltipText:u,tooltipPosition:v,tooltipHoverDelay:g,tooltipHideDelay:b,tooltipOpened:h,tooltipReadOnly:m,...y},O)=>"text"===e?a().createElement(o.E,s({isEnriched:!0,variant:r,mode:t,"text-align":d,ref:O,"hide-when-empty":f,hasTooltip:p,tooltipText:u,tooltipPosition:v,tooltipHoverDelay:g,tooltipHideDelay:b,tooltipOpened:h,tooltipReadOnly:m},y),n):a().createElement(i.A,{text:p?u:void 0,position:v,hoverDelay:g,hideDelay:b,opened:h,readonly:m},a().createElement("descope-totp-image",s({"st-width":l,"st-height":c,ref:O},y))))},2786(e,r,t){t.d(r,{i:()=>s});var n=t(7596),a=t.n(n),o=t(5130);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({...e},r)=>{const t={...e,"data-type":"totp-link"};return a().createElement(o.N,i({ref:r},t))})},5943(e,r,t){t.d(r,{I:()=>s});var n=t(7596),a=t.n(n),o=t(2577);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef((e,r)=>a().createElement(o.a,i({"item-label-path":"data-name","item-value-path":"data-id"},e,{ref:r})))},9389(e,r,t){t.d(r,{E:()=>s});var n=t(7596),a=t.n(n),o=t(9759);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({isEnriched:e,hasTooltip:r,tooltipText:t,tooltipPosition:n,tooltipHoverDelay:s,tooltipHideDelay:l,tooltipOpened:c,tooltipReadOnly:d,...f},p)=>{const u=e?"descope-enriched-text":"descope-text",v=a().createElement(u,i({},f,{ref:p}),f.children);return a().createElement(o.A,{text:r?t:void 0,position:n,hoverDelay:s,hideDelay:l,opened:c,readonly:d},v)})},8294(e,r,t){t.d(r,{A:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-text-field",o({size:e},r,{ref:t})))},2867(e,r,t){t.d(r,{T:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({size:e="md",...r},t)=>a().createElement("descope-text-area",o({size:e},r,{ref:t})))},6553(e,r,t){t.d(r,{G:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({...e},r)=>a().createElement("descope-third-party-app-logo",o({},e,{ref:r})))},9482(e,r,t){t.d(r,{M:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({children:e,color:r="primary",size:t="md",variant:n="contained",horizontal:i=!1,"text-align":s="center","timer-seconds":l=0,"timer-hide-icon":c=!1,"timer-paused":d=!1,...f},p)=>a().createElement("descope-timer-button",o({},f,{size:t,"text-align":s,horizontal:i,"button-variant":n,"button-mode":r,"timer-hide-icon":c,"timer-seconds":l,"timer-paused":d,ref:p}),e))},9759(e,r,t){t.d(r,{A:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({text:e,hideDelay:r=0,hoverDelay:t=0,children:n,readonly:i,staticDisplay:s,...l},c)=>a().createElement("descope-tooltip",o({text:e,"hide-delay":r,"hover-delay":t,readonly:i,"static-display":s,ref:c},l),n))},62(e,r,t){t.d(r,{m:()=>n.A});var n=t(9759)},3757(e,r,t){t.d(r,{p:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({emptyState:e,data:r,...t},n)=>a().createElement("descope-trusted-devices",o({data:r?JSON.stringify(r):void 0},t,{ref:n}),a().createElement("div",{slot:"empty-state"},e)))},1791(e,r,t){t.d(r,{X:()=>i});var n=t(7596),a=t.n(n);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(null,arguments)}const i=a().forwardRef(({textLabel:e="This site is protected by turnstile and the Cloudflare [Privacy Policy](https://www.cloudflare.com/privacypolicy/) and [Terms of Service](https://www.cloudflare.com/terms/) apply.",textVariant:r="body1",textMode:t="primary",textAlign:n="left","full-width":i,connector:s,...l},c)=>a().createElement("descope-enriched-text",o({ref:c,"full-width":i,variant:r,mode:t,"text-align":n},l),e))},1623(e,r,t){t.d(r,{E:()=>s});var n=t(7596),a=t.n(n),o=t(9221);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({icon:e,...r},t)=>a().createElement("descope-upload-file",i({ref:t},r),e&&a().createElement(o.I,{slot:"icon",icon:e,"src-dark":e})))},3941(e,r,t){t.d(r,{I:()=>s});var n=t(7596),a=t.n(n),o=t(9221);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({required:e=!1,deleteIconLight:r,deleteIconDark:t,editIconLight:n,editIconDark:s,...l},c)=>a().createElement("descope-user-attribute",i({required:e},l,{ref:c}),r&&t&&a().createElement(o.I,{icon:r,"src-dark":t,slot:"delete-icon"}),n&&s&&a().createElement(o.I,{icon:n,"src-dark":s,slot:"edit-icon"})))},6866(e,r,t){t.d(r,{X:()=>s});var n=t(7596),a=t.n(n),o=t(9221);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}const s=a().forwardRef(({methodIcon:e,methodIconDark:r,buttonIcon:t,buttonIconDark:n,fulfilledButtonIcon:s,fulfilledButtonIconDark:l,...c},d)=>a().createElement("descope-user-auth-method",i({},c,{ref:d}),e&&r&&a().createElement(o.I,{icon:e,"src-dark":r,slot:"method-icon",noColor:!0}),t&&n&&a().createElement(o.I,{icon:t,"src-dark":n,slot:"button-icon",noColor:!0,width:"1em",height:"1em"}),s&&l&&a().createElement(o.I,{icon:s,"src-dark":l,slot:"fulfilled-button-icon",noColor:!0,width:"1em",height:"1em"})))},5790(e,r,t){t.r(r),t.d(r,{apple:()=>n,authenticator:()=>y,discord:()=>p,edit:()=>O,facebook:()=>a,fingerprint:()=>i,github:()=>l,gitlab:()=>c,google:()=>d,linkedin:()=>u,lock:()=>w,microsoft:()=>f,passkey:()=>s,password:()=>h,plus:()=>b,reload:()=>m,sessiontoken:()=>j,slack:()=>o,sso:()=>v,whatsapp:()=>g});const n=t.p+"f13658967532cae99da1.svg",a=t.p+"adbc0f5ae234fb63877f.svg",o=t.p+"7755af9b74a74fd4c72e.svg",i=t.p+"bb216f2acd8578e40083.svg",s=t.p+"63f15e050dfc2c260df2.svg",l=t.p+"89c64b810374d2021988.svg",c=t.p+"38b4664729b82ce9ffd3.svg",d=t.p+"57cee1cfc3e717f02893.svg",f=t.p+"e93c0414b255a74bd505.svg",p=t.p+"6bac8ecd9a5ae3ff466e.svg",u=t.p+"06ed70399e55fa909e27.svg",v=t.p+"baaf1043805bc5b5f9eb.svg",g=t.p+"88d76e1f0f29429faac0.svg",b=t.p+"ddb3ddaa0a2a0f89fb2c.svg",h=t.p+"5e0d0411fdb93bfbc44f.svg",m=t.p+"6e1198615562d43f468f.svg",y=t.p+"a39e3a9caf07786f8101.svg",O=t.p+"25036a1519bf13e48adf.svg",w=t.p+"608f0f4b86ffd8717261.svg",j=t.p+"898346859e6d3010e20a.svg"},889(e,r,t){t.d(r,{k:()=>n});const n=e=>/^\d*\.?\d+$/.test(e)}}]);
|
|
2
|
-
//# sourceMappingURL=626.js.map
|
package/dist/fm/626.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"626.js","mappings":"waAmBA,MAOA,EAPqBA,IAAAA,WAGnB,EAAGC,OAAO,QAASC,GAASC,IAC7BH,IAAAA,cAAA,wBAAAI,EAAA,CAAuBH,KAAMA,GAAUC,EAAK,CAAEC,IAAKA,K,8QCEpD,MAQA,EARcH,IAAAA,WACb,EAAGK,cAAaH,GAASC,IACxBH,IAAAA,cAAA,gBAAAI,EAAA,GAAmBF,EAAK,CAAEC,IAAKA,IAC7BE,G,8QCNJ,MAaA,EAbiBL,IAAAA,WAChB,EAAGM,aAAYC,OAAMC,aAAYN,GAASC,IACzCH,IAAAA,cAAA,oBAAAI,EAAA,CACCG,KAAMA,EAAOE,KAAKC,UAAUH,QAAQI,EACpCH,QAAqB,SAAZA,EAAqB,QAAU,QACpCN,EAAK,CACTC,IAAKA,IAELH,IAAAA,cAAA,OAAKY,KAAK,eAAeN,I,8QCT5B,MAOA,EAPeN,IAAAA,WAGb,EAAGC,OAAO,KAAMY,YAAW,KAAUX,GAASC,IAC/CH,IAAAA,cAAA,iBAAAI,EAAA,CAAgBH,KAAMA,EAAMY,SAAUA,GAAcX,EAAK,CAAEC,IAAKA,K,8QCJjE,MAKA,EALcH,IAAAA,WAGZ,CAACE,EAAOC,IAAQH,IAAAA,cAAA,gBAAAI,EAAA,GAAmBF,EAAK,CAAEC,IAAKA,K,kSCdjD,MAaA,EAbgBH,IAAAA,WACf,EAAGc,UAASZ,GAASC,KACpB,OAAQW,GACP,IAAK,WACJ,OAAOd,IAAAA,cAACe,EAAAA,EAAQX,EAAA,GAAKF,EAAK,CAAEC,IAAKA,KACl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YAAW,EACXC,kBACAC,iBACAC,gBACAC,kBACG9I,GAEJC,IAEAH,IAAAA,cAAA,yBAAAI,EAAA,CAAwBwI,SAAUA,GAAc1I,EAAK,CAAEC,IAAKA,IAC1D0I,GAAmBC,GACnB9I,IAAAA,cAACwC,EAAAA,EAAI,CACJC,KAAMoG,EACN,WAAUC,EACVlI,KAAK,gBAGNmI,GAAiBC,GACjBhJ,IAAAA,cAACwC,EAAAA,EAAI,CAACC,KAAMsG,EAAe,WAAUC,EAAcpI,KAAK,e,wRCvB5D,MAmCA,EAnCuBZ,IAAAA,WAItB,EACGiJ,aAAYC,iBAAgBC,aAAYC,iBAAgBC,sBAAqBC,6BAA4BpJ,GAC3GC,IAEAH,IAAAA,cAAA,2BAAAI,EAAA,GAA8BF,EAAK,CAAEC,IAAKA,IACxC8I,GAAcC,GAAkBlJ,IAAAA,cAACwC,EAAAA,EAAI,CACrCC,KAAMwG,EACN,WAAUC,EACVtI,KAAK,cACL8B,SAAO,IAEPyG,GAAcC,GAAkBpJ,IAAAA,cAACwC,EAAAA,EAAI,CACrCC,KAAM0G,EACN,WAAUC,EACVxI,KAAK,cACL8B,SAAO,EACPW,MAAM,MACN2B,OAAO,QAEPqE,GAAuBC,GAA2BtJ,IAAAA,cAACwC,EAAAA,EAAI,CACvDC,KAAM4G,EACN,WAAUC,EACV1I,KAAK,wBACL8B,SAAO,EACPW,MAAM,MACN2B,OAAO,S,6+BCjBJ,MAAMhC,EAAamD,GAAmB,cAAcoD,KAAKpD,E","sources":["webpack://@descope/flow-components-3.0.6-1774262217447/./src/AddressField/AddressField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Alert/Alert.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/AppsList/AppsList.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Avatar/Avatar.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Badge/Badge.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Boolean/Boolean.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Button/Button.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Checkbox/Checkbox.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Code/Code.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/CodeSnippet/CodeSnippet.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/CollapsibleContainer/CollapsibleContainer.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/ComboBox/ComboBox.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Container/Container.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/DateField/DateField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Divider/Divider.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Grid/Grid.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Grid/Columns/GridCustomColumn.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Grid/Columns/GridSelectionColumn.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Grid/Columns/GridTextColumn.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Grid/Columns/GridItemDetailsColumn.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Hcaptcha/Hcaptcha.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Honeypot/Honeypot.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/HybridField/HybridField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Icon/Icon.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Image/Image.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/EmailField/EmailField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Input/Input.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Link/Link.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/List/List.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/List/ListItem.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Loader/Loader.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Logo/Logo.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/MappingsField/MappingsField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Modal/Modal.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/ButtonMultiSelectionGroup/ButtonMultiSelectionGroup.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/MultiSelectComboBox/MultiSelectComboBox.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/MultiSelect/MultiSelect.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/NOTPImage/NOTPImage.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/NOTPLink/NOTPLink.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/NewPassword/NewPassword.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/NumberField/NumberField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/OutboundAppButton/OutboundAppButton.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/OutboundApps/OutboundApps.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Password/Password.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/PhoneCountrySelection/PhoneCountrySelection.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/PhoneInputBox/PhoneInputBox.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Phone/Phone.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Recaptcha/Recaptcha.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/RecaptchaV2/RecaptchaV2.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/RecoveryCodesList/RecoveryCodesList.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/SAMLGroupMappings/SAMLGroupMappings.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/ScopesList/ScopesList.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/SecurityQuestionsSetup/SecurityQuestionsSetup.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/SecurityQuestionsVerify/SecurityQuestionsVerify.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Select/Select.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/ButtonSelectionGroup/ButtonSelectionGroup.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/RadioGroup/RadioGroup.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/SingleSelect/SingleSelect.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Switch/Switch.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/TOTPImage/TOTPImage.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/TOTPLink/TOTPLink.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/TenantSelector/TenantSelector.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Text/Text.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/TextField/TextField.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Textarea/Textarea.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/ThirdPartyAppLogo/ThirdPartyAppLogo.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/TimerButton/TimerButton.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Tooltip/Tooltip.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/TrustedDevices/TrustedDevices.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/Turnstile/Turnstile.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/UploadFile/UploadFile.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/UserAttribute/UserAttribute.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/UserAuthMethod/UserAuthMethod.tsx","webpack://@descope/flow-components-3.0.6-1774262217447/./src/inputHelpers.ts"],"sourcesContent":["import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Props = {\n\t'data-connector-id'?: string;\n\t'connector-template'?: string;\n\t'min-search-length'?: number;\n\t'allow-custom-value'?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-address-field': Omit<DescopeInputProps, 'external-input'> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst AddressField = React.forwardRef<\n\tHTMLInputElement,\n\tOmit<DescopeInputProps, 'external-input'> & Props\n>(({ size = 'md', ...props }, ref) => (\n\t<descope-address-field size={size} {...props} ref={ref} />\n));\n\nexport default AddressField;\n","import React from 'react';\nimport { TextAlign } from '../types';\n\ntype Props = {\n\tmode?: string;\n\tvariant?: string;\n\tbordered?: boolean;\n\tchildren?: string;\n\t'text-align'?: TextAlign;\n\t'full-width'?: boolean;\n\t'link-target-blank'?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-alert': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst Alert = React.forwardRef<HTMLElement, Props>(\n\t({ children, ...props }, ref) => (\n\t\t<descope-alert {...props} ref={ref}>\n\t\t\t{children}\n\t\t</descope-alert>\n\t)\n);\n\nexport default Alert;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\temptyState?: React.ReactNode;\n\tvariant?: 'list' | 'tiles' | 'custom';\n\tdata?: any[];\n\treadonly?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-apps-list': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst AppsList = React.forwardRef<HTMLDivElement, Props>(\n\t({ emptyState, data, variant, ...props }, ref) => (\n\t\t<descope-apps-list\n\t\t\tdata={data ? JSON.stringify(data) : undefined}\n\t\t\tvariant={variant !== 'list' ? 'tiles' : 'list'} // custom baseline is tiles\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t>\n\t\t\t<div slot=\"empty-state\">{emptyState}</div>\n\t\t</descope-apps-list>\n\t)\n);\n\nexport default AppsList;\n","import React from 'react';\n\ntype Props = {\n\timg?: string;\n\t'display-name'?: string;\n\tsize?: string;\n\teditable?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-avatar': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst Avatar = React.forwardRef<\n\tHTMLButtonElement,\n\tReact.JSX.IntrinsicElements['div'] & Props\n>(({ size = 'md', editable = false, ...props }, ref) => (\n\t<descope-avatar size={size} editable={editable} {...props} ref={ref} />\n));\n\nexport default Avatar;\n","import React from 'react';\n\ntype Props = {\n\tmode?: string;\n\tsize?: string;\n\tbordered?: boolean;\n\t'full-width': boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-badge': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst Badge = React.forwardRef<\n\tHTMLElement,\n\tProps & React.HTMLAttributes<HTMLElement>\n>((props, ref) => <descope-badge {...props} ref={ref} />);\n\nexport default Badge;\n","import React from 'react';\nimport { Checkbox } from '../Checkbox';\nimport { Switch } from '../Switch';\n\ntype BooleanType = { type: 'switch' | 'checkbox' };\n\ntype Props = React.ComponentProps<typeof Checkbox> &\n\tReact.ComponentProps<typeof Switch> &\n\tBooleanType;\n\nconst Boolean = React.forwardRef<HTMLInputElement, Props>(\n\t({ type, ...props }, ref) => {\n\t\tswitch (type) {\n\t\t\tcase 'checkbox':\n\t\t\t\treturn <Checkbox {...props} ref={ref} />;\n\t\t\tcase 'switch':\n\t\t\t\treturn <Switch {...props} ref={ref} />;\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t}\n);\n\nexport default Boolean;\n","import React, { useMemo } from 'react';\n\nimport { Icon } from '../Icon';\nimport Tooltip, { type ITooltip } from '../Tooltip/Tooltip';\n\ntype Props = React.JSX.IntrinsicElements['button'] & {\n\tvariant?: string;\n\tcolor?: string;\n\tsize?: string;\n\tloading?: boolean;\n\tstartIcon?: string;\n\tstartIconDark?: string;\n\tstartIconColorText?: boolean;\n\t'full-width'?: boolean;\n\t'data-name'?: string;\n} & ITooltip;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-button': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLButtonElement>,\n\t\t\t\tHTMLButtonElement\n\t\t\t> & {\n\t\t\t\tsize?: string;\n\t\t\t\tvariant?: string;\n\t\t\t\tmode: string;\n\t\t\t\tsquare?: boolean;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst Button = React.forwardRef<\n\tHTMLButtonElement,\n\tReact.JSX.IntrinsicElements['button'] & Props\n>(\n\t(\n\t\t{\n\t\t\t// Button props\n\t\t\tchildren,\n\t\t\tstartIcon,\n\t\t\tstartIconDark,\n\t\t\tstartIconColorText,\n\t\t\tcolor = 'primary',\n\t\t\tsize = 'md',\n\t\t\tvariant = 'contained',\n\t\t\t'data-name': dataName,\n\n\t\t\t// Tooltip props\n\t\t\thasTooltip,\n\t\t\ttooltipText,\n\t\t\ttooltipPosition,\n\t\t\ttooltipHoverDelay,\n\t\t\ttooltipHideDelay,\n\t\t\ttooltipOpened,\n\t\t\ttooltipReadOnly,\n\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst isSquare = useMemo(\n\t\t\t() => !!(startIcon && !children),\n\t\t\t[startIcon, children]\n\t\t);\n\n\t\treturn (\n\t\t\t<Tooltip\n\t\t\t\ttext={hasTooltip ? tooltipText : undefined}\n\t\t\t\tposition={tooltipPosition}\n\t\t\t\thoverDelay={tooltipHoverDelay}\n\t\t\t\thideDelay={tooltipHideDelay}\n\t\t\t\topened={tooltipOpened}\n\t\t\t\treadonly={tooltipReadOnly}\n\t\t\t>\n\t\t\t\t<descope-button\n\t\t\t\t\t{...props}\n\t\t\t\t\tsize={size}\n\t\t\t\t\tvariant={variant}\n\t\t\t\t\tmode={color}\n\t\t\t\t\tref={ref}\n\t\t\t\t\tsquare={isSquare}\n\t\t\t\t\tdata-name={dataName}\n\t\t\t\t>\n\t\t\t\t\t{startIcon != null && (\n\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\tdata-name={`${dataName}-icon`}\n\t\t\t\t\t\t\ticon={startIcon}\n\t\t\t\t\t\t\tsrc-dark={startIconDark}\n\t\t\t\t\t\t\tnoColor={startIconColorText}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t\t{children}\n\t\t\t\t</descope-button>\n\t\t\t</Tooltip>\n\t\t);\n\t}\n);\n\nexport default Button;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-checkbox': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst Checkbox = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t(props, ref) => <descope-checkbox {...props} ref={ref} />\n);\n\nexport default Checkbox;\n","import React from 'react';\n\nimport { DescopeInputProps } from '../types';\n\ntype Props = {\n\tdigits?: number;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-passcode': DescopeInputProps & Props;\n\t\t}\n\t}\n}\n\nconst Code = React.forwardRef<HTMLInputElement, DescopeInputProps & Props>(\n\t(props, ref) => <descope-passcode ref={ref} {...props} />\n);\n\nexport default Code;\n","import React from 'react';\n\ntype Props = {\n\tlang?: 'xml' | 'html' | 'javascript' | 'css' | 'json';\n\tinline?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-code-snippet': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst CodeSnippet = React.forwardRef<\n\tHTMLElement,\n\tProps & React.HTMLAttributes<HTMLElement>\n>((props, ref) => <descope-code-snippet {...props} ref={ref} />);\n\nexport default CodeSnippet;\n","import React from 'react';\nimport { FlexAlignment } from '../types';\nimport { isNumeric } from '../inputHelpers';\n\ntype Never<T extends Record<string, any>> = { [K in keyof T]: never };\n\ntype SpaceBetween =\n\t| '0'\n\t| '0.5'\n\t| '1'\n\t| '1.5'\n\t| '2'\n\t| '2.5'\n\t| '3'\n\t| '3.5'\n\t| '4'\n\t| '5'\n\t| '6'\n\t| '7'\n\t| '8'\n\t| '9'\n\t| '10'\n\t| '11'\n\t| '12'\n\t| '14'\n\t| '16'\n\t| '20'\n\t| '24'\n\t| '28'\n\t| '32';\n\ntype Flex = {\n\tspaceBetween?: SpaceBetween;\n};\n\ntype ContainerAlignment = {\n\t'horizontal-alignment'?: FlexAlignment | 'space-between';\n\t'vertical-alignment'?: FlexAlignment;\n\t'space-between'?: 'sm' | 'md' | 'lg';\n};\n\ntype Props = {\n\tshadow?: 'md' | 'lg' | 'xl' | '2xl';\n\tborderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';\n\tpaddingX?: string;\n\tpaddingY?: string;\n\tbackground?: string;\n\tbackgroundImageUrl?: string;\n\twidth?: string;\n\tcollapsible?: boolean;\n\t'icon-position'?: 'right' | 'left';\n\t'fill-title'?: boolean;\n\tborder?: boolean;\n\ttext?: string;\n\t'icon-name'?: string;\n\tcollapsed?: boolean;\n\t'text-align'?: 'left' | 'right' | 'center';\n\t'text-variant'?:\n\t\t| 'body1'\n\t\t| 'body2'\n\t\t| 'subtitle1'\n\t\t| 'h1'\n\t\t| 'h2'\n\t\t| 'h3'\n\t\t| 'subtitle2';\n\t'text-mode'?: 'primary' | 'secondary' | 'error' | 'success';\n} & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-collapsible-container': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t>;\n\t\t}\n\t}\n}\n\nconst applyDefaults = ({\n\tpaddingX,\n\tpaddingY,\n\tbackground,\n\tspaceBetween\n}: Props) => ({\n\t'st-horizontal-padding':\n\t\t!paddingX || isNumeric(paddingX)\n\t\t\t? `${Number.parseInt(paddingX || '0', 10) / 4}rem`\n\t\t\t: paddingX,\n\t'st-vertical-padding':\n\t\t!paddingY || isNumeric(paddingY)\n\t\t\t? `${Number.parseInt(paddingY || '0', 10) / 4}rem`\n\t\t\t: paddingY,\n\t'st-background-color': background,\n\t...(spaceBetween\n\t\t? {\n\t\t\t\t'st-gap': isNumeric(spaceBetween)\n\t\t\t\t\t? `${Number.parseFloat(spaceBetween || '0') / 4}rem`\n\t\t\t\t\t: spaceBetween\n\t\t\t}\n\t\t: {})\n});\n\nconst Container = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(\n\t(\n\t\t{\n\t\t\tbackground,\n\t\t\tpaddingX,\n\t\t\tpaddingY,\n\t\t\tshadow,\n\t\t\twidth,\n\t\t\tspaceBetween,\n\t\t\tbackgroundImageUrl,\n\t\t\tborderRadius,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst mergedProps = {\n\t\t\t...props,\n\t\t\tshadow,\n\t\t\t'border-radius': borderRadius || props['border-radius'],\n\t\t\t'st-host-width': width || '100%',\n\t\t\t'st-background-image': backgroundImageUrl?.trim()\n\t\t\t\t? `url('${backgroundImageUrl.trim()}')`\n\t\t\t\t: undefined,\n\t\t\t...applyDefaults({\n\t\t\t\tpaddingX,\n\t\t\t\tpaddingY,\n\t\t\t\tbackground,\n\t\t\t\tspaceBetween\n\t\t\t})\n\t\t};\n\n\t\treturn <descope-collapsible-container {...mergedProps} ref={ref} />;\n\t}\n);\n\nexport default Container;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Props = DescopeInputProps & {\n\t'default-value'?: string;\n\t'item-label-path'?: string;\n\t'item-value-path'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-combobox': Props;\n\t\t}\n\t}\n}\n\nconst ComboBox = React.forwardRef<\n\tHTMLInputElement,\n\tProps & { children?: React.JSX.Element[] }\n>(({ size = 'md', bordered = true, ...props }, ref) => (\n\t<descope-combo-box size={size} bordered={bordered} {...props} ref={ref} />\n));\n\nexport default ComboBox;\n","import React from 'react';\nimport { FlexAlignment } from '../types';\nimport { isNumeric } from '../inputHelpers';\n\ntype Never<T extends Record<string, any>> = { [K in keyof T]: never };\n\ntype SpaceBetween =\n\t| '0'\n\t| '0.5'\n\t| '1'\n\t| '1.5'\n\t| '2'\n\t| '2.5'\n\t| '3'\n\t| '3.5'\n\t| '4'\n\t| '5'\n\t| '6'\n\t| '7'\n\t| '8'\n\t| '9'\n\t| '10'\n\t| '11'\n\t| '12'\n\t| '14'\n\t| '16'\n\t| '20'\n\t| '24'\n\t| '28'\n\t| '32';\n\ntype Flex = {\n\talign?: 'start' | 'end' | 'center' | 'baseline' | 'stretch';\n\tjustify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';\n\tspaceBetween?: SpaceBetween;\n};\n\ntype ContainerAlignment = {\n\t'horizontal-alignment'?: FlexAlignment | 'space-between';\n\t'vertical-alignment'?: FlexAlignment;\n\t'space-between'?: 'sm' | 'md' | 'lg';\n};\n\ntype Props = {\n\tdirection?: 'row' | 'column';\n\tshadow?: 'md' | 'lg' | 'xl' | '2xl';\n\tborderRadius?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';\n\tpaddingX?: string;\n\tpaddingY?: string;\n\tbackground?: string;\n\tbackgroundImageUrl?: string;\n\twidth?: string;\n\tvariant?: string;\n} & ((Flex & Never<ContainerAlignment>) | (ContainerAlignment & Never<Flex>));\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-container': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t>;\n\t\t}\n\t}\n}\n\nconst justifyContent = {\n\tstart: 'flex-start',\n\tcenter: 'safe center',\n\tend: 'flex-end',\n\tbetween: 'space-between',\n\taround: 'space-around',\n\tevenly: 'space-evenly'\n};\n\nconst alignItems = {\n\tstart: 'start',\n\tend: 'end',\n\tcenter: 'safe center',\n\tbaseline: 'baseline',\n\tstretch: 'stretch'\n};\n\nconst applyDefaults = ({\n\tpaddingX,\n\tpaddingY,\n\talign,\n\tjustify,\n\tbackground,\n\tspaceBetween\n}: Props) => ({\n\t'st-horizontal-padding':\n\t\t!paddingX || isNumeric(paddingX)\n\t\t\t? `${Number.parseInt(paddingX || '0', 10) / 4}rem`\n\t\t\t: paddingX,\n\t'st-vertical-padding':\n\t\t!paddingY || isNumeric(paddingY)\n\t\t\t? `${Number.parseInt(paddingY || '0', 10) / 4}rem`\n\t\t\t: paddingY,\n\t'st-align-items': alignItems[align],\n\t'st-justify-content': justifyContent[justify],\n\t'st-background-color': background,\n\t...(spaceBetween\n\t\t? {\n\t\t\t\t'st-gap': isNumeric(spaceBetween)\n\t\t\t\t\t? `${Number.parseFloat(spaceBetween || '0') / 4}rem`\n\t\t\t\t\t: spaceBetween\n\t\t\t}\n\t\t: {})\n});\n\nconst Container = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(\n\t(\n\t\t{\n\t\t\tbackground,\n\t\t\tjustify,\n\t\t\tpaddingX,\n\t\t\tpaddingY,\n\t\t\tshadow,\n\t\t\twidth,\n\t\t\talign,\n\t\t\tspaceBetween,\n\t\t\tbackgroundImageUrl,\n\t\t\tdirection = 'row',\n\t\t\tvariant,\n\t\t\tborderRadius,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst mergedProps = {\n\t\t\t...props,\n\t\t\tdirection,\n\t\t\tshadow,\n\t\t\tvariant,\n\t\t\t'border-radius': borderRadius || props['border-radius'],\n\t\t\t'st-host-width': width || '100%',\n\t\t\t'st-background-image': backgroundImageUrl?.trim()\n\t\t\t\t? `url('${backgroundImageUrl.trim()}')`\n\t\t\t\t: undefined,\n\t\t\t...(variant\n\t\t\t\t? {}\n\t\t\t\t: applyDefaults({\n\t\t\t\t\t\tpaddingX,\n\t\t\t\t\t\tpaddingY,\n\t\t\t\t\t\talign,\n\t\t\t\t\t\tjustify,\n\t\t\t\t\t\tbackground,\n\t\t\t\t\t\tspaceBetween\n\t\t\t\t\t}))\n\t\t};\n\n\t\treturn <descope-container {...mergedProps} ref={ref} />;\n\t}\n);\n\nexport default Container;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-date-field': Omit<DescopeInputProps, 'external-input'>;\n\t\t}\n\t}\n}\n\nconst DateField = React.forwardRef<\n\tHTMLInputElement,\n\tOmit<DescopeInputProps, 'external-input'>\n>(({ size = 'md', ...props }, ref) => (\n\t<descope-date-field size={size} {...props} ref={ref} />\n));\n\nexport default DateField;\n","import React from 'react';\nimport { Mode, TypographyVariants } from '../types';\n\ntype Props = {\n\tvertical?: boolean;\n\titalic?: boolean;\n\tvariant?: TypographyVariants;\n\tmode?: Mode;\n\tchildren?: React.ReactNode;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-divider': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLDivElement>,\n\t\t\t\tHTMLDivElement\n\t\t\t> &\n\t\t\t\tOmit<Props, 'children'>;\n\t\t}\n\t}\n}\n\nconst Divider = React.forwardRef<\n\tHTMLDivElement,\n\tOmit<React.JSX.IntrinsicElements['div'], 'size'> & Props\n>(({ children, ...restProps }, ref) => (\n\t<descope-divider {...restProps} ref={ref}>\n\t\t{children}\n\t</descope-divider>\n));\n\nexport default Divider;\n","import React from 'react';\nimport { ComponentSize } from '../types';\n\ntype Column = {\n\tpath: '';\n\theader: string;\n\ttype: 'selection' | 'text';\n\tattrs: { frozen: boolean; 'auto-width': boolean; resizable: boolean };\n};\n\ntype Props = {\n\tidentifier: any;\n\tchildren?: React.JSX.Element[];\n\tsize?: Omit<ComponentSize, 'xl'>;\n\tbordered?: boolean;\n\tcolumns?: Column[];\n\t'column-reordering-allowed'?: boolean;\n\tdata?: Record<string, any>;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-grid': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t>;\n\t\t}\n\t}\n}\n\nconst Grid = React.forwardRef<HTMLInputElement, Props>(({ ...props }, ref) => (\n\t<descope-grid {...props} ref={ref} />\n));\n\nexport default Grid;\n","import React from 'react';\nimport { ColumnProps } from './types';\n\nexport const GridCustomColumn = React.forwardRef<\n\tHTMLInputElement,\n\tColumnProps & { children: React.JSX.Element[] }\n>((props, ref) => <descope-grid-custom-column {...props} ref={ref} />);\n","import React from 'react';\nimport { ColumnProps } from './types';\n\nexport const GridSelectionColumn = React.forwardRef<\n\tHTMLInputElement,\n\tColumnProps\n>((props, ref) => <descope-grid-selection-column {...props} ref={ref} />);\n","import React from 'react';\nimport { ColumnProps } from './types';\n\nexport const GridTextColumn = React.forwardRef<HTMLInputElement, ColumnProps>(\n\t(props, ref) => <descope-grid-text-column {...props} ref={ref} />\n);\n","import React from 'react';\nimport { ColumnProps } from './types';\n\nexport const GridItemDetailsColumn = React.forwardRef<\n\tHTMLInputElement,\n\tColumnProps\n>((props, ref) => <descope-grid-item-details-column {...props} ref={ref} />);\n","import React from 'react';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-hcaptcha': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\ntype Props = {\n\tconnector?: string;\n\tenabled?: boolean;\n};\n\nconst Hcaptcha = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(({ enabled, ...props }, ref) => (\n\t<descope-hcaptcha ref={ref} enabled={enabled} {...props} />\n));\n\nexport default Hcaptcha;\n","import React from 'react';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-ponyhot': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t>;\n\t\t}\n\t}\n}\n\ninterface HoneypotProps {\n\tname: string;\n\t// email/checkbox are currently not allowed since they need specific logic and validation\n\ttype: 'text' | 'password' | 'address' | 'url' | 'tel';\n}\n\nconst Honeypot = React.forwardRef<HTMLElement, HoneypotProps>((props, ref) => (\n\t<descope-ponyhot ref={ref}>\n\t\t<input {...props} />\n\t</descope-ponyhot>\n));\n\nexport default Honeypot;\n","import React from 'react';\nimport {\n\tComponentSize,\n\tDescopeInputProps,\n\tLabelType,\n\tPropsToAttrs\n} from '../types';\n\ntype Props = {\n\tvariant?: 'countrySelection' | 'inputBox';\n\t'default-code'?: string;\n\t'phone-input-label'?: string;\n\t'phone-input-placeholder'?: string;\n\t'restrict-countries'?: string;\n\t'full-width'?: boolean;\n\tbordered?: boolean;\n\tlabel?: string;\n\tplaceholder?: string;\n\tsize?: ComponentSize;\n\t'helper-text'?: string;\n\t'data-errormessage-pattern-mismatch-email'?: string;\n\t'data-errormessage-value-missing-email'?: string;\n\t'data-errormessage-value-missing-phone'?: string;\n\t'label-type'?: LabelType;\n\t'external-input'?: boolean;\n} & DescopeInputProps;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-hybrid-field': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLInputElement>,\n\t\t\t\tHTMLInputElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst HybridField = React.forwardRef<\n\tHTMLInputElement,\n\tReact.JSX.IntrinsicElements['div'] & Props\n>(({ size = 'md', ...props }, ref) => (\n\t<descope-hybrid-field size={size} {...props} ref={ref} />\n));\n\nexport default HybridField;\n","import React from 'react';\n\nimport * as icons from '../icons';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-icon': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLImageElement>,\n\t\t\t\tHTMLImageElement\n\t\t\t> & { src?: string };\n\t\t}\n\t}\n}\n\nfunction Icon({\n\ticon,\n\tnoColor,\n\t...props\n}: React.JSX.IntrinsicElements['img'] & {\n\ticon?: string;\n\tnoColor?: boolean;\n}) {\n\tif (icons[icon]) {\n\t\treturn (\n\t\t\t<descope-icon\n\t\t\t\tsrc={icons[icon]}\n\t\t\t\t{...(noColor && { 'st-fill': 'currentColor' })}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n\n\treturn <descope-icon fill-color={noColor} src={icon} {...props} />;\n}\n\nexport default Icon;\n","import React from 'react';\nimport Tooltip, { type ITooltip } from '../Tooltip/Tooltip';\n\ntype Props = {\n\twidth?: string;\n\theight?: string;\n\talt?: string;\n\tsrc: string;\n\t'src-dark'?: string;\n} & ITooltip;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-image': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst Image = React.forwardRef<\n\tHTMLElement,\n\tProps & React.HTMLAttributes<HTMLElement>\n>(\n\t(\n\t\t{\n\t\t\twidth,\n\t\t\theight,\n\n\t\t\t// Tooltip props\n\t\t\thasTooltip,\n\t\t\ttooltipText,\n\t\t\ttooltipPosition,\n\t\t\ttooltipHoverDelay,\n\t\t\ttooltipHideDelay,\n\t\t\ttooltipOpened,\n\t\t\ttooltipReadOnly,\n\n\t\t\t...restProps\n\t\t},\n\t\tref\n\t) => (\n\t\t<Tooltip\n\t\t\ttext={hasTooltip ? tooltipText : undefined}\n\t\t\tposition={tooltipPosition}\n\t\t\thoverDelay={tooltipHoverDelay}\n\t\t\thideDelay={tooltipHideDelay}\n\t\t\topened={tooltipOpened}\n\t\t\treadonly={tooltipReadOnly}\n\t\t>\n\t\t\t<descope-image\n\t\t\t\t{...restProps}\n\t\t\t\tref={ref}\n\t\t\t\tst-width={width}\n\t\t\t\tst-height={height}\n\t\t\t/>\n\t\t</Tooltip>\n\t)\n);\n\nexport default Image;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-email-field': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst EmailField = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ size = 'md', ...props }, ref) => (\n\t\t<descope-email-field size={size} {...props} ref={ref} />\n\t)\n);\n\nexport default EmailField;\n","import React from 'react';\nimport { NumberField } from '../NumberField';\nimport { EmailField } from '../EmailField';\nimport { TextField } from '../TextField';\nimport { Password } from '../Password';\nimport { DateField } from '../DateField';\nimport { DescopeInputProps } from '../types';\n\nconst Input = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ type, size = 'md', ...rest }, ref) => {\n\t\tswitch (type) {\n\t\t\tcase 'email':\n\t\t\t\treturn <EmailField size={size} {...rest} ref={ref} />;\n\t\t\tcase 'password':\n\t\t\t\treturn <Password size={size} {...rest} ref={ref} />;\n\t\t\tcase 'number':\n\t\t\t\treturn <NumberField size={size} {...rest} ref={ref} />;\n\t\t\tcase 'date':\n\t\t\t\treturn <DateField size={size} {...rest} ref={ref} />;\n\t\t\tdefault:\n\t\t\t\treturn <TextField size={size} {...rest} ref={ref} />;\n\t\t}\n\t}\n);\n\nexport default Input;\n","import React from 'react';\nimport { Mode, TextAlign, TypographyVariants } from '../types';\nimport Tooltip, { type ITooltip } from '../Tooltip/Tooltip';\n\ntype Props = {\n\thref?: string | undefined;\n\titalic?: boolean;\n\tvariant?: TypographyVariants;\n\tmode?: Mode;\n\ttextAlign?: TextAlign;\n\t'full-width'?: boolean;\n\tchildren?: React.ReactNode;\n} & ITooltip;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-link': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLAnchorElement>,\n\t\t\t\tHTMLAnchorElement\n\t\t\t> &\n\t\t\t\tOmit<Props, 'children'>;\n\t\t}\n\t}\n}\n\nconst Link = React.forwardRef<HTMLAnchorElement, Props>(\n\t(\n\t\t{\n\t\t\tchildren,\n\n\t\t\t// Tooltip props\n\t\t\thasTooltip,\n\t\t\ttooltipText,\n\t\t\ttooltipPosition,\n\t\t\ttooltipHoverDelay,\n\t\t\ttooltipHideDelay,\n\t\t\ttooltipOpened,\n\t\t\ttooltipReadOnly,\n\n\t\t\t...restProps\n\t\t},\n\t\tref\n\t) => (\n\t\t<Tooltip\n\t\t\ttext={hasTooltip ? tooltipText : undefined}\n\t\t\tposition={tooltipPosition}\n\t\t\thoverDelay={tooltipHoverDelay}\n\t\t\thideDelay={tooltipHideDelay}\n\t\t\topened={tooltipOpened}\n\t\t\treadonly={tooltipReadOnly}\n\t\t>\n\t\t\t<descope-link {...restProps} ref={ref}>\n\t\t\t\t{children}\n\t\t\t</descope-link>\n\t\t</Tooltip>\n\t)\n);\n\nexport default Link;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\temptyState?: React.ReactNode;\n\tchildren?: React.ReactNode[];\n\tvariant?: 'list' | 'tiles';\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-list': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst List = React.forwardRef<HTMLDivElement, Props>(\n\t({ emptyState, children, ...props }, ref) => (\n\t\t<descope-list {...props} ref={ref}>\n\t\t\t{children}\n\t\t\t<div slot=\"empty-state\">{emptyState}</div>\n\t\t</descope-list>\n\t)\n);\n\nexport default List;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\tvariant?: 'row' | 'tile';\n\tchildren?: React.ReactNode;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-list-item': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst ListItem = React.forwardRef<HTMLDivElement, Props>((props, ref) => (\n\t<descope-list-item {...props} ref={ref} />\n));\n\nexport default ListItem;\n","import React from 'react';\nimport { Mode, PropsToAttrs } from '../types';\n\ntype Props = {\n\tvariant?: 'linear' | 'radial';\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\tcolor?: Mode;\n};\n\ntype LoaderType = React.DetailedHTMLProps<\n\tReact.HTMLAttributes<HTMLElement>,\n\tHTMLElement\n> &\n\tPropsToAttrs<Props>;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-loader-linear': LoaderType;\n\t\t\t'descope-loader-radial': LoaderType;\n\t\t}\n\t}\n}\n\nconst Loader = React.forwardRef<HTMLDivElement, Props>(\n\t({ variant, color, ...restProps }, ref) => {\n\t\tconst props = { mode: color, ...restProps, ref };\n\n\t\tswitch (variant) {\n\t\t\tcase 'linear':\n\t\t\t\treturn <descope-loader-linear {...props} />;\n\t\t\tcase 'radial':\n\t\t\t\treturn <descope-loader-radial {...props} />;\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t}\n);\n\nexport default Loader;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\twidth?: string;\n\theight?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-logo': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst Logo = React.forwardRef<HTMLDivElement, Props>(\n\t({ width, height, ...props }, ref) => (\n\t\t<descope-logo st-width={width} st-height={height} ref={ref} {...props} />\n\t)\n);\n\nexport default Logo;\n","import React, { useMemo } from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Item = {\n\tlabel: string;\n\tvalue: string;\n};\n\ntype Props = Omit<\n\tDescopeInputProps,\n\t| 'bordered'\n\t| 'label'\n\t| 'placeholder'\n\t| 'helper-text'\n\t| 'data-errormessage-pattern-mismatch'\n\t| 'data-errormessage-value-missing'\n> & {\n\t'label-value'?: string;\n\t'label-attr'?: string;\n\t'button-label'?: string;\n\tseparator?: string;\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\t'default-values'?: Record<string, string>[];\n\toptions?: Item[];\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-mappings-field': Omit<Props, 'default-values' | 'options'> & {\n\t\t\t\t'default-values'?: string;\n\t\t\t\toptions?: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst MappingsField = React.forwardRef<HTMLInputElement, Props>(\n\t(\n\t\t{ 'default-values': defaultValues, options, size = 'md', ...props },\n\t\tref\n\t) => {\n\t\tconst serializedDefaultValues = useMemo(() => {\n\t\t\tif (!defaultValues) return undefined;\n\t\t\ttry {\n\t\t\t\treturn JSON.stringify(defaultValues);\n\t\t\t} catch (e) {\n\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\tconsole.error(\n\t\t\t\t\t'could not parse data string from attribute \"default-values\" -',\n\t\t\t\t\te.message\n\t\t\t\t);\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}, [defaultValues]);\n\n\t\tconst serializedOptions = useMemo(() => {\n\t\t\tif (!options) return undefined;\n\t\t\ttry {\n\t\t\t\treturn JSON.stringify(options);\n\t\t\t} catch (e) {\n\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\tconsole.error(\n\t\t\t\t\t'could not parse data string from attribute \"options\" -',\n\t\t\t\t\te.message\n\t\t\t\t);\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}, [options]);\n\n\t\treturn (\n\t\t\t<descope-mappings-field\n\t\t\t\tsize={size}\n\t\t\t\t{...props}\n\t\t\t\tdefault-values={serializedDefaultValues ?? undefined}\n\t\t\t\toptions={serializedOptions ?? undefined}\n\t\t\t\tref={ref}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nexport default MappingsField;\n","import React from 'react';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-modal': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t>;\n\t\t}\n\t}\n}\n\ntype Props = {\n\topened?: boolean;\n};\n\nconst Modal = React.forwardRef<HTMLDivElement, Props>((props, ref) => (\n\t<descope-modal {...props} ref={ref} />\n));\n\nexport default Modal;\n","import React, { useMemo } from 'react';\nimport { DescopeInputProps, MultiSelectProps } from '../types';\n\ntype Props = DescopeInputProps & {\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\t'min-items-selection'?: number;\n\t'max-items-selection'?: number;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-button-multi-selection-group': Props & {\n\t\t\t\t'default-values'?: string;\n\t\t\t};\n\t\t\t'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {\n\t\t\t\tvalue: string;\n\t\t\t\tchildren: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst ButtonMultiSelectionGroup = React.forwardRef<\n\tHTMLInputElement,\n\tProps & MultiSelectProps\n>(({ 'default-values': defaultValues, size = 'md', ...props }, ref) => {\n\tconst serializedDefaultValues = useMemo(() => {\n\t\tif (!defaultValues) return undefined;\n\t\ttry {\n\t\t\treturn JSON.stringify(defaultValues);\n\t\t} catch (e) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.error(\n\t\t\t\t'could not parse data string from attribute \"default-values\" -',\n\t\t\t\te.message\n\t\t\t);\n\t\t\treturn '';\n\t\t}\n\t}, [defaultValues]);\n\n\treturn (\n\t\t<descope-button-multi-selection-group\n\t\t\tsize={size}\n\t\t\t{...props}\n\t\t\tdefault-values={serializedDefaultValues ?? undefined}\n\t\t\tref={ref}\n\t\t/>\n\t);\n});\n\nexport default ButtonMultiSelectionGroup;\n","import React, { useMemo } from 'react';\nimport { DescopeInputProps, MultiSelectProps } from '../types';\n\ntype Props = DescopeInputProps & {\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\t'min-items-selection'?: number;\n\t'max-items-selection'?: number;\n\tdata?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-multi-select-combo-box': Props & {\n\t\t\t\t'default-values'?: string;\n\t\t\t\t'allow-custom-value'?: string;\n\t\t\t\t'item-label-path'?: string;\n\t\t\t\t'item-value-path'?: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst MultiSelectComboBox = React.forwardRef<\n\tHTMLInputElement,\n\tProps & MultiSelectProps\n>(\n\t(\n\t\t{ 'default-values': defaultValues, size = 'md', bordered = true, ...props },\n\t\tref\n\t) => {\n\t\tconst serializedDefaultValues = useMemo(() => {\n\t\t\tif (!defaultValues) return undefined;\n\t\t\ttry {\n\t\t\t\treturn JSON.stringify(defaultValues);\n\t\t\t} catch (e) {\n\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\tconsole.error(\n\t\t\t\t\t'could not parse data string from attribute \"default-values\" -',\n\t\t\t\t\te.message\n\t\t\t\t);\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}, [defaultValues]);\n\n\t\treturn (\n\t\t\t<descope-multi-select-combo-box\n\t\t\t\tsize={size}\n\t\t\t\tbordered={bordered}\n\t\t\t\t{...props}\n\t\t\t\tclear-button-visible=\"true\"\n\t\t\t\titem-label-path=\"data-name\"\n\t\t\t\titem-value-path=\"data-id\"\n\t\t\t\tdefault-values={serializedDefaultValues ?? undefined}\n\t\t\t\tref={ref}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nexport default MultiSelectComboBox;\n","import React from 'react';\nimport { ButtonMultiSelectionGroup } from '../ButtonMultiSelectionGroup';\nimport { MultiSelectComboBox } from '../MultiSelectComboBox';\n\ntype Item = {\n\tlabel: string;\n\tvalue: string;\n};\n\ntype MultiSelectType = {\n\tvariant?: 'buttonSelectionGroup' | 'combobox' | 'dynamicCombobox';\n\tdata?: Item[];\n\t'min-items-selection'?: number;\n\t'max-items-selection'?: number;\n\t'label-type'?: string;\n};\n\ntype Props = Omit<\n\tReact.ComponentProps<typeof ButtonMultiSelectionGroup>,\n\t'default-values'\n> &\n\tMultiSelectType & { 'default-values'?: string[] };\n\nconst MultiSelect = React.forwardRef<HTMLInputElement, Props>(\n\t({ variant, data, ...props }, ref) => {\n\t\tif (variant === 'dynamicCombobox') {\n\t\t\treturn (\n\t\t\t\t<MultiSelectComboBox\n\t\t\t\t\t{...props}\n\t\t\t\t\tauto-open-disabled=\"true\"\n\t\t\t\t\tallow-custom-value=\"true\"\n\t\t\t\t\tdata=\"[]\"\n\t\t\t\t\tref={ref}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tif (variant === 'buttonSelectionGroup') {\n\t\t\treturn (\n\t\t\t\t<ButtonMultiSelectionGroup {...props} ref={ref}>\n\t\t\t\t\t{data?.map(({ label, value }) => (\n\t\t\t\t\t\t<descope-button-selection-group-item key={value} value={value}>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</descope-button-selection-group-item>\n\t\t\t\t\t))}\n\t\t\t\t</ButtonMultiSelectionGroup>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<MultiSelectComboBox {...props} allow-custom-value=\"false\" ref={ref}>\n\t\t\t\t{data?.map(({ label, value }) => (\n\t\t\t\t\t<span data-name={label} data-id={value} key={value}>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</span>\n\t\t\t\t))}\n\t\t\t</MultiSelectComboBox>\n\t\t);\n\t}\n);\n\nexport default MultiSelect;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\twidth?: string;\n\theight?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-notp-image': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst NOTPImage = React.forwardRef<HTMLDivElement, Props>(\n\t({ width, height, ...props }, ref) => (\n\t\t<descope-notp-image\n\t\t\tst-width={width}\n\t\t\tst-height={height}\n\t\t\tref={ref}\n\t\t\t{...props}\n\t\t/>\n\t)\n);\n\nexport default NOTPImage;\n","import React from 'react';\nimport { Link } from '../Link';\n\ntype Props = Omit<React.ComponentProps<typeof Link>, 'href'>;\n\n// The reason we define NOTPLink as a component, and not injecting the style from another place,\n// is to restrict the dependency between the code that injects this variable style (web-component) to this place only\n// Note: be careful when changing variables here, this can affect other packages implicitly\nconst NOTPLink = React.forwardRef<HTMLAnchorElement, Props>(\n\t({ ...props }, ref) => {\n\t\tconst readyProps = { ...props, 'data-type': 'notp-link' };\n\t\treturn <Link ref={ref} {...readyProps} />;\n\t}\n);\n\nexport default NOTPLink;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\nexport type Props = {\n\t'password-label'?: string;\n\t'password-placeholder'?: string;\n\t'confirm-label'?: string;\n\t'confirm-placeholder'?: string;\n\t'has-confirm'?: boolean;\n\t'policy-label'?: string;\n\t'has-validation'?: boolean;\n\t'active-policies'?: string[];\n\t'data-password-policy-pattern-minlength'?: string;\n\t'data-password-policy-pattern-lowercase'?: string;\n\t'data-password-policy-pattern-uppercase'?: string;\n\t'data-password-policy-pattern-number'?: string;\n\t'data-password-policy-pattern-nonalphanumeric'?: string;\n\t'data-password-policy-message-minlength'?: string;\n\t'data-password-policy-message-lowercase'?: string;\n\t'data-password-policy-message-uppercase'?: string;\n\t'data-password-policy-message-number'?: string;\n\t'data-password-policy-message-nonalphanumeric'?: string;\n\t'data-password-policy-message-passwordstrength'?: string;\n\t'data-password-policy-value-minlength'?: string;\n\t'st-policy-preview-background-color'?: string;\n\t'st-policy-preview-padding'?: string;\n};\n\nconst defaultProps = {\n\t'has-validation': false,\n\t'policy-label': 'Passwords must have:',\n\n\t// in the future, 'active-policies' can be injected in runtime\n\t'active-policies': [],\n\n /* these patterns are cloned in the orchestration service (context.go file)\n * make sure to update both places when changing it\n */\n\t// non-user-editable patterns\n\t'data-password-policy-pattern-minlength': '^.{{{value}},}$',\n\t'data-password-policy-pattern-lowercase': '[a-z]',\n\t'data-password-policy-pattern-uppercase': '[A-Z]',\n\t'data-password-policy-pattern-number': '\\\\d',\n\t'data-password-policy-pattern-nonalphanumeric': '[^a-zA-Z0-9]',\n\n\t// non-user-editable comparisons\n\t'data-password-policy-compare-passwordstrength': 'GTE',\n\n\t// props to override with data from policy\n\t'data-password-policy-value-minlength': '8',\n\n\t// translatable props\n\t'data-password-policy-message-minlength': 'At least {{value}} characters',\n\t'data-password-policy-message-lowercase': '1 lowercase letter',\n\t'data-password-policy-message-uppercase': '1 uppercase letter',\n\t'data-password-policy-message-number': '1 number',\n\t'data-password-policy-message-nonalphanumeric': '1 symbol',\n\t'data-password-policy-message-passwordstrength': 'Password strength',\n\n\t'st-policy-preview-background-color': 'transparent',\n\t'st-policy-preview-padding': '0'\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-new-password': DescopeInputProps & Props;\n\t\t}\n\t}\n}\n\nconst NewPassword = React.forwardRef<\n\tHTMLInputElement,\n\tDescopeInputProps & Props\n>((props, ref) => {\n\tconst mergedProps = { ...defaultProps, ...props };\n\n /* this logic is cloned in the orchestration service (context.go file)\n * make sure to update both places when changing it\n */\n\tconst availablePolicies = mergedProps?.['active-policies']?.map(\n\t\t(id: string) => ({\n\t\t\tid,\n\t\t\tmessage: mergedProps[`data-password-policy-message-${id}`],\n\t\t\tpattern: mergedProps[`data-password-policy-pattern-${id}`],\n\t\t\tcompare: mergedProps[`data-password-policy-compare-${id}`],\n\t\t\tdata: mergedProps[`data-password-policy-data-${id}`]\n\t\t})\n\t);\n\n\treturn (\n\t\t<descope-new-password\n\t\t\t{...mergedProps}\n\t\t\tref={ref}\n\t\t\tavailable-policies={JSON.stringify(availablePolicies || [])}\n\t\t/>\n\t);\n});\n\nexport default NewPassword;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-number-field': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst NumberField = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ size = 'md', ...props }, ref) => (\n\t\t<descope-number-field size={size} {...props} ref={ref} />\n\t)\n);\n\nexport default NumberField;\n","import React, { useMemo } from 'react';\n\ntype Props = React.JSX.IntrinsicElements['button'] & {\n\tchildren?: string; // legacy\n\tlabel?: string;\n\ticonSrc?: string;\n\ticonFill?: boolean;\n\tvariant?: string;\n\tcolor?: string;\n\tsize?: string;\n\tloading?: boolean;\n\t'full-width'?: boolean;\n\t'data-name'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-outbound-app-button': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLButtonElement>,\n\t\t\t\tHTMLButtonElement\n\t\t\t> & {\n\t\t\t\tlabel?: string;\n\t\t\t\ticonSrc?: string;\n\t\t\t\tsize?: string;\n\t\t\t\tvariant?: string;\n\t\t\t\tmode: string;\n\t\t\t\tsquare?: boolean;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst OutboundAppButton = React.forwardRef<\n\tHTMLButtonElement,\n\tReact.JSX.IntrinsicElements['button'] & Props\n>(\n\t(\n\t\t{\n\t\t\tchildren,\n\t\t\tlabel,\n\t\t\ticonSrc,\n\t\t\ticonFill,\n\t\t\tcolor = 'primary',\n\t\t\t'data-name': dataName,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst isSquare = useMemo(() => !!(iconSrc && !label), [iconSrc, label]);\n\t\treturn (\n\t\t\t<descope-outbound-app-button\n\t\t\t\t{...props}\n\t\t\t\tlabel={label || children}\n\t\t\t\ticon-src={iconSrc}\n\t\t\t\ticon-fill-current-color={iconFill}\n\t\t\t\tmode={color}\n\t\t\t\tref={ref}\n\t\t\t\tsquare={isSquare}\n\t\t\t\tdata-name={dataName}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nexport default OutboundAppButton;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\temptyState?: React.ReactNode;\n\tsize?: string;\n\tdata?: any[];\n\treadonly?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-outbound-apps': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst OutboundApps = React.forwardRef<HTMLDivElement, Props>(\n\t({ emptyState, data, ...props }, ref) => (\n\t\t<descope-outbound-apps\n\t\t\tdata={data ? JSON.stringify(data) : undefined}\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t>\n\t\t\t<div slot=\"empty-state\">{emptyState}</div>\n\t\t</descope-outbound-apps>\n\t)\n);\n\nexport default OutboundApps;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-password': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst Password = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ size = 'md', ...props }, ref) => (\n\t\t<descope-password size={size} {...props} ref={ref} />\n\t)\n);\n\nexport default Password;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Props = {\n\t'default-code'?: string;\n\t'phone-input-placeholder'?: string;\n\t'country-input-placeholder'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-phone-field': DescopeInputProps & Props;\n\t\t}\n\t}\n}\n\nconst PhoneCountrySelection = React.forwardRef<\n\tHTMLInputElement,\n\tDescopeInputProps & Props\n>((props, ref) => <descope-phone-field {...props} ref={ref} />);\n\nexport default PhoneCountrySelection;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Props = {\n\t'default-code'?: string;\n\t'phone-input-placeholder'?: string;\n\t'country-input-placeholder'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-phone-input-box-field': DescopeInputProps & Props;\n\t\t}\n\t}\n}\n\nconst PhoneInputBox = React.forwardRef<\n\tHTMLInputElement,\n\tDescopeInputProps & Props\n>((props, ref) => <descope-phone-input-box-field {...props} ref={ref} />);\n\nexport default PhoneInputBox;\n","import React from 'react';\nimport { PhoneCountrySelection } from '../PhoneCountrySelection';\nimport { PhoneInputBox } from '../PhoneInputBox';\nimport { DescopeInputProps } from '../types';\n\ntype Props = {\n\tvariant: 'countrySelection' | 'inputBox';\n\t'default-code'?: string;\n\t'phone-input-placeholder'?: string;\n\t'country-input-placeholder'?: string;\n\t'restrict-countries'?: string;\n\t'format-value'?: boolean;\n\t'strict-validation'?: boolean;\n} & DescopeInputProps;\n\nconst Phone = React.forwardRef<HTMLInputElement, Props>(\n\t({ variant, ...props }, ref) => {\n\t\tif (variant === 'inputBox') {\n\t\t\treturn <PhoneInputBox {...props} ref={ref} />;\n\t\t}\n\t\treturn <PhoneCountrySelection {...props} ref={ref} />;\n\t}\n);\n\nexport default Phone;\n","import React from 'react';\nimport { Mode, TextAlign, TypographyVariants } from '../types';\n\ntype Props = {\n\tenabled?: boolean;\n\t'site-key'?: string;\n\tenterprise?: boolean;\n\taction?: string;\n\tvariant?: 'text';\n\t// text child props:\n\ttextLabel?: string;\n\ttextVariant?: TypographyVariants;\n\ttextMode?: Mode;\n\ttextAlign?: TextAlign;\n\t'full-width'?: boolean;\n\treadOnly?: boolean;\n};\n\ndeclare global {\n\tinterface Window {\n\t\tonRecaptchaLoadCallback: () => void;\n\t}\n\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-recaptcha': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst defaultText =\n\t'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';\n\nconst Recaptcha = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(\n\t(\n\t\t{\n\t\t\tvariant,\n\t\t\ttextLabel = defaultText,\n\t\t\ttextVariant = 'body1',\n\t\t\ttextMode = 'primary',\n\t\t\ttextAlign = 'left',\n\t\t\t'full-width': fullWidth,\n\t\t\treadOnly,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => (\n\t\t<descope-recaptcha ref={ref} {...props} full-width={fullWidth}>\n\t\t\t{variant === 'text' ? (\n\t\t\t\t<descope-enriched-text\n\t\t\t\t\tfull-width={fullWidth}\n\t\t\t\t\treadonly={readOnly}\n\t\t\t\t\tvariant={textVariant}\n\t\t\t\t\tmode={textMode}\n\t\t\t\t\ttext-align={textAlign}\n\t\t\t\t>\n\t\t\t\t\t{textLabel}\n\t\t\t\t</descope-enriched-text>\n\t\t\t) : null}\n\t\t</descope-recaptcha>\n\t)\n);\n\nexport default Recaptcha;\n","import React from 'react';\nimport { CaptchaVariants, Mode, TextAlign, TypographyVariants } from '../types';\n\ntype Props = {\n\tconnector?: string;\n\tenterprise?: boolean;\n\taction?: string;\n\t// text child props:\n\ttextLabel?: string;\n\ttextVariant?: TypographyVariants;\n\ttextMode?: Mode;\n\ttextAlign?: TextAlign;\n\t'full-width'?: boolean;\n\treadOnly?: boolean;\n\tvariant?: CaptchaVariants;\n\tsrc?: string;\n\twidth?: string;\n\theight?: string;\n};\n\nconst defaultText =\n\t'This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.';\n\nconst RecaptchaV2 = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(\n\t(\n\t\t{\n\t\t\ttextLabel = defaultText,\n\t\t\ttextVariant = 'body1',\n\t\t\ttextMode = 'primary',\n\t\t\ttextAlign = 'left',\n\t\t\t'full-width': fullWidth,\n\t\t\treadOnly,\n\t\t\tconnector: _connector,\n\t\t\tenterprise: _enterprise,\n\t\t\taction: _action,\n\t\t\tvariant = 'text',\n\t\t\tsrc,\n\t\t\twidth,\n\t\t\theight,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tif (variant === 'image') {\n\t\t\treturn (\n\t\t\t\t<descope-image\n\t\t\t\t\tref={ref}\n\t\t\t\t\tfull-width={fullWidth}\n\t\t\t\t\tst-width={width}\n\t\t\t\t\tst-height={height}\n\t\t\t\t\tsrc={src}\n\t\t\t\t\t{...props}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\t\treturn (\n\t\t\t<descope-enriched-text\n\t\t\t\tref={ref}\n\t\t\t\tfull-width={fullWidth}\n\t\t\t\treadonly={readOnly}\n\t\t\t\tvariant={textVariant}\n\t\t\t\tmode={textMode}\n\t\t\t\ttext-align={textAlign}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{textLabel}\n\t\t\t</descope-enriched-text>\n\t\t);\n\t}\n);\n\nexport default RecaptchaV2;\n","import React from 'react';\nimport { PropsToAttrs, TextAlign } from '../types';\n\ntype Item = {\n\tvalue: string;\n};\n\ntype Props = {\n\tvariant?: string;\n\tmode?: string;\n\t'text-align': TextAlign;\n\t'full-width': boolean;\n\tdata?: Item[];\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-recovery-codes': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst RecoveryCodesList = React.forwardRef<HTMLDivElement, Props>(\n\t({ data, ...props }, ref) => (\n\t\t<descope-recovery-codes\n\t\t\tdata={data ? JSON.stringify(data) : undefined}\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t/>\n\t)\n);\n\nexport default RecoveryCodesList;\n","import React, { useMemo } from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Item = {\n\tlabel: string;\n\tvalue: string;\n};\n\ntype Props = Omit<\n\tDescopeInputProps,\n\t| 'bordered'\n\t| 'label'\n\t| 'placeholder'\n\t| 'helper-text'\n\t| 'data-errormessage-pattern-mismatch'\n\t| 'data-errormessage-value-missing'\n> & {\n\t'label-value'?: string;\n\t'label-attr'?: string;\n\t'label-group'?: string;\n\t'button-label'?: string;\n\tseparator?: string;\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\toptions?: Item[];\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-saml-group-mappings': Omit<Props, 'options'> & {\n\t\t\t\toptions?: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst SAMLGroupMappings = React.forwardRef<HTMLInputElement, Props>(\n\t({ options, size = 'md', ...props }, ref) => {\n\t\tconst serializedOptions = useMemo(() => {\n\t\t\tif (!options) return undefined;\n\t\t\ttry {\n\t\t\t\treturn JSON.stringify(options);\n\t\t\t} catch (e) {\n\t\t\t\t// eslint-disable-next-line no-console\n\t\t\t\tconsole.error(\n\t\t\t\t\t'could not parse data string from attribute \"options\" -',\n\t\t\t\t\te.message\n\t\t\t\t);\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}, [options]);\n\n\t\treturn (\n\t\t\t<descope-saml-group-mappings\n\t\t\t\tsize={size}\n\t\t\t\t{...props}\n\t\t\t\toptions={serializedOptions ?? undefined}\n\t\t\t\tref={ref}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nexport default SAMLGroupMappings;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Item = {\n\tdesc: string;\n\tid: string;\n\trequired?: boolean;\n};\n\ntype Props = {\n\tvariant?: 'checkbox' | 'switch';\n\tdata?: Item[];\n\treadonly?: boolean;\n\tsize: 'xs' | 'sm' | 'md' | 'lg';\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-scopes-list': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst ScopesList = React.forwardRef<HTMLDivElement, Props>(\n\t({ data, ...props }, ref) => (\n\t\t<descope-scopes-list\n\t\t\tdata={data ? JSON.stringify(data) : undefined}\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t/>\n\t)\n);\n\nexport default ScopesList;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Question = {\n\tid: string;\n\ttext: string;\n};\n\ntype Props = {\n\tquestions?: Question[];\n\treadonly?: boolean;\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\t'st-gap'?: string;\n\tcount?: number;\n\t'full-width'?: boolean;\n\t'question-label'?: string;\n\t'answer-label'?: string;\n\t'question-placeholder'?: string;\n\t'answer-placeholder'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-security-questions-setup': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst SecurityQuestionsSetup = React.forwardRef<HTMLDivElement, Props>(\n\t({ questions, ...props }, ref) => (\n\t\t<descope-security-questions-setup\n\t\t\tquestions={questions ? JSON.stringify(questions) : undefined}\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t/>\n\t)\n);\n\nexport default SecurityQuestionsSetup;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Question = {\n\tid: string;\n\ttext: string;\n};\n\ntype Props = {\n\tquestions?: Question[];\n\treadonly?: boolean;\n\tsize?: 'xs' | 'sm' | 'md' | 'lg';\n\t'st-gap'?: string;\n\t'full-width'?: boolean;\n\t'answer-placeholder'?: string;\n\t'question-mode'?: string;\n\t'st-question-text-align'?: string;\n\t'answer-data-errormessage-value-missing'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-security-questions-verify': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst SecurityQuestionsVerify = React.forwardRef<HTMLDivElement, Props>(\n\t({ questions, ...props }, ref) => (\n\t\t<descope-security-questions-verify\n\t\t\tquestions={questions ? JSON.stringify(questions) : undefined}\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t/>\n\t)\n);\n\nexport default SecurityQuestionsVerify;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Props = {\n\tchildren?: React.JSX.Element[];\n\tdata?: string | Record<string, string>[];\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-combo-box': DescopeInputProps & { data?: string };\n\t\t}\n\t}\n}\n\nconst Select = React.forwardRef<HTMLInputElement, DescopeInputProps & Props>(\n\t({ children, data, size = 'md', ...restProps }, ref) => (\n\t\t<descope-combo-box\n\t\t\tsize={size}\n\t\t\t{...restProps}\n\t\t\tref={ref}\n\t\t\tdata={\n\t\t\t\t// eslint-disable-next-line no-nested-ternary\n\t\t\t\tdata ? (typeof data !== 'string' ? JSON.stringify(data) : data) : ''\n\t\t\t}\n\t\t>\n\t\t\t{children}\n\t\t</descope-combo-box>\n\t)\n);\n\nexport default Select;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ntype Props = DescopeInputProps & {\n\t'default-value'?: string;\n\t'allow-deselect'?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-button-selection-group': Props;\n\t\t\t'descope-button-selection-group-item': React.JSX.IntrinsicElements['span'] & {\n\t\t\t\tvalue: string;\n\t\t\t\tchildren: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst ButtonSelectionGroup = React.forwardRef<\n\tHTMLInputElement,\n\tProps & { children?: React.JSX.Element[] }\n>(({ size = 'md', ...props }, ref) => (\n\t<descope-button-selection-group size={size} {...props} ref={ref} />\n));\n\nexport default ButtonSelectionGroup;\n","import React from 'react';\nimport { DescopeInputProps, MultiSelectProps } from '../types';\n\ntype Props = DescopeInputProps & {\n\tlayout?: 'horizontal' | 'vertical';\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-radio-group': Props & {\n\t\t\t\t'default-value'?: string;\n\t\t\t};\n\t\t\t'descope-radio-button': React.JSX.IntrinsicElements['span'] & {\n\t\t\t\tvalue: string;\n\t\t\t\tchildren: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst RadioGroup = React.forwardRef<HTMLInputElement, Props & MultiSelectProps>(\n\t({ size = 'md', layout = 'horizontal', ...props }, ref) => (\n\t\t<descope-radio-group size={size} layout={layout} {...props} ref={ref} />\n\t)\n);\n\nexport default RadioGroup;\n","import React from 'react';\nimport { ButtonSelectionGroup } from '../ButtonSelectionGroup';\nimport { ComboBox } from '../ComboBox';\nimport { RadioGroup } from '../RadioGroup';\nimport { LabelType } from '../types';\n\ntype Item = {\n\tlabel: string;\n\tvalue: string;\n};\n\ntype SingleSelectType = {\n\tvariant?: 'buttonSelectionGroup' | 'combobox' | 'radioGroup';\n\tdata?: Item[];\n\tallowClearValue?: boolean;\n\tlayout?: 'horizontal' | 'vertical';\n\t'label-type'?: LabelType;\n};\n\ntype Props = Omit<\n\tReact.ComponentProps<typeof ButtonSelectionGroup>,\n\t'allow-deselect'\n> &\n\tSingleSelectType;\n\nconst SingleSelect = React.forwardRef<HTMLInputElement, Props>(\n\t({ variant, data, allowClearValue, ...props }, ref) => {\n\t\tif (variant === 'buttonSelectionGroup') {\n\t\t\treturn (\n\t\t\t\t<ButtonSelectionGroup\n\t\t\t\t\t{...props}\n\t\t\t\t\tallow-deselect={allowClearValue}\n\t\t\t\t\tref={ref}\n\t\t\t\t>\n\t\t\t\t\t{data?.map(({ label, value }) => (\n\t\t\t\t\t\t<descope-button-selection-group-item key={value} value={value}>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</descope-button-selection-group-item>\n\t\t\t\t\t))}\n\t\t\t\t</ButtonSelectionGroup>\n\t\t\t);\n\t\t}\n\n\t\tif (variant === 'radioGroup') {\n\t\t\treturn (\n\t\t\t\t<RadioGroup {...props} ref={ref}>\n\t\t\t\t\t{data?.map(({ label, value }) => (\n\t\t\t\t\t\t<descope-radio-button key={value} value={value}>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t</descope-radio-button>\n\t\t\t\t\t))}\n\t\t\t\t</RadioGroup>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<ComboBox\n\t\t\t\tclear-button-visible={allowClearValue}\n\t\t\t\titem-label-path=\"data-name\"\n\t\t\t\titem-value-path=\"data-id\"\n\t\t\t\t{...props}\n\t\t\t\tref={ref}\n\t\t\t>\n\t\t\t\t{data?.map(({ label, value }) => (\n\t\t\t\t\t<span data-name={label} data-id={value} key={value}>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</span>\n\t\t\t\t))}\n\t\t\t</ComboBox>\n\t\t);\n\t}\n);\n\nexport default SingleSelect;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-switch-toggle': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst Switch = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ size = 'md', ...props }, ref) => (\n\t\t<descope-switch-toggle size={size} {...props} ref={ref} />\n\t)\n);\n\nexport default Switch;\n","import React from 'react';\nimport { Mode, PropsToAttrs, TextAlign, TypographyVariants } from '../types';\nimport { Text } from '../Text';\nimport Tooltip, { ITooltip } from '../Tooltip/Tooltip';\n\ntype Props = {\n\twidth?: string;\n\theight?: string;\n\tcomponent?: 'code' | 'text';\n\tchildren?: string;\n\tvariant?: TypographyVariants;\n\tmode?: Mode;\n\t'text-align'?: TextAlign;\n\t'hide-when-empty'?: boolean;\n} & ITooltip;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-totp-image': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst TOTPImage = React.forwardRef<HTMLDivElement, Props>(\n\t(\n\t\t{\n\t\t\tcomponent,\n\t\t\tvariant,\n\t\t\tmode,\n\t\t\tchildren,\n\t\t\twidth,\n\t\t\theight,\n\t\t\t'text-align': textAlign,\n\t\t\t'hide-when-empty': hideWhenEmpty,\n\t\t\t// Tooltip props\n\t\t\thasTooltip,\n\t\t\ttooltipText,\n\t\t\ttooltipPosition,\n\t\t\ttooltipHoverDelay,\n\t\t\ttooltipHideDelay,\n\t\t\ttooltipOpened,\n\t\t\ttooltipReadOnly,\n\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tif (component === 'text') {\n\t\t\treturn (\n\t\t\t\t<Text\n\t\t\t\t\tisEnriched\n\t\t\t\t\tvariant={variant}\n\t\t\t\t\tmode={mode}\n\t\t\t\t\ttext-align={textAlign}\n\t\t\t\t\tref={ref}\n\t\t\t\t\thide-when-empty={hideWhenEmpty}\n\t\t\t\t\thasTooltip={hasTooltip}\n\t\t\t\t\ttooltipText={tooltipText}\n\t\t\t\t\ttooltipPosition={tooltipPosition}\n\t\t\t\t\ttooltipHoverDelay={tooltipHoverDelay}\n\t\t\t\t\ttooltipHideDelay={tooltipHideDelay}\n\t\t\t\t\ttooltipOpened={tooltipOpened}\n\t\t\t\t\ttooltipReadOnly={tooltipReadOnly}\n\t\t\t\t\t{...props}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</Text>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Tooltip\n\t\t\t\ttext={hasTooltip ? tooltipText : undefined}\n\t\t\t\tposition={tooltipPosition}\n\t\t\t\thoverDelay={tooltipHoverDelay}\n\t\t\t\thideDelay={tooltipHideDelay}\n\t\t\t\topened={tooltipOpened}\n\t\t\t\treadonly={tooltipReadOnly}\n\t\t\t>\n\t\t\t\t<descope-totp-image\n\t\t\t\t\tst-width={width}\n\t\t\t\t\tst-height={height}\n\t\t\t\t\tref={ref}\n\t\t\t\t\t{...props}\n\t\t\t\t/>\n\t\t\t</Tooltip>\n\t\t);\n\t}\n);\n\nexport default TOTPImage;\n","import React from 'react';\nimport { Link } from '../Link';\n\ntype Props = Omit<React.ComponentProps<typeof Link>, 'href'>;\n\n// The reason we define TOTPLink as a component, and not injecting the style from another place,\n// is to restrict the dependency between the code that injects this variable style (web-component) to this place only\n// Note: be careful when changing variables here, this can affect other packages implicitly\nconst TOTPLink = React.forwardRef<HTMLAnchorElement, Props>(\n\t({ ...props }, ref) => {\n\t\tconst readyProps = { ...props, 'data-type': 'totp-link' };\n\t\treturn <Link ref={ref} {...readyProps} />;\n\t}\n);\n\nexport default TOTPLink;\n","import React from 'react';\nimport { ComboBox } from '../ComboBox';\n\nconst TenantSelector = React.forwardRef<\n HTMLInputElement,\n { children?: React.JSX.Element[] }\n>((props, ref) => (\n <ComboBox\n item-label-path=\"data-name\"\n item-value-path=\"data-id\"\n {...props}\n ref={ref}\n />\n));\n\nexport default TenantSelector;\n","import React from 'react';\nimport { TextAlign, TypographyVariants } from '../types';\nimport Tooltip, { type ITooltip } from '../Tooltip/Tooltip';\n\ntype Props = {\n\titalic?: boolean;\n\tvariant?: string;\n\tmode?: string;\n\tisEnriched?: boolean;\n\t'full-width'?: boolean;\n\t'text-align'?: TextAlign;\n\t'hide-when-empty'?: boolean;\n} & ITooltip;\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-text': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t\t'descope-enriched-text': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps & { readonly?: boolean };\n\t\t}\n\t}\n}\n\nconst Text = React.forwardRef<\n\tHTMLElement,\n\tProps & { typography?: TypographyVariants } & Omit<\n\t\t\tReact.HTMLProps<HTMLSpanElement>,\n\t\t\t'mode'\n\t\t>\n>(\n\t(\n\t\t{\n\t\t\tisEnriched,\n\n\t\t\t// Tooltip props\n\t\t\thasTooltip,\n\t\t\ttooltipText,\n\t\t\ttooltipPosition,\n\t\t\ttooltipHoverDelay,\n\t\t\ttooltipHideDelay,\n\t\t\ttooltipOpened,\n\t\t\ttooltipReadOnly,\n\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => {\n\t\tconst Tag = isEnriched ? 'descope-enriched-text' : 'descope-text';\n\t\tconst component = (\n\t\t\t<Tag {...props} ref={ref}>\n\t\t\t\t{props.children}\n\t\t\t</Tag>\n\t\t);\n\n\t\treturn (\n\t\t\t<Tooltip\n\t\t\t\ttext={hasTooltip ? tooltipText : undefined}\n\t\t\t\tposition={tooltipPosition}\n\t\t\t\thoverDelay={tooltipHoverDelay}\n\t\t\t\thideDelay={tooltipHideDelay}\n\t\t\t\topened={tooltipOpened}\n\t\t\t\treadonly={tooltipReadOnly}\n\t\t\t>\n\t\t\t\t{component}\n\t\t\t</Tooltip>\n\t\t);\n\t}\n);\n\nexport default Text;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-text-field': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst TextField = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ size = 'md', ...props }, ref) => (\n\t\t<descope-text-field size={size} {...props} ref={ref} />\n\t)\n);\n\nexport default TextField;\n","import React from 'react';\nimport { DescopeInputProps } from '../types';\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-text-area': DescopeInputProps;\n\t\t}\n\t}\n}\n\nconst Textarea = React.forwardRef<HTMLInputElement, DescopeInputProps>(\n\t({ size = 'md', ...props }, ref) => (\n\t\t<descope-text-area size={size} {...props} ref={ref} />\n\t)\n);\n\nexport default Textarea;\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Props = {\n\tsize: 'xs' | 'sm' | 'md' | 'lg';\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-third-party-app-logo': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst ThirdPartyAppLogo = React.forwardRef<HTMLDivElement, Props>(\n\t({ ...props }, ref) => <descope-third-party-app-logo {...props} ref={ref} />\n);\n\nexport default ThirdPartyAppLogo;\n","import React from 'react';\nimport { TextAlign } from '../types';\n\ntype Props = React.JSX.IntrinsicElements['button'] & {\n\tvariant?: string;\n\tcolor?: string;\n\tsize?: string;\n\thorizontal?: boolean;\n\t'text-align'?: TextAlign;\n\t'full-width'?: boolean;\n\t'timer-seconds'?: number;\n\t'timer-hide-icon'?: boolean;\n\t'timer-paused'?: boolean;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-timer-button': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLButtonElement>,\n\t\t\t\tHTMLButtonElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst TimerButton = React.forwardRef<\n\tHTMLButtonElement,\n\tReact.JSX.IntrinsicElements['button'] & Props\n>(\n\t(\n\t\t{\n\t\t\tchildren,\n\t\t\tcolor = 'primary',\n\t\t\tsize = 'md',\n\t\t\tvariant = 'contained',\n\t\t\thorizontal = false,\n\t\t\t'text-align': textAlign = 'center',\n\t\t\t'timer-seconds': timerSeconds = 0,\n\t\t\t'timer-hide-icon': timerHideIcon = false,\n\t\t\t'timer-paused': timerPause = false,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => (\n\t\t<descope-timer-button\n\t\t\t{...props}\n\t\t\tsize={size}\n\t\t\ttext-align={textAlign}\n\t\t\thorizontal={horizontal}\n\t\t\tbutton-variant={variant}\n\t\t\tbutton-mode={color}\n\t\t\ttimer-hide-icon={timerHideIcon}\n\t\t\ttimer-seconds={timerSeconds}\n\t\t\ttimer-paused={timerPause}\n\t\t\tref={ref}\n\t\t>\n\t\t\t{children}\n\t\t</descope-timer-button>\n\t)\n);\n\nexport default TimerButton;\n","import React from 'react';\n\nexport type TooltipPosition =\n\t| 'top'\n\t| 'top-start'\n\t| 'top-end'\n\t| 'bottom'\n\t| 'bottom-start'\n\t| 'bottom-end'\n\t| 'start'\n\t| 'start-top'\n\t| 'start-bottom'\n\t| 'end'\n\t| 'end-top'\n\t| 'end-bottom';\n\ntype Props = {\n\ttext?: string;\n\tposition?: TooltipPosition;\n\thoverDelay?: number;\n\thideDelay?: number;\n\topened?: boolean;\n\treadonly?: boolean;\n\tstaticDisplay?: boolean;\n\tchildren?: React.ReactNode;\n};\n\ndeclare module 'react' {\n\tinterface HTMLAttributes<_T> {\n\t\tslot?: string;\n\t}\n}\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-tooltip': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst Tooltip = React.forwardRef<\n\tHTMLElement,\n\tReact.HTMLAttributes<HTMLElement> & Props\n>(\n\t(\n\t\t{\n\t\t\ttext,\n\t\t\thideDelay = 0,\n\t\t\thoverDelay = 0,\n\t\t\tchildren,\n\t\t\treadonly,\n\t\t\tstaticDisplay,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => (\n\t\t<descope-tooltip\n\t\t\ttext={text}\n\t\t\thide-delay={hideDelay}\n\t\t\thover-delay={hoverDelay}\n\t\t\treadonly={readonly}\n\t\t\tstatic-display={staticDisplay}\n\t\t\tref={ref}\n\t\t\t{...props}\n\t\t>\n\t\t\t{children}\n\t\t</descope-tooltip>\n\t)\n);\n\nexport default Tooltip;\n\nexport interface ITooltip {\n\thasTooltip?: boolean;\n\ttooltipText?: string;\n\ttooltipPosition?: TooltipPosition;\n\ttooltipHoverDelay?: number;\n\ttooltipHideDelay?: number;\n\ttooltipOpened?: boolean;\n\ttooltipReadOnly?: boolean;\n\ttooltipStaticDisplay?: boolean;\n}\n","import React from 'react';\nimport { PropsToAttrs } from '../types';\n\ntype Device = {\n\tid: string;\n\tname: string;\n\tdeviceType: 'desktop' | 'mobile' | 'tablet' | 'unknown';\n\tlastLoginDate: number;\n};\n\ntype Props = {\n\temptyState?: React.ReactNode;\n\tdata?: Device[];\n\tformat?: string;\n\treadonly?: boolean;\n\t'full-width'?: boolean;\n\t'hide-actions'?: boolean;\n\t'remove-device-label'?: string;\n\t'current-device-label'?: string;\n\t'last-login-label'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-trusted-devices': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tPropsToAttrs<Props>;\n\t\t}\n\t}\n}\n\nconst TrustedDevices = React.forwardRef<HTMLDivElement, Props>(\n\t({ emptyState, data, ...props }, ref) => (\n\t\t<descope-trusted-devices\n\t\t\tdata={data ? JSON.stringify(data) : undefined}\n\t\t\t{...props}\n\t\t\tref={ref}\n\t\t>\n\t\t\t<div slot=\"empty-state\">{emptyState}</div>\n\t\t</descope-trusted-devices>\n\t)\n);\n\nexport default TrustedDevices;\n","import React from 'react';\nimport { Mode, TextAlign, TypographyVariants } from '../types';\n\ntype Props = {\n\tconnector?: string;\n\taction?: string;\n\t// text child props:\n\ttextLabel?: string;\n\ttextVariant?: TypographyVariants;\n\ttextMode?: Mode;\n\ttextAlign?: TextAlign;\n\treadonly?: boolean;\n\t'full-width'?: boolean;\n};\n\nconst defaultText =\n\t'This site is protected by turnstile and the Cloudflare [Privacy Policy](https://www.cloudflare.com/privacypolicy/) and [Terms of Service](https://www.cloudflare.com/terms/) apply.';\n\nconst Turnstile = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(\n\t(\n\t\t{\n\t\t\ttextLabel = defaultText,\n\t\t\ttextVariant = 'body1',\n\t\t\ttextMode = 'primary',\n\t\t\ttextAlign = 'left',\n\t\t\t'full-width': fullWidth,\n\t\t\tconnector: _connector,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => (\n\t\t<descope-enriched-text\n\t\t\tref={ref}\n\t\t\tfull-width={fullWidth}\n\t\t\tvariant={textVariant}\n\t\t\tmode={textMode}\n\t\t\ttext-align={textAlign}\n\t\t\t{...props}\n\t\t>\n\t\t\t{textLabel}\n\t\t</descope-enriched-text>\n\t)\n);\n\nexport default Turnstile;\n","import React from 'react';\nimport { ComponentSize } from '../types';\nimport { Icon } from '../Icon';\n\ntype Props = {\n\ttitle?: string;\n\tdescription?: string;\n\ticon?: string;\n\tsize?: ComponentSize;\n\t'button-label'?: string;\n\t'button-mode'?: string;\n\t'button-variant'?: string;\n\taccept?: string;\n\tname?: string;\n\treadonly?: boolean;\n\trequired?: boolean;\n\tbordered?: boolean;\n\t'full-width'?: boolean;\n\t'data-errormessage-value-missing'?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-upload-file': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst UploadFile = React.forwardRef<\n\tHTMLDivElement,\n\tProps & React.HTMLAttributes<HTMLDivElement>\n>(({ icon, ...props }, ref) => (\n\t<descope-upload-file ref={ref} {...props}>\n\t\t{icon && <Icon slot=\"icon\" icon={icon} src-dark={icon} />}\n\t</descope-upload-file>\n));\n\nexport default UploadFile;\n","import React from 'react';\nimport { Icon } from '../Icon';\n\ntype Props = {\n\t'badge-tooltip-text'?: string;\n\t'badge-label'?: string;\n\tvalue?: string;\n\tplaceholder?: string;\n\tlabel?: string;\n\t'full-width'?: boolean;\n\trequired?: boolean;\n\tdeleteIconLight?: string;\n\teditIconLight?: string;\n\tdeleteIconDark?: string;\n\teditIconDark?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-user-attribute': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> &\n\t\t\t\tProps;\n\t\t}\n\t}\n}\n\nconst UserAttribute = React.forwardRef<\n\tHTMLButtonElement,\n\tReact.JSX.IntrinsicElements['div'] & Props\n>(\n\t(\n\t\t{\n\t\t\trequired = false,\n\t\t\tdeleteIconLight,\n\t\t\tdeleteIconDark,\n\t\t\teditIconLight,\n\t\t\teditIconDark,\n\t\t\t...props\n\t\t},\n\t\tref\n\t) => (\n\t\t<descope-user-attribute required={required} {...props} ref={ref}>\n\t\t\t{deleteIconLight && deleteIconDark && (\n\t\t\t\t<Icon\n\t\t\t\t\ticon={deleteIconLight}\n\t\t\t\t\tsrc-dark={deleteIconDark}\n\t\t\t\t\tslot=\"delete-icon\"\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t{editIconLight && editIconDark && (\n\t\t\t\t<Icon icon={editIconLight} src-dark={editIconDark} slot=\"edit-icon\" />\n\t\t\t)}\n\t\t</descope-user-attribute>\n\t)\n);\n\nexport default UserAttribute;\n","import React from 'react';\nimport { Icon } from '../Icon';\n\ntype Props = React.JSX.IntrinsicElements['div'] & {\n\tlabel?: string;\n\t'button-label'?: string;\n\tfulfilled?: boolean;\n\t'full-width'?: boolean;\n\tmethodIcon?: string;\n\tmethodIconDark?: string;\n\tbuttonIcon?: string;\n\tbuttonIconDark?: string;\n\tfulfilledButtonIcon?: string;\n\tfulfilledButtonIconDark?: string;\n};\n\ndeclare global {\n\tnamespace React.JSX {\n\t\tinterface IntrinsicElements {\n\t\t\t'descope-user-auth-method': React.DetailedHTMLProps<\n\t\t\t\tReact.HTMLAttributes<HTMLElement>,\n\t\t\t\tHTMLElement\n\t\t\t> & {\n\t\t\t\tmethodIcon?: string;\n\t\t\t\tbuttonIcon?: string;\n\t\t\t};\n\t\t}\n\t}\n}\n\nconst UserAuthMethod = React.forwardRef<\n\tHTMLButtonElement,\n\tReact.JSX.IntrinsicElements['div'] & Props\n>(\n\t(\n\t\t{ methodIcon, methodIconDark, buttonIcon, buttonIconDark, fulfilledButtonIcon, fulfilledButtonIconDark, ...props },\n\t\tref\n\t) => (\n\t\t<descope-user-auth-method {...props} ref={ref}>\n\t\t\t{methodIcon && methodIconDark && <Icon\n\t\t\t\ticon={methodIcon}\n\t\t\t\tsrc-dark={methodIconDark}\n\t\t\t\tslot=\"method-icon\"\n\t\t\t\tnoColor\n\t\t\t/>}\n\t\t\t{buttonIcon && buttonIconDark && <Icon\n\t\t\t\ticon={buttonIcon}\n\t\t\t\tsrc-dark={buttonIconDark}\n\t\t\t\tslot=\"button-icon\"\n\t\t\t\tnoColor\n\t\t\t\twidth=\"1em\"\n\t\t\t\theight=\"1em\"\n\t\t\t/>}\n\t\t\t{fulfilledButtonIcon && fulfilledButtonIconDark && <Icon\n\t\t\t\ticon={fulfilledButtonIcon}\n\t\t\t\tsrc-dark={fulfilledButtonIconDark}\n\t\t\t\tslot=\"fulfilled-button-icon\"\n\t\t\t\tnoColor\n\t\t\t\twidth=\"1em\"\n\t\t\t\theight=\"1em\"\n\t\t\t/>}\n\t\t</descope-user-auth-method>\n\t)\n);\n\nexport default UserAuthMethod;\n","export function handleCustomValidationMessages() {\n\tconst kebabCase = (str: string) =>\n\t\tstr.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n\n\tif (!this) {\n\t\treturn;\n\t}\n\n\tconst targetEle = this.querySelector('.descope-input');\n\tif (!targetEle) {\n\t\treturn;\n\t}\n\n\tconst disabledChars = ['e'];\n\n\tif (targetEle.type === 'number') {\n\t\ttargetEle.addEventListener('keypress', (e: KeyboardEvent) => {\n\t\t\tif (disabledChars.includes(e.key.toLowerCase())) {\n\t\t\t\te.preventDefault();\n\t\t\t}\n\t\t});\n\t}\n\n\ttargetEle.addEventListener('input', () => {\n\t\tif (targetEle.classList.contains('invalid:input-error')) {\n\t\t\ttargetEle.checkValidity();\n\t\t}\n\t});\n\n\ttargetEle.addEventListener('invalid', () => {\n\t\ttargetEle.setCustomValidity('');\n\t\ttargetEle.classList.add('invalid:input-error');\n\t\t['patternMismatch', 'valueMissing'].forEach((type) => {\n\t\t\tif (targetEle.validity[type]) {\n\t\t\t\tconst attrName = `data-errormessage-${kebabCase(type)}`;\n\t\t\t\tconst customMessage = targetEle.getAttribute(attrName);\n\t\t\t\tif (customMessage) targetEle.setCustomValidity(customMessage);\n\t\t\t}\n\t\t});\n\t});\n}\n\nexport const isNumeric = (value?: string) => /^\\d*\\.?\\d+$/.test(value);\n"],"names":["React","size","props","ref","_extends","children","emptyState","data","variant","JSON","stringify","undefined","slot","editable","type","Checkbox","Switch","startIcon","startIconDark","startIconColorText","color","dataName","hasTooltip","tooltipText","tooltipPosition","tooltipHoverDelay","tooltipHideDelay","tooltipOpened","tooltipReadOnly","isSquare","useMemo","Tooltip","text","position","hoverDelay","hideDelay","opened","readonly","mode","square","Icon","icon","noColor","applyDefaults","paddingX","paddingY","background","spaceBetween","isNumeric","Number","parseInt","parseFloat","shadow","width","backgroundImageUrl","borderRadius","mergedProps","trim","bordered","justifyContent","start","center","end","between","around","evenly","alignItems","baseline","stretch","align","justify","direction","restProps","GridCustomColumn","GridSelectionColumn","GridTextColumn","GridItemDetailsColumn","enabled","icons","src","height","rest","EmailField","Password","NumberField","DateField","TextField","defaultValues","options","serializedDefaultValues","e","console","error","message","serializedOptions","MultiSelectComboBox","ButtonMultiSelectionGroup","map","label","value","key","readyProps","Link","defaultProps","availablePolicies","id","pattern","compare","iconSrc","iconFill","PhoneInputBox","PhoneCountrySelection","textLabel","textVariant","textMode","textAlign","fullWidth","readOnly","connector","_connector","enterprise","_enterprise","action","_action","questions","layout","allowClearValue","ButtonSelectionGroup","RadioGroup","ComboBox","component","hideWhenEmpty","Text","isEnriched","Tag","horizontal","timerSeconds","timerHideIcon","timerPause","staticDisplay","required","deleteIconLight","deleteIconDark","editIconLight","editIconDark","methodIcon","methodIconDark","buttonIcon","buttonIconDark","fulfilledButtonIcon","fulfilledButtonIconDark","test"],"sourceRoot":""}
|