@elliemae/pui-app-sdk 3.14.0 → 3.15.0

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.
Files changed (147) hide show
  1. package/dist/cjs/index.js +4 -0
  2. package/dist/cjs/view/fields/autocomplete/index.js +47 -0
  3. package/dist/cjs/view/fields/combo-box-v3/index.js +45 -0
  4. package/dist/esm/analytics/appdynamics.js +0 -1
  5. package/dist/esm/analytics/index.js +0 -1
  6. package/dist/esm/analytics/page-view-event.js +0 -1
  7. package/dist/esm/analytics/user-session-event.js +0 -1
  8. package/dist/esm/analytics/user-wait-event.js +0 -1
  9. package/dist/esm/analytics/web-analytics.js +0 -1
  10. package/dist/esm/api/auth/index.js +0 -1
  11. package/dist/esm/api/helpers.js +0 -1
  12. package/dist/esm/api/users/index.js +0 -1
  13. package/dist/esm/communication/http-client/index.js +0 -1
  14. package/dist/esm/communication/http-client/request-interceptor.js +0 -1
  15. package/dist/esm/communication/http-client/response-interceptor.js +0 -1
  16. package/dist/esm/communication/http-client/retry-axios.js +0 -1
  17. package/dist/esm/communication/http-client/retry.js +0 -1
  18. package/dist/esm/data/auth/actions.js +0 -1
  19. package/dist/esm/data/auth/reducer.js +0 -1
  20. package/dist/esm/data/breakpoint/index.js +0 -1
  21. package/dist/esm/data/error/index.js +0 -1
  22. package/dist/esm/data/index.js +0 -1
  23. package/dist/esm/data/live-message/index.js +0 -1
  24. package/dist/esm/data/logout/actions.js +0 -1
  25. package/dist/esm/data/navigation-prompt/actions.js +0 -1
  26. package/dist/esm/data/react-redux.js +0 -1
  27. package/dist/esm/data/reducers.js +0 -1
  28. package/dist/esm/data/saga.js +0 -1
  29. package/dist/esm/data/store.js +0 -1
  30. package/dist/esm/data/wait-message/actions.js +0 -1
  31. package/dist/esm/data/wait-message/reducer.js +0 -1
  32. package/dist/esm/data/webpack-hmr.js +0 -1
  33. package/dist/esm/index.js +4 -1
  34. package/dist/esm/micro-frontend.js +0 -1
  35. package/dist/esm/sideeffect/auth/index.js +0 -1
  36. package/dist/esm/sideeffect/error-toast/index.js +0 -1
  37. package/dist/esm/sideeffect/wait-message/index.js +0 -1
  38. package/dist/esm/utils/app-config/config.js +0 -1
  39. package/dist/esm/utils/app-config/index.js +0 -1
  40. package/dist/esm/utils/app-host-integration/react.js +0 -1
  41. package/dist/esm/utils/auth/helper.js +0 -1
  42. package/dist/esm/utils/auth/index.js +0 -1
  43. package/dist/esm/utils/await.js +0 -1
  44. package/dist/esm/utils/constants.js +0 -1
  45. package/dist/esm/utils/font-size.js +0 -1
  46. package/dist/esm/utils/guest-with-service.js +0 -1
  47. package/dist/esm/utils/helpers.js +0 -1
  48. package/dist/esm/utils/history.js +0 -1
  49. package/dist/esm/utils/log-records.js +0 -1
  50. package/dist/esm/utils/micro-frontend/console-logger.js +0 -1
  51. package/dist/esm/utils/micro-frontend/guest.js +0 -1
  52. package/dist/esm/utils/micro-frontend/host.js +0 -1
  53. package/dist/esm/utils/micro-frontend/index.js +0 -1
  54. package/dist/esm/utils/micro-frontend/ssfguest-adapter.js +0 -1
  55. package/dist/esm/utils/micro-frontend/types.js +0 -1
  56. package/dist/esm/utils/redact-pii.js +0 -1
  57. package/dist/esm/utils/service-worker.js +0 -1
  58. package/dist/esm/utils/session.js +0 -1
  59. package/dist/esm/utils/storybook/manager.js +0 -1
  60. package/dist/esm/utils/storybook/preview.js +0 -1
  61. package/dist/esm/utils/storybook/theme.js +0 -1
  62. package/dist/esm/utils/testing/index.js +0 -1
  63. package/dist/esm/utils/testing/render-with-redux.js +0 -1
  64. package/dist/esm/utils/testing/render-with-router-redux.js +0 -1
  65. package/dist/esm/utils/testing/render-with-router.js +0 -1
  66. package/dist/esm/utils/testing/render-with-state-addons.js +0 -1
  67. package/dist/esm/utils/types.js +0 -1
  68. package/dist/esm/utils/url.js +0 -1
  69. package/dist/esm/utils/web-storage.js +0 -1
  70. package/dist/esm/utils/window.js +0 -1
  71. package/dist/esm/view/app-root/hosted-app.js +0 -1
  72. package/dist/esm/view/app-root/index.js +0 -1
  73. package/dist/esm/view/app-root/stand-alone-app.js +0 -1
  74. package/dist/esm/view/app-root/style.js +0 -1
  75. package/dist/esm/view/app-router.js +0 -1
  76. package/dist/esm/view/breakpoint/use-breakpoint.js +0 -1
  77. package/dist/esm/view/breakpoint/use-media-query-list.js +0 -1
  78. package/dist/esm/view/error-boundary/default-error-template.js +0 -1
  79. package/dist/esm/view/error-boundary/index.js +0 -1
  80. package/dist/esm/view/error-toast/index.js +0 -1
  81. package/dist/esm/view/fetch-host-app-data/index.js +0 -1
  82. package/dist/esm/view/fetch-host-app-data/store.js +0 -1
  83. package/dist/esm/view/fields/autocomplete/index.js +24 -0
  84. package/dist/esm/view/fields/check-box/index.js +0 -1
  85. package/dist/esm/view/fields/combo-box/index.js +0 -1
  86. package/dist/esm/view/fields/combo-box-v3/index.js +24 -0
  87. package/dist/esm/view/fields/connect-form.js +0 -1
  88. package/dist/esm/view/fields/date-input/index.js +0 -1
  89. package/dist/esm/view/fields/date-picker/index.js +0 -1
  90. package/dist/esm/view/fields/date-range-picker/index.js +0 -1
  91. package/dist/esm/view/fields/date-time-picker/index.js +0 -1
  92. package/dist/esm/view/fields/form-item-layout/index.js +0 -1
  93. package/dist/esm/view/fields/form-layout-block-item/index.js +0 -1
  94. package/dist/esm/view/fields/input-mask/index.js +0 -1
  95. package/dist/esm/view/fields/input-text/index.js +0 -1
  96. package/dist/esm/view/fields/large-text-box/index.js +0 -1
  97. package/dist/esm/view/fields/radio/index.js +0 -1
  98. package/dist/esm/view/fields/radio-group/index.js +0 -1
  99. package/dist/esm/view/fields/text-box/index.js +0 -1
  100. package/dist/esm/view/fields/toggle/index.js +0 -1
  101. package/dist/esm/view/fields/watch-value.js +0 -1
  102. package/dist/esm/view/form/index.js +0 -1
  103. package/dist/esm/view/form/personal-info-section.js +0 -1
  104. package/dist/esm/view/form/submit-button/index.js +0 -1
  105. package/dist/esm/view/guest-unload-handlers/index.js +0 -1
  106. package/dist/esm/view/host-binding-events/index.js +0 -1
  107. package/dist/esm/view/live-message/index.js +0 -1
  108. package/dist/esm/view/loadable/index.js +0 -1
  109. package/dist/esm/view/login/index.js +0 -1
  110. package/dist/esm/view/message-to-host-app/index.js +0 -1
  111. package/dist/esm/view/micro-app/app-factory/index.js +0 -1
  112. package/dist/esm/view/micro-app/const.js +0 -1
  113. package/dist/esm/view/micro-app/index.js +0 -1
  114. package/dist/esm/view/micro-app/resources/manifest.js +0 -1
  115. package/dist/esm/view/micro-app/resources/script.js +0 -1
  116. package/dist/esm/view/micro-app/resources/style.js +0 -1
  117. package/dist/esm/view/micro-app/types.js +0 -1
  118. package/dist/esm/view/micro-app/use-app-will-render.js +0 -1
  119. package/dist/esm/view/micro-app/utils.js +0 -1
  120. package/dist/esm/view/micro-iframe-app/app.js +0 -1
  121. package/dist/esm/view/micro-iframe-app/iframe/const.js +0 -1
  122. package/dist/esm/view/micro-iframe-app/iframe/index.js +0 -1
  123. package/dist/esm/view/micro-iframe-app/index.js +0 -1
  124. package/dist/esm/view/micro-iframe-app/types.js +0 -1
  125. package/dist/esm/view/micro-iframe-app/use-frame-loaded.js +0 -1
  126. package/dist/esm/view/modals/error/index.js +0 -1
  127. package/dist/esm/view/modals/navigation-prompt/index.js +0 -1
  128. package/dist/esm/view/modals/session-expiry/customHooks.js +0 -1
  129. package/dist/esm/view/modals/session-expiry/index.js +0 -1
  130. package/dist/esm/view/modals/wait-message/index.js +0 -1
  131. package/dist/esm/view/modals/wait-message/use-html-wait-message.js +0 -1
  132. package/dist/esm/view/modals/wait-message/wait-message-launcher.js +0 -1
  133. package/dist/esm/view/page.js +0 -1
  134. package/dist/esm/view/render-with-delay/index.js +0 -1
  135. package/dist/esm/view/render-with-host-data/index.js +0 -1
  136. package/dist/esm/view/require-auth.js +0 -1
  137. package/dist/esm/view/session-timeout/index.js +0 -1
  138. package/dist/esm/view/storybook/decorator.js +0 -1
  139. package/dist/esm/view/use-previous.js +0 -1
  140. package/dist/esm/view/use-window-size-change.js +0 -1
  141. package/dist/esm/view/visually-hidden/index.js +0 -1
  142. package/dist/types/lib/index.d.ts +2 -0
  143. package/dist/types/lib/view/fields/autocomplete/index.d.ts +13 -0
  144. package/dist/types/lib/view/fields/autocomplete/index.stories.d.ts +5 -0
  145. package/dist/types/lib/view/fields/combo-box-v3/index.d.ts +9 -0
  146. package/dist/types/lib/view/fields/combo-box-v3/index.stories.d.ts +5 -0
  147. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { get } from "lodash";
