@elliemae/pui-app-sdk 5.40.2 → 5.40.3
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/build/docs/404.html +1 -1
- package/build/docs/api/classes/Analytics/index.html +1 -1
- package/build/docs/api/classes/CMicroAppGuest/index.html +1 -1
- package/build/docs/api/classes/CMicroAppHost/index.html +1 -1
- package/build/docs/api/classes/ErrorBoundary/index.html +1 -1
- package/build/docs/api/classes/GuestModule/index.html +1 -1
- package/build/docs/api/functions/AppRoot/index.html +1 -1
- package/build/docs/api/functions/Autocomplete/index.html +1 -1
- package/build/docs/api/functions/CheckBox/index.html +1 -1
- package/build/docs/api/functions/ComboBox/index.html +1 -1
- package/build/docs/api/functions/ComboBoxV3/index.html +1 -1
- package/build/docs/api/functions/ConnectForm/index.html +1 -1
- package/build/docs/api/functions/DateInput/index.html +1 -1
- package/build/docs/api/functions/DatePicker/index.html +1 -1
- package/build/docs/api/functions/DateRangePicker/index.html +1 -1
- package/build/docs/api/functions/DateTimePicker/index.html +1 -1
- package/build/docs/api/functions/Form/index.html +1 -1
- package/build/docs/api/functions/FormItemLayout/index.html +1 -1
- package/build/docs/api/functions/FormLayoutBlockItem/index.html +1 -1
- package/build/docs/api/functions/FormSubmitButton/index.html +1 -1
- package/build/docs/api/functions/InputMask/index.html +1 -1
- package/build/docs/api/functions/InputText/index.html +1 -1
- package/build/docs/api/functions/LargeTextBox/index.html +1 -1
- package/build/docs/api/functions/MaskedInputText/index.html +1 -1
- package/build/docs/api/functions/Page/index.html +1 -1
- package/build/docs/api/functions/Radio/index.html +1 -1
- package/build/docs/api/functions/RadioGroup/index.html +1 -1
- package/build/docs/api/functions/RegisterService/index.html +1 -1
- package/build/docs/api/functions/RenderWithStateAddOns/index.html +1 -1
- package/build/docs/api/functions/RequireAuth/index.html +1 -1
- package/build/docs/api/functions/SessionTimeout/index.html +1 -1
- package/build/docs/api/functions/TextBox/index.html +1 -1
- package/build/docs/api/functions/Toggle/index.html +1 -1
- package/build/docs/api/functions/authSaga/index.html +1 -1
- package/build/docs/api/functions/authorize/index.html +1 -1
- package/build/docs/api/functions/buildModuleParams/index.html +1 -1
- package/build/docs/api/functions/cleanup/index.html +1 -1
- package/build/docs/api/functions/configureStore/index.html +1 -1
- package/build/docs/api/functions/createGuestModule/index.html +1 -1
- package/build/docs/api/functions/createManager/index.html +1 -1
- package/build/docs/api/functions/enableReactAppForHostIntegration/index.html +1 -1
- package/build/docs/api/functions/fetchHostAppData/index.html +1 -1
- package/build/docs/api/functions/fetchUserSettings/index.html +1 -1
- package/build/docs/api/functions/getApiActionCreator/index.html +1 -1
- package/build/docs/api/functions/getAppConfig/index.html +1 -1
- package/build/docs/api/functions/getAppConfigValue/index.html +1 -1
- package/build/docs/api/functions/getAuthHTTPClient/index.html +1 -1
- package/build/docs/api/functions/getAuthorizationHeader/index.html +1 -1
- package/build/docs/api/functions/getHTTPClient/index.html +1 -1
- package/build/docs/api/functions/getHostAppDataByKey/index.html +1 -1
- package/build/docs/api/functions/getLogger/index.html +1 -1
- package/build/docs/api/functions/getMicroFrontEndAppConfig/index.html +1 -1
- package/build/docs/api/functions/getNavigationLinks/index.html +1 -1
- package/build/docs/api/functions/getRedirectUrl/index.html +1 -1
- package/build/docs/api/functions/getSelectField/index.html +1 -1
- package/build/docs/api/functions/getStore/index.html +1 -1
- package/build/docs/api/functions/initServiceWorker/index.html +1 -1
- package/build/docs/api/functions/isCIBuild/index.html +1 -1
- package/build/docs/api/functions/isProd/index.html +1 -1
- package/build/docs/api/functions/isUserAuthorized/index.html +1 -1
- package/build/docs/api/functions/listenStorageEvents/index.html +1 -1
- package/build/docs/api/functions/loadAppConfig/index.html +1 -1
- package/build/docs/api/functions/loadable/index.html +1 -1
- package/build/docs/api/functions/login/index.html +1 -1
- package/build/docs/api/functions/notifyGuestUnloadComplete/index.html +1 -1
- package/build/docs/api/functions/onAuthorizationFailure/index.html +1 -1
- package/build/docs/api/functions/onGuestUnloadStart/index.html +1 -1
- package/build/docs/api/functions/redactPii/index.html +1 -1
- package/build/docs/api/functions/removeDoubleSlash/index.html +1 -1
- package/build/docs/api/functions/removeStorageEvents/index.html +1 -1
- package/build/docs/api/functions/render/index.html +1 -1
- package/build/docs/api/functions/renderHook/index.html +1 -1
- package/build/docs/api/functions/renderWithHostData/index.html +1 -1
- package/build/docs/api/functions/renderWithRedux/index.html +1 -1
- package/build/docs/api/functions/renderWithRouter/index.html +1 -1
- package/build/docs/api/functions/renderWithRouterRedux/index.html +1 -1
- package/build/docs/api/functions/sdkBaseQuery/index.html +1 -1
- package/build/docs/api/functions/sendBAEvent/index.html +1 -1
- package/build/docs/api/functions/sendMessageToHost/index.html +1 -1
- package/build/docs/api/functions/setAppConfig/index.html +1 -1
- package/build/docs/api/functions/setAppConfigValue/index.html +1 -1
- package/build/docs/api/functions/setHostAppData/index.html +1 -1
- package/build/docs/api/functions/setLoginParams/index.html +1 -1
- package/build/docs/api/functions/subscribeToResetSession/index.html +1 -1
- package/build/docs/api/functions/subscribeToSessionExpiry/index.html +1 -1
- package/build/docs/api/functions/subscribeToSessionExpiryWarning/index.html +1 -1
- package/build/docs/api/functions/trackActivity/index.html +1 -1
- package/build/docs/api/functions/useAppDispatch/index.html +1 -1
- package/build/docs/api/functions/useAppMiddleware/index.html +1 -1
- package/build/docs/api/functions/useInjectQuery/index.html +1 -1
- package/build/docs/api/functions/useInjectReducer/index.html +1 -1
- package/build/docs/api/functions/useInjectSaga/index.html +1 -1
- package/build/docs/api/functions/useInjectSideEffect/index.html +1 -1
- package/build/docs/api/functions/useMediaQueryList/index.html +1 -1
- package/build/docs/api/functions/useStateSelector/index.html +1 -1
- package/build/docs/api/functions/useStateSelectorShallow/index.html +1 -1
- package/build/docs/api/functions/waitFor/index.html +1 -1
- package/build/docs/api/functions/waitForElementToBeRemoved/index.html +1 -1
- package/build/docs/api/functions/withAppDecorator/index.html +1 -1
- package/build/docs/api/index.html +1 -1
- package/build/docs/api/interfaces/AppConfig/index.html +1 -1
- package/build/docs/api/interfaces/GuestProps/index.html +1 -1
- package/build/docs/api/interfaces/UseStateSelectorOptions/index.html +1 -1
- package/build/docs/api/type-aliases/AppDispatch/index.html +1 -1
- package/build/docs/api/type-aliases/AppStore/index.html +1 -1
- package/build/docs/api/type-aliases/Await/index.html +1 -1
- package/build/docs/api/type-aliases/EMUI/index.html +1 -1
- package/build/docs/api/type-aliases/HostOptions/index.html +1 -1
- package/build/docs/api/type-aliases/HostProvidedParams/index.html +1 -1
- package/build/docs/api/type-aliases/ModuleOverrides/index.html +1 -1
- package/build/docs/api/type-aliases/OnHostInitCallback/index.html +1 -1
- package/build/docs/api/type-aliases/OnInitCallback/index.html +1 -1
- package/build/docs/api/type-aliases/OnMountCallback/index.html +1 -1
- package/build/docs/api/type-aliases/OnUnMountCallback/index.html +1 -1
- package/build/docs/api/type-aliases/RootState/index.html +1 -1
- package/build/docs/api/type-aliases/SelectStateFieldFunction/index.html +1 -1
- package/build/docs/api/variables/ErrorToast/index.html +1 -1
- package/build/docs/api/variables/FormPropsContext/index.html +1 -1
- package/build/docs/api/variables/GuestMicroApp/index.html +1 -1
- package/build/docs/api/variables/MASK_PIPES/index.html +1 -1
- package/build/docs/api/variables/MASK_TYPES/index.html +1 -1
- package/build/docs/api/variables/MicroApp/index.html +1 -1
- package/build/docs/api/variables/MicroIFrameApp/index.html +1 -1
- package/build/docs/api/variables/NavigationPrompt/index.html +1 -1
- package/build/docs/api/variables/NavigationPromptActions/index.html +1 -1
- package/build/docs/api/variables/Themes/index.html +1 -1
- package/build/docs/api/variables/VisuallyHidden/index.html +1 -1
- package/build/docs/api/variables/WaitMessage/index.html +1 -1
- package/build/docs/api/variables/act/index.html +1 -1
- package/build/docs/api/variables/ariaLive/index.html +1 -1
- package/build/docs/api/variables/auth/index.html +1 -1
- package/build/docs/api/variables/authReducer/index.html +1 -1
- package/build/docs/api/variables/clearSideEffects/index.html +1 -1
- package/build/docs/api/variables/createSideEffect/index.html +1 -1
- package/build/docs/api/variables/decorators/index.html +1 -1
- package/build/docs/api/variables/endSession/index.html +1 -1
- package/build/docs/api/variables/error/index.html +1 -1
- package/build/docs/api/variables/errorMiddleware/index.html +1 -1
- package/build/docs/api/variables/fireEvent/index.html +1 -1
- package/build/docs/api/variables/globalConstants/index.html +1 -1
- package/build/docs/api/variables/history/index.html +1 -1
- package/build/docs/api/variables/httpClientProps/index.html +1 -1
- package/build/docs/api/variables/logout/index.html +1 -1
- package/build/docs/api/variables/memoryHistory/index.html +1 -1
- package/build/docs/api/variables/removeSideEffect/index.html +1 -1
- package/build/docs/api/variables/resetUserIdleTime/index.html +1 -1
- package/build/docs/api/variables/screen/index.html +1 -1
- package/build/docs/api/variables/startSideEffect/index.html +1 -1
- package/build/docs/api/variables/updateBAEventParameters/index.html +1 -1
- package/build/docs/api/variables/useAppSelector/index.html +1 -1
- package/build/docs/api/variables/waitMessageAction/index.html +1 -1
- package/build/docs/api/variables/within/index.html +1 -1
- package/build/docs/assets/js/{main.2633031c.js → main.7d445fc8.js} +2 -2
- package/build/docs/index.html +1 -1
- package/build/docs/usage-guide/index.html +1 -1
- package/demo/1450.cd9708d7.iframe.bundle.js +233 -0
- package/demo/1450.cd9708d7.iframe.bundle.js.br +0 -0
- package/demo/1450.cd9708d7.iframe.bundle.js.gz +0 -0
- package/demo/{329.fc5b8f2721c79670e561.manager.bundle.js → 152.1b006a6c9dff83f29e61.manager.bundle.js} +57 -649
- package/demo/152.1b006a6c9dff83f29e61.manager.bundle.js.br +0 -0
- package/demo/152.1b006a6c9dff83f29e61.manager.bundle.js.gz +0 -0
- package/demo/2461.8f47280d.iframe.bundle.js +2 -0
- package/demo/2461.8f47280d.iframe.bundle.js.br +0 -0
- package/demo/2461.8f47280d.iframe.bundle.js.gz +0 -0
- package/demo/3171.4e87e763.iframe.bundle.js +184 -0
- package/demo/3171.4e87e763.iframe.bundle.js.br +0 -0
- package/demo/3171.4e87e763.iframe.bundle.js.gz +0 -0
- package/demo/{5360.812d97e2.iframe.bundle.js → 5360.66dcbf1d.iframe.bundle.js} +5 -5
- package/demo/5360.66dcbf1d.iframe.bundle.js.br +0 -0
- package/demo/5360.66dcbf1d.iframe.bundle.js.gz +0 -0
- package/demo/{8690.7dab3f85.iframe.bundle.js → 6879.3434f1e9.iframe.bundle.js} +513 -661
- package/demo/6879.3434f1e9.iframe.bundle.js.br +0 -0
- package/demo/6879.3434f1e9.iframe.bundle.js.gz +0 -0
- package/demo/{721.595f1410.iframe.bundle.js → 721.8af2090f.iframe.bundle.js} +5 -301
- package/demo/721.8af2090f.iframe.bundle.js.br +0 -0
- package/demo/{docs/721.595f1410.iframe.bundle.js.gz → 721.8af2090f.iframe.bundle.js.gz} +0 -0
- package/demo/{7443.6a92dca4.iframe.bundle.js → 7443.99ee131a.iframe.bundle.js} +1 -1
- package/demo/7443.99ee131a.iframe.bundle.js.br +0 -0
- package/demo/{7443.6a92dca4.iframe.bundle.js.gz → 7443.99ee131a.iframe.bundle.js.gz} +0 -0
- package/demo/docs/1450.cd9708d7.iframe.bundle.js +233 -0
- package/demo/docs/1450.cd9708d7.iframe.bundle.js.br +0 -0
- package/demo/docs/1450.cd9708d7.iframe.bundle.js.gz +0 -0
- package/demo/docs/{329.fc5b8f2721c79670e561.manager.bundle.js → 152.1b006a6c9dff83f29e61.manager.bundle.js} +57 -649
- package/demo/docs/152.1b006a6c9dff83f29e61.manager.bundle.js.br +0 -0
- package/demo/docs/152.1b006a6c9dff83f29e61.manager.bundle.js.gz +0 -0
- package/demo/docs/2461.8f47280d.iframe.bundle.js +2 -0
- package/demo/docs/2461.8f47280d.iframe.bundle.js.br +0 -0
- package/demo/docs/2461.8f47280d.iframe.bundle.js.gz +0 -0
- package/demo/docs/3171.4e87e763.iframe.bundle.js +184 -0
- package/demo/docs/3171.4e87e763.iframe.bundle.js.br +0 -0
- package/demo/docs/3171.4e87e763.iframe.bundle.js.gz +0 -0
- package/demo/docs/{5360.812d97e2.iframe.bundle.js → 5360.66dcbf1d.iframe.bundle.js} +5 -5
- package/demo/docs/5360.66dcbf1d.iframe.bundle.js.br +0 -0
- package/demo/docs/5360.66dcbf1d.iframe.bundle.js.gz +0 -0
- package/demo/docs/{8690.7dab3f85.iframe.bundle.js → 6879.3434f1e9.iframe.bundle.js} +513 -661
- package/demo/docs/6879.3434f1e9.iframe.bundle.js.br +0 -0
- package/demo/docs/6879.3434f1e9.iframe.bundle.js.gz +0 -0
- package/demo/docs/{721.595f1410.iframe.bundle.js → 721.8af2090f.iframe.bundle.js} +5 -301
- package/demo/docs/721.8af2090f.iframe.bundle.js.br +0 -0
- package/demo/{721.595f1410.iframe.bundle.js.gz → docs/721.8af2090f.iframe.bundle.js.gz} +0 -0
- package/demo/docs/{7443.6a92dca4.iframe.bundle.js → 7443.99ee131a.iframe.bundle.js} +1 -1
- package/demo/docs/7443.99ee131a.iframe.bundle.js.br +0 -0
- package/demo/docs/{7443.6a92dca4.iframe.bundle.js.gz → 7443.99ee131a.iframe.bundle.js.gz} +0 -0
- package/demo/docs/iframe.html +1 -1
- package/demo/docs/index.html +1 -1
- package/demo/docs/{main.0f994da1.iframe.bundle.js → main.703b0e4c.iframe.bundle.js} +4 -4
- package/demo/docs/main.703b0e4c.iframe.bundle.js.br +0 -0
- package/demo/docs/main.703b0e4c.iframe.bundle.js.gz +0 -0
- package/demo/docs/{main.6450959ebac74d911d3f.manager.bundle.js → main.f4b9fb997236ae69d894.manager.bundle.js} +1 -1
- package/demo/docs/main.f4b9fb997236ae69d894.manager.bundle.js.br +0 -0
- package/demo/docs/main.f4b9fb997236ae69d894.manager.bundle.js.gz +0 -0
- package/demo/docs/project.json +1 -1
- package/demo/docs/{runtime~main.6976fccef9edfb129ee7.manager.bundle.js → runtime~main.41c05f1a4dd142df8426.manager.bundle.js} +2 -2
- package/demo/docs/runtime~main.41c05f1a4dd142df8426.manager.bundle.js.br +0 -0
- package/demo/docs/runtime~main.41c05f1a4dd142df8426.manager.bundle.js.gz +0 -0
- package/demo/docs/{runtime~main.b28bcbad.iframe.bundle.js → runtime~main.ee3c81f5.iframe.bundle.js} +2 -2
- package/demo/docs/runtime~main.ee3c81f5.iframe.bundle.js.br +0 -0
- package/demo/docs/runtime~main.ee3c81f5.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-breakpoint-index-stories.8f518b10.iframe.bundle.js → view-breakpoint-index-stories.5dff17f1.iframe.bundle.js} +2 -2
- package/demo/docs/view-breakpoint-index-stories.5dff17f1.iframe.bundle.js.br +0 -0
- package/demo/docs/view-breakpoint-index-stories.5dff17f1.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-error-toast-index-stories.64643a70.iframe.bundle.js → view-error-toast-index-stories.6204699b.iframe.bundle.js} +2 -2
- package/demo/docs/view-error-toast-index-stories.6204699b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-error-toast-index-stories.6204699b.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-autocomplete-advanced-autocomplete-stories.ef85085f.iframe.bundle.js → view-fields-autocomplete-advanced-autocomplete-stories.fafbe577.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.fafbe577.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.fafbe577.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-autocomplete-async-suggestions-autocomplete-stories.dfb773e7.iframe.bundle.js → docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.2cf49c6c.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.2cf49c6c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.2cf49c6c.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-autocomplete-index-stories.f4fea07e.iframe.bundle.js → view-fields-autocomplete-index-stories.f500e5d3.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-autocomplete-index-stories.f500e5d3.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.f500e5d3.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-check-box-index-stories.3a5eb11a.iframe.bundle.js → view-fields-check-box-index-stories.77f53e30.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-check-box-index-stories.77f53e30.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-index-stories.77f53e30.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-check-box-set-value-stories.e8105174.iframe.bundle.js → view-fields-check-box-set-value-stories.4e73e032.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-check-box-set-value-stories.4e73e032.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.4e73e032.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-combo-box-index-stories.a207489d.iframe.bundle.js → view-fields-combo-box-index-stories.aa9a3542.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-combo-box-index-stories.aa9a3542.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.aa9a3542.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-combo-box-v3-index-stories.19281504.iframe.bundle.js → view-fields-combo-box-v3-index-stories.b5db9b36.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-combo-box-v3-index-stories.b5db9b36.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.b5db9b36.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-date-input-index-stories.5063ba77.iframe.bundle.js → docs/view-fields-date-input-index-stories.1473fa71.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-date-input-index-stories.1473fa71.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-input-index-stories.1473fa71.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-date-picker-index-stories.ac0fb680.iframe.bundle.js → view-fields-date-picker-index-stories.d76930ad.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-date-picker-index-stories.d76930ad.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.d76930ad.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-date-range-picker-index-stories.23084f04.iframe.bundle.js → view-fields-date-range-picker-index-stories.0047537a.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-date-range-picker-index-stories.0047537a.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.0047537a.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-date-time-picker-index-stories.d92c2486.iframe.bundle.js → docs/view-fields-date-time-picker-index-stories.2fb5dffc.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-date-time-picker-index-stories.2fb5dffc.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.2fb5dffc.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-form-item-layout-index-stories.7a98de5e.iframe.bundle.js → docs/view-fields-form-item-layout-index-stories.166f1345.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-form-item-layout-index-stories.166f1345.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.166f1345.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-form-layout-block-item-index-stories.9c6e182c.iframe.bundle.js → docs/view-fields-form-layout-block-item-index-stories.82956d3c.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-form-layout-block-item-index-stories.82956d3c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.82956d3c.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-input-mask-index-stories.135e1ef4.iframe.bundle.js → docs/view-fields-input-mask-index-stories.891b9c76.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-input-mask-index-stories.891b9c76.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.891b9c76.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-input-text-index-stories.f085f65c.iframe.bundle.js → view-fields-input-text-index-stories.a4286e37.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-input-text-index-stories.a4286e37.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-text-index-stories.a4286e37.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-large-text-box-index-stories.784c9a4b.iframe.bundle.js → docs/view-fields-large-text-box-index-stories.92b3314f.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-large-text-box-index-stories.92b3314f.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.92b3314f.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-masked-input-text-with-money-mask-stories.75b87fb6.iframe.bundle.js → view-fields-masked-input-text-with-money-mask-stories.e5aa7816.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.e5aa7816.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.e5aa7816.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-masked-input-text-with-percentage-mask-stories.db6a6e62.iframe.bundle.js → view-fields-masked-input-text-with-percentage-mask-stories.6962c78e.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.6962c78e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.6962c78e.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-radio-group-index-stories.a8f89e3b.iframe.bundle.js → docs/view-fields-radio-group-index-stories.1a80d0c3.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-radio-group-index-stories.1a80d0c3.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.1a80d0c3.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-radio-index-stories.72df37a1.iframe.bundle.js → docs/view-fields-radio-index-stories.a41adf66.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-radio-index-stories.a41adf66.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-index-stories.a41adf66.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-radio-set-value-stories.1cac7153.iframe.bundle.js → view-fields-radio-set-value-stories.4a652afe.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-radio-set-value-stories.4a652afe.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.4a652afe.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-text-box-index-stories.2211d4d4.iframe.bundle.js → view-fields-text-box-index-stories.a053521b.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-text-box-index-stories.a053521b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-text-box-index-stories.a053521b.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-fields-toggle-index-stories.c19001c4.iframe.bundle.js → view-fields-toggle-index-stories.9f3dbb39.iframe.bundle.js} +2 -2
- package/demo/docs/view-fields-toggle-index-stories.9f3dbb39.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-toggle-index-stories.9f3dbb39.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-form-index-stories.a942b09c.iframe.bundle.js → view-form-index-stories.383ee9ff.iframe.bundle.js} +2 -2
- package/demo/docs/view-form-index-stories.383ee9ff.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-index-stories.383ee9ff.iframe.bundle.js.gz +0 -0
- package/demo/{view-form-usecases-stories.ef2c7b78.iframe.bundle.js → docs/view-form-usecases-stories.eb6a11d9.iframe.bundle.js} +2 -2
- package/demo/docs/view-form-usecases-stories.eb6a11d9.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-usecases-stories.eb6a11d9.iframe.bundle.js.gz +0 -0
- package/demo/{view-live-message-index-stories.e31751a5.iframe.bundle.js → docs/view-live-message-index-stories.f037b663.iframe.bundle.js} +2 -2
- package/demo/docs/view-live-message-index-stories.f037b663.iframe.bundle.js.br +0 -0
- package/demo/docs/view-live-message-index-stories.f037b663.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-modals-error-index-stories.306ad423.iframe.bundle.js → view-modals-error-index-stories.4f24a714.iframe.bundle.js} +2 -2
- package/demo/docs/view-modals-error-index-stories.4f24a714.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-error-index-stories.4f24a714.iframe.bundle.js.gz +0 -0
- package/demo/{view-modals-navigation-prompt-index-stories.31c33722.iframe.bundle.js → docs/view-modals-navigation-prompt-index-stories.f4404235.iframe.bundle.js} +4 -4
- package/demo/docs/view-modals-navigation-prompt-index-stories.f4404235.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.f4404235.iframe.bundle.js.gz +0 -0
- package/demo/{view-modals-session-expiry-index-stories.10053489.iframe.bundle.js → docs/view-modals-session-expiry-index-stories.b309326b.iframe.bundle.js} +2 -2
- package/demo/docs/view-modals-session-expiry-index-stories.b309326b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.b309326b.iframe.bundle.js.gz +0 -0
- package/demo/{view-session-timeout-index-stories.25a09617.iframe.bundle.js → docs/view-session-timeout-index-stories.05ce854e.iframe.bundle.js} +3 -3
- package/demo/docs/view-session-timeout-index-stories.05ce854e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-session-timeout-index-stories.05ce854e.iframe.bundle.js.gz +0 -0
- package/demo/docs/{view-wait-message-index-stories.61ce8b51.iframe.bundle.js → view-wait-message-index-stories.34230db5.iframe.bundle.js} +2 -2
- package/demo/docs/view-wait-message-index-stories.34230db5.iframe.bundle.js.br +0 -0
- package/demo/docs/view-wait-message-index-stories.34230db5.iframe.bundle.js.gz +0 -0
- package/demo/iframe.html +1 -1
- package/demo/index.html +1 -1
- package/demo/{main.0f994da1.iframe.bundle.js → main.703b0e4c.iframe.bundle.js} +4 -4
- package/demo/main.703b0e4c.iframe.bundle.js.br +0 -0
- package/demo/main.703b0e4c.iframe.bundle.js.gz +0 -0
- package/demo/{main.6450959ebac74d911d3f.manager.bundle.js → main.f4b9fb997236ae69d894.manager.bundle.js} +1 -1
- package/demo/main.f4b9fb997236ae69d894.manager.bundle.js.br +0 -0
- package/demo/main.f4b9fb997236ae69d894.manager.bundle.js.gz +0 -0
- package/demo/project.json +1 -1
- package/demo/{runtime~main.6976fccef9edfb129ee7.manager.bundle.js → runtime~main.41c05f1a4dd142df8426.manager.bundle.js} +2 -2
- package/demo/runtime~main.41c05f1a4dd142df8426.manager.bundle.js.br +0 -0
- package/demo/runtime~main.41c05f1a4dd142df8426.manager.bundle.js.gz +0 -0
- package/demo/{runtime~main.b28bcbad.iframe.bundle.js → runtime~main.ee3c81f5.iframe.bundle.js} +2 -2
- package/demo/runtime~main.ee3c81f5.iframe.bundle.js.br +0 -0
- package/demo/runtime~main.ee3c81f5.iframe.bundle.js.gz +0 -0
- package/demo/{view-breakpoint-index-stories.8f518b10.iframe.bundle.js → view-breakpoint-index-stories.5dff17f1.iframe.bundle.js} +2 -2
- package/demo/view-breakpoint-index-stories.5dff17f1.iframe.bundle.js.br +0 -0
- package/demo/view-breakpoint-index-stories.5dff17f1.iframe.bundle.js.gz +0 -0
- package/demo/{view-error-toast-index-stories.64643a70.iframe.bundle.js → view-error-toast-index-stories.6204699b.iframe.bundle.js} +2 -2
- package/demo/view-error-toast-index-stories.6204699b.iframe.bundle.js.br +0 -0
- package/demo/view-error-toast-index-stories.6204699b.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-autocomplete-advanced-autocomplete-stories.ef85085f.iframe.bundle.js → view-fields-autocomplete-advanced-autocomplete-stories.fafbe577.iframe.bundle.js} +2 -2
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.fafbe577.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.fafbe577.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.dfb773e7.iframe.bundle.js → view-fields-autocomplete-async-suggestions-autocomplete-stories.2cf49c6c.iframe.bundle.js} +2 -2
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.2cf49c6c.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.2cf49c6c.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-autocomplete-index-stories.f4fea07e.iframe.bundle.js → view-fields-autocomplete-index-stories.f500e5d3.iframe.bundle.js} +2 -2
- package/demo/view-fields-autocomplete-index-stories.f500e5d3.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-index-stories.f500e5d3.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-check-box-index-stories.3a5eb11a.iframe.bundle.js → view-fields-check-box-index-stories.77f53e30.iframe.bundle.js} +2 -2
- package/demo/view-fields-check-box-index-stories.77f53e30.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-index-stories.77f53e30.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-check-box-set-value-stories.e8105174.iframe.bundle.js → view-fields-check-box-set-value-stories.4e73e032.iframe.bundle.js} +2 -2
- package/demo/view-fields-check-box-set-value-stories.4e73e032.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-set-value-stories.4e73e032.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-combo-box-index-stories.a207489d.iframe.bundle.js → view-fields-combo-box-index-stories.aa9a3542.iframe.bundle.js} +2 -2
- package/demo/view-fields-combo-box-index-stories.aa9a3542.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-index-stories.aa9a3542.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-combo-box-v3-index-stories.19281504.iframe.bundle.js → view-fields-combo-box-v3-index-stories.b5db9b36.iframe.bundle.js} +2 -2
- package/demo/view-fields-combo-box-v3-index-stories.b5db9b36.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.b5db9b36.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-date-input-index-stories.5063ba77.iframe.bundle.js → view-fields-date-input-index-stories.1473fa71.iframe.bundle.js} +2 -2
- package/demo/view-fields-date-input-index-stories.1473fa71.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-input-index-stories.1473fa71.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-date-picker-index-stories.ac0fb680.iframe.bundle.js → view-fields-date-picker-index-stories.d76930ad.iframe.bundle.js} +2 -2
- package/demo/view-fields-date-picker-index-stories.d76930ad.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-picker-index-stories.d76930ad.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-date-range-picker-index-stories.23084f04.iframe.bundle.js → view-fields-date-range-picker-index-stories.0047537a.iframe.bundle.js} +2 -2
- package/demo/view-fields-date-range-picker-index-stories.0047537a.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-range-picker-index-stories.0047537a.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-date-time-picker-index-stories.d92c2486.iframe.bundle.js → view-fields-date-time-picker-index-stories.2fb5dffc.iframe.bundle.js} +2 -2
- package/demo/view-fields-date-time-picker-index-stories.2fb5dffc.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-time-picker-index-stories.2fb5dffc.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-form-item-layout-index-stories.7a98de5e.iframe.bundle.js → view-fields-form-item-layout-index-stories.166f1345.iframe.bundle.js} +2 -2
- package/demo/view-fields-form-item-layout-index-stories.166f1345.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-item-layout-index-stories.166f1345.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-form-layout-block-item-index-stories.9c6e182c.iframe.bundle.js → view-fields-form-layout-block-item-index-stories.82956d3c.iframe.bundle.js} +2 -2
- package/demo/view-fields-form-layout-block-item-index-stories.82956d3c.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.82956d3c.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-input-mask-index-stories.135e1ef4.iframe.bundle.js → view-fields-input-mask-index-stories.891b9c76.iframe.bundle.js} +2 -2
- package/demo/view-fields-input-mask-index-stories.891b9c76.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-mask-index-stories.891b9c76.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-input-text-index-stories.f085f65c.iframe.bundle.js → view-fields-input-text-index-stories.a4286e37.iframe.bundle.js} +2 -2
- package/demo/view-fields-input-text-index-stories.a4286e37.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-text-index-stories.a4286e37.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-large-text-box-index-stories.784c9a4b.iframe.bundle.js → view-fields-large-text-box-index-stories.92b3314f.iframe.bundle.js} +2 -2
- package/demo/view-fields-large-text-box-index-stories.92b3314f.iframe.bundle.js.br +0 -0
- package/demo/view-fields-large-text-box-index-stories.92b3314f.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-masked-input-text-with-money-mask-stories.75b87fb6.iframe.bundle.js → view-fields-masked-input-text-with-money-mask-stories.e5aa7816.iframe.bundle.js} +2 -2
- package/demo/view-fields-masked-input-text-with-money-mask-stories.e5aa7816.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.e5aa7816.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-masked-input-text-with-percentage-mask-stories.db6a6e62.iframe.bundle.js → view-fields-masked-input-text-with-percentage-mask-stories.6962c78e.iframe.bundle.js} +2 -2
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.6962c78e.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.6962c78e.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-radio-group-index-stories.a8f89e3b.iframe.bundle.js → view-fields-radio-group-index-stories.1a80d0c3.iframe.bundle.js} +2 -2
- package/demo/view-fields-radio-group-index-stories.1a80d0c3.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-group-index-stories.1a80d0c3.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-fields-radio-index-stories.72df37a1.iframe.bundle.js → view-fields-radio-index-stories.a41adf66.iframe.bundle.js} +2 -2
- package/demo/view-fields-radio-index-stories.a41adf66.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-index-stories.a41adf66.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-radio-set-value-stories.1cac7153.iframe.bundle.js → view-fields-radio-set-value-stories.4a652afe.iframe.bundle.js} +2 -2
- package/demo/view-fields-radio-set-value-stories.4a652afe.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-set-value-stories.4a652afe.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-text-box-index-stories.2211d4d4.iframe.bundle.js → view-fields-text-box-index-stories.a053521b.iframe.bundle.js} +2 -2
- package/demo/view-fields-text-box-index-stories.a053521b.iframe.bundle.js.br +0 -0
- package/demo/view-fields-text-box-index-stories.a053521b.iframe.bundle.js.gz +0 -0
- package/demo/{view-fields-toggle-index-stories.c19001c4.iframe.bundle.js → view-fields-toggle-index-stories.9f3dbb39.iframe.bundle.js} +2 -2
- package/demo/view-fields-toggle-index-stories.9f3dbb39.iframe.bundle.js.br +0 -0
- package/demo/view-fields-toggle-index-stories.9f3dbb39.iframe.bundle.js.gz +0 -0
- package/demo/{view-form-index-stories.a942b09c.iframe.bundle.js → view-form-index-stories.383ee9ff.iframe.bundle.js} +2 -2
- package/demo/view-form-index-stories.383ee9ff.iframe.bundle.js.br +0 -0
- package/demo/view-form-index-stories.383ee9ff.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-form-usecases-stories.ef2c7b78.iframe.bundle.js → view-form-usecases-stories.eb6a11d9.iframe.bundle.js} +2 -2
- package/demo/view-form-usecases-stories.eb6a11d9.iframe.bundle.js.br +0 -0
- package/demo/view-form-usecases-stories.eb6a11d9.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-live-message-index-stories.e31751a5.iframe.bundle.js → view-live-message-index-stories.f037b663.iframe.bundle.js} +2 -2
- package/demo/view-live-message-index-stories.f037b663.iframe.bundle.js.br +0 -0
- package/demo/view-live-message-index-stories.f037b663.iframe.bundle.js.gz +0 -0
- package/demo/{view-modals-error-index-stories.306ad423.iframe.bundle.js → view-modals-error-index-stories.4f24a714.iframe.bundle.js} +2 -2
- package/demo/view-modals-error-index-stories.4f24a714.iframe.bundle.js.br +0 -0
- package/demo/view-modals-error-index-stories.4f24a714.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-modals-navigation-prompt-index-stories.31c33722.iframe.bundle.js → view-modals-navigation-prompt-index-stories.f4404235.iframe.bundle.js} +4 -4
- package/demo/view-modals-navigation-prompt-index-stories.f4404235.iframe.bundle.js.br +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.f4404235.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js → view-modals-session-expiry-index-stories.b309326b.iframe.bundle.js} +2 -2
- package/demo/view-modals-session-expiry-index-stories.b309326b.iframe.bundle.js.br +0 -0
- package/demo/view-modals-session-expiry-index-stories.b309326b.iframe.bundle.js.gz +0 -0
- package/demo/{docs/view-session-timeout-index-stories.25a09617.iframe.bundle.js → view-session-timeout-index-stories.05ce854e.iframe.bundle.js} +3 -3
- package/demo/view-session-timeout-index-stories.05ce854e.iframe.bundle.js.br +0 -0
- package/demo/view-session-timeout-index-stories.05ce854e.iframe.bundle.js.gz +0 -0
- package/demo/{view-wait-message-index-stories.61ce8b51.iframe.bundle.js → view-wait-message-index-stories.34230db5.iframe.bundle.js} +2 -2
- package/demo/view-wait-message-index-stories.34230db5.iframe.bundle.js.br +0 -0
- package/demo/view-wait-message-index-stories.34230db5.iframe.bundle.js.gz +0 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -29
- package/demo/1450.a57843c9.iframe.bundle.js +0 -233
- package/demo/1450.a57843c9.iframe.bundle.js.br +0 -0
- package/demo/1450.a57843c9.iframe.bundle.js.gz +0 -0
- package/demo/2461.5db49d71.iframe.bundle.js +0 -2
- package/demo/2461.5db49d71.iframe.bundle.js.br +0 -0
- package/demo/2461.5db49d71.iframe.bundle.js.gz +0 -0
- package/demo/3171.0b966f32.iframe.bundle.js +0 -184
- package/demo/3171.0b966f32.iframe.bundle.js.br +0 -0
- package/demo/3171.0b966f32.iframe.bundle.js.gz +0 -0
- package/demo/329.fc5b8f2721c79670e561.manager.bundle.js.br +0 -0
- package/demo/329.fc5b8f2721c79670e561.manager.bundle.js.gz +0 -0
- package/demo/5360.812d97e2.iframe.bundle.js.br +0 -0
- package/demo/5360.812d97e2.iframe.bundle.js.gz +0 -0
- package/demo/721.595f1410.iframe.bundle.js.br +0 -0
- package/demo/7443.6a92dca4.iframe.bundle.js.br +0 -0
- package/demo/8690.7dab3f85.iframe.bundle.js.br +0 -0
- package/demo/8690.7dab3f85.iframe.bundle.js.gz +0 -0
- package/demo/docs/1450.a57843c9.iframe.bundle.js +0 -233
- package/demo/docs/1450.a57843c9.iframe.bundle.js.br +0 -0
- package/demo/docs/1450.a57843c9.iframe.bundle.js.gz +0 -0
- package/demo/docs/2461.5db49d71.iframe.bundle.js +0 -2
- package/demo/docs/2461.5db49d71.iframe.bundle.js.br +0 -0
- package/demo/docs/2461.5db49d71.iframe.bundle.js.gz +0 -0
- package/demo/docs/3171.0b966f32.iframe.bundle.js +0 -184
- package/demo/docs/3171.0b966f32.iframe.bundle.js.br +0 -0
- package/demo/docs/3171.0b966f32.iframe.bundle.js.gz +0 -0
- package/demo/docs/329.fc5b8f2721c79670e561.manager.bundle.js.br +0 -0
- package/demo/docs/329.fc5b8f2721c79670e561.manager.bundle.js.gz +0 -0
- package/demo/docs/5360.812d97e2.iframe.bundle.js.br +0 -0
- package/demo/docs/5360.812d97e2.iframe.bundle.js.gz +0 -0
- package/demo/docs/721.595f1410.iframe.bundle.js.br +0 -0
- package/demo/docs/7443.6a92dca4.iframe.bundle.js.br +0 -0
- package/demo/docs/8690.7dab3f85.iframe.bundle.js.br +0 -0
- package/demo/docs/8690.7dab3f85.iframe.bundle.js.gz +0 -0
- package/demo/docs/main.0f994da1.iframe.bundle.js.br +0 -0
- package/demo/docs/main.0f994da1.iframe.bundle.js.gz +0 -0
- package/demo/docs/main.6450959ebac74d911d3f.manager.bundle.js.br +0 -0
- package/demo/docs/main.6450959ebac74d911d3f.manager.bundle.js.gz +0 -0
- package/demo/docs/runtime~main.6976fccef9edfb129ee7.manager.bundle.js.br +0 -0
- package/demo/docs/runtime~main.6976fccef9edfb129ee7.manager.bundle.js.gz +0 -0
- package/demo/docs/runtime~main.b28bcbad.iframe.bundle.js.br +0 -0
- package/demo/docs/runtime~main.b28bcbad.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-breakpoint-index-stories.8f518b10.iframe.bundle.js.br +0 -0
- package/demo/docs/view-breakpoint-index-stories.8f518b10.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-error-toast-index-stories.64643a70.iframe.bundle.js.br +0 -0
- package/demo/docs/view-error-toast-index-stories.64643a70.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.ef85085f.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.ef85085f.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.dfb773e7.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.dfb773e7.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.f4fea07e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.f4fea07e.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-check-box-index-stories.3a5eb11a.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-index-stories.3a5eb11a.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.e8105174.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.e8105174.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.a207489d.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.a207489d.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.19281504.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.19281504.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-input-index-stories.5063ba77.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-input-index-stories.5063ba77.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.ac0fb680.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.ac0fb680.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.23084f04.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.23084f04.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.d92c2486.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.d92c2486.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.7a98de5e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.7a98de5e.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.9c6e182c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.9c6e182c.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.135e1ef4.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.135e1ef4.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-input-text-index-stories.f085f65c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-text-index-stories.f085f65c.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.784c9a4b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.784c9a4b.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.75b87fb6.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.75b87fb6.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.db6a6e62.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.db6a6e62.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.a8f89e3b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.a8f89e3b.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-index-stories.72df37a1.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-index-stories.72df37a1.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.1cac7153.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.1cac7153.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-text-box-index-stories.2211d4d4.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-text-box-index-stories.2211d4d4.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-toggle-index-stories.c19001c4.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-toggle-index-stories.c19001c4.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-form-index-stories.a942b09c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-index-stories.a942b09c.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-form-usecases-stories.ef2c7b78.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-usecases-stories.ef2c7b78.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-live-message-index-stories.e31751a5.iframe.bundle.js.br +0 -0
- package/demo/docs/view-live-message-index-stories.e31751a5.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-error-index-stories.306ad423.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-error-index-stories.306ad423.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.31c33722.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.31c33722.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-session-timeout-index-stories.25a09617.iframe.bundle.js.br +0 -0
- package/demo/docs/view-session-timeout-index-stories.25a09617.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-wait-message-index-stories.61ce8b51.iframe.bundle.js.br +0 -0
- package/demo/docs/view-wait-message-index-stories.61ce8b51.iframe.bundle.js.gz +0 -0
- package/demo/main.0f994da1.iframe.bundle.js.br +0 -0
- package/demo/main.0f994da1.iframe.bundle.js.gz +0 -0
- package/demo/main.6450959ebac74d911d3f.manager.bundle.js.br +0 -0
- package/demo/main.6450959ebac74d911d3f.manager.bundle.js.gz +0 -0
- package/demo/runtime~main.6976fccef9edfb129ee7.manager.bundle.js.br +0 -0
- package/demo/runtime~main.6976fccef9edfb129ee7.manager.bundle.js.gz +0 -0
- package/demo/runtime~main.b28bcbad.iframe.bundle.js.br +0 -0
- package/demo/runtime~main.b28bcbad.iframe.bundle.js.gz +0 -0
- package/demo/view-breakpoint-index-stories.8f518b10.iframe.bundle.js.br +0 -0
- package/demo/view-breakpoint-index-stories.8f518b10.iframe.bundle.js.gz +0 -0
- package/demo/view-error-toast-index-stories.64643a70.iframe.bundle.js.br +0 -0
- package/demo/view-error-toast-index-stories.64643a70.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.ef85085f.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.ef85085f.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.dfb773e7.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.dfb773e7.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-index-stories.f4fea07e.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-index-stories.f4fea07e.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-check-box-index-stories.3a5eb11a.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-index-stories.3a5eb11a.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-check-box-set-value-stories.e8105174.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-set-value-stories.e8105174.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-combo-box-index-stories.a207489d.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-index-stories.a207489d.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.19281504.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.19281504.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-input-index-stories.5063ba77.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-input-index-stories.5063ba77.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-picker-index-stories.ac0fb680.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-picker-index-stories.ac0fb680.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-range-picker-index-stories.23084f04.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-range-picker-index-stories.23084f04.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-time-picker-index-stories.d92c2486.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-time-picker-index-stories.d92c2486.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-form-item-layout-index-stories.7a98de5e.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-item-layout-index-stories.7a98de5e.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.9c6e182c.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.9c6e182c.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-input-mask-index-stories.135e1ef4.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-mask-index-stories.135e1ef4.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-input-text-index-stories.f085f65c.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-text-index-stories.f085f65c.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-large-text-box-index-stories.784c9a4b.iframe.bundle.js.br +0 -0
- package/demo/view-fields-large-text-box-index-stories.784c9a4b.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.75b87fb6.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.75b87fb6.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.db6a6e62.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.db6a6e62.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-group-index-stories.a8f89e3b.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-group-index-stories.a8f89e3b.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-index-stories.72df37a1.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-index-stories.72df37a1.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-set-value-stories.1cac7153.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-set-value-stories.1cac7153.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-text-box-index-stories.2211d4d4.iframe.bundle.js.br +0 -0
- package/demo/view-fields-text-box-index-stories.2211d4d4.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-toggle-index-stories.c19001c4.iframe.bundle.js.br +0 -0
- package/demo/view-fields-toggle-index-stories.c19001c4.iframe.bundle.js.gz +0 -0
- package/demo/view-form-index-stories.a942b09c.iframe.bundle.js.br +0 -0
- package/demo/view-form-index-stories.a942b09c.iframe.bundle.js.gz +0 -0
- package/demo/view-form-usecases-stories.ef2c7b78.iframe.bundle.js.br +0 -0
- package/demo/view-form-usecases-stories.ef2c7b78.iframe.bundle.js.gz +0 -0
- package/demo/view-live-message-index-stories.e31751a5.iframe.bundle.js.br +0 -0
- package/demo/view-live-message-index-stories.e31751a5.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-error-index-stories.306ad423.iframe.bundle.js.br +0 -0
- package/demo/view-modals-error-index-stories.306ad423.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.31c33722.iframe.bundle.js.br +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.31c33722.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.br +0 -0
- package/demo/view-modals-session-expiry-index-stories.10053489.iframe.bundle.js.gz +0 -0
- package/demo/view-session-timeout-index-stories.25a09617.iframe.bundle.js.br +0 -0
- package/demo/view-session-timeout-index-stories.25a09617.iframe.bundle.js.gz +0 -0
- package/demo/view-wait-message-index-stories.61ce8b51.iframe.bundle.js.br +0 -0
- package/demo/view-wait-message-index-stories.61ce8b51.iframe.bundle.js.gz +0 -0
- /package/build/docs/assets/js/{main.2633031c.js.LICENSE.txt → main.7d445fc8.js.LICENSE.txt} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
${({applyAriaDisabled:e})=>e&&"cursor: not-allowed"}
|
|
77
|
-
`,Kt=()=>{const{props:e,props:{disabled:t,applyAriaDisabled:n,readOnly:o,isMenuOpenableWithReadOnly:s},menuState:i,instanceUid:r}=(0,a.useContext)(ie),{getOwnerProps:c,getOwnerPropsArguments:u}=(0,z.j)(e),p=(0,a.useCallback)(m=>{m.preventDefault()},[]);return(0,d.jsx)(Cn,{getOwnerProps:c,getOwnerPropsArguments:u,onClick:p,"data-testid":te.DROPDOWN,"aria-controls":`combo-listbox-${r}`,"aria-labelledby":"combo-label",disabled:t,"aria-disabled":o&&!s,"aria-expanded":i,"aria-haspopup":"listbox","aria-hidden":!0,buttonType:"icon",tabIndex:-1,size:"s",applyAriaDisabled:n,children:(0,d.jsx)(vt.A,{size:"s"})})},Q="DSPill",Pt=Q,ce={WRAPPER:"wrapper",PILL_GROUP:"pill-group",PILL_BUTTON:"pill-button",PILL_MENU_BUTTON:"menu-button-chevron"},mo={PILL_REMOVABLE_ICON:"ds-pill-close-icon",PILL_DROPDOWN_CHEVRON:"ds-pill-dropdown-chevron",PILL_CLEAR_ICON:"ds-pill-clear-icon",PILL_INPUT:"ds-pill-input"},Pe={...(0,de.lD)(Q,ce),PILL_BUTTON:"ds-button",...mo};var Ds=E("./node_modules/.pnpm/@elliemae+ds-legacy-common@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-common/dist/esm/Input/DSInput.js"),_e=E("./node_modules/.pnpm/@elliemae+ds-props-helpers@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-props-helpers/dist/esm/propsPerSlot/getPropsPerSlotPropTypes.js"),ho=E("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV3/react-desc-prop-types.js");const Fe="DSFlyoutmenu",uc=
|
|
77
|
+
`,Kt=()=>{const{props:e,props:{disabled:t,applyAriaDisabled:n,readOnly:o,isMenuOpenableWithReadOnly:s},menuState:i,instanceUid:r}=(0,a.useContext)(ie),{getOwnerProps:c,getOwnerPropsArguments:u}=(0,z.j)(e),p=(0,a.useCallback)(m=>{m.preventDefault()},[]);return(0,d.jsx)(Cn,{getOwnerProps:c,getOwnerPropsArguments:u,onClick:p,"data-testid":te.DROPDOWN,"aria-controls":`combo-listbox-${r}`,"aria-labelledby":"combo-label",disabled:t,"aria-disabled":o&&!s,"aria-expanded":i,"aria-haspopup":"listbox","aria-hidden":!0,buttonType:"icon",tabIndex:-1,size:"s",applyAriaDisabled:n,children:(0,d.jsx)(vt.A,{size:"s"})})},Q="DSPill",Pt=Q,ce={WRAPPER:"wrapper",PILL_GROUP:"pill-group",PILL_BUTTON:"pill-button",PILL_MENU_BUTTON:"menu-button-chevron"},mo={PILL_REMOVABLE_ICON:"ds-pill-close-icon",PILL_DROPDOWN_CHEVRON:"ds-pill-dropdown-chevron",PILL_CLEAR_ICON:"ds-pill-clear-icon",PILL_INPUT:"ds-pill-input"},Pe={...(0,de.lD)(Q,ce),PILL_BUTTON:"ds-button",...mo};var Ds=E("./node_modules/.pnpm/@elliemae+ds-legacy-common@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-common/dist/esm/Input/DSInput.js"),_e=E("./node_modules/.pnpm/@elliemae+ds-props-helpers@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-props-helpers/dist/esm/propsPerSlot/getPropsPerSlotPropTypes.js"),ho=E("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV3/react-desc-prop-types.js");const Fe="DSFlyoutmenu",uc=null,et={FLOATING_WRAPPER:"floating-wrapper",ROOT:"root",LIST_WRAPPER:"list-wrapper"},pc={...(0,de.lD)(Fe,et),FLOATING_WRAPPER:"ds-floating-wrapper-root"},tt="DSMenuitemrendererfactory",mc=null,Ct={ROOT:"root",GROUP_LABEL_WRAPPER:"group-label-wrapper",LABEL_WITH_LEFT_DEC_WRAPPER:"group-label-wrapper"},hc=(0,de.lD)(tt,Ct),Et="DSMenubutton",Oe={SEPARATOR:"separator",ACTIVABLE_ITEM:"activable-item",ACTIVABLE_WITH_SUBMENU_ITEM:"activable-with-submenu-item",SKELETON_ITEM:"skeleton-item",MULTIPLE_SELECT_ITEM:"multiple-select-item",MULTIPLE_SELECT_WITH_SUBMENU_ITEM:"multiple-select-with-submenu-item",WITH_SUBMENU_ITEM:"with-submenu-item",SINGLE_SELECT_ITEM:"single-select-item",SINGLE_SELECT_WITH_SUBMENU_ITEM:"single-select-with-submenu-item",GROUP:"group"},Yt={ROOT:"root"},Ms=(0,de.lD)(Et,Yt),{ROOT:Rs,..._s}=et,{ROOT:ks,...Ns}=Ct,fc={...Yt,FLYOUT_MENU_ROOT:Rs,MENU_ITEM_RENDERER_FACTORY_ROOT:ks,..._s,...Ns},Xt={onClickOutside:()=>null,onOptionClick:()=>null,openedSubmenus:{},onSubmenuToggle:()=>null,isLoading:!1,isSkeleton:!1,maxHeight:"256px"},fo={onItemSelected:l.A.func.description("IoC function in charge of handling the selection of a menu item, required if the menu has selectionable items").signature(`((
|
|
78
78
|
newSelection: DSMenuButtonT.PseudoFocusableMenuNodes[],
|
|
79
79
|
metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },
|
|
80
80
|
) => void)`),onActivateItem:l.A.func.description("IoC function in charge of handling the activation (NOT INVOKED ON SELECTION) of a menu item, required if the menu has activable items").signature(`((
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
) => void)`),onOpen:l.A.func.description("function triggered when the widget opens the menu").signature("(()=>void)"),onClose:l.A.func.description("function triggered when the widget closes the menu").signature("(()=>void)"),onDisplayedSubmenuChange:l.A.func.description("function triggered when the widget's closes or opens a submenu").signature(`((
|
|
84
84
|
newOpenedItems: DSMenuButtonT.PseudoFocusableMenuNodes[],
|
|
85
85
|
metainfo: { itemNode: DSMenuButtonT.PseudoFocusableMenuNodes; event?: React.SyntheticEvent },
|
|
86
|
-
) => void)`)},En={ItemRenderer:l.A.node.description("Component to be used to render the items"),onClickOutside:l.A.func.description("Callback executed when you click outside the dropdown menu, or press the Esc key").defaultValue(()=>null),onOptionClick:l.A.func.description("Callback triggered when an item is clicked or pressed. We provide the next selected options, the clicked option and the event, in that order").defaultValue(()=>null),openedSubmenus:l.A.object.description("Object with the ids of the submenus as keys, and booleans as keys. Represents the state of the current opened submenus").defaultValue({}),onSubmenuToggle:l.A.func.description("Callback triggered when a submenu is opened or closed.").signature("((nextOpenedSubmenus: Record<string, boolean>, submenu: Item, e: React.MouseEvent | React.KeyboardEvent) => void)").defaultValue(()=>null),isLoading:l.A.bool.description("Whether the flyout menu should render the loading indicator").defaultValue(!1),isSkeleton:l.A.bool.description("Whether the flyout menu should render the skeleton").defaultValue(!1),maxHeight:l.A.oneOfType([l.A.string,l.A.number]).description("The maximum height of the flyout menu").defaultValue("256px"),floatingConfig:l.A.object.description("Configuration object for the floating context (placement, placementOrderPreference, customOffset, animationDuration, withoutPortal, withoutAnimation, portalDOMContainer)")},Dn={options:l.A.oneOfType([l.A.array,l.A.object]).description("Array of options to display in the menu or a DSTree node to build branches from").isRequired,selectedItems:l.A.arrayOf(l.A.object).description("an array of tree-nodes or tree-items that have to be marked as selected in the GUI, required if the menu has selectionable items"),...ho.t,...fo,...En,...(0,_e.Y)(Et,Yt)},Ls=Dn,js={innerRef:()=>null,disabled:!1,applyAriaDisabled:!1,readOnly:!1,applyTooltipOverflowWrap:!1,hasError:!1,ariaLabel:"",size:"m",labelTruncated:!1,tooltipValue:"",iconLeft:null,IconLeft:null,IconRight:null,iconRight:null,onRemove:()=>null,inputPlaceholder:"",onInputChange:()=>null,onInputClear:()=>null,inputWidth:72,inputRender:Ds._C,dropdownProps:{options:[],isSkeleton:!1,isOpened:!1},onDropdownClick:()=>null,tabIndex:0},Ws=l.A.oneOf(["label","labelOnly","value","input","dropdown","removable","readonly","menubutton"]),{children:bc,...Fs}=Dn,bo={...(0,_e.Y)(Q,ce),...Z.P,...oe.w,label:l.A.string.description("Label to show in the pill").isRequired,type:Ws.description("The type of pill that you want to render").isRequired,innerRef:l.A.oneOfType([l.A.object,l.A.func]).description("Reference to the focuseable internal element of each pill (remove icons, inputs, dropdown, etc.)").defaultValue(()=>null),size:l.A.oneOf(["s","m"]).description("Vertical pill size").defaultValue("m"),ariaLabel:l.A.string.description("Aria label for the pill. If not provided we will use the label").defaultValue(""),labelTruncated:l.A.bool.description("Whether to truncate the pills label").defaultValue(!1),tooltipValue:l.A.string.description("String to show as a tooltip in the value pill").defaultValue(""),iconLeft:l.A.node.description("A component to show int the left of a readonly pill").defaultValue(null).deprecated({version:"4.x",message:"Use IconLeft instead for accessibility reasons"}),IconLeft:l.A.node.description("A component to show int the left of a label pill").defaultValue(null),IconRight:l.A.node.description("A component to show in the right of a readonly pill").defaultValue(null),iconRight:l.A.node.description("A component to show in the right of a readonly pill").defaultValue(null).deprecated({version:"4.x",message:"Use IconRight instead for accessibility reasons"}),onRemove:l.A.func.description("Callback triggered when removing a pill with the close icon").defaultValue(()=>null),inputPlaceholder:l.A.string.description("Placeholder for the input pill").defaultValue(""),onInputChange:l.A.func.description("Callback triggered when user provides input to the input pill").defaultValue(()=>null),onInputClear:l.A.func.description("Callback triggered when the user clears an input pill").defaultValue(()=>null),inputWidth:l.A.number.description("Width in pixels for the input tag in the input pill").defaultValue(150),inputId:l.A.string.description("ID for the input pill").defaultValue(void 0),disabled:l.A.bool.description("Whether the pill should be disabled. Only for value and removable pill").defaultValue(!1),applyAriaDisabled:l.A.bool.description("Whether to apply disabled styling and announce as disabled in SR. CAN STILL RECEIVE FOCUS. PREVENTS ONLY MAIN ACTION.").defaultValue(!1),readOnly:l.A.bool.description("Whether the Pill is in readonly state or not.").defaultValue(!1),applyTooltipOverflowWrap:l.A.bool.description("when a tooltip is present, the tooltip text may be too long to fit in the pill. If true, the tooltip will wrap to the next line using overflow-wrap").defaultValue(!1),hasError:l.A.bool.description("Whether the pill should be in an error state. Only for input pill").defaultValue(!1),inputRender:l.A.func.description("Custom render function for the input pill").defaultValue("DSInput"),menuButtonProps:l.A.shape(Fs).description("Props for the menu button pill").isRequiredIf(e=>e.type==="menubutton"),trailingComma:l.A.bool.description("Whether the disabled/aria-disabled/readonly pill should include a trailing comma or not"),dropdownProps:l.A.object.description("Properties that will be used for the dropdown-menu. For accessibility reasons this is deprecated in favour of menuButtonProps").defaultValue({}).deprecated({version:"25.3"}),onDropdownClick:l.A.func.description("Callback when dropdown button is clicked or pressed. For accessibility reasons this is deprecated in favour of menuButtonProps").defaultValue(()=>null).deprecated({version:"25.3"})},$s=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["action"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,disabled:l.A.bool,render:l.A.func}),Bs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["single"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,render:l.A.func}),Vs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["checkbox"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,render:l.A.func}),Hs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["submenu"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,rightAddon:l.A.oneOf(["chevron","ellipsis"]),options:l.A.array,minWidth:l.A.any,maxHeight:l.A.any,render:l.A.func}),Us=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["singleWithSubmenu"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,rightAddon:l.A.oneOf(["chevron","ellipsis"]),options:l.A.array,minWidth:l.A.any,maxHeight:l.A.any,render:l.A.func}),zs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["separator"]),label:l.A.string.isRequired,render:l.A.func}),Gs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["section"]),label:l.A.string.isRequired,render:l.A.func}),Ks=l.A.oneOfType([$s,Bs,Vs,Hs,Us,zs,Gs]),go={options:l.A.arrayOf(Ks).description("The array of option for the menu").omitValidation().isRequired,isOpened:l.A.bool.description("Whether the dropdown menu is opened or not").isRequired,onClickOutside:l.A.func.description("Callback executed when you click outside the dropdown menu, or press the Esc key").defaultValue(()=>null),selectedOptions:l.A.object.description("Object with the ids of the options as keys, and booleans as keys. Represents the state of the current selection in the dropdown menu").defaultValue({}),onOptionClick:l.A.func.description("Callback triggered when an item is clicked or pressed. We provide the next selected options, the clicked option and the event, in that order").defaultValue(()=>null),openedSubmenus:l.A.object.description("Object with the ids of the submenus as keys, and booleans as keys. Represents the state of the current opened submenus").defaultValue({}),onSubmenuToggle:l.A.func.description("Callback triggered when a submenu is opened or closed. We provide the next opened submenus, the clicked one and the event, in that order").defaultValue(()=>null),startPlacementPreference:l.A.string.description("Where to place the popper for the dropdown menu").defaultValue("bottom-start"),placementOrderPreference:l.A.arrayOf(l.A.string).description("Placement priorities for the dropdown menu").defaultValue(["bottom-start","top-start","right-start","right-end","left-start","left-end"]),customOffset:l.A.arrayOf(l.A.number).description("Custom offset for the dropdown menu").defaultValue([0,4]),wrapperStyles:l.A.object.description("Styling for the dropdown menu wrapper").defaultValue({}),isLoading:l.A.bool.description("Whether the dropdown menu should render the loading indicator").defaultValue(!1),zIndex:l.A.number.description("ZIndex for the popper").defaultValue(10),HeaderComp:l.A.func.description("Component to render as a header for the dropdown menu").defaultValue(void 0),actionRef:l.A.object.description("Reference where all the exposed action callbacks will be exposed"),minWidth:l.A.any.description("Minimum width for the dropdown menu").defaultValue(void 0),maxHeight:l.A.any.description("Maximum height for the dropdown menu").defaultValue(void 0),...Z.P,onKeyDown:l.A.func.description("Callback executed when a key is pressed").defaultValue(()=>null),onMouseEnter:l.A.func.description("Callback executed when the mouse enter the dropdown menu").defaultValue(()=>null),onMouseLeave:l.A.func.description("Callback executed when the mouse leaves the dropdown menu").defaultValue(()=>null),isSkeleton:l.A.bool.description("Whether the dropdown menu should render the skeleton").defaultValue(!1)},Ys={onClickOutside:()=>null,onKeyDown:()=>null,onMouseEnter:()=>null,onMouseLeave:()=>null,selectedOptions:{},onOptionClick:()=>null,openedSubmenus:{},onSubmenuToggle:()=>null,isLoading:!1,hasInput:!1,inputValue:"",inputPlaceholder:"Hint text",onInputChange:()=>null,startPlacementPreference:"bottom-start",placementOrderPreference:["bottom-start","top-start","right-start","right-end","left-start","left-end"],customOffset:[0,4],wrapperStyles:{},actionRef:{current:{}},as:"div",isSkeleton:!1},Ce=(0,a.createContext)(void 0);var Xs=E("./node_modules/.pnpm/react-virtual@2.10.4/node_modules/react-virtual/dist/react-virtual.production.min.js");const qs=()=>{const[e,t]=(0,a.useState)(null),n=(0,a.useRef)(null),o=(0,a.useRef)(null);return{triggerReferenceElement:e,setTriggerReferenceElement:t,listboxReference:n,inputReference:o}},nt=e=>!["section","separator"].includes(e.type)&&!("disabled"in e&&e.disabled),$e="DSDropdownmenu",ot={ROOT:"root",LOADING_WRAPPER:"loading-wrapper",LISTBOX_WRAPPER:"listbox-wrapper",HEADER_WRAPPER:"header-wrapper",OPTION_LIST_WRAPPER:"option-list-wrapper",EMPTY_STATE_WRAPPER:"empty-state-wrapper"},yc={TOP_START:"top-start",TOP:"top",TOP_END:"top-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",BOTTOM_END:"bottom-end",BOTTOM:"bottom",BOTTOM_START:"bottom-start",LEFT_END:"left-end",LEFT:"left",LEFT_START:"left-start"},Qs=()=>32,Zs=(e,t)=>{const n=(0,q.b)(e,Ys);(0,K.D)(n,go,$e);const{options:o,inputValue:s,isOpened:i,actionRef:r}=n,{triggerReferenceElement:c,setTriggerReferenceElement:u,listboxReference:p,inputReference:m}=qs(),[h,f]=(0,a.useState)(o.find(nt)?.dsId??"");(0,a.useEffect)(()=>{i&&f(o.find(nt)?.dsId??"")},[i,s]);const b=(0,Xs.useVirtual)({size:o.length,parentRef:p,overscan:15,paddingStart:0,estimateSize:Qs}),{scrollToIndex:S}=b,y=(0,a.useCallback)((I,A)=>{S(I,A),window.requestAnimationFrame(()=>{S(I,A)})},[S]),g=(0,a.useCallback)((I,A={align:"center"})=>{const O=o.findIndex(v=>v.dsId===I);y(O,A)},[o,y]);return(0,a.useEffect)(()=>{r?.current&&(r.current={setActiveDescendant:f,scrollOptionIntoView:g,scrollToIndex:y})},[r,g,y]),(0,a.useMemo)(()=>({props:n,virtualListHelpers:b,triggerReferenceElement:c,setTriggerReferenceElement:u,listboxReference:p,inputReference:m,activeDescendant:h,setActiveDescendant:f,scrollOptionIntoView:g,DSDropdownMenuV2:t}),[n,b,c,u,p,m,h,g,t])};var Js=E("./node_modules/.pnpm/@elliemae+ds-popperjs@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-popperjs/dist/esm/index.js");const Dt={TRIGGER_WRAPPER:"dropdown-menu-trigger-wrapper",LISTBOX:"dropdown-menu-listbox",MENU_WRAPPER:"dropdown-menu-wrapper",LOADING:"dropdown-menu-loading-wrapper",OPTION:"ds-menu-item"};var H=E("./node_modules/.pnpm/@elliemae+ds-grid@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-grid/dist/esm/Grid.js"),ei=E("./node_modules/.pnpm/@elliemae+ds-system@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-system/dist/esm/styled/system-utilities/space.js"),yo=E("./node_modules/.pnpm/@elliemae+ds-system@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-system/dist/esm/styled/system-utilities/sizing.js"),xo=E("./node_modules/.pnpm/@xstyled+system@3.8.3/node_modules/@xstyled/system/dist/index.mjs");const ti=(0,C.I)("div",{name:$e,slot:ot.ROOT})`
|
|
86
|
+
) => void)`)},En={ItemRenderer:l.A.node.description("Component to be used to render the items"),onClickOutside:l.A.func.description("Callback executed when you click outside the dropdown menu, or press the Esc key").defaultValue(()=>null),onOptionClick:l.A.func.description("Callback triggered when an item is clicked or pressed. We provide the next selected options, the clicked option and the event, in that order").defaultValue(()=>null),openedSubmenus:l.A.object.description("Object with the ids of the submenus as keys, and booleans as keys. Represents the state of the current opened submenus").defaultValue({}),onSubmenuToggle:l.A.func.description("Callback triggered when a submenu is opened or closed.").signature("((nextOpenedSubmenus: Record<string, boolean>, submenu: Item, e: React.MouseEvent | React.KeyboardEvent) => void)").defaultValue(()=>null),isLoading:l.A.bool.description("Whether the flyout menu should render the loading indicator").defaultValue(!1),isSkeleton:l.A.bool.description("Whether the flyout menu should render the skeleton").defaultValue(!1),maxHeight:l.A.oneOfType([l.A.string,l.A.number]).description("The maximum height of the flyout menu").defaultValue("256px"),floatingConfig:l.A.object.description("Configuration object for the floating context (placement, placementOrderPreference, customOffset, animationDuration, withoutPortal, withoutAnimation, portalDOMContainer)")},Dn={options:l.A.oneOfType([l.A.array,l.A.object]).description("Array of options to display in the menu or a DSTree node to build branches from").isRequired,selectedItems:l.A.arrayOf(l.A.object).description("an array of tree-nodes or tree-items that have to be marked as selected in the GUI, required if the menu has selectionable items"),...ho.t,...fo,...En,...(0,_e.Y)(Et,Yt)},Ls=Dn,js={innerRef:()=>null,disabled:!1,applyAriaDisabled:!1,readOnly:!1,applyTooltipOverflowWrap:!1,hasError:!1,ariaLabel:"",size:"m",labelTruncated:!1,tooltipValue:"",iconLeft:null,IconLeft:null,IconRight:null,iconRight:null,onRemove:()=>null,inputPlaceholder:"",onInputChange:()=>null,onInputClear:()=>null,inputWidth:72,inputRender:Ds._C,dropdownProps:{options:[],isSkeleton:!1,isOpened:!1},onDropdownClick:()=>null,tabIndex:0},Ws=l.A.oneOf(["label","labelOnly","value","input","dropdown","removable","readonly","menubutton"]),{children:bc,...Fs}=Dn,bo={...(0,_e.Y)(Q,ce),...Z.P,...oe.w,label:l.A.string.description("Label to show in the pill").isRequired,type:Ws.description("The type of pill that you want to render").isRequired,innerRef:l.A.oneOfType([l.A.object,l.A.func]).description("Reference to the focuseable internal element of each pill (remove icons, inputs, dropdown, etc.)").defaultValue(()=>null),size:l.A.oneOf(["s","m"]).description("Vertical pill size").defaultValue("m"),ariaLabel:l.A.string.description("Aria label for the pill. If not provided we will use the label").defaultValue(""),labelTruncated:l.A.bool.description("Whether to truncate the pills label").defaultValue(!1),tooltipValue:l.A.string.description("String to show as a tooltip in the value pill").defaultValue(""),iconLeft:l.A.node.description("A component to show int the left of a readonly pill").defaultValue(null).deprecated({version:"4.x",message:"Use IconLeft instead for accessibility reasons"}),IconLeft:l.A.node.description("A component to show int the left of a label pill").defaultValue(null),IconRight:l.A.node.description("A component to show in the right of a readonly pill").defaultValue(null),iconRight:l.A.node.description("A component to show in the right of a readonly pill").defaultValue(null).deprecated({version:"4.x",message:"Use IconRight instead for accessibility reasons"}),onRemove:l.A.func.description("Callback triggered when removing a pill with the close icon").defaultValue(()=>null),inputPlaceholder:l.A.string.description("Placeholder for the input pill").defaultValue(""),onInputChange:l.A.func.description("Callback triggered when user provides input to the input pill").defaultValue(()=>null),onInputClear:l.A.func.description("Callback triggered when the user clears an input pill").defaultValue(()=>null),inputWidth:l.A.number.description("Width in pixels for the input tag in the input pill").defaultValue(150),inputId:l.A.string.description("ID for the input pill").defaultValue(void 0),disabled:l.A.bool.description("Whether the pill should be disabled. Only for value and removable pill").defaultValue(!1),applyAriaDisabled:l.A.bool.description("Whether to apply disabled styling and announce as disabled in SR. CAN STILL RECEIVE FOCUS. PREVENTS ONLY MAIN ACTION.").defaultValue(!1),readOnly:l.A.bool.description("Whether the Pill is in readonly state or not.").defaultValue(!1),applyTooltipOverflowWrap:l.A.bool.description("when a tooltip is present, the tooltip text may be too long to fit in the pill. If true, the tooltip will wrap to the next line using overflow-wrap").defaultValue(!1),hasError:l.A.bool.description("Whether the pill should be in an error state. Only for input pill").defaultValue(!1),inputRender:l.A.func.description("Custom render function for the input pill").defaultValue("DSInput"),menuButtonProps:l.A.shape(Fs).description("Props for the menu button pill").isRequiredIf(e=>e.type==="menubutton"),trailingComma:l.A.bool.description("Whether the disabled/aria-disabled/readonly pill should include a trailing comma or not"),dropdownProps:l.A.object.description("Properties that will be used for the dropdown-menu. For accessibility reasons this is deprecated in favour of menuButtonProps").defaultValue({}).deprecated({version:"25.3"}),onDropdownClick:l.A.func.description("Callback when dropdown button is clicked or pressed. For accessibility reasons this is deprecated in favour of menuButtonProps").defaultValue(()=>null).deprecated({version:"25.3"})},$s=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["action"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,disabled:l.A.bool,render:l.A.func}),Bs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["single"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,render:l.A.func}),Vs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["checkbox"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,render:l.A.func}),Hs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["submenu"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,rightAddon:l.A.oneOf(["chevron","ellipsis"]),options:l.A.array,minWidth:l.A.any,maxHeight:l.A.any,render:l.A.func}),Us=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["singleWithSubmenu"]),label:l.A.string.isRequired,secondaryLabel:l.A.string,value:l.A.any.isRequired,disabled:l.A.bool,rightAddon:l.A.oneOf(["chevron","ellipsis"]),options:l.A.array,minWidth:l.A.any,maxHeight:l.A.any,render:l.A.func}),zs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["separator"]),label:l.A.string.isRequired,render:l.A.func}),Gs=l.A.shape({dsId:l.A.string.isRequired,type:l.A.oneOf(["section"]),label:l.A.string.isRequired,render:l.A.func}),Ks=l.A.oneOfType([$s,Bs,Vs,Hs,Us,zs,Gs]),go={options:l.A.arrayOf(Ks).description("The array of option for the menu").omitValidation().isRequired,isOpened:l.A.bool.description("Whether the dropdown menu is opened or not").isRequired,onClickOutside:l.A.func.description("Callback executed when you click outside the dropdown menu, or press the Esc key").defaultValue(()=>null),selectedOptions:l.A.object.description("Object with the ids of the options as keys, and booleans as keys. Represents the state of the current selection in the dropdown menu").defaultValue({}),onOptionClick:l.A.func.description("Callback triggered when an item is clicked or pressed. We provide the next selected options, the clicked option and the event, in that order").defaultValue(()=>null),openedSubmenus:l.A.object.description("Object with the ids of the submenus as keys, and booleans as keys. Represents the state of the current opened submenus").defaultValue({}),onSubmenuToggle:l.A.func.description("Callback triggered when a submenu is opened or closed. We provide the next opened submenus, the clicked one and the event, in that order").defaultValue(()=>null),startPlacementPreference:l.A.string.description("Where to place the popper for the dropdown menu").defaultValue("bottom-start"),placementOrderPreference:l.A.arrayOf(l.A.string).description("Placement priorities for the dropdown menu").defaultValue(["bottom-start","top-start","right-start","right-end","left-start","left-end"]),customOffset:l.A.arrayOf(l.A.number).description("Custom offset for the dropdown menu").defaultValue([0,4]),wrapperStyles:l.A.object.description("Styling for the dropdown menu wrapper").defaultValue({}),isLoading:l.A.bool.description("Whether the dropdown menu should render the loading indicator").defaultValue(!1),zIndex:l.A.number.description("ZIndex for the popper").defaultValue(10),HeaderComp:l.A.func.description("Component to render as a header for the dropdown menu").defaultValue(void 0),actionRef:l.A.object.description("Reference where all the exposed action callbacks will be exposed"),minWidth:l.A.any.description("Minimum width for the dropdown menu").defaultValue(void 0),maxHeight:l.A.any.description("Maximum height for the dropdown menu").defaultValue(void 0),...Z.P,onKeyDown:l.A.func.description("Callback executed when a key is pressed").defaultValue(()=>null),onMouseEnter:l.A.func.description("Callback executed when the mouse enter the dropdown menu").defaultValue(()=>null),onMouseLeave:l.A.func.description("Callback executed when the mouse leaves the dropdown menu").defaultValue(()=>null),isSkeleton:l.A.bool.description("Whether the dropdown menu should render the skeleton").defaultValue(!1)},Ys={onClickOutside:()=>null,onKeyDown:()=>null,onMouseEnter:()=>null,onMouseLeave:()=>null,selectedOptions:{},onOptionClick:()=>null,openedSubmenus:{},onSubmenuToggle:()=>null,isLoading:!1,hasInput:!1,inputValue:"",inputPlaceholder:"Hint text",onInputChange:()=>null,startPlacementPreference:"bottom-start",placementOrderPreference:["bottom-start","top-start","right-start","right-end","left-start","left-end"],customOffset:[0,4],wrapperStyles:{},actionRef:{current:{}},as:"div",isSkeleton:!1},Ce=(0,a.createContext)(void 0);var Xs=E("./node_modules/.pnpm/react-virtual@2.10.4/node_modules/react-virtual/dist/react-virtual.production.min.js");const qs=()=>{const[e,t]=(0,a.useState)(null),n=(0,a.useRef)(null),o=(0,a.useRef)(null);return{triggerReferenceElement:e,setTriggerReferenceElement:t,listboxReference:n,inputReference:o}},nt=e=>!["section","separator"].includes(e.type)&&!("disabled"in e&&e.disabled),$e="DSDropdownmenu",ot={ROOT:"root",LOADING_WRAPPER:"loading-wrapper",LISTBOX_WRAPPER:"listbox-wrapper",HEADER_WRAPPER:"header-wrapper",OPTION_LIST_WRAPPER:"option-list-wrapper",EMPTY_STATE_WRAPPER:"empty-state-wrapper"},yc=null,Qs=()=>32,Zs=(e,t)=>{const n=(0,q.b)(e,Ys);(0,K.D)(n,go,$e);const{options:o,inputValue:s,isOpened:i,actionRef:r}=n,{triggerReferenceElement:c,setTriggerReferenceElement:u,listboxReference:p,inputReference:m}=qs(),[h,f]=(0,a.useState)(o.find(nt)?.dsId??"");(0,a.useEffect)(()=>{i&&f(o.find(nt)?.dsId??"")},[i,s]);const b=(0,Xs.useVirtual)({size:o.length,parentRef:p,overscan:15,paddingStart:0,estimateSize:Qs}),{scrollToIndex:S}=b,y=(0,a.useCallback)((I,A)=>{S(I,A),window.requestAnimationFrame(()=>{S(I,A)})},[S]),g=(0,a.useCallback)((I,A={align:"center"})=>{const O=o.findIndex(v=>v.dsId===I);y(O,A)},[o,y]);return(0,a.useEffect)(()=>{r?.current&&(r.current={setActiveDescendant:f,scrollOptionIntoView:g,scrollToIndex:y})},[r,g,y]),(0,a.useMemo)(()=>({props:n,virtualListHelpers:b,triggerReferenceElement:c,setTriggerReferenceElement:u,listboxReference:p,inputReference:m,activeDescendant:h,setActiveDescendant:f,scrollOptionIntoView:g,DSDropdownMenuV2:t}),[n,b,c,u,p,m,h,g,t])};var Js=E("./node_modules/.pnpm/@elliemae+ds-popperjs@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-popperjs/dist/esm/index.js");const Dt={TRIGGER_WRAPPER:"dropdown-menu-trigger-wrapper",LISTBOX:"dropdown-menu-listbox",MENU_WRAPPER:"dropdown-menu-wrapper",LOADING:"dropdown-menu-loading-wrapper",OPTION:"ds-menu-item"};var H=E("./node_modules/.pnpm/@elliemae+ds-grid@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-grid/dist/esm/Grid.js"),ei=E("./node_modules/.pnpm/@elliemae+ds-system@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-system/dist/esm/styled/system-utilities/space.js"),yo=E("./node_modules/.pnpm/@elliemae+ds-system@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1/node_modules/@elliemae/ds-system/dist/esm/styled/system-utilities/sizing.js"),xo=E("./node_modules/.pnpm/@xstyled+system@3.8.3/node_modules/@xstyled/system/dist/index.mjs");const ti=(0,C.I)("div",{name:$e,slot:ot.ROOT})`
|
|
87
87
|
width: fit-content;
|
|
88
88
|
${ei.x}
|
|
89
89
|
${yo.v}
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
${Nn.L1}
|
|
181
181
|
`,dr={variant:"text"},Ro={...Z.P,...oe.w,variant:l.A.oneOf(["circular","rectangular","text"]).description("Variant for the skeleton").defaultValue("text")},cr=e=>{const t=(0,q.b)(e,dr);(0,K.D)(e,Ro,Mo);const n=(0,V.u)(t),o=(0,X.d)(t);return{propsWithDefault:t,globalAttributes:n,xstyledProps:o,withChildren:!!t.children}},st=e=>{const{propsWithDefault:{variant:t},withChildren:n,xstyledProps:o,globalAttributes:s}=cr(e);return(0,d.jsx)(ar,{...s,...o,variant:t,withChildren:n,as:"span"})};st.displayName="DSSkeleton";const ur=(0,D.A)(st);ur.propTypes=Ro;const pr={wrapperStyles:{}},_o={...Z.P,...oe.w,dsId:l.A.string.description('This is used as "id" in the DOM, you need this to be able to make this A11Y accessible.').isRequired,isActive:l.A.bool.description("Whether the menu item is active."),wrapperStyles:l.A.object.description("The styles to apply to the wrapper element, if any.")},mr=_o,hr=`${Be.R}Skeleton`,fr=(e,t)=>{(0,K.D)(e,t,hr)},br=e=>{const t=(0,q.b)(e,pr);fr(t,_o);const n=(0,V.u)(t),o=(0,X.d)(t);return a.useMemo(()=>({propsWithDefault:t,globalProps:n,xstyledProps:o}),[t,n,o])},gr=["16px","auto"],kt=e=>{const{propsWithDefault:t,globalProps:n,xstyledProps:o}=br(e),{wrapperStyles:s,isActive:i,dsId:r}=t,{getOwnerProps:c}=(0,z.j)(e);return(0,d.jsx)(N.mO,{id:r,"data-type":"skeleton","data-testid":"ds-skeleton-menu-item",role:"presentation",style:s,isActive:i,getOwnerProps:c,...n,...o,children:(0,d.jsxs)(N.iB,{cols:gr,minHeight:"16px",gutter:"xxs",alignItems:"center",children:[(0,d.jsx)(st,{variant:"rectangular",width:"20px"}),(0,d.jsx)(st,{variant:"rectangular",width:"100%"})]})})};kt.displayName="DSMenuItemSkeleton";const yr=(0,D.A)(kt);yr.propTypes=mr;const it=e=>{const t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e},[e]),t},xr=e=>{const{props:{options:t,selectedOptions:n,onOptionClick:o,openedSubmenus:s,onSubmenuToggle:i,onMouseEnter:r,onMouseLeave:c,onMouseDown:u},listboxReference:p,inputReference:m}=(0,a.useContext)(Ce),h=it(e),f=it(t),b=it(s),S=it(i),y=it(o),g=it(n),x=(0,a.useCallback)(v=>{if(v.stopPropagation(),v.preventDefault(),h?.current?.type==="singleWithSubmenu"){const{applyAriaDisabled:M}=h.current;if(M)return}const _={...g.current};_[h.current.dsId]=!g.current[h.current.dsId],!h?.current?.disabled&&(y?.current?.(_,h.current,v),v.type==="click"&&h?.current?.onClick?.(v))},[y,h,g]),I=(0,a.useCallback)(v=>{S?.current?.(Mn(f.current,{...b?.current||{},[h.current.dsId]:!0},h.current),h.current,v)},[S,b,h,f]),A=(0,a.useCallback)(v=>{S?.current?.(Mn(f.current,{...b?.current||{},[h.current.dsId]:!1},h.current),h.current,v),m.current?m.current.focus():p.current?.focus()},[m,p,S,b,h,f]),O=(0,a.useCallback)(v=>{v.code==="ArrowLeft"&&(A(v),v.preventDefault())},[A]);return(0,a.useMemo)(()=>({onClick:x,onSubmenuOpen:I,onSubmenuClose:A,onDropdownKeyDown:O,onMouseEnter:r,onMouseLeave:c,onMouseDown:u}),[x,I,A,O,r,c,u])},Ir=["action","single","checkbox","submenu","separator","section","singleWithSubmenu","skeleton"],Sr=e=>{const{type:t}=e;switch(t){case"action":return(0,d.jsx)(ui.$,{...e});case"single":return(0,d.jsx)(Mt,{...e});case"checkbox":return(0,d.jsx)(Rt,{...e});case"submenu":return(0,d.jsx)(Rn,{...e});case"separator":return(0,d.jsx)(_t,{...e});case"section":return(0,d.jsx)(_n,{...e});case"singleWithSubmenu":return(0,d.jsx)(kn,{...e});case"skeleton":return(0,d.jsx)(kt,{...e});default:const n=t;throw new Error(`Provided option type (${t}) is not valid. Please provide one of: ${Ir.join(", ")}`)}},Ar=({option:e,style:t,innerRef:n,optionsShouldHavePadding:o})=>{const{props:{selectedOptions:s,onOptionClick:i,openedSubmenus:r,onSubmenuToggle:c,onClickOutside:u},activeDescendant:p,DSDropdownMenuV2:m}=(0,a.useContext)(Ce),{onDropdownKeyDown:h,...f}=xr(e),b=(0,a.useMemo)(()=>({...f,innerRef:n,isActive:p===e.dsId,isSelected:s?!!s[e.dsId]:!1,isSubmenuOpened:r?!!r[e.dsId]:!1,tabIndex:-1,optionsShouldHavePadding:o,wrapperStyles:t,Dropdown:m,dropdownProps:{...e,options:e.type==="submenu"||e.type==="singleWithSubmenu"?e.options:[],onClickOutside:u,onOptionClick:i,onSubmenuToggle:c,selectedOptions:s,openedSubmenus:r,onKeyDown:h}}),[f,n,p,e,s,r,o,t,m,u,i,c,h]);return(0,d.jsx)(Sr,{...e,...b})},Or=()=>(0,d.jsx)(H.Ay,{children:Array(5).fill(0).map((t,n)=>(0,d.jsx)(kt,{dsId:`${n}-skeleton`},`prefilled-${n}-skeleton`))}),Tr=()=>{const{listboxReference:e,inputReference:t}=(0,a.useContext)(Ce);(0,a.useLayoutEffect)(()=>{requestAnimationFrame(()=>{t.current?t.current.focus():e.current&&e.current.focus()})},[t,e])},wr=()=>{const{props:{options:e}}=(0,a.useContext)(Ce);return{optionsShouldHavePadding:(0,a.useMemo)(()=>e.some(n=>["single","checkbox","singleWithSubmenu"].includes(n.type)),[e])}},vr=()=>{const e=(0,a.useContext)(Ce),{triggerReferenceElement:t,props:{isSkeleton:n,options:o,hasInput:s,inputValue:i,onInputChange:r,HeaderComp:c,minWidth:u,maxHeight:p},activeDescendant:m,listboxReference:h,inputReference:f,virtualListHelpers:{totalSize:b,virtualItems:S}}=e;Tr();const{onKeyDown:y,onMouseEnter:g,onMouseLeave:x}=di(),{optionsShouldHavePadding:I}=wr(),A=(0,a.useMemo)(()=>u!==void 0?u:Math.max(t?.offsetWidth??0,162),[t?.offsetWidth,u]);return(0,a.useMemo)(()=>S.length===0?(0,d.jsx)(ci,{minWidth:A,maxHeight:p||400}):(0,d.jsx)(ni,{minWidth:A,maxHeight:p||400,innerRef:h,tabIndex:0,"data-testid":Dt.MENU_WRAPPER,onKeyDown:y,onMouseEnter:g,onMouseLeave:x,hasHeader:!!c,children:n?(0,d.jsx)(Or,{}):(0,d.jsxs)(d.Fragment,{children:[c&&(0,d.jsx)(li,{alignItems:"center",children:(0,d.jsx)(c,{ctx:e})}),s&&(0,d.jsx)(ri,{hasHeader:!!c,children:(0,d.jsx)(ai.B,{value:i,onChange:r,innerRef:f})},"dropdown-listbox-input-wrapper"),(0,d.jsx)(oi,{"aria-activedescendant":m,"data-testid":Dt.LISTBOX,role:"listbox","aria-label":"List of options",style:{height:b||16},children:S.map(O=>(0,d.jsx)(Ar,{option:o[O.index],style:{position:"absolute",top:O.start,left:0,width:"100%"},innerRef:O.measureRef,optionsShouldHavePadding:I},`dropdown-listbox-option-${o[O.index].dsId}`))})]})}),[c,m,e,s,f,i,n,h,A,r,y,g,x,o,I,b,p,S])};var ko=E("./node_modules/.pnpm/@elliemae+ds-legacy-classnames@1.0.16_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-classnames/dist/esm/classNameManager.js");const No=({componentName:e,version:t})=>{(0,a.useEffect)(()=>{console.warn(`Warning: ${e}:: this component will be deprecated in version: ${t}.`)},[e,t])};var Y=E("./node_modules/.pnpm/@elliemae+ds-props-helpers@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1_styled-components@5.3.11/node_modules/@elliemae/ds-props-helpers/dist/esm/propTypes/PropTypes.js"),Lo=E("./node_modules/.pnpm/@elliemae+ds-props-helpers@3.61.4_@elliemae+pui-theme@2.13.0_lodash-es@4.18.1_styled-components@5.3.11/node_modules/@elliemae/ds-props-helpers/dist/esm/propTypes/describe.js"),jo=E("./node_modules/.pnpm/@elliemae+ds-legacy-classnames@1.0.16_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-classnames/dist/esm/aggregatedClasses.js"),Ln=E("./node_modules/.pnpm/@elliemae+ds-legacy-popper@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-popper/dist/esm/positions.js"),jn=E("./node_modules/.pnpm/@elliemae+ds-legacy-popper@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-popper/dist/esm/interaction.js"),Pr=E("./node_modules/.pnpm/@elliemae+ds-legacy-popper@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-popper/dist/esm/DSPopper.js"),en=E("./node_modules/.pnpm/@elliemae+ds-legacy-shared@1.0.16_@elliemae+pui-theme@2.13.0_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-shared/dist/esm/constants.js");const Wn={TOOLTIP:"tooltip",TOOLBAR:"toolbar"},Cr=(e,t,n=[])=>{if(!e)return null;const o=typeof e!="function"&&e.props?Array.isArray(e.props.children)?e.props.children:[e.props.children]:null;return typeof e=="function"?(0,d.jsx)(e,{...t,children:n}):a.cloneElement(e,{...e.props,...t},o?[...o,...n]:[...n])},Fn="tooltip",Er=(0,jo.A)("div")(Fn,null,{propsToRemoveFromFinalElement:["isHovered","isDragged"]}),Dr=(0,jo.A)("span")(Fn,"text",{propsToRemoveFromFinalElement:["isHovered","isDragged"]}),$n=({containerProps:e={},innerRef:t,placement:n=Ln.y.TOP,title:o="",delayClose:s=en.$Z,delayOpen:i=en.xp,interactionType:r=jn.N.HOVER,triggerComponent:c,className:u="",isOpen:p=void 0,onOpen:m=()=>null,tooltipType:h=Wn.TOOLTIP,showArrow:f=!0,zIndex:b,...S})=>{No({componentName:"ds-tooltip",version:"TBD Date: 2023 Q3"});const{cssClassName:y}=(0,ko.Ay)(Fn);let g=o;return typeof o=="string"&&(g=(0,d.jsx)(Dr,{children:o})),(0,d.jsx)(Pr.Cj,{blockName:y,contentComponent:(0,d.jsx)(Er,{...e,...S,className:`tooltip-container--${h} ${u}`,innerRef:t,children:g}),delayClose:s,delayOpen:i,interactionType:r,isOpen:p,onOpen:m,placement:n,showArrow:h===Wn.TOOLTIP?f:!1,triggerComponent:Cr(c,{}),zIndex:b,wrapExtraComponent:void 0,children:void 0,renderReference:void 0,referenceNode:void 0})},Mr={containerProps:Y.A.object.description("Set of Properties attached to the main container"),placement:Y.A.oneOf(Ln.X).description("Tooltip position").defaultValue(Ln.y.TOP),title:Y.A.oneOfType([Y.A.string,Y.A.element]).description("Tooltip content").isRequired,delayClose:Y.A.string.description("Delay to close the tooltip").defaultValue(en.$Z),delayOpen:Y.A.string.description("Delay to open the tooltip ").defaultValue(en.xp),interactionType:Y.A.oneOf(jn.y).description("A type indicating how to open/close the tooltip").defaultValue(jn.N.HOVER),triggerComponent:Y.A.element.description(`The component that will open/close the tooltip.
|
|
182
182
|
Cannot be used with disabled elements.
|
|
183
|
-
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled`).isRequired,isOpen:Y.A.bool.description("Whether the tooltip is visible or not").defaultValue(void 0),onOpen:Y.A.func.description("Handler when the tooltip opens"),springAnimationComponent:Y.A.element.description("Spring animation component"),showArrow:Y.A.bool.description("Whether to show an arrow or not").defaultValue(!0),className:Y.A.string.description("css class"),tooltipType:Y.A.oneOf(["tooltip","toolbar"]).description("Type of tooltip").defaultValue(Wn.TOOLTIP),zIndex:Y.A.number.description("z-index value assigned to the tooltip").defaultValue(void 0),innerRef:Y.A.oneOfType([Y.A.func,Y.A.object]).description("Ref to the tooltip container element")};$n.displayName="DSTooltip";const Rr=(0,Lo.A)($n);Rr.propTypes=Mr;var Ec=null;const{classNameBlock:_r,classNameElement:Nt}=(0,ko.Ay)("circular-progress-indicator"),tn=({size:e,showLabel:t,showTooltip:n,waiting:o,loading:s})=>{No({componentName:"ds-circular-progress-indicator",version:"TBD Date: 2023 Q3"});const i="Waiting...",r="Loading...",c=o&&!s?i:r;let u,p,m,h,f="0.7",b="4.8",S="45 170",y="127.5";switch(e.toUpperCase()){case"XS":u=8,p=12,m=10,h=3,f="1",S="46 174",y="133";break;case"S":u=16,p=12,m=8,h=3,f="1",S="46 174",y="133";break;case"M":u=24,p=12,m=7,h=3,f="1",b="5.5",S="46 174",y="133";break;case"L":u=32,p=13,m=6,h=3,b="5";break;case"XL":u=48,p=14,m=5,h=1;break;case"XXL":u=56,p=16,m=4,h=1;break;case"XXXL":u=64,p=16,m=5,h=2;break;default:break}const g=(0,d.jsx)("p",{"data-testid":"circular-indicator-label",className:Nt("label"),style:{fontSize:`${p}px`},children:c}),x=v=>u<17||n?(0,d.jsx)($n,{containerProps:{id:"ds-circular-progress-indicator","data-testid":"circular-indicator-title"},interactionType:"hover",title:c,triggerComponent:v,placement:"bottom"}):v,I=(0,d.jsx)("circle",{className:Nt("track"),cx:"50%",cy:"50%",fill:"none",r:"28",strokeWidth:`${h}px`}),A=(0,d.jsx)("circle",{className:Nt("arc-gray"),stroke:"#E0E3E8",strokeDasharray:`${S}`,strokeDashoffset:`${y}`,cx:"50%",cy:"50%",fill:"none",r:"28",strokeWidth:`${h}px`}),O=(0,d.jsxs)("svg",{height:`${u}px`,version:"1.1",viewBox:"0 0 66 66",width:`${u}px`,"data-testid":"circular-indicator","aria-label":o&&!s?i:r,children:[(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{id:"grad1",x1:"0%",x2:"100%",y1:"100%",y2:"0%",children:[(0,d.jsx)("stop",{offset:"0%",style:{stopColor:"#E0E3E8",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"89%",style:{stopColor:"#5594e2",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"100%",style:{stopColor:"#5594e2",stopOpacity:1}})]}),(0,d.jsxs)("linearGradient",{id:"grad2",x1:"0%",x2:"100%",y1:"100%",y2:"0%",children:[(0,d.jsx)("stop",{offset:"0%",style:{stopColor:"#5594e2",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"11%",style:{stopColor:"#5594e2",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"100%",style:{stopColor:"#E0E3E8",stopOpacity:1}})]}),(0,d.jsx)("marker",{id:"inverseL",viewBox:"0 0 5 10",refX:"0.5",refY:`${b}`,markerUnits:"strokeWidth",markerWidth:"0.5",markerHeight:`${f}`,orient:"auto",children:(0,d.jsx)("path",{d:"M 0 0 L 6 0 A 5 5 0 0 0 6 10 L 0 10 z",fill:"#FFF"})}),(0,d.jsx)("marker",{id:"inverseR",viewBox:"0 0 5 10",refX:"0",refY:"5",markerUnits:"strokeWidth",markerWidth:"0.7",markerHeight:`${f}`,children:(0,d.jsx)("path",{d:"M 0 0 L 6 0 A 5 5 0 0 0 6 10 L 0 10 z",fill:"#FFF"})})]}),I,!o&&(0,d.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,d.jsx)("path",{className:Nt("arc-blue"),d:"M30,5 C17.536025,6 6,17.536027 5,31",stroke:"#5594e2",strokeWidth:`${m-.5}px`,strokeLinecap:"round","data-testid":"circular-indicator-blue-arc"}),(0,d.jsx)("path",{className:Nt("arc-white"),d:"M33,5 C17.536027,5 5,17.536027 5,33",stroke:"#FFF",strokeWidth:`${m+2}px`,markerStart:"url(#inverseR)",markerEnd:"url(#inverseL)"}),A]})]});return(0,d.jsxs)("div",{className:_r("wrapper"),role:"status","aria-hidden":o||s?"false":"true",children:[x(O),t&&g]})};tn.defaultProps={size:"m",showLabel:!1,showTooltip:!1,waiting:!1,loading:!1};const kr={size:Y.A.oneOf(["xs","s","m","l","xl","xxl","xxxl"]).description("Defines the size of the indicator").defaultValue("m"),showLabel:Y.A.bool.description("Wheter the indicator displays its state on a label or not").defaultValue(!1),showTooltip:Y.A.bool.description("Wheter the indicator displays its state on a tooltip or not").defaultValue(!1),waiting:Y.A.bool.description("Defines the state of the indicator as Waiting and only displays the gray track").defaultValue(!1),loading:Y.A.bool.description("Defines the state of the indicator as Loading and displays a blue spinner animation").defaultValue(!1)};tn.displayName="CircularProgressIndicator";const Nr=(0,Lo.A)(tn);Nr.propTypes=kr;var Lr=tn;const jr=()=>{const{props:{onClickOutside:e},triggerReferenceElement:t}=(0,a.useContext)(Ce),n=(0,a.useRef)(null);(0,a.useLayoutEffect)(()=>{n.current?.focus()},[n]);const o=(0,a.useCallback)(s=>{(s.code==="Escape"||s.code==="ArrowLeft")&&e(s)},[e]);return(0,d.jsx)(si,{minWidth:t?.offsetWidth??0,justifyContent:"center",alignItems:"center","data-testid":Dt.LOADING,tabIndex:0,role:"status",innerRef:n,"aria-busy":"true",onKeyDown:o,children:(0,d.jsx)(Lr,{size:"l"})})},Wr=()=>{const{props:e,triggerReferenceElement:t,setTriggerReferenceElement:n}=(0,a.useContext)(Ce),{children:o,isOpened:s,onClickOutside:i,startPlacementPreference:r,placementOrderPreference:c,customOffset:u,wrapperStyles:p,isLoading:m,zIndex:h,as:f}=e,{"data-popover-label":b,...S}=(0,V.u)(e),{minWidth:y,minHeight:g,...x}=(0,X.d)(e),I=A=>{[...document.body.querySelectorAll(`[data-testid="${Dt.MENU_WRAPPER}"]`)].every(v=>!v.contains(A.target))&&i(A)};return(0,d.jsxs)(ti,{"data-testid":`${Dt.TRIGGER_WRAPPER}`,innerRef:n,"aria-haspopup":"listbox",...p,...S,...x,as:f,children:[o,t&&(0,d.jsx)(Js.B2,{referenceElement:t,showPopover:s,withoutArrow:!0,withoutAnimation:!0,customOffset:u,onClickOutside:I,startPlacementPreference:r,placementOrderPreference:c,zIndex:h,"aria-label":b||"dropdown-menu popover",children:m?(0,d.jsx)(jr,{}):(0,d.jsx)(vr,{})})]})},nn=e=>{const t=Zs(e,nn);return(0,d.jsx)(Ce.Provider,{value:t,children:(0,d.jsx)(Wr,{})})};nn.displayName="DSDropdownMenuV2";const Fr=(0,D.A)(nn).description("Dropdown Menu");Fr.propTypes=go;const Wo="DSPillbutton",Bn={PILL_BUTTON:"pill-button"},Dc={...(0,de.lD)(Q,Bn),PILL_BUTTON:"ds-button"},Vn={type:"right",width:"21px",height:"21px"},Fo={...(0,_e.Y)(Q,Bn),...Z.P,...oe.w,type:l.A.oneOf(["only","left","right"]).description("The position in which this button will be placed. Only used for css styling internally").defaultValue("right"),width:l.A.string.description("Width of the button").defaultValue("100%"),height:l.A.string.description("Height of the button").defaultValue("100%"),innerRef:l.A.oneOfType([l.A.object,l.A.func]).description("Inner ref to button component."),"data-testid":l.A.string.description("root element data-testid"),applyAriaDisabled:l.A.bool.description("Whether to apply disabled styling and announce as disabled in SR. CAN STILL RECEIVE FOCUS. PREVENTS ONLY MAIN ACTION.").defaultValue(!1)},$r=(e,t)=>{(0,K.D)(e,t,Wo)},Br=e=>{const t=(0,q.b)(e,Vn);$r(t,Fo);const n=(0,X.d)(t),o=(0,z.j)(t);return a.useMemo(()=>({propsWithDefault:t,xstyledProps:n,ownerProps:o}),[t,n,o])};var $o=E("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV3/DSButtonV3.js");const be=e=>{const t=e;return typeof e=="object"&&e!==null&&typeof t.plainItem=="object"&&t.plainItem?.type!==void 0&&t.dsId!==void 0},Hn=e=>be(e)&&e.plainItem?.type===Oe.ACTIVABLE_ITEM,Bo=e=>be(e)&&e.plainItem?.type===Oe.SKELETON_ITEM,Un=e=>be(e)&&e.plainItem?.type===Oe.MULTIPLE_SELECT_ITEM,He=e=>be(e)&&e.plainItem?.type===Oe.MULTIPLE_SELECT_WITH_SUBMENU_ITEM,rt=e=>Un(e)||He(e),Vo=e=>be(e)&&e.plainItem?.type===Oe.SINGLE_SELECT_ITEM,on=e=>be(e)&&e.plainItem?.type===Oe.SINGLE_SELECT_WITH_SUBMENU_ITEM,sn=e=>Vo(e)||on(e),Lt=e=>rt(e)||sn(e),Rc=e=>e.flatten().filter(Lt),rn=e=>be(e)&&e.plainItem?.type===Oe.WITH_SUBMENU_ITEM,Ho=e=>on(e)||He(e),zn=e=>be(e)&&e.plainItem?.type===Oe.ACTIVABLE_WITH_SUBMENU_ITEM,Ee=e=>rn(e)||Ho(e)||zn(e),_c=e=>e.flatten().filter(Ee),lt=e=>Lt(e)||Hn(e)||Ee(e)||Bo(e),Vr=e=>e.flatten().filter(lt),Hr=e=>be(e)&&e.plainItem?.type===Oe.SEPARATOR,at=e=>be(e)&&e.plainItem?.type===Oe.GROUP,jt=e=>be(e)&&e.plainItem?.type==="ROOT_ITEM",Gn=e=>jt(e)||Ee(e)||at(e)||on(e)||He(e)||zn(e);var Kn=E("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/lodash.js");class ln{dsId;childIndex;depth;plainItem;plainChildren;parent;children;tree;_hash;constructor(t,{childIndex:n,depth:o,parent:s,tree:i}){this.dsId=i.getUniqueId(t),this.childIndex=n,this.depth=o,this.parent=s??null,this.tree=i,this._hash=0,this.children=[],this.plainChildren=[],(t.subitems??[]).forEach((c,u)=>{this.plainChildren.push(this.getCleanItem(c)),this.children.push(new ln(c,{childIndex:u,depth:o+1,parent:this,tree:i}))}),this.plainItem=this.getCleanItem(t)}fixChildIndexes=()=>{for(let t=0;t<this.children.length;t+=1)this.children[t].childIndex=t;this._hash+=1};getCleanItem=t=>{const{subitems:n,...o}=t;return(0,Kn.cloneDeep)(o)};get hash(){return this._hash}walk=t=>{if(t(this))for(const o of this.children)o.walk(t)};walkParents=t=>{t(this)&&this.parent&&this.parent.walkParents(t)};findNode=t=>{let n=null;return this.walk(o=>n?!1:(t(o)&&(n=o),!n)),n};findAllNodes=t=>{const n=[];return this.walk(o=>(t(o)&&n.push(o),!0)),n};flatten=()=>{const t=[];return this.walk(n=>(t.push(n),!0)),t};getPath=t=>{const n=[],o=this.tree.getNode(t);return o?(o.walkParents(s=>(n.push(s),s.dsId!==this.dsId)),n.reverse()):n};getPathIds=t=>this.getPath(t).map(n=>n.dsId);getJson=()=>({...this.plainItem,subitems:this.children?.map?.(t=>t.getJson())??void 0});addNode=t=>{const n=t.childIndex;if(n<0||n>this.children.length)throw new Error(`Invalid position ${n} for parent ${this.dsId} with item ${t.dsId}`);this.children.splice(n,0,t),this.fixChildIndexes(),t.walk(o=>(this.tree.addNodeToNodesDictionary(o),!0)),this._hash+=1};removeNode=()=>{if(!this.parent)throw new Error(`Cannot remove root node with id ${this.dsId}`);this.parent.children.splice(this.childIndex,1),this.parent.fixChildIndexes(),this.walk(t=>(this.tree.removeNodeFromNodesDictionary(t),!0)),this._hash+=1}}class Ur{root;_hash;nodes;getUniqueId;constructor(t,n){this.getUniqueId=n.getUniqueId,this.root=new ln(t,{childIndex:0,depth:0,tree:this}),this.nodes={},this._hash=0,this.root.walk(o=>(this.nodes[o.dsId]=o,!0))}addNodeToNodesDictionary(t){if(this.nodes[t.dsId])throw new Error(`DSTree: repeated dsId ${t.dsId}`);this.nodes[t.dsId]=t}removeNodeFromNodesDictionary(t){delete this.nodes[t.dsId]}get hash(){return this._hash}getRoot=()=>this.root;getNode=t=>this.nodes[t];getNodes=()=>this.nodes;walk=t=>{this.root.walk(t)};walkParents=t=>{this.root.walkParents(t)};findNode=t=>this.root.findNode(t);findAllNodes=t=>this.root.findAllNodes(t);flatten=()=>this.root.flatten();addNode=(t,n={})=>{const{position:o,parent:s,callback:i}=n,r=s||this.root,c=o??r.children.length,u=new ln(t,{childIndex:c,depth:r.depth+1,parent:r,tree:this});return this.getNode(r.dsId).addNode(u),this._hash+=1,i?.(u,this),u};removeNode=(t,n={})=>{const o=this.getNode(t);if(!o)throw new Error(`Node with id ${t} not found`);return o.removeNode(),this._hash+=1,n.callback?.(o,this),o};moveNode=(t,n={})=>{const o=this.removeNode(t),s=this.addNode(o.getJson(),n);return this._hash+=1,s};replaceNode=(t,n,o={})=>{const s=this.removeNode(t),i=this.addNode(n,{parent:s.parent,position:s.childIndex});return this._hash+=1,o.callback?.(i,this),i};getPath=t=>this.getRoot().getPath(t);getPathIds=t=>this.getRoot().getPathIds(t)}const Uo={dsId:l.A.oneOfType([l.A.string,l.A.number]).description("Id of the root item."),label:l.A.string.description("Item label."),"[key]":l.A.string.description("Any custom key you want to add to the item.")},zr={rootItem:l.A.shape({...Uo,subitems:l.A.arrayOf(l.A.shape(Uo)).description("Array of subitems. Each subitem can also have subitems.")}).description("First parameter.").isRequired,opts:l.A.shape({getUniqueId:l.A.func.signature("(item) => string | number").description("Callback to get the id of each item.").isRequired}).description("Second parameter.").isRequired},Gr={hash:l.A.number.description("Tree hash value."),getRoot:l.A.func.signature("() => rootItem").description("Callback to get the root item."),getNode:l.A.func.signature("(id: string | number) => item").description("Callback to get an item by id."),walk:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => void").description("Callback applied to each item to determine whether to continue walking or not."),walkParents:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => void").description("Callback applied to each item to determine whether to continue walking the item's parents or not."),findNode:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => FirstParameter | null").description("Callback to find an item that matches the condition."),findAllNodes:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => FirstParameter[]").description("Callback to find all the items that matches the condition."),flatten:l.A.func.signature("() => item[]").description("Returns an array of hte tree items."),addNode:l.A.func.signature("(item: FirstParameter, options?: AddOptions<FirstParameter> | undefined) => FirstParameter").description("Adds an item to the tree."),removeNode:l.A.func.signature("(id: string, options?: RemoveOptions<FirstParameter> | undefined) => FirstParameter").description("Removes an item from the tree."),moveNode:l.A.func.signature("(id: string, options?: MoveOptions<FirstParameter> | undefined) => FirstParameter").description("Move an item within the tree."),replaceNode:l.A.func.signature("id: string, item: FirstParameter, options?: MutateOptions<FirstParameter> | undefined) => FirstParameter").description("Replace a noe within the tree."),getPath:l.A.func.signature("(id: string | number) => FirstParameter[]").description("Get the path to an item given the item's id."),getPathIds:l.A.func.signature("(id: string | number) => (string | number)[]").description("Get the path ids to an item given the item's id.")},Yn=(e,t)=>{const n=(0,a.useMemo)(()=>new Ur(e,t),[t,e]),[o,s]=(0,a.useState)(n.hash),i=(0,a.useCallback)((p,m)=>{const h=(f,b)=>{m?.callback?.(f,b),s(b.hash)};return n.addNode(p,{...m,callback:h})},[n]),r=(0,a.useCallback)((p,m)=>{const h=(f,b)=>{m?.callback?.(f,b),s(b.hash)};return n.removeNode(p,{...m,callback:h})},[n]),c=(0,a.useCallback)((p,m)=>{const h=(f,b)=>{m?.callback?.(f,b),s(b.hash)};return n.moveNode(p,{...m,callback:h})},[n]),u=(0,a.useCallback)((p,m,h)=>{const f=(b,S)=>{h?.callback?.(b,S),s(S.hash)};return n.replaceNode(p,m,{...h,callback:f})},[n]);return{hash:o,getRoot:n.getRoot,getNode:n.getNode,walk:n.walk,walkParents:n.walkParents,findNode:n.findNode,findAllNodes:n.findAllNodes,flatten:n.flatten,addNode:i,removeNode:r,moveNode:c,replaceNode:u,getPath:n.getPath,getPathIds:n.getPathIds}};Yn.displayName="useDSTree";const zo=(0,D.A)(Yn);zo.propTypes=zr,zo.returnType=Gr;const Kr={getUniqueId:e=>e.dsId},Yr=({options:e,instanceUid:t,propsWithDefault:n})=>{const{maxHeight:o}=n||Xt,s=a.useMemo(()=>({dsId:`root-${t}`,type:"ROOT_ITEM",subitems:e,maxHeight:o}),[t,o,e]);return Yn(s,Kr)},Go=(e,t)=>{typeof e=="function"&&e(t),"current"in e&&(e.current=t)},Xr=(e,t)=>{const n=[];return e.forEach(o=>{if(!!be(o)){n.push(o);return}const{dsId:i}=o,r=t.findNode(c=>c.dsId===i);if(!r)throw new Error(`Selected option with dsId ${i} not found in the menu tree.`);if(!Lt(r)){console.warn(`Selected option with dsId ${i} is not a selectionable node and will be ignored.`);return}n.push(r)}),n},qr=({propsWithDefault:e,focusableNodes:t,treeRootNode:n})=>{const o=a.useRef(null),{options:s,onClickOutside:i,onOptionClick:r,openedSubmenus:c,onSubmenuToggle:u,isLoading:p,isSkeleton:m,ItemRenderer:h,floatingConfig:f,innerRef:b,selectedItems:S,onDisplayedSubmenuChange:y,onItemSelected:g,onActivateItem:x,onOpen:I,onClose:A,maxHeight:O,...v}=e,_=a.useCallback(k=>{o.current=k,b&&Go(b,k)},[b]),M=a.useMemo(()=>S?Xr(S,n):[],[S,n]),L=a.useMemo(()=>({options:s,onClickOutside:i,onOptionClick:r,openedSubmenus:c,onSubmenuToggle:u,isLoading:p,isSkeleton:m,ItemRenderer:h,...f!==void 0?{floatingConfig:f}:{}}),[s,i,r,c,u,p,m,h,f]);return a.useMemo(()=>({menuBehaviouralLayerProps:{buttonDOMNodeRef:o,selectedNodes:M,focusableNodes:t,optionsTree:n,onDisplayedSubmenuChange:y,onItemSelected:g,onActivateItem:x,onOpen:I,onClose:A},opinionatedButtonProps:{...v,innerRef:_,menuSpecificProps:L}}),[M,t,n,y,g,x,I,A,v,_,L])},Qr=(e,t)=>{(0,K.D)(e,t,Et)},Zr=e=>{const t=(0,q.b)(e,Xt);Qr(t,Dn);const n=(0,X.d)(t),o=a.useMemo(()=>`menu-button${(0,ne.L)(5)}`,[]),s=(0,z.j)(e),{options:i}=t,r=Array.isArray(i)?i:[],c=Yr({options:r,instanceUid:o,propsWithDefault:t}).getRoot(),u=a.useMemo(()=>Array.isArray(i)?c:i,[i,c]),p=a.useMemo(()=>Vr(u),[u]),m=qr({propsWithDefault:t,focusableNodes:p,treeRootNode:u});return a.useMemo(()=>({propsWithDefault:t,xstyledProps:n,instanceUid:o,ownerProps:s,...m}),[t,n,s,o,m])};var Jr=E("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/SharedButtonBaseline/react-desc-prop-types.js");const Wt="DSOpinionatedbutton",kc={},Xn={ROOT:"root"},Nc=(0,de.lD)(Wt,Xn),el={...Jr.G},Ko={...(0,_e.Y)(Wt,Xn),...ho.t,menuSpecificProps:l.A.shape(En).description("Props for the main flyout menu").isRequired,innerRef:l.A.func.description("Ref callback for the button, if not provided how is the flyout menu being positioned?").isRequired},tl={},ge=(0,a.createContext)(tl);var jc=null;const Yo="DSMenubehaviouralcontextprovider",G={TRIGGER:"trigger",ITEM_BY_DSID:e=>`item-${e}`,RESET:""},nl=({propsWithDefault:e,floatingContext:t})=>{const{focusRegion:n,isMenuOpen:o,onOpinionatedOpen:s,onOpinionatedClose:i,trackFocusTrigger:r,shouldFocusImmediately:c}=a.useContext(ge),{onClick:u,onFocus:p,innerRef:m,onKeyDown:h}=e,{refs:{setReference:f}}=t,b=a.useRef(n),S=n===G.TRIGGER&&b.current!==n;b.current=n;const y=a.useRef(o);y.current=o;const g=a.useCallback((O,...v)=>{u&&u(O,...v),y.current?i():s()},[u,i,s]),x=a.useCallback((O,...v)=>{b.current!==G.TRIGGER&&r(),p&&p(O,...v)},[p,r]),I=a.useCallback(O=>{S&&O&&(c.current?O.focus():requestAnimationFrame(()=>{O.focus()})),f(O),m&&Go(m,O)},[m,S,f,c]),A=a.useCallback((O,...v)=>{O.key==="ArrowDown"&&s(),O.key==="ArrowUp"&&s({focusLastChild:!0}),O.key==="Escape"&&i(),h&&h(O,...v)},[h,s,i]);return a.useMemo(()=>({handleTriggerKeyDown:A,handleOnClick:g,handleOnFocus:x,handleFocusIfTriggerIsFocusRegion:I}),[I,g,x,A])},ol=(e,t)=>{(0,K.D)(e,t,Wt)},Xo=["bottom-start","bottom-end","bottom","right-start","right-start","right","left-start","left-end","left","top-start","top-end","top"],sl=(e,t)=>{const n=a.useMemo(()=>({...el,...e}),[e]);ol(n,Ko);const o=a.useMemo(()=>`ds-opinionated-button-${(0,ne.L)(5)}`,[]),{floatingConfig:s}=n.menuSpecificProps,i=(0,pe.N)({placement:Xo[0],placementOrderPreference:Xo,animationDuration:100,customOffset:[0,0],...s,externallyControlledIsOpen:t.isMenuOpen}),r=nl({propsWithDefault:n,floatingContext:i});return a.useMemo(()=>({propsWithDefault:n,instanceUid:o,eventsHandlers:r,floatingContext:i}),[n,o,r,i])},ke=(0,Kn.throttle)(e=>{e.focus()},10,{leading:!1,trailing:!0}),il={},Ie=(0,a.createContext)(il);var Wc=null;const rl=({itemNode:e})=>{const{dsId:t,plainItem:n}=e,{label:o,secondaryLabel:s,leftDecoration:i,minWidth:r,disabled:c}=n,{ownerProps:{getOwnerProps:u}}=a.useContext(Ie),p=(0,a.useCallback)(()=>n,[n]),{focusRegion:m,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:h,handleFocusableMenuItemClick:f,handleFocusableMenuItemOnMouseEnter:b,handleFocusableMenuItemNativeFocusEvent:S}}=a.useContext(ge),y=a.useMemo(()=>{const _=i?["min-content","auto"]:["auto"];return s&&_.push("auto"),_},[i,s]),g=a.useRef(m);g.current=m;const x=m===G.ITEM_BY_DSID(t),I=a.useCallback(_=>{_&&m===G.ITEM_BY_DSID(t)&&ke(_)},[t,m]),A=a.useCallback(()=>{b(e)},[b,e]),O=a.useCallback(_=>{S(e,_)},[S,e]),v=`ds-menu-item-${`${t}`.replace(/\s/g,"")}`;return(0,d.jsx)(N.mO,{innerRef:I,onKeyDown:h,onClick:f,onMouseEnter:A,onFocus:O,as:"div",id:`${v}`,role:"menuitem",tabIndex:x?0:-1,"aria-disabled":c,applyAriaDisabled:c,getOwnerProps:u,getOwnerPropsArguments:p,children:(0,d.jsxs)(N.iB,{cols:y,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:r??void 0,getOwnerProps:u,getOwnerPropsArguments:p,children:[i?(0,d.jsx)(i,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:u,getOwnerPropsArguments:p,children:o}),s!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:u,getOwnerPropsArguments:p,disabled:c,children:s})]})})},qo=["right-start","right-start","right","left-start","left-end","left"],ll=({itemNode:e,FlyoutMenuCircularDepInject:t})=>{const{dsId:n,plainItem:o}=e,{label:s,secondaryLabel:i,leftDecoration:r,minWidth:c,disabled:u}=o,{ownerProps:{getOwnerProps:p}}=a.useContext(Ie),{focusRegion:m,openedSubItems:h,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:f,handleFocusableMenuItemClick:b,handleFocusableMenuItemOnMouseEnter:S,handleFocusableMenuItemNativeFocusEvent:y}}=a.useContext(ge),g=a.useMemo(()=>{const R=r?["min-content","auto"]:["auto"];return i&&R.push("auto"),R},[r,i]),x=a.useRef(m);x.current=m;const I=h.some(R=>R.dsId===n),A=m===G.ITEM_BY_DSID(n),O=(0,pe.N)({placement:qo[0],placementOrderPreference:qo,animationDuration:100,customOffset:[0,0],externallyControlledIsOpen:I}),{refs:{setReference:v}}=O,_=a.useCallback(R=>{v(R),R&&m===G.ITEM_BY_DSID(n)&&ke(R)},[n,m,v]),M=a.useCallback(()=>o,[o]),L=a.useCallback(()=>{S(e)},[S,e]),k=a.useCallback(R=>{y(e,R)},[y,e]),j=`ds-menu-item-${`${n}`.replace(/\s/g,"")}`;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(N.mO,{innerRef:_,onKeyDown:f,onClick:b,onMouseEnter:L,onFocus:k,as:"div",id:`${j}`,tabIndex:A?0:-1,role:"menuitem","aria-controls":I?e.plainChildren.map(R=>`ds-menu-item-${`${R.dsId}`.replace(/\s/g,"")}`).join(" "):void 0,"aria-haspopup":"menu","aria-expanded":I,"aria-disabled":u,applyAriaDisabled:u,getOwnerProps:p,getOwnerPropsArguments:M,children:(0,d.jsxs)(N.iB,{cols:g,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:c??void 0,getOwnerProps:p,getOwnerPropsArguments:M,children:[r?(0,d.jsx)(r,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:p,getOwnerPropsArguments:M,children:s}),i!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:p,getOwnerPropsArguments:M,disabled:u,children:i})]})}),(0,d.jsx)(t,{isMenuOpen:I,floatingContext:O.context,floatingStyles:O.floatingStyles,setFloatingRef:O.refs.setFloating,itemNode:e})]})},al=a.memo(({isSelected:e})=>(0,d.jsx)(H.Ay,{width:"16px",children:e?(0,d.jsx)(Zt,{size:"s",color:["brand-primary","600"]}):(0,d.jsx)("div",{})})),dl=({itemNode:e})=>{const{dsId:t,plainItem:n}=e,{label:o,secondaryLabel:s,leftDecoration:i,minWidth:r,disabled:c}=n,{focusRegion:u,propsWithDefault:p,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:m,handleFocusableMenuItemClick:h,handleFocusableMenuItemOnMouseEnter:f,handleFocusableMenuItemNativeFocusEvent:b}}=a.useContext(ge),{selectedNodes:S}=p,y=a.useMemo(()=>{const k=i?["min-content","min-content","auto"]:["min-content","auto"];return s&&k.push("auto"),k},[i,s]),{ownerProps:{getOwnerProps:g}}=a.useContext(Ie),x=a.useCallback(()=>n,[n]),I=a.useRef(u);I.current=u;const A=u===G.ITEM_BY_DSID(t),O=S.some(k=>k.dsId===t),v=a.useCallback(k=>{k&&u===G.ITEM_BY_DSID(t)&&ke(k)},[t,u]),_=a.useCallback(()=>{f(e)},[f,e]),M=a.useCallback(k=>{b(e,k)},[b,e]),L=`ds-menu-item-${`${t}`.replace(/\s/g,"")}`;return(0,d.jsx)(N.mO,{innerRef:v,onKeyDown:m,onClick:h,onMouseEnter:_,onFocus:M,as:"div",id:`${L}`,tabIndex:A?0:-1,role:"menuitemcheckbox","aria-checked":O,"aria-disabled":c,applyAriaDisabled:c,getOwnerProps:g,getOwnerPropsArguments:x,children:(0,d.jsxs)(N.iB,{cols:y,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:r??void 0,getOwnerProps:g,getOwnerPropsArguments:x,children:[(0,d.jsx)(al,{isSelected:O}),i?(0,d.jsx)(i,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:g,getOwnerPropsArguments:x,children:o}),s!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:g,getOwnerPropsArguments:x,disabled:c,children:s})]})})};var cl=(0,Qt.w)({paths:["M20.5 22h-1.9229c-.2763 0-.5-.2236-.5-.5s.2237-.5.5-.5H20.5a.501.501 0 00.5-.5v-16c0-.2759-.2246-.5-.5-.5h-2c-.2764 0-.5-.2236-.5-.5s.2236-.5.5-.5h2c.8271 0 1.5.6729 1.5 1.5v16c0 .8271-.6729 1.5-1.5 1.5zm-15.5767-.5c0-.2764-.2236-.5-.5-.5H2.5a.5007.5007 0 01-.5-.5v-16c0-.2759.2241-.5.5-.5h2c.2764 0 .5-.2236.5-.5S4.7764 3 4.5 3h-2C1.6729 3 1 3.6729 1 4.5v16c0 .8271.6729 1.5 1.5 1.5h1.9233c.2764 0 .5-.2236.5-.5zM16 12.5c0-.275-.225-.5-.5-.5h-7c-.275 0-.5.225-.5.5s.225.5.5.5h7c.275 0 .5-.225.5-.5z"],height:24,width:24}),qn=(0,Qt.w)({paths:["M12 10.5a.503.503 0 0 0-.109-.313l-4-5a.5013.5013 0 0 0-.703-.078c-.214.173-.25.488-.078.703l3.75 4.688-3.75 4.688c-.172.218-.136.531.078.703.216.172.53.138.703-.078l4-5A.501.501 0 0 0 12 10.5z"],height:20,width:20});const an={PARENT_NOT_GROUP:new Error("Tree structure violation: parent node of single-selectionable node MUST ALWAYS be a single select group node"),GROUP_WITHOUT_PARENT:new Error("Tree structure violation: single select group node has no parent"),NODE_CANNOT_HAVE_CHILDREN:new Error("Tree structure violation: node cannot have children")},Qn={TRYING_TO_FOCUS_NON_FOCUSABLE_NODE:new Error("Behavioural violation: trying to focus a non-focusable node"),TRYING_TO_OPEN_SUBMENU_OF_NODE_WITHOUT_SUBMENU:new Error("Behavioural violation: trying to open submenu of node without submenu")},dt={FOCUSED_ITEM_NODE_NOT_SET:new Error("Internal error: focused item node not set"),FOCUSED_ITEM_HAS_NO_PARENT:new Error("Internal error: focused item has no parent node (is root?)"),NODE_WITHOUT_PARENT:new Error("Internal error: the node has no parent"),CALCULATING_MULTI_SELECTION_OF_NON_MULTI_SELECTION_NODE:new Error("Internal error: the node is not multi-selectable or wrongly recognized as non-multi-selectable")},Ft=e=>{const t=[];return e.walkParents(n=>(n.dsId===e.dsId||Ee(n)&&t.push(n),!0)),t.reverse()},dn=e=>{const{parent:t}=e;if(!t)throw console.log("getFocusableSiblingsList > itemNode",e),dt.NODE_WITHOUT_PARENT;if(!Gn(t))throw console.log("parentNode",t),console.log("itemNode",e),an.NODE_CANNOT_HAVE_CHILDREN;const n=[];let o=t;if(at(t)){if(!t.parent)throw an.GROUP_WITHOUT_PARENT;o=t.parent}return o.children.forEach(s=>{lt(s)&&n.push(s),at(s)&&s.children.forEach(i=>{lt(i)&&n.push(i)})}),n},ul=e=>{const t=[];return e.walk(n=>(sn(n)&&t.push(n.dsId),!0)),t},pl=e=>{let t;const n=[],o=[];if(e.walkParents(s=>{if(s.dsId===e.dsId)return!0;const i=s;return at(i)?(t=i,o.push(t),!0):(Ho(i)&&n.push(i),!0)}),!t)throw console.log("node:",e),console.log("parent:",e.parent),an.PARENT_NOT_GROUP;return{oldestGroup:t,selectionableParentsWithSubmenu:n,groupParents:o}},ml=e=>{const t=[],n=[];return e.walk(o=>{if(o.dsId===e.dsId)return!0;const s=o;return Lt(s)&&(t.push(s),rt(s)&&n.push(s)),!0}),{selectionableChilrens:t,multiSelectionableChilrens:n}},cn=({itemNode:e,selectedNodes:t})=>{if(t.length===0)return!1;const{multiSelectionableChilrens:n}=ml(e),o=[];let s=!1;return t.forEach(i=>{i.dsId===e.dsId&&(s=!0),rt(i)&&n.some(r=>r.dsId===i.dsId)&&o.push(i)}),s?n.length===0?!0:o.length===0?!1:o.length!==n.length?"mixed":!0:!1},hl=(e,t)=>{const n=e.find(c=>c.dsId===t.dsId)??!1;let o=n?e.filter(({dsId:c})=>c!==t.dsId):[...e,t];const s=[],i=[],r=[];return t.walkParents(c=>{if(c.dsId===t.dsId)return!0;const u=c;return He(u)&&(o.find(m=>m.dsId===u.dsId)?(i.push(u),cn({itemNode:u,selectedNodes:o})===!1&&r.push(u)):s.push(u)),!0}),n?o=o.filter(({dsId:c})=>!r.some(u=>u.dsId===c)):o.push(...s),o},fl=(e,t)=>{const o=cn({itemNode:t,selectedNodes:e})===!0;let s=o?e.filter(({dsId:u})=>u!==t.dsId):[...e,t];t.walk(u=>{const p=u;return o?s=s.filter(({dsId:m})=>m!==p.dsId):rt(p)&&!s.find(m=>m.dsId===p.dsId)&&s.push(p),!0});const i=[],r=[],c=[];return t.walkParents(u=>{if(u.dsId===t.dsId)return!0;const p=u;return He(p)&&(s.find(h=>h.dsId===p.dsId)?(r.push(p),cn({itemNode:p,selectedNodes:s})===!1&&c.push(p)):i.push(p)),!0}),o?s=s.filter(({dsId:u})=>!c.some(p=>p.dsId===u)):s.push(...i),s},Qo=(e,t)=>{if(Un(t))return hl(e,t);if(He(t))return fl(e,t);throw console.log(t),dt.CALCULATING_MULTI_SELECTION_OF_NON_MULTI_SELECTION_NODE},Zo=["right-start","right-start","right","left-start","left-end","left"],bl=a.memo(({isSelected:e})=>(0,d.jsx)(H.Ay,{width:"16px",children:e?e==="mixed"?(0,d.jsx)(cl,{size:"s",color:["brand-primary","600"]}):(0,d.jsx)(Zt,{size:"s",color:["brand-primary","600"]}):(0,d.jsx)("div",{})})),gl=({itemNode:e,FlyoutMenuCircularDepInject:t})=>{const{dsId:n,plainItem:o}=e,{label:s,secondaryLabel:i,leftDecoration:r,minWidth:c,disabled:u}=o,{focusRegion:p,propsWithDefault:m,openedSubItems:h,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:f,handleFocusableMenuItemClick:b,handleFocusableMenuItemOnMouseEnter:S,handleFocusableMenuItemNativeFocusEvent:y}}=a.useContext(ge),{selectedNodes:g}=m,{ownerProps:{getOwnerProps:x}}=a.useContext(Ie),I=a.useMemo(()=>{const T=r?["min-content","min-content","auto"]:["min-content","auto"];return i&&T.push("auto"),T.push("min-content"),T},[r,i]),A=a.useRef(p);A.current=p;const O=h.some(T=>T.dsId===n),v=p===G.ITEM_BY_DSID(n),_=a.useMemo(()=>cn({itemNode:e,selectedNodes:g}),[e,g]),M=(0,pe.N)({placement:Zo[0],placementOrderPreference:Zo,animationDuration:100,customOffset:[0,0],externallyControlledIsOpen:O}),{refs:{setReference:L}}=M,k=a.useCallback(T=>{L(T),T&&p===G.ITEM_BY_DSID(n)&&ke(T)},[n,p,L]),j=a.useCallback(()=>{S(e)},[S,e]),R=a.useCallback(T=>{y(e,T)},[y,e]),w=a.useCallback(()=>o,[o]),P=`ds-menu-item-${`${n}`.replace(/\s/g,"")}`;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(N.mO,{innerRef:k,onKeyDown:f,onClick:b,onMouseEnter:j,onFocus:R,as:"div",id:`${P}`,tabIndex:v?0:-1,role:"menuitemcheckbox","aria-checked":_,"aria-controls":O?e.plainChildren.map(T=>`ds-menu-item-${`${T.dsId}`.replace(/\s/g,"")}`).join(" "):void 0,"aria-haspopup":"menu","aria-expanded":O,"aria-disabled":u,applyAriaDisabled:u,getOwnerProps:x,getOwnerPropsArguments:w,children:(0,d.jsxs)(N.iB,{cols:I,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:c??void 0,getOwnerProps:x,getOwnerPropsArguments:w,children:[(0,d.jsx)(bl,{isSelected:_}),r?(0,d.jsx)(r,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:x,getOwnerPropsArguments:w,children:s}),i!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:x,getOwnerPropsArguments:w,disabled:u,children:i}),(0,d.jsx)(qn,{})]})}),(0,d.jsx)(t,{isMenuOpen:O,floatingContext:M.context,floatingStyles:M.floatingStyles,setFloatingRef:M.refs.setFloating,itemNode:e})]})},yl=(0,C.I)("div")`
|
|
183
|
+
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled`).isRequired,isOpen:Y.A.bool.description("Whether the tooltip is visible or not").defaultValue(void 0),onOpen:Y.A.func.description("Handler when the tooltip opens"),springAnimationComponent:Y.A.element.description("Spring animation component"),showArrow:Y.A.bool.description("Whether to show an arrow or not").defaultValue(!0),className:Y.A.string.description("css class"),tooltipType:Y.A.oneOf(["tooltip","toolbar"]).description("Type of tooltip").defaultValue(Wn.TOOLTIP),zIndex:Y.A.number.description("z-index value assigned to the tooltip").defaultValue(void 0),innerRef:Y.A.oneOfType([Y.A.func,Y.A.object]).description("Ref to the tooltip container element")};$n.displayName="DSTooltip";const Rr=(0,Lo.A)($n);Rr.propTypes=Mr;var Ec=null;const{classNameBlock:_r,classNameElement:Nt}=(0,ko.Ay)("circular-progress-indicator"),tn=({size:e,showLabel:t,showTooltip:n,waiting:o,loading:s})=>{No({componentName:"ds-circular-progress-indicator",version:"TBD Date: 2023 Q3"});const i="Waiting...",r="Loading...",c=o&&!s?i:r;let u,p,m,h,f="0.7",b="4.8",S="45 170",y="127.5";switch(e.toUpperCase()){case"XS":u=8,p=12,m=10,h=3,f="1",S="46 174",y="133";break;case"S":u=16,p=12,m=8,h=3,f="1",S="46 174",y="133";break;case"M":u=24,p=12,m=7,h=3,f="1",b="5.5",S="46 174",y="133";break;case"L":u=32,p=13,m=6,h=3,b="5";break;case"XL":u=48,p=14,m=5,h=1;break;case"XXL":u=56,p=16,m=4,h=1;break;case"XXXL":u=64,p=16,m=5,h=2;break;default:break}const g=(0,d.jsx)("p",{"data-testid":"circular-indicator-label",className:Nt("label"),style:{fontSize:`${p}px`},children:c}),x=v=>u<17||n?(0,d.jsx)($n,{containerProps:{id:"ds-circular-progress-indicator","data-testid":"circular-indicator-title"},interactionType:"hover",title:c,triggerComponent:v,placement:"bottom"}):v,I=(0,d.jsx)("circle",{className:Nt("track"),cx:"50%",cy:"50%",fill:"none",r:"28",strokeWidth:`${h}px`}),A=(0,d.jsx)("circle",{className:Nt("arc-gray"),stroke:"#E0E3E8",strokeDasharray:`${S}`,strokeDashoffset:`${y}`,cx:"50%",cy:"50%",fill:"none",r:"28",strokeWidth:`${h}px`}),O=(0,d.jsxs)("svg",{height:`${u}px`,version:"1.1",viewBox:"0 0 66 66",width:`${u}px`,"data-testid":"circular-indicator","aria-label":o&&!s?i:r,children:[(0,d.jsxs)("defs",{children:[(0,d.jsxs)("linearGradient",{id:"grad1",x1:"0%",x2:"100%",y1:"100%",y2:"0%",children:[(0,d.jsx)("stop",{offset:"0%",style:{stopColor:"#E0E3E8",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"89%",style:{stopColor:"#5594e2",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"100%",style:{stopColor:"#5594e2",stopOpacity:1}})]}),(0,d.jsxs)("linearGradient",{id:"grad2",x1:"0%",x2:"100%",y1:"100%",y2:"0%",children:[(0,d.jsx)("stop",{offset:"0%",style:{stopColor:"#5594e2",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"11%",style:{stopColor:"#5594e2",stopOpacity:1}}),(0,d.jsx)("stop",{offset:"100%",style:{stopColor:"#E0E3E8",stopOpacity:1}})]}),(0,d.jsx)("marker",{id:"inverseL",viewBox:"0 0 5 10",refX:"0.5",refY:`${b}`,markerUnits:"strokeWidth",markerWidth:"0.5",markerHeight:`${f}`,orient:"auto",children:(0,d.jsx)("path",{d:"M 0 0 L 6 0 A 5 5 0 0 0 6 10 L 0 10 z",fill:"#FFF"})}),(0,d.jsx)("marker",{id:"inverseR",viewBox:"0 0 5 10",refX:"0",refY:"5",markerUnits:"strokeWidth",markerWidth:"0.7",markerHeight:`${f}`,children:(0,d.jsx)("path",{d:"M 0 0 L 6 0 A 5 5 0 0 0 6 10 L 0 10 z",fill:"#FFF"})})]}),I,!o&&(0,d.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,d.jsx)("path",{className:Nt("arc-blue"),d:"M30,5 C17.536025,6 6,17.536027 5,31",stroke:"#5594e2",strokeWidth:`${m-.5}px`,strokeLinecap:"round","data-testid":"circular-indicator-blue-arc"}),(0,d.jsx)("path",{className:Nt("arc-white"),d:"M33,5 C17.536027,5 5,17.536027 5,33",stroke:"#FFF",strokeWidth:`${m+2}px`,markerStart:"url(#inverseR)",markerEnd:"url(#inverseL)"}),A]})]});return(0,d.jsxs)("div",{className:_r("wrapper"),role:"status","aria-hidden":o||s?"false":"true",children:[x(O),t&&g]})};tn.defaultProps={size:"m",showLabel:!1,showTooltip:!1,waiting:!1,loading:!1};const kr={size:Y.A.oneOf(["xs","s","m","l","xl","xxl","xxxl"]).description("Defines the size of the indicator").defaultValue("m"),showLabel:Y.A.bool.description("Wheter the indicator displays its state on a label or not").defaultValue(!1),showTooltip:Y.A.bool.description("Wheter the indicator displays its state on a tooltip or not").defaultValue(!1),waiting:Y.A.bool.description("Defines the state of the indicator as Waiting and only displays the gray track").defaultValue(!1),loading:Y.A.bool.description("Defines the state of the indicator as Loading and displays a blue spinner animation").defaultValue(!1)};tn.displayName="CircularProgressIndicator";const Nr=(0,Lo.A)(tn);Nr.propTypes=kr;var Lr=tn;const jr=()=>{const{props:{onClickOutside:e},triggerReferenceElement:t}=(0,a.useContext)(Ce),n=(0,a.useRef)(null);(0,a.useLayoutEffect)(()=>{n.current?.focus()},[n]);const o=(0,a.useCallback)(s=>{(s.code==="Escape"||s.code==="ArrowLeft")&&e(s)},[e]);return(0,d.jsx)(si,{minWidth:t?.offsetWidth??0,justifyContent:"center",alignItems:"center","data-testid":Dt.LOADING,tabIndex:0,role:"status",innerRef:n,"aria-busy":"true",onKeyDown:o,children:(0,d.jsx)(Lr,{size:"l"})})},Wr=()=>{const{props:e,triggerReferenceElement:t,setTriggerReferenceElement:n}=(0,a.useContext)(Ce),{children:o,isOpened:s,onClickOutside:i,startPlacementPreference:r,placementOrderPreference:c,customOffset:u,wrapperStyles:p,isLoading:m,zIndex:h,as:f}=e,{"data-popover-label":b,...S}=(0,V.u)(e),{minWidth:y,minHeight:g,...x}=(0,X.d)(e),I=A=>{[...document.body.querySelectorAll(`[data-testid="${Dt.MENU_WRAPPER}"]`)].every(v=>!v.contains(A.target))&&i(A)};return(0,d.jsxs)(ti,{"data-testid":`${Dt.TRIGGER_WRAPPER}`,innerRef:n,"aria-haspopup":"listbox",...p,...S,...x,as:f,children:[o,t&&(0,d.jsx)(Js.B2,{referenceElement:t,showPopover:s,withoutArrow:!0,withoutAnimation:!0,customOffset:u,onClickOutside:I,startPlacementPreference:r,placementOrderPreference:c,zIndex:h,"aria-label":b||"dropdown-menu popover",children:m?(0,d.jsx)(jr,{}):(0,d.jsx)(vr,{})})]})},nn=e=>{const t=Zs(e,nn);return(0,d.jsx)(Ce.Provider,{value:t,children:(0,d.jsx)(Wr,{})})};nn.displayName="DSDropdownMenuV2";const Fr=(0,D.A)(nn).description("Dropdown Menu");Fr.propTypes=go;const Wo="DSPillbutton",Bn={PILL_BUTTON:"pill-button"},Dc={...(0,de.lD)(Q,Bn),PILL_BUTTON:"ds-button"},Vn={type:"right",width:"21px",height:"21px"},Fo={...(0,_e.Y)(Q,Bn),...Z.P,...oe.w,type:l.A.oneOf(["only","left","right"]).description("The position in which this button will be placed. Only used for css styling internally").defaultValue("right"),width:l.A.string.description("Width of the button").defaultValue("100%"),height:l.A.string.description("Height of the button").defaultValue("100%"),innerRef:l.A.oneOfType([l.A.object,l.A.func]).description("Inner ref to button component."),"data-testid":l.A.string.description("root element data-testid"),applyAriaDisabled:l.A.bool.description("Whether to apply disabled styling and announce as disabled in SR. CAN STILL RECEIVE FOCUS. PREVENTS ONLY MAIN ACTION.").defaultValue(!1)},$r=(e,t)=>{(0,K.D)(e,t,Wo)},Br=e=>{const t=(0,q.b)(e,Vn);$r(t,Fo);const n=(0,X.d)(t),o=(0,z.j)(t);return a.useMemo(()=>({propsWithDefault:t,xstyledProps:n,ownerProps:o}),[t,n,o])};var $o=E("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/DSButtonV3/DSButtonV3.js");const be=e=>{const t=e;return typeof e=="object"&&e!==null&&typeof t.plainItem=="object"&&t.plainItem?.type!==void 0&&t.dsId!==void 0},Hn=e=>be(e)&&e.plainItem?.type===Oe.ACTIVABLE_ITEM,Bo=e=>be(e)&&e.plainItem?.type===Oe.SKELETON_ITEM,Un=e=>be(e)&&e.plainItem?.type===Oe.MULTIPLE_SELECT_ITEM,He=e=>be(e)&&e.plainItem?.type===Oe.MULTIPLE_SELECT_WITH_SUBMENU_ITEM,rt=e=>Un(e)||He(e),Vo=e=>be(e)&&e.plainItem?.type===Oe.SINGLE_SELECT_ITEM,on=e=>be(e)&&e.plainItem?.type===Oe.SINGLE_SELECT_WITH_SUBMENU_ITEM,sn=e=>Vo(e)||on(e),Lt=e=>rt(e)||sn(e),Rc=e=>e.flatten().filter(Lt),rn=e=>be(e)&&e.plainItem?.type===Oe.WITH_SUBMENU_ITEM,Ho=e=>on(e)||He(e),zn=e=>be(e)&&e.plainItem?.type===Oe.ACTIVABLE_WITH_SUBMENU_ITEM,Ee=e=>rn(e)||Ho(e)||zn(e),_c=e=>e.flatten().filter(Ee),lt=e=>Lt(e)||Hn(e)||Ee(e)||Bo(e),Vr=e=>e.flatten().filter(lt),Hr=e=>be(e)&&e.plainItem?.type===Oe.SEPARATOR,at=e=>be(e)&&e.plainItem?.type===Oe.GROUP,jt=e=>be(e)&&e.plainItem?.type==="ROOT_ITEM",Gn=e=>jt(e)||Ee(e)||at(e)||on(e)||He(e)||zn(e);var Kn=E("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/lodash.js");class ln{dsId;childIndex;depth;plainItem;plainChildren;parent;children;tree;_hash;constructor(t,{childIndex:n,depth:o,parent:s,tree:i}){this.dsId=i.getUniqueId(t),this.childIndex=n,this.depth=o,this.parent=s??null,this.tree=i,this._hash=0,this.children=[],this.plainChildren=[],(t.subitems??[]).forEach((c,u)=>{this.plainChildren.push(this.getCleanItem(c)),this.children.push(new ln(c,{childIndex:u,depth:o+1,parent:this,tree:i}))}),this.plainItem=this.getCleanItem(t)}fixChildIndexes=()=>{for(let t=0;t<this.children.length;t+=1)this.children[t].childIndex=t;this._hash+=1};getCleanItem=t=>{const{subitems:n,...o}=t;return(0,Kn.cloneDeep)(o)};get hash(){return this._hash}walk=t=>{if(t(this))for(const o of this.children)o.walk(t)};walkParents=t=>{t(this)&&this.parent&&this.parent.walkParents(t)};findNode=t=>{let n=null;return this.walk(o=>n?!1:(t(o)&&(n=o),!n)),n};findAllNodes=t=>{const n=[];return this.walk(o=>(t(o)&&n.push(o),!0)),n};flatten=()=>{const t=[];return this.walk(n=>(t.push(n),!0)),t};getPath=t=>{const n=[],o=this.tree.getNode(t);return o?(o.walkParents(s=>(n.push(s),s.dsId!==this.dsId)),n.reverse()):n};getPathIds=t=>this.getPath(t).map(n=>n.dsId);getJson=()=>({...this.plainItem,subitems:this.children?.map?.(t=>t.getJson())??void 0});addNode=t=>{const n=t.childIndex;if(n<0||n>this.children.length)throw new Error(`Invalid position ${n} for parent ${this.dsId} with item ${t.dsId}`);this.children.splice(n,0,t),this.fixChildIndexes(),t.walk(o=>(this.tree.addNodeToNodesDictionary(o),!0)),this._hash+=1};removeNode=()=>{if(!this.parent)throw new Error(`Cannot remove root node with id ${this.dsId}`);this.parent.children.splice(this.childIndex,1),this.parent.fixChildIndexes(),this.walk(t=>(this.tree.removeNodeFromNodesDictionary(t),!0)),this._hash+=1}}class Ur{root;_hash;nodes;getUniqueId;constructor(t,n){this.getUniqueId=n.getUniqueId,this.root=new ln(t,{childIndex:0,depth:0,tree:this}),this.nodes={},this._hash=0,this.root.walk(o=>(this.nodes[o.dsId]=o,!0))}addNodeToNodesDictionary(t){if(this.nodes[t.dsId])throw new Error(`DSTree: repeated dsId ${t.dsId}`);this.nodes[t.dsId]=t}removeNodeFromNodesDictionary(t){delete this.nodes[t.dsId]}get hash(){return this._hash}getRoot=()=>this.root;getNode=t=>this.nodes[t];getNodes=()=>this.nodes;walk=t=>{this.root.walk(t)};walkParents=t=>{this.root.walkParents(t)};findNode=t=>this.root.findNode(t);findAllNodes=t=>this.root.findAllNodes(t);flatten=()=>this.root.flatten();addNode=(t,n={})=>{const{position:o,parent:s,callback:i}=n,r=s||this.root,c=o??r.children.length,u=new ln(t,{childIndex:c,depth:r.depth+1,parent:r,tree:this});return this.getNode(r.dsId).addNode(u),this._hash+=1,i?.(u,this),u};removeNode=(t,n={})=>{const o=this.getNode(t);if(!o)throw new Error(`Node with id ${t} not found`);return o.removeNode(),this._hash+=1,n.callback?.(o,this),o};moveNode=(t,n={})=>{const o=this.removeNode(t),s=this.addNode(o.getJson(),n);return this._hash+=1,s};replaceNode=(t,n,o={})=>{const s=this.removeNode(t),i=this.addNode(n,{parent:s.parent,position:s.childIndex});return this._hash+=1,o.callback?.(i,this),i};getPath=t=>this.getRoot().getPath(t);getPathIds=t=>this.getRoot().getPathIds(t)}const Uo={dsId:l.A.oneOfType([l.A.string,l.A.number]).description("Id of the root item."),label:l.A.string.description("Item label."),"[key]":l.A.string.description("Any custom key you want to add to the item.")},zr={rootItem:l.A.shape({...Uo,subitems:l.A.arrayOf(l.A.shape(Uo)).description("Array of subitems. Each subitem can also have subitems.")}).description("First parameter.").isRequired,opts:l.A.shape({getUniqueId:l.A.func.signature("(item) => string | number").description("Callback to get the id of each item.").isRequired}).description("Second parameter.").isRequired},Gr={hash:l.A.number.description("Tree hash value."),getRoot:l.A.func.signature("() => rootItem").description("Callback to get the root item."),getNode:l.A.func.signature("(id: string | number) => item").description("Callback to get an item by id."),walk:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => void").description("Callback applied to each item to determine whether to continue walking or not."),walkParents:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => void").description("Callback applied to each item to determine whether to continue walking the item's parents or not."),findNode:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => FirstParameter | null").description("Callback to find an item that matches the condition."),findAllNodes:l.A.func.signature("(callback: (item: FirstParameter) => boolean) => FirstParameter[]").description("Callback to find all the items that matches the condition."),flatten:l.A.func.signature("() => item[]").description("Returns an array of hte tree items."),addNode:l.A.func.signature("(item: FirstParameter, options?: AddOptions<FirstParameter> | undefined) => FirstParameter").description("Adds an item to the tree."),removeNode:l.A.func.signature("(id: string, options?: RemoveOptions<FirstParameter> | undefined) => FirstParameter").description("Removes an item from the tree."),moveNode:l.A.func.signature("(id: string, options?: MoveOptions<FirstParameter> | undefined) => FirstParameter").description("Move an item within the tree."),replaceNode:l.A.func.signature("id: string, item: FirstParameter, options?: MutateOptions<FirstParameter> | undefined) => FirstParameter").description("Replace a noe within the tree."),getPath:l.A.func.signature("(id: string | number) => FirstParameter[]").description("Get the path to an item given the item's id."),getPathIds:l.A.func.signature("(id: string | number) => (string | number)[]").description("Get the path ids to an item given the item's id.")},Yn=(e,t)=>{const n=(0,a.useMemo)(()=>new Ur(e,t),[t,e]),[o,s]=(0,a.useState)(n.hash),i=(0,a.useCallback)((p,m)=>{const h=(f,b)=>{m?.callback?.(f,b),s(b.hash)};return n.addNode(p,{...m,callback:h})},[n]),r=(0,a.useCallback)((p,m)=>{const h=(f,b)=>{m?.callback?.(f,b),s(b.hash)};return n.removeNode(p,{...m,callback:h})},[n]),c=(0,a.useCallback)((p,m)=>{const h=(f,b)=>{m?.callback?.(f,b),s(b.hash)};return n.moveNode(p,{...m,callback:h})},[n]),u=(0,a.useCallback)((p,m,h)=>{const f=(b,S)=>{h?.callback?.(b,S),s(S.hash)};return n.replaceNode(p,m,{...h,callback:f})},[n]);return{hash:o,getRoot:n.getRoot,getNode:n.getNode,walk:n.walk,walkParents:n.walkParents,findNode:n.findNode,findAllNodes:n.findAllNodes,flatten:n.flatten,addNode:i,removeNode:r,moveNode:c,replaceNode:u,getPath:n.getPath,getPathIds:n.getPathIds}};Yn.displayName="useDSTree";const zo=(0,D.A)(Yn);zo.propTypes=zr,zo.returnType=Gr;const Kr={getUniqueId:e=>e.dsId},Yr=({options:e,instanceUid:t,propsWithDefault:n})=>{const{maxHeight:o}=n||Xt,s=a.useMemo(()=>({dsId:`root-${t}`,type:"ROOT_ITEM",subitems:e,maxHeight:o}),[t,o,e]);return Yn(s,Kr)},Go=(e,t)=>{typeof e=="function"&&e(t),"current"in e&&(e.current=t)},Xr=(e,t)=>{const n=[];return e.forEach(o=>{if(!!be(o)){n.push(o);return}const{dsId:i}=o,r=t.findNode(c=>c.dsId===i);if(!r)throw new Error(`Selected option with dsId ${i} not found in the menu tree.`);if(!Lt(r)){console.warn(`Selected option with dsId ${i} is not a selectionable node and will be ignored.`);return}n.push(r)}),n},qr=({propsWithDefault:e,focusableNodes:t,treeRootNode:n})=>{const o=a.useRef(null),{options:s,onClickOutside:i,onOptionClick:r,openedSubmenus:c,onSubmenuToggle:u,isLoading:p,isSkeleton:m,ItemRenderer:h,floatingConfig:f,innerRef:b,selectedItems:S,onDisplayedSubmenuChange:y,onItemSelected:g,onActivateItem:x,onOpen:I,onClose:A,maxHeight:O,...v}=e,_=a.useCallback(k=>{o.current=k,b&&Go(b,k)},[b]),M=a.useMemo(()=>S?Xr(S,n):[],[S,n]),L=a.useMemo(()=>({options:s,onClickOutside:i,onOptionClick:r,openedSubmenus:c,onSubmenuToggle:u,isLoading:p,isSkeleton:m,ItemRenderer:h,...f!==void 0?{floatingConfig:f}:{}}),[s,i,r,c,u,p,m,h,f]);return a.useMemo(()=>({menuBehaviouralLayerProps:{buttonDOMNodeRef:o,selectedNodes:M,focusableNodes:t,optionsTree:n,onDisplayedSubmenuChange:y,onItemSelected:g,onActivateItem:x,onOpen:I,onClose:A},opinionatedButtonProps:{...v,innerRef:_,menuSpecificProps:L}}),[M,t,n,y,g,x,I,A,v,_,L])},Qr=(e,t)=>{(0,K.D)(e,t,Et)},Zr=e=>{const t=(0,q.b)(e,Xt);Qr(t,Dn);const n=(0,X.d)(t),o=a.useMemo(()=>`menu-button${(0,ne.L)(5)}`,[]),s=(0,z.j)(e),{options:i}=t,r=Array.isArray(i)?i:[],c=Yr({options:r,instanceUid:o,propsWithDefault:t}).getRoot(),u=a.useMemo(()=>Array.isArray(i)?c:i,[i,c]),p=a.useMemo(()=>Vr(u),[u]),m=qr({propsWithDefault:t,focusableNodes:p,treeRootNode:u});return a.useMemo(()=>({propsWithDefault:t,xstyledProps:n,instanceUid:o,ownerProps:s,...m}),[t,n,s,o,m])};var Jr=E("./node_modules/.pnpm/@elliemae+ds-button-v2@3.61.4_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-button-v2/dist/esm/parts/SharedButtonBaseline/react-desc-prop-types.js");const Wt="DSOpinionatedbutton",kc=null,Xn={ROOT:"root"},Nc=(0,de.lD)(Wt,Xn),el={...Jr.G},Ko={...(0,_e.Y)(Wt,Xn),...ho.t,menuSpecificProps:l.A.shape(En).description("Props for the main flyout menu").isRequired,innerRef:l.A.func.description("Ref callback for the button, if not provided how is the flyout menu being positioned?").isRequired},tl={},ge=(0,a.createContext)(tl);var jc=null;const Yo="DSMenubehaviouralcontextprovider",G={TRIGGER:"trigger",ITEM_BY_DSID:e=>`item-${e}`,RESET:""},nl=({propsWithDefault:e,floatingContext:t})=>{const{focusRegion:n,isMenuOpen:o,onOpinionatedOpen:s,onOpinionatedClose:i,trackFocusTrigger:r,shouldFocusImmediately:c}=a.useContext(ge),{onClick:u,onFocus:p,innerRef:m,onKeyDown:h}=e,{refs:{setReference:f}}=t,b=a.useRef(n),S=n===G.TRIGGER&&b.current!==n;b.current=n;const y=a.useRef(o);y.current=o;const g=a.useCallback((O,...v)=>{u&&u(O,...v),y.current?i():s()},[u,i,s]),x=a.useCallback((O,...v)=>{b.current!==G.TRIGGER&&r(),p&&p(O,...v)},[p,r]),I=a.useCallback(O=>{S&&O&&(c.current?O.focus():requestAnimationFrame(()=>{O.focus()})),f(O),m&&Go(m,O)},[m,S,f,c]),A=a.useCallback((O,...v)=>{O.key==="ArrowDown"&&s(),O.key==="ArrowUp"&&s({focusLastChild:!0}),O.key==="Escape"&&i(),h&&h(O,...v)},[h,s,i]);return a.useMemo(()=>({handleTriggerKeyDown:A,handleOnClick:g,handleOnFocus:x,handleFocusIfTriggerIsFocusRegion:I}),[I,g,x,A])},ol=(e,t)=>{(0,K.D)(e,t,Wt)},Xo=["bottom-start","bottom-end","bottom","right-start","right-start","right","left-start","left-end","left","top-start","top-end","top"],sl=(e,t)=>{const n=a.useMemo(()=>({...el,...e}),[e]);ol(n,Ko);const o=a.useMemo(()=>`ds-opinionated-button-${(0,ne.L)(5)}`,[]),{floatingConfig:s}=n.menuSpecificProps,i=(0,pe.N)({placement:Xo[0],placementOrderPreference:Xo,animationDuration:100,customOffset:[0,0],...s,externallyControlledIsOpen:t.isMenuOpen}),r=nl({propsWithDefault:n,floatingContext:i});return a.useMemo(()=>({propsWithDefault:n,instanceUid:o,eventsHandlers:r,floatingContext:i}),[n,o,r,i])},ke=(0,Kn.throttle)(e=>{e.focus()},10,{leading:!1,trailing:!0}),il={},Ie=(0,a.createContext)(il);var Wc=null;const rl=({itemNode:e})=>{const{dsId:t,plainItem:n}=e,{label:o,secondaryLabel:s,leftDecoration:i,minWidth:r,disabled:c}=n,{ownerProps:{getOwnerProps:u}}=a.useContext(Ie),p=(0,a.useCallback)(()=>n,[n]),{focusRegion:m,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:h,handleFocusableMenuItemClick:f,handleFocusableMenuItemOnMouseEnter:b,handleFocusableMenuItemNativeFocusEvent:S}}=a.useContext(ge),y=a.useMemo(()=>{const _=i?["min-content","auto"]:["auto"];return s&&_.push("auto"),_},[i,s]),g=a.useRef(m);g.current=m;const x=m===G.ITEM_BY_DSID(t),I=a.useCallback(_=>{_&&m===G.ITEM_BY_DSID(t)&&ke(_)},[t,m]),A=a.useCallback(()=>{b(e)},[b,e]),O=a.useCallback(_=>{S(e,_)},[S,e]),v=`ds-menu-item-${`${t}`.replace(/\s/g,"")}`;return(0,d.jsx)(N.mO,{innerRef:I,onKeyDown:h,onClick:f,onMouseEnter:A,onFocus:O,as:"div",id:`${v}`,role:"menuitem",tabIndex:x?0:-1,"aria-disabled":c,applyAriaDisabled:c,getOwnerProps:u,getOwnerPropsArguments:p,children:(0,d.jsxs)(N.iB,{cols:y,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:r??void 0,getOwnerProps:u,getOwnerPropsArguments:p,children:[i?(0,d.jsx)(i,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:u,getOwnerPropsArguments:p,children:o}),s!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:u,getOwnerPropsArguments:p,disabled:c,children:s})]})})},qo=["right-start","right-start","right","left-start","left-end","left"],ll=({itemNode:e,FlyoutMenuCircularDepInject:t})=>{const{dsId:n,plainItem:o}=e,{label:s,secondaryLabel:i,leftDecoration:r,minWidth:c,disabled:u}=o,{ownerProps:{getOwnerProps:p}}=a.useContext(Ie),{focusRegion:m,openedSubItems:h,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:f,handleFocusableMenuItemClick:b,handleFocusableMenuItemOnMouseEnter:S,handleFocusableMenuItemNativeFocusEvent:y}}=a.useContext(ge),g=a.useMemo(()=>{const R=r?["min-content","auto"]:["auto"];return i&&R.push("auto"),R},[r,i]),x=a.useRef(m);x.current=m;const I=h.some(R=>R.dsId===n),A=m===G.ITEM_BY_DSID(n),O=(0,pe.N)({placement:qo[0],placementOrderPreference:qo,animationDuration:100,customOffset:[0,0],externallyControlledIsOpen:I}),{refs:{setReference:v}}=O,_=a.useCallback(R=>{v(R),R&&m===G.ITEM_BY_DSID(n)&&ke(R)},[n,m,v]),M=a.useCallback(()=>o,[o]),L=a.useCallback(()=>{S(e)},[S,e]),k=a.useCallback(R=>{y(e,R)},[y,e]),j=`ds-menu-item-${`${n}`.replace(/\s/g,"")}`;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(N.mO,{innerRef:_,onKeyDown:f,onClick:b,onMouseEnter:L,onFocus:k,as:"div",id:`${j}`,tabIndex:A?0:-1,role:"menuitem","aria-controls":I?e.plainChildren.map(R=>`ds-menu-item-${`${R.dsId}`.replace(/\s/g,"")}`).join(" "):void 0,"aria-haspopup":"menu","aria-expanded":I,"aria-disabled":u,applyAriaDisabled:u,getOwnerProps:p,getOwnerPropsArguments:M,children:(0,d.jsxs)(N.iB,{cols:g,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:c??void 0,getOwnerProps:p,getOwnerPropsArguments:M,children:[r?(0,d.jsx)(r,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:p,getOwnerPropsArguments:M,children:s}),i!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:p,getOwnerPropsArguments:M,disabled:u,children:i})]})}),(0,d.jsx)(t,{isMenuOpen:I,floatingContext:O.context,floatingStyles:O.floatingStyles,setFloatingRef:O.refs.setFloating,itemNode:e})]})},al=a.memo(({isSelected:e})=>(0,d.jsx)(H.Ay,{width:"16px",children:e?(0,d.jsx)(Zt,{size:"s",color:["brand-primary","600"]}):(0,d.jsx)("div",{})})),dl=({itemNode:e})=>{const{dsId:t,plainItem:n}=e,{label:o,secondaryLabel:s,leftDecoration:i,minWidth:r,disabled:c}=n,{focusRegion:u,propsWithDefault:p,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:m,handleFocusableMenuItemClick:h,handleFocusableMenuItemOnMouseEnter:f,handleFocusableMenuItemNativeFocusEvent:b}}=a.useContext(ge),{selectedNodes:S}=p,y=a.useMemo(()=>{const k=i?["min-content","min-content","auto"]:["min-content","auto"];return s&&k.push("auto"),k},[i,s]),{ownerProps:{getOwnerProps:g}}=a.useContext(Ie),x=a.useCallback(()=>n,[n]),I=a.useRef(u);I.current=u;const A=u===G.ITEM_BY_DSID(t),O=S.some(k=>k.dsId===t),v=a.useCallback(k=>{k&&u===G.ITEM_BY_DSID(t)&&ke(k)},[t,u]),_=a.useCallback(()=>{f(e)},[f,e]),M=a.useCallback(k=>{b(e,k)},[b,e]),L=`ds-menu-item-${`${t}`.replace(/\s/g,"")}`;return(0,d.jsx)(N.mO,{innerRef:v,onKeyDown:m,onClick:h,onMouseEnter:_,onFocus:M,as:"div",id:`${L}`,tabIndex:A?0:-1,role:"menuitemcheckbox","aria-checked":O,"aria-disabled":c,applyAriaDisabled:c,getOwnerProps:g,getOwnerPropsArguments:x,children:(0,d.jsxs)(N.iB,{cols:y,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:r??void 0,getOwnerProps:g,getOwnerPropsArguments:x,children:[(0,d.jsx)(al,{isSelected:O}),i?(0,d.jsx)(i,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:g,getOwnerPropsArguments:x,children:o}),s!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:g,getOwnerPropsArguments:x,disabled:c,children:s})]})})};var cl=(0,Qt.w)({paths:["M20.5 22h-1.9229c-.2763 0-.5-.2236-.5-.5s.2237-.5.5-.5H20.5a.501.501 0 00.5-.5v-16c0-.2759-.2246-.5-.5-.5h-2c-.2764 0-.5-.2236-.5-.5s.2236-.5.5-.5h2c.8271 0 1.5.6729 1.5 1.5v16c0 .8271-.6729 1.5-1.5 1.5zm-15.5767-.5c0-.2764-.2236-.5-.5-.5H2.5a.5007.5007 0 01-.5-.5v-16c0-.2759.2241-.5.5-.5h2c.2764 0 .5-.2236.5-.5S4.7764 3 4.5 3h-2C1.6729 3 1 3.6729 1 4.5v16c0 .8271.6729 1.5 1.5 1.5h1.9233c.2764 0 .5-.2236.5-.5zM16 12.5c0-.275-.225-.5-.5-.5h-7c-.275 0-.5.225-.5.5s.225.5.5.5h7c.275 0 .5-.225.5-.5z"],height:24,width:24}),qn=(0,Qt.w)({paths:["M12 10.5a.503.503 0 0 0-.109-.313l-4-5a.5013.5013 0 0 0-.703-.078c-.214.173-.25.488-.078.703l3.75 4.688-3.75 4.688c-.172.218-.136.531.078.703.216.172.53.138.703-.078l4-5A.501.501 0 0 0 12 10.5z"],height:20,width:20});const an={PARENT_NOT_GROUP:new Error("Tree structure violation: parent node of single-selectionable node MUST ALWAYS be a single select group node"),GROUP_WITHOUT_PARENT:new Error("Tree structure violation: single select group node has no parent"),NODE_CANNOT_HAVE_CHILDREN:new Error("Tree structure violation: node cannot have children")},Qn={TRYING_TO_FOCUS_NON_FOCUSABLE_NODE:new Error("Behavioural violation: trying to focus a non-focusable node"),TRYING_TO_OPEN_SUBMENU_OF_NODE_WITHOUT_SUBMENU:new Error("Behavioural violation: trying to open submenu of node without submenu")},dt={FOCUSED_ITEM_NODE_NOT_SET:new Error("Internal error: focused item node not set"),FOCUSED_ITEM_HAS_NO_PARENT:new Error("Internal error: focused item has no parent node (is root?)"),NODE_WITHOUT_PARENT:new Error("Internal error: the node has no parent"),CALCULATING_MULTI_SELECTION_OF_NON_MULTI_SELECTION_NODE:new Error("Internal error: the node is not multi-selectable or wrongly recognized as non-multi-selectable")},Ft=e=>{const t=[];return e.walkParents(n=>(n.dsId===e.dsId||Ee(n)&&t.push(n),!0)),t.reverse()},dn=e=>{const{parent:t}=e;if(!t)throw console.log("getFocusableSiblingsList > itemNode",e),dt.NODE_WITHOUT_PARENT;if(!Gn(t))throw console.log("parentNode",t),console.log("itemNode",e),an.NODE_CANNOT_HAVE_CHILDREN;const n=[];let o=t;if(at(t)){if(!t.parent)throw an.GROUP_WITHOUT_PARENT;o=t.parent}return o.children.forEach(s=>{lt(s)&&n.push(s),at(s)&&s.children.forEach(i=>{lt(i)&&n.push(i)})}),n},ul=e=>{const t=[];return e.walk(n=>(sn(n)&&t.push(n.dsId),!0)),t},pl=e=>{let t;const n=[],o=[];if(e.walkParents(s=>{if(s.dsId===e.dsId)return!0;const i=s;return at(i)?(t=i,o.push(t),!0):(Ho(i)&&n.push(i),!0)}),!t)throw console.log("node:",e),console.log("parent:",e.parent),an.PARENT_NOT_GROUP;return{oldestGroup:t,selectionableParentsWithSubmenu:n,groupParents:o}},ml=e=>{const t=[],n=[];return e.walk(o=>{if(o.dsId===e.dsId)return!0;const s=o;return Lt(s)&&(t.push(s),rt(s)&&n.push(s)),!0}),{selectionableChilrens:t,multiSelectionableChilrens:n}},cn=({itemNode:e,selectedNodes:t})=>{if(t.length===0)return!1;const{multiSelectionableChilrens:n}=ml(e),o=[];let s=!1;return t.forEach(i=>{i.dsId===e.dsId&&(s=!0),rt(i)&&n.some(r=>r.dsId===i.dsId)&&o.push(i)}),s?n.length===0?!0:o.length===0?!1:o.length!==n.length?"mixed":!0:!1},hl=(e,t)=>{const n=e.find(c=>c.dsId===t.dsId)??!1;let o=n?e.filter(({dsId:c})=>c!==t.dsId):[...e,t];const s=[],i=[],r=[];return t.walkParents(c=>{if(c.dsId===t.dsId)return!0;const u=c;return He(u)&&(o.find(m=>m.dsId===u.dsId)?(i.push(u),cn({itemNode:u,selectedNodes:o})===!1&&r.push(u)):s.push(u)),!0}),n?o=o.filter(({dsId:c})=>!r.some(u=>u.dsId===c)):o.push(...s),o},fl=(e,t)=>{const o=cn({itemNode:t,selectedNodes:e})===!0;let s=o?e.filter(({dsId:u})=>u!==t.dsId):[...e,t];t.walk(u=>{const p=u;return o?s=s.filter(({dsId:m})=>m!==p.dsId):rt(p)&&!s.find(m=>m.dsId===p.dsId)&&s.push(p),!0});const i=[],r=[],c=[];return t.walkParents(u=>{if(u.dsId===t.dsId)return!0;const p=u;return He(p)&&(s.find(h=>h.dsId===p.dsId)?(r.push(p),cn({itemNode:p,selectedNodes:s})===!1&&c.push(p)):i.push(p)),!0}),o?s=s.filter(({dsId:u})=>!c.some(p=>p.dsId===u)):s.push(...i),s},Qo=(e,t)=>{if(Un(t))return hl(e,t);if(He(t))return fl(e,t);throw console.log(t),dt.CALCULATING_MULTI_SELECTION_OF_NON_MULTI_SELECTION_NODE},Zo=["right-start","right-start","right","left-start","left-end","left"],bl=a.memo(({isSelected:e})=>(0,d.jsx)(H.Ay,{width:"16px",children:e?e==="mixed"?(0,d.jsx)(cl,{size:"s",color:["brand-primary","600"]}):(0,d.jsx)(Zt,{size:"s",color:["brand-primary","600"]}):(0,d.jsx)("div",{})})),gl=({itemNode:e,FlyoutMenuCircularDepInject:t})=>{const{dsId:n,plainItem:o}=e,{label:s,secondaryLabel:i,leftDecoration:r,minWidth:c,disabled:u}=o,{focusRegion:p,propsWithDefault:m,openedSubItems:h,menuItemEventsHandlers:{handleFocusableMenuItemKeyDown:f,handleFocusableMenuItemClick:b,handleFocusableMenuItemOnMouseEnter:S,handleFocusableMenuItemNativeFocusEvent:y}}=a.useContext(ge),{selectedNodes:g}=m,{ownerProps:{getOwnerProps:x}}=a.useContext(Ie),I=a.useMemo(()=>{const T=r?["min-content","min-content","auto"]:["min-content","auto"];return i&&T.push("auto"),T.push("min-content"),T},[r,i]),A=a.useRef(p);A.current=p;const O=h.some(T=>T.dsId===n),v=p===G.ITEM_BY_DSID(n),_=a.useMemo(()=>cn({itemNode:e,selectedNodes:g}),[e,g]),M=(0,pe.N)({placement:Zo[0],placementOrderPreference:Zo,animationDuration:100,customOffset:[0,0],externallyControlledIsOpen:O}),{refs:{setReference:L}}=M,k=a.useCallback(T=>{L(T),T&&p===G.ITEM_BY_DSID(n)&&ke(T)},[n,p,L]),j=a.useCallback(()=>{S(e)},[S,e]),R=a.useCallback(T=>{y(e,T)},[y,e]),w=a.useCallback(()=>o,[o]),P=`ds-menu-item-${`${n}`.replace(/\s/g,"")}`;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(N.mO,{innerRef:k,onKeyDown:f,onClick:b,onMouseEnter:j,onFocus:R,as:"div",id:`${P}`,tabIndex:v?0:-1,role:"menuitemcheckbox","aria-checked":_,"aria-controls":O?e.plainChildren.map(T=>`ds-menu-item-${`${T.dsId}`.replace(/\s/g,"")}`).join(" "):void 0,"aria-haspopup":"menu","aria-expanded":O,"aria-disabled":u,applyAriaDisabled:u,getOwnerProps:x,getOwnerPropsArguments:w,children:(0,d.jsxs)(N.iB,{cols:I,minHeight:"16px",gutter:"xxs",alignItems:"center",minWidth:c??void 0,getOwnerProps:x,getOwnerPropsArguments:w,children:[(0,d.jsx)(bl,{isSelected:_}),r?(0,d.jsx)(r,{}):null,(0,d.jsx)(N.MB,{getOwnerProps:x,getOwnerPropsArguments:w,children:s}),i!==void 0&&(0,d.jsx)(N.Aw,{getOwnerProps:x,getOwnerPropsArguments:w,disabled:u,children:i}),(0,d.jsx)(qn,{})]})}),(0,d.jsx)(t,{isMenuOpen:O,floatingContext:M.context,floatingStyles:M.floatingStyles,setFloatingRef:M.refs.setFloating,itemNode:e})]})},yl=(0,C.I)("div")`
|
|
184
184
|
width: 8px;
|
|
185
185
|
height: 8px;
|
|
186
186
|
border-radius: 50%;
|
|
@@ -530,7 +530,7 @@ You must provide onItemSelected and selectedNodes to handle selection.`)},[t,n,o
|
|
|
530
530
|
margin-top: ${e=>bs(e["data-placement"])?`-${Bt/2}rem`:"0"};
|
|
531
531
|
}
|
|
532
532
|
`,Ma=(0,C.I)("path",{name:ct.Wf,slot:ct.qz.ARROW_SHADOW})``,Ra=(0,C.I)("path",{name:ct.Wf,slot:ct.qz.ARROW_FILL})``,_a=({placement:e,style:t,arrowElementRef:n,...o})=>{const s=(0,z.j)(o),i=(0,V.u)(o),r=(0,X.d)(o);return(0,d.jsx)(Da,{"data-placement":e,style:t,innerRef:n,"data-testid":"ds-tooltip-arrow","aria-hidden":"true",...s,...i,...r,children:(0,d.jsxs)("svg",{viewBox:"0 0 30 30",children:[(0,d.jsx)(Ma,{...s,className:"stroke",d:`M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26
|
|
533
|
-
C26.7,29,24.6,28.1,23.7,27.1z`}),(0,d.jsx)(Ra,{...s,className:"fill",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})]})},"popper-arrow")},ka=["top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Na=["left","right","center","justify","initial","inherit"],Ne="DSTooltipv3",ut={ROOT:"root",TOOLTIP_CONTAINER:"tooltip-container",TOOLTIP_TEXT:"tooltip-text",MOUSE_OVER_DETECTION_BOX:"mouse-over-detection-box"},pt={...(0,de.lD)(Ne,ut),ROOT:"ds-tooltip-v3-trigger-wrapper",TOOLTIP_CONTAINER:"ds-tooltip-v3-tooltip-text-wrapper",TOOLTIP_TEXT:"ds-tooltip-v3-opinionated-text-wrapper"},zc={TRIGGER_WRAPPER:pt.ROOT,TOOLTIP_TEXT_WRAPPER:pt.TOOLTIP_CONTAINER,OPINIONATED_TEXT_WRAPPER:pt.TOOLTIP_TEXT},Gc=
|
|
533
|
+
C26.7,29,24.6,28.1,23.7,27.1z`}),(0,d.jsx)(Ra,{...s,className:"fill",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})]})},"popper-arrow")},ka=["top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Na=["left","right","center","justify","initial","inherit"],Ne="DSTooltipv3",ut={ROOT:"root",TOOLTIP_CONTAINER:"tooltip-container",TOOLTIP_TEXT:"tooltip-text",MOUSE_OVER_DETECTION_BOX:"mouse-over-detection-box"},pt={...(0,de.lD)(Ne,ut),ROOT:"ds-tooltip-v3-trigger-wrapper",TOOLTIP_CONTAINER:"ds-tooltip-v3-tooltip-text-wrapper",TOOLTIP_TEXT:"ds-tooltip-v3-opinionated-text-wrapper"},zc={TRIGGER_WRAPPER:pt.ROOT,TOOLTIP_TEXT_WRAPPER:pt.TOOLTIP_CONTAINER,OPINIONATED_TEXT_WRAPPER:pt.TOOLTIP_TEXT},Gc=null,gs={...(0,_e.Y)(Ne,ut),text:l.A.string.description("Tooltip text to be displayed on hover/focus. If both `text` and `Text` are provided, only `Text` will take precedence.").isRequiredIf(e=>!e.Text),textAlign:l.A.oneOf(Na).description("Tooltip text alignment").defaultValue("left"),applyTooltipOverflowWrap:l.A.bool.description("when a tooltip is present, the tooltip text may be too long to fit in the pill. If true, the tooltip will wrap to the next line using overflow-wrap").defaultValue(!1),wrapWords:l.A.bool.description("Break words into a new line. Useful when words exceed tooltip max-lenght.").defaultValue(!1),children:l.A.node.description("Element to tie the tooltip to, must be a single node").isRequired,withoutPortal:l.A.bool.description("Whether or not the tooltip content should appear in a DOM portal or not").defaultValue(!0),withoutArrow:l.A.bool.description("Whether or not the tooltip should use the arrow").defaultValue(!1),withoutAnimation:l.A.bool.description("Whether or not the popper context menu should be animated").defaultValue(!1),animationDuration:l.A.number.description("Popper context menus Animation duration in ms").defaultValue(100),portalDOMContainer:l.A.oneOfType([l.A.node,l.A.oneOf([null])]).description("When using portal, the container in which to append the DOM content, defaults to document body").defaultValue(void 0),startPlacementPreference:l.A.oneOf(ka).description("start placement preferences, as per popperjs placement option").defaultValue("'top'"),customOffset:l.A.arrayOf(l.A.number).description("placement offset array").defaultValue([0,14]),id:l.A.string.description("Optional id appended to data-testid").defaultValue(""),onOpen:l.A.func.description("Optional callback to be invoked when the tooltip opens").defaultValue("() => {}"),onClose:l.A.func.description("Optional callback to be invoked when the tooltip closes").defaultValue("() => {}"),showPopover:l.A.bool.description("Whether or not the tooltip should be always shown"),Text:l.A.func.description("Custom component to be displayed in the tooltip, will receive textProps as props. If both `text` and `Text` are provided, only `Text` will take precedence.").isRequiredIf(e=>!e.text),textProps:l.A.object.description("Props to be passed to the custom Text component, if provided, used mainly to avoiding inline components definition to improve performance")},La=gs,ja=(0,C.I)("div",{name:Ne,slot:ut.TOOLTIP_CONTAINER})`
|
|
534
534
|
text-align: center;
|
|
535
535
|
min-width: ${({theme:e})=>e.space.l};
|
|
536
536
|
max-width: 250px;
|
|
@@ -689,4 +689,4 @@ You must provide onItemSelected and selectedNodes to handle selection.`)},[t,n,o
|
|
|
689
689
|
cursor: ${({disabled:e})=>e?"not-allowed":"default"};
|
|
690
690
|
cursor: ${({applyAriaDisabled:e})=>e?"not-allowed":"default"};
|
|
691
691
|
overflow: auto;
|
|
692
|
-
`,dc=()=>{const{props:e,internalRef:t,setMenuState:n,menuState:o}=(0,a.useContext)(ie),{inline:s,startPlacementPreference:i,placementOrderPreference:r,isLoading:c,isSkeleton:u,applyAriaDisabled:p,popperProps:m}=e,h=(0,V.u)(e),{zIndex:f,...b}=(0,X.d)(e),{getOwnerProps:S,getOwnerPropsArguments:y}=(0,z.j)(e),g=f?parseInt(f,10):void 0,{className:x,"data-testid":I}=h,A=(0,a.useCallback)(j=>{j.preventDefault()},[]),O=(0,a.useCallback)(()=>{n(!1,"blur"),t?.current&&t.current.blur()},[t,n]);(0,a.useEffect)(()=>{const j=()=>{o&&n(!1,"blur")};return window.addEventListener("blur",j),()=>{window.removeEventListener("blur",j)}},[o,n]);const v=(0,a.useMemo)(()=>({placement:i,withoutAnimation:!0,placementOrderPreference:r,zIndex:g,customOffset:[0,5],handleCloseMenu:O,externallyControlledIsOpen:o}),[i,r,g,O,o]),{refs:_,floatingStyles:M,context:L}=(0,pe.N)(v),k=(0,a.useCallback)(()=>{n(!1,"blur")},[n]);return xt(_.reference,k,_.floating),(0,d.jsxs)(lc,{"data-testid":I??te.CONTAINER,innerRef:_.setReference,className:x,applyAriaDisabled:p,...b,getOwnerProps:S,getOwnerPropsArguments:y,children:[(0,d.jsx)(fd,{}),(0,d.jsx)(hd,{}),o&&s?(0,d.jsx)(Es,{}):null,o&&!s&&_.reference?(0,a.createElement)(ve.M,{innerRef:_.setFloating,floatingStyles:M,isOpen:o,context:L,...m,key:`${c}${u}`},(0,d.jsx)(ac,{tabIndex:-1,onMouseDown:A,applyAriaDisabled:p,children:(0,d.jsx)(Es,{})})):null]})},nu={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,width:"1px",position:"absolute"},lo=e=>{const t=Me(e);return(0,d.jsxs)(fe.Provider,{value:t,children:[(0,d.jsx)(dc,{}),(0,d.jsx)(bd,{message:e.isLoading||e.isSkeleton?"Loading options please wait":""})]})};lo.displayName="DSComboBox";const cc=(0,D.A)(lo);cc.propTypes=Ye},"./node_modules/.pnpm/@elliemae+ds-legacy-common@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-common/dist/esm/Input/DSInput.js"(co,bt,E){E.d(bt,{_C:()=>yt});var a=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),D=E("./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"),fe=E("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/lodash.js"),ie=E("./node_modules/.pnpm/@elliemae+ds-legacy-classnames@1.0.16_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-classnames/dist/esm/aggregatedClasses.js"),q=E("./node_modules/.pnpm/@elliemae+ds-legacy-icons@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-icons/dist/esm/utils/createIcon.js"),K=(0,q.w)({paths:["M15 10.5c0 3.038-2.462 5.5-5.5 5.5S4 13.538 4 10.5 6.462 5 9.5 5 15 7.462 15 10.5zm-2.672-2.121l-.707-.707L9.5 9.793 7.379 7.672l-.707.707L8.793 10.5l-2.121 2.121.707.707L9.5 11.207l2.121 2.121.707-.707-2.121-2.121 2.121-2.121z"],height:20,width:20}),ne=E("./node_modules/.pnpm/@elliemae+ds-legacy-button-v1@1.0.16_@elliemae+pui-theme@2.13.0_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-button-v1/dist/esm/DSButton.js"),Z=E("./node_modules/.pnpm/@elliemae+ds-legacy-tooltip@1.0.16_@elliemae+pui-theme@2.13.0_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-tooltip/dist/esm/v1/DSTooltip.js");const oe="input-addon-wrapper",l=(0,ie.A)("div")(oe),yn=(0,ie.A)("span")(oe,"addon",({left:re,right:$,variant:F,hasError:U})=>({left:re,right:$,error:U,[F]:F}));class Ut extends a.Component{constructor($){super($),this.renderAddonComponent=this.renderAddonComponent.bind(this),this.getLeftAddon=this.getLeftAddon.bind(this),this.getRightAddon=this.getRightAddon.bind(this)}getLeftAddon($){return this.renderAddonComponent(!0,$)}getRightAddon($){return this.renderAddonComponent(!1,$)}renderAddonComponent($=!0,F){if(!F||Array.isArray(F)&&!F.filter(ae=>ae).length)return null;const{containerProps:U,hasError:J}=this.props,ee=$?{left:!0}:{right:!0};return(0,d.jsx)(yn,{classProps:ee,hasError:J,...U,children:F.map((ae,ye)=>ae&&a.cloneElement(ae,{...ae.props,key:ye}))})}render(){const{className:$,innerRef:F,rightComponents:U,leftComponents:J,children:ee,variant:ae,containerProps:ye}=this.props,De=a.Children.only(ee),{hasError:je,readOnly:Me,disabled:pe}=De.props,ve=this.getRightAddon([...U]),V=this.getLeftAddon([...J]);return(0,d.jsxs)(l,{className:$,classProps:{hasError:je,readOnly:Me,disabled:pe,variant:ae},innerRef:F,...ye,children:[V,De,ve]})}}Ut.defaultProps={rightComponents:[],leftComponents:[],containerProps:{}};var xn=null;const Ye="input",Xe=(0,ie.A)("input")(Ye,null,({clearable:re,value:$})=>({clearable:re,value:$})),qe=(0,ie.A)("div")(Ye,"tooltip-ref"),ue=(0,ie.A)("div")(Ye,null,({clearable:re,value:$})=>({clearable:re,value:$})),zt=(0,ie.A)(ne.IF)(Ye,"clearable"),Ae=re=>re,gt=()=>null;class Gt extends a.Component{constructor($){super($),this.handleOnChange=F=>{const{onChange:U,max:J}=this.props,{value:ee}=F.target;J&&ee>J||(U&&U(F),this.ref.current&&this.setState({isEllipsisOn:this.ref.current.offsetWidth<this.ref.current.scrollWidth}))},this.handleBlur=F=>{const{onBlur:U,onChange:J,min:ee}=this.props,{value:ae}=F.target;ee&&ae<ee&&ae!==""&&J({target:{value:ee.toString()}}),U(F),this.setState({active:!1})},this.handleFocus=F=>{const{onFocus:U}=this.props;U(F),this.setState({active:!0})},this.handleMouseEnter=()=>{this.state.showTooltip||this.setState({showTooltip:!0})},this.handleMouseLeave=()=>{this.state.showTooltip&&this.setState({showTooltip:!1})},this.setWidth=()=>{const F=this.refTooltip.current.getBoundingClientRect();this.setState({width:F.width})},this.handleClear=()=>{const{onClear:F,onChange:U,clearable:J}=this.props;J&&F?F():U({target:{value:""}}),(this.ref||{}).current&&this.ref.current.focus()},this.state={width:-1,isEllipsisOn:!1,active:!1,showTooltip:!1},this.ref=a.createRef(),this.refTooltip=a.createRef(),this.renderClearableComponent=this.renderClearableComponent.bind(this)}componentDidMount(){this.setWidth(),window.addEventListener("resize",this.setWidth),this.setState({isEllipsisOn:this.ref.current?this.ref.current.offsetWidth<this.ref.current.scrollWidth:!1})}componentWillUnmount(){window.removeEventListener("resize",this.setWidth)}renderClearableComponent(){const{clearable:$,value:F,disabled:U}=this.props;return U?null:$&&F?(0,d.jsx)(zt,{buttonType:"text","data-testid":"ds-input_clearable-btn",disabled:U,icon:(0,d.jsx)(K,{}),onClick:this.handleClear}):null}render(){const{role:$,id:F,isShowElipsisActive:U,autoFocus:J,className:ee,name:ae,innerRef:ye,maxLength:De,minLength:je,placeholder:Me,leftComponent:pe,rightComponent:ve,disableTooltip:V,readOnly:X,disabled:z,value:te,onClick:xt,onChange:We,onKeyDown:Qe,onKeyUp:C,onFocus:It,onBlur:St,onPaste:At,required:Ze,type:Re,customInputType:Ot,min:On,max:Tn,clearable:Tt,onMouseLeave:Je,onMouseOut:wn,style:vn,containerProps:wt,tabIndex:Pn,hasError:vt,...de}=this.props,{width:me,active:he,showTooltip:po,isEllipsisOn:Cn}=this.state,Kt=[this.renderClearableComponent(),ve].filter(Ae),Q=[pe].filter(Ae),Pt={"aria-label":de["aria-label"],"aria-invalid":de["aria-invalid"],"aria-placeholder":Me,"aria-required":Ze,"aria-multiline":!1,"aria-autocomplete":"none","data-testid":de["data-testid"],"aria-describedby":de["aria-describedby"],role:$,id:F,innerRef:Pe=>{this.ref={current:Pe},ye&&(typeof ye=="function"?ye(Pe):ye.current=Pe)},className:ee,autoFocus:J,disabled:z,maxLength:De,minLength:je,name:ae,onBlur:St,onChange:We,onClick:xt,onFocus:It,onKeyDown:Qe,onKeyUp:C,onPaste:At,onMouseLeave:Je,disableTooltip:V,onMouseOut:wn,placeholder:Me,required:Ze,type:Re,value:te,min:On,max:Tn,style:vn,tabIndex:Pn,readOnly:X,...wt};let ce=(0,d.jsx)(qe,{ref:this.refTooltip,style:{width:"100%"},children:Ot?(0,d.jsx)(ue,{className:ee,...wt,clearable:Tt,value:te,children:Ot({...Pt})}):(0,d.jsx)(Xe,{...(0,fe.omit)(Pt,["disableTooltip"]),autoComplete:"off",clearable:`${Tt}`,onChange:this.handleOnChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onMouseOver:this.handleMouseEnter,onMouseOut:this.handleMouseLeave,value:te})});return U&&(ce=(0,d.jsx)(Z.n_,{isOpen:!V&&Cn&&!he&&po&&me,title:String(te),zIndex:11,triggerComponent:(0,d.jsx)(qe,{style:{width:"100%"},children:ce})})),Kt.length||Q.length||Tt?(0,d.jsx)(Ut,{className:ee,leftComponents:Q,rightComponents:Kt,hasError:vt,...wt,children:ce}):ce}}Gt.defaultProps={onBlur:gt,onFocus:gt};const In={className:D.string,customInputType:D.func,id:D.oneOfType([D.string,D.number]),isShowElipsisActive:D.bool,max:D.oneOfType([D.string,D.number]),min:D.oneOfType([D.string,D.number]),name:D.string,onBlur:D.func,onChange:D.func,onClick:D.func,onFocus:D.func,onKeyDown:D.func,onKeyUp:D.func,onMouseLeave:D.func,onMouseOut:D.func,onPaste:D.func,onClear:D.func,placeholder:D.string,required:D.bool,role:D.string,innerRef:D.oneOfType([D.func,D.shape({current:D.any})]),maxLength:D.number,minLength:D.number,leftComponent:D.element,rightComponent:D.element,hasError:D.bool,disableTooltip:D.bool,readOnly:D.bool,disabled:D.bool,autoFocus:D.bool,type:D.string,clearable:D.bool,containerProps:D.object,style:D.object,tabIndex:D.oneOfType([D.string,D.number]),value(re,$,F){if(re.isShowElipsisActive&&typeof re[$]!="string")return new Error(`Invalid prop \`${$}\` of type \`${typeof re[$]}\` supplied to \`${F}\`. Prop \`value\` should be of type \`string\` if prop \`isShowElipsisActive\` is set to \`true\`. Either set \`isShowElipsisActive\` to \`false\`, or properly format your \`value\` prop to \`string\`.`)}};Gt.propTypes=In;var Sn=null,An=E("./node_modules/.pnpm/@elliemae+ds-legacy-props-helpers@1.0.16_@elliemae+pui-theme@2.7.0_react-dom@17.0.2_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-props-helpers/dist/esm/useDeprecateComponent/index.js");const yt=({containerProps:re={},id:$,autoFocus:F=!1,disabled:U=!1,className:J="",clearable:ee=!1,name:ae="",maxLength:ye=255,minLength:De=0,fluidWidth:je=!1,disableTooltip:Me=!0,placeholder:pe,value:ve="",hasError:V=!1,readOnly:X=!1,innerRef:z=null,type:te="text",min:xt=void 0,max:We=void 0,leftComponent:Qe=null,rightComponent:C=null,required:It=!1,customInputType:St=null,variant:At,isShowElipsisActive:Ze=!0,...Re})=>((0,An.y)({componentName:"ds-form/Input",version:"3.x Date: 2023 Q1"}),(0,d.jsx)(Gt,{...Re,"aria-label":Re["aria-label"],"aria-describedby":Re["aria-describedby"],autoFocus:F,className:`${J} ${U?"input-disabled":""}${X?"read-only":""}`,clearable:ee,containerProps:re,customInputType:St,"data-testid":Re["data-testid"]||"ds-input_main-component",disabled:U,disableTooltip:Me,fluidWidth:je,hasError:V,id:$,innerRef:z,isShowElipsisActive:Ze,leftComponent:Qe,max:We,maxLength:ye,min:xt,minLength:De,name:ae,placeholder:pe,readOnly:X,required:It,rightComponent:C,type:te,value:ve,variant:At}));var uo=null},"./node_modules/.pnpm/@elliemae+ds-legacy-icons@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-icons/dist/esm/utils/createIcon.js"(co,bt,E){E.d(bt,{w:()=>fe});var a=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),D=E("./node_modules/.pnpm/@elliemae+ds-legacy-icons@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-icons/dist/esm/utils/SvgIcon.js");const fe=({containerProps:q={},paths:K,height:ne,width:Z})=>l=>(0,d.jsx)(D.Ah,{...l,...q,paths:K,viewBox:`0 0 ${Z} ${ne}`});var ie=null}}]);
|
|
692
|
+
`,dc=()=>{const{props:e,internalRef:t,setMenuState:n,menuState:o}=(0,a.useContext)(ie),{inline:s,startPlacementPreference:i,placementOrderPreference:r,isLoading:c,isSkeleton:u,applyAriaDisabled:p,popperProps:m}=e,h=(0,V.u)(e),{zIndex:f,...b}=(0,X.d)(e),{getOwnerProps:S,getOwnerPropsArguments:y}=(0,z.j)(e),g=f?parseInt(f,10):void 0,{className:x,"data-testid":I}=h,A=(0,a.useCallback)(j=>{j.preventDefault()},[]),O=(0,a.useCallback)(()=>{n(!1,"blur"),t?.current&&t.current.blur()},[t,n]);(0,a.useEffect)(()=>{const j=()=>{o&&n(!1,"blur")};return window.addEventListener("blur",j),()=>{window.removeEventListener("blur",j)}},[o,n]);const v=(0,a.useMemo)(()=>({placement:i,withoutAnimation:!0,placementOrderPreference:r,zIndex:g,customOffset:[0,5],handleCloseMenu:O,externallyControlledIsOpen:o}),[i,r,g,O,o]),{refs:_,floatingStyles:M,context:L}=(0,pe.N)(v),k=(0,a.useCallback)(()=>{n(!1,"blur")},[n]);return xt(_.reference,k,_.floating),(0,d.jsxs)(lc,{"data-testid":I??te.CONTAINER,innerRef:_.setReference,className:x,applyAriaDisabled:p,...b,getOwnerProps:S,getOwnerPropsArguments:y,children:[(0,d.jsx)(fd,{}),(0,d.jsx)(hd,{}),o&&s?(0,d.jsx)(Es,{}):null,o&&!s&&_.reference?(0,a.createElement)(ve.M,{innerRef:_.setFloating,floatingStyles:M,isOpen:o,context:L,...m,key:`${c}${u}`},(0,d.jsx)(ac,{tabIndex:-1,onMouseDown:A,applyAriaDisabled:p,children:(0,d.jsx)(Es,{})})):null]})},nu=null,lo=e=>{const t=Me(e);return(0,d.jsxs)(fe.Provider,{value:t,children:[(0,d.jsx)(dc,{}),(0,d.jsx)(bd,{message:e.isLoading||e.isSkeleton?"Loading options please wait":""})]})};lo.displayName="DSComboBox";const cc=(0,D.A)(lo);cc.propTypes=Ye},"./node_modules/.pnpm/@elliemae+ds-legacy-common@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-common/dist/esm/Input/DSInput.js"(co,bt,E){E.d(bt,{_C:()=>yt});var a=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),D=E("./node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js"),fe=E("./node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/lodash.js"),ie=E("./node_modules/.pnpm/@elliemae+ds-legacy-classnames@1.0.16_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-classnames/dist/esm/aggregatedClasses.js"),q=E("./node_modules/.pnpm/@elliemae+ds-legacy-icons@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-icons/dist/esm/utils/createIcon.js"),K=(0,q.w)({paths:["M15 10.5c0 3.038-2.462 5.5-5.5 5.5S4 13.538 4 10.5 6.462 5 9.5 5 15 7.462 15 10.5zm-2.672-2.121l-.707-.707L9.5 9.793 7.379 7.672l-.707.707L8.793 10.5l-2.121 2.121.707.707L9.5 11.207l2.121 2.121.707-.707-2.121-2.121 2.121-2.121z"],height:20,width:20}),ne=E("./node_modules/.pnpm/@elliemae+ds-legacy-button-v1@1.0.16_@elliemae+pui-theme@2.13.0_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-button-v1/dist/esm/DSButton.js"),Z=E("./node_modules/.pnpm/@elliemae+ds-legacy-tooltip@1.0.16_@elliemae+pui-theme@2.13.0_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-tooltip/dist/esm/v1/DSTooltip.js");const oe="input-addon-wrapper",l=(0,ie.A)("div")(oe),yn=(0,ie.A)("span")(oe,"addon",({left:re,right:$,variant:F,hasError:U})=>({left:re,right:$,error:U,[F]:F}));class Ut extends a.Component{constructor($){super($),this.renderAddonComponent=this.renderAddonComponent.bind(this),this.getLeftAddon=this.getLeftAddon.bind(this),this.getRightAddon=this.getRightAddon.bind(this)}getLeftAddon($){return this.renderAddonComponent(!0,$)}getRightAddon($){return this.renderAddonComponent(!1,$)}renderAddonComponent($=!0,F){if(!F||Array.isArray(F)&&!F.filter(ae=>ae).length)return null;const{containerProps:U,hasError:J}=this.props,ee=$?{left:!0}:{right:!0};return(0,d.jsx)(yn,{classProps:ee,hasError:J,...U,children:F.map((ae,ye)=>ae&&a.cloneElement(ae,{...ae.props,key:ye}))})}render(){const{className:$,innerRef:F,rightComponents:U,leftComponents:J,children:ee,variant:ae,containerProps:ye}=this.props,De=a.Children.only(ee),{hasError:je,readOnly:Me,disabled:pe}=De.props,ve=this.getRightAddon([...U]),V=this.getLeftAddon([...J]);return(0,d.jsxs)(l,{className:$,classProps:{hasError:je,readOnly:Me,disabled:pe,variant:ae},innerRef:F,...ye,children:[V,De,ve]})}}Ut.defaultProps={rightComponents:[],leftComponents:[],containerProps:{}};var xn=null;const Ye="input",Xe=(0,ie.A)("input")(Ye,null,({clearable:re,value:$})=>({clearable:re,value:$})),qe=(0,ie.A)("div")(Ye,"tooltip-ref"),ue=(0,ie.A)("div")(Ye,null,({clearable:re,value:$})=>({clearable:re,value:$})),zt=(0,ie.A)(ne.IF)(Ye,"clearable"),Ae=re=>re,gt=()=>null;class Gt extends a.Component{constructor($){super($),this.handleOnChange=F=>{const{onChange:U,max:J}=this.props,{value:ee}=F.target;J&&ee>J||(U&&U(F),this.ref.current&&this.setState({isEllipsisOn:this.ref.current.offsetWidth<this.ref.current.scrollWidth}))},this.handleBlur=F=>{const{onBlur:U,onChange:J,min:ee}=this.props,{value:ae}=F.target;ee&&ae<ee&&ae!==""&&J({target:{value:ee.toString()}}),U(F),this.setState({active:!1})},this.handleFocus=F=>{const{onFocus:U}=this.props;U(F),this.setState({active:!0})},this.handleMouseEnter=()=>{this.state.showTooltip||this.setState({showTooltip:!0})},this.handleMouseLeave=()=>{this.state.showTooltip&&this.setState({showTooltip:!1})},this.setWidth=()=>{const F=this.refTooltip.current.getBoundingClientRect();this.setState({width:F.width})},this.handleClear=()=>{const{onClear:F,onChange:U,clearable:J}=this.props;J&&F?F():U({target:{value:""}}),(this.ref||{}).current&&this.ref.current.focus()},this.state={width:-1,isEllipsisOn:!1,active:!1,showTooltip:!1},this.ref=a.createRef(),this.refTooltip=a.createRef(),this.renderClearableComponent=this.renderClearableComponent.bind(this)}componentDidMount(){this.setWidth(),window.addEventListener("resize",this.setWidth),this.setState({isEllipsisOn:this.ref.current?this.ref.current.offsetWidth<this.ref.current.scrollWidth:!1})}componentWillUnmount(){window.removeEventListener("resize",this.setWidth)}renderClearableComponent(){const{clearable:$,value:F,disabled:U}=this.props;return U?null:$&&F?(0,d.jsx)(zt,{buttonType:"text","data-testid":"ds-input_clearable-btn",disabled:U,icon:(0,d.jsx)(K,{}),onClick:this.handleClear}):null}render(){const{role:$,id:F,isShowElipsisActive:U,autoFocus:J,className:ee,name:ae,innerRef:ye,maxLength:De,minLength:je,placeholder:Me,leftComponent:pe,rightComponent:ve,disableTooltip:V,readOnly:X,disabled:z,value:te,onClick:xt,onChange:We,onKeyDown:Qe,onKeyUp:C,onFocus:It,onBlur:St,onPaste:At,required:Ze,type:Re,customInputType:Ot,min:On,max:Tn,clearable:Tt,onMouseLeave:Je,onMouseOut:wn,style:vn,containerProps:wt,tabIndex:Pn,hasError:vt,...de}=this.props,{width:me,active:he,showTooltip:po,isEllipsisOn:Cn}=this.state,Kt=[this.renderClearableComponent(),ve].filter(Ae),Q=[pe].filter(Ae),Pt={"aria-label":de["aria-label"],"aria-invalid":de["aria-invalid"],"aria-placeholder":Me,"aria-required":Ze,"aria-multiline":!1,"aria-autocomplete":"none","data-testid":de["data-testid"],"aria-describedby":de["aria-describedby"],role:$,id:F,innerRef:Pe=>{this.ref={current:Pe},ye&&(typeof ye=="function"?ye(Pe):ye.current=Pe)},className:ee,autoFocus:J,disabled:z,maxLength:De,minLength:je,name:ae,onBlur:St,onChange:We,onClick:xt,onFocus:It,onKeyDown:Qe,onKeyUp:C,onPaste:At,onMouseLeave:Je,disableTooltip:V,onMouseOut:wn,placeholder:Me,required:Ze,type:Re,value:te,min:On,max:Tn,style:vn,tabIndex:Pn,readOnly:X,...wt};let ce=(0,d.jsx)(qe,{ref:this.refTooltip,style:{width:"100%"},children:Ot?(0,d.jsx)(ue,{className:ee,...wt,clearable:Tt,value:te,children:Ot({...Pt})}):(0,d.jsx)(Xe,{...(0,fe.omit)(Pt,["disableTooltip"]),autoComplete:"off",clearable:`${Tt}`,onChange:this.handleOnChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onMouseOver:this.handleMouseEnter,onMouseOut:this.handleMouseLeave,value:te})});return U&&(ce=(0,d.jsx)(Z.n_,{isOpen:!V&&Cn&&!he&&po&&me,title:String(te),zIndex:11,triggerComponent:(0,d.jsx)(qe,{style:{width:"100%"},children:ce})})),Kt.length||Q.length||Tt?(0,d.jsx)(Ut,{className:ee,leftComponents:Q,rightComponents:Kt,hasError:vt,...wt,children:ce}):ce}}Gt.defaultProps={onBlur:gt,onFocus:gt};const In={className:D.string,customInputType:D.func,id:D.oneOfType([D.string,D.number]),isShowElipsisActive:D.bool,max:D.oneOfType([D.string,D.number]),min:D.oneOfType([D.string,D.number]),name:D.string,onBlur:D.func,onChange:D.func,onClick:D.func,onFocus:D.func,onKeyDown:D.func,onKeyUp:D.func,onMouseLeave:D.func,onMouseOut:D.func,onPaste:D.func,onClear:D.func,placeholder:D.string,required:D.bool,role:D.string,innerRef:D.oneOfType([D.func,D.shape({current:D.any})]),maxLength:D.number,minLength:D.number,leftComponent:D.element,rightComponent:D.element,hasError:D.bool,disableTooltip:D.bool,readOnly:D.bool,disabled:D.bool,autoFocus:D.bool,type:D.string,clearable:D.bool,containerProps:D.object,style:D.object,tabIndex:D.oneOfType([D.string,D.number]),value(re,$,F){if(re.isShowElipsisActive&&typeof re[$]!="string")return new Error(`Invalid prop \`${$}\` of type \`${typeof re[$]}\` supplied to \`${F}\`. Prop \`value\` should be of type \`string\` if prop \`isShowElipsisActive\` is set to \`true\`. Either set \`isShowElipsisActive\` to \`false\`, or properly format your \`value\` prop to \`string\`.`)}};Gt.propTypes=In;var Sn=null,An=E("./node_modules/.pnpm/@elliemae+ds-legacy-props-helpers@1.0.16_@elliemae+pui-theme@2.7.0_react-dom@17.0.2_styled-components@5.3.11/node_modules/@elliemae/ds-legacy-props-helpers/dist/esm/useDeprecateComponent/index.js");const yt=({containerProps:re={},id:$,autoFocus:F=!1,disabled:U=!1,className:J="",clearable:ee=!1,name:ae="",maxLength:ye=255,minLength:De=0,fluidWidth:je=!1,disableTooltip:Me=!0,placeholder:pe,value:ve="",hasError:V=!1,readOnly:X=!1,innerRef:z=null,type:te="text",min:xt=void 0,max:We=void 0,leftComponent:Qe=null,rightComponent:C=null,required:It=!1,customInputType:St=null,variant:At,isShowElipsisActive:Ze=!0,...Re})=>((0,An.y)({componentName:"ds-form/Input",version:"3.x Date: 2023 Q1"}),(0,d.jsx)(Gt,{...Re,"aria-label":Re["aria-label"],"aria-describedby":Re["aria-describedby"],autoFocus:F,className:`${J} ${U?"input-disabled":""}${X?"read-only":""}`,clearable:ee,containerProps:re,customInputType:St,"data-testid":Re["data-testid"]||"ds-input_main-component",disabled:U,disableTooltip:Me,fluidWidth:je,hasError:V,id:$,innerRef:z,isShowElipsisActive:Ze,leftComponent:Qe,max:We,maxLength:ye,min:xt,minLength:De,name:ae,placeholder:pe,readOnly:X,required:It,rightComponent:C,type:te,value:ve,variant:At}));var uo=null},"./node_modules/.pnpm/@elliemae+ds-legacy-icons@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-icons/dist/esm/utils/createIcon.js"(co,bt,E){E.d(bt,{w:()=>fe});var a=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),d=E("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),D=E("./node_modules/.pnpm/@elliemae+ds-legacy-icons@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-icons/dist/esm/utils/SvgIcon.js");const fe=({containerProps:q={},paths:K,height:ne,width:Z})=>l=>(0,d.jsx)(D.Ah,{...l,...q,paths:K,viewBox:`0 0 ${Z} ${ne}`});var ie=null}}]);
|
|
Binary file
|
|
Binary file
|