@elliemae/pui-app-sdk 5.31.1 → 5.32.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.
- package/demo/1805.fc0108b2.iframe.bundle.js +17 -0
- package/demo/1805.fc0108b2.iframe.bundle.js.br +0 -0
- package/demo/1805.fc0108b2.iframe.bundle.js.gz +0 -0
- package/demo/1876.e877dc9f.iframe.bundle.js +450 -0
- package/demo/1876.e877dc9f.iframe.bundle.js.br +0 -0
- package/demo/1876.e877dc9f.iframe.bundle.js.gz +0 -0
- package/demo/1886.bbb1a12c.iframe.bundle.js +114 -0
- package/demo/1886.bbb1a12c.iframe.bundle.js.br +0 -0
- package/demo/1886.bbb1a12c.iframe.bundle.js.gz +0 -0
- package/demo/1993.d3eb262b.iframe.bundle.js +1 -0
- package/demo/1993.d3eb262b.iframe.bundle.js.br +0 -0
- package/demo/1993.d3eb262b.iframe.bundle.js.gz +0 -0
- package/demo/2065.9b113936.iframe.bundle.js +19061 -0
- package/demo/2065.9b113936.iframe.bundle.js.br +0 -0
- package/demo/2065.9b113936.iframe.bundle.js.gz +0 -0
- package/demo/2167.7bd13b0b.iframe.bundle.js +3 -0
- package/demo/2167.7bd13b0b.iframe.bundle.js.br +0 -0
- package/demo/2167.7bd13b0b.iframe.bundle.js.gz +0 -0
- package/demo/226.3e61f71f6be5e03e3a01.manager.bundle.js +296 -0
- package/demo/226.3e61f71f6be5e03e3a01.manager.bundle.js.br +0 -0
- package/demo/226.3e61f71f6be5e03e3a01.manager.bundle.js.gz +0 -0
- package/demo/226.f3bcd0ec.iframe.bundle.js +296 -0
- package/demo/226.f3bcd0ec.iframe.bundle.js.br +0 -0
- package/demo/226.f3bcd0ec.iframe.bundle.js.gz +0 -0
- package/demo/2446.afe3701b.iframe.bundle.js +706 -0
- package/demo/2446.afe3701b.iframe.bundle.js.br +0 -0
- package/demo/2446.afe3701b.iframe.bundle.js.gz +0 -0
- package/demo/2468.f55299fb.iframe.bundle.js +52 -0
- package/demo/2468.f55299fb.iframe.bundle.js.br +0 -0
- package/demo/2468.f55299fb.iframe.bundle.js.gz +0 -0
- package/demo/2493.c69f231e.iframe.bundle.js +30 -0
- package/demo/2493.c69f231e.iframe.bundle.js.br +0 -0
- package/demo/2493.c69f231e.iframe.bundle.js.gz +0 -0
- package/demo/2776.66887231.iframe.bundle.js +26 -0
- package/demo/2776.66887231.iframe.bundle.js.br +0 -0
- package/demo/2776.66887231.iframe.bundle.js.gz +0 -0
- package/demo/283.1127b36e3df55d9cce54.manager.bundle.js +10 -0
- package/demo/283.1127b36e3df55d9cce54.manager.bundle.js.br +0 -0
- package/demo/283.1127b36e3df55d9cce54.manager.bundle.js.gz +0 -0
- package/demo/2986.4925d38a.iframe.bundle.js +184 -0
- package/demo/2986.4925d38a.iframe.bundle.js.br +0 -0
- package/demo/2986.4925d38a.iframe.bundle.js.gz +0 -0
- package/demo/3060.0e0dbff3.iframe.bundle.js +214 -0
- package/demo/3060.0e0dbff3.iframe.bundle.js.br +0 -0
- package/demo/3060.0e0dbff3.iframe.bundle.js.gz +0 -0
- package/demo/36.06d4809fcf813627c7dd.manager.bundle.js +1168 -0
- package/demo/36.06d4809fcf813627c7dd.manager.bundle.js.br +0 -0
- package/demo/36.06d4809fcf813627c7dd.manager.bundle.js.gz +0 -0
- package/demo/3782.4ea68682.iframe.bundle.js +8 -0
- package/demo/3782.4ea68682.iframe.bundle.js.br +0 -0
- package/demo/3782.4ea68682.iframe.bundle.js.gz +0 -0
- package/demo/418.0516c98f3920d7739595.manager.bundle.js +1 -0
- package/demo/418.0516c98f3920d7739595.manager.bundle.js.br +0 -0
- package/demo/418.0516c98f3920d7739595.manager.bundle.js.gz +0 -0
- package/demo/4246.ad4ddbf9.iframe.bundle.js +1 -0
- package/demo/4246.ad4ddbf9.iframe.bundle.js.br +0 -0
- package/demo/4246.ad4ddbf9.iframe.bundle.js.gz +0 -0
- package/demo/4333.d0850d2d.iframe.bundle.js +22 -0
- package/demo/4333.d0850d2d.iframe.bundle.js.br +0 -0
- package/demo/4333.d0850d2d.iframe.bundle.js.gz +0 -0
- package/demo/4454.ae23211c.iframe.bundle.js +1 -0
- package/demo/4454.ae23211c.iframe.bundle.js.br +0 -0
- package/demo/4454.ae23211c.iframe.bundle.js.gz +0 -0
- package/demo/4723.d7a8ea05.iframe.bundle.js +142 -0
- package/demo/4723.d7a8ea05.iframe.bundle.js.br +0 -0
- package/demo/4723.d7a8ea05.iframe.bundle.js.gz +0 -0
- package/demo/4864.ce2afa4e.iframe.bundle.js +102 -0
- package/demo/4864.ce2afa4e.iframe.bundle.js.br +0 -0
- package/demo/4864.ce2afa4e.iframe.bundle.js.gz +0 -0
- package/demo/5054.e9b2a0ab.iframe.bundle.js +270 -0
- package/demo/5054.e9b2a0ab.iframe.bundle.js.br +0 -0
- package/demo/5054.e9b2a0ab.iframe.bundle.js.gz +0 -0
- package/demo/5290.97dee708.iframe.bundle.js +726 -0
- package/demo/5290.97dee708.iframe.bundle.js.br +0 -0
- package/demo/5290.97dee708.iframe.bundle.js.gz +0 -0
- package/demo/5418.6a85d6d5.iframe.bundle.js +1 -0
- package/demo/5418.6a85d6d5.iframe.bundle.js.br +0 -0
- package/demo/5418.6a85d6d5.iframe.bundle.js.gz +0 -0
- package/demo/5660.db2541f5.iframe.bundle.js +395 -0
- package/demo/5660.db2541f5.iframe.bundle.js.br +0 -0
- package/demo/5660.db2541f5.iframe.bundle.js.gz +0 -0
- package/demo/5929.3702c957.iframe.bundle.js +2 -0
- package/demo/5929.3702c957.iframe.bundle.js.br +0 -0
- package/demo/5929.3702c957.iframe.bundle.js.gz +0 -0
- package/demo/597.ca2a1f93.iframe.bundle.js +1 -0
- package/demo/597.ca2a1f93.iframe.bundle.js.br +0 -0
- package/demo/597.ca2a1f93.iframe.bundle.js.gz +0 -0
- package/demo/63.7d6a97d4f68fc6ecc316.manager.bundle.js +1 -0
- package/demo/63.7d6a97d4f68fc6ecc316.manager.bundle.js.br +0 -0
- package/demo/63.7d6a97d4f68fc6ecc316.manager.bundle.js.gz +0 -0
- package/demo/671d9de68be598da64ca.html +47 -0
- package/demo/7176.e425ad59.iframe.bundle.js +817 -0
- package/demo/7176.e425ad59.iframe.bundle.js.br +0 -0
- package/demo/7176.e425ad59.iframe.bundle.js.gz +0 -0
- package/demo/7248.7e53ca65.iframe.bundle.js +128 -0
- package/demo/7248.7e53ca65.iframe.bundle.js.br +0 -0
- package/demo/7248.7e53ca65.iframe.bundle.js.gz +0 -0
- package/demo/7939.559112a7.iframe.bundle.js +173 -0
- package/demo/7939.559112a7.iframe.bundle.js.br +0 -0
- package/demo/7939.559112a7.iframe.bundle.js.gz +0 -0
- package/demo/805.f244c5596c1eb391392e.manager.bundle.js +17 -0
- package/demo/805.f244c5596c1eb391392e.manager.bundle.js.br +0 -0
- package/demo/805.f244c5596c1eb391392e.manager.bundle.js.gz +0 -0
- package/demo/8165.2ab64e0d.iframe.bundle.js +1 -0
- package/demo/8165.2ab64e0d.iframe.bundle.js.br +0 -0
- package/demo/8165.2ab64e0d.iframe.bundle.js.gz +0 -0
- package/demo/8283.8ff83116.iframe.bundle.js +10 -0
- package/demo/8283.8ff83116.iframe.bundle.js.br +0 -0
- package/demo/8283.8ff83116.iframe.bundle.js.gz +0 -0
- package/demo/9283.e36144fe.iframe.bundle.js +230 -0
- package/demo/9283.e36144fe.iframe.bundle.js.br +0 -0
- package/demo/9283.e36144fe.iframe.bundle.js.gz +0 -0
- package/demo/929.daccad51fceca4ebcdc3.manager.bundle.js +2 -0
- package/demo/929.daccad51fceca4ebcdc3.manager.bundle.js.br +0 -0
- package/demo/929.daccad51fceca4ebcdc3.manager.bundle.js.gz +0 -0
- package/demo/9401.25b6c9c8.iframe.bundle.js +174 -0
- package/demo/9401.25b6c9c8.iframe.bundle.js.br +0 -0
- package/demo/9401.25b6c9c8.iframe.bundle.js.gz +0 -0
- package/demo/9576.803152ab.iframe.bundle.js +1 -0
- package/demo/9576.803152ab.iframe.bundle.js.br +0 -0
- package/demo/9576.803152ab.iframe.bundle.js.gz +0 -0
- package/demo/9799.1b759ba7.iframe.bundle.js +2 -0
- package/demo/9799.1b759ba7.iframe.bundle.js.br +0 -0
- package/demo/9799.1b759ba7.iframe.bundle.js.gz +0 -0
- package/demo/983.dcba7de2.iframe.bundle.js +881 -0
- package/demo/983.dcba7de2.iframe.bundle.js.br +0 -0
- package/demo/983.dcba7de2.iframe.bundle.js.gz +0 -0
- package/demo/993.441479cc0446a3ee0fde.manager.bundle.js +15 -0
- package/demo/993.441479cc0446a3ee0fde.manager.bundle.js.br +0 -0
- package/demo/993.441479cc0446a3ee0fde.manager.bundle.js.gz +0 -0
- package/demo/993.cd95b2e2.iframe.bundle.js +15 -0
- package/demo/993.cd95b2e2.iframe.bundle.js.br +0 -0
- package/demo/993.cd95b2e2.iframe.bundle.js.gz +0 -0
- package/demo/app.config.json +127 -0
- package/demo/docs/1805.fc0108b2.iframe.bundle.js +17 -0
- package/demo/docs/1805.fc0108b2.iframe.bundle.js.br +0 -0
- package/demo/docs/1805.fc0108b2.iframe.bundle.js.gz +0 -0
- package/demo/docs/1876.e877dc9f.iframe.bundle.js +450 -0
- package/demo/docs/1876.e877dc9f.iframe.bundle.js.br +0 -0
- package/demo/docs/1876.e877dc9f.iframe.bundle.js.gz +0 -0
- package/demo/docs/1886.bbb1a12c.iframe.bundle.js +114 -0
- package/demo/docs/1886.bbb1a12c.iframe.bundle.js.br +0 -0
- package/demo/docs/1886.bbb1a12c.iframe.bundle.js.gz +0 -0
- package/demo/docs/1993.d3eb262b.iframe.bundle.js +1 -0
- package/demo/docs/1993.d3eb262b.iframe.bundle.js.br +0 -0
- package/demo/docs/1993.d3eb262b.iframe.bundle.js.gz +0 -0
- package/demo/docs/2065.9b113936.iframe.bundle.js +19061 -0
- package/demo/docs/2065.9b113936.iframe.bundle.js.br +0 -0
- package/demo/docs/2065.9b113936.iframe.bundle.js.gz +0 -0
- package/demo/docs/2167.7bd13b0b.iframe.bundle.js +3 -0
- package/demo/docs/2167.7bd13b0b.iframe.bundle.js.br +0 -0
- package/demo/docs/2167.7bd13b0b.iframe.bundle.js.gz +0 -0
- package/demo/docs/226.3e61f71f6be5e03e3a01.manager.bundle.js +296 -0
- package/demo/docs/226.3e61f71f6be5e03e3a01.manager.bundle.js.br +0 -0
- package/demo/docs/226.3e61f71f6be5e03e3a01.manager.bundle.js.gz +0 -0
- package/demo/docs/226.f3bcd0ec.iframe.bundle.js +296 -0
- package/demo/docs/226.f3bcd0ec.iframe.bundle.js.br +0 -0
- package/demo/docs/226.f3bcd0ec.iframe.bundle.js.gz +0 -0
- package/demo/docs/2446.afe3701b.iframe.bundle.js +706 -0
- package/demo/docs/2446.afe3701b.iframe.bundle.js.br +0 -0
- package/demo/docs/2446.afe3701b.iframe.bundle.js.gz +0 -0
- package/demo/docs/2468.f55299fb.iframe.bundle.js +52 -0
- package/demo/docs/2468.f55299fb.iframe.bundle.js.br +0 -0
- package/demo/docs/2468.f55299fb.iframe.bundle.js.gz +0 -0
- package/demo/docs/2493.c69f231e.iframe.bundle.js +30 -0
- package/demo/docs/2493.c69f231e.iframe.bundle.js.br +0 -0
- package/demo/docs/2493.c69f231e.iframe.bundle.js.gz +0 -0
- package/demo/docs/2776.66887231.iframe.bundle.js +26 -0
- package/demo/docs/2776.66887231.iframe.bundle.js.br +0 -0
- package/demo/docs/2776.66887231.iframe.bundle.js.gz +0 -0
- package/demo/docs/283.1127b36e3df55d9cce54.manager.bundle.js +10 -0
- package/demo/docs/283.1127b36e3df55d9cce54.manager.bundle.js.br +0 -0
- package/demo/docs/283.1127b36e3df55d9cce54.manager.bundle.js.gz +0 -0
- package/demo/docs/2986.4925d38a.iframe.bundle.js +184 -0
- package/demo/docs/2986.4925d38a.iframe.bundle.js.br +0 -0
- package/demo/docs/2986.4925d38a.iframe.bundle.js.gz +0 -0
- package/demo/docs/3060.0e0dbff3.iframe.bundle.js +214 -0
- package/demo/docs/3060.0e0dbff3.iframe.bundle.js.br +0 -0
- package/demo/docs/3060.0e0dbff3.iframe.bundle.js.gz +0 -0
- package/demo/docs/36.06d4809fcf813627c7dd.manager.bundle.js +1168 -0
- package/demo/docs/36.06d4809fcf813627c7dd.manager.bundle.js.br +0 -0
- package/demo/docs/36.06d4809fcf813627c7dd.manager.bundle.js.gz +0 -0
- package/demo/docs/3782.4ea68682.iframe.bundle.js +8 -0
- package/demo/docs/3782.4ea68682.iframe.bundle.js.br +0 -0
- package/demo/docs/3782.4ea68682.iframe.bundle.js.gz +0 -0
- package/demo/docs/418.0516c98f3920d7739595.manager.bundle.js +1 -0
- package/demo/docs/418.0516c98f3920d7739595.manager.bundle.js.br +0 -0
- package/demo/docs/418.0516c98f3920d7739595.manager.bundle.js.gz +0 -0
- package/demo/docs/4246.ad4ddbf9.iframe.bundle.js +1 -0
- package/demo/docs/4246.ad4ddbf9.iframe.bundle.js.br +0 -0
- package/demo/docs/4246.ad4ddbf9.iframe.bundle.js.gz +0 -0
- package/demo/docs/4333.d0850d2d.iframe.bundle.js +22 -0
- package/demo/docs/4333.d0850d2d.iframe.bundle.js.br +0 -0
- package/demo/docs/4333.d0850d2d.iframe.bundle.js.gz +0 -0
- package/demo/docs/4454.ae23211c.iframe.bundle.js +1 -0
- package/demo/docs/4454.ae23211c.iframe.bundle.js.br +0 -0
- package/demo/docs/4454.ae23211c.iframe.bundle.js.gz +0 -0
- package/demo/docs/4723.d7a8ea05.iframe.bundle.js +142 -0
- package/demo/docs/4723.d7a8ea05.iframe.bundle.js.br +0 -0
- package/demo/docs/4723.d7a8ea05.iframe.bundle.js.gz +0 -0
- package/demo/docs/4864.ce2afa4e.iframe.bundle.js +102 -0
- package/demo/docs/4864.ce2afa4e.iframe.bundle.js.br +0 -0
- package/demo/docs/4864.ce2afa4e.iframe.bundle.js.gz +0 -0
- package/demo/docs/5054.e9b2a0ab.iframe.bundle.js +270 -0
- package/demo/docs/5054.e9b2a0ab.iframe.bundle.js.br +0 -0
- package/demo/docs/5054.e9b2a0ab.iframe.bundle.js.gz +0 -0
- package/demo/docs/5290.97dee708.iframe.bundle.js +726 -0
- package/demo/docs/5290.97dee708.iframe.bundle.js.br +0 -0
- package/demo/docs/5290.97dee708.iframe.bundle.js.gz +0 -0
- package/demo/docs/5418.6a85d6d5.iframe.bundle.js +1 -0
- package/demo/docs/5418.6a85d6d5.iframe.bundle.js.br +0 -0
- package/demo/docs/5418.6a85d6d5.iframe.bundle.js.gz +0 -0
- package/demo/docs/5660.db2541f5.iframe.bundle.js +395 -0
- package/demo/docs/5660.db2541f5.iframe.bundle.js.br +0 -0
- package/demo/docs/5660.db2541f5.iframe.bundle.js.gz +0 -0
- package/demo/docs/5929.3702c957.iframe.bundle.js +2 -0
- package/demo/docs/5929.3702c957.iframe.bundle.js.br +0 -0
- package/demo/docs/5929.3702c957.iframe.bundle.js.gz +0 -0
- package/demo/docs/597.ca2a1f93.iframe.bundle.js +1 -0
- package/demo/docs/597.ca2a1f93.iframe.bundle.js.br +0 -0
- package/demo/docs/597.ca2a1f93.iframe.bundle.js.gz +0 -0
- package/demo/docs/63.7d6a97d4f68fc6ecc316.manager.bundle.js +1 -0
- package/demo/docs/63.7d6a97d4f68fc6ecc316.manager.bundle.js.br +0 -0
- package/demo/docs/63.7d6a97d4f68fc6ecc316.manager.bundle.js.gz +0 -0
- package/demo/docs/671d9de68be598da64ca.html +47 -0
- package/demo/docs/7176.e425ad59.iframe.bundle.js +817 -0
- package/demo/docs/7176.e425ad59.iframe.bundle.js.br +0 -0
- package/demo/docs/7176.e425ad59.iframe.bundle.js.gz +0 -0
- package/demo/docs/7248.7e53ca65.iframe.bundle.js +128 -0
- package/demo/docs/7248.7e53ca65.iframe.bundle.js.br +0 -0
- package/demo/docs/7248.7e53ca65.iframe.bundle.js.gz +0 -0
- package/demo/docs/7939.559112a7.iframe.bundle.js +173 -0
- package/demo/docs/7939.559112a7.iframe.bundle.js.br +0 -0
- package/demo/docs/7939.559112a7.iframe.bundle.js.gz +0 -0
- package/demo/docs/805.f244c5596c1eb391392e.manager.bundle.js +17 -0
- package/demo/docs/805.f244c5596c1eb391392e.manager.bundle.js.br +0 -0
- package/demo/docs/805.f244c5596c1eb391392e.manager.bundle.js.gz +0 -0
- package/demo/docs/8165.2ab64e0d.iframe.bundle.js +1 -0
- package/demo/docs/8165.2ab64e0d.iframe.bundle.js.br +0 -0
- package/demo/docs/8165.2ab64e0d.iframe.bundle.js.gz +0 -0
- package/demo/docs/8283.8ff83116.iframe.bundle.js +10 -0
- package/demo/docs/8283.8ff83116.iframe.bundle.js.br +0 -0
- package/demo/docs/8283.8ff83116.iframe.bundle.js.gz +0 -0
- package/demo/docs/9283.e36144fe.iframe.bundle.js +230 -0
- package/demo/docs/9283.e36144fe.iframe.bundle.js.br +0 -0
- package/demo/docs/9283.e36144fe.iframe.bundle.js.gz +0 -0
- package/demo/docs/929.daccad51fceca4ebcdc3.manager.bundle.js +2 -0
- package/demo/docs/929.daccad51fceca4ebcdc3.manager.bundle.js.br +0 -0
- package/demo/docs/929.daccad51fceca4ebcdc3.manager.bundle.js.gz +0 -0
- package/demo/docs/9401.25b6c9c8.iframe.bundle.js +174 -0
- package/demo/docs/9401.25b6c9c8.iframe.bundle.js.br +0 -0
- package/demo/docs/9401.25b6c9c8.iframe.bundle.js.gz +0 -0
- package/demo/docs/9576.803152ab.iframe.bundle.js +1 -0
- package/demo/docs/9576.803152ab.iframe.bundle.js.br +0 -0
- package/demo/docs/9576.803152ab.iframe.bundle.js.gz +0 -0
- package/demo/docs/9799.1b759ba7.iframe.bundle.js +2 -0
- package/demo/docs/9799.1b759ba7.iframe.bundle.js.br +0 -0
- package/demo/docs/9799.1b759ba7.iframe.bundle.js.gz +0 -0
- package/demo/docs/983.dcba7de2.iframe.bundle.js +881 -0
- package/demo/docs/983.dcba7de2.iframe.bundle.js.br +0 -0
- package/demo/docs/983.dcba7de2.iframe.bundle.js.gz +0 -0
- package/demo/docs/993.441479cc0446a3ee0fde.manager.bundle.js +15 -0
- package/demo/docs/993.441479cc0446a3ee0fde.manager.bundle.js.br +0 -0
- package/demo/docs/993.441479cc0446a3ee0fde.manager.bundle.js.gz +0 -0
- package/demo/docs/993.cd95b2e2.iframe.bundle.js +15 -0
- package/demo/docs/993.cd95b2e2.iframe.bundle.js.br +0 -0
- package/demo/docs/993.cd95b2e2.iframe.bundle.js.gz +0 -0
- package/demo/docs/app.config.json +127 -0
- package/demo/docs/favicon.ico +0 -0
- package/demo/docs/iframe.html +377 -0
- package/demo/docs/index.html +59 -0
- package/demo/docs/main.0590cb1c0f0bdeece8be.manager.bundle.js +1 -0
- package/demo/docs/main.0590cb1c0f0bdeece8be.manager.bundle.js.br +0 -0
- package/demo/docs/main.0590cb1c0f0bdeece8be.manager.bundle.js.gz +0 -0
- package/demo/docs/main.68a7d280.iframe.bundle.js +5 -0
- package/demo/docs/main.68a7d280.iframe.bundle.js.br +0 -0
- package/demo/docs/main.68a7d280.iframe.bundle.js.gz +0 -0
- package/demo/docs/project.json +1 -0
- package/demo/docs/runtime~main.3e70b3d1bfb1d9417b96.manager.bundle.js +2 -0
- package/demo/docs/runtime~main.3e70b3d1bfb1d9417b96.manager.bundle.js.br +0 -0
- package/demo/docs/runtime~main.3e70b3d1bfb1d9417b96.manager.bundle.js.gz +0 -0
- package/demo/docs/runtime~main.6524f5c8.iframe.bundle.js +2 -0
- package/demo/docs/runtime~main.6524f5c8.iframe.bundle.js.br +0 -0
- package/demo/docs/runtime~main.6524f5c8.iframe.bundle.js.gz +0 -0
- package/demo/docs/static/media/ProximaLight.1c840f2e.woff +0 -0
- package/demo/docs/static/media/ProximaLightItalic.26edbdf9.woff +0 -0
- package/demo/docs/static/media/ProximaMedium.8648a446.woff +0 -0
- package/demo/docs/static/media/ProximaMediumItalic.6dd91f36.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBlack.f1ff9416.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBlackItalic.aa93a937.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBold.690419e8.woff +0 -0
- package/demo/docs/static/media/ProximaNovaBoldItalic.f322b739.woff +0 -0
- package/demo/docs/static/media/ProximaNovaExtrabold.404c9e74.woff +0 -0
- package/demo/docs/static/media/ProximaNovaExtraboldItalic.d97ffa0f.woff +0 -0
- package/demo/docs/static/media/ProximaNovaRegular.7abe9fa6.woff +0 -0
- package/demo/docs/static/media/ProximaNovaRegularItalic.1073d28d.woff +0 -0
- package/demo/docs/static/media/ProximaNovaSemibold.1b57a486.woff +0 -0
- package/demo/docs/static/media/ProximaNovaSemiboldItalic.47673788.woff +0 -0
- package/demo/docs/static/media/ProximaNovaThin.730c623c.woff +0 -0
- package/demo/docs/static/media/ProximaNovaThinItalic.2915a90e.woff +0 -0
- package/demo/docs/stories.json +1 -0
- package/demo/docs/view-breakpoint-index-stories.07c4034e.iframe.bundle.js +101 -0
- package/demo/docs/view-breakpoint-index-stories.07c4034e.iframe.bundle.js.br +0 -0
- package/demo/docs/view-breakpoint-index-stories.07c4034e.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-error-toast-index-stories.150e7043.iframe.bundle.js +361 -0
- package/demo/docs/view-error-toast-index-stories.150e7043.iframe.bundle.js.br +0 -0
- package/demo/docs/view-error-toast-index-stories.150e7043.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.88217bf7.iframe.bundle.js +669 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.88217bf7.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-advanced-autocomplete-stories.88217bf7.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.c0836179.iframe.bundle.js +477 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.c0836179.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-async-suggestions-autocomplete-stories.c0836179.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.bd4d6826.iframe.bundle.js +245 -0
- package/demo/docs/view-fields-autocomplete-index-stories.bd4d6826.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-autocomplete-index-stories.bd4d6826.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-check-box-index-stories.7c670c2f.iframe.bundle.js +181 -0
- package/demo/docs/view-fields-check-box-index-stories.7c670c2f.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-index-stories.7c670c2f.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.a8ee2420.iframe.bundle.js +237 -0
- package/demo/docs/view-fields-check-box-set-value-stories.a8ee2420.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-check-box-set-value-stories.a8ee2420.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.2c4cd023.iframe.bundle.js +209 -0
- package/demo/docs/view-fields-combo-box-index-stories.2c4cd023.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-index-stories.2c4cd023.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.4c5a5daa.iframe.bundle.js +229 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.4c5a5daa.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-combo-box-v3-index-stories.4c5a5daa.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-input-index-stories.a297990d.iframe.bundle.js +189 -0
- package/demo/docs/view-fields-date-input-index-stories.a297990d.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-input-index-stories.a297990d.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.33a03770.iframe.bundle.js +189 -0
- package/demo/docs/view-fields-date-picker-index-stories.33a03770.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-picker-index-stories.33a03770.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.081312b2.iframe.bundle.js +161 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.081312b2.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-range-picker-index-stories.081312b2.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.f726cb13.iframe.bundle.js +649 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.f726cb13.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-date-time-picker-index-stories.f726cb13.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.f908ff52.iframe.bundle.js +149 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.f908ff52.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-item-layout-index-stories.f908ff52.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.130f90ad.iframe.bundle.js +266 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.130f90ad.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-form-layout-block-item-index-stories.130f90ad.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.45d48c6f.iframe.bundle.js +225 -0
- package/demo/docs/view-fields-input-mask-index-stories.45d48c6f.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-mask-index-stories.45d48c6f.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-input-text-index-stories.55452999.iframe.bundle.js +161 -0
- package/demo/docs/view-fields-input-text-index-stories.55452999.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-input-text-index-stories.55452999.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.84253145.iframe.bundle.js +254 -0
- package/demo/docs/view-fields-large-text-box-index-stories.84253145.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-large-text-box-index-stories.84253145.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.a092de7d.iframe.bundle.js +213 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.a092de7d.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-money-mask-stories.a092de7d.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.7899ca21.iframe.bundle.js +185 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.7899ca21.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-masked-input-text-with-percentage-mask-stories.7899ca21.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.4243199b.iframe.bundle.js +281 -0
- package/demo/docs/view-fields-radio-group-index-stories.4243199b.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-group-index-stories.4243199b.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-index-stories.46f142b2.iframe.bundle.js +342 -0
- package/demo/docs/view-fields-radio-index-stories.46f142b2.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-index-stories.46f142b2.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.aa65ab02.iframe.bundle.js +366 -0
- package/demo/docs/view-fields-radio-set-value-stories.aa65ab02.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-radio-set-value-stories.aa65ab02.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-text-box-index-stories.659f0c9c.iframe.bundle.js +258 -0
- package/demo/docs/view-fields-text-box-index-stories.659f0c9c.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-text-box-index-stories.659f0c9c.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-fields-toggle-index-stories.5e3ae6c6.iframe.bundle.js +145 -0
- package/demo/docs/view-fields-toggle-index-stories.5e3ae6c6.iframe.bundle.js.br +0 -0
- package/demo/docs/view-fields-toggle-index-stories.5e3ae6c6.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-form-index-stories.b833b64a.iframe.bundle.js +373 -0
- package/demo/docs/view-form-index-stories.b833b64a.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-index-stories.b833b64a.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-form-usecases-stories.2c95de85.iframe.bundle.js +305 -0
- package/demo/docs/view-form-usecases-stories.2c95de85.iframe.bundle.js.br +0 -0
- package/demo/docs/view-form-usecases-stories.2c95de85.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-intro-stories-mdx.2f0f47f8.iframe.bundle.js +6 -0
- package/demo/docs/view-intro-stories-mdx.2f0f47f8.iframe.bundle.js.br +0 -0
- package/demo/docs/view-intro-stories-mdx.2f0f47f8.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-live-message-index-stories.4dee2a92.iframe.bundle.js +169 -0
- package/demo/docs/view-live-message-index-stories.4dee2a92.iframe.bundle.js.br +0 -0
- package/demo/docs/view-live-message-index-stories.4dee2a92.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-error-index-stories.d4fd7fb7.iframe.bundle.js +93 -0
- package/demo/docs/view-modals-error-index-stories.d4fd7fb7.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-error-index-stories.d4fd7fb7.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.fb44d8d9.iframe.bundle.js +101 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.fb44d8d9.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-navigation-prompt-index-stories.fb44d8d9.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.2d8aae87.iframe.bundle.js +101 -0
- package/demo/docs/view-modals-session-expiry-index-stories.2d8aae87.iframe.bundle.js.br +0 -0
- package/demo/docs/view-modals-session-expiry-index-stories.2d8aae87.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-session-timeout-index-stories.2055de22.iframe.bundle.js +53 -0
- package/demo/docs/view-session-timeout-index-stories.2055de22.iframe.bundle.js.br +0 -0
- package/demo/docs/view-session-timeout-index-stories.2055de22.iframe.bundle.js.gz +0 -0
- package/demo/docs/view-wait-message-index-stories.c74a9836.iframe.bundle.js +177 -0
- package/demo/docs/view-wait-message-index-stories.c74a9836.iframe.bundle.js.br +0 -0
- package/demo/docs/view-wait-message-index-stories.c74a9836.iframe.bundle.js.gz +0 -0
- package/demo/favicon.ico +0 -0
- package/demo/iframe.html +377 -0
- package/demo/index.html +59 -0
- package/demo/main.0590cb1c0f0bdeece8be.manager.bundle.js +1 -0
- package/demo/main.0590cb1c0f0bdeece8be.manager.bundle.js.br +0 -0
- package/demo/main.0590cb1c0f0bdeece8be.manager.bundle.js.gz +0 -0
- package/demo/main.68a7d280.iframe.bundle.js +5 -0
- package/demo/main.68a7d280.iframe.bundle.js.br +0 -0
- package/demo/main.68a7d280.iframe.bundle.js.gz +0 -0
- package/demo/project.json +1 -0
- package/demo/runtime~main.3e70b3d1bfb1d9417b96.manager.bundle.js +2 -0
- package/demo/runtime~main.3e70b3d1bfb1d9417b96.manager.bundle.js.br +0 -0
- package/demo/runtime~main.3e70b3d1bfb1d9417b96.manager.bundle.js.gz +0 -0
- package/demo/runtime~main.6524f5c8.iframe.bundle.js +2 -0
- package/demo/runtime~main.6524f5c8.iframe.bundle.js.br +0 -0
- package/demo/runtime~main.6524f5c8.iframe.bundle.js.gz +0 -0
- package/demo/static/media/ProximaLight.1c840f2e.woff +0 -0
- package/demo/static/media/ProximaLightItalic.26edbdf9.woff +0 -0
- package/demo/static/media/ProximaMedium.8648a446.woff +0 -0
- package/demo/static/media/ProximaMediumItalic.6dd91f36.woff +0 -0
- package/demo/static/media/ProximaNovaBlack.f1ff9416.woff +0 -0
- package/demo/static/media/ProximaNovaBlackItalic.aa93a937.woff +0 -0
- package/demo/static/media/ProximaNovaBold.690419e8.woff +0 -0
- package/demo/static/media/ProximaNovaBoldItalic.f322b739.woff +0 -0
- package/demo/static/media/ProximaNovaExtrabold.404c9e74.woff +0 -0
- package/demo/static/media/ProximaNovaExtraboldItalic.d97ffa0f.woff +0 -0
- package/demo/static/media/ProximaNovaRegular.7abe9fa6.woff +0 -0
- package/demo/static/media/ProximaNovaRegularItalic.1073d28d.woff +0 -0
- package/demo/static/media/ProximaNovaSemibold.1b57a486.woff +0 -0
- package/demo/static/media/ProximaNovaSemiboldItalic.47673788.woff +0 -0
- package/demo/static/media/ProximaNovaThin.730c623c.woff +0 -0
- package/demo/static/media/ProximaNovaThinItalic.2915a90e.woff +0 -0
- package/demo/stories.json +1 -0
- package/demo/view-breakpoint-index-stories.07c4034e.iframe.bundle.js +101 -0
- package/demo/view-breakpoint-index-stories.07c4034e.iframe.bundle.js.br +0 -0
- package/demo/view-breakpoint-index-stories.07c4034e.iframe.bundle.js.gz +0 -0
- package/demo/view-error-toast-index-stories.150e7043.iframe.bundle.js +361 -0
- package/demo/view-error-toast-index-stories.150e7043.iframe.bundle.js.br +0 -0
- package/demo/view-error-toast-index-stories.150e7043.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.88217bf7.iframe.bundle.js +669 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.88217bf7.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-advanced-autocomplete-stories.88217bf7.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.c0836179.iframe.bundle.js +477 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.c0836179.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-async-suggestions-autocomplete-stories.c0836179.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-autocomplete-index-stories.bd4d6826.iframe.bundle.js +245 -0
- package/demo/view-fields-autocomplete-index-stories.bd4d6826.iframe.bundle.js.br +0 -0
- package/demo/view-fields-autocomplete-index-stories.bd4d6826.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-check-box-index-stories.7c670c2f.iframe.bundle.js +181 -0
- package/demo/view-fields-check-box-index-stories.7c670c2f.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-index-stories.7c670c2f.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-check-box-set-value-stories.a8ee2420.iframe.bundle.js +237 -0
- package/demo/view-fields-check-box-set-value-stories.a8ee2420.iframe.bundle.js.br +0 -0
- package/demo/view-fields-check-box-set-value-stories.a8ee2420.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-combo-box-index-stories.2c4cd023.iframe.bundle.js +209 -0
- package/demo/view-fields-combo-box-index-stories.2c4cd023.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-index-stories.2c4cd023.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.4c5a5daa.iframe.bundle.js +229 -0
- package/demo/view-fields-combo-box-v3-index-stories.4c5a5daa.iframe.bundle.js.br +0 -0
- package/demo/view-fields-combo-box-v3-index-stories.4c5a5daa.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-input-index-stories.a297990d.iframe.bundle.js +189 -0
- package/demo/view-fields-date-input-index-stories.a297990d.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-input-index-stories.a297990d.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-picker-index-stories.33a03770.iframe.bundle.js +189 -0
- package/demo/view-fields-date-picker-index-stories.33a03770.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-picker-index-stories.33a03770.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-range-picker-index-stories.081312b2.iframe.bundle.js +161 -0
- package/demo/view-fields-date-range-picker-index-stories.081312b2.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-range-picker-index-stories.081312b2.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-date-time-picker-index-stories.f726cb13.iframe.bundle.js +649 -0
- package/demo/view-fields-date-time-picker-index-stories.f726cb13.iframe.bundle.js.br +0 -0
- package/demo/view-fields-date-time-picker-index-stories.f726cb13.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-form-item-layout-index-stories.f908ff52.iframe.bundle.js +149 -0
- package/demo/view-fields-form-item-layout-index-stories.f908ff52.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-item-layout-index-stories.f908ff52.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.130f90ad.iframe.bundle.js +266 -0
- package/demo/view-fields-form-layout-block-item-index-stories.130f90ad.iframe.bundle.js.br +0 -0
- package/demo/view-fields-form-layout-block-item-index-stories.130f90ad.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-input-mask-index-stories.45d48c6f.iframe.bundle.js +225 -0
- package/demo/view-fields-input-mask-index-stories.45d48c6f.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-mask-index-stories.45d48c6f.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-input-text-index-stories.55452999.iframe.bundle.js +161 -0
- package/demo/view-fields-input-text-index-stories.55452999.iframe.bundle.js.br +0 -0
- package/demo/view-fields-input-text-index-stories.55452999.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-large-text-box-index-stories.84253145.iframe.bundle.js +254 -0
- package/demo/view-fields-large-text-box-index-stories.84253145.iframe.bundle.js.br +0 -0
- package/demo/view-fields-large-text-box-index-stories.84253145.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.a092de7d.iframe.bundle.js +213 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.a092de7d.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-money-mask-stories.a092de7d.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.7899ca21.iframe.bundle.js +185 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.7899ca21.iframe.bundle.js.br +0 -0
- package/demo/view-fields-masked-input-text-with-percentage-mask-stories.7899ca21.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-group-index-stories.4243199b.iframe.bundle.js +281 -0
- package/demo/view-fields-radio-group-index-stories.4243199b.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-group-index-stories.4243199b.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-index-stories.46f142b2.iframe.bundle.js +342 -0
- package/demo/view-fields-radio-index-stories.46f142b2.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-index-stories.46f142b2.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-radio-set-value-stories.aa65ab02.iframe.bundle.js +366 -0
- package/demo/view-fields-radio-set-value-stories.aa65ab02.iframe.bundle.js.br +0 -0
- package/demo/view-fields-radio-set-value-stories.aa65ab02.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-text-box-index-stories.659f0c9c.iframe.bundle.js +258 -0
- package/demo/view-fields-text-box-index-stories.659f0c9c.iframe.bundle.js.br +0 -0
- package/demo/view-fields-text-box-index-stories.659f0c9c.iframe.bundle.js.gz +0 -0
- package/demo/view-fields-toggle-index-stories.5e3ae6c6.iframe.bundle.js +145 -0
- package/demo/view-fields-toggle-index-stories.5e3ae6c6.iframe.bundle.js.br +0 -0
- package/demo/view-fields-toggle-index-stories.5e3ae6c6.iframe.bundle.js.gz +0 -0
- package/demo/view-form-index-stories.b833b64a.iframe.bundle.js +373 -0
- package/demo/view-form-index-stories.b833b64a.iframe.bundle.js.br +0 -0
- package/demo/view-form-index-stories.b833b64a.iframe.bundle.js.gz +0 -0
- package/demo/view-form-usecases-stories.2c95de85.iframe.bundle.js +305 -0
- package/demo/view-form-usecases-stories.2c95de85.iframe.bundle.js.br +0 -0
- package/demo/view-form-usecases-stories.2c95de85.iframe.bundle.js.gz +0 -0
- package/demo/view-intro-stories-mdx.2f0f47f8.iframe.bundle.js +6 -0
- package/demo/view-intro-stories-mdx.2f0f47f8.iframe.bundle.js.br +0 -0
- package/demo/view-intro-stories-mdx.2f0f47f8.iframe.bundle.js.gz +0 -0
- package/demo/view-live-message-index-stories.4dee2a92.iframe.bundle.js +169 -0
- package/demo/view-live-message-index-stories.4dee2a92.iframe.bundle.js.br +0 -0
- package/demo/view-live-message-index-stories.4dee2a92.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-error-index-stories.d4fd7fb7.iframe.bundle.js +93 -0
- package/demo/view-modals-error-index-stories.d4fd7fb7.iframe.bundle.js.br +0 -0
- package/demo/view-modals-error-index-stories.d4fd7fb7.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.fb44d8d9.iframe.bundle.js +101 -0
- package/demo/view-modals-navigation-prompt-index-stories.fb44d8d9.iframe.bundle.js.br +0 -0
- package/demo/view-modals-navigation-prompt-index-stories.fb44d8d9.iframe.bundle.js.gz +0 -0
- package/demo/view-modals-session-expiry-index-stories.2d8aae87.iframe.bundle.js +101 -0
- package/demo/view-modals-session-expiry-index-stories.2d8aae87.iframe.bundle.js.br +0 -0
- package/demo/view-modals-session-expiry-index-stories.2d8aae87.iframe.bundle.js.gz +0 -0
- package/demo/view-session-timeout-index-stories.2055de22.iframe.bundle.js +53 -0
- package/demo/view-session-timeout-index-stories.2055de22.iframe.bundle.js.br +0 -0
- package/demo/view-session-timeout-index-stories.2055de22.iframe.bundle.js.gz +0 -0
- package/demo/view-wait-message-index-stories.c74a9836.iframe.bundle.js +177 -0
- package/demo/view-wait-message-index-stories.c74a9836.iframe.bundle.js.br +0 -0
- package/demo/view-wait-message-index-stories.c74a9836.iframe.bundle.js.gz +0 -0
- package/dist/cjs/analytics/index.js +2 -2
- package/dist/cjs/analytics/user-session-event.js +3 -3
- package/dist/cjs/communication/http-client/index.js +1 -1
- package/dist/cjs/index.js +3 -4
- package/dist/cjs/package.json +4 -1
- package/dist/cjs/utils/app-config/index.js +2 -2
- package/dist/cjs/utils/auth/index.js +11 -21
- package/dist/cjs/utils/{micro-frontend/scripting-objects/logrocket.js → logrocket.js} +31 -0
- package/dist/cjs/utils/micro-frontend/guest.js +3 -3
- package/dist/cjs/utils/micro-frontend/host.js +4 -5
- package/dist/cjs/utils/micro-frontend/ssf-host.js +2 -2
- package/dist/cjs/utils/testing/performance-mock.js +110 -0
- package/dist/cjs/view/fields/form-item-layout/index.js +3 -5
- package/dist/cjs/view/fields/form-layout-block-item/index.js +2 -4
- package/dist/cjs/view/page.js +4 -11
- package/dist/cjs/view/tests/__snapshots__/guest-microapp.test.tsx.snap +2 -2
- package/dist/cjs/view/wait-message/index.js +4 -17
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/user-session-event.js +1 -1
- package/dist/esm/communication/http-client/index.js +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/package.json +4 -1
- package/dist/esm/utils/app-config/index.js +1 -1
- package/dist/esm/utils/auth/index.js +9 -22
- package/dist/esm/utils/logrocket.js +40 -0
- package/dist/esm/utils/micro-frontend/guest.js +2 -2
- package/dist/esm/utils/micro-frontend/host.js +2 -3
- package/dist/esm/utils/micro-frontend/ssf-host.js +1 -1
- package/dist/esm/utils/testing/performance-mock.js +90 -0
- package/dist/esm/view/fields/form-item-layout/index.js +4 -6
- package/dist/esm/view/fields/form-layout-block-item/index.js +3 -5
- package/dist/esm/view/page.js +4 -11
- package/dist/esm/view/tests/__snapshots__/guest-microapp.test.tsx.snap +2 -2
- package/dist/esm/view/wait-message/index.js +4 -17
- package/dist/types/lib/index.d.ts +1 -2
- package/dist/types/lib/utils/logrocket.d.ts +15 -0
- package/dist/types/lib/utils/micro-frontend/host.d.ts +1 -1
- package/dist/types/lib/utils/micro-frontend/tests/host.test.d.ts +1 -0
- package/dist/types/lib/utils/testing/performance-mock.d.ts +27 -0
- package/dist/types/lib/view/fields/form-item-layout/index.d.ts +1 -1
- package/dist/types/lib/view/fields/form-layout-block-item/index.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +69 -67
- package/dist/cjs/utils/micro-frontend/scripting-objects/analytics.js +0 -197
- package/dist/cjs/utils/micro-frontend/scripting-objects/web-analytics.js +0 -34
- package/dist/esm/utils/micro-frontend/scripting-objects/analytics.js +0 -177
- package/dist/esm/utils/micro-frontend/scripting-objects/logrocket.js +0 -9
- package/dist/esm/utils/micro-frontend/scripting-objects/web-analytics.js +0 -14
- package/dist/types/lib/utils/micro-frontend/scripting-objects/analytics.d.ts +0 -65
- package/dist/types/lib/utils/micro-frontend/scripting-objects/logrocket.d.ts +0 -3
- package/dist/types/lib/utils/micro-frontend/scripting-objects/web-analytics.d.ts +0 -10
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_elliemae_pui_app_sdk=globalThis.webpackChunk_elliemae_pui_app_sdk||[]).push([[9825],{"./lib/view/fields/autocomplete/async-suggestions-autocomplete.stories.tsx":(A,p,e)=>{e.r(p),e.d(p,{AsyncSuggestionsAutocomplete:()=>C,__namedExportsOrder:()=>w,default:()=>k});var f=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/jsx.js"),t=e.n(f),c=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/slicedToArray.js"),d=e.n(c),m=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),l=e("./node_modules/.pnpm/@elliemae+ds-grid@3.54.6_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-grid/dist/esm/Grid.js"),_=e("./node_modules/.pnpm/@elliemae+ds-legacy-button-v2@1.0.16_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-legacy-button-v2/dist/esm/DSButtonV2.js"),u=e("./node_modules/.pnpm/react-hook-form@7.63.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs"),s=e("./lib/view/form/index.tsx"),i=e("./lib/view/fields/form-layout-block-item/index.tsx"),a=e("./lib/view/fields/autocomplete/index.tsx"),r=e("./lib/view/fields/input-text/index.tsx"),n=e("./lib/view/fields/watch-value.tsx"),o=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),v,g=`
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
var __STORY__ = "import React from 'react';\\nimport { Story, Meta } from '@storybook/react';\\nimport { Grid } from '@elliemae/ds-grid';\\nimport { DSButtonV2 } from '@elliemae/ds-button';\\nimport { useFormContext } from 'react-hook-form';\\nimport { Form } from '../../form/index.js';\\nimport { FormLayoutBlockItem } from '../form-layout-block-item/index.js';\\nimport { Autocomplete, AutocompleteProps } from './index.js';\\nimport { InputText } from '../input-text/index.js';\\nimport { WatchValue } from '../watch-value.js';\\n\\nexport default {\\n title: 'Components/Form/Controls/Autocomplete',\\n component: Autocomplete,\\n} as Meta;\\n\\ntype FakeOption = {\\n dsId: string;\\n type: 'option';\\n value: string;\\n label: string;\\n};\\nconst fakeOptionsFromServer: FakeOption[] = [\\n {\\n dsId: '1',\\n type: 'option',\\n value: 'Luke Skywalker too long this text is super long',\\n label: 'Luke Skywalker too long this text is super long',\\n },\\n {\\n dsId: '2',\\n type: 'option',\\n value: 'Obi-Wan Kenobi',\\n label: 'Obi-Wan Kenobi',\\n },\\n {\\n dsId: '3',\\n type: 'option',\\n value: 'Padme Amidala',\\n label: 'Padme Amidala',\\n },\\n];\\n\\nconst getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>\\n new Promise((resolve) => {\\n setTimeout(() => {\\n if (value.length < 3) return resolve([]);\\n return resolve(\\n fakeOptionsFromServer.filter((option) =>\\n option.value.toLowerCase().includes(value.toLowerCase()),\\n ),\\n );\\n }, 2000);\\n });\\n\\nconst AsyncAutoComplete = (args: AutocompleteProps) => {\\n const { watch } = useFormContext();\\n const [options, setOptions] = React.useState<FakeOption[]>([]);\\n\\n const asyncSetOptions = React.useCallback((value: string) => {\\n getFakeAsyncFilteredOptions(value)\\n .then((filteredOptions) => {\\n setOptions(filteredOptions);\\n })\\n .catch((error) => {\\n console.error(error);\\n });\\n }, []);\\n\\n React.useEffect(() => {\\n const subscription = watch((value, { name }) => {\\n if (name === args.name) {\\n // clear options until we get new ones from server\\n // in a real app,\\n // you ideally would memoize the options in a cache\\n // to reduce the number of requests to the server & reduce UX latency\\n // checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete\\n // for a trie implementation in JS that you can use to memoize options\\n // dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree\\n setOptions([]);\\n asyncSetOptions(value[name] as string);\\n }\\n });\\n return () => subscription.unsubscribe();\\n }, [args.name, asyncSetOptions, watch]);\\n\\n return (\\n <FormLayoutBlockItem\\n inputID=\\"star_wars_character\\"\\n label=\\"Favourite Star Wars character\\"\\n >\\n <Autocomplete name={args.name} options={options}>\\n <InputText name={args.name} defaultValue={args.defaultValue} />\\n </Autocomplete>\\n </FormLayoutBlockItem>\\n );\\n};\\n\\nconst Template: Story<AutocompleteProps> = (args) => (\\n <Grid p=\\"m\\">\\n <Form>\\n <AsyncAutoComplete {...args} />\\n <DSButtonV2>Submit</DSButtonV2>\\n <WatchValue label=\\"Favourite Star Wars character\\" {...args} />\\n </Form>\\n </Grid>\\n);\\n\\nexport const AsyncSuggestionsAutocomplete = Template.bind({});\\n\\nAsyncSuggestionsAutocomplete.args = {\\n name: 'star_wars_character',\\n defaultValue: 'Obi',\\n options: [],\\n};\\n";
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
var __LOCATIONS_MAP__ = {"AsyncSuggestionsAutocomplete":{"startLoc":{"col":43,"line":99},"endLoc":{"col":1,"line":107},"startBody":{"col":43,"line":99},"endBody":{"col":1,"line":107}}};
|
|
8
|
+
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import { Story, Meta } from '@storybook/react';
|
|
11
|
+
import { Grid } from '@elliemae/ds-grid';
|
|
12
|
+
import { DSButtonV2 } from '@elliemae/ds-button';
|
|
13
|
+
import { useFormContext } from 'react-hook-form';
|
|
14
|
+
import { Form } from '../../form/index.js';
|
|
15
|
+
import { FormLayoutBlockItem } from '../form-layout-block-item/index.js';
|
|
16
|
+
import { Autocomplete, AutocompleteProps } from './index.js';
|
|
17
|
+
import { InputText } from '../input-text/index.js';
|
|
18
|
+
import { WatchValue } from '../watch-value.js';
|
|
19
|
+
|
|
20
|
+
export default {parameters: {"storySource":{"source":"import React from 'react';\\nimport { Story, Meta } from '@storybook/react';\\nimport { Grid } from '@elliemae/ds-grid';\\nimport { DSButtonV2 } from '@elliemae/ds-button';\\nimport { useFormContext } from 'react-hook-form';\\nimport { Form } from '../../form/index.js';\\nimport { FormLayoutBlockItem } from '../form-layout-block-item/index.js';\\nimport { Autocomplete, AutocompleteProps } from './index.js';\\nimport { InputText } from '../input-text/index.js';\\nimport { WatchValue } from '../watch-value.js';\\n\\nexport default {\\n title: 'Components/Form/Controls/Autocomplete',\\n component: Autocomplete,\\n} as Meta;\\n\\ntype FakeOption = {\\n dsId: string;\\n type: 'option';\\n value: string;\\n label: string;\\n};\\nconst fakeOptionsFromServer: FakeOption[] = [\\n {\\n dsId: '1',\\n type: 'option',\\n value: 'Luke Skywalker too long this text is super long',\\n label: 'Luke Skywalker too long this text is super long',\\n },\\n {\\n dsId: '2',\\n type: 'option',\\n value: 'Obi-Wan Kenobi',\\n label: 'Obi-Wan Kenobi',\\n },\\n {\\n dsId: '3',\\n type: 'option',\\n value: 'Padme Amidala',\\n label: 'Padme Amidala',\\n },\\n];\\n\\nconst getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>\\n new Promise((resolve) => {\\n setTimeout(() => {\\n if (value.length < 3) return resolve([]);\\n return resolve(\\n fakeOptionsFromServer.filter((option) =>\\n option.value.toLowerCase().includes(value.toLowerCase()),\\n ),\\n );\\n }, 2000);\\n });\\n\\nconst AsyncAutoComplete = (args: AutocompleteProps) => {\\n const { watch } = useFormContext();\\n const [options, setOptions] = React.useState<FakeOption[]>([]);\\n\\n const asyncSetOptions = React.useCallback((value: string) => {\\n getFakeAsyncFilteredOptions(value)\\n .then((filteredOptions) => {\\n setOptions(filteredOptions);\\n })\\n .catch((error) => {\\n console.error(error);\\n });\\n }, []);\\n\\n React.useEffect(() => {\\n const subscription = watch((value, { name }) => {\\n if (name === args.name) {\\n // clear options until we get new ones from server\\n // in a real app,\\n // you ideally would memoize the options in a cache\\n // to reduce the number of requests to the server & reduce UX latency\\n // checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete\\n // for a trie implementation in JS that you can use to memoize options\\n // dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree\\n setOptions([]);\\n asyncSetOptions(value[name] as string);\\n }\\n });\\n return () => subscription.unsubscribe();\\n }, [args.name, asyncSetOptions, watch]);\\n\\n return (\\n <FormLayoutBlockItem\\n inputID=\\"star_wars_character\\"\\n label=\\"Favourite Star Wars character\\"\\n >\\n <Autocomplete name={args.name} options={options}>\\n <InputText name={args.name} defaultValue={args.defaultValue} />\\n </Autocomplete>\\n </FormLayoutBlockItem>\\n );\\n};\\n\\nconst Template: Story<AutocompleteProps> = (args) => (\\n <Grid p=\\"m\\">\\n <Form>\\n <AsyncAutoComplete {...args} />\\n <DSButtonV2>Submit</DSButtonV2>\\n <WatchValue label=\\"Favourite Star Wars character\\" {...args} />\\n </Form>\\n </Grid>\\n);\\n\\nexport const AsyncSuggestionsAutocomplete = Template.bind({});\\n\\nAsyncSuggestionsAutocomplete.args = {\\n name: 'star_wars_character',\\n defaultValue: 'Obi',\\n options: [],\\n};\\n","locationsMap":{"async-suggestions-autocomplete":{"startLoc":{"col":43,"line":99},"endLoc":{"col":1,"line":107},"startBody":{"col":43,"line":99},"endBody":{"col":1,"line":107}}}},},
|
|
21
|
+
title: 'Components/Form/Controls/Autocomplete',
|
|
22
|
+
component: Autocomplete,
|
|
23
|
+
} as Meta;
|
|
24
|
+
|
|
25
|
+
type FakeOption = {
|
|
26
|
+
dsId: string;
|
|
27
|
+
type: 'option';
|
|
28
|
+
value: string;
|
|
29
|
+
label: string;
|
|
30
|
+
};
|
|
31
|
+
const fakeOptionsFromServer: FakeOption[] = [
|
|
32
|
+
{
|
|
33
|
+
dsId: '1',
|
|
34
|
+
type: 'option',
|
|
35
|
+
value: 'Luke Skywalker too long this text is super long',
|
|
36
|
+
label: 'Luke Skywalker too long this text is super long',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
dsId: '2',
|
|
40
|
+
type: 'option',
|
|
41
|
+
value: 'Obi-Wan Kenobi',
|
|
42
|
+
label: 'Obi-Wan Kenobi',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
dsId: '3',
|
|
46
|
+
type: 'option',
|
|
47
|
+
value: 'Padme Amidala',
|
|
48
|
+
label: 'Padme Amidala',
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
const getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>
|
|
53
|
+
new Promise((resolve) => {
|
|
54
|
+
setTimeout(() => {
|
|
55
|
+
if (value.length < 3) return resolve([]);
|
|
56
|
+
return resolve(
|
|
57
|
+
fakeOptionsFromServer.filter((option) =>
|
|
58
|
+
option.value.toLowerCase().includes(value.toLowerCase()),
|
|
59
|
+
),
|
|
60
|
+
);
|
|
61
|
+
}, 2000);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
const AsyncAutoComplete = (args: AutocompleteProps) => {
|
|
65
|
+
const { watch } = useFormContext();
|
|
66
|
+
const [options, setOptions] = React.useState<FakeOption[]>([]);
|
|
67
|
+
|
|
68
|
+
const asyncSetOptions = React.useCallback((value: string) => {
|
|
69
|
+
getFakeAsyncFilteredOptions(value)
|
|
70
|
+
.then((filteredOptions) => {
|
|
71
|
+
setOptions(filteredOptions);
|
|
72
|
+
})
|
|
73
|
+
.catch((error) => {
|
|
74
|
+
console.error(error);
|
|
75
|
+
});
|
|
76
|
+
}, []);
|
|
77
|
+
|
|
78
|
+
React.useEffect(() => {
|
|
79
|
+
const subscription = watch((value, { name }) => {
|
|
80
|
+
if (name === args.name) {
|
|
81
|
+
// clear options until we get new ones from server
|
|
82
|
+
// in a real app,
|
|
83
|
+
// you ideally would memoize the options in a cache
|
|
84
|
+
// to reduce the number of requests to the server & reduce UX latency
|
|
85
|
+
// checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete
|
|
86
|
+
// for a trie implementation in JS that you can use to memoize options
|
|
87
|
+
// dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree
|
|
88
|
+
setOptions([]);
|
|
89
|
+
asyncSetOptions(value[name] as string);
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
return () => subscription.unsubscribe();
|
|
93
|
+
}, [args.name, asyncSetOptions, watch]);
|
|
94
|
+
|
|
95
|
+
return (
|
|
96
|
+
<FormLayoutBlockItem
|
|
97
|
+
inputID="star_wars_character"
|
|
98
|
+
label="Favourite Star Wars character"
|
|
99
|
+
>
|
|
100
|
+
<Autocomplete name={args.name} options={options}>
|
|
101
|
+
<InputText name={args.name} defaultValue={args.defaultValue} />
|
|
102
|
+
</Autocomplete>
|
|
103
|
+
</FormLayoutBlockItem>
|
|
104
|
+
);
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
const Template: Story<AutocompleteProps> = (args) => (
|
|
108
|
+
<Grid p="m">
|
|
109
|
+
<Form>
|
|
110
|
+
<AsyncAutoComplete {...args} />
|
|
111
|
+
<DSButtonV2>Submit</DSButtonV2>
|
|
112
|
+
<WatchValue label="Favourite Star Wars character" {...args} />
|
|
113
|
+
</Form>
|
|
114
|
+
</Grid>
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
export const AsyncSuggestionsAutocomplete = Template.bind({});
|
|
118
|
+
|
|
119
|
+
AsyncSuggestionsAutocomplete.args = {
|
|
120
|
+
name: 'star_wars_character',
|
|
121
|
+
defaultValue: 'Obi',
|
|
122
|
+
options: [],
|
|
123
|
+
};
|
|
124
|
+
`,y={AsyncSuggestionsAutocomplete:{startLoc:{col:43,line:107},endLoc:{col:1,line:115},startBody:{col:43,line:107},endBody:{col:1,line:115}}},g=`import React from 'react';
|
|
125
|
+
import { Story, Meta } from '@storybook/react';
|
|
126
|
+
import { Grid } from '@elliemae/ds-grid';
|
|
127
|
+
import { DSButtonV2 } from '@elliemae/ds-button';
|
|
128
|
+
import { useFormContext } from 'react-hook-form';
|
|
129
|
+
import { Form } from '../../form/index.js';
|
|
130
|
+
import { FormLayoutBlockItem } from '../form-layout-block-item/index.js';
|
|
131
|
+
import { Autocomplete, AutocompleteProps } from './index.js';
|
|
132
|
+
import { InputText } from '../input-text/index.js';
|
|
133
|
+
import { WatchValue } from '../watch-value.js';
|
|
134
|
+
|
|
135
|
+
export default {
|
|
136
|
+
title: 'Components/Form/Controls/Autocomplete',
|
|
137
|
+
component: Autocomplete,
|
|
138
|
+
} as Meta;
|
|
139
|
+
|
|
140
|
+
type FakeOption = {
|
|
141
|
+
dsId: string;
|
|
142
|
+
type: 'option';
|
|
143
|
+
value: string;
|
|
144
|
+
label: string;
|
|
145
|
+
};
|
|
146
|
+
const fakeOptionsFromServer: FakeOption[] = [
|
|
147
|
+
{
|
|
148
|
+
dsId: '1',
|
|
149
|
+
type: 'option',
|
|
150
|
+
value: 'Luke Skywalker too long this text is super long',
|
|
151
|
+
label: 'Luke Skywalker too long this text is super long',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
dsId: '2',
|
|
155
|
+
type: 'option',
|
|
156
|
+
value: 'Obi-Wan Kenobi',
|
|
157
|
+
label: 'Obi-Wan Kenobi',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
dsId: '3',
|
|
161
|
+
type: 'option',
|
|
162
|
+
value: 'Padme Amidala',
|
|
163
|
+
label: 'Padme Amidala',
|
|
164
|
+
},
|
|
165
|
+
];
|
|
166
|
+
|
|
167
|
+
const getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>
|
|
168
|
+
new Promise((resolve) => {
|
|
169
|
+
setTimeout(() => {
|
|
170
|
+
if (value.length < 3) return resolve([]);
|
|
171
|
+
return resolve(
|
|
172
|
+
fakeOptionsFromServer.filter((option) =>
|
|
173
|
+
option.value.toLowerCase().includes(value.toLowerCase()),
|
|
174
|
+
),
|
|
175
|
+
);
|
|
176
|
+
}, 2000);
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
const AsyncAutoComplete = (args: AutocompleteProps) => {
|
|
180
|
+
const { watch } = useFormContext();
|
|
181
|
+
const [options, setOptions] = React.useState<FakeOption[]>([]);
|
|
182
|
+
|
|
183
|
+
const asyncSetOptions = React.useCallback((value: string) => {
|
|
184
|
+
getFakeAsyncFilteredOptions(value)
|
|
185
|
+
.then((filteredOptions) => {
|
|
186
|
+
setOptions(filteredOptions);
|
|
187
|
+
})
|
|
188
|
+
.catch((error) => {
|
|
189
|
+
console.error(error);
|
|
190
|
+
});
|
|
191
|
+
}, []);
|
|
192
|
+
|
|
193
|
+
React.useEffect(() => {
|
|
194
|
+
const subscription = watch((value, { name }) => {
|
|
195
|
+
if (name === args.name) {
|
|
196
|
+
// clear options until we get new ones from server
|
|
197
|
+
// in a real app,
|
|
198
|
+
// you ideally would memoize the options in a cache
|
|
199
|
+
// to reduce the number of requests to the server & reduce UX latency
|
|
200
|
+
// checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete
|
|
201
|
+
// for a trie implementation in JS that you can use to memoize options
|
|
202
|
+
// dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree
|
|
203
|
+
setOptions([]);
|
|
204
|
+
asyncSetOptions(value[name] as string);
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
return () => subscription.unsubscribe();
|
|
208
|
+
}, [args.name, asyncSetOptions, watch]);
|
|
209
|
+
|
|
210
|
+
return (
|
|
211
|
+
<FormLayoutBlockItem
|
|
212
|
+
inputID="star_wars_character"
|
|
213
|
+
label="Favourite Star Wars character"
|
|
214
|
+
>
|
|
215
|
+
<Autocomplete name={args.name} options={options}>
|
|
216
|
+
<InputText name={args.name} defaultValue={args.defaultValue} />
|
|
217
|
+
</Autocomplete>
|
|
218
|
+
</FormLayoutBlockItem>
|
|
219
|
+
);
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
const Template: Story<AutocompleteProps> = (args) => (
|
|
223
|
+
<Grid p="m">
|
|
224
|
+
<Form>
|
|
225
|
+
<AsyncAutoComplete {...args} />
|
|
226
|
+
<DSButtonV2>Submit</DSButtonV2>
|
|
227
|
+
<WatchValue label="Favourite Star Wars character" {...args} />
|
|
228
|
+
</Form>
|
|
229
|
+
</Grid>
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
export const AsyncSuggestionsAutocomplete = Template.bind({});
|
|
233
|
+
|
|
234
|
+
AsyncSuggestionsAutocomplete.args = {
|
|
235
|
+
name: 'star_wars_character',
|
|
236
|
+
defaultValue: 'Obi',
|
|
237
|
+
options: [],
|
|
238
|
+
};
|
|
239
|
+
`,y={AsyncSuggestionsAutocomplete:{startLoc:{col:43,line:99},endLoc:{col:1,line:107},startBody:{col:43,line:99},endBody:{col:1,line:107}}};const k={parameters:{storySource:{source:`
|
|
240
|
+
|
|
241
|
+
// @ts-nocheck
|
|
242
|
+
// @ts-ignore
|
|
243
|
+
var __STORY__ = "import React from 'react';\\nimport { Story, Meta } from '@storybook/react';\\nimport { Grid } from '@elliemae/ds-grid';\\nimport { DSButtonV2 } from '@elliemae/ds-button';\\nimport { useFormContext } from 'react-hook-form';\\nimport { Form } from '../../form/index.js';\\nimport { FormLayoutBlockItem } from '../form-layout-block-item/index.js';\\nimport { Autocomplete, AutocompleteProps } from './index.js';\\nimport { InputText } from '../input-text/index.js';\\nimport { WatchValue } from '../watch-value.js';\\n\\nexport default {\\n title: 'Components/Form/Controls/Autocomplete',\\n component: Autocomplete,\\n} as Meta;\\n\\ntype FakeOption = {\\n dsId: string;\\n type: 'option';\\n value: string;\\n label: string;\\n};\\nconst fakeOptionsFromServer: FakeOption[] = [\\n {\\n dsId: '1',\\n type: 'option',\\n value: 'Luke Skywalker too long this text is super long',\\n label: 'Luke Skywalker too long this text is super long',\\n },\\n {\\n dsId: '2',\\n type: 'option',\\n value: 'Obi-Wan Kenobi',\\n label: 'Obi-Wan Kenobi',\\n },\\n {\\n dsId: '3',\\n type: 'option',\\n value: 'Padme Amidala',\\n label: 'Padme Amidala',\\n },\\n];\\n\\nconst getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>\\n new Promise((resolve) => {\\n setTimeout(() => {\\n if (value.length < 3) return resolve([]);\\n return resolve(\\n fakeOptionsFromServer.filter((option) =>\\n option.value.toLowerCase().includes(value.toLowerCase()),\\n ),\\n );\\n }, 2000);\\n });\\n\\nconst AsyncAutoComplete = (args: AutocompleteProps) => {\\n const { watch } = useFormContext();\\n const [options, setOptions] = React.useState<FakeOption[]>([]);\\n\\n const asyncSetOptions = React.useCallback((value: string) => {\\n getFakeAsyncFilteredOptions(value)\\n .then((filteredOptions) => {\\n setOptions(filteredOptions);\\n })\\n .catch((error) => {\\n console.error(error);\\n });\\n }, []);\\n\\n React.useEffect(() => {\\n const subscription = watch((value, { name }) => {\\n if (name === args.name) {\\n // clear options until we get new ones from server\\n // in a real app,\\n // you ideally would memoize the options in a cache\\n // to reduce the number of requests to the server & reduce UX latency\\n // checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete\\n // for a trie implementation in JS that you can use to memoize options\\n // dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree\\n setOptions([]);\\n asyncSetOptions(value[name] as string);\\n }\\n });\\n return () => subscription.unsubscribe();\\n }, [args.name, asyncSetOptions, watch]);\\n\\n return (\\n <FormLayoutBlockItem\\n inputID=\\"star_wars_character\\"\\n label=\\"Favourite Star Wars character\\"\\n >\\n <Autocomplete name={args.name} options={options}>\\n <InputText name={args.name} defaultValue={args.defaultValue} />\\n </Autocomplete>\\n </FormLayoutBlockItem>\\n );\\n};\\n\\nconst Template: Story<AutocompleteProps> = (args) => (\\n <Grid p=\\"m\\">\\n <Form>\\n <AsyncAutoComplete {...args} />\\n <DSButtonV2>Submit</DSButtonV2>\\n <WatchValue label=\\"Favourite Star Wars character\\" {...args} />\\n </Form>\\n </Grid>\\n);\\n\\nexport const AsyncSuggestionsAutocomplete = Template.bind({});\\n\\nAsyncSuggestionsAutocomplete.args = {\\n name: 'star_wars_character',\\n defaultValue: 'Obi',\\n options: [],\\n};\\n";
|
|
244
|
+
// @ts-ignore
|
|
245
|
+
var __LOCATIONS_MAP__ = {"AsyncSuggestionsAutocomplete":{"startLoc":{"col":43,"line":99},"endLoc":{"col":1,"line":107},"startBody":{"col":43,"line":99},"endBody":{"col":1,"line":107}}};
|
|
246
|
+
|
|
247
|
+
import React from 'react';
|
|
248
|
+
import { Story, Meta } from '@storybook/react';
|
|
249
|
+
import { Grid } from '@elliemae/ds-grid';
|
|
250
|
+
import { DSButtonV2 } from '@elliemae/ds-button';
|
|
251
|
+
import { useFormContext } from 'react-hook-form';
|
|
252
|
+
import { Form } from '../../form/index.js';
|
|
253
|
+
import { FormLayoutBlockItem } from '../form-layout-block-item/index.js';
|
|
254
|
+
import { Autocomplete, AutocompleteProps } from './index.js';
|
|
255
|
+
import { InputText } from '../input-text/index.js';
|
|
256
|
+
import { WatchValue } from '../watch-value.js';
|
|
257
|
+
|
|
258
|
+
export default {parameters: {"storySource":{"source":"import React from 'react';\\nimport { Story, Meta } from '@storybook/react';\\nimport { Grid } from '@elliemae/ds-grid';\\nimport { DSButtonV2 } from '@elliemae/ds-button';\\nimport { useFormContext } from 'react-hook-form';\\nimport { Form } from '../../form/index.js';\\nimport { FormLayoutBlockItem } from '../form-layout-block-item/index.js';\\nimport { Autocomplete, AutocompleteProps } from './index.js';\\nimport { InputText } from '../input-text/index.js';\\nimport { WatchValue } from '../watch-value.js';\\n\\nexport default {\\n title: 'Components/Form/Controls/Autocomplete',\\n component: Autocomplete,\\n} as Meta;\\n\\ntype FakeOption = {\\n dsId: string;\\n type: 'option';\\n value: string;\\n label: string;\\n};\\nconst fakeOptionsFromServer: FakeOption[] = [\\n {\\n dsId: '1',\\n type: 'option',\\n value: 'Luke Skywalker too long this text is super long',\\n label: 'Luke Skywalker too long this text is super long',\\n },\\n {\\n dsId: '2',\\n type: 'option',\\n value: 'Obi-Wan Kenobi',\\n label: 'Obi-Wan Kenobi',\\n },\\n {\\n dsId: '3',\\n type: 'option',\\n value: 'Padme Amidala',\\n label: 'Padme Amidala',\\n },\\n];\\n\\nconst getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>\\n new Promise((resolve) => {\\n setTimeout(() => {\\n if (value.length < 3) return resolve([]);\\n return resolve(\\n fakeOptionsFromServer.filter((option) =>\\n option.value.toLowerCase().includes(value.toLowerCase()),\\n ),\\n );\\n }, 2000);\\n });\\n\\nconst AsyncAutoComplete = (args: AutocompleteProps) => {\\n const { watch } = useFormContext();\\n const [options, setOptions] = React.useState<FakeOption[]>([]);\\n\\n const asyncSetOptions = React.useCallback((value: string) => {\\n getFakeAsyncFilteredOptions(value)\\n .then((filteredOptions) => {\\n setOptions(filteredOptions);\\n })\\n .catch((error) => {\\n console.error(error);\\n });\\n }, []);\\n\\n React.useEffect(() => {\\n const subscription = watch((value, { name }) => {\\n if (name === args.name) {\\n // clear options until we get new ones from server\\n // in a real app,\\n // you ideally would memoize the options in a cache\\n // to reduce the number of requests to the server & reduce UX latency\\n // checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete\\n // for a trie implementation in JS that you can use to memoize options\\n // dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree\\n setOptions([]);\\n asyncSetOptions(value[name] as string);\\n }\\n });\\n return () => subscription.unsubscribe();\\n }, [args.name, asyncSetOptions, watch]);\\n\\n return (\\n <FormLayoutBlockItem\\n inputID=\\"star_wars_character\\"\\n label=\\"Favourite Star Wars character\\"\\n >\\n <Autocomplete name={args.name} options={options}>\\n <InputText name={args.name} defaultValue={args.defaultValue} />\\n </Autocomplete>\\n </FormLayoutBlockItem>\\n );\\n};\\n\\nconst Template: Story<AutocompleteProps> = (args) => (\\n <Grid p=\\"m\\">\\n <Form>\\n <AsyncAutoComplete {...args} />\\n <DSButtonV2>Submit</DSButtonV2>\\n <WatchValue label=\\"Favourite Star Wars character\\" {...args} />\\n </Form>\\n </Grid>\\n);\\n\\nexport const AsyncSuggestionsAutocomplete = Template.bind({});\\n\\nAsyncSuggestionsAutocomplete.args = {\\n name: 'star_wars_character',\\n defaultValue: 'Obi',\\n options: [],\\n};\\n","locationsMap":{"async-suggestions-autocomplete":{"startLoc":{"col":43,"line":99},"endLoc":{"col":1,"line":107},"startBody":{"col":43,"line":99},"endBody":{"col":1,"line":107}}}},},
|
|
259
|
+
title: 'Components/Form/Controls/Autocomplete',
|
|
260
|
+
component: Autocomplete,
|
|
261
|
+
} as Meta;
|
|
262
|
+
|
|
263
|
+
type FakeOption = {
|
|
264
|
+
dsId: string;
|
|
265
|
+
type: 'option';
|
|
266
|
+
value: string;
|
|
267
|
+
label: string;
|
|
268
|
+
};
|
|
269
|
+
const fakeOptionsFromServer: FakeOption[] = [
|
|
270
|
+
{
|
|
271
|
+
dsId: '1',
|
|
272
|
+
type: 'option',
|
|
273
|
+
value: 'Luke Skywalker too long this text is super long',
|
|
274
|
+
label: 'Luke Skywalker too long this text is super long',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
dsId: '2',
|
|
278
|
+
type: 'option',
|
|
279
|
+
value: 'Obi-Wan Kenobi',
|
|
280
|
+
label: 'Obi-Wan Kenobi',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
dsId: '3',
|
|
284
|
+
type: 'option',
|
|
285
|
+
value: 'Padme Amidala',
|
|
286
|
+
label: 'Padme Amidala',
|
|
287
|
+
},
|
|
288
|
+
];
|
|
289
|
+
|
|
290
|
+
const getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>
|
|
291
|
+
new Promise((resolve) => {
|
|
292
|
+
setTimeout(() => {
|
|
293
|
+
if (value.length < 3) return resolve([]);
|
|
294
|
+
return resolve(
|
|
295
|
+
fakeOptionsFromServer.filter((option) =>
|
|
296
|
+
option.value.toLowerCase().includes(value.toLowerCase()),
|
|
297
|
+
),
|
|
298
|
+
);
|
|
299
|
+
}, 2000);
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
const AsyncAutoComplete = (args: AutocompleteProps) => {
|
|
303
|
+
const { watch } = useFormContext();
|
|
304
|
+
const [options, setOptions] = React.useState<FakeOption[]>([]);
|
|
305
|
+
|
|
306
|
+
const asyncSetOptions = React.useCallback((value: string) => {
|
|
307
|
+
getFakeAsyncFilteredOptions(value)
|
|
308
|
+
.then((filteredOptions) => {
|
|
309
|
+
setOptions(filteredOptions);
|
|
310
|
+
})
|
|
311
|
+
.catch((error) => {
|
|
312
|
+
console.error(error);
|
|
313
|
+
});
|
|
314
|
+
}, []);
|
|
315
|
+
|
|
316
|
+
React.useEffect(() => {
|
|
317
|
+
const subscription = watch((value, { name }) => {
|
|
318
|
+
if (name === args.name) {
|
|
319
|
+
// clear options until we get new ones from server
|
|
320
|
+
// in a real app,
|
|
321
|
+
// you ideally would memoize the options in a cache
|
|
322
|
+
// to reduce the number of requests to the server & reduce UX latency
|
|
323
|
+
// checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete
|
|
324
|
+
// for a trie implementation in JS that you can use to memoize options
|
|
325
|
+
// dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree
|
|
326
|
+
setOptions([]);
|
|
327
|
+
asyncSetOptions(value[name] as string);
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
return () => subscription.unsubscribe();
|
|
331
|
+
}, [args.name, asyncSetOptions, watch]);
|
|
332
|
+
|
|
333
|
+
return (
|
|
334
|
+
<FormLayoutBlockItem
|
|
335
|
+
inputID="star_wars_character"
|
|
336
|
+
label="Favourite Star Wars character"
|
|
337
|
+
>
|
|
338
|
+
<Autocomplete name={args.name} options={options}>
|
|
339
|
+
<InputText name={args.name} defaultValue={args.defaultValue} />
|
|
340
|
+
</Autocomplete>
|
|
341
|
+
</FormLayoutBlockItem>
|
|
342
|
+
);
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
const Template: Story<AutocompleteProps> = (args) => (
|
|
346
|
+
<Grid p="m">
|
|
347
|
+
<Form>
|
|
348
|
+
<AsyncAutoComplete {...args} />
|
|
349
|
+
<DSButtonV2>Submit</DSButtonV2>
|
|
350
|
+
<WatchValue label="Favourite Star Wars character" {...args} />
|
|
351
|
+
</Form>
|
|
352
|
+
</Grid>
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
export const AsyncSuggestionsAutocomplete = Template.bind({});
|
|
356
|
+
|
|
357
|
+
AsyncSuggestionsAutocomplete.args = {
|
|
358
|
+
name: 'star_wars_character',
|
|
359
|
+
defaultValue: 'Obi',
|
|
360
|
+
options: [],
|
|
361
|
+
};
|
|
362
|
+
`,locationsMap:{"async-suggestions-autocomplete":{startLoc:{col:43,line:107},endLoc:{col:1,line:115},startBody:{col:43,line:107},endBody:{col:1,line:115}}}},storySource:{source:`import React from 'react';
|
|
363
|
+
import { Story, Meta } from '@storybook/react';
|
|
364
|
+
import { Grid } from '@elliemae/ds-grid';
|
|
365
|
+
import { DSButtonV2 } from '@elliemae/ds-button';
|
|
366
|
+
import { useFormContext } from 'react-hook-form';
|
|
367
|
+
import { Form } from '../../form/index.js';
|
|
368
|
+
import { FormLayoutBlockItem } from '../form-layout-block-item/index.js';
|
|
369
|
+
import { Autocomplete, AutocompleteProps } from './index.js';
|
|
370
|
+
import { InputText } from '../input-text/index.js';
|
|
371
|
+
import { WatchValue } from '../watch-value.js';
|
|
372
|
+
|
|
373
|
+
export default {
|
|
374
|
+
title: 'Components/Form/Controls/Autocomplete',
|
|
375
|
+
component: Autocomplete,
|
|
376
|
+
} as Meta;
|
|
377
|
+
|
|
378
|
+
type FakeOption = {
|
|
379
|
+
dsId: string;
|
|
380
|
+
type: 'option';
|
|
381
|
+
value: string;
|
|
382
|
+
label: string;
|
|
383
|
+
};
|
|
384
|
+
const fakeOptionsFromServer: FakeOption[] = [
|
|
385
|
+
{
|
|
386
|
+
dsId: '1',
|
|
387
|
+
type: 'option',
|
|
388
|
+
value: 'Luke Skywalker too long this text is super long',
|
|
389
|
+
label: 'Luke Skywalker too long this text is super long',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
dsId: '2',
|
|
393
|
+
type: 'option',
|
|
394
|
+
value: 'Obi-Wan Kenobi',
|
|
395
|
+
label: 'Obi-Wan Kenobi',
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
dsId: '3',
|
|
399
|
+
type: 'option',
|
|
400
|
+
value: 'Padme Amidala',
|
|
401
|
+
label: 'Padme Amidala',
|
|
402
|
+
},
|
|
403
|
+
];
|
|
404
|
+
|
|
405
|
+
const getFakeAsyncFilteredOptions = (value: string): Promise<FakeOption[]> =>
|
|
406
|
+
new Promise((resolve) => {
|
|
407
|
+
setTimeout(() => {
|
|
408
|
+
if (value.length < 3) return resolve([]);
|
|
409
|
+
return resolve(
|
|
410
|
+
fakeOptionsFromServer.filter((option) =>
|
|
411
|
+
option.value.toLowerCase().includes(value.toLowerCase()),
|
|
412
|
+
),
|
|
413
|
+
);
|
|
414
|
+
}, 2000);
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
const AsyncAutoComplete = (args: AutocompleteProps) => {
|
|
418
|
+
const { watch } = useFormContext();
|
|
419
|
+
const [options, setOptions] = React.useState<FakeOption[]>([]);
|
|
420
|
+
|
|
421
|
+
const asyncSetOptions = React.useCallback((value: string) => {
|
|
422
|
+
getFakeAsyncFilteredOptions(value)
|
|
423
|
+
.then((filteredOptions) => {
|
|
424
|
+
setOptions(filteredOptions);
|
|
425
|
+
})
|
|
426
|
+
.catch((error) => {
|
|
427
|
+
console.error(error);
|
|
428
|
+
});
|
|
429
|
+
}, []);
|
|
430
|
+
|
|
431
|
+
React.useEffect(() => {
|
|
432
|
+
const subscription = watch((value, { name }) => {
|
|
433
|
+
if (name === args.name) {
|
|
434
|
+
// clear options until we get new ones from server
|
|
435
|
+
// in a real app,
|
|
436
|
+
// you ideally would memoize the options in a cache
|
|
437
|
+
// to reduce the number of requests to the server & reduce UX latency
|
|
438
|
+
// checkout https://stackfull.dev/trie-in-javascript-the-data-structure-behind-autocomplete
|
|
439
|
+
// for a trie implementation in JS that you can use to memoize options
|
|
440
|
+
// dimsum offers a tree data structure that you can use for this at https://qa.dimsum.rd.elliemae.io/?path=/story/hooks--use-ds-tree
|
|
441
|
+
setOptions([]);
|
|
442
|
+
asyncSetOptions(value[name] as string);
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
return () => subscription.unsubscribe();
|
|
446
|
+
}, [args.name, asyncSetOptions, watch]);
|
|
447
|
+
|
|
448
|
+
return (
|
|
449
|
+
<FormLayoutBlockItem
|
|
450
|
+
inputID="star_wars_character"
|
|
451
|
+
label="Favourite Star Wars character"
|
|
452
|
+
>
|
|
453
|
+
<Autocomplete name={args.name} options={options}>
|
|
454
|
+
<InputText name={args.name} defaultValue={args.defaultValue} />
|
|
455
|
+
</Autocomplete>
|
|
456
|
+
</FormLayoutBlockItem>
|
|
457
|
+
);
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
const Template: Story<AutocompleteProps> = (args) => (
|
|
461
|
+
<Grid p="m">
|
|
462
|
+
<Form>
|
|
463
|
+
<AsyncAutoComplete {...args} />
|
|
464
|
+
<DSButtonV2>Submit</DSButtonV2>
|
|
465
|
+
<WatchValue label="Favourite Star Wars character" {...args} />
|
|
466
|
+
</Form>
|
|
467
|
+
</Grid>
|
|
468
|
+
);
|
|
469
|
+
|
|
470
|
+
export const AsyncSuggestionsAutocomplete = Template.bind({});
|
|
471
|
+
|
|
472
|
+
AsyncSuggestionsAutocomplete.args = {
|
|
473
|
+
name: 'star_wars_character',
|
|
474
|
+
defaultValue: 'Obi',
|
|
475
|
+
options: [],
|
|
476
|
+
};
|
|
477
|
+
`,locationsMap:{"async-suggestions-autocomplete":{startLoc:{col:43,line:99},endLoc:{col:1,line:107},startBody:{col:43,line:99},endBody:{col:1,line:107}}}}},title:"Components/Form/Controls/Autocomplete",component:a.j};var O=[{dsId:"1",type:"option",value:"Luke Skywalker too long this text is super long",label:"Luke Skywalker too long this text is super long"},{dsId:"2",type:"option",value:"Obi-Wan Kenobi",label:"Obi-Wan Kenobi"},{dsId:"3",type:"option",value:"Padme Amidala",label:"Padme Amidala"}],S=function(h){return new Promise(function(P){setTimeout(function(){return h.length<3?P([]):P(O.filter(function(I){return I.value.toLowerCase().includes(h.toLowerCase())}))},2e3)})},x=function(h){var P=(0,u.xW)(),I=P.watch,M=m.useState([]),j=d()(M,2),W=j[0],D=j[1],L=m.useCallback(function(E){S(E).then(function(F){D(F)}).catch(function(F){console.error(F)})},[]);return m.useEffect(function(){var E=I(function(F,T){var B=T.name;B===h.name&&(D([]),L(F[B]))});return function(){return E.unsubscribe()}},[h.name,L,I]),t()(i.B,{inputID:"star_wars_character",label:"Favourite Star Wars character"},void 0,t()(a.j,{name:h.name,options:W},void 0,t()(r.S,{name:h.name,defaultValue:h.defaultValue})))};x.displayName="AsyncAutoComplete";var b=function(h){return t()(l.Ay,{p:"m"},void 0,t()(s.l,{},void 0,(0,o.jsx)(x,Object.assign({},h)),v||(v=t()(_.e,{},void 0,"Submit")),(0,o.jsx)(n.n,Object.assign({label:"Favourite Star Wars character"},h))))};b.displayName="Template";var C=b.bind({});C.args={name:"star_wars_character",defaultValue:"Obi",options:[]};var w=["AsyncSuggestionsAutocomplete"]},"./lib/view/fields/autocomplete/index.tsx":(A,p,e)=>{e.d(p,{j:()=>i});var f=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/jsx.js"),t=e.n(f),c=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),m=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"),l=e("./node_modules/.pnpm/@elliemae+ds-form-layout-autocomplete@3.54.6_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-form-layout-autocomplete/dist/esm/Autocomplete.js"),_=e("./node_modules/.pnpm/react-hook-form@7.63.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs"),u=["children"],s=function(a,r){if(!r)return a;var n=a.filter(function(o){return o.type==="section"||o.label.toLowerCase().includes(r?.toLowerCase())});return n.length===1&&n[0].type==="section"?[]:n},i=function(a){var r=a.children,n=d()(a,u),o=(0,_.xW)(),v=o.watch,g=o.setValue,y=v(n.name),k=(0,m.useCallback)(function(O){for(var S=arguments.length,x=new Array(S>1?S-1:0),b=1;b<S;b++)x[b-1]=arguments[b];n.onSelect?n.onSelect.apply(n,[O].concat(x)):g(n.name,O,{shouldValidate:!0,shouldDirty:!0,shouldTouch:!0})},[n,g]);return t()(l.A,{id:"",filter:y??"",onSelect:k,options:s(n.options,y)},void 0,r)};i.displayName="Autocomplete"},"./lib/view/fields/form-layout-block-item/index.tsx":(A,p,e)=>{e.d(p,{B:()=>_});var f=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),t=e.n(f),c=e("./node_modules/.pnpm/@elliemae+ds-form-layout-blocks@3.54.6_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-form-layout-blocks/dist/esm/form-layout-block-item/DSFormLayoutBlockItem.js"),d=e("./node_modules/.pnpm/react-hook-form@7.63.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs"),m=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),l=["inputID","label"],_=function(u){var s=u.inputID,i=u.label,a=t()(u,l),r=(0,d.lN)({name:s}),n=r.errors,o=(0,d.Jt)(n,s),v=!!o,g=o?.message;return(0,m.jsx)(c.U,Object.assign({inputID:s,label:i,hasError:v,validationMessage:g},a))};_.displayName="FormLayoutBlockItem"},"./lib/view/fields/input-text/index.tsx":(A,p,e)=>{e.d(p,{S:()=>s});var f=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/jsx.js"),t=e.n(f),c=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"),d=e.n(c),m=e("./node_modules/.pnpm/@elliemae+ds-form-input-text@3.54.6_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-form-input-text/dist/esm/DSInputText.js"),l=e("./node_modules/.pnpm/react-hook-form@7.63.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs"),_=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),u=["name","defaultValue","rules"],s=function(i){var a=i.name,r=i.defaultValue,n=r===void 0?"":r,o=i.rules,v=o===void 0?{}:o,g=d()(i,u);return t()(l.xI,{name:a,defaultValue:n,rules:v,render:function(y){var k=y.field,O=y.fieldState.error;return(0,_.jsx)(m.B,Object.assign({hasError:!!O},k,g))}})};s.displayName="InputText"},"./lib/view/fields/watch-value.tsx":(A,p,e)=>{e.d(p,{n:()=>s});var f=e("./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/jsx.js"),t=e.n(f),c=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js"),d=e("./node_modules/.pnpm/@elliemae+ds-grid@3.54.6_@elliemae+pui-theme@2.13.0/node_modules/@elliemae/ds-grid/dist/esm/Grid.js"),m=e("./node_modules/.pnpm/react-hook-form@7.63.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs"),l,_=c.Ay.section.withConfig({componentId:"sc-1va6d9p-0"})(["margin-top:10px;border-top:2px blue dotted;width:100%;"]),u=c.Ay.div.withConfig({componentId:"sc-1va6d9p-1"})(["display:flex;flex-direction:column;padding-left:10px;align-items:flex-start;"]),s=function(i){var a=i.name,r=i.label,n=(0,m.xW)(),o=n.watch,v=o(a,!1)||"";return t()(d.Ay,{},void 0,t()(_,{},void 0,l||(l=t()("h4",{},void 0,"Form Data:")),t()(u,{},void 0,t()("div",{},void 0,r," : ",t()("strong",{},void 0,JSON.stringify(v))))))};s.displayName="WatchValue"},"./lib/view/form/index.tsx":(A,p,e)=>{e.d(p,{l:()=>m});var f=e("./node_modules/.pnpm/styled-components@5.3.11_react-dom@18.3.1_react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js"),t=e("./node_modules/.pnpm/react-hook-form@7.63.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs"),c=e("./node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"),d=f.Ay.form.withConfig({componentId:"sc-1pyjvv3-0"})(["width:100%;"]),m=function(l){var _=l.classname,u=l.reactHookFormProps,s=u===void 0?{mode:"onBlur"}:u,i=l.children,a=l.onSubmit,r=(0,t.mN)(s),n={};a&&(n.onSubmit=r.handleSubmit(a));var o=Object.assign(r,{formProps:s});return(0,c.jsx)(t.Op,Object.assign({},o,{children:(0,c.jsx)(d,Object.assign({className:_},n,{children:i}))}))};m.displayName="Form"}}]);
|
|
Binary file
|