3
2
  let hostAppData = {};
4
3
  const setHostAppData = (appData) => {
@@ -0,0 +1,24 @@
1
+ import * as React from "react";
2
+ import { DSAutocomplete } from "@elliemae/ds-controlled-form";
3
+ import { Controller } from "react-hook-form";
4
+ const filterOptions = (allOptions, newFilter) => {
5
+ const filtered = allOptions.filter((option) => option.type === "section" || option.label.toLowerCase().includes(newFilter?.toLowerCase()));
6
+ return filtered.length === 1 && filtered[0].type === "section" ? [] : filtered;
7
+ };
8
+ const Autocomplete = ({
9
+ name,
10
+ children,
11
+ ...rest
12
+ }) => /* @__PURE__ */ React.createElement(Controller, {
13
+ name,
14
+ render: ({ field: { onChange, value, ...props } }) => /* @__PURE__ */ React.createElement(DSAutocomplete, {
15
+ ...rest,
16
+ ...props,
17
+ options: filterOptions(rest.options, value),
18
+ filter: value ?? "",
19
+ onSelect: onChange
20
+ }, children)
21
+ });
22
+ export {
23
+ Autocomplete
24
+ };
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSControlledCheckbox } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSComboBox } from "@elliemae/ds-form";
4
3
  import {
@@ -0,0 +1,24 @@
1
+ import * as React from "react";
2
+ import { DSComboBox } from "@elliemae/ds-controlled-form";
3
+ import {
4
+ Controller
5
+ } from "react-hook-form";
6
+ const ComboBoxV3 = ({
7
+ name,
8
+ defaultValue = null,
9
+ rules = {},
10
+ ...rest
11
+ }) => /* @__PURE__ */ React.createElement(Controller, {
12
+ name,
13
+ rules,
14
+ defaultValue,
15
+ render: ({ field: { onChange, value, ...props } }) => /* @__PURE__ */ React.createElement(DSComboBox, {
16
+ ...rest,
17
+ ...props,
18
+ selectedValues: value,
19
+ onChange
20
+ })
21
+ });
22
+ export {
23
+ ComboBoxV3
24
+ };
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useFormContext } from "react-hook-form";
3
2
  const ConnectForm = ({ children }) => {
4
3
  const methods = useFormContext();
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSDateInput } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import DSDatePicker from "@elliemae/ds-date-picker";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useEffect } from "react";
4
3
  import { DSControlledDateRangePicker } from "@elliemae/ds-controlled-form";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSControlledDateTimePicker } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSFormItemLayout } from "@elliemae/ds-form";
