Skip to content

Commit

Permalink
Bal 596 kyb app cleanup (#1483)
Browse files Browse the repository at this point in the history
* fix: added serialization to number values of text input & schema fixes

* feat: added ui elem props hook & schema fixes

* feat: added triggering of validation on change & ui text field serialization fix & prev button fix

* updated validations

* updated validations

* feat: added handling of visibleOn rules & schema fixes

* fix: fixed schemas & added h3 mock

* updated validation of store info

* debugger from kybApp

* added required and optional fields

* updated process details schema

* feat: added global ui state & added ui state support to rule engine

* feat: implemented document input & removed reduntant label from file input in ui package

* fix: typo fix

* fix: move all capabilities of /with-token endpoint into /run endpoint

* fix: implemented rendering of uploaded files & fixed document saving

* Blokh/feat/dynamic UI errors (#1379)

* added error handling for validators

* finished errors for rules

* ran format

* added isIncludingErrors over uiComponent

* updated rule logic of isIncludingErrors

* fix: fixed post merge issues & refactored rules execution

---------

Co-authored-by: Illia Rudniev <cheskmr@gmail.com>

* fixed flow of dyanmic ui

* New collection flow blocks (#1381)

* fix(kyb-app): now persisting token query param after navigating to success route (#1330)

* Merge `sb` into `mt` (#1355)

* feat: sync mt with sb

* feat: publish common

* chore(deps-dev): bump postcss from 8.4.21 to 8.4.31 (#1360)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.21...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump zod from 3.21.4 to 3.22.3 (#1359)

Bumps [zod](https://github.com/colinhacks/zod) from 3.21.4 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](colinhacks/zod@v3.21.4...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* versions bump (#1363)

* Backoffice `Table` cell (#1354)

* feat(backoffice-v2): added table cell

* refactor(backoffice-v2): renamed TableCellUI to TableCellComponent

* feat(backoffice-v2): table cell can now handle urls

* feat(backoffice-v2): table cell now handles json via json dialog

* feat(backoffice-v2): table cell now supports displaying date

* refactor(backoffice-v2): improved typography and spacing in the table cell

* feat(backoffice-v2): added a mock version of the store info block

* feat(backoffice-v2): added a mock version of the website basic requirement block

* feat(backoffice-v2): added a mock version of the banking details block

* feat(backoffice-v2): added a mock version of the processing details block

* refactor(backoffice-v2): updated mocks and moved their usage

* refactor(backoffice-v2): removed type property from new collection flow blocks

* fix(*): fixed pnpm-lockfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matan Yadaev <matan.yed@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alon Peretz <Alonp99@gmail.com>
Co-authored-by: Daniel Blokh <35891501+Blokh@users.noreply.github.com>

* feat: added base integration of stepper & added transition listener

* Company sanctions block (#1383)

* Merge `sb` into `mt` (#1355)

* feat: sync mt with sb

* feat: publish common

* chore(deps): bump zod from 3.21.4 to 3.22.3 (#1359)

Bumps [zod](https://github.com/colinhacks/zod) from 3.21.4 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](colinhacks/zod@v3.21.4...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* versions bump (#1363)

* refactor(backoffice-v2): update Input and EditableDetails components and adjust logging format (#1371)

* feat(backoffice-v2): wip - added a mock version of the company sanctions block

* refactor(backoffice-v2): mock data is now closer to how the real data should look

ui is now also closer to figma

* feat(backoffice-v2): mapped company sanctions block to mock data

* feat(backoffice-v2): fixed spacing

* fix(workflow-browser-sdk): added ts-ignore to appease eslint

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matan Yadaev <matan.yed@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alon Peretz <Alonp99@gmail.com>

* New registry blocks (#1385)

* Merge `sb` into `mt` (#1355)

* feat: sync mt with sb

* feat: publish common

* versions bump (#1363)

* feat(backoffice-v2): added ubos block with mock data

* feat(backoffice-v2): added the directors block with mock data

* refactor(backoffice-v2): re-ordered blocks

* feat(backoffice-v2): connected new blocks to real data

* revert(kyb-app): removed tailwind-mege from deps

* refactor(backoffice-v3): removed temp mock files

---------

Co-authored-by: Matan Yadaev <matan.yed@gmail.com>
Co-authored-by: Alon Peretz <Alonp99@gmail.com>

* added overrideContext type logic

* Added additional backoffice blocks (#1391)

* feat(backoffice-v2): added missing main representative block

* refactor(backoffice-v2): fixed directors block label to user provided and changed casing to match

* feat(backoffice-v2): added main contact block and refactored directors block

* feat(backoffice-v2): added a registry-provided directors block

* Blokh/feat/error page interface (#1390)

* feat: add format error

* ran format

* added overrideContext type logic

* feat: added rendering of page errors & added ajv-errors mapping

* updated errors for first page

* added error messages for requiredd

* fix: fixed errors mapping

* added specific validations

* updated error messages for process details

* feat: updated validation logic & schema fixes

* fix: changed ajv validator schema & updated business address schema

* updated validation format

* updated business address logic

* updated business address logic

* updated messages for adress fields

* added adress logic

* feat: wrapped dynamic form in ui

* feat: added pretty error message output

* updated rule engine

* feat: added stepper progress & loading indicator & removed finish screen from schema

* added required to ubos and directors

* fix: stepper transition fixes & ubo validation & schema fixes

* fix: fixed error rendering

* feat: added auto data insert & deletion to array forms & schema updates

* updated format and seed

* fix: fixed missing placeholders in array inputs

* Collection flow fixes (#1405)

* fix(ui definition): fixed typo of cinese

* fix(ui definition): changed URLS to URLs

* refactor(kyb-app): now using a button element for the kyb app back button

* refactor(ui definition): changed naming to match figma

* refactor(ui definition): changed swift to SWIFT to match figma

* feat(kyb-app): the back button is now disabled on the first step of the collection flow

* fix(ui definition): added missing dropdown options to ubo nationality

* feat(ui definition): addeded missing search address field

* refactor(kyb-app): made back button use current page number instead of next events

removes dependancy on event name

* refactor(kyb-app): simplified back button disable check

* chore: store info schema fixes

* fix: enabled defaults in ajv

* updated minimum percetage of 25

* removed back button

* Changed blocks based on signoff comments (#1394)

* fix(backoffice-v2): no longer displaying a registry information block for unintended props

also improved type safety of the omitPropsFromObject function

* refactor(backoffice-v2): improved spacing around table cells and subheadings

* refactor(backoffice-v2): removed divider from main contact block

* fix(backoffice-v2): fixed bank details and website basic requirement blocks using each other's data

data was reversed

* refactor(backoffice-v2): omitted website detail from the store info block

* refactor(backoffice-v2): updated website urls rendering

* fix(backoffice-v2): reduced padding on table empty state and height

* refactor(backoffice-v2): removed usage of mocks for blocks

* updated ui schema

* fix: fixed bug where array input fields were automatically removed on re-mount

* feat: added validation to contacts page schema & update definition

* chore: versions bump

* fix: fixed banking details schema

* feat: added mapping of revision results to document fields & reworked File mapping in input

* version bump

* version bump

* feat: added jmespath & updated documents page definition

* fix: fixed website requirement schema

* fix: fixed process details schema & documents & removed previous button

* feat: added handling of approved/rejected states

* feat: added titles/descriptions to company docs definition & added description element

* version bump

* version bump

* version bump

* version bump

* version bump

* fix: fixed autocomplete crash bug & ui bump

* fix: fixed checkbox name duplicate in docs schema

* fix: fixed bug where documents upload didnt pass validation

* feat: added nationality picker & schema updates

* feat: disabled auth page

* fix: temp solution to debounce async plugin calls

* updated process details logic

* updated schemas for collection flow

* feat: added checkbox list input adapter & schema updates

* fix: fixed data types in processing details schema

* fix: fixed documents upload & schema updates

* feat: added dividers & schema fixes

* fix: divider margins fix

* fix: fixed bug in UI where empty node of description was rendered & schema fixes

* fix: spacing fixes

* version bump

* fix url for deployment

* double webhooks fix

* double webhooks fix

* fixed decision re-try

* cors and webhook fix

* Changed UI to use usePageErrors (#1416)

* feat(kyb-app): breadcrumb item now uses warning variant if there's an error on that page

* feat(kyb-app): now moving the ui to the first state with an error on load/refresh

* added collection flow for ubos (#1417)

Co-authored-by: Alon Peretz <Alonp99@gmail.com>

* feat: added error rendering on blur & refactored code & schema fixes & initial state mapping

* fix: fixed personal info job title

* fix assignment bug

* fix: validation & page navigation fixes

* updated definition states

* bump

* dashboard fix

* missing intirior is not working

* feat(ui definitions): updated ui definitions to use the new country picker component (#1423)

* Replaced non-dropdown fields with a dropdown (#1407)

* refactor(ui definition): replaced corporate type's autocomplete input with a dropdown

* refactor(ui definition): changed website language to a dropdown

* refactor(ui definitions): synced corporate type with base branch

* feat(kyb-app): added a locale input

* refactor(languages.ts): made consts lower cased

---------

Co-authored-by: Daniel Blokh <35891501+Blokh@users.noreply.github.com>

* fix(backoffice-v2): the backoffice logo is no longer stretched or overflows its parent link (#1420)

* Replace dropdown placeholders with 'choose' (#1421)

* refactor(ui definitions): replaced dropdown placeholders with the word 'choose'

* refactor(ui definition): replaced placeholders of new dropdowns

* updated collection flow 9

* updated schemas

* refactor(*): now using tags to present the case status markers instead of entity approvalStatus (#1427)

* Customer-specific webhook configuration (#1138)

* feat: definition callback configuration over customer id

* fix: infra for webhook shared secret

* fix: fix subscription schema

* feat: sign function

* fix: wip

* feat: use getWebhooks function

* fix: fix events from being called twice

---------

Co-authored-by: Matan Yadaev <matan.yed@gmail.com>
Co-authored-by: Alon Peretz <Alonp99@gmail.com>

* feat: implemented destination validator & schema updates (#1428)

* feat: implemented destination validator & schema updates

* added schema validation logic

* updated seed's filter

---------

Co-authored-by: blokh <danielblokhi@gmail.com>

* refactor(ui definitions): updated corporate types (#1430)

* updated schema

* updated document schema

* Universal document schemas (#1429)

* refactor(schemas): schema univrasl

* refactor(schemas): schema univrasl

* refactor(schemas): schema univrasl

* removed unused code

* bump

* refactor(run-endpoint): token logic

* refactor(run-endpoint): token logic

* Add missing corporate types to dropdown (#1431)

* refactor(ui definition): refactored corporate type to use a dropdown instead of autocomplete input

* fix(kyb-app): fixed nationality picker not displaying all nationalities

* fix(*): fixed pnpm-lockfile

* feat: added submit button element & added errors highlight on submit click

* fix: lock file

* updated schemas for ubos and directors

* fixed contact page and document button validation

* fix: reworked document mapping & added ids to documents

* fix: document fetch fix

* fix: documents filter exception fix

* Remove from entity block props represented in blocks of their own (#1425)

* refactor(backoffice-v2): removed props from the entity block which are already blocks themselves

* refactor(backoffice-v2): now removing the ubos property from entity block if rendering kyc blocks

* refactor(backoffice-v2): removed condition for removing the ubos property

* refactor(backoffice-v2): moved task blocks (documents) to bottom of the order (#1426)

* fix(workflows-service): now passing content-type using mime type to s3 uploads (#1433)

* fix(ui definitions): fixed broken required field in ui definition

* feat: fixed child workflow logic with entity (#1436)

* fix: reworked mapping & validation & data assigning for documents (#1438)

* fix: reworked mapping & validation & data assigning for documents

* fix: backoffice crash fix

* fix: fixed missing document field & fixed file id persistance & event filtering fix

* chore: added customer company name & company name to ubo/directors

* added logic of persistence and using of child workflow

---------

Co-authored-by: blokh <danielblokhi@gmail.com>

* bump

* finished fixing image logic

* fix: fixed ubos/directors company info format & fixed crash

* logs

* KYB App URL format fixes (#1437)

* fix: fixed URLs formats in KYB app

* fix: enabled anchors

* refactor(nationality): add en json

* refactor(workflows-service): now using Prisma enum for validation

* fix(workflows-service): fixed uiContext type

* refactor(kyb-app): removed commented out route

* refactor(ui package): improved readability on callback

* refactor(ui package): replaced instance of object type

* refactor(ui package): renamed instances of used variables with _ prefix

* refactor(api plugin): refactored the condition to stringify body

* refactor(workflows-service): removed unused ts ignores

* style(ui-definition): removed from .prettierignore and ran format

* lang

* refactor(workflows-service): moved authenticated user type to declaration file

* feat(workflows-service): added a dto to the finishFlow endpoint

* fix(*): fixed type errors

* refactor(workflows-service): replaced instances of object type with record

* fixed the child workflow persistence logic

* fixed the child workflow persistence logic

* fix(ui package): replaced unknown with any to match types used in other places

* fixed ubos component

* fix: fixed errors rendering on ubos/directors & directors schema fixes

* fix(backoffice-v2): no longer creating the registry info block from plugins output (#1444)

Co-authored-by: Daniel Blokh <35891501+Blokh@users.noreply.github.com>

* get id from ballerine entity id (kyc webhook)

* fix(backoffice-v2): now providing a fallback value to document category and type (#1451)

* updated document page issuer counter

* feat: added decision reset on document selection

* updated kycu email revision logic

* updated kycu email revision logic

* added revision and reject actions to flow

* updated resubmission flow over defintion

* feat: added industries picker & updated industries list & fixed autocomplete placeholder

* fix: fixed mapping of revision warnings

* updated kyb plugin to be available with country code as well

* fixed schemas for documents

* fix(backoffice-v2): remapped directors data to fix missing values (#1455)

* fix(backoffice-v2): no longer displaying no case badge on pending process tag (#1453)

* fix: fixed initial page mapping on revision

* Reverted registry info block to use plugins output (#1456)

* revert(backoffice-v2): registry info block is now using plugins output again for its data source

* refactor(backoffice-v2): refactored the openCorporate prop to indicate it is unused

* fix(backoffice-v2): changed isEditable prop of the kyc block to false until editing is implemented (#1454)

* get id from ballerine entity id (kyc webhook)

* get id from ballerine entity id (kyc webhook)

* feat: changed back button text & added redirect to customer site

* added states for filter

* chore: renamed customerWebsiteUrl to websiteUrl

* added customer data to find by projectId (#1457)

* added customer data to find by projectId

* updated selection of relevant information

* added websiteUrl to customer creation

* get id from ballerine entity id (kyc webhook)

* get id from ballerine entity id (kyc webhook)

* get id from ballerine entity id (kyc webhook)

* get id from ballerine entity id (kyc webhook)

* modified new user script

* updated error of schema of send event

* updated sharedholders schema

* ver bump

* Added a favicon image url for customers (#1469)

* feat(*): added faviconImageUri to arguments and schemas

* feat(kyb-app): now using the customer's favicon url as a favicon

* revert(workflows-dashboard): reverted package json script

---------

Co-authored-by: Alon Peretz <Alonp99@gmail.com>

* fix(workflows): fix kyb workflow, duplicate business creation on run (#1471)

* fix(workflows): fix kyb workflow, duplicate business creation on run

* ver bump

* fix(workflows): fix kyb workflow, duplicate business creation on run

* fix unit tests

* fix unit tests

* fix unit tests

* Added admin auth guard for creating filters (#1481)

* refactor(workflows-service): wip - now using admin guard instead of customer for creating filter

* refactor(workflows-service): removed redundant optional chaining

* refactor(seed): updated definitions to use jmespath for secrets instead of process.env (#1477)

* refactor(backoffice-v2): changed kyc block dialog title (#1475)

* fix(backoffice-v2): no longer using decision status for kyc actions disable condition (#1473)

* fix(kyb-app): moved react helmet higher the tree so favicon works with error page (#1472)

* chore: removed unused code

* chore: moved kyb-app from examples to apps

* add io to cors

* feat: added message for invalid token & fixed handling of incorrect uid to throw 401 & seed fix (#1474)

Co-authored-by: Alon Peretz <Alonp99@gmail.com>

* add io to cors

* add io to cors

* add io to cors

* add io to cors

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: blokh <danielblokhi@gmail.com>
Co-authored-by: Matan Yadaev <matan.yed@gmail.com>
Co-authored-by: Daniel Blokh <35891501+Blokh@users.noreply.github.com>
Co-authored-by: Omri Levy <61207713+Omri-Levy@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alon Peretz <Alonp99@gmail.com>
Co-authored-by: Omri Levy <omri.levy0197@gmail.com>
Co-authored-by: Tomer Shvadron <tomers@ballerine.com>
  • Loading branch information
9 people committed Oct 25, 2023
1 parent 7ba3b78 commit 801fc63
Show file tree
Hide file tree
Showing 495 changed files with 498 additions and 3,194 deletions.
18 changes: 18 additions & 0 deletions .changeset/eight-cheetahs-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

pre
18 changes: 18 additions & 0 deletions .changeset/eleven-lizards-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Pre ver
13 changes: 13 additions & 0 deletions .changeset/fifty-clouds-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/ui': patch
---

Prerelease
18 changes: 18 additions & 0 deletions .changeset/fresh-bears-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

bump pre
5 changes: 5 additions & 0 deletions .changeset/fuzzy-geckos-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ballerine/ui': patch
---

Updated exports & Renamed vars
18 changes: 18 additions & 0 deletions .changeset/healthy-mangos-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Version bump pre
18 changes: 18 additions & 0 deletions .changeset/kind-months-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Pre bump
18 changes: 18 additions & 0 deletions .changeset/lemon-llamas-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Pre bump
5 changes: 5 additions & 0 deletions .changeset/plenty-beers-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ballerine/ui': patch
---

Added default value to Autocomplete
39 changes: 39 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"mode": "pre",
"tag": "3e08f108",
"initialVersions": {
"@ballerine/backoffice-v2": "0.5.10",
"@ballerine/workflows-dashboard": "0.1.3",
"@ballerine/headless-example": "0.1.10",
"@ballerine/kyb-app": "0.1.4",
"@ballerine/blocks": "0.1.10",
"@ballerine/common": "0.7.12",
"@ballerine/rules-engine-lib": "0.4.15",
"@ballerine/ui": "0.3.4",
"@ballerine/workflow-core": "0.5.10",
"@ballerine/web-ui-sdk": "1.4.9",
"@ballerine/workflow-browser-sdk": "0.5.10",
"@ballerine/workflow-node-sdk": "0.5.10",
"@ballerine/websocket-service": "0.0.8",
"@ballerine/workflows-service": "0.5.10",
"@ballerine/docs-site": "0.4.1"
},
"changesets": [
"eight-cheetahs-jump",
"eleven-lizards-kneel",
"fifty-clouds-change",
"fresh-bears-promise",
"fuzzy-geckos-fold",
"healthy-mangos-yell",
"kind-months-smash",
"lemon-llamas-beam",
"plenty-beers-tickle",
"quick-donuts-kick",
"rotten-eyes-drum",
"spicy-comics-fix",
"spotty-pillows-press",
"two-comics-swim",
"weak-mirrors-sip",
"young-rice-teach"
]
}
18 changes: 18 additions & 0 deletions .changeset/quick-donuts-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Bump
18 changes: 18 additions & 0 deletions .changeset/rotten-eyes-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/ui': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/common': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/websocket-service': patch
---

pre
5 changes: 5 additions & 0 deletions .changeset/spicy-comics-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ballerine/ui': patch
---

Added blur handlers to Dynamic Form inputs
5 changes: 5 additions & 0 deletions .changeset/spotty-pillows-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ballerine/ui': patch
---

Fixed missing AutocompleteAdapter placeholder
18 changes: 18 additions & 0 deletions .changeset/two-comics-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Pre release
18 changes: 18 additions & 0 deletions .changeset/weak-mirrors-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@ballerine/websocket-service': patch
'@ballerine/workflows-service': patch
'@ballerine/headless-example': patch
'@ballerine/workflow-browser-sdk': patch
'@ballerine/workflows-dashboard': patch
'@ballerine/workflow-core': patch
'@ballerine/workflow-node-sdk': patch
'@ballerine/rules-engine-lib': patch
'@ballerine/backoffice-v2': patch
'@ballerine/kyb-app': patch
'@ballerine/blocks': patch
'@ballerine/common': patch
'@ballerine/web-ui-sdk': patch
'@ballerine/ui': patch
---

Bumo
5 changes: 5 additions & 0 deletions .changeset/young-rice-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ballerine/ui': patch
---

Bump
8 changes: 4 additions & 4 deletions .github/workflows/publish-kyb-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
# Run this pipeline only if there are changes in specified path
paths:
- "examples/kyb-app/**"
- 'apps/kyb-app/**'
branches:
- dev
- test
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Get package version from package.json
id: get_version
run: |
PACKAGE_VERSION=$(jq -r '.version' examples/kyb-app/package.json)
PACKAGE_VERSION=$(jq -r '.version' apps/kyb-app/package.json)
echo "::set-output name=version::$PACKAGE_VERSION"
- name: Print the version
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
if: github.ref != 'refs/heads/prod'
uses: docker/build-push-action@v4
with:
context: examples/kyb-app
context: apps/kyb-app
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
Expand All @@ -101,7 +101,7 @@ jobs:
if: github.ref == 'refs/heads/prod'
uses: docker/build-push-action@v4
with:
context: examples/kyb-app
context: apps/kyb-app
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const SkeletonItem: FunctionComponent = () => {
<div className={`flex items-center gap-x-4 outline-none`}>
<div className={`indicator`}>
<div
className={`indicator-item indicator-bottom h-4 w-4 animate-pulse rounded-full bg-gray-200 theme-dark:bg-neutral-focus`}
className={`indicator-bottom indicator-item h-4 w-4 animate-pulse rounded-full bg-gray-200 theme-dark:bg-neutral-focus`}
></div>
<Avatar src={''} alt={`User's avatar - loading`} className={`h-8 w-8`} isLoading />
</div>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions apps/kyb-app/src/components/layouts/AppShell/AppShell.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { Content } from '@app/components/layouts/AppShell/Content';
import { FormContainer } from '@app/components/layouts/AppShell/FormContainer';
import { Logo } from '@app/components/layouts/AppShell/Logo';
import { Navigation } from '@app/components/layouts/AppShell/Navigation';
import { Sidebar } from '@app/components/layouts/AppShell/Sidebar';

interface Props {
children: React.ReactNode | React.ReactNode[];
}

export const AppShell = ({ children }: Props) => {
return <div className="w-ful flex h-screen flex-nowrap">{children}</div>;
};

AppShell.FormContainer = FormContainer;
AppShell.Sidebar = Sidebar;
AppShell.Content = Content;
AppShell.Logo = Logo;
AppShell.Navigation = Navigation;
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ interface Props {
export const FormContainer = ({ children, header }: Props) => {
return (
<ScrollArea orientation="both" className="h-full">
<div className="flex flex-col gap-5 pl-40 pt-20 box-content">
<div className="box-content flex flex-col gap-5 pl-40 pt-20">
{header ? <div>{header}</div> : null}
<div className="w-full max-w-[385px] flex-flex-col">{children}</div>
<div className="flex-flex-col w-full max-w-[385px]">{children}</div>
</div>
</ScrollArea>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface Props {

export const Sidebar = ({ children }: Props) => {
return (
<div className="h-full bg-primary col-span-2 w-[24%] max-w-[418px] px-14 pb-4 pt-14">
<div className="bg-primary col-span-2 h-full w-[24%] max-w-[418px] px-14 pb-4 pt-14">
{children}
</div>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const Divider = () => <div className="my-3 h-[1px] w-full bg-[#CECECE]"></div>;
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import {
jsonFormFields,
jsonFormLayouts,
} from '@app/components/organisms/UIRenderer/elements/JSONForm/json-form.fields';
import { transformRJSFErrors } from '@app/pages/CollectionFlow/components/organisms/KYBView/helpers/transform-errors';
import { useUIElementProps } from '@app/components/organisms/UIRenderer/hooks/useUIElementProps';
import { DataCreationParams } from '@app/components/organisms/UIRenderer/elements/JSONForm/hocs/withInitialDataCreation';
import { useUIElementErrors } from '@app/components/organisms/UIRenderer/hooks/useUIElementErrors/useUIElementErrors';
import { useUIElementState } from '@app/components/organisms/UIRenderer/hooks/useUIElementState';
import { CollectionFlowContext } from '@app/domains/collection-flow/types/flow-context.types';
import { transformRJSFErrors } from '@app/helpers/transform-errors';

export interface JSONFormElementBaseParams extends DataCreationParams {
jsonFormDefinition: RJSFSchema;
Expand Down Expand Up @@ -109,6 +109,3 @@ export const JSONForm: UIElementComponent<JSONFormElementParams> = ({ definition
</div>
);
};

//@ts-nocheck
// JSONForm.Documents = Documents;
Loading

0 comments on commit 801fc63

Please sign in to comment.