4
3
  import { get } from "react-hook-form";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSFormLayoutBlockItem } from "@elliemae/ds-form-layout-blocks";
4
3
  import { get } from "react-hook-form";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import {
4
3
  DSInputMask,
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSInputText } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSLargeInputText } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSRadio } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSRadioGroup } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSTextBox } from "@elliemae/ds-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSControlledToggle } from "@elliemae/ds-controlled-form";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import styled from "styled-components";
4
3
  import { Grid } from "@elliemae/ds-grid";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import styled from "styled-components";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import moment from "moment";
4
3
  import { TextBox } from "../fields/text-box/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useFormContext } from "react-hook-form";
4
3
  import { DSButtonV2 } from "@elliemae/ds-button";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { sendMessageToHost } from "../message-to-host-app/index.js";
3
2
  const onGuestUnloadStart = () => new Promise((resolve) => {
4
3
  window.addEventListener("message", (msg) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const bindEvent = (element, eventName, eventHandler) => {
3
2
  if (element.addEventListener) {
4
3
  element.addEventListener(eventName, eventHandler, false);
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { LiveMessage as AriaLiveMessage } from "react-aria-live";
4
3
  import { useAppSelector } from "../../data/react-redux.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { lazy, Suspense } from "react";
4
3
  import { WaitMessageLauncher } from "../modals/wait-message/wait-message-launcher.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState } from "react";
4
3
  import { useAppDispatch } from "../../data/react-redux.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { removeEvent } from "../host-binding-events/index.js";
3
2
  const getHostAppData = (action, resolve) => (event) => {
4
3
  if (event.data.id === "host-app-data") {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { persistentStorage } from "../../../utils/web-storage.js";
3
2
  import { CMicroAppHost } from "../../../utils/micro-frontend/host.js";
4
3
  import { getLogger } from "../../../utils/micro-frontend/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const APP_CONTAINER_ID_PREFIX = "pui-app-container-";
3
2
  export {
4
3
  APP_CONTAINER_ID_PREFIX
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo } from "react";
4
3
  import styled from "styled-components";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getHTTPClient } from "../../../communication/http-client/index.js";
3
2
  import { removeDoubleSlash } from "../../../utils/url.js";
4
3
  import { getLogger } from "../../../utils/micro-frontend/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { removeDoubleSlash } from "../../../utils/url.js";
3
2
  const APP_SCRIPT_ID_PREFIX = "emui-script-";
4
3
  const HEAD_SCRIPTS = /(?:emuiDiagnostics|global|global-prod|emuiUserMonitoring)(?:..*)?.js/;
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { removeDoubleSlash } from "../../../utils/url.js";
3
2
  const APP_STYLE_ID_PREFIX = "emui-style-";
4
3
  const addStylesToDOM = ({ name, hostUrl, documentEle }, fileName, index) => new Promise((resolve, reject) => {
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useRef, useLayoutEffect, useCallback } from "react";
3
2
  import { merge } from "lodash";
4
3
  import { useDispatch } from "react-redux";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { getAppConfigValue } from "../../utils/app-config/config.js";
3
2
  const getNavigationLinks = () => {
4
3
  const microApps = getAppConfigValue("microFrontendApps");
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useState } from "react";
4
3
  import frameHtml from "file-loader?name=iframe.[contenthash].[ext]!./iframe/index.html";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  const IFRAME_CONTAINER_ID_PREFIX = "pui-iframe-container-";
3
2
  export {
4
3
  IFRAME_CONTAINER_ID_PREFIX
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useRef } from "react";
4
3
  import styled from "styled-components";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState, memo } from "react";
4
3
  import { usePrevious } from "../use-previous.js";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  import { trackActivity } from "../../utils/session.js";
4
3
  import { CMicroAppHost } from "../../utils/micro-frontend/host.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useCallback } from "react";
4
3
  import {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo } from "react";
4
3
  import { Close } from "@elliemae/ds-icons";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect, useState } from "react";
3
2
  import { getSeconds, differenceInMinutes } from "date-fns";
4
3
  import { SESSION_TIMEOUT_INTERVAL } from "../../../utils/constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useEffect, useState } from "react";
4
3
  import { DSButtonV2 } from "@elliemae/ds-button";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { memo, useEffect } from "react";
4
3
  import { DSLoadingIndicator } from "@elliemae/ds-loading-indicator";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  const useHTMLWaitMessage = (close) => {
4
3
  useEffect(() => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  import { useAppDispatch } from "../../../data/react-redux.js";
4
3
  import { waitMessage } from "../../../data/wait-message/actions.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { Helmet } from "react-helmet";
4
3
  import * as brum from "@elliemae/pui-user-monitoring";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState, memo } from "react";
4
3
  const RenderWithDelay = memo(({ render }) => {
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useState, useEffect } from "react";
4
3
  import { fetchHostAppData } from "../fetch-host-app-data/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useInjectReducer, useInjectSaga } from "redux-injectors";
4
3
  import enums from "../utils/constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { useEffect, useState } from "react";
4
3
  import { useAppDispatch } from "../../data/react-redux.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { browserHistory } from "../../utils/history.js";
4
3
  import { AppRoot } from "../app-root/index.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useRef, useEffect } from "react";
3
2
  const usePrevious = (value) => {
4
3
  const ref = useRef();
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import { useEffect } from "react";
3
2
  import { publish } from "pubsub-js";
4
3
  import { HOST_WINDOW_RESIZED } from "../utils/constants.js";
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { forwardRef } from "react";
4
3
  import styled from "styled-components";
@@ -42,9 +42,11 @@ export { RenderWithStateAddOns } from './utils/testing/render-with-state-addons.
42
42
  export { getApiActionCreator, getSelectField } from './api/helpers.js';
43
43
  export { getUser as fetchUserSettings } from './api/users/index.js';
44
44
  export { withAppDecorator } from './view/storybook/decorator.js';
45
+ export { Autocomplete } from './view/fields/autocomplete/index.js';
45
46
  export { ErrorToast } from './view/error-toast/index.js';
46
47
  export { NavigationPrompt } from './view/modals/navigation-prompt/index.js';
47
48
  export { Form } from './view/form/index.js';
49
+ export { ComboBoxV3 } from './view/fields/combo-box-v3/index.js';
48
50
  export { ConnectForm } from './view/fields/connect-form.js';
49
51
  export { FormItemLayout } from './view/fields/form-item-layout/index.js';
50
52
  export { FormLayoutBlockItem } from './view/fields/form-layout-block-item/index.js';
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ declare type AutocompleteOption = {
3
+ label: string;
4
+ type: string;
5
+ [x: string]: unknown;
6
+ };
7
+ export declare type AutocompleteProps = {
8
+ name: string;
9
+ options: AutocompleteOption[];
10
+ [x: string]: any;
11
+ };
12
+ export declare const Autocomplete: ({ name, children, ...rest }: AutocompleteProps) => JSX.Element;
13
+ export {};
@@ -0,0 +1,5 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ import { AutocompleteProps } from './index.js';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: Story<AutocompleteProps>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
3
+ export declare type ComboBoxV3Props<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
4
+ name: string;
5
+ defaultValue?: Record<string, unknown>[] | Record<string, unknown> | null;
6
+ rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
7
+ [x: string]: any;
8
+ };
9
+ export declare const ComboBoxV3: ({ name, defaultValue, rules, ...rest }: ComboBoxV3Props) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ import { ComboBoxV3Props } from './index.js';
3
+ declare const _default: Meta<import("@storybook/react").Args>;
4
+ export default _default;
5
+ export declare const Basic: Story<ComboBoxV3Props<import("react-hook-form").FieldValues, string>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-app-sdk",
3
- "version": "3.14.0",
3
+ "version": "3.15.0",
4
4
  "description": "ICE MT UI Platform Application SDK ",
5
5
  "sideEffects": [
6
6
  "*.css",